cspell-trie 7.0.0-alpha.1 → 7.0.0

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 (2) hide show
  1. package/dist/app.js +1 -1
  2. package/package.json +5 -5
package/dist/app.js CHANGED
@@ -55,7 +55,7 @@ export async function run(program, argv) {
55
55
  const pOutputStream = createWriteStream(outputFile);
56
56
  const lines = await fileToLines(filename);
57
57
  const root = Trie.importTrie(lines);
58
- const words = Trie.iteratorTrieWords(root);
58
+ const words = genSequence(Trie.iteratorTrieWords(root));
59
59
  const outputStream = await pOutputStream;
60
60
  return new Promise((resolve) => {
61
61
  stream.Readable.from(words.map((a) => a + '\n'))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cspell-trie",
3
- "version": "7.0.0-alpha.1",
3
+ "version": "7.0.0",
4
4
  "description": "Trie Data Structure reader for cspell",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,7 +16,7 @@
16
16
  "!**/*.map"
17
17
  ],
18
18
  "scripts": {
19
- "clean": "shx rm -rf dist temp coverage",
19
+ "clean": "shx rm -rf dist temp coverage \"*.tsbuildInfo\"",
20
20
  "build": "tsc -p .",
21
21
  "clean-build": "pnpm run clean && pnpm run build",
22
22
  "coverage": "pnpm coverage:vitest && pnpm coverage:fix",
@@ -41,12 +41,12 @@
41
41
  },
42
42
  "homepage": "https://github.com/streetsidesoftware/cspell#readme",
43
43
  "dependencies": {
44
- "commander": "^10.0.0",
45
- "cspell-trie-lib": "7.0.0-alpha.1",
44
+ "commander": "^10.0.1",
45
+ "cspell-trie-lib": "7.0.0",
46
46
  "gensequence": "^5.0.2"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=16"
50
50
  },
51
- "gitHead": "626d1a01b413c1b6de0b386a5a264b78a10ba146"
51
+ "gitHead": "52960d5ed75655978f9b633f44fd106937a63cd7"
52
52
  }