@lwc/jest-shared
Advanced tools
Comparing version 13.0.0 to 14.0.0-alpha.0
{ | ||
"name": "@lwc/jest-shared", | ||
"version": "13.0.0", | ||
"version": "14.0.0-alpha.0", | ||
"description": "Shared internal code for LWC Jest packages", | ||
@@ -22,4 +22,3 @@ "homepage": "https://lwc.dev/", | ||
"node": ">=10" | ||
}, | ||
"gitHead": "d66c078d6b4df83f4fb17f6c9cf23e2e5721840a" | ||
} | ||
} |
@@ -47,5 +47,3 @@ const knownScopedCssFiles = new Set(); | ||
// sort from longest to shortest so that `{foo-host}` is fully replaced, not just `{foo}-host` | ||
const regexString = [...knownScopeTokens] | ||
.sort((a, b) => b.length - a.length) | ||
.join('|'); | ||
const regexString = [...knownScopeTokens].sort((a, b) => b.length - a.length).join('|'); | ||
// attributes in the HTML namespace are case-insensitive, so the regex must be case-insensitive | ||
@@ -52,0 +50,0 @@ return new RegExp(regexString, 'gi'); |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2553
3
51
1