Skip to content

Commit 47a5c1f

Browse files
fix: use open-cli instead of require('open') for Node 20+ compatibility (#10517)
1 parent 7b86721 commit 47a5c1f

File tree

2 files changed

+272
-2
lines changed

2 files changed

+272
-2
lines changed

package-lock.json

Lines changed: 269 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"cy:run": "cross-env BROWSERSLIST_ENV=browser-production cypress run",
6666
"cy:ci": "start-server-and-test cy:start http://localhost:3204 cy:run",
6767
"cy:dev": "start-server-and-test cy:start http://localhost:3204 cy:open",
68-
"open-static": "node -e \"require('open')('http://localhost:3002')\"",
68+
"open-static": "npx open-cli http://localhost:3002",
6969
"security-audit": "run-s -sc security-audit:all security-audit:prod",
7070
"security-audit:prod": "npm-audit-ci-wrapper -p -t low",
7171
"security-audit:all": "npm-audit-ci-wrapper -t moderate",
@@ -170,10 +170,11 @@
170170
"npm-run-all": "^4.1.5",
171171
"oauth2-server": "^2.4.1",
172172
"open": "^10.1.0",
173+
"open-cli": "=8.0.0",
173174
"postcss": "^8.5.3",
174-
"postcss-scss": "^4.0.9",
175175
"postcss-loader": "^8.1.1",
176176
"postcss-preset-env": "^10.1.6",
177+
"postcss-scss": "^4.0.9",
177178
"prettier": "^3.5.3",
178179
"process": "^0.11.10",
179180
"react-refresh": "^0.17.0",

0 commit comments

Comments
 (0)