redlint 3.22.2 → 3.22.3

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,8 @@
1
+ 2025.03.17, v3.22.3
2
+
3
+ fix:
4
+ - b2efeb3 redlint: edit
5
+
1
6
  2025.03.17, v3.22.2
2
7
 
3
8
  feature:
package/lib/edit/edit.js CHANGED
@@ -39,7 +39,7 @@ export const edit = (filesystem, {dir, nested, full}, overrides = {}) => {
39
39
 
40
40
  const newNames = to
41
41
  .split('\n')
42
- .filter(Boolean);
42
+ .slice(0, -1);
43
43
 
44
44
  removeTmpFile();
45
45
 
@@ -46,10 +46,7 @@ const addFromTo = (namesFrom, namesTo) => (a, i) => [
46
46
  ];
47
47
 
48
48
  export const scan = (path, {push, trackFile, options}) => {
49
- const {
50
- from = [],
51
- to = [],
52
- } = options;
49
+ const {from = [], to = []} = options;
53
50
 
54
51
  if (from.length !== to.length)
55
52
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redlint",
3
- "version": "3.22.2",
3
+ "version": "3.22.3",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Lint Filesystem with 🐊Putout",