putout 22.6.2 → 22.7.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.
Files changed (2) hide show
  1. package/ChangeLog +24 -0
  2. package/package.json +2 -2
package/ChangeLog CHANGED
@@ -1,3 +1,27 @@
1
+ 2021.12.12, v22.7.0
2
+
3
+ feature:
4
+ - (package) @putout/plugin-convert-comparison-to-boolean v2.0.0
5
+ - (@putout/operate) compute: add support of evaluate
6
+ - (@putout/plugin-convert-comparison-to-boolean) improve support of member expressions
7
+ - (@putout/plugin-convert-comparison-to-boolean) drop support of putout < 22
8
+ - (@putout/plugin-putout) check-replace-code: simplify
9
+ - (@putout/operate) compute: add support of Literal
10
+ - (@putout/plugin-putout) check-replace-code: use compute from operate
11
+ - (@putout/operate) add compute
12
+ - (@putout/plugin-putout) check-replace-code: add support of MemberExpression in computed property
13
+ - (@putout/plugin-convert-typeof-to-is-type) use getBindingPath from operate
14
+ - (@putout/operate) add getBinding, getBindingPath
15
+ - (@putout/operate) add getBinding
16
+ - (@putout/engine-runner) replace: validation output: ["__b"] ["__a"] -> ["__a"] -> ["__b"]
17
+ - (@putout/plugin-putout) add move-require-on-top-level
18
+ - (@putout/test) add support of createTest
19
+ - (@putout/engine-loader) is-enabled: use isBool
20
+ - (@putout/plugin-convert-typeof-to-is-type) improve binding search
21
+ - (@putout/plugin-putout) check-replace-code: exclude computed keys
22
+ - (@putout/plugin-convert-typeof-to-is-type) add support of isSymbol
23
+ - (@putout/plugin-declare-undefined-variables) add support of isSymbol
24
+
1
25
  2021.12.09, v22.6.2
2
26
 
3
27
  fix:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "22.6.2",
3
+ "version": "22.7.0",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "🐊 Pluggable and configurable code transformer with built-in eslint, babel plugins and jscodeshift codemods support of js, jsx typescript, flow files, markdown, yaml and json",
6
6
  "homepage": "http://github.com/coderaiser/putout",
@@ -84,7 +84,7 @@
84
84
  "@putout/plugin-convert-assignment-to-comparison": "^1.0.0",
85
85
  "@putout/plugin-convert-bitwise-to-logical": "^1.0.0",
86
86
  "@putout/plugin-convert-commonjs-to-esm": "^6.0.0",
87
- "@putout/plugin-convert-comparison-to-boolean": "^1.0.0",
87
+ "@putout/plugin-convert-comparison-to-boolean": "^2.0.0",
88
88
  "@putout/plugin-convert-concat-to-flat": "^1.0.0",
89
89
  "@putout/plugin-convert-equal-to-strict-equal": "^1.0.0",
90
90
  "@putout/plugin-convert-esm-to-commonjs": "^3.0.0",