@vue/shared 3.5.39 → 3.5.40
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.40
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -418,9 +418,14 @@ function escapeHtml(string) {
|
|
|
418
418
|
}
|
|
419
419
|
return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
|
|
420
420
|
}
|
|
421
|
-
const commentStripRE =
|
|
421
|
+
const commentStripRE = /^(?:-?>)+|<!--|-->|--!>|<!-$/g;
|
|
422
422
|
function escapeHtmlComment(src) {
|
|
423
|
-
|
|
423
|
+
let prev;
|
|
424
|
+
do {
|
|
425
|
+
prev = src;
|
|
426
|
+
src = src.replace(commentStripRE, "");
|
|
427
|
+
} while (src !== prev);
|
|
428
|
+
return src;
|
|
424
429
|
}
|
|
425
430
|
const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
|
|
426
431
|
function getEscapedCssVarName(key, doubleEscape) {
|
package/dist/shared.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.40
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -418,9 +418,14 @@ function escapeHtml(string) {
|
|
|
418
418
|
}
|
|
419
419
|
return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
|
|
420
420
|
}
|
|
421
|
-
const commentStripRE =
|
|
421
|
+
const commentStripRE = /^(?:-?>)+|<!--|-->|--!>|<!-$/g;
|
|
422
422
|
function escapeHtmlComment(src) {
|
|
423
|
-
|
|
423
|
+
let prev;
|
|
424
|
+
do {
|
|
425
|
+
prev = src;
|
|
426
|
+
src = src.replace(commentStripRE, "");
|
|
427
|
+
} while (src !== prev);
|
|
428
|
+
return src;
|
|
424
429
|
}
|
|
425
430
|
const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
|
|
426
431
|
function getEscapedCssVarName(key, doubleEscape) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.40
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -414,9 +414,14 @@ function escapeHtml(string) {
|
|
|
414
414
|
}
|
|
415
415
|
return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
|
|
416
416
|
}
|
|
417
|
-
const commentStripRE =
|
|
417
|
+
const commentStripRE = /^(?:-?>)+|<!--|-->|--!>|<!-$/g;
|
|
418
418
|
function escapeHtmlComment(src) {
|
|
419
|
-
|
|
419
|
+
let prev;
|
|
420
|
+
do {
|
|
421
|
+
prev = src;
|
|
422
|
+
src = src.replace(commentStripRE, "");
|
|
423
|
+
} while (src !== prev);
|
|
424
|
+
return src;
|
|
420
425
|
}
|
|
421
426
|
const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
|
|
422
427
|
function getEscapedCssVarName(key, doubleEscape) {
|