@unhead/schema-org 1.11.6 → 1.11.7
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 +2 -2
- package/dist/shared/{schema-org.e643866f.cjs → schema-org.65a68144.cjs} +28 -6
- package/dist/shared/{schema-org.35c43c4d.mjs → schema-org.a7784df3.mjs} +28 -6
- package/dist/vue.cjs +1 -1
- package/dist/vue.mjs +2 -2
- package/package.json +7 -6
- package/vue.d.ts +1 -0
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as UnheadSchemaOrg } from './shared/schema-org.
|
|
2
|
-
export { H as HowToId, a1 as PluginSchemaOrg, P as PrimaryArticleId, k as PrimaryBookId, m as PrimaryBreadcrumbId, s as PrimaryEventId, X as PrimaryWebPageId, _ as PrimaryWebSiteId, M as ProductId, R as RecipeId, a2 as SchemaOrgUnheadPlugin, L as addressResolver, g as aggregateOfferResolver, h as aggregateRatingResolver, i as articleResolver, j as bookEditionResolver, l as bookResolver, o as breadcrumbResolver, p as commentResolver, q as courseResolver, c as createSchemaOrgGraph, f as dedupeNodes, d as defineSchemaOrgResolver, t as eventResolver, w as foodEstablishmentResolver, x as howToResolver, z as howToStepDirectionResolver, y as howToStepResolver, A as imageResolver, B as itemListResolver, C as jobPostingResolver, D as listItemResolver, E as localBusinessResolver, F as movieResolver, n as normaliseNodes, G as offerResolver, I as openingHoursResolver, J as organizationResolver, K as personResolver, u as placeResolver, N as productResolver, O as questionResolver, Q as ratingResolver, Z as readActionResolver, S as recipeResolver, r as resolveMeta, a as resolveNode, b as resolveNodeId, e as resolveRelation, T as reviewResolver, a0 as searchActionResolver, V as softwareAppResolver, W as videoResolver, v as virtualLocationResolver, Y as webPageResolver, $ as webSiteResolver } from './shared/schema-org.
|
|
1
|
+
import { U as UnheadSchemaOrg } from './shared/schema-org.a7784df3.mjs';
|
|
2
|
+
export { H as HowToId, a1 as PluginSchemaOrg, P as PrimaryArticleId, k as PrimaryBookId, m as PrimaryBreadcrumbId, s as PrimaryEventId, X as PrimaryWebPageId, _ as PrimaryWebSiteId, M as ProductId, R as RecipeId, a2 as SchemaOrgUnheadPlugin, L as addressResolver, g as aggregateOfferResolver, h as aggregateRatingResolver, i as articleResolver, j as bookEditionResolver, l as bookResolver, o as breadcrumbResolver, p as commentResolver, q as courseResolver, c as createSchemaOrgGraph, f as dedupeNodes, d as defineSchemaOrgResolver, t as eventResolver, w as foodEstablishmentResolver, x as howToResolver, z as howToStepDirectionResolver, y as howToStepResolver, A as imageResolver, B as itemListResolver, C as jobPostingResolver, D as listItemResolver, E as localBusinessResolver, F as movieResolver, n as normaliseNodes, G as offerResolver, I as openingHoursResolver, J as organizationResolver, K as personResolver, u as placeResolver, N as productResolver, O as questionResolver, Q as ratingResolver, Z as readActionResolver, S as recipeResolver, r as resolveMeta, a as resolveNode, b as resolveNodeId, e as resolveRelation, T as reviewResolver, a0 as searchActionResolver, V as softwareAppResolver, W as videoResolver, v as virtualLocationResolver, Y as webPageResolver, $ as webSiteResolver } from './shared/schema-org.a7784df3.mjs';
|
|
3
3
|
import { getActiveHead, useHead } from 'unhead';
|
|
4
4
|
import 'ufo';
|
|
5
5
|
|
|
@@ -1318,8 +1318,16 @@ function isNativeFunction(f) {
|
|
|
1318
1318
|
return Function.prototype.toString.call(f).slice(-nativeFuncLength) === nativeFunc;
|
|
1319
1319
|
}
|
|
1320
1320
|
|
|
1321
|
+
var __defProp$1 = Object.defineProperty;
|
|
1322
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1323
|
+
var __publicField$1 = (obj, key, value) => {
|
|
1324
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1325
|
+
return value;
|
|
1326
|
+
};
|
|
1321
1327
|
class WordArray {
|
|
1322
1328
|
constructor(words, sigBytes) {
|
|
1329
|
+
__publicField$1(this, "words");
|
|
1330
|
+
__publicField$1(this, "sigBytes");
|
|
1323
1331
|
words = this.words = words || [];
|
|
1324
1332
|
this.sigBytes = sigBytes === void 0 ? words.length * 4 : sigBytes;
|
|
1325
1333
|
}
|
|
@@ -1392,10 +1400,10 @@ const Utf8 = {
|
|
|
1392
1400
|
};
|
|
1393
1401
|
class BufferedBlockAlgorithm {
|
|
1394
1402
|
constructor() {
|
|
1395
|
-
this
|
|
1396
|
-
this
|
|
1397
|
-
this
|
|
1398
|
-
this
|
|
1403
|
+
__publicField$1(this, "_data", new WordArray());
|
|
1404
|
+
__publicField$1(this, "_nDataBytes", 0);
|
|
1405
|
+
__publicField$1(this, "_minBufferSize", 0);
|
|
1406
|
+
__publicField$1(this, "blockSize", 512 / 32);
|
|
1399
1407
|
}
|
|
1400
1408
|
reset() {
|
|
1401
1409
|
this._data = new WordArray();
|
|
@@ -1408,7 +1416,6 @@ class BufferedBlockAlgorithm {
|
|
|
1408
1416
|
this._data.concat(data);
|
|
1409
1417
|
this._nDataBytes += data.sigBytes;
|
|
1410
1418
|
}
|
|
1411
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1412
1419
|
_doProcessBlock(_dataWords, _offset) {
|
|
1413
1420
|
}
|
|
1414
1421
|
_process(doFlush) {
|
|
@@ -1444,6 +1451,12 @@ class Hasher extends BufferedBlockAlgorithm {
|
|
|
1444
1451
|
}
|
|
1445
1452
|
}
|
|
1446
1453
|
|
|
1454
|
+
var __defProp = Object.defineProperty;
|
|
1455
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1456
|
+
var __publicField = (obj, key, value) => {
|
|
1457
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1458
|
+
return value;
|
|
1459
|
+
};
|
|
1447
1460
|
const H = [
|
|
1448
1461
|
1779033703,
|
|
1449
1462
|
-1150833019,
|
|
@@ -1524,8 +1537,11 @@ const W = [];
|
|
|
1524
1537
|
class SHA256 extends Hasher {
|
|
1525
1538
|
constructor() {
|
|
1526
1539
|
super(...arguments);
|
|
1527
|
-
this
|
|
1540
|
+
__publicField(this, "_hash", new WordArray([...H]));
|
|
1528
1541
|
}
|
|
1542
|
+
/**
|
|
1543
|
+
* Resets the internal state of the hash object to initial values.
|
|
1544
|
+
*/
|
|
1529
1545
|
reset() {
|
|
1530
1546
|
super.reset();
|
|
1531
1547
|
this._hash = new WordArray([...H]);
|
|
@@ -1574,6 +1590,12 @@ class SHA256 extends Hasher {
|
|
|
1574
1590
|
H2[6] = H2[6] + g | 0;
|
|
1575
1591
|
H2[7] = H2[7] + h | 0;
|
|
1576
1592
|
}
|
|
1593
|
+
/**
|
|
1594
|
+
* Finishes the hash calculation and returns the hash as a WordArray.
|
|
1595
|
+
*
|
|
1596
|
+
* @param {string} messageUpdate - Additional message content to include in the hash.
|
|
1597
|
+
* @returns {WordArray} The finalised hash as a WordArray.
|
|
1598
|
+
*/
|
|
1577
1599
|
finalize(messageUpdate) {
|
|
1578
1600
|
super.finalize(messageUpdate);
|
|
1579
1601
|
const nBitsTotal = this._nDataBytes * 8;
|
|
@@ -1316,8 +1316,16 @@ function isNativeFunction(f) {
|
|
|
1316
1316
|
return Function.prototype.toString.call(f).slice(-nativeFuncLength) === nativeFunc;
|
|
1317
1317
|
}
|
|
1318
1318
|
|
|
1319
|
+
var __defProp$1 = Object.defineProperty;
|
|
1320
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1321
|
+
var __publicField$1 = (obj, key, value) => {
|
|
1322
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1323
|
+
return value;
|
|
1324
|
+
};
|
|
1319
1325
|
class WordArray {
|
|
1320
1326
|
constructor(words, sigBytes) {
|
|
1327
|
+
__publicField$1(this, "words");
|
|
1328
|
+
__publicField$1(this, "sigBytes");
|
|
1321
1329
|
words = this.words = words || [];
|
|
1322
1330
|
this.sigBytes = sigBytes === void 0 ? words.length * 4 : sigBytes;
|
|
1323
1331
|
}
|
|
@@ -1390,10 +1398,10 @@ const Utf8 = {
|
|
|
1390
1398
|
};
|
|
1391
1399
|
class BufferedBlockAlgorithm {
|
|
1392
1400
|
constructor() {
|
|
1393
|
-
this
|
|
1394
|
-
this
|
|
1395
|
-
this
|
|
1396
|
-
this
|
|
1401
|
+
__publicField$1(this, "_data", new WordArray());
|
|
1402
|
+
__publicField$1(this, "_nDataBytes", 0);
|
|
1403
|
+
__publicField$1(this, "_minBufferSize", 0);
|
|
1404
|
+
__publicField$1(this, "blockSize", 512 / 32);
|
|
1397
1405
|
}
|
|
1398
1406
|
reset() {
|
|
1399
1407
|
this._data = new WordArray();
|
|
@@ -1406,7 +1414,6 @@ class BufferedBlockAlgorithm {
|
|
|
1406
1414
|
this._data.concat(data);
|
|
1407
1415
|
this._nDataBytes += data.sigBytes;
|
|
1408
1416
|
}
|
|
1409
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1410
1417
|
_doProcessBlock(_dataWords, _offset) {
|
|
1411
1418
|
}
|
|
1412
1419
|
_process(doFlush) {
|
|
@@ -1442,6 +1449,12 @@ class Hasher extends BufferedBlockAlgorithm {
|
|
|
1442
1449
|
}
|
|
1443
1450
|
}
|
|
1444
1451
|
|
|
1452
|
+
var __defProp = Object.defineProperty;
|
|
1453
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1454
|
+
var __publicField = (obj, key, value) => {
|
|
1455
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1456
|
+
return value;
|
|
1457
|
+
};
|
|
1445
1458
|
const H = [
|
|
1446
1459
|
1779033703,
|
|
1447
1460
|
-1150833019,
|
|
@@ -1522,8 +1535,11 @@ const W = [];
|
|
|
1522
1535
|
class SHA256 extends Hasher {
|
|
1523
1536
|
constructor() {
|
|
1524
1537
|
super(...arguments);
|
|
1525
|
-
this
|
|
1538
|
+
__publicField(this, "_hash", new WordArray([...H]));
|
|
1526
1539
|
}
|
|
1540
|
+
/**
|
|
1541
|
+
* Resets the internal state of the hash object to initial values.
|
|
1542
|
+
*/
|
|
1527
1543
|
reset() {
|
|
1528
1544
|
super.reset();
|
|
1529
1545
|
this._hash = new WordArray([...H]);
|
|
@@ -1572,6 +1588,12 @@ class SHA256 extends Hasher {
|
|
|
1572
1588
|
H2[6] = H2[6] + g | 0;
|
|
1573
1589
|
H2[7] = H2[7] + h | 0;
|
|
1574
1590
|
}
|
|
1591
|
+
/**
|
|
1592
|
+
* Finishes the hash calculation and returns the hash as a WordArray.
|
|
1593
|
+
*
|
|
1594
|
+
* @param {string} messageUpdate - Additional message content to include in the hash.
|
|
1595
|
+
* @returns {WordArray} The finalised hash as a WordArray.
|
|
1596
|
+
*/
|
|
1575
1597
|
finalize(messageUpdate) {
|
|
1576
1598
|
super.finalize(messageUpdate);
|
|
1577
1599
|
const nBitsTotal = this._nDataBytes * 8;
|
package/dist/vue.cjs
CHANGED
package/dist/vue.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as UnheadSchemaOrg } from './shared/schema-org.
|
|
2
|
-
export { a1 as PluginSchemaOrg, a2 as SchemaOrgUnheadPlugin } from './shared/schema-org.
|
|
1
|
+
import { U as UnheadSchemaOrg } from './shared/schema-org.a7784df3.mjs';
|
|
2
|
+
export { a1 as PluginSchemaOrg, a2 as SchemaOrgUnheadPlugin } from './shared/schema-org.a7784df3.mjs';
|
|
3
3
|
import { defineComponent, ref, computed, unref, h } from 'vue';
|
|
4
4
|
import { injectHead, useHead } from '@unhead/vue';
|
|
5
5
|
import 'ufo';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/schema-org",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.11.
|
|
4
|
+
"version": "1.11.7",
|
|
5
5
|
"description": "Unhead Schema.org for Simple and Automated Google Rich Results",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
|
-
"dist"
|
|
48
|
+
"dist",
|
|
49
|
+
"vue.d.ts"
|
|
49
50
|
],
|
|
50
51
|
"dependencies": {
|
|
51
52
|
"ufo": "^1.5.4"
|
|
@@ -57,10 +58,10 @@
|
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
60
|
"unplugin-vue-components": "^0.27.4",
|
|
60
|
-
"@unhead/schema": "1.11.
|
|
61
|
-
"@unhead/
|
|
62
|
-
"unhead": "1.11.
|
|
63
|
-
"
|
|
61
|
+
"@unhead/schema": "1.11.7",
|
|
62
|
+
"@unhead/vue": "1.11.7",
|
|
63
|
+
"@unhead/shared": "1.11.7",
|
|
64
|
+
"unhead": "1.11.7"
|
|
64
65
|
},
|
|
65
66
|
"scripts": {
|
|
66
67
|
"build": "unbuild .",
|
package/vue.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/vue'
|