cspell 6.26.0 → 6.26.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 +1 -1
- package/dist/util/cache/fileEntryCache.js +3 -3
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -417,7 +417,7 @@ const companyName = 'woorxs sweeetbeat';
|
|
|
417
417
|
|
|
418
418
|
### Enable / Disable compound words
|
|
419
419
|
|
|
420
|
-
In some
|
|
420
|
+
In some programming language it is common to glue words together.
|
|
421
421
|
|
|
422
422
|
```c
|
|
423
423
|
// cspell:enableCompoundWords
|
|
@@ -27,10 +27,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.normalizePath = exports.createFromFile = void 0;
|
|
30
|
-
const node_worker_threads_1 = require("node:worker_threads");
|
|
31
30
|
const file_entry_cache = __importStar(require("file-entry-cache"));
|
|
32
31
|
const fs_1 = require("fs");
|
|
33
32
|
const path = __importStar(require("path"));
|
|
33
|
+
const worker_threads_1 = require("worker_threads");
|
|
34
34
|
function createFromFile(pathToCache, useCheckSum, useRelative) {
|
|
35
35
|
const absPathToCache = path.resolve(pathToCache);
|
|
36
36
|
const relDir = path.dirname(absPathToCache);
|
|
@@ -88,11 +88,11 @@ function createFromFile(pathToCache, useCheckSum, useRelative) {
|
|
|
88
88
|
return (...params) => {
|
|
89
89
|
const cwd = process.cwd();
|
|
90
90
|
try {
|
|
91
|
-
|
|
91
|
+
worker_threads_1.isMainThread && process.chdir(relDir);
|
|
92
92
|
return fn(cwd, ...params);
|
|
93
93
|
}
|
|
94
94
|
finally {
|
|
95
|
-
|
|
95
|
+
worker_threads_1.isMainThread && process.chdir(cwd);
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cspell",
|
|
3
|
-
"version": "6.26.
|
|
3
|
+
"version": "6.26.2",
|
|
4
4
|
"description": "A Spelling Checker for Code!",
|
|
5
5
|
"funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
},
|
|
77
77
|
"homepage": "https://streetsidesoftware.github.io/cspell/",
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@cspell/cspell-pipe": "6.26.
|
|
80
|
-
"@cspell/dynamic-import": "6.26.
|
|
79
|
+
"@cspell/cspell-pipe": "6.26.2",
|
|
80
|
+
"@cspell/dynamic-import": "6.26.2",
|
|
81
81
|
"chalk": "^4.1.2",
|
|
82
82
|
"commander": "^10.0.0",
|
|
83
|
-
"cspell-gitignore": "6.26.
|
|
84
|
-
"cspell-glob": "6.26.
|
|
85
|
-
"cspell-lib": "6.26.
|
|
83
|
+
"cspell-gitignore": "6.26.2",
|
|
84
|
+
"cspell-glob": "6.26.2",
|
|
85
|
+
"cspell-lib": "6.26.2",
|
|
86
86
|
"fast-glob": "^3.2.12",
|
|
87
87
|
"fast-json-stable-stringify": "^2.1.0",
|
|
88
88
|
"file-entry-cache": "^6.0.1",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"node": ">=14"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"@cspell/cspell-json-reporter": "6.26.
|
|
100
|
-
"@cspell/cspell-types": "6.26.
|
|
99
|
+
"@cspell/cspell-json-reporter": "6.26.2",
|
|
100
|
+
"@cspell/cspell-types": "6.26.2",
|
|
101
101
|
"@types/file-entry-cache": "^5.0.2",
|
|
102
102
|
"@types/glob": "^8.0.1",
|
|
103
103
|
"@types/imurmurhash": "^0.1.1",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"rollup-plugin-dts": "^5.2.0",
|
|
110
110
|
"vitest": "^0.28.5"
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "9c983b5f96c3d7b089e49178ab0b437b5eada256"
|
|
113
113
|
}
|