Skip to content

Commit d80ee08

Browse files
committed
Version bump
1 parent 2648427 commit d80ee08

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

CHANGELOG-FRONTIER.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 8.7.10
2+
3+
- Feature detection for private class fields was erroring out before running the check, now it will be within `eval` so it will run even if the browser doesn't support it.
4+
15
## 8.7.9
26

37
- Add additional check for unsupported browser banner to avoid errors

packages/react-scripts/layout/views/partials/featureDetection.ejs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ if (Modernizr) {
77

88
Modernizr.addTest('privateFields', () => {
99
try {
10-
eval("class Test { #privateField; }");
11-
return true;
12-
} catch (e) {
13-
return false;
14-
}
10+
eval("class Test { #privateField; }");
11+
return true;
12+
} catch (e) {
13+
return false;
14+
}
1515
});
1616

1717
const outdatedFeatures = Object.keys(Modernizr).filter(feature => !Modernizr[feature]);

packages/react-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fs/react-scripts",
3-
"version": "8.7.9",
3+
"version": "8.7.10",
44
"upstreamVersion": "5.0.1",
55
"description": "Configuration and scripts for Create React App.",
66
"repository": {

0 commit comments

Comments
 (0)