From 60fde1f6ce47dcba470328bbc20d9260793c99b9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 27 Nov 2023 20:10:47 +0000 Subject: [PATCH] fix: packages/omi-cli/template/md2site/package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908 - https://snyk.io/vuln/SNYK-JS-BABELTRAVERSE-5962463 - https://snyk.io/vuln/SNYK-JS-COLORSTRING-1082939 - https://snyk.io/vuln/SNYK-JS-GLOBPARENT-1016905 - https://snyk.io/vuln/SNYK-JS-HTMLMINIFIER-3091181 - https://snyk.io/vuln/SNYK-JS-ISTANBULREPORTS-2328088 - https://snyk.io/vuln/SNYK-JS-JSON5-3182856 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 - https://snyk.io/vuln/SNYK-JS-POSTCSS-5926692 - https://snyk.io/vuln/SNYK-JS-REQUEST-3361831 - https://snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873 - https://snyk.io/vuln/SNYK-JS-UNSETVALUE-2400660 - https://snyk.io/vuln/npm:braces:20180219 - https://snyk.io/vuln/npm:content-type-parser:20170905 --- packages/omi-cli/template/md2site/package.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) mode change 100755 => 100644 packages/omi-cli/template/md2site/package.json diff --git a/packages/omi-cli/template/md2site/package.json b/packages/omi-cli/template/md2site/package.json old mode 100755 new mode 100644 index a93289db6f..b10075b8b6 --- a/packages/omi-cli/template/md2site/package.json +++ b/packages/omi-cli/template/md2site/package.json @@ -5,8 +5,8 @@ "dependencies": { "autoprefixer": "7.1.6", "babel-core": "6.26.0", - "babel-eslint": "7.2.3", - "babel-jest": "20.0.3", + "babel-eslint": "8.0.2", + "babel-jest": "24.0.0", "babel-loader": "7.1.2", "babel-plugin-syntax-dynamic-import": "^6.18.0", "babel-plugin-transform-class-properties": "^6.24.1", @@ -18,10 +18,10 @@ "babel-runtime": "6.26.0", "case-sensitive-paths-webpack-plugin": "2.1.1", "chalk": "1.1.3", - "css-loader": "0.28.7", + "css-loader": "2.0.0", "dotenv": "4.0.0", "dotenv-expand": "4.2.0", - "eslint": "^4.18.2", + "eslint": "^5.5.0", "eslint-config-prettier": "^3.1.0", "eslint-loader": "1.9.0", "eslint-plugin-flowtype": "2.39.1", @@ -31,8 +31,8 @@ "extract-text-webpack-plugin": "3.0.2", "file-loader": "1.1.5", "fs-extra": "3.0.1", - "html-webpack-plugin": "2.29.0", - "jest": "20.0.4", + "html-webpack-plugin": "4.0.0", + "jest": "26.0.0", "md-text-loader": "^0.1.0", "object-assign": "4.1.1", "omi-router": "latest", @@ -42,14 +42,14 @@ "prettier": "^1.14.3", "promise": "8.0.1", "raf": "3.4.0", - "react-dev-utils": "^5.0.1", + "react-dev-utils": "^6.0.0", "resolve": "1.6.0", "style-loader": "0.19.0", "sw-precache-webpack-plugin": "0.11.4", "to-string-loader": "^1.1.5", "url-loader": "0.6.2", - "webpack": "3.8.1", - "webpack-dev-server": "2.9.4", + "webpack": "5.0.0", + "webpack-dev-server": "4.0.0", "webpack-manifest-plugin": "1.3.2", "whatwg-fetch": "2.0.3" },