@unhead/addons 1.1.8 → 1.1.9
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.
|
@@ -366,8 +366,9 @@ const UseSeoMetaTransform = unplugin.createUnplugin(() => {
|
|
|
366
366
|
if (calleeName === "useServerSeoMeta") {
|
|
367
367
|
if (output.length)
|
|
368
368
|
output.push("});");
|
|
369
|
-
output.push("useServerHead({"
|
|
370
|
-
}
|
|
369
|
+
output.push("useServerHead({");
|
|
370
|
+
}
|
|
371
|
+
if (meta.length) {
|
|
371
372
|
output.push(" meta: [");
|
|
372
373
|
}
|
|
373
374
|
meta.forEach((property) => {
|
|
@@ -364,8 +364,9 @@ const UseSeoMetaTransform = createUnplugin(() => {
|
|
|
364
364
|
if (calleeName === "useServerSeoMeta") {
|
|
365
365
|
if (output.length)
|
|
366
366
|
output.push("});");
|
|
367
|
-
output.push("useServerHead({"
|
|
368
|
-
}
|
|
367
|
+
output.push("useServerHead({");
|
|
368
|
+
}
|
|
369
|
+
if (meta.length) {
|
|
369
370
|
output.push(" meta: [");
|
|
370
371
|
}
|
|
371
372
|
meta.forEach((property) => {
|
package/dist/vite.cjs
CHANGED
package/dist/vite.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.
|
|
1
|
+
import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.dc495f65.mjs';
|
|
2
2
|
import 'node:url';
|
|
3
3
|
import 'unplugin';
|
|
4
4
|
import 'unplugin-ast';
|
package/dist/webpack.cjs
CHANGED
package/dist/webpack.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.
|
|
1
|
+
import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.dc495f65.mjs';
|
|
2
2
|
import 'node:url';
|
|
3
3
|
import 'unplugin';
|
|
4
4
|
import 'unplugin-ast';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/addons",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.9",
|
|
5
5
|
"packageManager": "pnpm@7.27.1",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"ufo": "^1.1.0",
|
|
57
57
|
"unplugin": "^1.1.0",
|
|
58
58
|
"unplugin-ast": "^0.7.0",
|
|
59
|
-
"@unhead/schema": "1.1.
|
|
60
|
-
"@unhead/shared": "1.1.
|
|
61
|
-
"unhead": "1.1.
|
|
59
|
+
"@unhead/schema": "1.1.9",
|
|
60
|
+
"@unhead/shared": "1.1.9",
|
|
61
|
+
"unhead": "1.1.9"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/types": "^7.21.2",
|