nuxt4, and some changes on packages

This commit is contained in:
2025-08-19 21:38:30 +03:30
parent 61fee6c3da
commit 5b6f1a1cdf
900 changed files with 11139 additions and 15161 deletions
+21 -15
View File
@@ -1,5 +1,5 @@
/**
* @vue/runtime-dom v3.5.14
* @vue/runtime-dom v3.5.18
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
@@ -786,13 +786,10 @@ class VueElement extends BaseClass {
this._root = this;
}
}
if (!this._def.__asyncLoader) {
this._resolveProps(this._def);
}
}
connectedCallback() {
if (!this.isConnected) return;
if (!this.shadowRoot) {
if (!this.shadowRoot && !this._resolved) {
this._parseSlots();
}
this._connected = true;
@@ -805,8 +802,7 @@ class VueElement extends BaseClass {
}
if (!this._instance) {
if (this._resolved) {
this._setParent();
this._update();
this._mount(this._def);
} else {
if (parent && parent._pendingResolve) {
this._pendingResolve = parent._pendingResolve.then(() => {
@@ -822,7 +818,15 @@ class VueElement extends BaseClass {
_setParent(parent = this._parent) {
if (parent) {
this._instance.parent = parent._instance;
this._instance.provides = parent._instance.provides;
this._inheritParentContext(parent);
}
}
_inheritParentContext(parent = this._parent) {
if (parent && this._app) {
Object.setPrototypeOf(
this._app._context.provides,
parent._instance.provides
);
}
}
disconnectedCallback() {
@@ -872,9 +876,7 @@ class VueElement extends BaseClass {
}
}
this._numberProps = numberProps;
if (isAsync) {
this._resolveProps(def);
}
this._resolveProps(def);
if (this.shadowRoot) {
this._applyStyles(styles);
}
@@ -882,15 +884,17 @@ class VueElement extends BaseClass {
};
const asyncDef = this._def.__asyncLoader;
if (asyncDef) {
this._pendingResolve = asyncDef().then(
(def) => resolve(this._def = def, true)
);
this._pendingResolve = asyncDef().then((def) => {
def.configureApp = this._def.configureApp;
resolve(this._def = def, true);
});
} else {
resolve(this._def);
}
}
_mount(def) {
this._app = this._createApp(def);
this._inheritParentContext();
if (def.configureApp) {
def.configureApp(this._app);
}
@@ -973,7 +977,9 @@ class VueElement extends BaseClass {
}
}
_update() {
render(this._createVNode(), this._root);
const vnode = this._createVNode();
if (this._app) vnode.appContext = this._app._context;
render(vnode, this._root);
}
_createVNode() {
const baseProps = {};
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@vue/runtime-dom",
"version": "3.5.14",
"version": "3.5.18",
"description": "@vue/runtime-dom",
"main": "index.js",
"module": "dist/runtime-dom.esm-bundler.js",
@@ -50,9 +50,9 @@
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
"dependencies": {
"csstype": "^3.1.3",
"@vue/runtime-core": "3.5.14",
"@vue/shared": "3.5.14",
"@vue/reactivity": "3.5.14"
"@vue/shared": "3.5.18",
"@vue/runtime-core": "3.5.18",
"@vue/reactivity": "3.5.18"
},
"devDependencies": {
"@types/trusted-types": "^2.0.7"