@vue/shared 3.5.12 → 3.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/shared.cjs.js +3 -4
- package/dist/shared.cjs.prod.js +3 -4
- package/dist/shared.d.ts +1 -0
- package/dist/shared.esm-bundler.js +3 -4
- package/package.json +1 -1
package/dist/shared.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.14
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -284,10 +284,9 @@ function parseStringStyle(cssText) {
|
|
|
284
284
|
return ret;
|
|
285
285
|
}
|
|
286
286
|
function stringifyStyle(styles) {
|
|
287
|
+
if (!styles) return "";
|
|
288
|
+
if (isString(styles)) return styles;
|
|
287
289
|
let ret = "";
|
|
288
|
-
if (!styles || isString(styles)) {
|
|
289
|
-
return ret;
|
|
290
|
-
}
|
|
291
290
|
for (const key in styles) {
|
|
292
291
|
const value = styles[key];
|
|
293
292
|
if (isString(value) || typeof value === "number") {
|
package/dist/shared.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.14
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -284,10 +284,9 @@ function parseStringStyle(cssText) {
|
|
|
284
284
|
return ret;
|
|
285
285
|
}
|
|
286
286
|
function stringifyStyle(styles) {
|
|
287
|
+
if (!styles) return "";
|
|
288
|
+
if (isString(styles)) return styles;
|
|
287
289
|
let ret = "";
|
|
288
|
-
if (!styles || isString(styles)) {
|
|
289
|
-
return ret;
|
|
290
|
-
}
|
|
291
290
|
for (const key in styles) {
|
|
292
291
|
const value = styles[key];
|
|
293
292
|
if (isString(value) || typeof value === "number") {
|
package/dist/shared.d.ts
CHANGED
|
@@ -326,3 +326,4 @@ type OverloadProps<TOverload> = Pick<TOverload, keyof TOverload>;
|
|
|
326
326
|
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;
|
|
327
327
|
type OverloadUnion<TOverload extends (...args: any[]) => any> = Exclude<OverloadUnionRecursive<(() => never) & TOverload>, TOverload extends () => never ? never : () => never>;
|
|
328
328
|
|
|
329
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.14
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -280,10 +280,9 @@ function parseStringStyle(cssText) {
|
|
|
280
280
|
return ret;
|
|
281
281
|
}
|
|
282
282
|
function stringifyStyle(styles) {
|
|
283
|
+
if (!styles) return "";
|
|
284
|
+
if (isString(styles)) return styles;
|
|
283
285
|
let ret = "";
|
|
284
|
-
if (!styles || isString(styles)) {
|
|
285
|
-
return ret;
|
|
286
|
-
}
|
|
287
286
|
for (const key in styles) {
|
|
288
287
|
const value = styles[key];
|
|
289
288
|
if (isString(value) || typeof value === "number") {
|