@unhead/addons 1.1.8 → 1.1.10
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.
|
@@ -364,10 +364,10 @@ const UseSeoMetaTransform = createUnplugin(() => {
|
|
|
364
364
|
if (calleeName === "useServerSeoMeta") {
|
|
365
365
|
if (output.length)
|
|
366
366
|
output.push("});");
|
|
367
|
-
output.push("useServerHead({"
|
|
368
|
-
} else if (calleeName === "useSeoMeta") {
|
|
369
|
-
output.push(" meta: [");
|
|
367
|
+
output.push("useServerHead({");
|
|
370
368
|
}
|
|
369
|
+
if (meta.length)
|
|
370
|
+
output.push(" meta: [");
|
|
371
371
|
meta.forEach((property) => {
|
|
372
372
|
if (output === false)
|
|
373
373
|
return;
|
|
@@ -366,10 +366,10 @@ const UseSeoMetaTransform = unplugin.createUnplugin(() => {
|
|
|
366
366
|
if (calleeName === "useServerSeoMeta") {
|
|
367
367
|
if (output.length)
|
|
368
368
|
output.push("});");
|
|
369
|
-
output.push("useServerHead({"
|
|
370
|
-
} else if (calleeName === "useSeoMeta") {
|
|
371
|
-
output.push(" meta: [");
|
|
369
|
+
output.push("useServerHead({");
|
|
372
370
|
}
|
|
371
|
+
if (meta.length)
|
|
372
|
+
output.push(" meta: [");
|
|
373
373
|
meta.forEach((property) => {
|
|
374
374
|
if (output === false)
|
|
375
375
|
return;
|
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.0b352d71.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.0b352d71.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.10",
|
|
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.10",
|
|
60
|
+
"@unhead/shared": "1.1.10",
|
|
61
|
+
"unhead": "1.1.10"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/types": "^7.21.2",
|