putout 41.5.0 → 41.5.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/ChangeLog +27 -0
- package/lib/index.cjs +3 -1
- package/lib/transform.js +0 -4
- package/package.json +3 -3
package/ChangeLog
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
2026.01.04, v41.5.2
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- 641cc8904 putout: rm unused cache
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- b2fcbe29c putout: @putout/operator-jsx v3.0.0
|
|
8
|
+
- 93db4b95d @putout/operator-jsx: migrate to ESM
|
|
9
|
+
|
|
10
|
+
2026.01.04, v41.5.1
|
|
11
|
+
|
|
12
|
+
feature:
|
|
13
|
+
- 84dfaf5fc putout: @putout/operator-parens v4.0.0
|
|
14
|
+
- a912ca593 @putout/operator-parens: migrate to ESM
|
|
15
|
+
- a2f4ba9bd @putout/plugin-nodejs: convert-commonjs-to-esm: exports: value as function
|
|
16
|
+
- e7904d5d9 @putout/plugin-nodejs: convert-commonjs-to-esm: ObjectMethod: improve support
|
|
17
|
+
- f4b0c953d @putout/engine-parser: @putout/printer v17.0.0
|
|
18
|
+
- a9f532346 @putout/plugin-printer: drop support of 🐊 < 41
|
|
19
|
+
- de6a1c375 @putout/plugin-printer: remove-legacy-test-declaration: esm
|
|
20
|
+
- 5769d9b98 @putout/plugin-nodejs: convert-commonjs-to-esm: exports: ObjectMethod: exclude
|
|
21
|
+
- 439a36dee @putout/plugin-nodejs: convert-commonjs-to-esm: exports: exclude spread
|
|
22
|
+
- 394460485 eslint-plugin-putout: globals v17.0.0
|
|
23
|
+
- e0fec513f @putout/eslint-config: globals v17.0.0
|
|
24
|
+
- 3590e41cf @putout/processor-svelte: drop support of 🐊 < 41
|
|
25
|
+
- 1631b0450 eslint-plugin-putout: migrate putout to ESM
|
|
26
|
+
- 665cd60ea putout: migrate to ESM
|
|
27
|
+
|
|
1
28
|
2026.01.03, v41.5.0
|
|
2
29
|
|
|
3
30
|
feature:
|
package/lib/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const {types} = require('@putout/babel');
|
|
3
|
+
const {types, traverse} = require('@putout/babel');
|
|
4
4
|
const {
|
|
5
5
|
template,
|
|
6
6
|
generate,
|
|
@@ -9,6 +9,7 @@ const {
|
|
|
9
9
|
} = require('@putout/engine-parser');
|
|
10
10
|
|
|
11
11
|
const {putout, putoutAsync} = require('./putout.js');
|
|
12
|
+
|
|
12
13
|
const {
|
|
13
14
|
findPlacesAsync,
|
|
14
15
|
findPlaces,
|
|
@@ -33,3 +34,4 @@ module.exports.transformAsync = transformAsync;
|
|
|
33
34
|
module.exports.types = types;
|
|
34
35
|
module.exports.findPlaces = findPlaces;
|
|
35
36
|
module.exports.findPlacesAsync = findPlacesAsync;
|
|
37
|
+
module.exports.traverse = traverse;
|
package/lib/transform.js
CHANGED
|
@@ -20,7 +20,6 @@ export const transform = (ast, source, opts) => {
|
|
|
20
20
|
|
|
21
21
|
const {
|
|
22
22
|
plugins: pluginNames,
|
|
23
|
-
cache,
|
|
24
23
|
rules,
|
|
25
24
|
fix,
|
|
26
25
|
fixCount,
|
|
@@ -38,7 +37,6 @@ export const transform = (ast, source, opts) => {
|
|
|
38
37
|
|
|
39
38
|
const plugins = loadPlugins({
|
|
40
39
|
pluginNames,
|
|
41
|
-
cache,
|
|
42
40
|
rules,
|
|
43
41
|
});
|
|
44
42
|
|
|
@@ -62,7 +60,6 @@ export const transformAsync = async (ast, source, opts) => {
|
|
|
62
60
|
|
|
63
61
|
const {
|
|
64
62
|
plugins: pluginNames,
|
|
65
|
-
cache,
|
|
66
63
|
rules,
|
|
67
64
|
fix,
|
|
68
65
|
fixCount,
|
|
@@ -80,7 +77,6 @@ export const transformAsync = async (ast, source, opts) => {
|
|
|
80
77
|
|
|
81
78
|
const plugins = await loadPluginsAsync({
|
|
82
79
|
pluginNames,
|
|
83
|
-
cache,
|
|
84
80
|
rules,
|
|
85
81
|
});
|
|
86
82
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "41.5.
|
|
3
|
+
"version": "41.5.2",
|
|
4
4
|
"type": "module",
|
|
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",
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
"@putout/operator-filesystem": "^10.0.0",
|
|
84
84
|
"@putout/operator-ignore": "^5.0.0",
|
|
85
85
|
"@putout/operator-json": "^2.0.0",
|
|
86
|
-
"@putout/operator-jsx": "^
|
|
86
|
+
"@putout/operator-jsx": "^3.0.0",
|
|
87
87
|
"@putout/operator-keyword": "^4.0.0",
|
|
88
88
|
"@putout/operator-match-files": "^10.0.0",
|
|
89
|
-
"@putout/operator-parens": "^
|
|
89
|
+
"@putout/operator-parens": "^4.0.0",
|
|
90
90
|
"@putout/operator-regexp": "^4.0.0",
|
|
91
91
|
"@putout/operator-rename-files": "^6.0.0",
|
|
92
92
|
"@putout/plugin-apply-arrow": "^3.0.0",
|