putout 21.5.0 → 22.0.2

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,57 @@
1
+ 2021.11.19, v22.0.2
2
+
3
+ fix:
4
+ - (@putout/plugin-convert-generic-to-shorthand) exclude when no type parameters
5
+
6
+ feature:
7
+ - (package) @putout/plugin-convert-generic-to-shorthand v2.0.0
8
+ - (@putout/plugin-convert-generic-to-shorthand) drop support of node < 14
9
+ - (eslint-plugin-putout) add array-element-newline
10
+ - (eslint-plugin-putout) add remove-empty-newline-before-first-specifier
11
+ - (@putout/engine-parser) export babel/plugins
12
+ - (@putout/engine-parser) export acorn, espree, esprima
13
+ - (@putout/engine-parser) export babel parser
14
+ - (@putout/plugin-tape) convert-ok-to-match: exclude: keys
15
+ - (@putout/plugin-tape) convert-ok-to-match: rm RegExp, t.match adds it
16
+ - (eslint-plugin-putout) single-property-destructuring: exclude ImportSpecifier whith local different then imported
17
+ - (@putout/compare) add support of empty template
18
+ - (eslint-plugin-putout) remove-empty-newline-after-last-specifier: add support of ObjectExpression
19
+
20
+
21
+ 2021.11.14, v22.0.1
22
+
23
+ fix:
24
+ - (putout) parse-options: read rules: directory with config -> current working directory
25
+ - (@putout/engine-processor) markdown disable change without fix in favour of simpler rules
26
+ - (@putout/processor-markdown) add support of rules splited to fix and traverse
27
+
28
+ feature:
29
+ - (@putout/rules-set-homepage) update homepage so it linked to package directory (#88)
30
+ - (@putout/processor-markdown) add merge-heading-spaces
31
+ - (@putout/processor-markdown) add support of rules splited to fix and traverse
32
+ - (@putout/processor-markdown) rules: add remove-dependencies-badge (#85)
33
+ - (@putout/plugin-tape) remove-stop-all: add support of traceImport
34
+
35
+
36
+ 2021.11.10, v22.0.0
37
+
38
+ feature:
39
+ - (putout) remove apply-filter-boolean from default install, use remove-useless-functions instead'
40
+
41
+
42
+ 2021.11.10, v21.6.0
43
+
44
+ feature:
45
+ - (package) @putout/plugin-remove-useless-functions v2.0.0
46
+ - (@putout/plugin-remove-useless-functions) drop support of node < 14
47
+ - (putout) apply-filter-boolean: disabled and will be removed in next major version
48
+ - (@putout/plugin-remove-useless-functions) add support of id
49
+ - (eslint-plugin-putout) add babel options from @putout/engine-parser for TypeScript and Markdown
50
+ - (@putout/engine-parser) export babel/options
51
+ - (@putout/plugin-tape) add-stop-all: add support of test.only(), test.skip()
52
+ - (@putout/plugin-tape) remove-stop-all: add support of test.only(), test.skip()
53
+
54
+
1
55
  2021.11.10, v21.5.0
2
56
 
3
57
  feature:
package/help.json CHANGED
@@ -18,5 +18,4 @@
18
18
  "--no-config ": "avoid reading '.putout.json'",
19
19
  "--no-ci ": "disable the CI detection",
20
20
  "--no-cache ": "disable the cache"
21
-
22
21
  }
@@ -56,7 +56,7 @@ module.exports = (info = {}) => {
56
56
 
57
57
  const resultOptions = merge(
58
58
  readCodeMods(),
59
- readRules(dir, rulesdir),
59
+ readRules('./', rulesdir),
60
60
  mergedOptions,
61
61
  mergedDefaultsMatch,
62
62
  mergedMatch,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "21.5.0",
3
+ "version": "22.0.2",
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",
@@ -71,7 +71,6 @@
71
71
  "@putout/plugin-apply-array-at": "^1.0.0",
72
72
  "@putout/plugin-apply-as-type-assertions": "^1.0.0",
73
73
  "@putout/plugin-apply-destructuring": "^5.0.0",
74
- "@putout/plugin-apply-filter-boolean": "^1.0.0",
75
74
  "@putout/plugin-apply-if-condition": "^1.0.0",
76
75
  "@putout/plugin-apply-is-array": "^2.0.0",
77
76
  "@putout/plugin-apply-numeric-separators": "^1.0.0",
@@ -92,7 +91,7 @@
92
91
  "@putout/plugin-convert-for-each-to-for-of": "^6.0.0",
93
92
  "@putout/plugin-convert-for-in-to-for-of": "^2.0.0",
94
93
  "@putout/plugin-convert-for-to-for-of": "^2.0.0",
95
- "@putout/plugin-convert-generic-to-shorthand": "^1.0.0",
94
+ "@putout/plugin-convert-generic-to-shorthand": "^2.0.0",
96
95
  "@putout/plugin-convert-index-of-to-includes": "^1.0.0",
97
96
  "@putout/plugin-convert-map-to-for-of": "^1.0.0",
98
97
  "@putout/plugin-convert-math-pow": "^4.0.0",
@@ -149,7 +148,7 @@
149
148
  "@putout/plugin-remove-useless-continue": "^1.0.0",
150
149
  "@putout/plugin-remove-useless-escape": "^1.0.0",
151
150
  "@putout/plugin-remove-useless-for-of": "^2.0.0",
152
- "@putout/plugin-remove-useless-functions": "^1.0.3",
151
+ "@putout/plugin-remove-useless-functions": "^2.0.0",
153
152
  "@putout/plugin-remove-useless-map": "^1.0.0",
154
153
  "@putout/plugin-remove-useless-mapped-types": "^1.0.0",
155
154
  "@putout/plugin-remove-useless-mapping-modifiers": "^1.0.0",
package/putout.json CHANGED
@@ -140,7 +140,6 @@
140
140
  },
141
141
  "plugins": [
142
142
  "apply-array-at",
143
- "apply-filter-boolean",
144
143
  "apply-is-array",
145
144
  "apply-destructuring",
146
145
  "apply-optional-chaining",