File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 71
71
"eslint-plugin-n" : " ^16.0.0" ,
72
72
"eslint-plugin-node-dependencies" : " ^0.11.0" ,
73
73
"eslint-plugin-prettier" : " ^5.0.0" ,
74
- "eslint-plugin-regexp" : " ^1 .0.0" ,
74
+ "eslint-plugin-regexp" : " ^2 .0.0" ,
75
75
"eslint-plugin-vue" : " ^9.0.0" ,
76
76
"mocha" : " ^10.0.0" ,
77
77
"nyc" : " ^15.1.0" ,
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ import type { JSONIdentifier } from "./ast";
26
26
import type { JSONSyntaxContext } from "./syntax-context" ;
27
27
28
28
const lineBreakPattern = / \r \n | [ \n \r \u2028 \u2029 ] / u;
29
- const octalNumericLiteralPattern = / ^ 0 [ O o ] / u ;
29
+ const octalNumericLiteralPattern = / ^ 0 o / iu ;
30
30
const legacyOctalNumericLiteralPattern = / ^ 0 \d / u;
31
- const binaryNumericLiteralPattern = / ^ 0 [ B b ] / u ;
31
+ const binaryNumericLiteralPattern = / ^ 0 b / iu ;
32
32
33
33
const unicodeCodepointEscapePattern = / \\ u \{ [ \d A - F a - f ] + \} / uy;
34
34
You can’t perform that action at this time.
0 commit comments