fix(security): remove patch-package production dependency (#9909)
This commit is contained in:
@@ -39,14 +39,13 @@
|
||||
"automated-release": "release-it -VV --config ./release/.release-it.json",
|
||||
"build": "npm run build-stylesheets && rimraf ./dist/swagger-ui.js ./dist/swagger-ui.js.map && npm run build-all-bundles",
|
||||
"build-all-bundles": "run-p --aggregate-output build:core build:bundle build:standalone build:es:bundle build:es:bundle:core",
|
||||
"build-stylesheets": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=browser-production webpack --color --config webpack/stylesheets.js",
|
||||
"build-stylesheets": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=browser-production webpack --color --config webpack/stylesheets.js && shx sed -i \"s/\\*zoom/zoom/g\" ./dist/swagger-ui.css",
|
||||
"build:bundle": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=isomorphic-production webpack --color --config webpack/bundle.js",
|
||||
"build:core": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=browser-production webpack --color --config webpack/core.js",
|
||||
"build:standalone": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=browser-production webpack --color --config webpack/standalone.js",
|
||||
"build:es:bundle": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=isomorphic-production webpack --color --config webpack/es-bundle.js",
|
||||
"build:es:bundle:core": "cross-env NODE_ENV=production BABEL_ENV=esm BROWSERSLIST_ENV=browser-production webpack --color --config webpack/es-bundle-core.js",
|
||||
"clean": "rimraf ./dist",
|
||||
"postinstall": "patch-package",
|
||||
"dev": "cross-env NODE_ENV=development BABEL_ENV=development BROWSERSLIST_ENV=browser-development webpack serve --config webpack/dev.js",
|
||||
"deps-license": "license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv",
|
||||
"deps-size": "cross-env NODE_ENV=development webpack -p --config webpack/bundle.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
|
||||
@@ -84,7 +83,6 @@
|
||||
"js-file-download": "^0.4.12",
|
||||
"js-yaml": "=4.1.0",
|
||||
"lodash": "^4.17.21",
|
||||
"patch-package": "^8.0.0",
|
||||
"prop-types": "^15.8.1",
|
||||
"randexp": "^0.5.3",
|
||||
"randombytes": "^2.1.0",
|
||||
@@ -117,13 +115,13 @@
|
||||
"@babel/preset-env": "=7.24.5",
|
||||
"@babel/preset-react": "=7.24.1",
|
||||
"@babel/register": "=7.23.7",
|
||||
"@cfaester/enzyme-adapter-react-18": "=0.8.0",
|
||||
"@commitlint/cli": "^19.3.0",
|
||||
"@commitlint/config-conventional": "^19.2.2",
|
||||
"@jest/globals": "=29.7.0",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.13",
|
||||
"@release-it/conventional-changelog": "=8.0.1",
|
||||
"@svgr/webpack": "=8.1.0",
|
||||
"@cfaester/enzyme-adapter-react-18": "=0.8.0",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"babel-loader": "^9.1.3",
|
||||
"babel-plugin-lodash": "=3.3.4",
|
||||
@@ -178,6 +176,7 @@
|
||||
"rimraf": "^5.0.5",
|
||||
"sass": "^1.76.0",
|
||||
"sass-loader": "^14.2.1",
|
||||
"shx": "=0.3.4",
|
||||
"sinon": "=17.0.1",
|
||||
"source-map-support": "^0.5.21",
|
||||
"start-server-and-test": "^2.0.3",
|
||||
|
||||
Reference in New Issue
Block a user