@vue/shared 3.4.21 → 3.4.23
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 +8 -2
- package/dist/shared.cjs.prod.js +8 -2
- package/dist/shared.d.ts +1 -0
- package/dist/shared.esm-bundler.js +8 -2
- package/package.json +1 -1
package/dist/shared.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.4.
|
|
2
|
+
* @vue/shared v3.4.23
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
11
|
+
// @__NO_SIDE_EFFECTS__
|
|
10
12
|
function makeMap(str, expectsLowerCase) {
|
|
11
13
|
const set = new Set(str.split(","));
|
|
12
14
|
return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);
|
|
@@ -488,7 +490,11 @@ const replacer = (_key, val) => {
|
|
|
488
490
|
};
|
|
489
491
|
const stringifySymbol = (v, i = "") => {
|
|
490
492
|
var _a;
|
|
491
|
-
return
|
|
493
|
+
return (
|
|
494
|
+
// Symbol.description in es2019+ so we need to cast here to pass
|
|
495
|
+
// the lib: es2016 check
|
|
496
|
+
isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v
|
|
497
|
+
);
|
|
492
498
|
};
|
|
493
499
|
|
|
494
500
|
exports.EMPTY_ARR = EMPTY_ARR;
|
package/dist/shared.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.4.
|
|
2
|
+
* @vue/shared v3.4.23
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
11
|
+
// @__NO_SIDE_EFFECTS__
|
|
10
12
|
function makeMap(str, expectsLowerCase) {
|
|
11
13
|
const set = new Set(str.split(","));
|
|
12
14
|
return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);
|
|
@@ -488,7 +490,11 @@ const replacer = (_key, val) => {
|
|
|
488
490
|
};
|
|
489
491
|
const stringifySymbol = (v, i = "") => {
|
|
490
492
|
var _a;
|
|
491
|
-
return
|
|
493
|
+
return (
|
|
494
|
+
// Symbol.description in es2019+ so we need to cast here to pass
|
|
495
|
+
// the lib: es2016 check
|
|
496
|
+
isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v
|
|
497
|
+
);
|
|
492
498
|
};
|
|
493
499
|
|
|
494
500
|
exports.EMPTY_ARR = EMPTY_ARR;
|
package/dist/shared.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.4.
|
|
2
|
+
* @vue/shared v3.4.23
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
6
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
7
|
+
// @__NO_SIDE_EFFECTS__
|
|
6
8
|
function makeMap(str, expectsLowerCase) {
|
|
7
9
|
const set = new Set(str.split(","));
|
|
8
10
|
return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);
|
|
@@ -484,7 +486,11 @@ const replacer = (_key, val) => {
|
|
|
484
486
|
};
|
|
485
487
|
const stringifySymbol = (v, i = "") => {
|
|
486
488
|
var _a;
|
|
487
|
-
return
|
|
489
|
+
return (
|
|
490
|
+
// Symbol.description in es2019+ so we need to cast here to pass
|
|
491
|
+
// the lib: es2016 check
|
|
492
|
+
isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v
|
|
493
|
+
);
|
|
488
494
|
};
|
|
489
495
|
|
|
490
496
|
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyAllowed, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, isMathMLTag, isModelListener, isObject, isOn, isPlainObject, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };
|