putout 29.9.0 → 29.10.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 +28 -0
- package/lib/cli/supported-files.js +4 -6
- package/package.json +5 -5
package/ChangeLog
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
2023.05.29, v29.10.0
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- 6312e790e putout: hang --staged (isomorphic-git/isomorphic-git#1768)
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- 664e07e20 @putout/plugin-react-router: v2
|
|
8
|
+
- 4c686c97c @putout/plugin-react-router: drop support of 🐊29
|
|
9
|
+
- 118293767 @putout/plugin-react-router: applies changes according to printer
|
|
10
|
+
- e64aa4e0b package: @putout/compare v10.0.0
|
|
11
|
+
- d8ef6f389 package: @putout/traverse v6.0.0
|
|
12
|
+
- 2e0968f95 package: @putout/compare v10.0.0
|
|
13
|
+
- 1b2e2cfb6 package: @putout/compare v10.0.0
|
|
14
|
+
- d753a5a65 package: @putout/compare v10.0.0
|
|
15
|
+
- b939822fa package: @putout/compare v10.0.0
|
|
16
|
+
- c1a8a9eb2 package: @putout/engine-loader v9.2.0
|
|
17
|
+
- 0bdbd751f package: @putout/engine-parser v6.2.0
|
|
18
|
+
- 9da482947 package: @putout/engine-parser v6.2.0
|
|
19
|
+
- 7411ef928 @putout/compare: setValues: improve support of TemplateElement
|
|
20
|
+
- 80a313afb @putout/plugin-minify: mangle-names: add support of a very big count of variables
|
|
21
|
+
- bbf78df1b @putout/plugin-minify: extract-body: improve support of ObjectMethod
|
|
22
|
+
- 2741d1149 @putout/plugin-github: set-coveralls-version: add (coverallsapp/github-action#2)
|
|
23
|
+
- ffdef0444 @putout/plugin-minify: mangle-names: process scope once
|
|
24
|
+
- 516c1e427 @putout/minify: mangle-names: add ability to check upper scope
|
|
25
|
+
- f2e01f9ec @putout/plugin-minify: mangle-names: Identifier inside ObjectProperty (babel/babel#15648)
|
|
26
|
+
- a5c8892d3 @putout/plugin-minify: extract-body: exclude try-catch
|
|
27
|
+
- c3f8b2392 package: eslint-plugin-n v16.0.0
|
|
28
|
+
|
|
1
29
|
2023.05.24, v29.9.0
|
|
2
30
|
|
|
3
31
|
fix:
|
|
@@ -4,22 +4,20 @@ const {normalize} = require('path');
|
|
|
4
4
|
const picomatch = require('picomatch');
|
|
5
5
|
|
|
6
6
|
let patterns = [];
|
|
7
|
+
let isMatch;
|
|
7
8
|
|
|
8
9
|
const rmDuplicates = (a) => Array.from(new Set(a));
|
|
9
10
|
|
|
10
11
|
module.exports.add = (array) => {
|
|
11
12
|
patterns = rmDuplicates(patterns.concat(array));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
module.exports.isSupported = (name) => {
|
|
15
|
-
const isMatch = picomatch(patterns, {
|
|
13
|
+
isMatch = picomatch(patterns, {
|
|
16
14
|
dot: true,
|
|
17
15
|
matchBase: true,
|
|
18
16
|
});
|
|
19
|
-
|
|
20
|
-
return isMatch(name);
|
|
21
17
|
};
|
|
22
18
|
|
|
19
|
+
module.exports.isSupported = (name) => isMatch(name);
|
|
20
|
+
|
|
23
21
|
module.exports.getSupportedGlob = (file) => normalize(`${file}/**/{${patterns.join(',')}}`);
|
|
24
22
|
|
|
25
23
|
module.exports.getPatterns = () => patterns;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "29.
|
|
3
|
+
"version": "29.10.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",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@putout/cli-match": "^2.0.0",
|
|
52
52
|
"@putout/cli-ruler": "^2.0.0",
|
|
53
53
|
"@putout/cli-validate-args": "^1.0.0",
|
|
54
|
-
"@putout/compare": "^
|
|
54
|
+
"@putout/compare": "^10.0.0",
|
|
55
55
|
"@putout/engine-loader": "^9.0.0",
|
|
56
56
|
"@putout/engine-parser": "^6.0.0",
|
|
57
57
|
"@putout/engine-processor": "^7.0.0",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"@putout/processor-json": "^6.0.0",
|
|
168
168
|
"@putout/processor-markdown": "^9.0.0",
|
|
169
169
|
"@putout/processor-yaml": "^5.0.0",
|
|
170
|
-
"@putout/traverse": "^
|
|
170
|
+
"@putout/traverse": "^6.0.0",
|
|
171
171
|
"ajv": "^8.8.2",
|
|
172
172
|
"chalk": "^4.0.0",
|
|
173
173
|
"ci-info": "^3.1.1",
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"fullstore": "^3.0.0",
|
|
180
180
|
"ignore": "^5.0.4",
|
|
181
181
|
"is-relative": "^1.0.0",
|
|
182
|
-
"isomorphic-git": "
|
|
182
|
+
"isomorphic-git": "1.23.0",
|
|
183
183
|
"nano-memoize": "^2.0.0",
|
|
184
184
|
"once": "^1.4.0",
|
|
185
185
|
"picomatch": "^2.2.2",
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"currify": "^4.0.0",
|
|
208
208
|
"escover": "^3.2.2",
|
|
209
209
|
"eslint": "^8.0.1",
|
|
210
|
-
"eslint-plugin-n": "^
|
|
210
|
+
"eslint-plugin-n": "^16.0.0",
|
|
211
211
|
"eslint-plugin-putout": "^17.0.0",
|
|
212
212
|
"just-camel-case": "^4.0.2",
|
|
213
213
|
"lerna": "^6.0.1",
|