@vue/shared
Advanced tools
Comparing version 3.4.25 to 3.4.26
/** | ||
* @vue/shared v3.4.25 | ||
* @vue/shared v3.4.26 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -88,6 +88,7 @@ * @license MIT | ||
}; | ||
const def = (obj, key, value) => { | ||
const def = (obj, key, value, writable = false) => { | ||
Object.defineProperty(obj, key, { | ||
configurable: true, | ||
enumerable: false, | ||
writable, | ||
value | ||
@@ -94,0 +95,0 @@ }); |
/** | ||
* @vue/shared v3.4.25 | ||
* @vue/shared v3.4.26 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -88,6 +88,7 @@ * @license MIT | ||
}; | ||
const def = (obj, key, value) => { | ||
const def = (obj, key, value, writable = false) => { | ||
Object.defineProperty(obj, key, { | ||
configurable: true, | ||
enumerable: false, | ||
writable, | ||
value | ||
@@ -94,0 +95,0 @@ }); |
@@ -65,3 +65,3 @@ /** | ||
export declare const invokeArrayFns: (fns: Function[], arg?: any) => void; | ||
export declare const def: (obj: object, key: string | symbol, value: any) => void; | ||
export declare const def: (obj: object, key: string | symbol, value: any, writable?: boolean) => void; | ||
/** | ||
@@ -68,0 +68,0 @@ * "123-foo" will be parsed to 123 |
/** | ||
* @vue/shared v3.4.25 | ||
* @vue/shared v3.4.26 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -84,6 +84,7 @@ * @license MIT | ||
}; | ||
const def = (obj, key, value) => { | ||
const def = (obj, key, value, writable = false) => { | ||
Object.defineProperty(obj, key, { | ||
configurable: true, | ||
enumerable: false, | ||
writable, | ||
value | ||
@@ -90,0 +91,0 @@ }); |
{ | ||
"name": "@vue/shared", | ||
"version": "3.4.25", | ||
"version": "3.4.26", | ||
"description": "internal utils shared across @vue packages", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80619
1963