File tree Expand file tree Collapse file tree 2 files changed +4815
-3
lines changed Expand file tree Collapse file tree 2 files changed +4815
-3
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ Options:
37
37
-d, --dry Dry run (no changes are made to files)
38
38
-p, --print Print transformed files to stdout
39
39
--verbose Show more information about the transform process
40
+ --silent Don't print anything to stdout
40
41
-h, --help Display this help message.
41
42
```
42
43
@@ -48,18 +49,34 @@ All the available codemods to update your express server:
48
49
49
50
<!-- CODEMODS START -->
50
51
51
- ### magic redirect (5 .0.0)
52
+ ### magic redirect (v5 .0.0)
52
53
53
54
Transform the deprecated magic string "back"
54
55
55
- ### pluralized methods (5 .0.0)
56
+ ### pluralized methods (v5 .0.0)
56
57
57
58
Transform the methods to their pluralized versions
58
59
59
- ### v4 deprecated signatures (5 .0.0)
60
+ ### v4 deprecated signatures (v5 .0.0)
60
61
61
62
Transform the deprecated signatures in Express v4
62
63
64
+ ### redirect (v5.0.0)
65
+
66
+ Reverse param order for "redirect" method
67
+
68
+ ### req param (v5.0.0)
69
+
70
+ Change request.param() to dedicated methods
71
+
72
+ ### send file (v5.0.0)
73
+
74
+ Convert method name "sendfile" to "sendFile"
75
+
76
+ ### full name delete (v5.0.0)
77
+
78
+ Convert method name "del" to "delete"
79
+
63
80
<!-- CODEMODS END -->
64
81
65
82
## Contributing
You can’t perform that action at this time.
0 commit comments