unhead 1.0.3 → 1.0.5
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -559,7 +559,7 @@ const TagEntityBits = 10;
|
|
|
559
559
|
|
|
560
560
|
async function normaliseEntryTags(e) {
|
|
561
561
|
const tagPromises = [];
|
|
562
|
-
Object.entries(e.input).filter(([k, v]) => typeof v !== "undefined" && ValidHeadTags.includes(k)).forEach(([k, value]) => {
|
|
562
|
+
Object.entries(e.resolvedInput || e.input).filter(([k, v]) => typeof v !== "undefined" && ValidHeadTags.includes(k)).forEach(([k, value]) => {
|
|
563
563
|
const v = asArray(value);
|
|
564
564
|
tagPromises.push(...v.map((props) => normaliseTag(k, props)).flat());
|
|
565
565
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -557,7 +557,7 @@ const TagEntityBits = 10;
|
|
|
557
557
|
|
|
558
558
|
async function normaliseEntryTags(e) {
|
|
559
559
|
const tagPromises = [];
|
|
560
|
-
Object.entries(e.input).filter(([k, v]) => typeof v !== "undefined" && ValidHeadTags.includes(k)).forEach(([k, value]) => {
|
|
560
|
+
Object.entries(e.resolvedInput || e.input).filter(([k, v]) => typeof v !== "undefined" && ValidHeadTags.includes(k)).forEach(([k, value]) => {
|
|
561
561
|
const v = asArray(value);
|
|
562
562
|
tagPromises.push(...v.map((props) => normaliseTag(k, props)).flat());
|
|
563
563
|
});
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unhead",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"packageManager": "pnpm@7.17.
|
|
4
|
+
"version": "1.0.5",
|
|
5
|
+
"packageManager": "pnpm@7.17.1",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/harlan-zw",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"hookable": "^5.4.2",
|
|
34
|
-
"@unhead/dom": "1.0.
|
|
35
|
-
"@unhead/schema": "1.0.
|
|
34
|
+
"@unhead/dom": "1.0.5",
|
|
35
|
+
"@unhead/schema": "1.0.5"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"zhead": "^1.0.4"
|