@unhead/dom 1.1.22 → 1.1.25

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
@@ -66,7 +66,7 @@ async function renderDOMHead(head, options = {}) {
66
66
  function setupTagRenderCtx(tag) {
67
67
  const entry = head.headEntries().find((e) => e._i === tag._e);
68
68
  const renderCtx = {
69
- renderId: tag._d || shared.hashTag(tag),
69
+ renderId: !tag.key && tag._d ? tag._d : shared.hashTag(tag),
70
70
  $el: null,
71
71
  shouldRender: true,
72
72
  tag,
package/dist/index.mjs CHANGED
@@ -64,7 +64,7 @@ async function renderDOMHead(head, options = {}) {
64
64
  function setupTagRenderCtx(tag) {
65
65
  const entry = head.headEntries().find((e) => e._i === tag._e);
66
66
  const renderCtx = {
67
- renderId: tag._d || hashTag(tag),
67
+ renderId: !tag.key && tag._d ? tag._d : hashTag(tag),
68
68
  $el: null,
69
69
  shouldRender: true,
70
70
  tag,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@unhead/dom",
3
3
  "type": "module",
4
- "version": "1.1.22",
5
- "packageManager": "pnpm@7.28.0",
4
+ "version": "1.1.25",
5
+ "packageManager": "pnpm@7.30.0",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/harlan-zw",
@@ -30,8 +30,8 @@
30
30
  "dist"
31
31
  ],
32
32
  "dependencies": {
33
- "@unhead/schema": "1.1.22",
34
- "@unhead/shared": "1.1.22"
33
+ "@unhead/schema": "1.1.25",
34
+ "@unhead/shared": "1.1.25"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "unbuild .",