redlint 3.6.0 β†’ 3.6.2

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,13 @@
1
+ 2023.12.27, v3.6.2
2
+
3
+ fix:
4
+ - 98b0ac8 lint: setSuffixText
5
+
6
+ 2023.12.26, v3.6.1
7
+
8
+ fix:
9
+ - dd6b154 redlint: scan πŸ”
10
+
1
11
  2023.12.26, v3.6.0
2
12
 
3
13
  feature:
package/lib/lint/lint.js CHANGED
@@ -16,6 +16,7 @@ export const lint = async (filesystem, {fix, progress = createProgress()} = {})
16
16
  });
17
17
 
18
18
  const ast = parse(source);
19
+
19
20
  const places = await transformAsync(ast, source, {
20
21
  fix,
21
22
  fixCount: 1,
@@ -5,9 +5,10 @@ import {
5
5
  setPush,
6
6
  setFail,
7
7
  setSuccess,
8
+ setSuffixText,
8
9
  } from '../spinner.js';
9
10
 
10
- export function masterLint(filesystem, {fix, test, start = setStart, end = setEnd, push = setPush, fail = setFail, success = setSuccess}) {
11
+ export function masterLint(filesystem, {fix, suffix = setSuffixText, test, start = setStart, end = setEnd, push = setPush, fail = setFail, success = setSuccess}) {
11
12
  const slave = new URL('./slave.js', import.meta.url);
12
13
  const workerData = {
13
14
  filesystem,
@@ -24,5 +25,6 @@ export function masterLint(filesystem, {fix, test, start = setStart, end = setEn
24
25
  success,
25
26
  test,
26
27
  slave,
28
+ suffix,
27
29
  });
28
30
  }
package/lib/menu.js CHANGED
@@ -1,5 +1,5 @@
1
- export const SCAN = 'βœ… scan';
2
- export const SCAN_DEBUG = 'βœ… scan: debug';
1
+ export const SCAN = 'πŸ” scan';
2
+ export const SCAN_DEBUG = 'πŸ” scan: debug';
3
3
  export const FIX = 'πŸ”¨ fix';
4
4
  export const FIX_DEBUG = 'πŸ”¨ fix: debug';
5
5
  export const PACK = 'πŸ”¬ pack';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redlint",
3
- "version": "3.6.0",
3
+ "version": "3.6.2",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Lint Filesystem with 🐊Putout",