@vue/shared-canary
Advanced tools
Comparing version 3.20230509.0 to 3.20230529.0
@@ -131,4 +131,4 @@ 'use strict'; | ||
const GLOBALS_WHITE_LISTED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console"; | ||
const isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED); | ||
const GLOBALS_ALLOWED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console"; | ||
const isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED); | ||
@@ -196,3 +196,3 @@ const range = 2; | ||
const propertyDelimiterRE = /:([^]+)/; | ||
const styleCommentRE = /\/\*.*?\*\//gs; | ||
const styleCommentRE = /\/\*[^]*?\*\//g; | ||
function parseStringStyle(cssText) { | ||
@@ -438,3 +438,3 @@ const ret = {}; | ||
exports.isFunction = isFunction; | ||
exports.isGloballyWhitelisted = isGloballyWhitelisted; | ||
exports.isGloballyAllowed = isGloballyAllowed; | ||
exports.isHTMLTag = isHTMLTag; | ||
@@ -441,0 +441,0 @@ exports.isIntegerKey = isIntegerKey; |
@@ -131,4 +131,4 @@ 'use strict'; | ||
const GLOBALS_WHITE_LISTED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console"; | ||
const isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED); | ||
const GLOBALS_ALLOWED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console"; | ||
const isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED); | ||
@@ -196,3 +196,3 @@ const range = 2; | ||
const propertyDelimiterRE = /:([^]+)/; | ||
const styleCommentRE = /\/\*.*?\*\//gs; | ||
const styleCommentRE = /\/\*[^]*?\*\//g; | ||
function parseStringStyle(cssText) { | ||
@@ -438,3 +438,3 @@ const ret = {}; | ||
exports.isFunction = isFunction; | ||
exports.isGloballyWhitelisted = isGloballyWhitelisted; | ||
exports.isGloballyAllowed = isGloballyAllowed; | ||
exports.isHTMLTag = isHTMLTag; | ||
@@ -441,0 +441,0 @@ exports.isIntegerKey = isIntegerKey; |
@@ -237,3 +237,3 @@ /** | ||
export declare const isGloballyWhitelisted: (key: string) => boolean; | ||
export declare const isGloballyAllowed: (key: string) => boolean; | ||
@@ -240,0 +240,0 @@ export declare function generateCodeFrame(source: string, start?: number, end?: number): string; |
@@ -10,4 +10,4 @@ function makeMap(str, expectsLowerCase) { | ||
const EMPTY_OBJ = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}; | ||
const EMPTY_ARR = process.env.NODE_ENV !== "production" ? Object.freeze([]) : []; | ||
const EMPTY_OBJ = !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {}; | ||
const EMPTY_ARR = !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : []; | ||
const NOOP = () => { | ||
@@ -128,4 +128,4 @@ }; | ||
const GLOBALS_WHITE_LISTED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console"; | ||
const isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED); | ||
const GLOBALS_ALLOWED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console"; | ||
const isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED); | ||
@@ -193,3 +193,3 @@ const range = 2; | ||
const propertyDelimiterRE = /:([^]+)/; | ||
const styleCommentRE = new RegExp("\\/\\*.*?\\*\\/", "gs"); | ||
const styleCommentRE = /\/\*[^]*?\*\//g; | ||
function parseStringStyle(cssText) { | ||
@@ -411,2 +411,2 @@ const ret = {}; | ||
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, 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, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyAllowed, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, 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 }; |
{ | ||
"name": "@vue/shared-canary", | ||
"version": "3.20230509.0", | ||
"version": "3.20230529.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
71199