putout 37.4.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 +9 -0
- package/lib/cli/runner/runner.js +1 -1
- package/lib/transform.js +2 -1
- package/package.json +2 -2
package/ChangeLog
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
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
|
+
|
|
1
10
|
2024.12.19, v37.4.0
|
|
2
11
|
|
|
3
12
|
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",
|
|
@@ -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",
|