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.20240513.0 to 3.20240513.1-minor.0

4

dist/shared.cjs.js
/**
* @vue/shared-canary v3.20240513.0
* @vue/shared-canary v3.20240513.1-minor.0
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -280,4 +280,4 @@ * @license MIT

const value = styles[key];
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
if (isString(value) || typeof value === "number") {
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
ret += `${normalizedKey}:${value};`;

@@ -284,0 +284,0 @@ }

/**
* @vue/shared-canary v3.20240513.0
* @vue/shared-canary v3.20240513.1-minor.0
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -280,4 +280,4 @@ * @license MIT

const value = styles[key];
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
if (isString(value) || typeof value === "number") {
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
ret += `${normalizedKey}:${value};`;

@@ -284,0 +284,0 @@ }

@@ -324,2 +324,10 @@ /**

} ? F extends (value: infer V, ...args: infer _) => any ? Awaited<V> : never : T;
/**
* Utility for extracting the parameters from a function overload (for typed emits)
* https://github.com/microsoft/TypeScript/issues/32164#issuecomment-1146737709
*/
export type OverloadParameters<T extends (...args: any[]) => any> = Parameters<OverloadUnion<T>>;
type OverloadProps<TOverload> = Pick<TOverload, keyof TOverload>;
type OverloadUnionRecursive<TOverload, TPartialOverload = unknown> = TOverload extends (...args: infer TArgs) => infer TReturn ? TPartialOverload extends TOverload ? never : OverloadUnionRecursive<TPartialOverload & TOverload, TPartialOverload & ((...args: TArgs) => TReturn) & OverloadProps<TOverload>> | ((...args: TArgs) => TReturn) : never;
type OverloadUnion<TOverload extends (...args: any[]) => any> = Exclude<OverloadUnionRecursive<(() => never) & TOverload>, TOverload extends () => never ? never : () => never>;
/**
* @vue/shared-canary v3.20240513.0
* @vue/shared-canary v3.20240513.1-minor.0
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -276,4 +276,4 @@ * @license MIT

const value = styles[key];
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
if (isString(value) || typeof value === "number") {
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
ret += `${normalizedKey}:${value};`;

@@ -280,0 +280,0 @@ }

{
"name": "@vue/shared-canary",
"version": "3.20240513.0",
"version": "3.20240513.1-minor.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