putout 34.2.1 → 34.4.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,48 @@
1
+ 2023.12.22, v34.4.0
2
+
3
+ feature:
4
+ - 9ad60e41c putout: -i: improve
5
+ - 658e59103 @putout/plugin-filesystem: convert-simple-filesystem-to-filesystem: simplify
6
+ - bac19321a @putout/operator-filesystem: createFile
7
+ - 991448520 @putout/operator-filesystem: createFile with no content
8
+ - 5bdb9288f @putout/operator-filesystem: getFileContent: add
9
+ - 3dc73e9b6 @putout/operator-filesystem: writeFileContent: emoji
10
+ - b7d9c9028 @putout/plugin-filesystem: replace-cwd: from is root
11
+ - c6ddc7fc9 @putout/pluginf-filesystem: export replace-cwd
12
+ - c325ed4e9 @putout/plugin-react-hooks: drop support of node < 18
13
+ - 4f8af0c0b @putout/plugin-react-hooks: declare: useMemo
14
+ - eaa9871c6 @putout/plugin-remove-useless-escape: double quotes inside template
15
+ - 9ab30399d @putout/plugin-filesystem: write-all-files: progress: add
16
+ - f07474267 @putout/plugin-filesystem: replace-cwd: from root
17
+ - 49fa0ab73 @putout/plugin-filesystem: replace-cwd: add progress
18
+ - 313803316 @putout/test: progressWithOptions
19
+
20
+ 2023.12.21, v34.3.0
21
+
22
+ feature:
23
+ - 343bf7d8b putout: @putout/cli-choose-formatter v3.0.0
24
+ - 12f580372 @putout/cli-choose-formatter: drop support of node < 18
25
+ - a0e6215fe putout: @putout/cli-cache v3.0.0
26
+ - 026ecf2bd @putout/cli-cache: drop support of node < 18
27
+ - 845dba5b0 putout: @putout/eslint v3.0.0
28
+ - 4a4f269b2 eslint-plugin-putout: @putout/eslint v3.0.0
29
+ - 15c333e64 @putout/test: @putout/eslint v2.4.0
30
+ - 89d1b752c @putout/eslint: drop support of node < 18
31
+ - bd0884317 @putout/processor-css: stylelint-prettier v5.0.0
32
+ - d9467ffe0 @putout/eslint: find-up v7.0.0
33
+ - 215816655 @putout/cli-choose-formatter: find-up v7.0.0
34
+ - 9b0eb42c0 @putout/cli-cache: find-up v7.0.0
35
+ - b2dee82e0 putout: find-up v7.0.0
36
+ - 433114dc0 @putout/engine-runner: scanner: progress: add percent
37
+ - 12908419f @putout/processor-css: align spaces on empty lines
38
+ - 3117a145e @putout/test: progress
39
+ - ef4908d1f @putout/plugin-filesystem: exports: read-all-files
40
+ - 849f1cfcd @putout/plugin-filesystem: read-all-files: progress
41
+ - e916cdf6c @putout/engine-runner: Scanner: progress: file
42
+ - 0f992b4da @putout/plugin-remove-unused-variables: first argument should be always declared and used when arguments count > 1
43
+ - f09f4e316 @putout/plugin-filesystem: wriate-all-files: add
44
+ - 9c2c1fd78 @putout/operator-filesystem: writeFileContent: directory
45
+
1
46
  2023.12.19, v34.2.1
2
47
 
3
48
  feature:
package/lib/cli/index.js CHANGED
@@ -178,7 +178,7 @@ module.exports = async ({argv, halt, log, write, logError, readFile, writeFile})
178
178
  if (args.interactive) {
179
179
  const {chooseFormatter} = await simpleImport('@putout/cli-choose-formatter');
180
180
 
181
- newFormatter = await chooseFormatter(defaultFormatter, keys(dependencies));
181
+ [newFormatter] = await chooseFormatter(defaultFormatter, keys(dependencies));
182
182
 
183
183
  if (!newFormatter)
184
184
  return exit(INTERACTIVE_CANCELED);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "34.2.1",
3
+ "version": "34.4.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,8 +49,8 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@putout/babel": "^2.0.0",
52
- "@putout/cli-cache": "^2.0.1",
53
- "@putout/cli-choose-formatter": "^2.0.0",
52
+ "@putout/cli-cache": "^3.0.0",
53
+ "@putout/cli-choose-formatter": "^3.0.0",
54
54
  "@putout/cli-keypress": "^2.0.0",
55
55
  "@putout/cli-match": "^2.0.0",
56
56
  "@putout/cli-ruler": "^3.0.0",
@@ -61,7 +61,7 @@
61
61
  "@putout/engine-parser": "^10.0.0",
62
62
  "@putout/engine-processor": "^11.0.0",
63
63
  "@putout/engine-runner": "^20.0.1",
64
- "@putout/eslint": "^2.0.0",
64
+ "@putout/eslint": "^3.0.0",
65
65
  "@putout/formatter-codeframe": "^6.0.0",
66
66
  "@putout/formatter-dump": "^4.0.0",
67
67
  "@putout/formatter-frame": "^4.0.0",
@@ -184,7 +184,7 @@
184
184
  "deepmerge": "^4.0.0",
185
185
  "escalade": "^3.1.1",
186
186
  "fast-glob": "^3.2.2",
187
- "find-up": "^6.0.0",
187
+ "find-up": "^7.0.0",
188
188
  "fullstore": "^3.0.0",
189
189
  "ignore": "^5.0.4",
190
190
  "is-relative": "^1.0.0",