es-check 9.6.3 → 9.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,13 +67,6 @@ function getESVersionFromBrowserslist(options = {}) {
67
67
  return 5;
68
68
  }
69
69
 
70
- if (
71
- browsers.length === 0 ||
72
- (browserslistPath && browserslistPath.includes("non-existent"))
73
- ) {
74
- return 5;
75
- }
76
-
77
70
  const knownBrowsers = browsers.filter((browser) => {
78
71
  const [browserName] = browser.split(" ");
79
72
  return BROWSER_TO_ES_VERSION[browserName];
@@ -7,8 +7,6 @@ const FEATURE_PARSER_REQUIREMENTS = {
7
7
  OptionalChaining: 11,
8
8
  NullishCoalescing: 11,
9
9
  LogicalAssignment: 12,
10
- LogicalAssignmentOr: 12,
11
- LogicalAssignmentNullish: 12,
12
10
  TopLevelAwait: 12,
13
11
  StaticInitializationBlocks: 13,
14
12
  };
@@ -146,6 +146,7 @@ const BROWSER_TO_ES_VERSION = {
146
146
  135: 17,
147
147
  },
148
148
  ios_saf: {
149
+ 9: 6,
149
150
  10: 6,
150
151
  10.3: 7,
151
152
  11: 8,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "es-check",
3
- "version": "9.6.3",
3
+ "version": "9.6.4",
4
4
  "description": "Checks the ECMAScript version of .js glob against a specified version of ECMAScript with a shell command",
5
5
  "main": "lib/index.js",
6
6
  "license": "MIT",