nuxt-seo-utils 7.0.13 → 7.0.15

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.
Files changed (34) hide show
  1. package/package.json +21 -21
  2. package/dist/module.d.mts +0 -115
  3. package/dist/module.json +0 -12
  4. package/dist/module.mjs +0 -547
  5. package/dist/runtime/app/composables/polyfills.d.ts +0 -11
  6. package/dist/runtime/app/composables/polyfills.js +0 -27
  7. package/dist/runtime/app/composables/useBreadcrumbItems.d.ts +0 -112
  8. package/dist/runtime/app/composables/useBreadcrumbItems.js +0 -196
  9. package/dist/runtime/app/logic/applyDefaults.d.ts +0 -1
  10. package/dist/runtime/app/logic/applyDefaults.js +0 -78
  11. package/dist/runtime/app/plugins/0.routeRules.d.ts +0 -2
  12. package/dist/runtime/app/plugins/0.routeRules.js +0 -24
  13. package/dist/runtime/app/plugins/1.absoluteImageUrls.server.d.ts +0 -2
  14. package/dist/runtime/app/plugins/1.absoluteImageUrls.server.js +0 -33
  15. package/dist/runtime/app/plugins/defaults.d.ts +0 -2
  16. package/dist/runtime/app/plugins/defaults.js +0 -12
  17. package/dist/runtime/app/plugins/defaultsWaitI18n.d.ts +0 -2
  18. package/dist/runtime/app/plugins/defaultsWaitI18n.js +0 -13
  19. package/dist/runtime/app/plugins/inferSeoMetaPlugin.d.ts +0 -2
  20. package/dist/runtime/app/plugins/inferSeoMetaPlugin.js +0 -11
  21. package/dist/runtime/app/plugins/siteConfig.d.ts +0 -2
  22. package/dist/runtime/app/plugins/siteConfig.js +0 -33
  23. package/dist/runtime/app/plugins/titles.d.ts +0 -2
  24. package/dist/runtime/app/plugins/titles.js +0 -30
  25. package/dist/runtime/server/middleware/redirectCanonical.d.ts +0 -2
  26. package/dist/runtime/server/middleware/redirectCanonical.js +0 -28
  27. package/dist/runtime/server/middleware/resolveImagesInPagesDir.d.ts +0 -2
  28. package/dist/runtime/server/middleware/resolveImagesInPagesDir.js +0 -16
  29. package/dist/runtime/server/tsconfig.json +0 -3
  30. package/dist/runtime/shared/breadcrumbs.d.ts +0 -1
  31. package/dist/runtime/shared/breadcrumbs.js +0 -18
  32. package/dist/runtime/types.d.ts +0 -6
  33. package/dist/runtime/types.js +0 -0
  34. package/dist/types.d.mts +0 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-seo-utils",
3
3
  "type": "module",
4
- "version": "7.0.13",
4
+ "version": "7.0.15",
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",
@@ -32,43 +32,43 @@
32
32
  ]
33
33
  },
34
34
  "dependencies": {
35
- "@nuxt/kit": "^4.0.0",
36
- "@unhead/addons": "^2.0.12",
35
+ "@nuxt/kit": "^4.1.2",
36
+ "@unhead/addons": "^2.0.14",
37
37
  "defu": "^6.1.4",
38
38
  "escape-string-regexp": "^5.0.0",
39
39
  "fast-glob": "^3.3.3",
40
40
  "image-size": "^2.0.2",
41
- "nuxt-site-config": "^3.2.2",
41
+ "nuxt-site-config": "^3.2.5",
42
42
  "pathe": "^2.0.3",
43
- "pkg-types": "^2.2.0",
43
+ "pkg-types": "^2.3.0",
44
44
  "scule": "^1.3.0",
45
45
  "semver": "^7.7.2",
46
46
  "ufo": "^1.6.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@antfu/eslint-config": "^4.17.0",
50
- "@nuxt/module-builder": "^1.0.1",
51
- "@nuxt/schema": "^4.0.0",
49
+ "@antfu/eslint-config": "^5.3.0",
50
+ "@nuxt/module-builder": "^1.0.2",
51
+ "@nuxt/schema": "^4.1.2",
52
52
  "@nuxt/test-utils": "^3.19.2",
53
- "@nuxt/ui": "^3.2.0",
53
+ "@nuxt/ui": "^3.3.4",
54
54
  "@nuxtjs/eslint-config-typescript": "^12.1.0",
55
- "@nuxtjs/i18n": "^10.0.0",
56
- "@types/node": "^24.0.15",
57
- "@unhead/vue": "^2.0.12",
55
+ "@nuxtjs/i18n": "^10.1.0",
56
+ "@types/node": "^24.5.1",
57
+ "@unhead/vue": "^2.0.14",
58
58
  "@vue/test-utils": "^2.4.6",
59
- "bumpp": "^10.2.0",
59
+ "bumpp": "^10.2.3",
60
60
  "case-police": "^2.0.0",
61
- "cheerio": "^1.1.0",
62
- "eslint": "^9.31.0",
61
+ "cheerio": "^1.1.2",
62
+ "eslint": "^9.35.0",
63
63
  "happy-dom": "^18.0.1",
64
64
  "markdownlint-cli": "^0.45.0",
65
- "nuxt": "^4.0.0",
65
+ "nuxt": "^4.1.2",
66
66
  "nuxt-content-twoslash": "^0.1.2",
67
- "playwright-core": "^1.54.1",
68
- "sass": "^1.89.2",
69
- "typescript": "^5.8.3",
67
+ "playwright-core": "^1.55.0",
68
+ "sass": "^1.92.1",
69
+ "typescript": "^5.9.2",
70
70
  "vitest": "^3.2.4",
71
- "vue-tsc": "^3.0.3"
71
+ "vue-tsc": "^3.0.7"
72
72
  },
73
73
  "scripts": {
74
74
  "lint": "eslint . --fix",
@@ -78,7 +78,7 @@
78
78
  "dev:build": "nuxi build playground",
79
79
  "typecheck": "vue-tsc --noEmit",
80
80
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/i18n",
81
- "release": "pnpm build && bumpp -x \"npx changelogen --output=CHANGELOG.log\" && pnpm publish",
81
+ "release": "pnpm build && bumpp -x \"npx changelogen --output=CHANGELOG.md\"",
82
82
  "lint:docs": "markdownlint ./docs/content && case-police 'docs/content/**/*.md' *.md",
83
83
  "lint:docs:fix": "markdownlint ./docs/content --fix && case-police 'docs/content/**/*.md' *.md --fix",
84
84
  "twoslash:verify": "nuxt-content-twoslash verify --content-dir docs/content",
package/dist/module.d.mts DELETED
@@ -1,115 +0,0 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
2
- import { MetaFlatSerializable } from '../dist/runtime/types.js';
3
-
4
- interface ModuleOptions {
5
- /**
6
- * Whether the SEO experiements should run.
7
- *
8
- * @default true
9
- */
10
- enabled: boolean;
11
- /**
12
- * Should the files in the public directory be used to infer tags such as favicon, apple-touch-icon, and
13
- * open graph images.
14
- *
15
- * @default true
16
- */
17
- metaDataFiles: boolean;
18
- /**
19
- * Should head data be inferred from the current input to fill in the gaps.
20
- *
21
- * For example:
22
- * - If you supply a title, this will automatically add an og:title.
23
- * - If you provide an og:image, it will automatically add a twitter:image.
24
- *
25
- * @default true
26
- */
27
- automaticOgAndTwitterTags: boolean;
28
- /**
29
- * Attempts to treeshake the `useSeoMeta` function. Can save around 5kb in the client bundle.
30
- *
31
- * @default true
32
- */
33
- treeShakeUseSeoMeta: boolean;
34
- /**
35
- * Injects site config into the `useHead` composable such as setting the title template
36
- *
37
- * @default true
38
- */
39
- mergeWithSiteConfig: boolean;
40
- /**
41
- * Adds `head` and `seoMeta` to the route rules and app config.
42
- *
43
- * @default true
44
- */
45
- extendRouteRules: boolean;
46
- /**
47
- * Tries to convert relative image paths to absolute paths in meta tags.
48
- *
49
- * @default true
50
- */
51
- fixRequiredAbsoluteMetaTagsLinks: boolean;
52
- /**
53
- * Extends the `head` in the Nuxt config with the `seoMeta` object.
54
- *
55
- * @default true
56
- */
57
- extendNuxtConfigAppHeadSeoMeta: boolean;
58
- /**
59
- * Augments the head schema with `/public` files making it easier to reference them in the head.
60
- *
61
- * @default true
62
- */
63
- extendNuxtConfigAppHeadTypes: boolean;
64
- /**
65
- * @dead
66
- */
67
- setupNuxtConfigAppHeadWithMoreDefaults: boolean;
68
- /**
69
- * Will ensure a title is always set by providing a fallback title based on the casing the last slug segment.
70
- *
71
- * @default true
72
- */
73
- fallbackTitle?: boolean;
74
- /**
75
- * Will set up a number of defaults for meta tags and Schema.org, if the modules and config are available.
76
- *
77
- * @default true
78
- */
79
- automaticDefaults?: boolean;
80
- /**
81
- * When enabled, it will whitelist the query parameters that are allowed in the canonical URL.
82
- */
83
- canonicalQueryWhitelist?: string[];
84
- /**
85
- * When enabled, it will lowercase the canonical URL.
86
- *
87
- * @default true
88
- */
89
- canonicalLowercase?: boolean;
90
- /**
91
- * When enabled, it will redirect any request to the canonical domain (site url) using a 301 redirect on non-dev environments.
92
- *
93
- * E.g if the site url is 'www.example.com' and the user visits 'example.com',
94
- * they will be redirected to 'www.example.com'.
95
- *
96
- * This is useful for SEO as it prevents duplicate content and consolidates page rank.
97
- *
98
- * @default false
99
- */
100
- redirectToCanonicalSiteUrl?: boolean;
101
- /**
102
- * The SEO meta object to be used as defaults.
103
- */
104
- meta: MetaFlatSerializable;
105
- /**
106
- * Enables debug logs and a debug endpoint.
107
- *
108
- * @default false
109
- */
110
- debug: boolean;
111
- }
112
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
113
-
114
- export { _default as default };
115
- export type { ModuleOptions };
package/dist/module.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "name": "nuxt-seo-utils",
3
- "configKey": "seo",
4
- "compatibility": {
5
- "nuxt": ">=3.16.0"
6
- },
7
- "version": "7.0.12",
8
- "builder": {
9
- "@nuxt/module-builder": "1.0.1",
10
- "unbuild": "3.5.0"
11
- }
12
- }