@vue/shared 3.5.18 → 3.5.20
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.20
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -60,10 +60,10 @@ const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
|
60
60
|
);
|
|
61
61
|
const cacheStringFunction = (fn) => {
|
|
62
62
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
63
|
-
return (str) => {
|
|
63
|
+
return ((str) => {
|
|
64
64
|
const hit = cache[str];
|
|
65
65
|
return hit || (cache[str] = fn(str));
|
|
66
|
-
};
|
|
66
|
+
});
|
|
67
67
|
};
|
|
68
68
|
const camelizeRE = /-(\w)/g;
|
|
69
69
|
const camelize = cacheStringFunction(
|
package/dist/shared.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.20
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -60,10 +60,10 @@ const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
|
60
60
|
);
|
|
61
61
|
const cacheStringFunction = (fn) => {
|
|
62
62
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
63
|
-
return (str) => {
|
|
63
|
+
return ((str) => {
|
|
64
64
|
const hit = cache[str];
|
|
65
65
|
return hit || (cache[str] = fn(str));
|
|
66
|
-
};
|
|
66
|
+
});
|
|
67
67
|
};
|
|
68
68
|
const camelizeRE = /-(\w)/g;
|
|
69
69
|
const camelize = cacheStringFunction(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.20
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -56,10 +56,10 @@ const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
|
56
56
|
);
|
|
57
57
|
const cacheStringFunction = (fn) => {
|
|
58
58
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
59
|
-
return (str) => {
|
|
59
|
+
return ((str) => {
|
|
60
60
|
const hit = cache[str];
|
|
61
61
|
return hit || (cache[str] = fn(str));
|
|
62
|
-
};
|
|
62
|
+
});
|
|
63
63
|
};
|
|
64
64
|
const camelizeRE = /-(\w)/g;
|
|
65
65
|
const camelize = cacheStringFunction(
|