@lwc/template-compiler 8.1.1 → 8.1.2
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/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -12952,7 +12952,7 @@ function generateStylesheetTokens(codeGen) {
|
|
|
12952
12952
|
return styleTokens;
|
|
12953
12953
|
}
|
|
12954
12954
|
const DECLARATION_DELIMITER = /;(?![^(]*\))/g;
|
|
12955
|
-
const PROPERTY_DELIMITER = /:(.+)
|
|
12955
|
+
const PROPERTY_DELIMITER = /:(.+)/s; // `/s` (dotAll) required to match styles across newlines, e.g. `color: \n red;`
|
|
12956
12956
|
// Borrowed from Vue template compiler.
|
|
12957
12957
|
// https://github.com/vuejs/vue/blob/531371b818b0e31a989a06df43789728f23dc4e8/src/platforms/web/util/style.js#L5-L16
|
|
12958
12958
|
function parseStyleText(cssText) {
|
|
@@ -14793,5 +14793,5 @@ exports.generateScopeTokens = generateScopeTokens;
|
|
|
14793
14793
|
exports.kebabcaseToCamelcase = kebabcaseToCamelcase;
|
|
14794
14794
|
exports.parse = parse;
|
|
14795
14795
|
exports.toPropertyName = toPropertyName;
|
|
14796
|
-
/** version: 8.1.
|
|
14796
|
+
/** version: 8.1.2 */
|
|
14797
14797
|
//# sourceMappingURL=index.cjs.js.map
|