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-alpha.8 to 3.0.0-alpha.9

6

dist/shared.cjs.js

@@ -80,3 +80,4 @@ 'use strict';

function mockWarn() {
const mockError = () => mockWarn(true);
function mockWarn(asError = false) {
expect.extend({

@@ -143,3 +144,3 @@ toHaveBeenWarned(received) {

asserted.clear();
warn = jest.spyOn(console, 'warn');
warn = jest.spyOn(console, asError ? 'error' : 'warn');
warn.mockImplementation(() => { });

@@ -477,2 +478,3 @@ });

exports.makeMap = makeMap;
exports.mockError = mockError;
exports.mockWarn = mockWarn;

@@ -479,0 +481,0 @@ exports.normalizeClass = normalizeClass;

@@ -80,3 +80,4 @@ 'use strict';

function mockWarn() {
const mockError = () => mockWarn(true);
function mockWarn(asError = false) {
expect.extend({

@@ -143,3 +144,3 @@ toHaveBeenWarned(received) {

asserted.clear();
warn = jest.spyOn(console, 'warn');
warn = jest.spyOn(console, asError ? 'error' : 'warn');
warn.mockImplementation(() => { });

@@ -476,2 +477,3 @@ });

exports.makeMap = makeMap;
exports.mockError = mockError;
exports.mockWarn = mockWarn;

@@ -478,0 +480,0 @@ exports.normalizeClass = normalizeClass;

@@ -64,4 +64,6 @@

export declare function mockWarn(): void;
export declare const mockError: () => void;
export declare function mockWarn(asError?: boolean): void;
/**

@@ -68,0 +70,0 @@ * Always return false.

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

function mockWarn() {
const mockError = () => mockWarn(true);
function mockWarn(asError = false) {
expect.extend({

@@ -139,3 +140,3 @@ toHaveBeenWarned(received) {

asserted.clear();
warn = jest.spyOn(console, 'warn');
warn = jest.spyOn(console, asError ? 'error' : 'warn');
warn.mockImplementation(() => { });

@@ -441,2 +442,2 @@ });

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, mockWarn, normalizeClass, normalizeStyle, objectToString, propsToAttrMap, remove, stringifyStyle, toDisplayString, toRawType, toTypeString };
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 };
{
"name": "@vue/shared",
"version": "3.0.0-alpha.8",
"version": "3.0.0-alpha.9",
"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