@vue/shared
Advanced tools
Comparing version 3.5.0-rc.1 to 3.5.0
/** | ||
* @vue/shared v3.5.0-rc.1 | ||
* @vue/shared v3.5.0 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -417,2 +417,9 @@ * @license MIT | ||
} | ||
const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g; | ||
function getEscapedCssVarName(key, doubleEscape) { | ||
return key.replace( | ||
cssVarNameEscapeSymbolsRE, | ||
(s) => doubleEscape ? s === '"' ? '\\\\\\"' : `\\\\${s}` : `\\${s}` | ||
); | ||
} | ||
@@ -518,2 +525,3 @@ function looseCompareArrays(a, b) { | ||
exports.capitalize = capitalize; | ||
exports.cssVarNameEscapeSymbolsRE = cssVarNameEscapeSymbolsRE; | ||
exports.def = def; | ||
@@ -525,2 +533,3 @@ exports.escapeHtml = escapeHtml; | ||
exports.generateCodeFrame = generateCodeFrame; | ||
exports.getEscapedCssVarName = getEscapedCssVarName; | ||
exports.getGlobalThis = getGlobalThis; | ||
@@ -527,0 +536,0 @@ exports.hasChanged = hasChanged; |
/** | ||
* @vue/shared v3.5.0-rc.1 | ||
* @vue/shared v3.5.0 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -417,2 +417,9 @@ * @license MIT | ||
} | ||
const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g; | ||
function getEscapedCssVarName(key, doubleEscape) { | ||
return key.replace( | ||
cssVarNameEscapeSymbolsRE, | ||
(s) => doubleEscape ? s === '"' ? '\\\\\\"' : `\\\\${s}` : `\\${s}` | ||
); | ||
} | ||
@@ -518,2 +525,3 @@ function looseCompareArrays(a, b) { | ||
exports.capitalize = capitalize; | ||
exports.cssVarNameEscapeSymbolsRE = cssVarNameEscapeSymbolsRE; | ||
exports.def = def; | ||
@@ -525,2 +533,3 @@ exports.escapeHtml = escapeHtml; | ||
exports.generateCodeFrame = generateCodeFrame; | ||
exports.getEscapedCssVarName = getEscapedCssVarName; | ||
exports.getGlobalThis = getGlobalThis; | ||
@@ -527,0 +536,0 @@ exports.hasChanged = hasChanged; |
@@ -294,2 +294,4 @@ /** | ||
export declare function escapeHtmlComment(src: string): string; | ||
export declare const cssVarNameEscapeSymbolsRE: RegExp; | ||
export declare function getEscapedCssVarName(key: string, doubleEscape: boolean): string; | ||
@@ -296,0 +298,0 @@ export declare function looseEqual(a: any, b: any): boolean; |
/** | ||
* @vue/shared v3.5.0-rc.1 | ||
* @vue/shared v3.5.0 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -413,2 +413,9 @@ * @license MIT | ||
} | ||
const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g; | ||
function getEscapedCssVarName(key, doubleEscape) { | ||
return key.replace( | ||
cssVarNameEscapeSymbolsRE, | ||
(s) => doubleEscape ? s === '"' ? '\\\\\\"' : `\\\\${s}` : `\\${s}` | ||
); | ||
} | ||
@@ -504,2 +511,2 @@ function looseCompareArrays(a, b) { | ||
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 }; | ||
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, camelize, capitalize, cssVarNameEscapeSymbolsRE, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getEscapedCssVarName, 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.5.0-rc.1", | ||
"version": "3.5.0", | ||
"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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
83182
2008
0