diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index b9aef24c1059..2b2d38bef2df 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -236,7 +236,7 @@ "eslint-plugin-storybook": "^0.8.0", "eslint-plugin-testing-library": "^6.4.0", "eslint-plugin-theme-colors": "file:eslint-rules/eslint-plugin-theme-colors", - "fetch-mock": "^11.1.5", + "fetch-mock": "^12.5.5", "fork-ts-checker-webpack-plugin": "^9.1.0", "history": "^5.3.0", "html-webpack-plugin": "^5.6.4", @@ -27453,25 +27453,19 @@ } }, "node_modules/fetch-mock": { - "version": "11.1.5", - "resolved": "https://registry.npmjs.org/fetch-mock/-/fetch-mock-11.1.5.tgz", - "integrity": "sha512-KHmZDnZ1ry0pCTrX4YG5DtThHi0MH+GNI9caESnzX/nMJBrvppUHMvLx47M0WY9oAtKOMiPfZDRpxhlHg89BOA==", + "version": "12.5.5", + "resolved": "https://registry.npmjs.org/fetch-mock/-/fetch-mock-12.5.5.tgz", + "integrity": "sha512-yeziyj/AsbpaQJ91Z+FvQW3h02JK4VS5FHDCz+xiihgMUsXIuhgg/XjC9UEPNtOruucfTSR2uQWcjevDmSXSUQ==", "dev": true, "license": "MIT", "dependencies": { "@types/glob-to-regexp": "^0.4.4", "dequal": "^2.0.3", "glob-to-regexp": "^0.4.1", - "is-subset": "^0.1.1", "regexparam": "^3.0.0" }, "engines": { - "node": ">=8.0.0" - }, - "peerDependenciesMeta": { - "node-fetch": { - "optional": true - } + "node": ">=18.11.0" } }, "node_modules/fetch-retry": { @@ -32513,7 +32507,9 @@ "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", "integrity": "sha512-6Ybun0IkarhmEqxXCNw/C0bna6Zb/TkfUX9UbwJtK6ObwAVCxmAP308WWTHviM/zAqXk05cdhYsUsZeGQh99iw==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/is-symbol": { "version": "1.1.1", @@ -64096,7 +64092,7 @@ "@types/react-table": "^7.7.20", "@types/rison": "0.1.0", "@types/seedrandom": "^3.0.8", - "fetch-mock": "^11.1.4", + "fetch-mock": "^12.5.5", "jest-mock-console": "^2.0.0", "resize-observer-polyfill": "1.5.1", "timezone-mock": "1.3.6" diff --git a/superset-frontend/package.json b/superset-frontend/package.json index ffcdb7b7e746..1f9faae3a852 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -309,7 +309,7 @@ "eslint-plugin-storybook": "^0.8.0", "eslint-plugin-testing-library": "^6.4.0", "eslint-plugin-theme-colors": "file:eslint-rules/eslint-plugin-theme-colors", - "fetch-mock": "^11.1.5", + "fetch-mock": "^12.5.5", "fork-ts-checker-webpack-plugin": "^9.1.0", "history": "^5.3.0", "html-webpack-plugin": "^5.6.4", diff --git a/superset-frontend/packages/superset-ui-core/package.json b/superset-frontend/packages/superset-ui-core/package.json index 0f173993d912..78590d268ec4 100644 --- a/superset-frontend/packages/superset-ui-core/package.json +++ b/superset-frontend/packages/superset-ui-core/package.json @@ -85,7 +85,7 @@ "@types/prop-types": "^15.7.15", "@types/rison": "0.1.0", "@types/seedrandom": "^3.0.8", - "fetch-mock": "^11.1.4", + "fetch-mock": "^12.5.5", "jest-mock-console": "^2.0.0", "resize-observer-polyfill": "1.5.1", "timezone-mock": "1.3.6"