@vue/shared 3.3.9 → 3.3.10
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
|
@@ -16,8 +16,8 @@ const EMPTY_ARR = Object.freeze([]) ;
|
|
|
16
16
|
const NOOP = () => {
|
|
17
17
|
};
|
|
18
18
|
const NO = () => false;
|
|
19
|
-
const
|
|
20
|
-
|
|
19
|
+
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter
|
|
20
|
+
(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);
|
|
21
21
|
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
22
22
|
const extend = Object.assign;
|
|
23
23
|
const remove = (arr, el) => {
|
package/dist/shared.cjs.prod.js
CHANGED
|
@@ -16,8 +16,8 @@ const EMPTY_ARR = [];
|
|
|
16
16
|
const NOOP = () => {
|
|
17
17
|
};
|
|
18
18
|
const NO = () => false;
|
|
19
|
-
const
|
|
20
|
-
|
|
19
|
+
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter
|
|
20
|
+
(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);
|
|
21
21
|
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
22
22
|
const extend = Object.assign;
|
|
23
23
|
const remove = (arr, el) => {
|
|
@@ -12,8 +12,8 @@ const EMPTY_ARR = !!(process.env.NODE_ENV !== "production") ? Object.freeze([])
|
|
|
12
12
|
const NOOP = () => {
|
|
13
13
|
};
|
|
14
14
|
const NO = () => false;
|
|
15
|
-
const
|
|
16
|
-
|
|
15
|
+
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter
|
|
16
|
+
(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);
|
|
17
17
|
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
18
18
|
const extend = Object.assign;
|
|
19
19
|
const remove = (arr, el) => {
|