@unhead/schema-org 1.11.0-beta.1 → 1.11.0-beta.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const plugin = require('./shared/schema-org.41752c29.cjs');
3
+ const plugin = require('./shared/schema-org.99ac1ebf.cjs');
4
4
  const unhead = require('unhead');
5
5
  require('ufo');
6
6
 
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnheadSchemaOrg } from './shared/schema-org.08cc2a54.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.08cc2a54.mjs';
1
+ import { U as UnheadSchemaOrg } from './shared/schema-org.7698b7cd.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.7698b7cd.mjs';
3
3
  import { getActiveHead, useHead } from 'unhead';
4
4
  import 'ufo';
5
5
 
@@ -2158,7 +2158,7 @@ function SchemaOrgUnheadPlugin(config, meta, options) {
2158
2158
  graph = createSchemaOrgGraph();
2159
2159
  },
2160
2160
  "tag:normalise": async ({ tag }) => {
2161
- if (tag.key === "schema-org-graph") {
2161
+ if (tag.key === "schema-org-graph" || tag.props.id === "schema-org-graph") {
2162
2162
  const { loadResolver } = await Promise.resolve().then(function () { return resolver; });
2163
2163
  const nodes = await tag.props.nodes;
2164
2164
  for (const node of Array.isArray(nodes) ? nodes : [nodes]) {
@@ -2160,7 +2160,7 @@ function SchemaOrgUnheadPlugin(config, meta, options) {
2160
2160
  graph = createSchemaOrgGraph();
2161
2161
  },
2162
2162
  "tag:normalise": async ({ tag }) => {
2163
- if (tag.key === "schema-org-graph") {
2163
+ if (tag.key === "schema-org-graph" || tag.props.id === "schema-org-graph") {
2164
2164
  const { loadResolver } = await Promise.resolve().then(function () { return resolver; });
2165
2165
  const nodes = await tag.props.nodes;
2166
2166
  for (const node of Array.isArray(nodes) ? nodes : [nodes]) {
package/dist/vue.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const plugin = require('./shared/schema-org.41752c29.cjs');
3
+ const plugin = require('./shared/schema-org.99ac1ebf.cjs');
4
4
  const vue = require('vue');
5
5
  const vue$1 = require('@unhead/vue');
6
6
  require('ufo');
package/dist/vue.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnheadSchemaOrg } from './shared/schema-org.08cc2a54.mjs';
2
- export { a1 as PluginSchemaOrg, a2 as SchemaOrgUnheadPlugin } from './shared/schema-org.08cc2a54.mjs';
1
+ import { U as UnheadSchemaOrg } from './shared/schema-org.7698b7cd.mjs';
2
+ export { a1 as PluginSchemaOrg, a2 as SchemaOrgUnheadPlugin } from './shared/schema-org.7698b7cd.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.0-beta.1",
4
+ "version": "1.11.0-beta.2",
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",
@@ -49,10 +49,10 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "unplugin-vue-components": "^0.27.4",
52
- "@unhead/schema": "1.11.0-beta.1",
53
- "@unhead/shared": "1.11.0-beta.1",
54
- "@unhead/vue": "1.11.0-beta.1",
55
- "unhead": "1.11.0-beta.1"
52
+ "@unhead/schema": "1.11.0-beta.2",
53
+ "@unhead/shared": "1.11.0-beta.2",
54
+ "unhead": "1.11.0-beta.2",
55
+ "@unhead/vue": "1.11.0-beta.2"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "unbuild .",