Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@vue/runtime-dom

Package Overview
Dependencies
Maintainers
1
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/runtime-dom - npm Package Compare versions

Comparing version
3.6.0-beta.12
to
3.6.0-beta.13
+16
-12
dist/runtime-dom.cjs.js
/**
* @vue/runtime-dom v3.6.0-beta.12
* @vue/runtime-dom v3.6.0-beta.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -525,3 +525,17 @@ * @license MIT

else if (e._vts <= invoker.attached) return;
(0, _vue_runtime_core.callWithAsyncErrorHandling)(patchStopImmediatePropagation(e, invoker.value), instance, 5, [e]);
const value = invoker.value;
if ((0, _vue_shared.isArray)(value)) {
const originalStop = e.stopImmediatePropagation;
e.stopImmediatePropagation = () => {
originalStop.call(e);
e._stopped = true;
};
const handlers = value.slice();
const args = [e];
for (let i = 0; i < handlers.length; i++) {
if (e._stopped) break;
const handler = handlers[i];
if (handler) (0, _vue_runtime_core.callWithAsyncErrorHandling)(handler, instance, 5, args);
}
} else (0, _vue_runtime_core.callWithAsyncErrorHandling)(value, instance, 5, [e]);
};

@@ -537,12 +551,2 @@ invoker.value = initialValue;

}
function patchStopImmediatePropagation(e, value) {
if ((0, _vue_shared.isArray)(value)) {
const originalStop = e.stopImmediatePropagation;
e.stopImmediatePropagation = () => {
originalStop.call(e);
e._stopped = true;
};
return value.map((fn) => (e) => !e._stopped && fn && fn(e));
} else return value;
}
//#endregion

@@ -549,0 +553,0 @@ //#region packages/runtime-dom/src/patchProp.ts

/**
* @vue/runtime-dom v3.6.0-beta.12
* @vue/runtime-dom v3.6.0-beta.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -517,3 +517,17 @@ * @license MIT

else if (e._vts <= invoker.attached) return;
(0, _vue_runtime_core.callWithAsyncErrorHandling)(patchStopImmediatePropagation(e, invoker.value), instance, 5, [e]);
const value = invoker.value;
if ((0, _vue_shared.isArray)(value)) {
const originalStop = e.stopImmediatePropagation;
e.stopImmediatePropagation = () => {
originalStop.call(e);
e._stopped = true;
};
const handlers = value.slice();
const args = [e];
for (let i = 0; i < handlers.length; i++) {
if (e._stopped) break;
const handler = handlers[i];
if (handler) (0, _vue_runtime_core.callWithAsyncErrorHandling)(handler, instance, 5, args);
}
} else (0, _vue_runtime_core.callWithAsyncErrorHandling)(value, instance, 5, [e]);
};

@@ -524,12 +538,2 @@ invoker.value = initialValue;

}
function patchStopImmediatePropagation(e, value) {
if ((0, _vue_shared.isArray)(value)) {
const originalStop = e.stopImmediatePropagation;
e.stopImmediatePropagation = () => {
originalStop.call(e);
e._stopped = true;
};
return value.map((fn) => (e) => !e._stopped && fn && fn(e));
} else return value;
}
//#endregion

@@ -536,0 +540,0 @@ //#region packages/runtime-dom/src/patchProp.ts

/**
* @vue/runtime-dom v3.6.0-beta.12
* @vue/runtime-dom v3.6.0-beta.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -601,3 +601,17 @@ * @license MIT

else if (e._vts <= invoker.attached) return;
callWithAsyncErrorHandling(patchStopImmediatePropagation(e, invoker.value), instance, 5, [e]);
const value = invoker.value;
if (isArray(value)) {
const originalStop = e.stopImmediatePropagation;
e.stopImmediatePropagation = () => {
originalStop.call(e);
e._stopped = true;
};
const handlers = value.slice();
const args = [e];
for (let i = 0; i < handlers.length; i++) {
if (e._stopped) break;
const handler = handlers[i];
if (handler) callWithAsyncErrorHandling(handler, instance, 5, args);
}
} else callWithAsyncErrorHandling(value, instance, 5, [e]);
};

@@ -613,12 +627,2 @@ invoker.value = initialValue;

}
function patchStopImmediatePropagation(e, value) {
if (isArray(value)) {
const originalStop = e.stopImmediatePropagation;
e.stopImmediatePropagation = () => {
originalStop.call(e);
e._stopped = true;
};
return value.map((fn) => (e) => !e._stopped && fn && fn(e));
} else return value;
}
//#endregion

@@ -625,0 +629,0 @@ //#region packages/runtime-dom/src/patchProp.ts

{
"name": "@vue/runtime-dom",
"version": "3.6.0-beta.12",
"version": "3.6.0-beta.13",
"description": "@vue/runtime-dom",

@@ -53,5 +53,5 @@ "main": "index.js",

"csstype": "^3.2.3",
"@vue/runtime-core": "3.6.0-beta.12",
"@vue/reactivity": "3.6.0-beta.12",
"@vue/shared": "3.6.0-beta.12"
"@vue/shared": "3.6.0-beta.13",
"@vue/runtime-core": "3.6.0-beta.13",
"@vue/reactivity": "3.6.0-beta.13"
},

@@ -58,0 +58,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display