Skip to content

Commit

Permalink
chore(deps): update dependency eslint-plugin-regexp to v2 (#183)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency eslint-plugin-regexp to v2

* fix

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Yosuke Ota <[email protected]>
  • Loading branch information
renovate[bot] and ota-meshi authored Oct 17, 2023
1 parent 127ce46 commit a1cab04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-node-dependencies": "^0.11.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-regexp": "^1.0.0",
"eslint-plugin-regexp": "^2.0.0",
"eslint-plugin-vue": "^9.0.0",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/parser/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import type { JSONIdentifier } from "./ast";
import type { JSONSyntaxContext } from "./syntax-context";

const lineBreakPattern = /\r\n|[\n\r\u2028\u2029]/u;
const octalNumericLiteralPattern = /^0[Oo]/u;
const octalNumericLiteralPattern = /^0o/iu;
const legacyOctalNumericLiteralPattern = /^0\d/u;
const binaryNumericLiteralPattern = /^0[Bb]/u;
const binaryNumericLiteralPattern = /^0b/iu;

const unicodeCodepointEscapePattern = /\\u\{[\dA-Fa-f]+\}/uy;

Expand Down

0 comments on commit a1cab04

Please sign in to comment.