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

@vue/shared-canary

Package Overview
Dependencies
Maintainers
10
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/shared-canary - npm Package Compare versions

Comparing version 3.20230703.0 to 3.20230710.0

13

dist/shared.cjs.js

@@ -72,8 +72,9 @@ 'use strict';

);
const capitalize = cacheStringFunction(
(str) => str.charAt(0).toUpperCase() + str.slice(1)
);
const toHandlerKey = cacheStringFunction(
(str) => str ? `on${capitalize(str)}` : ``
);
const capitalize = cacheStringFunction((str) => {
return str.charAt(0).toUpperCase() + str.slice(1);
});
const toHandlerKey = cacheStringFunction((str) => {
const s = str ? `on${capitalize(str)}` : ``;
return s;
});
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);

@@ -80,0 +81,0 @@ const invokeArrayFns = (fns, arg) => {

@@ -72,8 +72,9 @@ 'use strict';

);
const capitalize = cacheStringFunction(
(str) => str.charAt(0).toUpperCase() + str.slice(1)
);
const toHandlerKey = cacheStringFunction(
(str) => str ? `on${capitalize(str)}` : ``
);
const capitalize = cacheStringFunction((str) => {
return str.charAt(0).toUpperCase() + str.slice(1);
});
const toHandlerKey = cacheStringFunction((str) => {
const s = str ? `on${capitalize(str)}` : ``;
return s;
});
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);

@@ -80,0 +81,0 @@ const invokeArrayFns = (fns, arg) => {

@@ -57,7 +57,7 @@ /**

*/
export declare const capitalize: (str: string) => string;
export declare const capitalize: <T extends string>(str: T) => Capitalize<T>;
/**
* @private
*/
export declare const toHandlerKey: (str: string) => string;
export declare const toHandlerKey: <T extends string>(str: T) => T extends "" ? "" : `on${Capitalize<T>}`;
export declare const hasChanged: (value: any, oldValue: any) => boolean;

@@ -64,0 +64,0 @@ export declare const invokeArrayFns: (fns: Function[], arg?: any) => void;

@@ -68,8 +68,9 @@ function makeMap(str, expectsLowerCase) {

);
const capitalize = cacheStringFunction(
(str) => str.charAt(0).toUpperCase() + str.slice(1)
);
const toHandlerKey = cacheStringFunction(
(str) => str ? `on${capitalize(str)}` : ``
);
const capitalize = cacheStringFunction((str) => {
return str.charAt(0).toUpperCase() + str.slice(1);
});
const toHandlerKey = cacheStringFunction((str) => {
const s = str ? `on${capitalize(str)}` : ``;
return s;
});
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);

@@ -76,0 +77,0 @@ const invokeArrayFns = (fns, arg) => {

{
"name": "@vue/shared-canary",
"version": "3.20230703.0",
"version": "3.20230710.0",
"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