@cspell/cspell-tools 8.8.1 → 8.8.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
@@ -52,10 +52,6 @@ The maintainers of cspell and thousands of other packages are working with Tidel
52
52
 
53
53
  ---
54
54
 
55
- <p align="center">
56
- Brought to you by <a href="https://streetsidesoftware.com" title="Street Side Software">
57
- <img width="16" alt="Street Side Software Logo" src="https://i.imgur.com/CyduuVY.png" /> Street Side Software
58
- </a>
59
- </p>
55
+ <p align="center">Brought to you by<a href="https://streetsidesoftware.com" title="Street Side Software"><img width="16" alt="Street Side Software Logo" src="https://i.imgur.com/CyduuVY.png" /> Street Side Software</a></p>
60
56
 
61
57
  <!--- @@inject-end: ../../static/footer.md --->
@@ -36,7 +36,7 @@ export async function checkShasumFile(filename, files, root) {
36
36
  }
37
37
  async function tryToCheckFile(filename, root, checksum) {
38
38
  if (!checksum) {
39
- return { filename, passed: false, error: Error('Missing Checksum.') };
39
+ return { filename, passed: false, error: new Error('Missing Checksum.') };
40
40
  }
41
41
  const file = resolve(root, filename);
42
42
  try {
@@ -44,7 +44,7 @@ async function tryToCheckFile(filename, root, checksum) {
44
44
  return { filename, passed };
45
45
  }
46
46
  catch {
47
- return { filename, passed: false, error: Error('Failed to read file.') };
47
+ return { filename, passed: false, error: new Error('Failed to read file.') };
48
48
  }
49
49
  }
50
50
  const regLine = /([a-f0-9]{40,}) {2}(.*)/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/cspell-tools",
3
- "version": "8.8.1",
3
+ "version": "8.8.2",
4
4
  "description": "Tools to assist with the development of cSpell",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -50,13 +50,13 @@
50
50
  },
51
51
  "homepage": "https://github.com/streetsidesoftware/cspell#readme",
52
52
  "dependencies": {
53
- "@cspell/cspell-pipe": "8.8.1",
54
- "commander": "^12.0.0",
53
+ "@cspell/cspell-pipe": "8.8.2",
54
+ "commander": "^12.1.0",
55
55
  "cosmiconfig": "9.0.0",
56
- "cspell-trie-lib": "8.8.1",
56
+ "cspell-trie-lib": "8.8.2",
57
57
  "gensequence": "^7.0.0",
58
- "glob": "^10.3.14",
59
- "hunspell-reader": "8.8.1",
58
+ "glob": "^10.3.16",
59
+ "hunspell-reader": "8.8.2",
60
60
  "yaml": "^2.4.2"
61
61
  },
62
62
  "engines": {
@@ -68,5 +68,5 @@
68
68
  "ts-json-schema-generator": "^2.1.1"
69
69
  },
70
70
  "module": "bin.mjs",
71
- "gitHead": "6381846ffce8b9a349bfda03262297aa8e301ef5"
71
+ "gitHead": "e82ec807677c040c38b7d5608c8a8d42185d3b24"
72
72
  }