From 27ba6ca35c357fb1fdee0206cf07ab399419b84c Mon Sep 17 00:00:00 2001 From: Tobias Nteireho Date: Fri, 2 Aug 2024 09:13:21 -0500 Subject: [PATCH] updates muhammara to allow building under node 20 --- foo.json | 29 ++ package-lock.json | 1008 +++++++++++++++++++++++++-------------------- package.json | 2 +- 3 files changed, 587 insertions(+), 452 deletions(-) create mode 100644 foo.json diff --git a/foo.json b/foo.json new file mode 100644 index 00000000..7ac0700f --- /dev/null +++ b/foo.json @@ -0,0 +1,29 @@ +{ + "guideId": "1261", + "templateId": 2112, + "updatedAt": "2015-11-23T14:15:11.499Z", + "title": "Authorization for Medical Treatment of a Minor", + "active": "true", + "rootNode": { + "tag": "a2j-template", + "state": {}, + "children": [ + { + "tag": "a2j-repeat-loop", + "state": {} + }, + { + "tag": "a2j-rich-text", + "state": { + "userContent": "User's last name ." + } + }, + { + "tag": "a2j-rich-text", + "state": { + "userContent": "

Lorem ipsum dolor sit amet, pri ad porro consul\ndisputando. Mea tale admodum cu, soluta fuisset per ad. Te omittam\nnoluisse consequat vel. Impetus appetere antiopam sit ut, at nec\ninani forensibus necessitatibus. Eu eum appetere facilisis reprimique,\nan sit ignota fierent invenire, duis denique sea an. Sit ceteros\ndolores inimicus ut, nec id tantas delenit phaedrum. Nullam prompta\nsit ne.

" + } + } + ] + } +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 5fe0a23b..1f66fb4f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "a2jdat", - "version": "8.0.2", + "version": "9.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "a2jdat", - "version": "8.0.2", + "version": "9.0.1", "license": "GNU AGPL v3.0", "dependencies": { "@caliorg/a2jdeps": "^7.1.7", @@ -68,7 +68,7 @@ "lodash": "^4.17.21", "moment": "^2.10.3", "morgan": "^1.9.1", - "muhammara": "^1.10.0", + "muhammara": "^4.1.0", "multer": "^1.3.0", "node-html-parser": "^2.0.0", "q": "^1.4.1", @@ -1003,6 +1003,14 @@ "integrity": "sha512-Sr7BhXEAer9xyGuCN3Ek9eg9xPviCF2gfu9kTfuU2HkTVAMYSDeX40fvpmo72n5nansg3nsBjuQBrsS28r+NUw==", "dev": true }, + "node_modules/@xmldom/xmldom": { + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz", + "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -10848,6 +10856,23 @@ "node": ">=8.0" } }, + "node_modules/linebreak": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/linebreak/-/linebreak-1.1.0.tgz", + "integrity": "sha512-MHp03UImeVhB7XZtjd0E4n6+3xr5Dq/9xI/5FptGk5FrbDR3zagPa2DS6U8ks/3HjbKWG9Q1M2ufOzxV2qLYSQ==", + "dependencies": { + "base64-js": "0.0.8", + "unicode-trie": "^2.0.0" + } + }, + "node_modules/linebreak/node_modules/base64-js": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha512-3XSA2cR/h/73EzlXXdU6YNycmYI7+kicTxks4eJg2g39biHR84slg2+des+p7iHYhbRg/udIS4TD53WabcOUkw==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", @@ -11297,6 +11322,30 @@ "node": ">=6" } }, + "node_modules/memory-streams": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/memory-streams/-/memory-streams-0.1.3.tgz", + "integrity": "sha512-qVQ/CjkMyMInPaaRMrwWNDvf6boRZXaT/DbQeMYcCWuXPEBf1v8qChOc9OlEVQp2uOvRXa1Qu30fLmKhY6NipA==", + "dependencies": { + "readable-stream": "~1.0.2" + } + }, + "node_modules/memory-streams/node_modules/readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/memory-streams/node_modules/string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==" + }, "node_modules/meow": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz", @@ -11793,15 +11842,40 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "node_modules/muhammara": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/muhammara/-/muhammara-1.10.0.tgz", - "integrity": "sha512-LT2mjlJaeobj8vltTDRoMHaO2COUxtBeEzlvQ5jEVaVMKmPy0ZYqk1kl1GB0kJfmLrhqQT4wtFSjSvrTrjfj0Q==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/muhammara/-/muhammara-4.1.0.tgz", + "integrity": "sha512-6h8cPdL5b+BtlKE6Yp9AnK0YgGWGO4bBvA/blm4pM/C9Xp6jXPI9JJNVJpYnqESGmUFGGCV7b04nVK3zf56XZQ==", "bundleDependencies": [ - "node-pre-gyp" + "@mapbox/node-pre-gyp" ], "hasInstallScript": true, "dependencies": { - "node-pre-gyp": "^0.17.0" + "@mapbox/node-pre-gyp": "^1.0.10", + "@xmldom/xmldom": "^0.8.6", + "linebreak": "^1.1.0", + "memory-streams": "^0.1.3" + }, + "engines": { + "node": ">=15" + } + }, + "node_modules/muhammara/node_modules/@mapbox/node-pre-gyp": { + "version": "1.0.11", + "inBundle": true, + "license": "BSD-3-Clause", + "dependencies": { + "detect-libc": "^2.0.0", + "https-proxy-agent": "^5.0.0", + "make-dir": "^3.1.0", + "node-fetch": "^2.6.7", + "nopt": "^5.0.0", + "npmlog": "^5.0.1", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.11" + }, + "bin": { + "node-pre-gyp": "bin/node-pre-gyp" } }, "node_modules/muhammara/node_modules/abbrev": { @@ -11809,26 +11883,40 @@ "inBundle": true, "license": "ISC" }, + "node_modules/muhammara/node_modules/agent-base": { + "version": "6.0.2", + "inBundle": true, + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, "node_modules/muhammara/node_modules/ansi-regex": { - "version": "2.1.1", + "version": "5.0.1", "inBundle": true, "license": "MIT", "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, "node_modules/muhammara/node_modules/aproba": { - "version": "1.2.0", + "version": "2.0.0", "inBundle": true, "license": "ISC" }, "node_modules/muhammara/node_modules/are-we-there-yet": { - "version": "1.1.5", + "version": "2.0.0", "inBundle": true, "license": "ISC", "dependencies": { "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10" } }, "node_modules/muhammara/node_modules/balanced-match": { @@ -11846,16 +11934,19 @@ } }, "node_modules/muhammara/node_modules/chownr": { - "version": "1.1.4", + "version": "2.0.0", "inBundle": true, - "license": "ISC" + "license": "ISC", + "engines": { + "node": ">=10" + } }, - "node_modules/muhammara/node_modules/code-point-at": { - "version": "1.1.0", + "node_modules/muhammara/node_modules/color-support": { + "version": "1.1.3", "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" + "license": "ISC", + "bin": { + "color-support": "bin.js" } }, "node_modules/muhammara/node_modules/concat-map": { @@ -11868,25 +11959,20 @@ "inBundle": true, "license": "ISC" }, - "node_modules/muhammara/node_modules/core-util-is": { - "version": "1.0.2", - "inBundle": true, - "license": "MIT" - }, "node_modules/muhammara/node_modules/debug": { - "version": "3.2.7", + "version": "4.3.4", "inBundle": true, "license": "MIT", "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/muhammara/node_modules/deep-extend": { - "version": "0.6.0", - "inBundle": true, - "license": "MIT", + "ms": "2.1.2" + }, "engines": { - "node": ">=4.0.0" + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, "node_modules/muhammara/node_modules/delegates": { @@ -11895,22 +11981,38 @@ "license": "MIT" }, "node_modules/muhammara/node_modules/detect-libc": { - "version": "1.0.3", + "version": "2.0.2", "inBundle": true, "license": "Apache-2.0", - "bin": { - "detect-libc": "bin/detect-libc.js" - }, "engines": { - "node": ">=0.10" + "node": ">=8" } }, + "node_modules/muhammara/node_modules/emoji-regex": { + "version": "8.0.0", + "inBundle": true, + "license": "MIT" + }, "node_modules/muhammara/node_modules/fs-minipass": { - "version": "1.2.7", + "version": "2.1.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/muhammara/node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", "inBundle": true, "license": "ISC", "dependencies": { - "minipass": "^2.6.0" + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, "node_modules/muhammara/node_modules/fs.realpath": { @@ -11919,29 +12021,33 @@ "license": "ISC" }, "node_modules/muhammara/node_modules/gauge": { - "version": "2.7.4", + "version": "3.0.2", "inBundle": true, "license": "ISC", "dependencies": { - "aproba": "^1.0.3", + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.2" + }, + "engines": { + "node": ">=10" } }, "node_modules/muhammara/node_modules/glob": { - "version": "7.1.7", + "version": "7.2.3", "inBundle": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" }, @@ -11957,23 +12063,16 @@ "inBundle": true, "license": "ISC" }, - "node_modules/muhammara/node_modules/iconv-lite": { - "version": "0.4.24", + "node_modules/muhammara/node_modules/https-proxy-agent": { + "version": "5.0.1", "inBundle": true, "license": "MIT", "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "agent-base": "6", + "debug": "4" }, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/muhammara/node_modules/ignore-walk": { - "version": "3.0.4", - "inBundle": true, - "license": "ISC", - "dependencies": { - "minimatch": "^3.0.4" + "node": ">= 6" } }, "node_modules/muhammara/node_modules/inflight": { @@ -11990,29 +12089,49 @@ "inBundle": true, "license": "ISC" }, - "node_modules/muhammara/node_modules/ini": { - "version": "1.3.8", + "node_modules/muhammara/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", "inBundle": true, - "license": "ISC" + "license": "MIT", + "engines": { + "node": ">=8" + } }, - "node_modules/muhammara/node_modules/is-fullwidth-code-point": { - "version": "1.0.0", + "node_modules/muhammara/node_modules/lru-cache": { + "version": "6.0.0", + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/muhammara/node_modules/make-dir": { + "version": "3.1.0", "inBundle": true, "license": "MIT", "dependencies": { - "number-is-nan": "^1.0.0" + "semver": "^6.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/muhammara/node_modules/isarray": { - "version": "1.0.0", + "node_modules/muhammara/node_modules/make-dir/node_modules/semver": { + "version": "6.3.1", "inBundle": true, - "license": "MIT" + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } }, "node_modules/muhammara/node_modules/minimatch": { - "version": "3.0.4", + "version": "3.1.2", "inBundle": true, "license": "ISC", "dependencies": { @@ -12022,133 +12141,95 @@ "node": "*" } }, - "node_modules/muhammara/node_modules/minimist": { - "version": "1.2.5", - "inBundle": true, - "license": "MIT" - }, "node_modules/muhammara/node_modules/minipass": { - "version": "2.9.0", + "version": "5.0.0", "inBundle": true, "license": "ISC", - "dependencies": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" + "engines": { + "node": ">=8" } }, "node_modules/muhammara/node_modules/minizlib": { - "version": "1.3.3", + "version": "2.1.2", "inBundle": true, "license": "MIT", "dependencies": { - "minipass": "^2.9.0" + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" } }, - "node_modules/muhammara/node_modules/mkdirp": { - "version": "0.5.5", + "node_modules/muhammara/node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", "inBundle": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "minimist": "^1.2.5" + "yallist": "^4.0.0" }, + "engines": { + "node": ">=8" + } + }, + "node_modules/muhammara/node_modules/mkdirp": { + "version": "1.0.4", + "inBundle": true, + "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/muhammara/node_modules/ms": { - "version": "2.1.3", + "version": "2.1.2", "inBundle": true, "license": "MIT" }, - "node_modules/muhammara/node_modules/needle": { - "version": "2.8.0", + "node_modules/muhammara/node_modules/node-fetch": { + "version": "2.7.0", "inBundle": true, "license": "MIT", "dependencies": { - "debug": "^3.2.6", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" - }, - "bin": { - "needle": "bin/needle" + "whatwg-url": "^5.0.0" }, "engines": { - "node": ">= 4.4.x" - } - }, - "node_modules/muhammara/node_modules/node-pre-gyp": { - "version": "0.17.0", - "deprecated": "Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future", - "inBundle": true, - "license": "BSD-3-Clause", - "dependencies": { - "detect-libc": "^1.0.3", - "mkdirp": "^0.5.5", - "needle": "^2.5.2", - "nopt": "^4.0.3", - "npm-packlist": "^1.4.8", - "npmlog": "^4.1.2", - "rc": "^1.2.8", - "rimraf": "^2.7.1", - "semver": "^5.7.1", - "tar": "^4.4.13" + "node": "4.x || >=6.0.0" }, - "bin": { - "node-pre-gyp": "bin/node-pre-gyp" + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } } }, "node_modules/muhammara/node_modules/nopt": { - "version": "4.0.3", + "version": "5.0.0", "inBundle": true, "license": "ISC", "dependencies": { - "abbrev": "1", - "osenv": "^0.1.4" + "abbrev": "1" }, "bin": { "nopt": "bin/nopt.js" - } - }, - "node_modules/muhammara/node_modules/npm-bundled": { - "version": "1.1.2", - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-normalize-package-bin": "^1.0.1" - } - }, - "node_modules/muhammara/node_modules/npm-normalize-package-bin": { - "version": "1.0.1", - "inBundle": true, - "license": "ISC" - }, - "node_modules/muhammara/node_modules/npm-packlist": { - "version": "1.4.8", - "inBundle": true, - "license": "ISC", - "dependencies": { - "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1", - "npm-normalize-package-bin": "^1.0.1" + }, + "engines": { + "node": ">=6" } }, "node_modules/muhammara/node_modules/npmlog": { - "version": "4.1.2", + "version": "5.0.1", "inBundle": true, "license": "ISC", "dependencies": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "node_modules/muhammara/node_modules/number-is-nan": { - "version": "1.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" } }, "node_modules/muhammara/node_modules/object-assign": { @@ -12167,31 +12248,6 @@ "wrappy": "1" } }, - "node_modules/muhammara/node_modules/os-homedir": { - "version": "1.0.2", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/muhammara/node_modules/os-tmpdir": { - "version": "1.0.2", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/muhammara/node_modules/osenv": { - "version": "0.1.5", - "inBundle": true, - "license": "ISC", - "dependencies": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" - } - }, "node_modules/muhammara/node_modules/path-is-absolute": { "version": "1.0.1", "inBundle": true, @@ -12200,41 +12256,21 @@ "node": ">=0.10.0" } }, - "node_modules/muhammara/node_modules/process-nextick-args": { - "version": "2.0.1", - "inBundle": true, - "license": "MIT" - }, - "node_modules/muhammara/node_modules/rc": { - "version": "1.2.8", - "inBundle": true, - "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, "node_modules/muhammara/node_modules/readable-stream": { - "version": "2.3.7", + "version": "3.6.2", "inBundle": true, "license": "MIT", "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" } }, "node_modules/muhammara/node_modules/rimraf": { - "version": "2.7.1", + "version": "3.0.2", "inBundle": true, "license": "ISC", "dependencies": { @@ -12242,29 +12278,42 @@ }, "bin": { "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/muhammara/node_modules/safe-buffer": { - "version": "5.1.2", - "inBundle": true, - "license": "MIT" - }, - "node_modules/muhammara/node_modules/safer-buffer": { - "version": "2.1.2", + "version": "5.2.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "inBundle": true, "license": "MIT" }, - "node_modules/muhammara/node_modules/sax": { - "version": "1.2.4", - "inBundle": true, - "license": "ISC" - }, "node_modules/muhammara/node_modules/semver": { - "version": "5.7.1", + "version": "7.5.4", "inBundle": true, "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, "bin": { - "semver": "bin/semver" + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/muhammara/node_modules/set-blocking": { @@ -12273,78 +12322,88 @@ "license": "ISC" }, "node_modules/muhammara/node_modules/signal-exit": { - "version": "3.0.3", + "version": "3.0.7", "inBundle": true, "license": "ISC" }, "node_modules/muhammara/node_modules/string_decoder": { - "version": "1.1.1", + "version": "1.3.0", "inBundle": true, "license": "MIT", "dependencies": { - "safe-buffer": "~5.1.0" + "safe-buffer": "~5.2.0" } }, "node_modules/muhammara/node_modules/string-width": { - "version": "1.0.2", + "version": "4.2.3", "inBundle": true, "license": "MIT", "dependencies": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, "node_modules/muhammara/node_modules/strip-ansi": { - "version": "3.0.1", + "version": "6.0.1", "inBundle": true, "license": "MIT", "dependencies": { - "ansi-regex": "^2.0.0" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/muhammara/node_modules/strip-json-comments": { - "version": "2.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, "node_modules/muhammara/node_modules/tar": { - "version": "4.4.13", + "version": "6.2.0", "inBundle": true, "license": "ISC", "dependencies": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.8.6", - "minizlib": "^1.2.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.3" + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" }, "engines": { - "node": ">=4.5" + "node": ">=10" } }, + "node_modules/muhammara/node_modules/tr46": { + "version": "0.0.3", + "inBundle": true, + "license": "MIT" + }, "node_modules/muhammara/node_modules/util-deprecate": { "version": "1.0.2", "inBundle": true, "license": "MIT" }, + "node_modules/muhammara/node_modules/webidl-conversions": { + "version": "3.0.1", + "inBundle": true, + "license": "BSD-2-Clause" + }, + "node_modules/muhammara/node_modules/whatwg-url": { + "version": "5.0.0", + "inBundle": true, + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "node_modules/muhammara/node_modules/wide-align": { - "version": "1.1.3", + "version": "1.1.5", "inBundle": true, "license": "ISC", "dependencies": { - "string-width": "^1.0.2 || 2" + "string-width": "^1.0.2 || 2 || 3 || 4" } }, "node_modules/muhammara/node_modules/wrappy": { @@ -12353,7 +12412,7 @@ "license": "ISC" }, "node_modules/muhammara/node_modules/yallist": { - "version": "3.1.1", + "version": "4.0.0", "inBundle": true, "license": "ISC" }, @@ -13340,6 +13399,11 @@ "semver": "bin/semver" } }, + "node_modules/pako": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", + "integrity": "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==" + }, "node_modules/parse-asn1": { "version": "5.1.6", "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", @@ -16531,6 +16595,11 @@ "node": ">=0.10.0" } }, + "node_modules/tiny-inflate": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz", + "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==" + }, "node_modules/tlds": { "version": "1.230.0", "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.230.0.tgz", @@ -16999,6 +17068,15 @@ "node": ">=4" } }, + "node_modules/unicode-trie": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz", + "integrity": "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==", + "dependencies": { + "pako": "^0.2.5", + "tiny-inflate": "^1.0.0" + } + }, "node_modules/union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", @@ -18480,6 +18558,11 @@ "integrity": "sha512-Sr7BhXEAer9xyGuCN3Ek9eg9xPviCF2gfu9kTfuU2HkTVAMYSDeX40fvpmo72n5nansg3nsBjuQBrsS28r+NUw==", "dev": true }, + "@xmldom/xmldom": { + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz", + "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==" + }, "abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -26792,6 +26875,22 @@ } } }, + "linebreak": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/linebreak/-/linebreak-1.1.0.tgz", + "integrity": "sha512-MHp03UImeVhB7XZtjd0E4n6+3xr5Dq/9xI/5FptGk5FrbDR3zagPa2DS6U8ks/3HjbKWG9Q1M2ufOzxV2qLYSQ==", + "requires": { + "base64-js": "0.0.8", + "unicode-trie": "^2.0.0" + }, + "dependencies": { + "base64-js": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha512-3XSA2cR/h/73EzlXXdU6YNycmYI7+kicTxks4eJg2g39biHR84slg2+des+p7iHYhbRg/udIS4TD53WabcOUkw==" + } + } + }, "load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", @@ -27175,6 +27274,32 @@ } } }, + "memory-streams": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/memory-streams/-/memory-streams-0.1.3.tgz", + "integrity": "sha512-qVQ/CjkMyMInPaaRMrwWNDvf6boRZXaT/DbQeMYcCWuXPEBf1v8qChOc9OlEVQp2uOvRXa1Qu30fLmKhY6NipA==", + "requires": { + "readable-stream": "~1.0.2" + }, + "dependencies": { + "readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==" + } + } + }, "meow": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz", @@ -27570,31 +27695,56 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "muhammara": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/muhammara/-/muhammara-1.10.0.tgz", - "integrity": "sha512-LT2mjlJaeobj8vltTDRoMHaO2COUxtBeEzlvQ5jEVaVMKmPy0ZYqk1kl1GB0kJfmLrhqQT4wtFSjSvrTrjfj0Q==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/muhammara/-/muhammara-4.1.0.tgz", + "integrity": "sha512-6h8cPdL5b+BtlKE6Yp9AnK0YgGWGO4bBvA/blm4pM/C9Xp6jXPI9JJNVJpYnqESGmUFGGCV7b04nVK3zf56XZQ==", "requires": { - "node-pre-gyp": "^0.17.0" + "@mapbox/node-pre-gyp": "^1.0.10", + "@xmldom/xmldom": "^0.8.6", + "linebreak": "^1.1.0", + "memory-streams": "^0.1.3" }, "dependencies": { + "@mapbox/node-pre-gyp": { + "version": "1.0.11", + "bundled": true, + "requires": { + "detect-libc": "^2.0.0", + "https-proxy-agent": "^5.0.0", + "make-dir": "^3.1.0", + "node-fetch": "^2.6.7", + "nopt": "^5.0.0", + "npmlog": "^5.0.1", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.11" + } + }, "abbrev": { "version": "1.1.1", "bundled": true }, + "agent-base": { + "version": "6.0.2", + "bundled": true, + "requires": { + "debug": "4" + } + }, "ansi-regex": { - "version": "2.1.1", + "version": "5.0.1", "bundled": true }, "aproba": { - "version": "1.2.0", + "version": "2.0.0", "bundled": true }, "are-we-there-yet": { - "version": "1.1.5", + "version": "2.0.0", "bundled": true, "requires": { "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "readable-stream": "^3.6.0" } }, "balanced-match": { @@ -27610,11 +27760,11 @@ } }, "chownr": { - "version": "1.1.4", + "version": "2.0.0", "bundled": true }, - "code-point-at": { - "version": "1.1.0", + "color-support": { + "version": "1.1.3", "bundled": true }, "concat-map": { @@ -27625,34 +27775,39 @@ "version": "1.1.0", "bundled": true }, - "core-util-is": { - "version": "1.0.2", - "bundled": true - }, "debug": { - "version": "3.2.7", + "version": "4.3.4", "bundled": true, "requires": { - "ms": "^2.1.1" + "ms": "2.1.2" } }, - "deep-extend": { - "version": "0.6.0", - "bundled": true - }, "delegates": { "version": "1.0.0", "bundled": true }, "detect-libc": { - "version": "1.0.3", + "version": "2.0.2", + "bundled": true + }, + "emoji-regex": { + "version": "8.0.0", "bundled": true }, "fs-minipass": { - "version": "1.2.7", + "version": "2.1.0", "bundled": true, "requires": { - "minipass": "^2.6.0" + "minipass": "^3.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "bundled": true, + "requires": { + "yallist": "^4.0.0" + } + } } }, "fs.realpath": { @@ -27660,27 +27815,28 @@ "bundled": true }, "gauge": { - "version": "2.7.4", + "version": "3.0.2", "bundled": true, "requires": { - "aproba": "^1.0.3", + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.2" } }, "glob": { - "version": "7.1.7", + "version": "7.2.3", "bundled": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } @@ -27689,18 +27845,12 @@ "version": "2.0.1", "bundled": true }, - "iconv-lite": { - "version": "0.4.24", - "bundled": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "ignore-walk": { - "version": "3.0.4", + "https-proxy-agent": { + "version": "5.0.1", "bundled": true, "requires": { - "minimatch": "^3.0.4" + "agent-base": "6", + "debug": "4" } }, "inflight": { @@ -27715,125 +27865,90 @@ "version": "2.0.4", "bundled": true }, - "ini": { - "version": "1.3.8", + "is-fullwidth-code-point": { + "version": "3.0.0", "bundled": true }, - "is-fullwidth-code-point": { - "version": "1.0.0", + "lru-cache": { + "version": "6.0.0", "bundled": true, "requires": { - "number-is-nan": "^1.0.0" + "yallist": "^4.0.0" } }, - "isarray": { - "version": "1.0.0", - "bundled": true + "make-dir": { + "version": "3.1.0", + "bundled": true, + "requires": { + "semver": "^6.0.0" + }, + "dependencies": { + "semver": { + "version": "6.3.1", + "bundled": true + } + } }, "minimatch": { - "version": "3.0.4", + "version": "3.1.2", "bundled": true, "requires": { "brace-expansion": "^1.1.7" } }, - "minimist": { - "version": "1.2.5", - "bundled": true - }, "minipass": { - "version": "2.9.0", - "bundled": true, - "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } + "version": "5.0.0", + "bundled": true }, "minizlib": { - "version": "1.3.3", + "version": "2.1.2", "bundled": true, "requires": { - "minipass": "^2.9.0" + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "bundled": true, + "requires": { + "yallist": "^4.0.0" + } + } } }, "mkdirp": { - "version": "0.5.5", - "bundled": true, - "requires": { - "minimist": "^1.2.5" - } + "version": "1.0.4", + "bundled": true }, "ms": { - "version": "2.1.3", + "version": "2.1.2", "bundled": true }, - "needle": { - "version": "2.8.0", - "bundled": true, - "requires": { - "debug": "^3.2.6", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" - } - }, - "node-pre-gyp": { - "version": "0.17.0", + "node-fetch": { + "version": "2.7.0", "bundled": true, "requires": { - "detect-libc": "^1.0.3", - "mkdirp": "^0.5.5", - "needle": "^2.5.2", - "nopt": "^4.0.3", - "npm-packlist": "^1.4.8", - "npmlog": "^4.1.2", - "rc": "^1.2.8", - "rimraf": "^2.7.1", - "semver": "^5.7.1", - "tar": "^4.4.13" + "whatwg-url": "^5.0.0" } }, "nopt": { - "version": "4.0.3", - "bundled": true, - "requires": { - "abbrev": "1", - "osenv": "^0.1.4" - } - }, - "npm-bundled": { - "version": "1.1.2", - "bundled": true, - "requires": { - "npm-normalize-package-bin": "^1.0.1" - } - }, - "npm-normalize-package-bin": { - "version": "1.0.1", - "bundled": true - }, - "npm-packlist": { - "version": "1.4.8", + "version": "5.0.0", "bundled": true, "requires": { - "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1", - "npm-normalize-package-bin": "^1.0.1" + "abbrev": "1" } }, "npmlog": { - "version": "4.1.2", + "version": "5.0.1", "bundled": true, "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" } }, - "number-is-nan": { - "version": "1.0.1", - "bundled": true - }, "object-assign": { "version": "4.1.1", "bundled": true @@ -27845,133 +27960,105 @@ "wrappy": "1" } }, - "os-homedir": { - "version": "1.0.2", - "bundled": true - }, - "os-tmpdir": { - "version": "1.0.2", - "bundled": true - }, - "osenv": { - "version": "0.1.5", - "bundled": true, - "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" - } - }, "path-is-absolute": { "version": "1.0.1", "bundled": true }, - "process-nextick-args": { - "version": "2.0.1", - "bundled": true - }, - "rc": { - "version": "1.2.8", - "bundled": true, - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - } - }, "readable-stream": { - "version": "2.3.7", + "version": "3.6.2", "bundled": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" } }, "rimraf": { - "version": "2.7.1", + "version": "3.0.2", "bundled": true, "requires": { "glob": "^7.1.3" } }, "safe-buffer": { - "version": "5.1.2", - "bundled": true - }, - "safer-buffer": { - "version": "2.1.2", - "bundled": true - }, - "sax": { - "version": "1.2.4", + "version": "5.2.1", "bundled": true }, "semver": { - "version": "5.7.1", - "bundled": true + "version": "7.5.4", + "bundled": true, + "requires": { + "lru-cache": "^6.0.0" + } }, "set-blocking": { "version": "2.0.0", "bundled": true }, "signal-exit": { - "version": "3.0.3", + "version": "3.0.7", "bundled": true }, "string_decoder": { - "version": "1.1.1", + "version": "1.3.0", "bundled": true, "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "~5.2.0" } }, "string-width": { - "version": "1.0.2", + "version": "4.2.3", "bundled": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" } }, "strip-ansi": { - "version": "3.0.1", + "version": "6.0.1", "bundled": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "^5.0.1" } }, - "strip-json-comments": { - "version": "2.0.1", - "bundled": true - }, "tar": { - "version": "4.4.13", + "version": "6.2.0", "bundled": true, "requires": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.8.6", - "minizlib": "^1.2.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.3" + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" } }, + "tr46": { + "version": "0.0.3", + "bundled": true + }, "util-deprecate": { "version": "1.0.2", "bundled": true }, + "webidl-conversions": { + "version": "3.0.1", + "bundled": true + }, + "whatwg-url": { + "version": "5.0.0", + "bundled": true, + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "wide-align": { - "version": "1.1.3", + "version": "1.1.5", "bundled": true, "requires": { - "string-width": "^1.0.2 || 2" + "string-width": "^1.0.2 || 2 || 3 || 4" } }, "wrappy": { @@ -27979,7 +28066,7 @@ "bundled": true }, "yallist": { - "version": "3.1.1", + "version": "4.0.0", "bundled": true } } @@ -28748,6 +28835,11 @@ } } }, + "pako": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", + "integrity": "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==" + }, "parse-asn1": { "version": "5.1.6", "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", @@ -31330,6 +31422,11 @@ "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=", "dev": true }, + "tiny-inflate": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz", + "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==" + }, "tlds": { "version": "1.230.0", "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.230.0.tgz", @@ -31698,6 +31795,15 @@ "integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg==", "dev": true }, + "unicode-trie": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz", + "integrity": "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==", + "requires": { + "pako": "^0.2.5", + "tiny-inflate": "^1.0.0" + } + }, "union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", diff --git a/package.json b/package.json index 2fa50d55..45f63db6 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "lodash": "^4.17.21", "moment": "^2.10.3", "morgan": "^1.9.1", - "muhammara": "^1.10.0", + "muhammara": "^4.1.0", "multer": "^1.3.0", "node-html-parser": "^2.0.0", "q": "^1.4.1",