nuxt-link-checker 2.0.0 → 2.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/README.md CHANGED
@@ -14,20 +14,15 @@ Find and magically fix links that may be negatively effecting your Nuxt sites SE
14
14
  </p>
15
15
 
16
16
  <p align="center">
17
- <table width="100%">
18
- <thead>
19
- <tr>
20
- <th width="800px">
21
- <p style="font-weight: 400;">
22
- <i>Status:</i> <a href="https://nuxtseo.com/link-checker/releases/v2">v2 Released</a> 🎉</b>
23
- </p>
24
- <p style="font-weight: 400;">
25
- <sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program 💖</a><br> Keep up to date <a href="https://twitter.com/harlan_zw">@harlan_zw</a> 🐦 • Free support <a href="https://discord.gg/275MBUBvgP">Discord</a></sub><br>
26
- </p>
27
- </th>
28
- </tr>
29
- </thead>
17
+ <table>
30
18
  <tbody>
19
+ <td align="center">
20
+ <img width="800" height="0" /><br>
21
+ <i>Status:</i> <a href="https://nuxtseo.com/link-checker/releases/v2">v2 Released</a> 🎉</b> <br>
22
+ <sup> Please report any issues 🐛</sup><br>
23
+ <sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program 💖</a><br> Follow me <a href="https://twitter.com/harlan_zw">@harlan_zw</a> 🐦 • Join <a href="https://discord.gg/275MBUBvgP">Discord</a> for help</sub><br>
24
+ <img width="800" height="0" />
25
+ </td>
31
26
  </tbody>
32
27
  </table>
33
28
  </p>
package/dist/module.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "bridge": false
6
6
  },
7
7
  "configKey": "linkChecker",
8
- "version": "2.0.0"
8
+ "version": "2.0.2"
9
9
  }
package/dist/module.mjs CHANGED
@@ -525,9 +525,7 @@ function setupDevToolsUI(options, resolve, nuxt = useNuxt()) {
525
525
  ws.send("nuxt-link-checker:reset");
526
526
  },
527
527
  async applyLinkFixes(filepath, original, replacement) {
528
- filepath = resolve(filepath);
529
- if (!filepath.startsWith(nuxt.options.rootDir))
530
- return;
528
+ filepath = resolve(nuxt.options.rootDir, filepath);
531
529
  const contents = await readFile(filepath, "utf8");
532
530
  const diff = generateLinkDiff(contents, original, replacement);
533
531
  await writeFile(filepath, diff.code, "utf8");
@@ -39,6 +39,8 @@ const position = computed(() => {
39
39
  background-size: 8px 2px;
40
40
  background-position:0 100%;
41
41
  transition: 0.2s;
42
+ background-color: transparent;
43
+ border: none;
42
44
  }
43
45
  .squiggle:hover {
44
46
  /* do hover effect with bg image */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-link-checker",
3
3
  "type": "module",
4
- "version": "2.0.0",
4
+ "version": "2.0.2",
5
5
  "packageManager": "pnpm@8.6.11",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",