@unhead/cli 3.4.3 → 3.5.0
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.mjs +5 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1270,7 +1270,11 @@ function validateHtml(html, source) {
|
|
|
1270
1270
|
const { input } = parseHtmlForUnheadExtraction(html);
|
|
1271
1271
|
const captured = [];
|
|
1272
1272
|
const head = createHead({
|
|
1273
|
-
plugins: [ValidatePlugin({
|
|
1273
|
+
plugins: [ValidatePlugin({
|
|
1274
|
+
// Rendered HTML carries data-hid but cannot establish the client entry's key.
|
|
1275
|
+
rules: { "large-inline-content-without-key": "off" },
|
|
1276
|
+
onReport: (rs) => captured.push(...rs)
|
|
1277
|
+
})]
|
|
1274
1278
|
});
|
|
1275
1279
|
head.push(input);
|
|
1276
1280
|
renderSSRHead(head);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.5.0",
|
|
5
5
|
"description": "CLI for auditing and migrating unhead head usage in your codebase.",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"oxc-walker": "^1.1.1",
|
|
52
52
|
"pathe": "^2.0.3",
|
|
53
53
|
"tinyglobby": "^0.2.17",
|
|
54
|
-
"unhead": "3.
|
|
54
|
+
"unhead": "3.5.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"vitest": "^5.0.0"
|