@cabloy/vue-runtime-core 3.4.22 → 3.4.24
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/runtime-core.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue
|
|
2
|
+
* @cabloy/vue-runtime-core v3.4.21
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -661,9 +661,11 @@ function emit(instance, event, ...rawArgs) {
|
|
|
661
661
|
if (emitsOptions) {
|
|
662
662
|
if (!(event in emitsOptions) && true) {
|
|
663
663
|
if (!propsOptions || !(shared.toHandlerKey(event) in propsOptions)) {
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
664
|
+
if (event !== "motherRef") {
|
|
665
|
+
warn$1(
|
|
666
|
+
`Component emitted event "${event}" but it is neither declared in the emits option nor as an "${shared.toHandlerKey(event)}" prop.`
|
|
667
|
+
);
|
|
668
|
+
}
|
|
667
669
|
}
|
|
668
670
|
} else {
|
|
669
671
|
const validator = emitsOptions[event];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue
|
|
2
|
+
* @cabloy/vue-runtime-core v3.4.21
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -663,9 +663,11 @@ function emit(instance, event, ...rawArgs) {
|
|
|
663
663
|
if (emitsOptions) {
|
|
664
664
|
if (!(event in emitsOptions) && true) {
|
|
665
665
|
if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
666
|
+
if (event !== "motherRef") {
|
|
667
|
+
warn$1(
|
|
668
|
+
`Component emitted event "${event}" but it is neither declared in the emits option nor as an "${toHandlerKey(event)}" prop.`
|
|
669
|
+
);
|
|
670
|
+
}
|
|
669
671
|
}
|
|
670
672
|
} else {
|
|
671
673
|
const validator = emitsOptions[event];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabloy/vue-runtime-core",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.24",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@vue/
|
|
50
|
-
"@vue/
|
|
49
|
+
"@vue/shared": "3.4.23",
|
|
50
|
+
"@vue/reactivity": "3.4.23"
|
|
51
51
|
}
|
|
52
52
|
}
|