nuxt-link-checker 4.2.0 → 4.3.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.
Files changed (61) hide show
  1. package/dist/client/200.html +12 -12
  2. package/dist/client/404.html +12 -12
  3. package/dist/client/_nuxt/3w_68AFy.js +1 -0
  4. package/dist/client/_nuxt/BMMyXqK5.js +1 -0
  5. package/dist/client/_nuxt/Cp-IABpG.js +1 -0
  6. package/dist/client/_nuxt/DhVqxY3H.js +1 -0
  7. package/dist/client/_nuxt/Dt-P3YVb.js +181 -0
  8. package/dist/client/_nuxt/{BFWaZzNn.js → Qizr_0i3.js} +1 -1
  9. package/dist/client/_nuxt/builds/latest.json +1 -1
  10. package/dist/client/_nuxt/builds/meta/f6a7da00-2cca-4db0-b8d5-690f99691ca5.json +1 -0
  11. package/dist/client/_nuxt/{entry.xKNhWsNM.css → entry.ycyXFUel.css} +1 -1
  12. package/dist/client/_nuxt/error-404.uLshya7R.css +1 -0
  13. package/dist/client/_nuxt/error-500.Dm5awy8c.css +1 -0
  14. package/dist/client/_nuxt/wWkaIY0j.js +1 -0
  15. package/dist/client/index.html +12 -12
  16. package/dist/module.d.mts +2 -1
  17. package/dist/module.json +3 -3
  18. package/dist/module.mjs +222 -46
  19. package/dist/runtime/app/plugins/view/Main.vue +20 -28
  20. package/dist/runtime/app/plugins/view/Main.vue.d.ts +9 -0
  21. package/dist/runtime/app/plugins/view/Squiggle.vue +16 -20
  22. package/dist/runtime/app/plugins/view/Squiggle.vue.d.ts +7 -0
  23. package/dist/runtime/server/content-compat.d.ts +1 -0
  24. package/dist/runtime/server/content-compat.js +2 -0
  25. package/dist/runtime/server/providers/content-v3.d.ts +5 -1
  26. package/dist/runtime/server/providers/content-v3.js +2 -2
  27. package/dist/runtime/server/routes/__link-checker__/inspect.d.ts +1 -1
  28. package/dist/runtime/shared/crawl.d.ts +10 -6
  29. package/dist/runtime/shared/crawl.js +37 -10
  30. package/dist/runtime/shared/inspections/absolute-site-urls.d.ts +1 -1
  31. package/dist/runtime/shared/inspections/link-text.d.ts +1 -1
  32. package/dist/runtime/shared/inspections/missing-hash.d.ts +1 -1
  33. package/dist/runtime/shared/inspections/no-baseless.d.ts +1 -1
  34. package/dist/runtime/shared/inspections/no-double-slashes.d.ts +1 -1
  35. package/dist/runtime/shared/inspections/no-duplicate-query-params.d.ts +1 -1
  36. package/dist/runtime/shared/inspections/no-error-response.d.ts +1 -1
  37. package/dist/runtime/shared/inspections/no-error-response.js +1 -1
  38. package/dist/runtime/shared/inspections/no-javascript.d.ts +1 -1
  39. package/dist/runtime/shared/inspections/no-missing-href.d.ts +1 -1
  40. package/dist/runtime/shared/inspections/no-non-ascii-chars.d.ts +1 -1
  41. package/dist/runtime/shared/inspections/no-underscores.d.ts +1 -1
  42. package/dist/runtime/shared/inspections/no-uppercase-chars.d.ts +1 -1
  43. package/dist/runtime/shared/inspections/no-whitespace.d.ts +1 -1
  44. package/dist/runtime/shared/inspections/trailing-slash.d.ts +1 -1
  45. package/dist/runtime/shared/inspections/util.js +2 -1
  46. package/dist/runtime/shared/redirects.d.ts +1 -1
  47. package/dist/runtime/shared/redirects.js +1 -1
  48. package/dist/types.d.mts +4 -2
  49. package/package.json +39 -32
  50. package/dist/client/_nuxt/5p_Oaa9g.js +0 -181
  51. package/dist/client/_nuxt/B9GrqE__.js +0 -1
  52. package/dist/client/_nuxt/BGB1r09n.js +0 -1
  53. package/dist/client/_nuxt/BLmTiKMJ.js +0 -1
  54. package/dist/client/_nuxt/Cj6XDDRd.js +0 -1
  55. package/dist/client/_nuxt/DFxyEsuO.js +0 -1
  56. package/dist/client/_nuxt/builds/meta/cdbc357b-6180-4103-97aa-19c53e0b9c3c.json +0 -1
  57. package/dist/client/_nuxt/error-404.C6U-TOR-.css +0 -1
  58. package/dist/client/_nuxt/error-500.BAgFwF30.css +0 -1
  59. package/dist/module.cjs +0 -5
  60. package/dist/module.d.ts +0 -92
  61. package/dist/types.d.ts +0 -7
@@ -1 +0,0 @@
1
- .spotlight[data-v-f528cf30]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);bottom:-30vh;filter:blur(20vh);height:40vh}.gradient-border[data-v-f528cf30]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;position:relative}@media (prefers-color-scheme:light){.gradient-border[data-v-f528cf30]{background-color:#ffffff4d}.gradient-border[data-v-f528cf30]:before{background:linear-gradient(90deg,#e2e2e2,#e2e2e2 25%,#00dc82,#36e4da 75%,#0047e1)}}@media (prefers-color-scheme:dark){.gradient-border[data-v-f528cf30]{background-color:#1414144d}.gradient-border[data-v-f528cf30]:before{background:linear-gradient(90deg,#303030,#303030 25%,#00dc82,#36e4da 75%,#0047e1)}}.gradient-border[data-v-f528cf30]:before{background-size:400% auto;border-radius:.5rem;bottom:0;content:"";left:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;padding:2px;position:absolute;right:0;top:0;transition:background-position .3s ease-in-out,opacity .2s ease-in-out;width:100%}.gradient-border[data-v-f528cf30]:hover:before{background-position:-50% 0;opacity:1}.fixed[data-v-f528cf30]{position:fixed}.left-0[data-v-f528cf30]{left:0}.right-0[data-v-f528cf30]{right:0}.z-10[data-v-f528cf30]{z-index:10}.z-20[data-v-f528cf30]{z-index:20}.grid[data-v-f528cf30]{display:grid}.mb-16[data-v-f528cf30]{margin-bottom:4rem}.mb-8[data-v-f528cf30]{margin-bottom:2rem}.max-w-520px[data-v-f528cf30]{max-width:520px}.min-h-screen[data-v-f528cf30]{min-height:100vh}.w-full[data-v-f528cf30]{width:100%}.flex[data-v-f528cf30]{display:flex}.cursor-pointer[data-v-f528cf30]{cursor:pointer}.place-content-center[data-v-f528cf30]{place-content:center}.items-center[data-v-f528cf30]{align-items:center}.justify-center[data-v-f528cf30]{justify-content:center}.overflow-hidden[data-v-f528cf30]{overflow:hidden}.bg-white[data-v-f528cf30]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-4[data-v-f528cf30]{padding-left:1rem;padding-right:1rem}.px-8[data-v-f528cf30]{padding-left:2rem;padding-right:2rem}.py-2[data-v-f528cf30]{padding-bottom:.5rem;padding-top:.5rem}.text-center[data-v-f528cf30]{text-align:center}.text-8xl[data-v-f528cf30]{font-size:6rem;line-height:1}.text-xl[data-v-f528cf30]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-f528cf30]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-f528cf30]{font-weight:300}.font-medium[data-v-f528cf30]{font-weight:500}.leading-tight[data-v-f528cf30]{line-height:1.25}.font-sans[data-v-f528cf30]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-f528cf30]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-f528cf30]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-f528cf30]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-f528cf30]{padding-left:0;padding-right:0}.sm\:px-6[data-v-f528cf30]{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3[data-v-f528cf30]{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-4xl[data-v-f528cf30]{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl[data-v-f528cf30]{font-size:1.25rem;line-height:1.75rem}}
@@ -1 +0,0 @@
1
- .spotlight[data-v-cde629f8]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);filter:blur(20vh)}.fixed[data-v-cde629f8]{position:fixed}.-bottom-1\/2[data-v-cde629f8]{bottom:-50%}.left-0[data-v-cde629f8]{left:0}.right-0[data-v-cde629f8]{right:0}.grid[data-v-cde629f8]{display:grid}.mb-16[data-v-cde629f8]{margin-bottom:4rem}.mb-8[data-v-cde629f8]{margin-bottom:2rem}.h-1\/2[data-v-cde629f8]{height:50%}.max-w-520px[data-v-cde629f8]{max-width:520px}.min-h-screen[data-v-cde629f8]{min-height:100vh}.place-content-center[data-v-cde629f8]{place-content:center}.overflow-hidden[data-v-cde629f8]{overflow:hidden}.bg-white[data-v-cde629f8]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-8[data-v-cde629f8]{padding-left:2rem;padding-right:2rem}.text-center[data-v-cde629f8]{text-align:center}.text-8xl[data-v-cde629f8]{font-size:6rem;line-height:1}.text-xl[data-v-cde629f8]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-cde629f8]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-cde629f8]{font-weight:300}.font-medium[data-v-cde629f8]{font-weight:500}.leading-tight[data-v-cde629f8]{line-height:1.25}.font-sans[data-v-cde629f8]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-cde629f8]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-cde629f8]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-cde629f8]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-cde629f8]{padding-left:0;padding-right:0}.sm\:text-4xl[data-v-cde629f8]{font-size:2.25rem;line-height:2.5rem}}
package/dist/module.cjs DELETED
@@ -1,5 +0,0 @@
1
- module.exports = function(...args) {
2
- return import('./module.mjs').then(m => m.default.call(this, ...args))
3
- }
4
- const _meta = module.exports.meta = require('./module.json')
5
- module.exports.getMeta = () => Promise.resolve(_meta)
package/dist/module.d.ts DELETED
@@ -1,92 +0,0 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
2
- import { CreateStorageOptions } from 'unstorage';
3
-
4
- interface ModuleOptions {
5
- /**
6
- * Whether the build should fail when a 404 is encountered.
7
- */
8
- failOnError: boolean;
9
- /**
10
- * Skip specific inspections from running.
11
- */
12
- skipInspections: string[];
13
- /**
14
- * The timeout for fetching a URL.
15
- *
16
- * @default 5000
17
- */
18
- fetchTimeout: number;
19
- /**
20
- * Links to ignore when running inspections.
21
- */
22
- excludeLinks: string[];
23
- /**
24
- * Generate a report when using nuxt build` or `nuxt generate`.
25
- */
26
- report?: {
27
- /**
28
- * Whether to output a HTML report.
29
- */
30
- html?: boolean;
31
- /**
32
- * Whether to output a JSON report.
33
- */
34
- markdown?: boolean;
35
- /**
36
- * Whether to output a JSON report.
37
- */
38
- json?: boolean;
39
- /**
40
- * Where to store the files.
41
- *
42
- * Either provide a path relative to the nuxt root or an object with options for `unstorage`.
43
- *
44
- * By default, they'll be in your .output directory.
45
- */
46
- storage?: string | CreateStorageOptions;
47
- /**
48
- * Whether to publish the reports with the build.
49
- *
50
- * By default, will output files at `.output/public/__link-checker__/link-checker-report.<format>`.
51
- */
52
- publish?: boolean;
53
- };
54
- /**
55
- * Whether to show live inspections in your Nuxt app.
56
- */
57
- showLiveInspections: boolean;
58
- /**
59
- * Whether to run the module on `nuxt build` or `nuxt generate`.
60
- */
61
- runOnBuild: boolean;
62
- /**
63
- * Should remote URLs be fetched.
64
- *
65
- * @default false
66
- */
67
- fetchRemoteUrls: boolean;
68
- /**
69
- * Enable when your nuxt/content files match your pages. This will automatically detect link sources
70
- * for the current page.
71
- *
72
- * This is the same behavior to using `nuxt/content` with `documentDriven: true`.
73
- */
74
- strictNuxtContentPaths: boolean;
75
- /**
76
- * Whether the module is enabled.
77
- *
78
- * @default true
79
- */
80
- enabled: boolean;
81
- /**
82
- * Display debug information.
83
- *
84
- * @default false
85
- */
86
- debug: boolean;
87
- }
88
- interface ModuleHooks {
89
- }
90
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
91
-
92
- export { type ModuleHooks, type ModuleOptions, _default as default };
package/dist/types.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { ModuleHooks } from './module'
2
-
3
- declare module '@nuxt/schema' {
4
- interface NuxtHooks extends ModuleHooks {}
5
- }
6
-
7
- export { type ModuleHooks, type ModuleOptions, default } from './module'