putout 29.12.4 → 29.12.5

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,12 @@
1
+ 2023.06.08, v29.12.5
2
+
3
+ feature:
4
+ - 7f14546b5 package: @putout/plugin-apply-early-return v3.0.0
5
+ - ce901bbe8 @putout/printer: filter out Identifiers
6
+ - 8637da9d4 @putout/plugin-apply-early-return: drop support of 🐊 < 29
7
+ - 0ecf64c9b @putout/plugin-apply-eary-return: use @putout/printer
8
+ - 1ee397bac @putout/plugin-react-hook-form: v6-convert-as-to-render: fieldset -> field
9
+
1
10
  2023.06.08, v29.12.4
2
11
 
3
12
  feature:
package/lib/cli/help.js CHANGED
@@ -4,10 +4,7 @@ module.exports = () => {
4
4
  const bin = require('../../help.json');
5
5
  const usage = 'Usage: putout [options] [path]';
6
6
 
7
- const result = [
8
- usage,
9
- 'Options: ',
10
- ];
7
+ const result = [usage, 'Options: '];
11
8
 
12
9
  for (const name of Object.keys(bin)) {
13
10
  result.push(` ${name} ${bin[name]}`);
package/lib/shebang.js CHANGED
@@ -11,10 +11,7 @@ module.exports.mergeShebang = (shebang, source) => {
11
11
 
12
12
  module.exports.cutShebang = (source) => {
13
13
  if (source.indexOf('#'))
14
- return [
15
- source,
16
- '',
17
- ];
14
+ return [source, ''];
18
15
 
19
16
  const lines = source.split('\n');
20
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "29.12.4",
3
+ "version": "29.12.5",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
@@ -72,7 +72,7 @@
72
72
  "@putout/operator-regexp": "^1.0.0",
73
73
  "@putout/plugin-apply-at": "^1.0.0",
74
74
  "@putout/plugin-apply-destructuring": "^7.0.0",
75
- "@putout/plugin-apply-early-return": "^2.0.0",
75
+ "@putout/plugin-apply-early-return": "^3.0.0",
76
76
  "@putout/plugin-apply-flat-map": "^2.0.0",
77
77
  "@putout/plugin-apply-optional-chaining": "^3.0.0",
78
78
  "@putout/plugin-apply-template-literals": "^2.0.0",