putout 41.10.2 → 41.12.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 CHANGED
@@ -1,3 +1,50 @@
1
+ 2026.01.23, v41.12.0
2
+
3
+ feature:
4
+ - e38ad2918 putout: @putout/plugin-nodejs v20.0.0
5
+ - 615579316 putout: @putout/plugin-esm v8.0.0
6
+ - 593deed2b putout: @putout/operator-find-file-up v2.0.0
7
+ - d66406fc6 @putout/operator-find-file-up: result: tuple -> single
8
+ - 7a9875901 @putout/plugin-putout: declare: getFile: add
9
+ - 10ae903eb @putout/operator-filesystem: getFile: add
10
+ - b1c60cff5 @putout/operator-filesystem: createDirectory: exists
11
+
12
+ 2026.01.23, v41.11.0
13
+
14
+ fix:
15
+ - 09cb6d6b2 @putout/plugin-nodejs: apply-privately-required-file: cache
16
+ - b6a04a1e1 @putout/plugin-esm: apply-js-imported-file: invalid
17
+ - 6a05f2444 @putout/esm: apply-namespace-import-to-file: invalid
18
+
19
+ feature:
20
+ - f3e9397a1 putout: private imports: #parse-options: add
21
+ - 351e64b7c @putout/processor-filesystem: create: maybeSimple
22
+ - 575e722a4 @putout/process-filesystem: create: add export
23
+ - be8b1ab6f @putout/plugin-putout: add-push-arg: add
24
+ - 1f51829df @putout/operator-filesystem: renameFile: check that name is passed
25
+ - f61d60e80 @putout/plugin-package-json: apply-js-extension: add
26
+ - 2486f62ba putout: @putout/plugin-spread v2.0.0
27
+ - 9fe91ea43 @putout/plugin-spread: drop support of 🐊 < 41
28
+ - 04ce7844b @putout/plugin-spread: remove-useless-object: property
29
+ - ee88ce28e @putout/plugin-printer: apply-create-test-url: order
30
+ - d0402331d @putout/plugin-printer: apply-create-test-url: add
31
+ - 8be77114f @putout/plugin-nodejs: apply-privately-required-file: simplify
32
+ - 14e88cab5 @putout/plugin-esm: apply-privately-imported-file: private-imports: simplify
33
+ - 01b46d3a0 @putout/operator-match-files: printer options
34
+ - f495dcba4 @putout/plugin-esm: apply-namespace-import-to-file: private imports
35
+ - be4f5bf1c @putout/plugin-regexp: apply-starts-with: regexp: or: exclude
36
+ - dd223f589 root: eslint-plugin-putout v30.0.0
37
+ - 95d7d894a eslint-plugin-putout: rm no-unresolved: use RedLint instead (https://github.com/coderaiser/putout/tree/master/packages/plugin-esm#resolve-imported-file)
38
+ - 6452039cd @putout/plugin-esm: resolve-imported-file: slash: improve support
39
+ - 2ae35fffd @putout/plugin-esm: resolve-imported-file: get-imports: dynamic: identifier
40
+ - 327304e6e @putout/plugin-esm: shorten-imported-file: dynamic import: add support
41
+ - 69deffd6c @putout/esm: shorten-imported-file: invalid
42
+ - ab5302899 putout: @putout/plugin-math v5.0.0
43
+ - d259b4343 @putout/plugin-math: drop support of 🐊 < 41
44
+ - 0f6a0007b @putout/plugin-math: remove-unchanged-zero-declarations: destructuring
45
+ - 4a365cb59 @putout/plugin-nodejs: apply-privately-required-file: add
46
+ - 99b34d13c putout: @putout/eslint-flat v4.0.0
47
+
1
48
  2026.01.21, v41.10.2
2
49
 
3
50
  fix:
@@ -1,8 +1,8 @@
1
1
  import process from 'node:process';
2
2
  import {join, dirname} from 'node:path';
3
3
  import {createRequire} from 'node:module';
4
+ import {parseOptions as _parseOptions} from '#parse-options';
4
5
  import buildPlugins from './build-plugins.js';
5
- import {parseOptions as _parseOptions} from '../parse-options/index.js';
6
6
 
7
7
  const require = createRequire(import.meta.url);
8
8
  const {assign} = Object;
@@ -1,8 +1,8 @@
1
1
  import process from 'node:process';
2
2
  import {Buffer} from 'node:buffer';
3
+ import {parseOptions} from '#parse-options';
3
4
  import {putoutAsync} from '../putout.js';
4
5
  import {ignores} from '../ignores.js';
5
- import {parseOptions} from '../parse-options/index.js';
6
6
 
7
7
  const cwd = process.cwd();
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "41.10.2",
3
+ "version": "41.12.0",
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",
@@ -29,6 +29,9 @@
29
29
  "./ignores": "./lib/ignores.js",
30
30
  "./simple-import": "./lib/cli/simple-import.js"
31
31
  },
32
+ "imports": {
33
+ "#parse-options": "./lib/parse-options/index.js"
34
+ },
32
35
  "bin": {
33
36
  "putout": "bin/tracer.js"
34
37
  },
@@ -81,7 +84,7 @@
81
84
  "@putout/operator-add-args": "^14.0.0",
82
85
  "@putout/operator-declare": "^16.0.0",
83
86
  "@putout/operator-filesystem": "^10.0.0",
84
- "@putout/operator-find-file-up": "^1.0.0",
87
+ "@putout/operator-find-file-up": "^2.0.0",
85
88
  "@putout/operator-ignore": "^5.0.0",
86
89
  "@putout/operator-json": "^3.0.0",
87
90
  "@putout/operator-jsx": "^3.0.0",
@@ -117,7 +120,7 @@
117
120
  "@putout/plugin-declare-before-reference": "^9.0.0",
118
121
  "@putout/plugin-destructuring": "^1.0.0",
119
122
  "@putout/plugin-eslint": "^15.0.0",
120
- "@putout/plugin-esm": "^7.0.0",
123
+ "@putout/plugin-esm": "^8.0.0",
121
124
  "@putout/plugin-extract-sequence-expressions": "^4.0.0",
122
125
  "@putout/plugin-filesystem": "^12.0.0",
123
126
  "@putout/plugin-for-of": "^11.0.0",
@@ -132,7 +135,7 @@
132
135
  "@putout/plugin-merge-duplicate-functions": "^4.0.0",
133
136
  "@putout/plugin-montag": "^4.0.0",
134
137
  "@putout/plugin-new": "^5.0.0",
135
- "@putout/plugin-nodejs": "^19.0.0",
138
+ "@putout/plugin-nodejs": "^20.0.0",
136
139
  "@putout/plugin-npmignore": "^5.0.0",
137
140
  "@putout/plugin-optional-chaining": "^2.0.0",
138
141
  "@putout/plugin-package-json": "^10.0.0",