@vue/shared 3.3.1 → 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.
@@ -192,7 +192,7 @@ function normalizeStyle(value) {
192
192
  }
193
193
  const listDelimiterRE = /;(?![^(]*\))/g;
194
194
  const propertyDelimiterRE = /:([^]+)/;
195
- const styleCommentRE = /\/\*.*?\*\//gs;
195
+ const styleCommentRE = /\/\*[^]*?\*\//g;
196
196
  function parseStringStyle(cssText) {
197
197
  const ret = {};
198
198
  cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
@@ -192,7 +192,7 @@ function normalizeStyle(value) {
192
192
  }
193
193
  const listDelimiterRE = /;(?![^(]*\))/g;
194
194
  const propertyDelimiterRE = /:([^]+)/;
195
- const styleCommentRE = /\/\*.*?\*\//gs;
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 = new RegExp("\\/\\*.*?\\*\\/", "gs");
191
+ const styleCommentRE = /\/\*[^]*?\*\//g;
192
192
  function parseStringStyle(cssText) {
193
193
  const ret = {};
194
194
  cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/shared",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "description": "internal utils shared across @vue packages",
5
5
  "main": "index.js",
6
6
  "module": "dist/shared.esm-bundler.js",