putout 37.3.0 → 37.5.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 +22 -0
- package/lib/cli/runner/runner.js +1 -1
- package/lib/transform.js +2 -1
- package/package.json +4 -4
package/ChangeLog
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
2024.12.20, v37.5.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 7c58079e2 putout: @putout/plugin-nodejs v13.0.0
|
|
5
|
+
- eb42a12fc @putout/plugin-nodejs: drop support of 🐊 < 37
|
|
6
|
+
- a110f288e @putout/plugin-nodejs: group-require-by-id: exclude not top-level
|
|
7
|
+
- 98853450d @putout/plugin-nodejs: group-require-by-id: add
|
|
8
|
+
- 3ce9cd00a @putout/plugin-printer: apply-types: traverse: exclude
|
|
9
|
+
|
|
10
|
+
2024.12.19, v37.4.0
|
|
11
|
+
|
|
12
|
+
feature:
|
|
13
|
+
- ce1d98e4e putout: @putout/plugin-tape v16.0.0
|
|
14
|
+
- 0340fdf0c putout: @putout/plugin-declare-before-reference v5.0.0
|
|
15
|
+
- e18aed185 @putout/plugin-declare-before-reference: drop support of 🐊 < 37
|
|
16
|
+
- 7b6dc3fdd @putout/test: noReportAfterTransform: addons
|
|
17
|
+
- f9a93e7f2 @putout/plugin-declare-before-reference: printer/apply-types
|
|
18
|
+
- dacb6956d @putout/plugin-tape: drop support of 🐊 < 37
|
|
19
|
+
- 26fa7c082 @putout/plugin-tape: remove-only: name starts with test
|
|
20
|
+
- 2e413e594 @putout/plugin-printer: apply-types: couple
|
|
21
|
+
- f130427c8 @putout/plugin-printer: apply-types: add
|
|
22
|
+
|
|
1
23
|
2024.12.18, v37.3.0
|
|
2
24
|
|
|
3
25
|
feature:
|
package/lib/cli/runner/runner.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const Report = require('@putout/engine-reporter/report');
|
|
3
4
|
const {runWriter} = require('./writer.js');
|
|
4
5
|
const initProcessFile = require('../process-file.js');
|
|
5
|
-
const Report = require('@putout/engine-reporter/report');
|
|
6
6
|
|
|
7
7
|
const report = Report();
|
|
8
8
|
|
package/lib/transform.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const tryCatch = require('try-catch');
|
|
4
|
+
|
|
5
|
+
const {validateRules} = require('@putout/engine-loader');
|
|
4
6
|
const {defaultOptions} = require('./default-options');
|
|
5
7
|
const {cutShebang} = require('./shebang');
|
|
6
8
|
const parseError = require('./parse-error');
|
|
7
|
-
const {validateRules} = require('@putout/engine-loader');
|
|
8
9
|
|
|
9
10
|
const maybeParseError = (a) => !a ? [] : parseError(a, 'loader');
|
|
10
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.5.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",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@putout/plugin-convert-to-arrow-function": "^4.0.0",
|
|
113
113
|
"@putout/plugin-coverage": "^1.0.0",
|
|
114
114
|
"@putout/plugin-declare": "^4.0.0",
|
|
115
|
-
"@putout/plugin-declare-before-reference": "^
|
|
115
|
+
"@putout/plugin-declare-before-reference": "^5.0.0",
|
|
116
116
|
"@putout/plugin-declare-imports-first": "^2.0.0",
|
|
117
117
|
"@putout/plugin-eslint": "^9.0.0",
|
|
118
118
|
"@putout/plugin-extract-object-properties": "^9.0.0",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"@putout/plugin-merge-duplicate-imports": "^11.0.0",
|
|
134
134
|
"@putout/plugin-montag": "^3.0.0",
|
|
135
135
|
"@putout/plugin-new": "^3.0.1",
|
|
136
|
-
"@putout/plugin-nodejs": "^
|
|
136
|
+
"@putout/plugin-nodejs": "^13.0.0",
|
|
137
137
|
"@putout/plugin-npmignore": "^5.0.0",
|
|
138
138
|
"@putout/plugin-optional-chaining": "^1.0.1",
|
|
139
139
|
"@putout/plugin-package-json": "^8.0.0",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"@putout/plugin-split-assignment-expressions": "^1.0.0",
|
|
184
184
|
"@putout/plugin-split-nested-destructuring": "^3.0.0",
|
|
185
185
|
"@putout/plugin-split-variable-declarations": "^3.0.0",
|
|
186
|
-
"@putout/plugin-tape": "^
|
|
186
|
+
"@putout/plugin-tape": "^16.0.0",
|
|
187
187
|
"@putout/plugin-try-catch": "^4.0.0",
|
|
188
188
|
"@putout/plugin-types": "^5.0.0",
|
|
189
189
|
"@putout/plugin-typescript": "^9.0.0",
|