putout 41.5.1 → 41.5.3

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 CHANGED
@@ -1,3 +1,17 @@
1
+ 2026.01.04, v41.5.3
2
+
3
+ fix:
4
+ - 9548f79ee putout: keep previous behaviour when putout has all the info
5
+
6
+ 2026.01.04, v41.5.2
7
+
8
+ fix:
9
+ - 641cc8904 putout: rm unused cache
10
+
11
+ feature:
12
+ - b2fcbe29c putout: @putout/operator-jsx v3.0.0
13
+ - 93db4b95d @putout/operator-jsx: migrate to ESM
14
+
1
15
  2026.01.04, v41.5.1
2
16
 
3
17
  feature:
package/lib/exports.js ADDED
@@ -0,0 +1,12 @@
1
+ export {putoutAsync} from './putout.js';
2
+ export {types, traverse} from '@putout/babel';
3
+ export {
4
+ template,
5
+ generate,
6
+ print,
7
+ parse,
8
+ } from '@putout/engine-parser';
9
+ export {transformAsync, transform} from './transform.js';
10
+ export * as operator from './operator.js';
11
+ export {findPlacesAsync, findPlaces} from './find-places.js';
12
+ export {codeframe} from './codeframe.js';
package/lib/index.js CHANGED
@@ -1,20 +1,13 @@
1
1
  import {putout} from './putout.js';
2
+ import * as exports from './exports.js';
2
3
 
3
- export {putoutAsync} from './putout.js';
4
- export {types, traverse} from '@putout/babel';
5
- export {
6
- template,
7
- generate,
8
- print,
9
- parse,
10
- } from '@putout/engine-parser';
11
- export {transformAsync, transform} from './transform.js';
12
- export * as operator from './operator.js';
13
- export {findPlacesAsync, findPlaces} from './find-places.js';
14
- export {codeframe} from './codeframe.js';
4
+ Object.assign(putout, exports);
15
5
 
16
6
  export default putout;
17
7
 
18
8
  export {
19
9
  putout,
20
10
  };
11
+
12
+ export * from './exports.js';
13
+
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.1",
3
+ "version": "41.5.3",
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,7 +83,7 @@
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": "^2.0.0",
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
89
  "@putout/operator-parens": "^4.0.0",