redlint 4.0.1 → 4.1.1

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,21 @@
1
+ 2025.03.26, v4.1.1
2
+
3
+ fix:
4
+ - b4043af redlint: rm useless obliterator
5
+
6
+ 2025.03.26, v4.1.0
7
+
8
+ feature:
9
+ - abb6d6d redlint: iterator map ponyfill
10
+ - c7cd9de redlint: supertape v11.0.4
11
+ - 9767b36 redlint: @putout/test v13.0.0
12
+ - d33317e redlint: @putout/processor-filesystem v6.0.0
13
+ - e0d233f redlint: @putout/plugin-nodejs v15.2.0
14
+ - c1fa6ed redlint: @putout/plugin-filesystem v9.0.1
15
+ - de816ec redlint: @putout/plugin-eslint v13.0.1
16
+ - 9b17157 redlint: @putout/operator-filesystem v7.0.0
17
+ - a8e5851 redlint: @putout/engine-runner v24.0.2
18
+
1
19
  2025.03.25, v4.0.1
2
20
 
3
21
  feature:
@@ -1,5 +1,6 @@
1
1
  import {basename, dirname} from 'node:path';
2
2
  import {operator} from 'putout';
3
+ import map from 'es-iterator-helpers/Iterator.prototype.map';
3
4
 
4
5
  const {
5
6
  createNestedDirectory,
@@ -56,7 +57,7 @@ export const scan = (path, {push, trackFile, options}) => {
56
57
 
57
58
  const [fullNames, fromNames, toNames] = getRenamedFiles(from, to);
58
59
  const convertToTuple = addFromTo(fromNames, toNames);
59
- const trackFileIterator = trackFile(path, fullNames).map(convertToTuple);
60
+ const trackFileIterator = map(trackFile(path, fullNames), convertToTuple);
60
61
 
61
62
  for (const [from, to, currentFile] of trackFileIterator) {
62
63
  push(currentFile, {
@@ -1,5 +1,6 @@
1
1
  import {join} from 'node:path';
2
2
  import {operator} from 'putout';
3
+ import map from 'es-iterator-helpers/Iterator.prototype.map';
3
4
 
4
5
  const {renameFile} = operator;
5
6
 
@@ -27,7 +28,8 @@ export const scan = (path, {push, trackFile, options}) => {
27
28
 
28
29
  const [fullNames, fromNames, toNames] = getRenamedFiles(dir, from, to);
29
30
  const convertToTuple = addFromTo(fromNames, toNames);
30
- const trackFileIterator = trackFile(path, fullNames).map(convertToTuple);
31
+
32
+ const trackFileIterator = map(trackFile(path, fullNames), convertToTuple);
31
33
 
32
34
  for (const [from, to, currentFile] of trackFileIterator) {
33
35
  push(currentFile, {
@@ -4,8 +4,8 @@ import {
4
4
  print,
5
5
  } from 'putout';
6
6
  import {createProgress} from '@putout/engine-runner/progress';
7
- import writeAllFiles from '@putout/plugin-filesystem/write-all-files';
8
- import replaceCwd from '@putout/plugin-filesystem/replace-cwd';
7
+ import * as writeAllFiles from '@putout/plugin-filesystem/write-all-files';
8
+ import * as replaceCwd from '@putout/plugin-filesystem/replace-cwd';
9
9
  import {
10
10
  branch as originalBranch,
11
11
  merge as originalMerge,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redlint",
3
- "version": "4.0.1",
3
+ "version": "4.1.1",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Lint Filesystem with 🐊Putout",
@@ -33,21 +33,23 @@
33
33
  "@putout/bundler": "^2.0.0",
34
34
  "@putout/cli-choose": "^2.0.0",
35
35
  "@putout/cli-filesystem": "^2.0.1",
36
- "@putout/engine-runner": "^23.0.5",
36
+ "@putout/engine-runner": "^24.0.2",
37
37
  "@putout/formatter-codeframe": "^8.0.0",
38
38
  "@putout/formatter-dump": "^5.0.0",
39
- "@putout/operator-filesystem": "^6.0.2",
39
+ "@putout/operator-filesystem": "^7.0.0",
40
40
  "@putout/operator-json": "^2.0.0",
41
- "@putout/plugin-eslint": "^12.1.0",
42
- "@putout/plugin-filesystem": "^8.0.1",
43
- "@putout/plugin-nodejs": "^14.0.1",
41
+ "@putout/plugin-eslint": "^13.0.1",
42
+ "@putout/plugin-filesystem": "^9.0.1",
43
+ "@putout/plugin-nodejs": "^15.2.0",
44
44
  "@putout/plugin-react": "^2.0.1",
45
- "@putout/processor-filesystem": "^5.0.0",
45
+ "@putout/processor-filesystem": "^6.0.0",
46
46
  "chalk": "^5.3.0",
47
47
  "ci-info": "^4.0.0",
48
48
  "enquirer": "^2.4.1",
49
+ "es-iterator-helpers": "^1.2.1",
49
50
  "fullstore": "^3.0.0",
50
51
  "ignore": "^7.0.0",
52
+ "obligator": "^3.0.0",
51
53
  "ora": "^8.0.1",
52
54
  "putout": "^39.0.0",
53
55
  "strip-ansi": "^7.1.0",
@@ -64,7 +66,7 @@
64
66
  ],
65
67
  "devDependencies": {
66
68
  "@putout/eslint-flat": "^3.0.0",
67
- "@putout/test": "^12.0.1",
69
+ "@putout/test": "^13.0.0",
68
70
  "c8": "^10.1.2",
69
71
  "eslint": "^9.0.0",
70
72
  "eslint-plugin-putout": "^26.0.2",
@@ -73,7 +75,7 @@
73
75
  "madrun": "^11.0.0",
74
76
  "montag": "^1.0.0",
75
77
  "nodemon": "^3.0.1",
76
- "supertape": "^10.0.0",
78
+ "supertape": "^11.0.4",
77
79
  "try-catch": "^3.0.0"
78
80
  },
79
81
  "license": "MIT",