Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/shared

Package Overview
Dependencies
Maintainers
14
Versions
229
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/shared - npm Package Compare versions

Comparing version 3.0.0-alpha.11 to 3.0.0-alpha.12

10

dist/shared.cjs.js

@@ -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;

4

dist/shared.d.ts

@@ -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 };

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc