Skip to content

Commit

Permalink
Updated regexpp v4.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Aug 22, 2023
1 parent 93f63eb commit e58ad73
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"typescript": "^5.0.2"
},
"dependencies": {
"@eslint-community/regexpp": "^4.6.2"
"@eslint-community/regexpp": "^4.7.0"
},
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
Expand Down
5 changes: 0 additions & 5 deletions src/js/parse-unicode-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,6 @@ export function parseCharSet(
case "CharacterClassRange":
return { min: e.min.value, max: e.max.value };
case "CharacterSet":
// https://github.com/eslint-community/regexpp/issues/121
// TODO: remove this once the type has bee fixed
if (e.kind === "property" && e.strings) {
throw new Error("Invalid flags. The AST contains a Unicode property escape.");
}
return e;
default:
throw assertNever(e, "Unsupported element");
Expand Down

0 comments on commit e58ad73

Please sign in to comment.