@hyperframes/lint 0.8.112 → 0.8.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -807,7 +807,7 @@ function addUnescapedDigitIds(selector, ids) {
|
|
|
807
807
|
} catch {
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
|
-
var SELECTOR_CALL_PATTERN =
|
|
810
|
+
var SELECTOR_CALL_PATTERN = /(?:\.(?:querySelector(?:All)?|closest|matches|to|from|fromTo|set|toArray)\s*\(|(?<![\w$-])(?:trigger|endTrigger|pin|scrollTrigger|scroller|pinnedContainer|pinSpacer)["']?\s*:)\s*(["'`])((?:\\.|(?!\1)[^\\])*)\1/g;
|
|
811
811
|
function digitIdsTargetedBySelectors(styles, scripts) {
|
|
812
812
|
const ids = /* @__PURE__ */ new Set();
|
|
813
813
|
for (const style of styles) {
|