Socket
Socket
Sign inDemoInstall

@vue/shared

Package Overview
Dependencies
Maintainers
14
Versions
227
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-beta.13 to 3.0.0-beta.14

5

dist/shared.cjs.js

@@ -519,2 +519,6 @@ 'use strict';

};
const toNumber = (val) => {
const n = parseFloat(val);
return isNaN(n) ? val : n;
};

@@ -568,3 +572,4 @@ exports.EMPTY_ARR = EMPTY_ARR;

exports.toDisplayString = toDisplayString;
exports.toNumber = toNumber;
exports.toRawType = toRawType;
exports.toTypeString = toTypeString;

@@ -518,2 +518,6 @@ 'use strict';

};
const toNumber = (val) => {
const n = parseFloat(val);
return isNaN(n) ? val : n;
};

@@ -567,3 +571,4 @@ exports.EMPTY_ARR = EMPTY_ARR;

exports.toDisplayString = toDisplayString;
exports.toNumber = toNumber;
exports.toRawType = toRawType;
exports.toTypeString = toTypeString;

2

dist/shared.d.ts

@@ -147,2 +147,4 @@

export declare const toNumber: (val: any) => any;
export declare const toRawType: (value: unknown) => string;

@@ -149,0 +151,0 @@

@@ -516,3 +516,7 @@ // Make a map and return a function for checking if a key

};
const toNumber = (val) => {
const n = parseFloat(val);
return isNaN(n) ? val : n;
};
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, generateCodeFrame, hasChanged, hasOwn, hyphenate, invokeArrayFns, isArray, isBooleanAttr, isFunction, isGloballyWhitelisted, isHTMLTag, isKnownAttr, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, mockError, mockWarn, normalizeClass, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, stringifyStyle, toDisplayString, toRawType, toTypeString };
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, generateCodeFrame, hasChanged, hasOwn, hyphenate, invokeArrayFns, isArray, isBooleanAttr, isFunction, isGloballyWhitelisted, isHTMLTag, isKnownAttr, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, mockError, mockWarn, normalizeClass, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, stringifyStyle, toDisplayString, toNumber, toRawType, toTypeString };

2

package.json
{
"name": "@vue/shared",
"version": "3.0.0-beta.13",
"version": "3.0.0-beta.14",
"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