cspell-tools
Advanced tools
Comparing version 4.1.15 to 4.2.0
"use strict"; | ||
// For large dictionaries, it is necessary to increase the memory limit. | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.run = void 0; | ||
const compiler_1 = require("./compiler"); | ||
@@ -5,0 +6,0 @@ const compiler = require("./compiler"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.writeSeqToFile = void 0; | ||
const cspell_io_1 = require("cspell-io"); | ||
var cspell_io_2 = require("cspell-io"); | ||
exports.writeToFile = cspell_io_2.writeToFile; | ||
exports.writeToFileIterableP = cspell_io_2.writeToFileIterableP; | ||
exports.writeToFileIterable = cspell_io_2.writeToFileIterable; | ||
Object.defineProperty(exports, "writeToFile", { enumerable: true, get: function () { return cspell_io_2.writeToFile; } }); | ||
Object.defineProperty(exports, "writeToFileIterableP", { enumerable: true, get: function () { return cspell_io_2.writeToFileIterableP; } }); | ||
Object.defineProperty(exports, "writeToFileIterable", { enumerable: true, get: function () { return cspell_io_2.writeToFileIterable; } }); | ||
function writeSeqToFile(seq, outFile) { | ||
@@ -9,0 +10,0 @@ return cspell_io_1.writeToFileIterableP(outFile, seq); |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./wordListCompiler")); | ||
__exportStar(require("./wordListCompiler"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.streamWordsFromFile = void 0; | ||
const Reader_1 = require("./Reader"); | ||
@@ -4,0 +5,0 @@ async function streamWordsFromFile(filename, options) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.readHunspellFiles = exports.createArrayReader = exports.createReader = void 0; | ||
const gensequence_1 = require("gensequence"); | ||
@@ -64,3 +65,3 @@ const HR = require("hunspell-reader"); | ||
.then(buffer => (/\.gz$/).test(filename) ? zlib.gunzipSync(buffer) : buffer) | ||
.then(buffer => buffer.toString('UTF-8')); | ||
.then(buffer => buffer.toString('utf8')); | ||
const lines = content.split('\n'); | ||
@@ -67,0 +68,0 @@ return createArrayReader(lines); |
@@ -5,2 +5,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.splitCamelCaseWord = void 0; | ||
const cspell_util_bundle_1 = require("cspell-util-bundle"); | ||
@@ -7,0 +8,0 @@ const regExUpperSOrIng = cspell_util_bundle_1.xregexp('(\\p{Lu}+\'?(?:s|ing|ies|es|ings|ed|ning))(?!\\p{Ll})', 'g'); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.compileTrie = exports.consolidate = exports.normalizeWordsToTrie = exports.compileWordList = exports.lineToWords = exports.normalizeWords = exports.setLogger = void 0; | ||
const cspell_util_bundle_1 = require("cspell-util-bundle"); | ||
@@ -4,0 +5,0 @@ const gensequence_1 = require("gensequence"); |
{ | ||
"name": "cspell-tools", | ||
"version": "4.1.15", | ||
"version": "4.2.0", | ||
"description": "Tools to assist with the development of cSpell", | ||
@@ -43,6 +43,6 @@ "typings": "dist/index.d.ts", | ||
"commander": "^4.1.1", | ||
"cspell-io": "^4.0.22", | ||
"cspell-trie-lib": "^4.1.10", | ||
"cspell-util-bundle": "^4.0.12", | ||
"fs-extra": "^9.0.0", | ||
"cspell-io": "^4.1.0", | ||
"cspell-trie-lib": "^4.2.0", | ||
"cspell-util-bundle": "^4.1.0", | ||
"fs-extra": "^9.0.1", | ||
"gensequence": "^3.1.1", | ||
@@ -57,3 +57,3 @@ "glob": "^7.1.6", | ||
}, | ||
"gitHead": "68f792d0df311560b42156a0e71e8b249c753b88" | ||
"gitHead": "51dd14f887ec74a9a6854b0ef5c59c94fc2ac1ff" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24204
479
Updatedcspell-io@^4.1.0
Updatedcspell-trie-lib@^4.2.0
Updatedcspell-util-bundle@^4.1.0
Updatedfs-extra@^9.0.1