From 55e118fc443e010d8bd404d48c2a866459556847 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 15 Mar 2024 21:32:29 +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-FOLLOWREDIRECTS-6444610 --- package-lock.json | 207 +++++++++++++++++++++------------------------- package.json | 4 +- 2 files changed, 98 insertions(+), 113 deletions(-) diff --git a/package-lock.json b/package-lock.json index de0ec664..45c4d3a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@mymonero/mymonero-bigint": "^1.1.15", "@mymonero/mymonero-bridge-utils": "^1.1.15", "@mymonero/mymonero-exchange": "^1.1.17", - "@mymonero/mymonero-exchange-helper": "^1.3.1-alpha.0", + "@mymonero/mymonero-exchange-helper": "^1.3.2", "@mymonero/mymonero-hosted-api": "^1.1.5", "@mymonero/mymonero-keyimage-cache": "^1.0.5", "@mymonero/mymonero-locales": "^1.1.9", @@ -27,7 +27,7 @@ "@mymonero/mymonero-money-format": "^1.1.15", "@mymonero/mymonero-net-service-utils": "^1.0.5", "@mymonero/mymonero-nettype": "^1.1.15", - "@mymonero/mymonero-page-templates": "^1.3.1-alpha.3", + "@mymonero/mymonero-page-templates": "^1.3.3", "@mymonero/mymonero-paymentid-utils": "^1.0.5", "@mymonero/mymonero-request-utils": "^1.1.4", "@mymonero/mymonero-response-parser-utils": "^1.1.5", @@ -1696,13 +1696,27 @@ "@capacitor/core": "latest" } }, + "node_modules/@johnbraum/capacitor-qrscanner/node_modules/@capacitor/core": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.7.3.tgz", + "integrity": "sha512-xEuQmP+h0tugl2N+qRcdrUavZydvTnnmtvqu/OtCBb/bKZo2PDRFft7MxuQRE2GxXs6kLy3cvwzhDAHB3a+9mw==", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@johnbraum/capacitor-qrscanner/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, "node_modules/@lit/reactive-element": { "version": "1.0.1", "license": "BSD-3-Clause" }, "node_modules/@mymonero/changenow-exchange-integration": { - "version": "1.3.1-alpha.0", - "license": "BSD-3-Clause", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/changenow-exchange-integration/-/changenow-exchange-integration-1.4.2.tgz", + "integrity": "sha512-d4y3nObFQhX+hkDE4bLFg6uLjXqmVKnwCZlqLLboXrSOOGZN7+dMjidpsdErYjd6KmodBb3rQiJpb9CTD/sm2w==", "dependencies": { "axios": "^0.21.1", "axios-mock-adapter": "^1.19.0" @@ -1718,54 +1732,34 @@ } }, "node_modules/@mymonero/mymonero-bigint": { - "version": "1.2.0", - "license": "MIT" + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-bigint/-/mymonero-bigint-1.4.2.tgz", + "integrity": "sha512-JVGPBWT9jeCNaXAW1vnZEHnX+flP8Wl/FC6sq2bwan9nblAkRB59UsAzpOm8VjiPwmUqm073sekLsIpAgUB2IQ==" }, "node_modules/@mymonero/mymonero-bridge-utils": { "version": "1.2.0", "license": "ISC" }, "node_modules/@mymonero/mymonero-exchange": { - "version": "1.1.17", - "license": "BSD-3-Clause", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-exchange/-/mymonero-exchange-1.4.2.tgz", + "integrity": "sha512-apJna+1wQpKjem7mz2UKJE+7xiW9kEPVBdGPitC3d/RsPRkMrikQYToGyQsFMioNCbGc4pZW/VjhTMR7ZXh9vw==", "dependencies": { "axios": "^0.21.1", "process": "^0.11.10" } }, "node_modules/@mymonero/mymonero-exchange-helper": { - "version": "1.3.1-alpha.4", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-exchange-helper/-/mymonero-exchange-helper-1.3.1-alpha.4.tgz", - "integrity": "sha512-FfKdmXJTbxYodI6RdNg3SYWAZFSuc56sI5qHGNwXwohTYzY7DmudQcUhpEBz+q0QcSZhxD5Y9ESoQ6LTn0SnUQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-exchange-helper/-/mymonero-exchange-helper-1.3.2.tgz", + "integrity": "sha512-bXIwIm/8bgSKTyABR3nQqlUjiT9x/fBzOOo/exGce8/ZkwTJV5DighVdZKFtUHbVI6/c1J9L9PQm6Ws7B4dipA==", "dependencies": { - "@mymonero/mymonero-bigint": "^1.3.1-alpha.0", - "@mymonero/mymonero-exchange": "^1.3.1-alpha.0", - "@mymonero/mymonero-money-format": "^1.3.1-alpha.0", + "@mymonero/mymonero-bigint": "^1.3.2", + "@mymonero/mymonero-exchange": "^1.3.2", + "@mymonero/mymonero-money-format": "^1.3.2", "axios": "^0.21.1" } }, - "node_modules/@mymonero/mymonero-exchange-helper/node_modules/@mymonero/mymonero-bigint": { - "version": "1.3.1-alpha.0", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-bigint/-/mymonero-bigint-1.3.1-alpha.0.tgz", - "integrity": "sha512-W6hChib2q8y4BWMFq5vh8EWaqiRZODXk06RxweDXs2+z30vQpCYAHQgxRt+NHwOmNI+mxkLb6jlrQnnINToM3A==" - }, - "node_modules/@mymonero/mymonero-exchange-helper/node_modules/@mymonero/mymonero-exchange": { - "version": "1.3.1-alpha.0", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-exchange/-/mymonero-exchange-1.3.1-alpha.0.tgz", - "integrity": "sha512-t4yPRrAD4zYc2gX1H/eh/cppo4L7HpY3qChZ5W9MqD4BWAYv82+7lMiHIyi+1mF4vemnSsz6A57yNc3E9P5eAg==", - "dependencies": { - "axios": "^0.21.1", - "process": "^0.11.10" - } - }, - "node_modules/@mymonero/mymonero-exchange-helper/node_modules/@mymonero/mymonero-money-format": { - "version": "1.3.1-alpha.0", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-money-format/-/mymonero-money-format-1.3.1-alpha.0.tgz", - "integrity": "sha512-a+Jfu7cwPNa0EP11MndpUU8ZItg9X6dSpc9Tnh6+iQhTUHLhkxLVi1a6Kd6y0FjojzZdnbQauW9ZjiEkc+duOQ==", - "dependencies": { - "@mymonero/mymonero-bigint": "^1.3.1-alpha.0" - } - }, "node_modules/@mymonero/mymonero-hosted-api": { "version": "1.2.0", "license": "ISC" @@ -1789,10 +1783,11 @@ } }, "node_modules/@mymonero/mymonero-money-format": { - "version": "1.1.15", - "license": "ISC", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-money-format/-/mymonero-money-format-1.4.2.tgz", + "integrity": "sha512-M+VXwrF/fnkGOSsy9f+DwtLz940MeMknkpiPICtFXDtL8/vluQBenxiq+qC5pr5LYYPqvP4TGK2wKxqSORORZw==", "dependencies": { - "@mymonero/mymonero-bigint": "^1.1.15" + "@mymonero/mymonero-bigint": "^1.4.2" } }, "node_modules/@mymonero/mymonero-net-service-utils": { @@ -1804,12 +1799,12 @@ "license": "ISC" }, "node_modules/@mymonero/mymonero-page-templates": { - "version": "1.3.1-alpha.3", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-page-templates/-/mymonero-page-templates-1.3.1-alpha.3.tgz", - "integrity": "sha512-6umcXZ0up8laPn0YMD9C8W6n7/W2AfHwneHC7lcJJuVF+UZmM9IuylxSBXKyU7IfYhPO/4yn8UHW2tB6m35K7Q==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-page-templates/-/mymonero-page-templates-1.3.3.tgz", + "integrity": "sha512-ijy64twfVijsSgHekiszLazdHABf0NWPmasYwbBuBSELNEE7VooPiEvyZFI5gJVcXpwguCaXOoUKZfW3AcuLFA==", "dependencies": { - "@mymonero/changenow-exchange-integration": "^1.3.1-alpha.0", - "@mymonero/mymonero-web-components": "^1.3.1-alpha.2", + "@mymonero/changenow-exchange-integration": "^1.3.3", + "@mymonero/mymonero-web-components": "^1.3.2", "lit": "*", "lit-html": "^1.4.1", "sweetalert2": "^11.3.0" @@ -1843,9 +1838,9 @@ } }, "node_modules/@mymonero/mymonero-web-components": { - "version": "1.3.1-alpha.2", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-web-components/-/mymonero-web-components-1.3.1-alpha.2.tgz", - "integrity": "sha512-xYNqKbNyLlzq5WxMtj1NwRPrudCHnJ9i0cD5car3IZLOahgCCMjP5eN+xvwz3gDQmYhergV8kGUYIGh2KWUI8Q==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-web-components/-/mymonero-web-components-1.4.2.tgz", + "integrity": "sha512-8M6zAynpoT6uFNuIgrsNJneogzYQfTRI+8J6rtN1KcvTlwAj8pBmg/kjise2mja5WbNadjfS/Kka0XYpjSaaQQ==", "dependencies": { "lit": "*", "lit-html": "^1.4.1", @@ -2363,15 +2358,15 @@ } }, "node_modules/axios-mock-adapter": { - "version": "1.20.0", - "license": "MIT", + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz", + "integrity": "sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==", "dependencies": { "fast-deep-equal": "^3.1.3", - "is-blob": "^2.1.0", "is-buffer": "^2.0.5" }, "peerDependencies": { - "axios": ">= 0.9.0" + "axios": ">= 0.17.0" } }, "node_modules/babel-plugin-dynamic-import-node": { @@ -4784,16 +4779,6 @@ "node": ">=8" } }, - "node_modules/is-blob": { - "version": "2.1.0", - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-boolean-object": { "version": "1.1.2", "license": "MIT", @@ -4810,6 +4795,8 @@ }, "node_modules/is-buffer": { "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", "funding": [ { "type": "github", @@ -4824,7 +4811,6 @@ "url": "https://feross.org/support" } ], - "license": "MIT", "engines": { "node": ">=4" } @@ -9647,13 +9633,30 @@ "version": "1.0.1", "requires": { "@capacitor/core": "latest" + }, + "dependencies": { + "@capacitor/core": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.7.3.tgz", + "integrity": "sha512-xEuQmP+h0tugl2N+qRcdrUavZydvTnnmtvqu/OtCBb/bKZo2PDRFft7MxuQRE2GxXs6kLy3cvwzhDAHB3a+9mw==", + "requires": { + "tslib": "^2.1.0" + } + }, + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + } } }, "@lit/reactive-element": { "version": "1.0.1" }, "@mymonero/changenow-exchange-integration": { - "version": "1.3.1-alpha.0", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/changenow-exchange-integration/-/changenow-exchange-integration-1.4.2.tgz", + "integrity": "sha512-d4y3nObFQhX+hkDE4bLFg6uLjXqmVKnwCZlqLLboXrSOOGZN7+dMjidpsdErYjd6KmodBb3rQiJpb9CTD/sm2w==", "requires": { "axios": "^0.21.1", "axios-mock-adapter": "^1.19.0" @@ -9668,51 +9671,31 @@ } }, "@mymonero/mymonero-bigint": { - "version": "1.2.0" + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-bigint/-/mymonero-bigint-1.4.2.tgz", + "integrity": "sha512-JVGPBWT9jeCNaXAW1vnZEHnX+flP8Wl/FC6sq2bwan9nblAkRB59UsAzpOm8VjiPwmUqm073sekLsIpAgUB2IQ==" }, "@mymonero/mymonero-bridge-utils": { "version": "1.2.0" }, "@mymonero/mymonero-exchange": { - "version": "1.1.17", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-exchange/-/mymonero-exchange-1.4.2.tgz", + "integrity": "sha512-apJna+1wQpKjem7mz2UKJE+7xiW9kEPVBdGPitC3d/RsPRkMrikQYToGyQsFMioNCbGc4pZW/VjhTMR7ZXh9vw==", "requires": { "axios": "^0.21.1", "process": "^0.11.10" } }, "@mymonero/mymonero-exchange-helper": { - "version": "1.3.1-alpha.4", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-exchange-helper/-/mymonero-exchange-helper-1.3.1-alpha.4.tgz", - "integrity": "sha512-FfKdmXJTbxYodI6RdNg3SYWAZFSuc56sI5qHGNwXwohTYzY7DmudQcUhpEBz+q0QcSZhxD5Y9ESoQ6LTn0SnUQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-exchange-helper/-/mymonero-exchange-helper-1.3.2.tgz", + "integrity": "sha512-bXIwIm/8bgSKTyABR3nQqlUjiT9x/fBzOOo/exGce8/ZkwTJV5DighVdZKFtUHbVI6/c1J9L9PQm6Ws7B4dipA==", "requires": { - "@mymonero/mymonero-bigint": "^1.3.1-alpha.0", - "@mymonero/mymonero-exchange": "^1.3.1-alpha.0", - "@mymonero/mymonero-money-format": "^1.3.1-alpha.0", + "@mymonero/mymonero-bigint": "^1.3.2", + "@mymonero/mymonero-exchange": "^1.3.2", + "@mymonero/mymonero-money-format": "^1.3.2", "axios": "^0.21.1" - }, - "dependencies": { - "@mymonero/mymonero-bigint": { - "version": "1.3.1-alpha.0", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-bigint/-/mymonero-bigint-1.3.1-alpha.0.tgz", - "integrity": "sha512-W6hChib2q8y4BWMFq5vh8EWaqiRZODXk06RxweDXs2+z30vQpCYAHQgxRt+NHwOmNI+mxkLb6jlrQnnINToM3A==" - }, - "@mymonero/mymonero-exchange": { - "version": "1.3.1-alpha.0", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-exchange/-/mymonero-exchange-1.3.1-alpha.0.tgz", - "integrity": "sha512-t4yPRrAD4zYc2gX1H/eh/cppo4L7HpY3qChZ5W9MqD4BWAYv82+7lMiHIyi+1mF4vemnSsz6A57yNc3E9P5eAg==", - "requires": { - "axios": "^0.21.1", - "process": "^0.11.10" - } - }, - "@mymonero/mymonero-money-format": { - "version": "1.3.1-alpha.0", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-money-format/-/mymonero-money-format-1.3.1-alpha.0.tgz", - "integrity": "sha512-a+Jfu7cwPNa0EP11MndpUU8ZItg9X6dSpc9Tnh6+iQhTUHLhkxLVi1a6Kd6y0FjojzZdnbQauW9ZjiEkc+duOQ==", - "requires": { - "@mymonero/mymonero-bigint": "^1.3.1-alpha.0" - } - } } }, "@mymonero/mymonero-hosted-api": { @@ -9734,9 +9717,11 @@ } }, "@mymonero/mymonero-money-format": { - "version": "1.1.15", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-money-format/-/mymonero-money-format-1.4.2.tgz", + "integrity": "sha512-M+VXwrF/fnkGOSsy9f+DwtLz940MeMknkpiPICtFXDtL8/vluQBenxiq+qC5pr5LYYPqvP4TGK2wKxqSORORZw==", "requires": { - "@mymonero/mymonero-bigint": "^1.1.15" + "@mymonero/mymonero-bigint": "^1.4.2" } }, "@mymonero/mymonero-net-service-utils": { @@ -9746,12 +9731,12 @@ "version": "1.1.15" }, "@mymonero/mymonero-page-templates": { - "version": "1.3.1-alpha.3", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-page-templates/-/mymonero-page-templates-1.3.1-alpha.3.tgz", - "integrity": "sha512-6umcXZ0up8laPn0YMD9C8W6n7/W2AfHwneHC7lcJJuVF+UZmM9IuylxSBXKyU7IfYhPO/4yn8UHW2tB6m35K7Q==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-page-templates/-/mymonero-page-templates-1.3.3.tgz", + "integrity": "sha512-ijy64twfVijsSgHekiszLazdHABf0NWPmasYwbBuBSELNEE7VooPiEvyZFI5gJVcXpwguCaXOoUKZfW3AcuLFA==", "requires": { - "@mymonero/changenow-exchange-integration": "^1.3.1-alpha.0", - "@mymonero/mymonero-web-components": "^1.3.1-alpha.2", + "@mymonero/changenow-exchange-integration": "^1.3.3", + "@mymonero/mymonero-web-components": "^1.3.2", "lit": "*", "lit-html": "^1.4.1", "sweetalert2": "^11.3.0" @@ -9780,9 +9765,9 @@ } }, "@mymonero/mymonero-web-components": { - "version": "1.3.1-alpha.2", - "resolved": "https://registry.npmjs.org/@mymonero/mymonero-web-components/-/mymonero-web-components-1.3.1-alpha.2.tgz", - "integrity": "sha512-xYNqKbNyLlzq5WxMtj1NwRPrudCHnJ9i0cD5car3IZLOahgCCMjP5eN+xvwz3gDQmYhergV8kGUYIGh2KWUI8Q==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@mymonero/mymonero-web-components/-/mymonero-web-components-1.4.2.tgz", + "integrity": "sha512-8M6zAynpoT6uFNuIgrsNJneogzYQfTRI+8J6rtN1KcvTlwAj8pBmg/kjise2mja5WbNadjfS/Kka0XYpjSaaQQ==", "requires": { "lit": "*", "lit-html": "^1.4.1", @@ -10138,10 +10123,11 @@ } }, "axios-mock-adapter": { - "version": "1.20.0", + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz", + "integrity": "sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==", "requires": { "fast-deep-equal": "^3.1.3", - "is-blob": "^2.1.0", "is-buffer": "^2.0.5" } }, @@ -11677,9 +11663,6 @@ "binary-extensions": "^2.0.0" } }, - "is-blob": { - "version": "2.1.0" - }, "is-boolean-object": { "version": "1.1.2", "requires": { @@ -11688,7 +11671,9 @@ } }, "is-buffer": { - "version": "2.0.5" + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" }, "is-callable": { "version": "1.2.4" diff --git a/package.json b/package.json index 3fd902a5..fdf7f419 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@mymonero/mymonero-bigint": "^1.1.15", "@mymonero/mymonero-bridge-utils": "^1.1.15", "@mymonero/mymonero-exchange": "^1.1.17", - "@mymonero/mymonero-exchange-helper": "^1.3.1-alpha.0", + "@mymonero/mymonero-exchange-helper": "^1.3.2", "@mymonero/mymonero-hosted-api": "^1.1.5", "@mymonero/mymonero-keyimage-cache": "^1.0.5", "@mymonero/mymonero-locales": "^1.1.9", @@ -34,7 +34,7 @@ "@mymonero/mymonero-money-format": "^1.1.15", "@mymonero/mymonero-net-service-utils": "^1.0.5", "@mymonero/mymonero-nettype": "^1.1.15", - "@mymonero/mymonero-page-templates": "^1.3.1-alpha.3", + "@mymonero/mymonero-page-templates": "^1.3.3", "@mymonero/mymonero-paymentid-utils": "^1.0.5", "@mymonero/mymonero-request-utils": "^1.1.4", "@mymonero/mymonero-response-parser-utils": "^1.1.5",