putout 35.22.4 → 35.24.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,47 @@
1
+ 2024.05.17, v35.24.0
2
+
3
+ fix:
4
+ - 5e3b2a920 @putout/plugin-eslint: typo
5
+ - 9a682de33 @putout/plugin-eslint: convert-export-match-to-decleration
6
+ - d66f8fe3e @putout/plugin-putout: add-path-store: overlap
7
+
8
+ feature:
9
+ - 2fe7a1464 putout: get rid of vulnerable not maintained fast-glob, use glob instead
10
+ - 551bf9d88 root: husky v9.0.11
11
+ - 67068c248 eslint-plugin-putout: @putout/eslint-config v9.0.0
12
+ - 812260c73 @putout/eslint-config: drop support of node < 18
13
+ - 9f90a4eea @putout/eslint-config: no-constant-binary-expression: disable due to overlap with 🐊 logical-expressions
14
+ - 44963cd84 @putout/processor-markdown: remark-preset-lint-consistent v6.0.0
15
+ - 00450ceeb @putout/processor-markdown: unified-lint-rule v3.0.0
16
+ - e2d409cab @putotu/eslint-config: no-unused-private-class-members: disable, overlap with 🐊 remove-unused-private-fields
17
+ - f3f9959f3 @putout/engine-parser: hermes-parser v0.21.1
18
+ - 359fb22fe eslint-plugin-putout: eslint-plugin-eslint-plugin v6.1.0
19
+ - 0bb3d9cd2 eslint-plugin-putout: @stylistic/eslint-plugin-ts v2.1.0
20
+ - b0a1a5cb4 eslint-plugin-putout: @stylistic/eslint-plugin-jsx v2.1.0
21
+ - 53b84fcdd @putout/eslint-config: @stylistic/eslint-plugin-js v2.1.0
22
+ - a1aeb136e @putout/eslint-config: @eslint/js v9.2.0
23
+ - 244300f3f @putout/plugin-eslint: convert-export-match-to-declaration: add
24
+ - 4ffeea87d @putout/plugin-putout: add-path-store: add
25
+ - 04d61a915 @putout/plugin-filesystem: convert-simple-filesystem-to-filesystem: add support of TemplateLiteral
26
+ - 388899296 @putout/plugin-filesystem: convert-simple-filesystem-to-filesystem: MemberExpression
27
+
28
+ 2024.05.10, v35.23.0
29
+
30
+ fix:
31
+ - fa79b359c @putout/plugin-eslint: apply-dir-to-flat: report
32
+
33
+ feature:
34
+ - 60f3215aa putout: @putout/plugin-for-of v6.0.0
35
+ - 360f0cc9d @putout/plugin-generators: add
36
+ - e674127aa @putout/plugin-for-of: add-missing-star: move out to generators
37
+ - 06937ee22 @putout/plugin-filesystem: convert-simple-filesystem-to-filesystem: improve check of parent directory
38
+ - 358fa9655 @putout/plugin-putout: convert-node-to-path-in-get-template-values: exclude parentPath
39
+ - c0f246225 @putout/plugin-apply-overrides: exclude nested
40
+ - 6d61ac19a @putout/plugin-eslint: apply-dir-to-flat
41
+ - 195ed1a66 root: @putout/eslint-flat v2.0.0
42
+ - 2787a7c5a @putout/eslint: ignore await/yield
43
+ - aef0bfe36 @putout/eslint-flat: add __dirname/import.meta.url
44
+
1
45
  2024.05.09, v35.22.4
2
46
 
3
47
  fix:
@@ -3,7 +3,7 @@
3
3
  const {normalize} = require('node:path');
4
4
  const {lstat} = require('node:fs/promises');
5
5
 
6
- const fastGlob = require('fast-glob');
6
+ const {glob: fastGlob} = require('glob');
7
7
  const tryToCatch = require('try-to-catch');
8
8
 
9
9
  const {getSupportedGlob} = require('./supported-files');
@@ -24,15 +24,14 @@ async function getFiles(args, options) {
24
24
  }
25
25
 
26
26
  const globOptions = {
27
- unique: true,
28
27
  dot: true,
28
+ nodir: true,
29
29
  };
30
30
 
31
31
  const addExt = (options) => async function addExt(a) {
32
32
  const [[e], files] = await Promise.all([
33
33
  tryToCatch(lstat, a),
34
34
  safeGlob(a, {
35
- onlyFiles: false,
36
35
  ...options,
37
36
  }),
38
37
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "35.22.4",
3
+ "version": "35.24.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",
@@ -118,7 +118,8 @@
118
118
  "@putout/plugin-extract-object-properties": "^9.0.0",
119
119
  "@putout/plugin-extract-sequence-expressions": "^3.0.0",
120
120
  "@putout/plugin-filesystem": "^5.0.0",
121
- "@putout/plugin-for-of": "^5.0.0",
121
+ "@putout/plugin-for-of": "^6.0.0",
122
+ "@putout/plugin-generators": "^1.0.0",
122
123
  "@putout/plugin-github": "^12.0.0",
123
124
  "@putout/plugin-gitignore": "^6.0.0",
124
125
  "@putout/plugin-logical-expressions": "^5.0.0",
@@ -194,9 +195,9 @@
194
195
  "debug": "^4.1.1",
195
196
  "deepmerge": "^4.0.0",
196
197
  "escalade": "^3.1.1",
197
- "fast-glob": "^3.2.2",
198
198
  "find-up": "^7.0.0",
199
199
  "fullstore": "^3.0.0",
200
+ "glob": "^10.3.15",
200
201
  "goldstein": "^5.3.0",
201
202
  "ignore": "^5.0.4",
202
203
  "is-relative": "^1.0.0",
@@ -221,7 +222,7 @@
221
222
  "unused"
222
223
  ],
223
224
  "devDependencies": {
224
- "@putout/eslint-flat": "^1.0.0",
225
+ "@putout/eslint-flat": "^2.0.0",
225
226
  "@putout/plugin-apply-entries": "^2.0.0",
226
227
  "c8": "^9.0.0",
227
228
  "currify": "^4.0.0",
package/putout.json CHANGED
@@ -259,6 +259,7 @@
259
259
  "math",
260
260
  "putout",
261
261
  "putout-config",
262
+ "generators",
262
263
  "promises",
263
264
  "typescript",
264
265
  "coverage",