@unhead/vue 1.0.1 → 1.0.2
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 +8 -0
- package/dist/index.mjs +8 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -266,6 +266,14 @@ async function normaliseProps(props) {
|
|
|
266
266
|
const tagWeight = (tag) => {
|
|
267
267
|
if (typeof tag.tagPriority === "number")
|
|
268
268
|
return tag.tagPriority;
|
|
269
|
+
switch (tag.tagPriority) {
|
|
270
|
+
case "critical":
|
|
271
|
+
return 2;
|
|
272
|
+
case "high":
|
|
273
|
+
return 9;
|
|
274
|
+
case "low":
|
|
275
|
+
return 12;
|
|
276
|
+
}
|
|
269
277
|
switch (tag.tag) {
|
|
270
278
|
case "base":
|
|
271
279
|
return -1;
|
package/dist/index.mjs
CHANGED
|
@@ -264,6 +264,14 @@ async function normaliseProps(props) {
|
|
|
264
264
|
const tagWeight = (tag) => {
|
|
265
265
|
if (typeof tag.tagPriority === "number")
|
|
266
266
|
return tag.tagPriority;
|
|
267
|
+
switch (tag.tagPriority) {
|
|
268
|
+
case "critical":
|
|
269
|
+
return 2;
|
|
270
|
+
case "high":
|
|
271
|
+
return 9;
|
|
272
|
+
case "low":
|
|
273
|
+
return 12;
|
|
274
|
+
}
|
|
267
275
|
switch (tag.tag) {
|
|
268
276
|
case "base":
|
|
269
277
|
return -1;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"packageManager": "pnpm@7.14.0",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"vue": ">=2.7 || >=3"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@unhead/schema": "1.0.
|
|
36
|
+
"@unhead/schema": "1.0.2",
|
|
37
37
|
"hookable": "^5.4.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"unhead": "1.0.
|
|
40
|
+
"unhead": "1.0.2",
|
|
41
41
|
"vue": "^3.2.45"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|