unhead 1.3.2 → 1.3.3

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.cjs CHANGED
@@ -272,9 +272,7 @@ function createHeadCore(options = {}) {
272
272
  input,
273
273
  ...entryOptions
274
274
  };
275
- const mode = activeEntry?.mode;
276
- if (mode)
277
- activeEntry.mode = mode;
275
+ const mode = activeEntry.mode;
278
276
  if (!mode || mode === "server" && ssr || mode === "client" && !ssr) {
279
277
  entries.push(activeEntry);
280
278
  updated();
package/dist/index.mjs CHANGED
@@ -271,9 +271,7 @@ function createHeadCore(options = {}) {
271
271
  input,
272
272
  ...entryOptions
273
273
  };
274
- const mode = activeEntry?.mode;
275
- if (mode)
276
- activeEntry.mode = mode;
274
+ const mode = activeEntry.mode;
277
275
  if (!mode || mode === "server" && ssr || mode === "client" && !ssr) {
278
276
  entries.push(activeEntry);
279
277
  updated();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unhead",
3
3
  "type": "module",
4
- "version": "1.3.2",
4
+ "version": "1.3.3",
5
5
  "author": "Harlan Wilton <harlan@harlanzw.com>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",
@@ -30,9 +30,9 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "hookable": "^5.5.3",
33
- "@unhead/dom": "1.3.2",
34
- "@unhead/schema": "1.3.2",
35
- "@unhead/shared": "1.3.2"
33
+ "@unhead/dom": "1.3.3",
34
+ "@unhead/schema": "1.3.3",
35
+ "@unhead/shared": "1.3.3"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "unbuild .",