putout 31.5.0 → 31.6.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 +13 -0
- package/bin/putout.mjs +1 -1
- package/lib/putout.js +3 -1
- package/package.json +1 -1
package/ChangeLog
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
2023.08.27, v31.6.0
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- f252148df @putout/traverse: contains
|
|
5
|
+
- e762ba09e feature: @putout/plugin-nodejs: add-node-preadd
|
|
6
|
+
|
|
7
|
+
feature:
|
|
8
|
+
- b259bf667 @putout/traverse: reuse path.traverse when possible
|
|
9
|
+
- e762ba09e @putout/plugin-nodejs: add-node-prefix: add
|
|
10
|
+
- 0930cf863 @putout/operate: setLiteralValue: improve support of template
|
|
11
|
+
- a6f8c7d3f @putout/plugin-apply-nullish-coalescing: drop support of 🐊 < 31
|
|
12
|
+
- d7ab0933a @putout/plugin-apply-shorthand-properties: drop support of 🐊 < 31
|
|
13
|
+
|
|
1
14
|
2023.08.25, v31.5.0
|
|
2
15
|
|
|
3
16
|
feature:
|
package/bin/putout.mjs
CHANGED
package/lib/putout.js
CHANGED
|
@@ -13,6 +13,7 @@ const {
|
|
|
13
13
|
} = require('@putout/engine-parser');
|
|
14
14
|
|
|
15
15
|
const {cutShebang, mergeShebang} = require('./shebang');
|
|
16
|
+
|
|
16
17
|
const {
|
|
17
18
|
putoutAsync,
|
|
18
19
|
transformAsync,
|
|
@@ -90,7 +91,8 @@ module.exports = (source, opts) => {
|
|
|
90
91
|
|
|
91
92
|
module.exports.putoutAsync = putoutAsync;
|
|
92
93
|
module.exports.findPlacesAsync = findPlacesAsync;
|
|
93
|
-
module.exports.transformAsync = transformAsync;
|
|
94
|
+
module.exports.transformAsync = transformAsync;
|
|
95
|
+
module.exports.findPlaces = (ast, source, opts) => {
|
|
94
96
|
return transform(ast, source, {
|
|
95
97
|
...opts,
|
|
96
98
|
fix: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.6.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",
|