讨论加特殊图标
This commit is contained in:
3
.output/server/node_modules/unhead/dist/index.mjs
generated
vendored
3
.output/server/node_modules/unhead/dist/index.mjs
generated
vendored
@@ -541,6 +541,7 @@ function useScript(input, _options) {
|
||||
resolve(options.use());
|
||||
function watchForScriptLoaded({ script: script2 }) {
|
||||
if (script2.id === id && script2.status === "loaded") {
|
||||
script2.loaded = true;
|
||||
resolve(options.use?.());
|
||||
head.hooks.removeHook("script:updated", watchForScriptLoaded);
|
||||
}
|
||||
@@ -626,7 +627,7 @@ function useScript(input, _options) {
|
||||
} else {
|
||||
return script.waitForLoad().then(
|
||||
(api) => {
|
||||
api[fn](...args);
|
||||
return api[fn](...args);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
14
.output/server/node_modules/unhead/package.json
generated
vendored
14
.output/server/node_modules/unhead/package.json
generated
vendored
@@ -1,8 +1,12 @@
|
||||
{
|
||||
"name": "unhead",
|
||||
"type": "module",
|
||||
"version": "1.8.9",
|
||||
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
||||
"version": "1.8.10",
|
||||
"author": {
|
||||
"name": "Harlan Wilton",
|
||||
"email": "harlan@harlanzw.com",
|
||||
"url": "https://harlanzw.com/"
|
||||
},
|
||||
"license": "MIT",
|
||||
"funding": "https://github.com/sponsors/harlan-zw",
|
||||
"homepage": "https://unhead.unjs.io",
|
||||
@@ -30,9 +34,9 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"hookable": "^5.5.3",
|
||||
"@unhead/dom": "1.8.9",
|
||||
"@unhead/shared": "1.8.9",
|
||||
"@unhead/schema": "1.8.9"
|
||||
"@unhead/dom": "1.8.10",
|
||||
"@unhead/schema": "1.8.10",
|
||||
"@unhead/shared": "1.8.10"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "unbuild .",
|
||||
|
||||
Reference in New Issue
Block a user