/
ChangeLog
3951 lines (2502 loc) 路 90 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2020.07.12, v9.2.2
feature:
- (package) @putout/engine-loader v2.0.0
- (@putout/engine-loader) drop support of node < v10
- (package) jscodeshift v0.10.0
2020.07.09, v9.2.1
feature:
- (package) @putout/plugin-merge-duplicate-imports v2.0.0
- (@putout/plugin-merge-duplicate-imports) add store
2020.07.08, v9.2.0
fix:
- (@putout/engine-loader) rm unused get-babel-plugins
feature:
- (package) @putout/plugin-merge-destructuring-properties v4.0.0
- (@putout/engine-runner) traverse: add store
- (@putout/plugin-merge-destructuring-properties) find -> traverse
- (@putout/plugin-remove-empty) add support of last argument
- (@putout/plugin-remove-useless-arguments) add support of no arguments
2020.07.04, v9.1.1
fix:
- (putout) formatterOptions -> format
feature:
- (putout) process-file: reporter always return string
- (@putout/plugin-extract-object-properties) equal-deep: index
- (@putout/plugin-remove-unreferenced-variables) add support of VariableDeclarator
2020.06.26, v9.1.0
feature:
- (package) @putout/plugin-remove-unreferenced-variables v1.0.0
- (@putout/plugin-remove-unreferenced-variables) add
- (@putout/plugin-remove-unused-variables) improve unused import specifier handling
- (package) eslint-plugin-putout v5.0.1
- (package) madrun v7.0.0
- (package) @putout/eslint-config v4.0.0
- (@putout/eslint-config) if return -> if \n return'
2020.06.24, v9.0.0
feature:
- (babel-plugin-putout) putout: dependencies -> peerDependencies
- (eslint-plugin-putout) putout: dependencies -> peerDependencies
- (putout) make eslint optional dependency
- (putout) default formatter: progress for 10 and more files
- (putout) rm -d, --debug from help
- (putout) --update-cache -> --fresh
- (putout) remove --remove-cache
- (putout) enable process of dot files
2020.06.23, v8.21.0
feature:
- (@putout/test) format: add support of options
- (@putout/formatter-progress) add support of minCount
- (putout) add support of formatterOptions
2020.06.23, v8.20.2
fix:
- (package) eslint v7.3.1 (https://eslint.org/blog/2020/06/eslint-v7.3.1-released)
- (@putout/plugin-convert-object-assign-to-merge-spread) spread
2020.06.22, v8.20.1
fix:
- (putout) eslint: read config (https://github.com/eslint/eslint/issues/13427)
- (@putout/engine-runner) debug.enabled
- (@putout/test) noFormat: notOk -> equal ""
- (@putout/formatter-eslint) return: undefined -> ""
- (@putout/formatter-codeframe) return: undefined -> ""
- (@putout/formatter-frame) early return
- (@putout/formatter-frame) no places -> undefined
feature:
- (@putout/engine-runner) log: path -> path.toString
- (@putout/plugin-reuse-duplicate-init) add support of @putout/plugin-remove-useless-escape
- (@putout/plugin-remove-useless-escape) add support of ^
- (@putout/codemod-apply-replace-all) add
- (@putout/compare) improve support of linked string literals
2020.06.19, v8.20.0
fix:
- feature(@putout/plugin-merge-destructuring-properties) find, -> merge-destructuring-properties
feature:
- (@putout/plugin-reuse-duplicate-init) add
- (@putout/engine-runner) traverse: add support of include, exclude
- (@putout/plugin-merge-destructuring-properties) find, fix -> merge-destructuring-properties
- (@putout/plugin-merge-destructuring-properties) for -> for-of
2020.06.18, v8.19.1
fix:
- (putout) parse-options: parse-match: ?
- (putout) mv out convert-generic-to-shorthand from .mjs
2020.06.18, v8.19.0
fix:
- (@putout/parser) wrapLines when length is more then 74
feature:
- (@putout/plugin-convert-generic-to-shorthand) add
- (@putout/test) add support of TS in report
2020.06.17, v8.18.1
fix:
- (putout) "node_modules" in codemodes directory: "~/.putout"
- (@putout/operate) rm redundant putout.json
feature:
- (@putout/operate) isModuleExports: matchesPattern
- (@putout/plugin-remove-useless-variables) isPromiseResolve -> matchesPattern
- (@putout/plugin-extract-object-properties) Object.keys -> keys
- (@putout/plugin-add-return-await) include -> replace
2020.06.16, v8.18.0
fix:
- feature(@putout/plugin-remove-useless-array-from) include + -> replace
- (@putout/plugin-remove-useless-variables) no binding
feature:
- (package) @putout/formatter-frame v1.0.0
- (@putout/formatter-frame) add
- (@putout/plugin-remove-useless-array-from) include + fix -> replace
2020.06.15, v8.17.1
fix:
- (@putout/plugin-remove-boolean-from-logical-expression) putout >= 8
- feature(@putout/plugin-convert-top-level-return) include + -> replace
- chore(madrun) add :lint:fresh
feature:
- (package) @putout/plugin-remove-boolean-from-logical-expressions v2.0.1
- (@putout/plugin-remove-boolean-from-logical-expression) traverse -> replace
- (@putout/plugin-convert-top-level-return) include + fix -> replace
- (@putout/convert-binary-expression) vm -> evaluate
- (@putout/engine-parser) acorn v7.3.1, acorn-stage3 v3.0.0
- (@putout/eslint-plugin-putout) add remove-newline-after-default-import
2020.06.10, v8.17.0
fix:
- (@putout/engine-loader) load-plugin: rm useless Module.plugins (used for webpack bundle build)
feature:
- (putout) add --debug flag to switch formatter into reason of a crash (when occures)
- (@putout/eslint-cofig) .eslintrc.json -> eslintrc.json
2020.06.09, v8.16.1
fix:
- (putout) transform -> [transform]
2020.06.08, v8.16.0
feature:
- (putout) add support of --transform
2020.06.07, v8.15.1
fix:
- (putout) parse-options: complex paths with a lot "*", ".", "?"
- (@putout/compare) correct args order
2020.06.06, v8.15.0
fix:
- (@putout/plugin-remove-useless-spread) object: exclude: VariableDeclaration -> AssignmentExpression
feature:
- (putout) add --fresh
- (putout) add ability to set --format a couple times, last will be applied
- (@putout/plugin-remove-useless-spread) exclude object copy
- (@putout/codemod-cut-legacy-functions) add
- (@putout/compare) add __identifier
- (@putout/compare) improve support of literals
2020.06.05, v8.14.1
fix:
- (putout) npmignore: add fixture
2020.06.05, v8.14.0
fix:
- (@putout/compare) strict __args_a check
- chore(package) pre-commit: add --
- (@putout/engine-parser) flow: watermark not on first line
feature:
- (@putout/plugin-remove-useless-functions) add
- (@putout/compare) add support of linked args: __args__a
- (@putout/plugin-convert-equal-to-strict-equal) exclude null check
- (@putout/plugin-merge-duplicate-imports) add support of ImportNamespaceSpecifier
2020.06.03, v8.13.1
fix:
- (putout) --enable(--all)?/--disable(--all)?: filter "crash/parser" rule from .putout.json
- feature(@putout/engine-runner) improve support of "@babel/plugin-" prefixes
feature:
- (@putout/engine-runner) improve support of "@babel/plugin-" prefixes
- (@putout/plugin-apply-optional-chaining) add support of call
2020.06.02, v8.13.0
fix:
- (@putout/eslint-config) no-implicit-coercion: allow ~ back, to avoid overlap with @putout/plugin-convert-index-of-to-includes
- (@putout/plugin-convert-index-of-to-includes) report
- (@putout/plugin-convert-index-of-to-includes) !~ -> ~
feature:
- (putout) cli: --enable: add ability to use without file argument
- (@putout/plugin-convert-index-of-to-includes) add equal check
- (@putout/plugin-convert-index-of-to-includes) add not equal
- (@putout/eslint-config) no-implicit-coercion: disallow ~
2020.06.01, v8.12.0
fix:
- (@putout/plugin-extract-object-properties) handle absense of scope after @putout/plugin-apply-destructuring
- (@putout/engine-parser) babel: decorators -> decorators-legacy
feature:
- (@putout/engine-runner) template: generate() -> path.toString()
- (@putout/plugin-convert-index-of-to-includes) add
- (@putout/plugin-remove-unreachable-code) add support of FunctionDeclaration hoist (#17)
- (@putout/plugin-remove-useless-expressions) add support of ArrayExpression
- (@putout/plugin-remove-unused-expressions) add support of ObjectExpression
- (@putout/eslint-config) add brace-style
- (@putout/plugin-remove-unused-variables) add support of TSAsExpression
- (@putout/engine-parser) acorn v7.2.0
2020.05.30, v8.11.1
fix:
- (putout) specify custom rulesdir -> use additional rules from directory
feature:
- (@putout/eslint-config) add no-useless-return, yoda
2020.05.30, v8.11.0
feature:
- (@putout/eslint-config) add no-useless-return, yoda
2020.05.29, v8.10.1
feature:
- (package) @putout/plugin-remove-useless-spread v3.0.0
- (@putout/plugin-remove-useless-spread) split to array and object
- (putout) default config: tsx, mjs: disable strict mode
- (@putout/plugin-remove-useless-spread) add support of object
- (@putout/eslint-config) add no-implicit-coercion
- (@putout/plugin-merge-duplicate-imports) find -> traverse
2020.05.28, v8.10.0
feature:
- (@putout/plugin-merge-duplicate-imports) add
- (@putout/plugin-remove-unused-variables) typescript: add support of namespace
- (@putout/plugin-remove-useless-arguments) destructuring: rm exclude: redundant
- (@putout/plugin-remove-duplicate-keys) remove data when there is no need for it
2020.05.26, v8.9.0
fix:
- (compare) __object is reserved
feature:
- (@putout/plugin-remove-duplicate-keys) add
- (@putout/engine-runner) replace: add ability to return node
- (@putout/plugin-convert-for-in-to-for-of) simplify
- (putout) eslint: mv to cli
2020.05.21, v8.8.0
feature:
- (putout) cache-files: add ability to avoid cache on eslint parser error
2020.05.20, v8.7.0
fix:
- (@putout/plugin-remove-useless-arguments) destructuring: spread
feature:
- (putout) eslint: cache: avoid cache when definition of rule not found
2020.05.18, v8.6.0
feature:
- (putout) add support of --ext
- (extensions) mv out from supported-files
- (@putout/plugin-remove-useless-variables) for-of: add support of maxProperties
2020.05.18, v8.5.2
fix:
- (putout) enable ts for tsx
feature:
- (@putout/plugin-remove-useless-variables) for-of: exclude multiple properties destructuring
2020.05.17, v8.5.1
feature:
- (get-files) move out getJSGlob to supported-files
2020.05.17, v8.5.0
fix:
- (putout) get-files: not js ext
- (putout) get-files: mjs
feature:
- (putout) add support of .cjs
2020.05.16, v8.4.1
fix:
- fix(putout) get-files: not js ext
- fix(putout) get-files: mjs
2020.05.15, v8.4.0
fix:
- (@putout/convert-for-to-for-of) n: no-length
feature:
- (putout) add support of tsx, mjs files
- (@putout/engine-parser) babel: allowUndeclaredExports
- (@putout/codemod-convert-emitter-to-promise) add support of template literal in event name
- (package) supertape v2.0.1
- (@putout/plugin-convert-for-to-for-of) keywords
- (@putout/test) v2.0.0
- (@putout/test) tape -> supertape
- (package) @putout/formatter-dump v2.0.1
- (package) putout v8.3.0
2020.05.10, v8.3.0
feature:
- (putout) add support of env variable PUTOUT_FILES
- (package) @cloudcmd/stub v3.0.0
- (package) supertape v2.0.0
- (package) espree v7.0.0
2020.05.09, v8.2.0
feature:
- (putout) glob -> fast-glob
2020.05.07, v8.1.1
feature:
- (package) @putout/formatter-progress v2.0.0
- (@putout/formatter-progress) drop support of node < 10
- (package) @putout/formatter-dump v2.0.1
2020.05.07, v8.1.0
fix:
- (eslint-plugin-putout) parseOptions
feature:
- (@putout/plugin-split-nested-destructuring) add
2020.05.06, v8.0.4
fix:
- (putout) rm webpack build: decrease npm package size'
2020.05.05, v8.0.3
feature:
- (putout) readFileSync, writeFileSync -> promises: readFile, writeFile
2020.05.04, v8.0.2
feature:
- (putout) staged: add ability to filter only js files
2020.05.04, v8.0.1
feature:
- (package) @putout/formatter-stream v2.0.0
- (package) @putout/plugin-remove-unused-variables v2.3.0
- (@putout/formatter-stream) drop support of node < 10
- (package) chalk v4.0.0
- (package) @putout/formatter-codeframe v2.0.0
- (package) @putout/formatter-dump v2.0.0
- (@putout/formatter-codeframe) drop support of node < 10
- (package) chalk v4.0.0
- (package) @putout/plugin-remove-unused-variables v2.3.0
- (@putout/formatter-dump) drop support of node < 10
- (package) chalk v4.0.0
- (package) @putout/plugin-remove-unused-variables v2.3.0
- (package) @putout/eslint-config v3.0.0
- (@putout/eslint-config) drop support of node < 10
- (package) eslint-plugin-putout v4.0.0
- (package) eslint v7.0.0-rc.0
- (package) madrun v6.0.0
- (package) putout v8.0.0
- (package) putout v8.0.0
2020.05.04, v8.0.0
fix:
- (@putout/engine-parser) template: rm expression
feature:
- (package) try-catch v3.0.0
- (package) eslint v7.0.0
- (putout) add --staged
- (putout) remove DEPRECATED operate
- (package) chalk v4.0.0
- (putout) drop support of node < 10
- (package) nyc v15.0.1
- (package) nyc v15.0.1
- (package) codegen.macro v4.0.0
- (@putout/engine-runner) add ability to handle infinite loops: for the same replacers
2020.04.30, v7.24.0
fix:
- (@putout/plugin-convert-for-in-to-for-of) negative: absent hasOwnProperty
- chore(npmignore) add fixture
- (@putout/plugin-convert-for-in-to-for-of) npmignore: add fixture
- (package) eslintrc
feature:
- (putout) add ability to show rule name on crash
- (@putout/engine-runner) add ability to set rule name on crash
- (@putout/plugin-extract-sequence-expressions) add support of AwaitExpression
- (@putout/plugin-convert-for-in-to-for-of) add support of missing VariableDeclaration
- (@putout/plugin-remove-unused-variables) const __a = __b = __c -> __b = __c
- (@putout/plugin-remove-unused-variables) const __a = exports = __b -> exports = __b
- (@putout/plugin-remove-unused-variables) const __a = module.exports = __b -> module.exports = __b
- (eslint-plugin-config) simplify naming
- (@putout/eslint-config) add "no-cond-assign: off"
- (eslint-plugin-putout) add function declaration-paren-newline
2020.04.18, v7.23.0
fix:
- (@putout/eslint-config) rm key-spacing
feature:
- (@putout/plugin-convert-for-in-to-for-of) add
- (package) @putout/plugin-remove-unused-variables v2.0.1
- (package) recast v0.19.0
2020.04.10, v7.22.0
fix:
- (@putout/eslint-config) space-before-function-paren: keep space after async
feature:
- (putout) add ESLINT_CONFIG_FILE support
- (@putout/plugin-extract-object-properties) avoid extract of variables binded in outer scope
- (@putout/eslint-config) add lines-between-class-members
- (@putout/eslint-config) add key-spacing
- (@putout/eslint-config) add comma-spacing
- (@putout/eslint-config) add space-before-function-paren
2020.04.04, v7.21.0
feature:
- (putout) add --update-cache, --remove-cache
2020.04.04, v7.20.4
fix:
- (putout) process-file: avoid cache when eslint parser error
- feature(@putout/plugin-putout) add fixType
- feature(@putout/plugin-madrun) rename-eslint-to-putout: : if -> switch
- (@putout/plugin-putout) rm unused propertyPath
- (@putout/plugin-extract-object-properties) rm unused
- (@putout/plugin-extract-object-properties) npmignore: fixture
- (@putout/plugin-extract-object-properties) npmignore: fixture
feature:
- (@putout/plugin-remove-unused-variables) if -> switch
- (@putout/plugin-react-hooks) simplify
- (@putout/plugin-putout) add fixType
- (@putout/plugin-madrun) rename-eslint-to-putout: fix: if -> switch
- (@putout/plugin-remove-unused-private-fields) simplify condition
- (@putout/plugin-madrun) rm not coveraged code
- (@putout/plugin-putout) convert-find-to-traverse: rm not covered code
- (@putout/plugin-react-hooks) rm not coveraged by tests
- (@putout/plugin-extract-object-properties) getTemplateValues
2020.03.30, v7.20.3
fix:
- (npmignore) add .spec.js
- (@putout/plugin-remove-useless-async) empty async function
feature:
- (package) estree-to-babel v3.0.0
- (@putout/engine-parser) add ability to handle duplicate variables declaration
- (package) @putout/plugin-remove-unused-variables v2.0.0
- (@putout/test) is-correct-plugin
- (@putout/compare) add __nop
- (package) fullstore v3.0.0
- (@putout/eslint-config) function-paren-newline: multiline-arguments
- (eslint-plugin-putout) keyword-spacing: add support of for, for-of, for-await-of
2020.03.23, v7.20.2
fix:
- (putout) ruler-processor: cwd
2020.03.23, v7.20.1
fix:
- (@putout/traverse) scope
feature:
- (@putout/engine-parser) add support of Record, Tuple (https://github.com/tc39/proposal-record-tuple)
- (@putout/plugin-remove-unused-variables) add support of Record, Tuple (https://github.com/tc39/proposal-record-tuple)
- (@putout/traverse) improve path support
- (@putout/engine-runner) get isTemplate from @putout/compare
- (@putout/compare) parseTemplate: add support of program
- (@putout/traverse) speed up
- (@putout/engine-parser) template: add support of template.program
- (@putout/plugin-convert-for-each-to-for-of) path.traverse -> operator.traverse
- (eslint-plugin-putout) keyword-spacing: add support of if
- (@putout/traverse) add contains
2020.03.18, v7.20.0
feature:
- (package) @putout/traverse v1.0.0
- (package) @putout/plugin-remove-useless-async v3.0.0
- (@putout/plugin-remove-useless-async) traverse
- (putout) operator: add traverse
- (@putout/engine-runner) add @putout/traverse
- (@putout/traverse) add
2020.03.18, v7.19.1
fix:
- test(putout) cli: process-file: --
feature:
- (package) @putout/plugin-remove-useless-async v2.0.0
- (@putout/plugin-remove-useless-async) drop support of putout < 7.17
- (@putout/plugin-remove-useless-async) add support of for-await-of
- (@putout/plugin-remove-unused-variables) add support of decorators
- (@putout/engine-parser) add support of decorators
2020.03.18, v7.19.0
feature:
- (putout) -r, --renamed: add ability to add "renamed" files
2020.03.17, v7.18.2
fix:
- (putout) added
- (@putout/engine-runner) replace: rm findVars
- (@putout/plugin-remove-empty-pattern) putout <= 7.17
feature:
- (@putout/engine-runner) add match
- (package) @putout/plugin-remove-empty-pattern v3.0.1
- (@putout/plugin-remove-empty-pattern) add support of multi elements array pattern
- (@putout/compare) getTemplateValues: add support of __array, __
2020.03.13, v7.18.1
fix:
- (eslint-plugin-putout) getContextOptions: remove unused
- (@putout/eslint-config) rm brackets
feature:
- (@putout/engine-loader) parse-rules: provide more info in validation error message
- (@putout/plugin-convert-for-to-for-of) split into 2 files
- (@putout/plugin-remove-unused-variables) add support of OptionalCallExpression
- (@putout/plugin-convert-for-to-for-of) add support of n
- (@putout/engine-runner) replace: add support of path
- (eslint-plugin-putout) keyword-spacing: add support of switch
- (@putout/eslint-config) space-before-blocks: add
2020.03.08, v7.18.0
feature:
- (@putout/plugin-convert-for-to-for-of) add
- (package) @putout/plugin-putout v5.0.0
2020.03.08, v7.17.0
feature:
- (package) @putout/compare v4.0.1
- (package) yargs-parser v18.1.0
- (package) @putout/plugin-putout v5.0.0
- (package) @putout/plugin-split-variable-declarations v2.0.0
- (package) @putout/plugin-remove-useless-variables v4.0.0
- (package) @putout/plugin-remove-useless-array-from v2.0.0
- (package) @putout/plugin-remove-useless-arguments v4.0.0
- (package) @putout/plugin-remove-nested-blocks v3.0.0
- (package) @putout/plugin-remove-empty v5.0.0
- (package) @putout/plugin-remove-constant-conditions v2.0.0
- (package) @putout/plugin-merge-if-statements v3.0.0
- (package) @putout/plugin-merge-destructuring-properties v3.0.0
- (package) @putout/plugin-madrun v6.0.0
- (@putout/convert-fs-to-promises) drop support of putout < 7.17
- (package) @putout/plugin-extract-sequence-expressions v2.0.0
- (package) @putout/plugin-extract-object-properties v3.0.0
- (package) @putout/plugin-convert-top-level-return v3.0.0
- (package) @putout/plugin-convert-object-assign-to-merge-spread v4.0.0
- (package) @putout/plugin-convert-for-each-to-for-of v5.0.0
- (package) @putout/plugin-convert-binary-expression-to-boolean v2.0.0
- (package) @putout/plugin-apply-top-level-await v2.0.0
- (package) @putout/plugin-apply-shorthand-properties v3.0.0
- (package) @putout/plugin-promises v4.0.0
- (package) @putout/plugin-add-return-await v2.0.0
- (package) @putout/compare v4.0.1
- (package) @putout/engine-runner v6.0.0
- (package) @putout/operate v4.0.0
- (putout) operate -> operator
2020.03.06, v7.16.2
feature:
- (putout) cli: speed up, when ruler not used
2020.03.03, v7.16.1
fix:
- (putout) eslint: replace control chars on read config error
- (@putout/plugin-strict-mode) rm unused file putout
feature:
- (@putout/eslint-config) no-multiple-empty-lines: maxBOF: 0
- (@putout/compare) improve block support
2020.02.29, v7.16.0
feature:
- (@putout/plugin-remove-useless-typeof) add
- (@putout/plugin-remove-useless-async) add support of args, exclude arrow functions without body
- (@putout/compare) add support of __body
2020.02.28, v7.15.0
feature:
- (@putout/plugin-remove-useless-async) add
2020.02.28, v7.14.2
fix:
- (putout) ignores: negative
2020.02.28, v7.14.1
fix:
- (madrun) prepublishOnly -> madrun
2020.02.28, v7.14.0
fix:
- (@putout/compare) rm unused try-catch
feature:
- (@putout/plugin-remove-useless-await) add
- (@putout/plugin-remove-skip) exclude not top level test.skip
- (@putout/plugin-remove-only) exclude not top level test.only
2020.02.24, v7.13.4
feature:
- (package) try-catch v3.0.0
2020.02.24, v7.13.3
fix:
- (putout) when have eslint config error, mark it as found
2020.02.24, v7.13.2
feature:
- (putout) add ability to show eslint config validation errors
- (@putout/eslint-config) keyword-spacing: catch, disable no-control-regex
2020.02.18, v7.13.1
feature:
- (@putout/plugin-convert-template-to-string) add
2020.02.17, v7.13.0
fix:
- (@putout/pulgin-remove-useless-arguments) npmignore: add fixture
feature:
- (package) @putout/plugin-remove-useless-arguments v3.0.1
- (@putout/plugin-remove-useless-arguments) add support of simple arguments
2020.02.16, v7.12.2
fix:
- (cli) logError
- (putout) eslint: disable eslint when there is no config
feature:
- (putout) cache: include file to cache when eslint-plugin-putout used
2020.02.15, v7.12.1
feature:
- (putout) add ability to exclude rules with eslint plugins from cache (eslint/eslint#10712)
2020.02.14, v7.12.0
feature:
- (package) @putout/plugin-remove-nested-blocks v2.0.0
- (@putout/plugin-remove-nested-blocks) drop support of putout < 7
- (@putout/plugin-remove-nested-blocks) add support of switch case
2020.02.13, v7.11.1
feature:
- (putout) move out cli from bin
2020.02.12, v7.11.0
feature:
- (putout) add cache
2020.02.10, v7.10.2
fix:
- (putout) match: regexp
feature:
- (package) yargs-parser v17.0.0
2020.02.09, v7.10.1
fix:
- (@putout/engine-parser) custom-parser: object: get back, used in putout-editor
2020.02.09, v7.10.0
fix:
- (@putout/engine-loader) loadPlugins: options check
- (@putout/engine-parser) rm unused export to getParser
- (@putout/engine-parser) custom-parser: rm unused isObject check
- (@putout/apply-optional-chaining) function support
- chore(@putout/plugin-remove-useless-spread) fixture
- chore(@putout/plugin-remove-double-negations) fixture
- (@putout/compare) extract expression
- (@putout/plugin-apply-top-level-await) rm unused check
feature:
- (package) @babel/generator v7.8.4
- (package) @babel/template v7.8.3
- (package) @babel/parser v7.8.4
- (@putout/engine-parser) rm nullishCoalescingOperator, optionalChaining: enabled by default (https://babeljs.io/blog/2020/01/11/7.8.0)
- (@putout/plugin-apply-optional-chaining) add support of computed properties
- (@putout/eslint-config) add eol-last
- (@putout/plugin-apply-optional-chaining) add support of ifStatements
- (@putout/engine-runner) improve expression support
2020.02.02, v7.9.1
feature:
- (putout) parse-options: readRules: plugins: object -> array
- (@putout/codemod-convert-tape-to-supertape) conver to replace
- (@putout/codemod-cut-legacy) convert to include
- (@putout/engine-runner) filter: replace -> include
- (@putout/engine-runner) rm unused check
2020.01.28, v7.9.0
feature:
- (package) @putout/plugin-convert-commonjs-to-esm v4.0.0
- (package) @putout/plugin-promises v3.0.0
- (package) @putout/engine-runner v5.0.0
- (@putout/plugin-convert-commonjs-to-esm) replacer: add filter
- (@putout/plugin-promises) replacer: add filter
- (@putout/engine-runner) replacer: add support of filter
2020.01.28, v7.8.0
fix:
- (@putout/compare) rm unused micro-memoize
feature:
- (package) @putout/engine-runner v4.1.0
- (package) @putout/plugin-promises v2.0.0
- (@putout/engine-runner) replace: add support of path
- (@putout/plugin-promises) convert-reject-to-throw: convert to replace
- (@putout/plugin-promises) convert-useless-resolve: convert to replace
- (@putout/engine-loader) micro-memoize -> nano-memoize
- (@putout/engine-parser) micro-memoize -> nano-memoize: lint spead up: 40s -> 30s
- (package) jscodeshift v0.7.0
- (package) husky v4.2.1
2020.01.24, v7.7.1
fix:
- (@putout/engine-runner) template: isTemplate: entry has no sense in merge visitors
- (@putout/plugin-convert-throw) readme links
feature:
- (package) @putout/plugin-remove-useless-spread v2.0.0
- (@putout/plugin-remove-useless-spread) convert to replace
- (@putout/plugin-convert-arguments-to-rest) simplify
- (@putout/engine-parser) remove acorn version check due to using a fork with overriden version (https://github.com/acornjs/acorn/issues/862)
2020.01.21, v7.7.0
feature:
- (package) @putout/engine-parser v1.10.0
- (putout) add @putout/convert-throw
- (@putout/engine-parser) add support of throw expression
- (@putout/plugin-convert-throw) add
- (@putout/engine-runner) replace: speed up when skip
- (package) @putout/plugin-convert-spread-to-array-from v2.0.0
- (@putout/plugin-convert-spread-to-array-from) convert to replace
2020.01.20, v7.6.2
feature:
- (package) @putout/plugin-convert-spread-to-array-from v2.0.0
- (@putout/plugin-convert-spread-to-array-from) convert to replace
2020.01.17, v7.6.1
fix:
- feature(@putout/eslint-config) disable no-empty-pattern: no
- (putout) parseOptions: custom optionsmore important then merged options, custom match more important then custom options
feature:
- (@putout/eslint-config) disable no-empty-pattern: no fix
2020.01.16, v7.6.0
fix:
- chore(madrun) :lint
feature:
- (package) @putout/plugin-convert-commonjs-to-esm v3.0.0
- (package) @putout/plugin-putout v4.0.0
- (package) @putout/plugin-convert-for-each-to-for-of v4.0.0
- (package) @putout/engine-runner v4.0.0
- (package) @putout/operate v3.0.0
- (package) @putout/operate v3.0.0
- (@putout/engine-runner) replace: add ability to skip
- (@putout/operate) replaceWith: add support of expressions
- (@putout/plugin-putout) drop support of putout < 7.6
- (@putout/plugin-convert-for-each-to-for-of) drop support of putout < 7.6
- (@putout/plugin-convert-commonjs-to-esm) convert to replace
2020.01.15, v7.5.0
fix:
- (@putout/plugin-convert-esm-to-commonjs) add support of babel 8
feature:
- (package) @putout/plugin-convert-esm-to-commonjs v3.0.0
- (package) @putout/engine-runner v3.7.0
- (@putout/convert-esm-to-commonjs) replace
- (@putout/engine-runner) move out isName, isArgs, isImports into @putout/compare
- (@putout/compare) add isName, isArgs, isImports
- (@putout/engine-runner) add support of __args, __imports
- (@putout/compare) add support of __imports
- (@putout/engine-parser) enable BABEL_TYPES_8_BREAKING
- (@putout/engine-runner) add support of linked nodes literals
- (@putout/compare) add ability to use linked node literals
2020.01.14, v7.4.4
fix:
- (putout) improve globbing
- (long-properties-destructuring) exclude ForOfStatement
feature:
- (putout) speed up lint 5m -> 40s
- (putout) eslint-plugin-node v11
- (package) rm eslint-plugin-tape
- (compare) simplify superCompare
- (@putout/eslint-config) add padded-blocks: never'
- (compare) add ANY_ARGS
- (compare) recursion -> loop
- (compare) isLinkedNode: add
2020.01.07, v7.4.3