putout 41.2.3 → 41.3.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 +16 -0
- package/lib/cli/get-files.js +1 -1
- package/lib/cli/index.js +2 -2
- package/lib/cli/runner/reader.js +1 -1
- package/lib/cli/runner/writer.js +1 -1
- package/lib/parse-options/index.js +1 -1
- package/lib/parse-options/read-rules.js +1 -1
- package/lib/transform.js +1 -1
- package/package.json +3 -3
package/ChangeLog
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
2025.12.31, v41.3.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 7e97f2986 putout: @putout/plugin-try-catch v6.1.0
|
|
5
|
+
- 86003826f @putout/plugin-try-catch: drop support of 🐊 < 41
|
|
6
|
+
- c7a5b5810 @putout/plugin-try-catch: apply-destructuring: add
|
|
7
|
+
|
|
8
|
+
2025.12.31, v41.2.4
|
|
9
|
+
|
|
10
|
+
fix:
|
|
11
|
+
- f34174e45 @putout/plugin-remove-useless-template-expressions: rm unused dependencies
|
|
12
|
+
- 8a0373afb @putout/plugin-remove-useless-array-entries: rm unused dependencies
|
|
13
|
+
|
|
14
|
+
feature:
|
|
15
|
+
- 68e749ae0 putout: try-to-catch v4.0.0
|
|
16
|
+
|
|
1
17
|
2025.12.31, v41.2.3
|
|
2
18
|
|
|
3
19
|
fix:
|
package/lib/cli/get-files.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {normalize} from 'node:path';
|
|
2
2
|
import {lstat as _lstat} from 'node:fs/promises';
|
|
3
3
|
import _fastGlob from 'fast-glob';
|
|
4
|
-
import tryToCatch from 'try-to-catch';
|
|
4
|
+
import {tryToCatch} from 'try-to-catch';
|
|
5
5
|
import {getSupportedGlob as _getSupportedGlob} from './supported-files.js';
|
|
6
6
|
|
|
7
7
|
const rmDuplicates = (a) => Array.from(new Set(a));
|
package/lib/cli/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
2
|
import {createRequire} from 'node:module';
|
|
3
|
-
import tryToCatch from 'try-to-catch';
|
|
3
|
+
import {tryToCatch} from 'try-to-catch';
|
|
4
4
|
import {isCI as _isCI} from 'ci-info';
|
|
5
|
-
import tryCatch from 'try-catch';
|
|
5
|
+
import {tryCatch} from 'try-catch';
|
|
6
6
|
import wraptile from 'wraptile';
|
|
7
7
|
import fullstore from 'fullstore';
|
|
8
8
|
import nano from 'nano-memoize';
|
package/lib/cli/runner/reader.js
CHANGED
package/lib/cli/runner/writer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {resolve} from 'node:path';
|
|
2
2
|
import {cwd, env} from 'node:process';
|
|
3
3
|
import {readFileSync} from 'node:fs';
|
|
4
|
-
import tryCatch from 'try-catch';
|
|
4
|
+
import {tryCatch} from 'try-catch';
|
|
5
5
|
import _getOptions from '../get-options.js';
|
|
6
6
|
import {INVALID_CONFIG, NO_PROCESSORS} from '../exit-codes.js';
|
|
7
7
|
import {runReader} from './reader.js';
|
|
@@ -4,7 +4,7 @@ import {readdirSync as _readdirSync} from 'node:fs';
|
|
|
4
4
|
import {dirname, join} from 'node:path';
|
|
5
5
|
import {createRequire} from 'node:module';
|
|
6
6
|
import once from 'once';
|
|
7
|
-
import tryCatch from 'try-catch';
|
|
7
|
+
import {tryCatch} from 'try-catch';
|
|
8
8
|
import _escalade from 'escalade/sync';
|
|
9
9
|
import {parseMatch} from './parse-match.js';
|
|
10
10
|
import _defaultOptions from '../../putout.json' with {
|
package/lib/transform.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "41.
|
|
3
|
+
"version": "41.3.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",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"@putout/plugin-simplify-ternary": "^8.0.0",
|
|
168
168
|
"@putout/plugin-spread": "^1.0.0",
|
|
169
169
|
"@putout/plugin-tape": "^19.0.0",
|
|
170
|
-
"@putout/plugin-try-catch": "^6.
|
|
170
|
+
"@putout/plugin-try-catch": "^6.1.0",
|
|
171
171
|
"@putout/plugin-types": "^8.0.0",
|
|
172
172
|
"@putout/plugin-typescript": "^12.0.0",
|
|
173
173
|
"@putout/plugin-variables": "^1.0.0",
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
"once": "^1.4.0",
|
|
194
194
|
"picomatch": "^4.0.2",
|
|
195
195
|
"try-catch": "^4.0.0",
|
|
196
|
-
"try-to-catch": "^
|
|
196
|
+
"try-to-catch": "^4.0.0",
|
|
197
197
|
"wraptile": "^3.0.0",
|
|
198
198
|
"yargs-parser": "^22.0.0"
|
|
199
199
|
},
|