From 63f1177fb6a5ae0cb62a4880b6f5dad3b47729ae Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 09:00:03 +0000 Subject: [PATCH] build(deps): bump path-to-regexp and fetch-mock in /superset-frontend Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 6.3.0 and updates ancestor dependencies [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [fetch-mock](https://github.com/wheresrhys/fetch-mock/tree/HEAD/packages/fetch-mock). These dependencies need to be updated together. Updates `path-to-regexp` from 1.8.0 to 6.3.0 - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](https://github.com/pillarjs/path-to-regexp/compare/v1.8.0...v6.3.0) Updates `path-to-regexp` from 6.2.2 to 6.3.0 - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](https://github.com/pillarjs/path-to-regexp/compare/v1.8.0...v6.3.0) Updates `fetch-mock` from 7.7.3 to 12.2.0 - [Release notes](https://github.com/wheresrhys/fetch-mock/releases) - [Changelog](https://github.com/wheresrhys/fetch-mock/blob/main/packages/fetch-mock/CHANGELOG.md) - [Commits](https://github.com/wheresrhys/fetch-mock/commits/fetch-mock-v12.2.0/packages/fetch-mock) --- updated-dependencies: - dependency-name: path-to-regexp dependency-type: indirect - dependency-name: path-to-regexp dependency-type: indirect - dependency-name: fetch-mock dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- superset-frontend/package-lock.json | 196 +++++++----------- superset-frontend/package.json | 2 +- .../packages/superset-ui-core/package.json | 2 +- 3 files changed, 81 insertions(+), 119 deletions(-) diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index bff23d7339713..438099ac947e5 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -249,7 +249,7 @@ "eslint-plugin-theme-colors": "file:tools/eslint-plugin-theme-colors", "eslint-plugin-translation-vars": "file:tools/eslint-plugin-translation-vars", "exports-loader": "^5.0.0", - "fetch-mock": "^7.7.3", + "fetch-mock": "^12.2.0", "fork-ts-checker-webpack-plugin": "^9.0.2", "history": "^5.3.0", "ignore-styles": "^5.0.1", @@ -17917,21 +17917,6 @@ "typescript": "^4.0.0 || ^5.0.0" } }, - "node_modules/babel-polyfill": { - "version": "6.26.0", - "dev": true, - "license": "MIT", - "dependencies": { - "babel-runtime": "^6.26.0", - "core-js": "^2.5.0", - "regenerator-runtime": "^0.10.5" - } - }, - "node_modules/babel-polyfill/node_modules/regenerator-runtime": { - "version": "0.10.5", - "dev": true, - "license": "MIT" - }, "node_modules/babel-preset-current-node-syntax": { "version": "1.0.1", "dev": true, @@ -17970,20 +17955,6 @@ "@babel/core": "^7.0.0" } }, - "node_modules/babel-runtime": { - "version": "6.26.0", - "dev": true, - "license": "MIT", - "dependencies": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "node_modules/babel-runtime/node_modules/regenerator-runtime": { - "version": "0.11.1", - "dev": true, - "license": "MIT" - }, "node_modules/bail": { "version": "2.0.2", "license": "MIT", @@ -25494,12 +25465,6 @@ "dev": true, "license": "ISC" }, - "node_modules/express/node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", - "dev": true - }, "node_modules/express/node_modules/qs": { "version": "6.13.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", @@ -26108,28 +26073,19 @@ } }, "node_modules/fetch-mock": { - "version": "7.7.3", + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/fetch-mock/-/fetch-mock-12.2.0.tgz", + "integrity": "sha512-XjgxM582kB0SzPOqH2UdGTwSqga8A8aBPjxcYr0wTeOlCWpZoK6zBrPzltECUTu6Zt3VTWafmKF599LN9BRN5Q==", "dev": true, - "hasInstallScript": true, - "license": "MIT", "dependencies": { - "babel-polyfill": "^6.26.0", - "core-js": "^2.6.9", - "glob-to-regexp": "^0.4.0", - "lodash.isequal": "^4.5.0", - "path-to-regexp": "^2.2.1", - "whatwg-url": "^6.5.0" + "@types/glob-to-regexp": "^0.4.4", + "dequal": "^2.0.3", + "glob-to-regexp": "^0.4.1", + "is-subset-of": "^3.1.10", + "regexparam": "^3.0.0" }, "engines": { - "node": ">=4.0.0" - }, - "peerDependencies": { - "node-fetch": "*" - }, - "peerDependenciesMeta": { - "node-fetch": { - "optional": true - } + "node": ">=18.11.0" } }, "node_modules/fetch-retry": { @@ -30208,6 +30164,16 @@ "dev": true, "license": "MIT" }, + "node_modules/is-subset-of": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/is-subset-of/-/is-subset-of-3.1.10.tgz", + "integrity": "sha512-avvaYgVmYWyaZ1NDFiv4y9JGkrE2je3op1Po4VYKKJKR8H2qVPsg1GZuuXl5elCTxTlwAIsrAjWAs4BVrISFRw==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "dev": true, + "dependencies": { + "typedescriptor": "3.0.2" + } + }, "node_modules/is-symbol": { "version": "1.0.4", "license": "MIT", @@ -40872,9 +40838,9 @@ } }, "node_modules/nise/node_modules/path-to-regexp": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz", - "integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", "dev": true }, "node_modules/no-case": { @@ -43436,9 +43402,10 @@ } }, "node_modules/path-to-regexp": { - "version": "2.4.0", - "dev": true, - "license": "MIT" + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "dev": true }, "node_modules/path-type": { "version": "3.0.0", @@ -46425,8 +46392,9 @@ "license": "MIT" }, "node_modules/react-router/node_modules/path-to-regexp": { - "version": "1.8.0", - "license": "MIT", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz", + "integrity": "sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==", "dependencies": { "isarray": "0.0.1" } @@ -52215,6 +52183,13 @@ "is-typedarray": "^1.0.0" } }, + "node_modules/typedescriptor": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/typedescriptor/-/typedescriptor-3.0.2.tgz", + "integrity": "sha512-hyVbaCUd18UiXk656g/imaBLMogpdijIEpnhWYrSda9rhvO4gOU16n2nh7xG5lv/rjumnZzGOdz0CEGTmFe0fQ==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "dev": true + }, "node_modules/typescript": { "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", @@ -55639,9 +55614,10 @@ } }, "packages/generator-superset/node_modules/path-to-regexp": { - "version": "6.2.2", - "dev": true, - "license": "MIT" + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", + "dev": true }, "packages/generator-superset/node_modules/path-type": { "version": "5.0.0", @@ -56413,7 +56389,7 @@ "@types/prop-types": "^15.7.2", "@types/rison": "0.0.9", "@types/seedrandom": "^3.0.8", - "fetch-mock": "^11.1.4", + "fetch-mock": "^12.2.0", "jest-mock-console": "^2.0.0", "resize-observer-polyfill": "1.5.1", "timezone-mock": "1.3.6" @@ -66769,7 +66745,7 @@ "d3-scale": "^3.0.0", "d3-time": "^3.1.0", "d3-time-format": "^4.1.0", - "fetch-mock": "^11.1.4", + "fetch-mock": "^12.2.0", "fetch-retry": "^6.0.0", "jed": "^1.1.1", "jest-mock-console": "^2.0.0", @@ -66875,8 +66851,7 @@ "version": "5.0.0" }, "fetch-mock": { - "version": "11.1.4", - "resolved": "https://registry.npmjs.org/fetch-mock/-/fetch-mock-11.1.4.tgz", + "version": "https://registry.npmjs.org/fetch-mock/-/fetch-mock-11.1.4.tgz", "integrity": "sha512-Enndh1ApARgYDPfWFgfzLeSgdQVasMj6qDWDArya6quj3Z83AVGsl1YrVe8OxWVWsN7a+56RQRoGNmo9HdldAg==", "dev": true, "requires": { @@ -68124,7 +68099,9 @@ "version": "3.1.1" }, "path-to-regexp": { - "version": "6.2.2", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", "dev": true }, "path-type": { @@ -73053,21 +73030,6 @@ "@babel/types": "^7.15.6" } }, - "babel-polyfill": { - "version": "6.26.0", - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "core-js": "^3.38.1", - "regenerator-runtime": "^0.10.5" - }, - "dependencies": { - "regenerator-runtime": { - "version": "0.10.5", - "dev": true - } - } - }, "babel-preset-current-node-syntax": { "version": "1.0.1", "dev": true, @@ -73096,20 +73058,6 @@ "babel-preset-current-node-syntax": "^1.0.0" } }, - "babel-runtime": { - "version": "6.26.0", - "dev": true, - "requires": { - "core-js": "^3.38.1", - "regenerator-runtime": "^0.11.0" - }, - "dependencies": { - "regenerator-runtime": { - "version": "0.11.1", - "dev": true - } - } - }, "bail": { "version": "2.0.2" }, @@ -78108,12 +78056,6 @@ "version": "2.0.4", "dev": true }, - "path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", - "dev": true - }, "qs": { "version": "6.13.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", @@ -78540,15 +78482,16 @@ } }, "fetch-mock": { - "version": "7.7.3", + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/fetch-mock/-/fetch-mock-12.2.0.tgz", + "integrity": "sha512-XjgxM582kB0SzPOqH2UdGTwSqga8A8aBPjxcYr0wTeOlCWpZoK6zBrPzltECUTu6Zt3VTWafmKF599LN9BRN5Q==", "dev": true, "requires": { - "babel-polyfill": "^6.26.0", - "core-js": "^3.38.1", - "glob-to-regexp": "^0.4.0", - "lodash.isequal": "^4.5.0", - "path-to-regexp": "^2.2.1", - "whatwg-url": "^6.5.0" + "@types/glob-to-regexp": "^0.4.4", + "dequal": "^2.0.3", + "glob-to-regexp": "^0.4.1", + "is-subset-of": "^3.1.10", + "regexparam": "^3.0.0" } }, "fetch-retry": { @@ -81143,6 +81086,15 @@ "version": "0.1.1", "dev": true }, + "is-subset-of": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/is-subset-of/-/is-subset-of-3.1.10.tgz", + "integrity": "sha512-avvaYgVmYWyaZ1NDFiv4y9JGkrE2je3op1Po4VYKKJKR8H2qVPsg1GZuuXl5elCTxTlwAIsrAjWAs4BVrISFRw==", + "dev": true, + "requires": { + "typedescriptor": "3.0.2" + } + }, "is-symbol": { "version": "1.0.4", "requires": { @@ -87511,9 +87463,9 @@ }, "dependencies": { "path-to-regexp": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz", - "integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", "dev": true } } @@ -89211,7 +89163,9 @@ } }, "path-to-regexp": { - "version": "2.4.0", + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", "dev": true }, "path-type": { @@ -91062,7 +91016,9 @@ "version": "0.0.1" }, "path-to-regexp": { - "version": "1.8.0", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz", + "integrity": "sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==", "requires": { "isarray": "0.0.1" } @@ -94864,6 +94820,12 @@ "is-typedarray": "^1.0.0" } }, + "typedescriptor": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/typedescriptor/-/typedescriptor-3.0.2.tgz", + "integrity": "sha512-hyVbaCUd18UiXk656g/imaBLMogpdijIEpnhWYrSda9rhvO4gOU16n2nh7xG5lv/rjumnZzGOdz0CEGTmFe0fQ==", + "dev": true + }, "typescript": { "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", diff --git a/superset-frontend/package.json b/superset-frontend/package.json index 434f95032512a..c302e7f6f696c 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -315,7 +315,7 @@ "eslint-plugin-theme-colors": "file:tools/eslint-plugin-theme-colors", "eslint-plugin-translation-vars": "file:tools/eslint-plugin-translation-vars", "exports-loader": "^5.0.0", - "fetch-mock": "^7.7.3", + "fetch-mock": "^12.2.0", "fork-ts-checker-webpack-plugin": "^9.0.2", "history": "^5.3.0", "ignore-styles": "^5.0.1", diff --git a/superset-frontend/packages/superset-ui-core/package.json b/superset-frontend/packages/superset-ui-core/package.json index b67dc924222f3..31ffd8c808240 100644 --- a/superset-frontend/packages/superset-ui-core/package.json +++ b/superset-frontend/packages/superset-ui-core/package.json @@ -64,7 +64,7 @@ "@types/prop-types": "^15.7.2", "@types/rison": "0.0.9", "@types/seedrandom": "^3.0.8", - "fetch-mock": "^11.1.4", + "fetch-mock": "^12.2.0", "jest-mock-console": "^2.0.0", "resize-observer-polyfill": "1.5.1", "timezone-mock": "1.3.6"