putout 29.2.4 → 29.2.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,25 @@
1
+ 2023.04.21, v29.2.5
2
+
3
+ fix:
4
+ - 903adc958 @putout/eslint: create-plugin: createGetSpaceBeforeNode -> createGetSpacesBeforeNode
5
+
6
+ feature:
7
+ - b5f7edc97 package: @putout/plugin-github v5.0.0
8
+ - 64492ce4b @putout/plugin-github: use @putout/printer
9
+ - 2194abd6f @putout/plugin-github: drop support of 🐊 < 29
10
+ - 94a047988 @putout/plugin-github: set-node-versions: add support of node v20
11
+ - 115d87438 eslint-plugin-putout: safe: disable maybe/noop
12
+ - 2a8fcf237 @putout/plugin-maybe: apply @putout/printer
13
+ - d21b72024 @putout/processor-markdown: use @putout/printer
14
+ - 8cfba34d8 @putout/plugin-typescript: use @putout/printer
15
+ - 06e5c18fd @putout/operator-add-args: improve declare of arguments
16
+ - c5b045452 eslint-plugin-putout: jsx: disable no-extra-parens
17
+ - 45d2212c0 @putout/plugin-react-hook-form: use @putout/printer
18
+ - e3370c1be package: @putout/engine-parser v6.0.0
19
+ - c3e4e7a33 @putout/test: eslint: noProcess: add ability to override
20
+ - 25351d404 @putout/engine-loaders: improve validation message: ☝️ Looks like plugin name type is not 'string', but: 'function'
21
+ - df76013a0 @putout/plugin-putout: create-test: add support of shorthand property
22
+
1
23
  2023.04.09, v29.2.4
2
24
 
3
25
  fix:
package/README.md CHANGED
@@ -269,7 +269,7 @@ For example if you need to `remove-something` create 🐊[**Putout**](https://gi
269
269
 
270
270
  ## Codemods
271
271
 
272
- 🐊**Putout** supports `codemodes` in the similar to plugins way, just create a directory `~/.putout` and put your plugins there. Here is example: [convert-tape-to-supertape](https://github.com/coderaiser/putout/tree/master/codemods/plugin-convert-tape-to-supertape) and [this is example of work](https://github.com/coderaiser/putout/commit/ad02cebc344ce73cdee668cffc5078bf08830d52).
272
+ 🐊**Putout** supports `codemodes` in the similar to plugins way, just create a directory `~/.putout` and put your plugins there. Here is example: [convert-tape-to-supertape](https://github.com/coderaiser/putout/tree/master/codemods/plugin-convert-tape-to-supertape) and [this is examples of work](https://github.com/coderaiser/putout/commit/ad02cebc344ce73cdee668cffc5078bf08830d52).
273
273
 
274
274
  ## API
275
275
 
package/lib/putout.js CHANGED
@@ -88,7 +88,7 @@ module.exports.findPlaces = (ast, source, opts) => {
88
88
  };
89
89
 
90
90
  // why we pass 'source' to 'transform()'?
91
- // because we need to calcluate position in a right way
91
+ // because we need to calculate position in a right way
92
92
  // and determine is shebang is exists
93
93
  //
94
94
  // 25 return {¬
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "29.2.4",
3
+ "version": "29.2.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",
@@ -101,7 +101,7 @@
101
101
  "@putout/plugin-extract-object-properties": "^9.0.0",
102
102
  "@putout/plugin-extract-sequence-expressions": "^3.0.0",
103
103
  "@putout/plugin-for-of": "^1.0.0",
104
- "@putout/plugin-github": "^4.0.0",
104
+ "@putout/plugin-github": "^5.0.0",
105
105
  "@putout/plugin-gitignore": "^3.0.0",
106
106
  "@putout/plugin-logical-expressions": "^2.0.0",
107
107
  "@putout/plugin-madrun": "^15.0.0",
package/putout.json CHANGED
@@ -56,6 +56,13 @@
56
56
  },
57
57
  ".github/**/*.yml": {
58
58
  "github": "on",
59
+ "github/set-node-versions": ["on", {
60
+ "versions": [
61
+ "16.x",
62
+ "18.x",
63
+ "20.x"
64
+ ]
65
+ }],
59
66
  "remove-useless-escape": "off"
60
67
  },
61
68
  ".gitignore": {