From 709c8f9e53779cd77d1edf251e4c7fc66c36867c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 10 Jan 2023 00:48:57 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-DEBUG-3227433 --- package-lock.json | 124 ++++++++-------------------------------------- package.json | 2 +- 2 files changed, 21 insertions(+), 105 deletions(-) diff --git a/package-lock.json b/package-lock.json index 482cb30..769c80a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -71,12 +71,9 @@ "dev": true }, "buffer-from": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-0.1.1.tgz", - "integrity": "sha1-V7GLHaChnsBvM4N6UnWiQjUb114=", - "requires": { - "is-array-buffer-x": "^1.0.13" - } + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-0.1.2.tgz", + "integrity": "sha512-RiWIenusJsmI2KcvqQABB83tLxCByE3upSP8QU3rJDMVFGPWLvPQJt/O1Su9moRWeH7d+Q2HYb68f6+v+tw2vg==" }, "buildjs.core": { "version": "1.0.0", @@ -218,7 +215,7 @@ "duplexer2": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", - "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", + "integrity": "sha512-+AWBwjGadtksxjOQSFDhPNQbed7icNXApT4+2BNpsXzcCBiInq2H9XW0O8sfHFaPmnQRs7cg/P0fAr2IWQSW0g==", "requires": { "readable-stream": "~1.1.9" } @@ -342,24 +339,14 @@ } }, "getit": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/getit/-/getit-1.1.0.tgz", - "integrity": "sha1-gZ+MtMSVMDWKWh2ewCJzrh5Zk6Y=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/getit/-/getit-1.2.0.tgz", + "integrity": "sha512-jh38XPd2n9xxyvV/X0T98q5H5MDBAlZTwbnLLEykdenVXKVidw9UZ6kuuQR8PKEzfN3DI50aH1XrJam0SDNyRg==", "requires": { - "debug": "^2.6.1", + "debug": "^4.1.1", "hyperquest": "^2.1.2", "mkdirp": "~0.5", "urlish": "^1.0.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } } }, "glob": { @@ -403,25 +390,12 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, - "has-symbol-support-x": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.2.0.tgz", - "integrity": "sha1-5iTq1RkMNbNOTimTRN/2Q32wLOI=" - }, "has-symbols": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", "dev": true }, - "has-to-string-tag-x": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.2.0.tgz", - "integrity": "sha1-xTbcTbvr4b6dKPYk/TIPeTEp/VM=", - "requires": { - "has-symbol-support-x": "^1.2.0" - } - }, "he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -429,9 +403,9 @@ "dev": true }, "hyperquest": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/hyperquest/-/hyperquest-2.1.2.tgz", - "integrity": "sha1-ldv2/MdMdJuuVcw5MhM13datwVg=", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/hyperquest/-/hyperquest-2.1.3.tgz", + "integrity": "sha512-fUuDOrB47PqNK/BAMOS13v41UoaqIxqSLHX6CAbOD7OfT+/GCWO1/vPLfTNutOeXrv1ikuaZ3yux+33Z9vh+rw==", "requires": { "buffer-from": "^0.1.1", "duplexer2": "~0.0.2", @@ -459,16 +433,6 @@ "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", "dev": true }, - "is-array-buffer-x": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-array-buffer-x/-/is-array-buffer-x-1.2.1.tgz", - "integrity": "sha1-V5GAaIthKzaRcA1smrM11v1GlVw=", - "requires": { - "has-to-string-tag-x": "^1.2.0", - "is-object-like-x": "^1.2.0", - "to-string-tag-x": "^1.2.0" - } - }, "is-buffer": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", @@ -493,30 +457,6 @@ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, - "is-function-x": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-function-x/-/is-function-x-1.2.0.tgz", - "integrity": "sha1-HIOYmfB70j38aV5PBlUQe+hSdi0=", - "requires": { - "has-to-string-tag-x": "^1.2.0", - "is-primitive": "^2.0.0", - "to-string-tag-x": "^1.1.1" - } - }, - "is-object-like-x": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-object-like-x/-/is-object-like-x-1.2.0.tgz", - "integrity": "sha1-tZKdjxKrktrunS91S4MYRLzAjCE=", - "requires": { - "is-function-x": "^1.2.0", - "is-primitive": "^2.0.0" - } - }, - "is-primitive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=" - }, "is-regex": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", @@ -544,7 +484,7 @@ "isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" }, "isexe": { "version": "2.0.0", @@ -586,11 +526,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" }, - "lodash.isnull": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash.isnull/-/lodash.isnull-3.0.0.tgz", - "integrity": "sha1-+vvlnqHcon7teGU0A53YTC4HxW4=" - }, "log-symbols": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", @@ -696,11 +631,6 @@ } } }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, "nib": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/nib/-/nib-1.1.2.tgz", @@ -912,7 +842,7 @@ "readable-stream": { "version": "1.1.14", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "integrity": "sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ==", "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.1", @@ -1075,7 +1005,7 @@ "string_decoder": { "version": "0.10.31", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" + "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==" }, "strip-ansi": { "version": "4.0.0", @@ -1149,7 +1079,7 @@ "through2": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", - "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", + "integrity": "sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg==", "requires": { "readable-stream": ">=1.0.33-1 <1.1.0-0", "xtend": ">=4.0.0 <4.1.0-0" @@ -1158,7 +1088,7 @@ "readable-stream": { "version": "1.0.34", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", - "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.1", @@ -1168,15 +1098,6 @@ } } }, - "to-string-tag-x": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/to-string-tag-x/-/to-string-tag-x-1.2.0.tgz", - "integrity": "sha1-ItiGG+3eLbjxji2goAKoQ+VuATU=", - "requires": { - "lodash.isnull": "^3.0.0", - "validate.io-undefined": "^1.0.3" - } - }, "underscore": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz", @@ -1185,7 +1106,7 @@ "urlish": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/urlish/-/urlish-1.0.1.tgz", - "integrity": "sha1-CtlkiAH/OLu+fPFjGMWf/tkPo5E=" + "integrity": "sha512-YijjbxXXSiF0fnIi7Dp/4gmVh/NonbbjnW9TmK9tQ3tItKTpBE2U3dYNgPMQnH6c7sIlIkPhaBWJjhLUKQwPfQ==" }, "util-deprecate": { "version": "1.0.2", @@ -1193,11 +1114,6 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, - "validate.io-undefined": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/validate.io-undefined/-/validate.io-undefined-1.0.3.tgz", - "integrity": "sha1-fif8uzFbhB54JDQxiXZxkp4gt/Q=" - }, "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", @@ -1276,9 +1192,9 @@ "dev": true }, "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" }, "y18n": { "version": "4.0.0", diff --git a/package.json b/package.json index 7dc993a..c7f5701 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "async": "^2.6.2", "buildjs.core": "^1.0.0", "debug": "^4.1.1", - "getit": "^1.0.0", + "getit": "^1.2.0", "underscore": "^1.9.1" }, "devDependencies": {