Skip to content

Commit 290438f

Browse files
committed
Ensure modern jsesc is used
1 parent c97dc73 commit 290438f

File tree

3 files changed

+89
-190
lines changed

3 files changed

+89
-190
lines changed

packages/react-devtools-shared/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"react-dom-15": "npm:react-dom@^15"
1111
},
1212
"dependencies": {
13-
"@babel/parser": "^7.12.5",
14-
"@babel/preset-env": "^7.11.0",
13+
"@babel/parser": "^7.28.3",
14+
"@babel/preset-env": "7.26.9",
1515
"@babel/preset-flow": "^7.10.4",
1616
"@babel/runtime": "^7.11.2",
17-
"@babel/traverse": "^7.12.5",
17+
"@babel/traverse": "^7.28.3",
1818
"@reach/menu-button": "^0.16.1",
1919
"@reach/tooltip": "^0.16.0",
2020
"clipboard-js": "^0.3.6",

scripts/ci/run_devtools_e2e_tests.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ function buildInlinePackage() {
5555
logDim(data);
5656
});
5757
buildProcess.stderr.on('data', data => {
58-
if (`${data}`.includes('Warning')) {
58+
if (
59+
`${data}`.includes('Warning') ||
60+
// E.g. [BABEL] Note: The code generator has deoptimised the styling of * as it exceeds the max of 500KB.
61+
`${data}`.includes('[BABEL] Note')
62+
) {
5963
logDim(data);
6064
} else {
6165
logError(`Error:\n${data}`);

0 commit comments

Comments
 (0)