nuxt-seo-utils 8.0.1 → 8.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/cli.mjs CHANGED
@@ -8,7 +8,7 @@ import { colors } from 'consola/utils';
8
8
  import { resolve } from 'pathe';
9
9
 
10
10
  const name = "nuxt-seo-utils";
11
- const version = "8.0.1";
11
+ const version = "8.0.2";
12
12
  const description = "SEO utilities to improve your Nuxt sites discoverability and shareability";
13
13
 
14
14
  const ICON_SIZES = [
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
- "version": "8.0.1",
7
+ "version": "8.0.2",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -745,8 +745,11 @@ export {}
745
745
  addPlugin({ src: resolve(appRuntimeDir, "plugins", "siteConfig") });
746
746
  if (config.extendRouteRules)
747
747
  addPlugin({ src: resolve(appRuntimeDir, "plugins", "0.routeRules") });
748
- if (config.fixRequiredAbsoluteMetaTagsLinks)
748
+ if (config.fixRequiredAbsoluteMetaTagsLinks) {
749
749
  addPlugin({ src: resolve(appRuntimeDir, "plugins", "1.absoluteImageUrls.server"), mode: "server" });
750
+ if (nuxt.options.dev)
751
+ addPlugin({ src: resolve(appRuntimeDir, "plugins", "1.absoluteImageUrls.server"), mode: "client" });
752
+ }
750
753
  if (!nuxt.options.dev && config.minify) {
751
754
  const minifyOpts = config.minify === true ? { build: true, runtime: true } : config.minify;
752
755
  if (minifyOpts.runtime !== false) {
@@ -20,7 +20,7 @@ export default defineNuxtPlugin({
20
20
  for (const tag of tags) {
21
21
  if (tag.tag !== "meta")
22
22
  continue;
23
- if (tag.props.property !== "og:image:url" && tag.props.property !== "og:image" && tag.props.name !== "twitter:image")
23
+ if (tag.props.property !== "og:image:url" && tag.props.property !== "og:image" && tag.props.name !== "twitter:image" && tag.props.name !== "twitter:image:src")
24
24
  continue;
25
25
  if (typeof tag.props.content !== "string" || !tag.props.content.trim() || tag.props.content.startsWith("http") || tag.props.content.startsWith("//"))
26
26
  continue;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-seo-utils",
3
3
  "type": "module",
4
- "version": "8.0.1",
4
+ "version": "8.0.2",
5
5
  "description": "SEO utilities to improve your Nuxt sites discoverability and shareability",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",
@@ -53,16 +53,16 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@nuxt/devtools-kit": "^3.2.4",
56
+ "@nuxt/devtools-kit": "4.0.0-alpha.3",
57
57
  "@nuxt/kit": "^4.4.2",
58
58
  "@unhead/addons": "^2.1.12",
59
59
  "citty": "^0.2.1",
60
60
  "defu": "^6.1.4",
61
61
  "escape-string-regexp": "^5.0.0",
62
62
  "image-size": "^2.0.2",
63
- "nuxt-site-config": "^4.0.1",
64
- "nuxtseo-layer-devtools": "^0.3.0",
65
- "nuxtseo-shared": "^0.7.0",
63
+ "nuxt-site-config": "^4.0.2",
64
+ "nuxtseo-layer-devtools": "^0.3.1",
65
+ "nuxtseo-shared": "^0.7.1",
66
66
  "pathe": "^2.0.3",
67
67
  "pkg-types": "^2.3.0",
68
68
  "scule": "^1.3.0",
@@ -107,7 +107,7 @@
107
107
  "build:client": "nuxt generate devtools",
108
108
  "dev": "nuxt dev playground",
109
109
  "devtools": "nuxt dev devtools --port 3030",
110
- "dev:prepare": "nuxt-module-build prepare && nuxt prepare playground && pnpm prepare:fixtures",
110
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && pnpm prepare:fixtures",
111
111
  "stub": "nuxt-module-build build --stub && nuxt-module-build prepare",
112
112
  "lint": "eslint .",
113
113
  "lint:fix": "eslint . --fix",