Skip to content

Commit 8a17311

Browse files
authoredMay 10, 2021
chore(deps-dev): Bump prettier from 2.2.1 to 2.3.0 (#486)
1 parent 39b5d5d commit 8a17311

File tree

2 files changed

+7846
-5
lines changed

2 files changed

+7846
-5
lines changed
 

‎package-lock.json

+7,844-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/parse.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ export type TraversalType =
8282
const reName = /^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/;
8383
const reEscape = /\\([\da-f]{1,6}\s?|(\s)|.)/gi;
8484
// Modified version of https://github.com/jquery/sizzle/blob/master/src/sizzle.js#L87
85-
const reAttr = /^\s*(?:(\*|[-\w]*)\|)?((?:\\.|[\w\u00b0-\uFFFF-])+)\s*(?:(\S?)=\s*(?:(['"])((?:[^\\]|\\[^])*?)\4|(#?(?:\\.|[\w\u00b0-\uFFFF-])*)|)|)\s*([iIsS])?\s*\]/;
85+
const reAttr =
86+
/^\s*(?:(\*|[-\w]*)\|)?((?:\\.|[\w\u00b0-\uFFFF-])+)\s*(?:(\S?)=\s*(?:(['"])((?:[^\\]|\\[^])*?)\4|(#?(?:\\.|[\w\u00b0-\uFFFF-])*)|)|)\s*([iIsS])?\s*\]/;
8687

8788
const actionTypes: { [key: string]: AttributeAction } = {
8889
undefined: "exists",

0 commit comments

Comments
 (0)
Please sign in to comment.