putout 23.5.0 → 23.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 CHANGED
@@ -1,3 +1,38 @@
1
+ 2022.01.09, v23.6.0
2
+
3
+ fix:
4
+ - (@putout/engine-runner) find: options
5
+ - (eslint-plugin-putout) add-newline-after-function-call: multiple empty lines
6
+ - feature(@putout/plugin-declare-undefined-variables) add fixtures
7
+ - feature(@putout/engine-runner) add support to clear replace watermarks after fix round is done
8
+ - (@putout/engine-parser) btoa: get back node v14 support
9
+ - (@putout/engine-parser) sourcemap url
10
+
11
+ feature:
12
+ - (package) @putout/plugin-nodejs v2.0.0
13
+ - (@putout/plugin-nodejs) drop support of putout < 23
14
+ - (@putout/plugin-nodejs) add convert-dirname-to-url
15
+ - (@putout/plugin-putout) declare: add isESM
16
+ - (package) @putout/plugin-convert-commonjs-to-esm v7.0.0
17
+ - (@putout/plugin-convert-commonjs-to-esm) drop support of putout < 23
18
+ - (@putout/plugin-convert-commonjs-to-esm) commonjs: use node.js built-ins, instead of simport
19
+ - (@putout/operator-declare) add ability to pass only "esm" or only "commonjs"
20
+ - (@putout/eslint-config) padding-line-between-statements: add newline before "for", after block-like
21
+ - (eslint-plugin-putout) add-newline-before-function-call: add support of AssignmentExpression
22
+ - (@putout/plugin-tape) add convert-equal-to-deep-equal
23
+ - (@putout/plugin-gitignore) add support of .idea
24
+ - (@putout/plugin-eslint) add apply-safe-align
25
+ - (eslint-plugin-putout) add safe+align
26
+ - (@putout/plugin-declare-undefined-variables) add fixtures
27
+ - (@putout/plugin-putout) declare: add compareAny, compareAll
28
+ - (@putout/plugin-putout) declare: add replaceWithMultiple
29
+ - (@putout/plugin-convert-commonjs-to-esm) require: add support of MemberExpression
30
+ - (@putout/plugin-tape) convert-equal-to-not-ok: add support of equal/notEqual with one argument passed
31
+ - (@putout/plugin-remove-useless-return) add support of nested functions
32
+ - (@putout/compare) is: parseTemplate: avoid caching exception as undefined
33
+ - (@putout/engine-runner) add support to clear replace watermarks after fix round is done
34
+
35
+
1
36
  2021.12.30, v23.5.0
2
37
 
3
38
  fix:
@@ -135,7 +135,5 @@ const _readHomeOptions = once(() => {
135
135
  return data;
136
136
  });
137
137
 
138
- const _readCodeMods = once(() => {
139
- return readRules(home, '.putout');
140
- });
138
+ const _readCodeMods = once(() => readRules(home, '.putout'));
141
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "23.5.0",
3
+ "version": "23.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 and babel plugins support of js, jsx typescript, flow files, markdown, yaml and json",
@@ -85,7 +85,7 @@
85
85
  "@putout/plugin-convert-assignment-to-arrow-function": "^1.0.0",
86
86
  "@putout/plugin-convert-assignment-to-comparison": "^1.0.0",
87
87
  "@putout/plugin-convert-bitwise-to-logical": "^1.0.0",
88
- "@putout/plugin-convert-commonjs-to-esm": "^6.0.0",
88
+ "@putout/plugin-convert-commonjs-to-esm": "^7.0.0",
89
89
  "@putout/plugin-convert-comparison-to-boolean": "^2.0.0",
90
90
  "@putout/plugin-convert-concat-to-flat": "^1.0.0",
91
91
  "@putout/plugin-convert-equal-to-strict-equal": "^1.0.0",
@@ -114,7 +114,7 @@
114
114
  "@putout/plugin-merge-destructuring-properties": "^5.0.0",
115
115
  "@putout/plugin-merge-duplicate-imports": "^4.0.0",
116
116
  "@putout/plugin-merge-if-statements": "^3.0.0",
117
- "@putout/plugin-nodejs": "^1.0.0",
117
+ "@putout/plugin-nodejs": "^2.0.0",
118
118
  "@putout/plugin-npmignore": "^2.0.0",
119
119
  "@putout/plugin-package-json": "^2.0.0",
120
120
  "@putout/plugin-promises": "^6.0.0",