@vue/shared 3.3.2 → 3.3.3
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/shared.cjs.js
CHANGED
|
@@ -192,7 +192,7 @@ function normalizeStyle(value) {
|
|
|
192
192
|
}
|
|
193
193
|
const listDelimiterRE = /;(?![^(]*\))/g;
|
|
194
194
|
const propertyDelimiterRE = /:([^]+)/;
|
|
195
|
-
const styleCommentRE =
|
|
195
|
+
const styleCommentRE = /\/\*[^]*?\*\//g;
|
|
196
196
|
function parseStringStyle(cssText) {
|
|
197
197
|
const ret = {};
|
|
198
198
|
cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
|
package/dist/shared.cjs.prod.js
CHANGED
|
@@ -192,7 +192,7 @@ function normalizeStyle(value) {
|
|
|
192
192
|
}
|
|
193
193
|
const listDelimiterRE = /;(?![^(]*\))/g;
|
|
194
194
|
const propertyDelimiterRE = /:([^]+)/;
|
|
195
|
-
const styleCommentRE =
|
|
195
|
+
const styleCommentRE = /\/\*[^]*?\*\//g;
|
|
196
196
|
function parseStringStyle(cssText) {
|
|
197
197
|
const ret = {};
|
|
198
198
|
cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
|
|
@@ -188,7 +188,7 @@ function normalizeStyle(value) {
|
|
|
188
188
|
}
|
|
189
189
|
const listDelimiterRE = /;(?![^(]*\))/g;
|
|
190
190
|
const propertyDelimiterRE = /:([^]+)/;
|
|
191
|
-
const styleCommentRE =
|
|
191
|
+
const styleCommentRE = /\/\*[^]*?\*\//g;
|
|
192
192
|
function parseStringStyle(cssText) {
|
|
193
193
|
const ret = {};
|
|
194
194
|
cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
|