@vue/shared
Advanced tools
Comparing version 3.4.14 to 3.4.15
/** | ||
* @vue/shared v3.4.14 | ||
* @vue/shared v3.4.15 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -358,2 +358,9 @@ * @license MIT | ||
); | ||
function isRenderableAttrValue(value) { | ||
if (value == null) { | ||
return false; | ||
} | ||
const type = typeof value; | ||
return type === "string" || type === "number" || type === "boolean"; | ||
} | ||
@@ -529,2 +536,3 @@ const escapeRE = /["'&<>]/; | ||
exports.isRegExp = isRegExp; | ||
exports.isRenderableAttrValue = isRenderableAttrValue; | ||
exports.isReservedProp = isReservedProp; | ||
@@ -531,0 +539,0 @@ exports.isSSRSafeAttrName = isSSRSafeAttrName; |
/** | ||
* @vue/shared v3.4.14 | ||
* @vue/shared v3.4.15 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -358,2 +358,9 @@ * @license MIT | ||
); | ||
function isRenderableAttrValue(value) { | ||
if (value == null) { | ||
return false; | ||
} | ||
const type = typeof value; | ||
return type === "string" || type === "number" || type === "boolean"; | ||
} | ||
@@ -529,2 +536,3 @@ const escapeRE = /["'&<>]/; | ||
exports.isRegExp = isRegExp; | ||
exports.isRenderableAttrValue = isRenderableAttrValue; | ||
exports.isReservedProp = isReservedProp; | ||
@@ -531,0 +539,0 @@ exports.isSSRSafeAttrName = isSSRSafeAttrName; |
@@ -295,2 +295,6 @@ /** | ||
export declare const isKnownSvgAttr: (key: string) => boolean; | ||
/** | ||
* Shared between server-renderer and runtime-core hydration logic | ||
*/ | ||
export declare function isRenderableAttrValue(value: unknown): boolean; | ||
@@ -297,0 +301,0 @@ export declare function escapeHtml(string: unknown): string; |
/** | ||
* @vue/shared v3.4.14 | ||
* @vue/shared v3.4.15 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -354,2 +354,9 @@ * @license MIT | ||
); | ||
function isRenderableAttrValue(value) { | ||
if (value == null) { | ||
return false; | ||
} | ||
const type = typeof value; | ||
return type === "string" || type === "number" || type === "boolean"; | ||
} | ||
@@ -484,2 +491,2 @@ const escapeRE = /["'&<>]/; | ||
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, 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 }; | ||
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 }; |
{ | ||
"name": "@vue/shared", | ||
"version": "3.4.14", | ||
"version": "3.4.15", | ||
"description": "internal utils shared across @vue packages", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79995
1941