@unhead/vue 2.1.3 → 2.1.5
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/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ export { createUnhead } from 'unhead';
|
|
|
3
3
|
export { h as headSymbol, i as injectHead, u as useHead, a as useHeadSafe, b as useSeoMeta, c as useServerHead, d as useServerHeadSafe, e as useServerSeoMeta } from './shared/vue.Cr7xSEtD.mjs';
|
|
4
4
|
export { resolveUnrefHeadInput } from './utils.mjs';
|
|
5
5
|
export { V as VueHeadMixin } from './shared/vue.BM998iwd.mjs';
|
|
6
|
-
export { u as useScript } from './shared/vue.
|
|
6
|
+
export { u as useScript } from './shared/vue.CVf9mpRR.mjs';
|
|
7
7
|
import 'unhead/plugins';
|
|
8
8
|
import 'unhead/utils';
|
|
9
9
|
import 'vue';
|
package/dist/scripts.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { createSpyProxy, resolveScriptKey } from 'unhead/scripts';
|
|
2
|
-
export { u as useScript } from './shared/vue.
|
|
2
|
+
export { u as useScript } from './shared/vue.CVf9mpRR.mjs';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import './shared/vue.Cr7xSEtD.mjs';
|
|
5
5
|
import 'unhead/plugins';
|
|
@@ -24,8 +24,9 @@ function registerVueScopeHandlers(script, scope) {
|
|
|
24
24
|
};
|
|
25
25
|
script.onLoaded = (cb) => _registerCb("loaded", cb);
|
|
26
26
|
script.onError = (cb) => _registerCb("error", cb);
|
|
27
|
+
const triggerAbortController = script._triggerAbortController;
|
|
27
28
|
onScopeDispose(() => {
|
|
28
|
-
|
|
29
|
+
triggerAbortController?.abort();
|
|
29
30
|
});
|
|
30
31
|
}
|
|
31
32
|
function useScript(_input, _options) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.5",
|
|
5
5
|
"description": "Full-stack <head> manager built for Vue.",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
105
|
"hookable": "^6.0.1",
|
|
106
|
-
"unhead": "2.1.
|
|
106
|
+
"unhead": "2.1.5"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@vue/server-renderer": "^3.5.26",
|