putout 35.23.0 → 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,30 @@
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
+
1
28
  2024.05.10, v35.23.0
2
29
 
3
30
  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.23.0",
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",
@@ -195,9 +195,9 @@
195
195
  "debug": "^4.1.1",
196
196
  "deepmerge": "^4.0.0",
197
197
  "escalade": "^3.1.1",
198
- "fast-glob": "^3.2.2",
199
198
  "find-up": "^7.0.0",
200
199
  "fullstore": "^3.0.0",
200
+ "glob": "^10.3.15",
201
201
  "goldstein": "^5.3.0",
202
202
  "ignore": "^5.0.4",
203
203
  "is-relative": "^1.0.0",