aslopcleaner 1.0.1 → 1.0.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/dist/cli.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import path from 'node:path';
|
|
|
3
3
|
import process from 'node:process';
|
|
4
4
|
import { readFile, writeFile } from 'node:fs/promises';
|
|
5
5
|
import * as readline from 'node:readline/promises';
|
|
6
|
-
import { R as REPLACEMENT_RULES, s as scanDirectory, d as shouldSkipSensitivePath, b as applyOccurrences, c as countByMatch, a as REPLACEMENT_RULE_MAP } from './scanner-
|
|
6
|
+
import { R as REPLACEMENT_RULES, s as scanDirectory, d as shouldSkipSensitivePath, b as applyOccurrences, c as countByMatch, a as REPLACEMENT_RULE_MAP } from './scanner-7uDonJVi.mjs';
|
|
7
7
|
import 'fast-glob';
|
|
8
8
|
|
|
9
9
|
function parseArgs(argv) {
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { F as FAST_GLOB_IGNORE_PATTERNS, M as MAX_FILE_SIZE_BYTES, R as REPLACEMENT_RULES, a as REPLACEMENT_RULE_MAP, b as applyOccurrences, c as countByMatch, f as findOccurrences, i as isProbablyBinary, n as normalizeGlobPath, s as scanDirectory, d as shouldSkipSensitivePath } from './scanner-
|
|
2
|
+
export { F as FAST_GLOB_IGNORE_PATTERNS, M as MAX_FILE_SIZE_BYTES, R as REPLACEMENT_RULES, a as REPLACEMENT_RULE_MAP, b as applyOccurrences, c as countByMatch, f as findOccurrences, i as isProbablyBinary, n as normalizeGlobPath, s as scanDirectory, d as shouldSkipSensitivePath } from './scanner-7uDonJVi.mjs';
|
|
3
3
|
import 'fast-glob';
|
|
4
4
|
import 'node:path';
|
|
5
5
|
import 'node:fs/promises';
|
|
@@ -757,7 +757,49 @@ const REPLACEMENT_RULES = [
|
|
|
757
757
|
{ match: "\u2038", replacement: "^", description: "caret insertion point" },
|
|
758
758
|
{ match: "\uFF05", replacement: "%", description: "fullwidth percent" },
|
|
759
759
|
{ match: "\uFF0B", replacement: "+", description: "fullwidth plus" },
|
|
760
|
-
{ match: "\uFF1D", replacement: "=", description: "fullwidth equals" }
|
|
760
|
+
{ match: "\uFF1D", replacement: "=", description: "fullwidth equals" },
|
|
761
|
+
{ match: "\uFF02", replacement: '"', description: "fullwidth quotation mark" },
|
|
762
|
+
{ match: "\uFF07", replacement: "'", description: "fullwidth apostrophe" },
|
|
763
|
+
{
|
|
764
|
+
match: "\u2550",
|
|
765
|
+
replacement: "=",
|
|
766
|
+
description: "box drawings double horizontal"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
match: "\u256C",
|
|
770
|
+
replacement: "+",
|
|
771
|
+
description: "box drawings double horizontal and vertical"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
match: "\u256A",
|
|
775
|
+
replacement: "+",
|
|
776
|
+
description: "box drawings double vertical and horizontal"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
match: "\u256B",
|
|
780
|
+
replacement: "+",
|
|
781
|
+
description: "box drawings vertical double and horizontal"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
match: "\u2569",
|
|
785
|
+
replacement: "+",
|
|
786
|
+
description: "box drawings double up and horizontal"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
match: "\u2568",
|
|
790
|
+
replacement: "+",
|
|
791
|
+
description: "box drawings double down and horizontal"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
match: "\u2542",
|
|
795
|
+
replacement: "+",
|
|
796
|
+
description: "box drawings light vertical and horizontal"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
match: "\u254B",
|
|
800
|
+
replacement: "+",
|
|
801
|
+
description: "box drawings heavy vertical and horizontal"
|
|
802
|
+
}
|
|
761
803
|
];
|
|
762
804
|
const REPLACEMENT_RULE_MAP = new Map(
|
|
763
805
|
REPLACEMENT_RULES.map((rule) => [rule.match, rule.replacement])
|