putout 28.0.0 → 28.1.0

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,33 @@
1
+ 2022.12.02, v28.1.0
2
+
3
+ fix:
4
+ - @putout/compare: __children -> __jsx_children
5
+
6
+ feature:
7
+ - package: @putout/cli-match v2.0.0
8
+ - @putout/cli-match: drop support of node < 16
9
+ - @putout/cli-match: change "match()" return signature: code -> {code, message}
10
+ - @putout/plugin-remove-useless-spread: add support of sparse arrays (#119)
11
+ - @putout/compare: __jsx_children: improve support
12
+ - @putout/compare: improve support of jsx expressions
13
+ - @putout/compare: improve __jsx_children support
14
+ - @putout/compare: add support of JSXElement (#116)
15
+ - @putout/engine-parser: template: add support of jsx
16
+ - @putout/engine-runner: replacer: add support of jsx (#116)
17
+ - @putout/compare: add support of JSXText (#116)
18
+ - @putout/operate: extract: add support of JSXText (#116)
19
+ - @putout/plugin-github: create-uses-fixer
20
+ - @putout/plugin-github: add set-add-and-commit (EndBug/add-and-commit#448)
21
+ - @putout/plugin-github: set-setup-node: set v3
22
+ - @putout/plugin-nodejs: set-checkout-version: add support of actions/checkout v3
23
+
24
+ 2022.10.30, v28.0.1
25
+
26
+ feature:
27
+ - package: @putout/plugin-github v4.0.0
28
+ - @putout/plugin-nodejs: set-node-versions: add support of node v19
29
+ - @putout/plugin-github: drop support of 🐊 < 28
30
+
1
31
  2022.10.20, v28.0.0
2
32
 
3
33
  feature:
package/lib/cli/index.js CHANGED
@@ -173,15 +173,15 @@ module.exports = async ({argv, halt, log, write, logError, readFile, writeFile})
173
173
  }
174
174
 
175
175
  if (isStr(args.match)) {
176
- const {match, matchErrors} = await simpleImport('@putout/cli-match');
177
- const code = await match({
176
+ const {match} = await simpleImport('@putout/cli-match');
177
+ const {code, message} = await match({
178
178
  pattern: args.match,
179
179
  cwd,
180
180
  readFile,
181
181
  writeFile,
182
182
  });
183
183
 
184
- return exit(code, `--match: ${matchErrors[code]}`);
184
+ return exit(code, `--match: ${message}`);
185
185
  }
186
186
 
187
187
  if (fix && (enable || disable || enableAll || disableAll))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "28.0.0",
3
+ "version": "28.1.0",
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",
@@ -49,7 +49,7 @@
49
49
  "@babel/types": "^7.12.6",
50
50
  "@putout/cli-cache": "^2.0.1",
51
51
  "@putout/cli-keypress": "^1.0.0",
52
- "@putout/cli-match": "^1.0.0",
52
+ "@putout/cli-match": "^2.0.0",
53
53
  "@putout/cli-ruler": "^2.0.0",
54
54
  "@putout/cli-validate-args": "^1.0.0",
55
55
  "@putout/compare": "^9.0.0",
@@ -108,7 +108,7 @@
108
108
  "@putout/plugin-eslint": "^4.2.0",
109
109
  "@putout/plugin-extract-object-properties": "^8.0.0",
110
110
  "@putout/plugin-extract-sequence-expressions": "^3.0.0",
111
- "@putout/plugin-github": "^3.0.0",
111
+ "@putout/plugin-github": "^4.0.0",
112
112
  "@putout/plugin-gitignore": "^3.0.0",
113
113
  "@putout/plugin-logical-expressions": "^1.0.0",
114
114
  "@putout/plugin-madrun": "^14.0.0",