putout 35.24.0 → 35.25.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.
- package/ChangeLog +13 -0
- package/lib/cli/get-files.js +3 -2
- package/package.json +3 -3
package/ChangeLog
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
2024.05.20, v35.25.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 79ca8de10 putout: @putout/plugin-putout v20.0.0
|
|
5
|
+
- fafba2dfe @putout/plugin-putout: add-traverse-args
|
|
6
|
+
- 067414ae0 @putout/plugin-putout: add-args -> add-test-args
|
|
7
|
+
|
|
8
|
+
2024.05.19, v35.24.1
|
|
9
|
+
|
|
10
|
+
feature:
|
|
11
|
+
- 1478a7d24 @putout/plugin-types: remove-useles-conversion: ternary
|
|
12
|
+
- 26b0471b3 putout: get back fast-glob, linting directories
|
|
13
|
+
|
|
1
14
|
2024.05.17, v35.24.0
|
|
2
15
|
|
|
3
16
|
fix:
|
package/lib/cli/get-files.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const {normalize} = require('node:path');
|
|
4
4
|
const {lstat} = require('node:fs/promises');
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const fastGlob = require('fast-glob');
|
|
7
7
|
const tryToCatch = require('try-to-catch');
|
|
8
8
|
|
|
9
9
|
const {getSupportedGlob} = require('./supported-files');
|
|
@@ -24,14 +24,15 @@ async function getFiles(args, options) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const globOptions = {
|
|
27
|
+
unique: true,
|
|
27
28
|
dot: true,
|
|
28
|
-
nodir: true,
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const addExt = (options) => async function addExt(a) {
|
|
32
32
|
const [[e], files] = await Promise.all([
|
|
33
33
|
tryToCatch(lstat, a),
|
|
34
34
|
safeGlob(a, {
|
|
35
|
+
onlyFiles: false,
|
|
35
36
|
...options,
|
|
36
37
|
}),
|
|
37
38
|
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "35.
|
|
3
|
+
"version": "35.25.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"@putout/plugin-npmignore": "^5.0.0",
|
|
136
136
|
"@putout/plugin-package-json": "^7.0.0",
|
|
137
137
|
"@putout/plugin-promises": "^15.0.0",
|
|
138
|
-
"@putout/plugin-putout": "^
|
|
138
|
+
"@putout/plugin-putout": "^20.0.0",
|
|
139
139
|
"@putout/plugin-putout-config": "^5.0.0",
|
|
140
140
|
"@putout/plugin-regexp": "^8.0.0",
|
|
141
141
|
"@putout/plugin-remove-console": "^6.0.0",
|
|
@@ -195,9 +195,9 @@
|
|
|
195
195
|
"debug": "^4.1.1",
|
|
196
196
|
"deepmerge": "^4.0.0",
|
|
197
197
|
"escalade": "^3.1.1",
|
|
198
|
+
"fast-glob": "^3.2.2",
|
|
198
199
|
"find-up": "^7.0.0",
|
|
199
200
|
"fullstore": "^3.0.0",
|
|
200
|
-
"glob": "^10.3.15",
|
|
201
201
|
"goldstein": "^5.3.0",
|
|
202
202
|
"ignore": "^5.0.4",
|
|
203
203
|
"is-relative": "^1.0.0",
|