Skip to content

Commit

Permalink
fix: modules support range (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber authored Dec 2, 2022
1 parent 27a73d5 commit 79b7984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rules/no-unsupported-features/es-syntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const features = {
ruleId: "no-modules",
cases: [
{
supported: "13.2.0",
supported: new Range("^12.17 || >=13.2"),
messageId: "no-modules",
},
],
Expand Down Expand Up @@ -379,7 +379,7 @@ const features = {
ruleId: "no-dynamic-import",
cases: [
{
supported: new Range(">=12.17 <13 || >=13.2"),
supported: new Range("^12.17 || >=13.2"),
messageId: "no-dynamic-import",
},
],
Expand Down

0 comments on commit 79b7984

Please sign in to comment.