nuxt-seo-utils 8.5.0 → 8.5.1

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
@@ -9,7 +9,7 @@ import { p as pngToIco } from './shared/nuxt-seo-utils.NAV2YNQn.mjs';
9
9
  import 'node:buffer';
10
10
 
11
11
  const name = "nuxt-seo-utils";
12
- const version = "8.5.0";
12
+ const version = "8.5.1";
13
13
  const description = "SEO utilities to improve your Nuxt sites discoverability and shareability";
14
14
 
15
15
  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.5.0",
7
+ "version": "8.5.1",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.3",
10
10
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -377,7 +377,7 @@ function addGeneratedRouteRule(nuxt, route, generatedRule) {
377
377
  nitroRouteRules[route] = defu(nitroRouteRules[route], structuredClone(rule));
378
378
  }
379
379
  async function generateTagsFromPageDirImages(nuxt = useNuxt()) {
380
- const pagesDirs = nuxt.options._layers.map((layer) => resolve(layer.config.rootDir, layer.config.dir?.pages || "pages")).filter((dir) => fs.existsSync(dir));
380
+ const pagesDirs = nuxt.options._layers.map((layer) => resolve(layer.config.srcDir || layer.cwd, layer.config.dir?.pages || "pages")).filter((dir) => fs.existsSync(dir));
381
381
  const appendRouteRules = {};
382
382
  const registeredFiles = /* @__PURE__ */ new Set();
383
383
  const devMiddlewareMap = {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-seo-utils",
3
3
  "type": "module",
4
- "version": "8.5.0",
4
+ "version": "8.5.1",
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",