putout 20.5.2 → 20.7.1

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,46 @@
1
+ 2021.10.02, v20.7.1
2
+
3
+ feature:
4
+ - (@putout/plugin-putout) declare: use operator.declare
5
+ - (@putout/plugin-tape) use operator.declare
6
+ - (package) @putout/plugin-declare-undefined-variables v5.0.0
7
+ - (@putout/plugin-declare-undefined-variables) rm export declare: drop supoport of putout < 20.7
8
+
9
+
10
+ 2021.10.02, v20.7.0
11
+
12
+ feature:
13
+ - (@putout/operator-declare) add
14
+
15
+
16
+ 2021.10.01, v20.6.1
17
+
18
+ fix:
19
+ - (@putout/plugin-declare-undefined-variables) declare: template.ast -> template.ast.fresh
20
+ - (@putout/plugin-merge-duplicate-imports) report: Avoid duplicate imports
21
+ - (@putout/plugin-merge-duplicate-imports) importKind -> importKind=type
22
+
23
+ feature:
24
+ - (putout) *.md: disable declare-undefined-variables
25
+ - (@putout/cli-ruller) add support of tuple
26
+ - (@putout/plugin-declare-undefined-variables) add support of putout
27
+ - (@putout/eslint-config) add dot-notation (https://eslint.org/docs/rules/dot-notation)
28
+ - (@putout/plugin-merge-duplicate-imports) drop support of node < 14
29
+
30
+
31
+ 2021.10.01, v20.6.0
32
+
33
+ feature:
34
+ - (package) @putout/plugin-reuse-duplicate-init v2.0.0
35
+ - (package) @putout/plugin-tape v4.0.0
36
+ - (package) @putout/plugin-reuse-duplicate-init v2.0.0
37
+ - (@putout/plugin-reuse-duplicate-init) drop support of node < 14
38
+ - (package) @putout/plugin-tape v4.0.0
39
+ - (@putout/plugin-tape) drop support of putout < 20
40
+ - (@putout/plugin-tape) merge declare-stub with declare-test
41
+ - (@putout/plugin-tape) add declare-test
42
+
43
+
1
44
  2021.09.30, v20.5.2
2
45
 
3
46
  fix:
package/lib/putout.js CHANGED
@@ -120,6 +120,7 @@ module.exports.operator = {
120
120
  ...require('@putout/operate'),
121
121
  ...require('@putout/compare'),
122
122
  ...require('@putout/traverse'),
123
+ ...require('@putout/operator-declare'),
123
124
  };
124
125
 
125
126
  module.exports.ignores = require('./ignores');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "20.5.2",
3
+ "version": "20.7.1",
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",
@@ -64,6 +64,7 @@
64
64
  "@putout/formatter-progress-bar": "^1.1.0",
65
65
  "@putout/formatter-stream": "^2.0.0",
66
66
  "@putout/operate": "^6.0.0",
67
+ "@putout/operator-declare": "^1.0.0",
67
68
  "@putout/plugin-apply-array-at": "^1.0.0",
68
69
  "@putout/plugin-apply-as-type-assertions": "^1.0.0",
69
70
  "@putout/plugin-apply-destructuring": "^5.0.0",
@@ -97,7 +98,7 @@
97
98
  "@putout/plugin-convert-template-to-string": "^1.0.0",
98
99
  "@putout/plugin-convert-to-arrow-function": "^3.0.0",
99
100
  "@putout/plugin-convert-top-level-return": "^4.0.0",
100
- "@putout/plugin-declare-undefined-variables": "^4.1.0",
101
+ "@putout/plugin-declare-undefined-variables": "^5.0.0",
101
102
  "@putout/plugin-eslint": "^2.0.0",
102
103
  "@putout/plugin-extract-object-properties": "^6.0.0",
103
104
  "@putout/plugin-extract-sequence-expressions": "^2.0.0",
@@ -157,14 +158,14 @@
157
158
  "@putout/plugin-remove-useless-types": "^1.0.0",
158
159
  "@putout/plugin-remove-useless-types-from-constants": "^1.0.0",
159
160
  "@putout/plugin-remove-useless-variables": "^5.0.0",
160
- "@putout/plugin-reuse-duplicate-init": "^1.0.0",
161
+ "@putout/plugin-reuse-duplicate-init": "^2.0.0",
161
162
  "@putout/plugin-simplify-assignment": "^1.0.0",
162
163
  "@putout/plugin-simplify-logical-expressions": "^1.0.0",
163
164
  "@putout/plugin-simplify-ternary": "^2.0.0",
164
165
  "@putout/plugin-split-nested-destructuring": "^1.0.0",
165
166
  "@putout/plugin-split-variable-declarations": "^2.0.0",
166
167
  "@putout/plugin-strict-mode": "^2.0.0",
167
- "@putout/plugin-tape": "^3.0.0",
168
+ "@putout/plugin-tape": "^4.0.0",
168
169
  "@putout/plugin-webpack": "^1.0.0",
169
170
  "@putout/processor-css": "^3.0.0",
170
171
  "@putout/processor-ignore": "^2.0.0",
package/putout.json CHANGED
@@ -37,7 +37,8 @@
37
37
  "remove-unused-for-of-variables": "off",
38
38
  "remove-constant-conditions": "off",
39
39
  "remove-console": "off",
40
- "remove-unreachable-code": "off"
40
+ "remove-unreachable-code": "off",
41
+ "declare-undefined-variables": "off"
41
42
  },
42
43
  "{*rc,*.{json,yml}}": {
43
44
  "remove-useless-escape": "off",