You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2025/07/02 15:10:41 UTC
(echarts-examples) 03/03: (infra) remove --openssl-legacy-provider, as in node v16.20.2 it throws error "node: --openssl-legacy-provider is not allowed in NODE_OPTIONS". Since later dependabot has upgraded webpack to ^5.94.0, -openssl-legacy-provider is no need.
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
commit cee9b32a40eb66e56b8d41225f3241ee2fa3708f
Author: 100pah <su...@gmail.com>
AuthorDate: Wed Jul 2 23:10:04 2025 +0800
(infra) remove --openssl-legacy-provider, as in node v16.20.2 it throws error "node: --openssl-legacy-provider is not allowed in NODE_OPTIONS". Since later dependabot has upgraded webpack to ^5.94.0, -openssl-legacy-provider is no need.
---
package.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/package.json b/package.json
index bede6969..749f7724 100644
--- a/package.json
+++ b/package.json
@@ -4,8 +4,8 @@
"license": "Apache-2.0",
"private": true,
"scripts": {
- "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider webpack --config build/webpack.config.js --mode production",
- "watch": "cross-env NODE_OPTIONS=--openssl-legacy-provider webpack --config build/webpack.config.js --mode development --devtool source-map --watch",
+ "build": "webpack --config build/webpack.config.js --mode production",
+ "watch": "webpack --config build/webpack.config.js --mode development --devtool source-map --watch",
"localsite": "npm run compile:example && npm run build && node build/copyResource.js --env localsite",
"release": "npm run compile:example && npm run build && node build/copyResource.js --env asf",
"dev": "concurrently --kill-others \"npm:watch\" \"npm:server\"",
@@ -46,6 +46,7 @@
"open": "^7.1.0",
"pixelmatch": "^5.2.1",
"pngjs": "^6.0.0",
+ "puppeteer": "^24.10.2",
"raw-loader": "^4.0.2",
"sass.js": "^0.11.1",
"sassjs-loader": "^2.0.0",
@@ -77,4 +78,4 @@
"vue-i18n": "^8.18.2",
"vue-scrollactive": "^0.9.3"
}
-}
\ No newline at end of file
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org