File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7171 "eslint-plugin-n" : " ^16.0.0" ,
7272 "eslint-plugin-node-dependencies" : " ^0.11.0" ,
7373 "eslint-plugin-prettier" : " ^5.0.0" ,
74- "eslint-plugin-regexp" : " ^1 .0.0" ,
74+ "eslint-plugin-regexp" : " ^2 .0.0" ,
7575 "eslint-plugin-vue" : " ^9.0.0" ,
7676 "mocha" : " ^10.0.0" ,
7777 "nyc" : " ^15.1.0" ,
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ import type { JSONIdentifier } from "./ast";
2626import type { JSONSyntaxContext } from "./syntax-context" ;
2727
2828const lineBreakPattern = / \r \n | [ \n \r \u2028 \u2029 ] / u;
29- const octalNumericLiteralPattern = / ^ 0 [ O o ] / u ;
29+ const octalNumericLiteralPattern = / ^ 0 o / iu ;
3030const legacyOctalNumericLiteralPattern = / ^ 0 \d / u;
31- const binaryNumericLiteralPattern = / ^ 0 [ B b ] / u ;
31+ const binaryNumericLiteralPattern = / ^ 0 b / iu ;
3232
3333const unicodeCodepointEscapePattern = / \\ u \{ [ \d A - F a - f ] + \} / uy;
3434
You can’t perform that action at this time.
0 commit comments