@unhead/addons 1.9.11 → 1.9.13

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.
@@ -38,8 +38,9 @@ const TreeshakeServerComposables = createUnplugin((options = {}) => {
38
38
  return false;
39
39
  },
40
40
  async transform(code, id) {
41
- if (!code.includes("useServerHead") && !code.includes("useServerHeadSafe") && !code.includes("useServerSeoMeta") && !code.includes("useSchemaOrg"))
41
+ if (!code.includes("useServerHead") && !code.includes("useServerHeadSafe") && !code.includes("useServerSeoMeta") && !code.includes("useSchemaOrg")) {
42
42
  return;
43
+ }
43
44
  let transformed;
44
45
  try {
45
46
  transformed = await transform(code, id, {
@@ -44,8 +44,9 @@ const TreeshakeServerComposables = unplugin.createUnplugin((options = {}) => {
44
44
  return false;
45
45
  },
46
46
  async transform(code, id) {
47
- if (!code.includes("useServerHead") && !code.includes("useServerHeadSafe") && !code.includes("useServerSeoMeta") && !code.includes("useSchemaOrg"))
47
+ if (!code.includes("useServerHead") && !code.includes("useServerHeadSafe") && !code.includes("useServerSeoMeta") && !code.includes("useSchemaOrg")) {
48
48
  return;
49
+ }
49
50
  let transformed;
50
51
  try {
51
52
  transformed = await unpluginAst.transform(code, id, {
package/dist/vite.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const UseSeoMetaTransform = require('./shared/addons.d80e4187.cjs');
3
+ const UseSeoMetaTransform = require('./shared/addons.f35fc4f4.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.f1209473.mjs';
1
+ import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.63341a68.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.d80e4187.cjs');
3
+ const UseSeoMetaTransform = require('./shared/addons.f35fc4f4.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.f1209473.mjs';
1
+ import { T as TreeshakeServerComposables, U as UseSeoMetaTransform } from './shared/addons.63341a68.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.9.11",
4
+ "version": "1.9.13",
5
5
  "author": "Harlan Wilton <harlan@harlanzw.com>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",
@@ -51,15 +51,15 @@
51
51
  "dependencies": {
52
52
  "@rollup/pluginutils": "^5.1.0",
53
53
  "magic-string": "^0.30.10",
54
- "mlly": "^1.7.0",
54
+ "mlly": "^1.7.1",
55
55
  "ufo": "^1.5.3",
56
56
  "unplugin": "^1.10.1",
57
57
  "unplugin-ast": "^0.10.0",
58
- "@unhead/schema": "1.9.11",
59
- "@unhead/shared": "1.9.11"
58
+ "@unhead/schema": "1.9.13",
59
+ "@unhead/shared": "1.9.13"
60
60
  },
61
61
  "devDependencies": {
62
- "@babel/types": "^7.24.5",
62
+ "@babel/types": "^7.24.7",
63
63
  "estree-walker": "^3.0.3"
64
64
  },
65
65
  "scripts": {