cspell-tools
Advanced tools
Comparing version 5.0.1-alpha.3 to 5.0.1-alpha.5
"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"); | ||
@@ -67,3 +68,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')) | ||
.then(content => content.split(/\r?\n/g)); | ||
@@ -106,3 +107,2 @@ return lines; | ||
} | ||
const regNotLower = /[^a-z+!~]/; | ||
function* _stripCaseAndAccents(words) { | ||
@@ -109,0 +109,0 @@ for (const word of words) { |
@@ -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": "5.0.1-alpha.3", | ||
"version": "5.0.1-alpha.5", | ||
"description": "Tools to assist with the development of cSpell", | ||
@@ -43,6 +43,6 @@ "typings": "dist/index.d.ts", | ||
"commander": "^4.0.1", | ||
"cspell-io": "^5.0.1-alpha.3", | ||
"cspell-trie-lib": "^5.0.1-alpha.3", | ||
"cspell-util-bundle": "^5.0.1-alpha.3", | ||
"fs-extra": "^9.0.0", | ||
"cspell-io": "^5.0.1-alpha.5", | ||
"cspell-trie-lib": "^5.0.1-alpha.5", | ||
"cspell-util-bundle": "^5.0.1-alpha.5", | ||
"fs-extra": "^9.0.1", | ||
"gensequence": "^3.1.1", | ||
@@ -75,3 +75,3 @@ "glob": "^7.1.6", | ||
}, | ||
"gitHead": "efceae2801b83dd00d976926ddaf29069ac97a23" | ||
"gitHead": "e3c554df4c7bdedd2dd71c72d87563ee44067e49" | ||
} |
# cSpell-Tools | ||
[![Build Status](https://travis-ci.org/streetsidesoftware/cspell.svg?branch=master)](https://travis-ci.org/streetsidesoftware/cspell) | ||
Tools used to assist cSpell Development. | ||
@@ -6,0 +4,0 @@ |
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
26616
509
38
Updatedcspell-io@^5.0.1-alpha.5
Updatedfs-extra@^9.0.1