@vue/shared
Advanced tools
Comparing version 3.0.0-alpha.11 to 3.0.0-alpha.12
@@ -442,2 +442,10 @@ 'use strict'; | ||
}; | ||
const invokeArrayFns = (fns, arg) => { | ||
for (let i = 0; i < fns.length; i++) { | ||
fns[i](arg); | ||
} | ||
}; | ||
const def = (obj, key, value) => { | ||
Object.defineProperty(obj, key, { value }); | ||
}; | ||
@@ -451,2 +459,3 @@ exports.EMPTY_ARR = EMPTY_ARR; | ||
exports.capitalize = capitalize; | ||
exports.def = def; | ||
exports.escapeHtml = escapeHtml; | ||
@@ -458,2 +467,3 @@ exports.extend = extend; | ||
exports.hyphenate = hyphenate; | ||
exports.invokeArrayFns = invokeArrayFns; | ||
exports.isArray = isArray; | ||
@@ -460,0 +470,0 @@ exports.isBooleanAttr = isBooleanAttr; |
@@ -441,2 +441,10 @@ 'use strict'; | ||
}; | ||
const invokeArrayFns = (fns, arg) => { | ||
for (let i = 0; i < fns.length; i++) { | ||
fns[i](arg); | ||
} | ||
}; | ||
const def = (obj, key, value) => { | ||
Object.defineProperty(obj, key, { value }); | ||
}; | ||
@@ -450,2 +458,3 @@ exports.EMPTY_ARR = EMPTY_ARR; | ||
exports.capitalize = capitalize; | ||
exports.def = def; | ||
exports.escapeHtml = escapeHtml; | ||
@@ -457,2 +466,3 @@ exports.extend = extend; | ||
exports.hyphenate = hyphenate; | ||
exports.invokeArrayFns = invokeArrayFns; | ||
exports.isArray = isArray; | ||
@@ -459,0 +469,0 @@ exports.isBooleanAttr = isBooleanAttr; |
@@ -6,2 +6,4 @@ | ||
export declare const def: (obj: object, key: string | symbol, value: any) => void; | ||
export declare const EMPTY_ARR: []; | ||
@@ -25,2 +27,4 @@ | ||
export declare const invokeArrayFns: (fns: Function[], arg?: any) => void; | ||
export declare const isArray: (arg: any) => arg is any[]; | ||
@@ -27,0 +31,0 @@ |
@@ -439,3 +439,11 @@ // Make a map and return a function for checking if a key | ||
}; | ||
const invokeArrayFns = (fns, arg) => { | ||
for (let i = 0; i < fns.length; i++) { | ||
fns[i](arg); | ||
} | ||
}; | ||
const def = (obj, key, value) => { | ||
Object.defineProperty(obj, key, { value }); | ||
}; | ||
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, escapeHtml, extend, generateCodeFrame, hasChanged, hasOwn, hyphenate, isArray, isBooleanAttr, isFunction, isGloballyWhitelisted, isHTMLTag, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, mockError, mockWarn, normalizeClass, normalizeStyle, objectToString, propsToAttrMap, remove, stringifyStyle, toDisplayString, toRawType, toTypeString }; | ||
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, extend, generateCodeFrame, hasChanged, hasOwn, hyphenate, invokeArrayFns, isArray, isBooleanAttr, isFunction, isGloballyWhitelisted, isHTMLTag, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, mockError, mockWarn, normalizeClass, normalizeStyle, objectToString, propsToAttrMap, remove, stringifyStyle, toDisplayString, toRawType, toTypeString }; |
{ | ||
"name": "@vue/shared", | ||
"version": "3.0.0-alpha.11", | ||
"version": "3.0.0-alpha.12", | ||
"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
59294
1492