@unhead/addons 1.1.27 → 1.1.29

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.
@@ -392,6 +392,10 @@ const UseSeoMetaTransform = unplugin.createUnplugin((options = {}) => {
392
392
  if (meta.length)
393
393
  output.push(" meta: [");
394
394
  meta.forEach((property) => {
395
+ if (property.type === "SpreadElement") {
396
+ output = false;
397
+ return;
398
+ }
395
399
  if (property.key.type !== "Identifier" || !property.value) {
396
400
  output = false;
397
401
  return;
@@ -386,6 +386,10 @@ const UseSeoMetaTransform = createUnplugin((options = {}) => {
386
386
  if (meta.length)
387
387
  output.push(" meta: [");
388
388
  meta.forEach((property) => {
389
+ if (property.type === "SpreadElement") {
390
+ output = false;
391
+ return;
392
+ }
389
393
  if (property.key.type !== "Identifier" || !property.value) {
390
394
  output = false;
391
395
  return;
package/dist/vite.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const UseSeoMetaTransform = require('./shared/addons.668d74b0.cjs');
3
+ const UseSeoMetaTransform = require('./shared/addons.c51a1c8e.cjs');
4
4
  require('node:url');
5
5
  require('unplugin');
6
6
  require('unplugin-ast');
package/dist/vite.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.322c468f.mjs';
1
+ import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.cebbe2f5.mjs';
2
2
  import 'node:url';
3
3
  import 'unplugin';
4
4
  import 'unplugin-ast';
package/dist/webpack.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const UseSeoMetaTransform = require('./shared/addons.668d74b0.cjs');
3
+ const UseSeoMetaTransform = require('./shared/addons.c51a1c8e.cjs');
4
4
  require('node:url');
5
5
  require('unplugin');
6
6
  require('unplugin-ast');
package/dist/webpack.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.322c468f.mjs';
1
+ import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.cebbe2f5.mjs';
2
2
  import 'node:url';
3
3
  import 'unplugin';
4
4
  import 'unplugin-ast';
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@unhead/addons",
3
3
  "type": "module",
4
- "version": "1.1.27",
5
- "packageManager": "pnpm@8.5.0",
4
+ "version": "1.1.29",
5
+ "packageManager": "pnpm@8.6.2",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/harlan-zw",
@@ -52,16 +52,16 @@
52
52
  "dependencies": {
53
53
  "@rollup/pluginutils": "^5.0.2",
54
54
  "magic-string": "^0.30.0",
55
- "mlly": "^1.2.1",
55
+ "mlly": "^1.3.0",
56
56
  "ufo": "^1.1.2",
57
57
  "unplugin": "^1.3.1",
58
- "unplugin-ast": "^0.7.0",
59
- "@unhead/schema": "1.1.27",
60
- "@unhead/shared": "1.1.27",
61
- "unhead": "1.1.27"
58
+ "unplugin-ast": "^0.8.0",
59
+ "@unhead/schema": "1.1.29",
60
+ "@unhead/shared": "1.1.29",
61
+ "unhead": "1.1.29"
62
62
  },
63
63
  "devDependencies": {
64
- "@babel/types": "^7.21.5",
64
+ "@babel/types": "^7.22.5",
65
65
  "estree-walker": "^3.0.3"
66
66
  },
67
67
  "scripts": {