aslopcleaner 1.0.2 → 1.0.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/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-7uDonJVi.mjs';
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-S3TwC0Bu.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-7uDonJVi.mjs';
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-S3TwC0Bu.mjs';
3
3
  import 'fast-glob';
4
4
  import 'node:path';
5
5
  import 'node:fs/promises';
@@ -156,7 +156,6 @@ const REPLACEMENT_RULES = [
156
156
  { match: "\u2012", replacement: "-", description: "figure dash" },
157
157
  { match: "\u2015", replacement: "--", description: "horizontal bar" },
158
158
  { match: "\u2010", replacement: "-", description: "hyphen" },
159
- { match: "-", replacement: "-", description: "non-breaking hyphen" },
160
159
  { match: "\u2043", replacement: "-", description: "hyphen bullet" },
161
160
  { match: "\uFE58", replacement: "-", description: "small em dash" },
162
161
  { match: "\uFE63", replacement: "-", description: "small hyphen-minus" },
@@ -799,6 +798,16 @@ const REPLACEMENT_RULES = [
799
798
  match: "\u254B",
800
799
  replacement: "+",
801
800
  description: "box drawings heavy vertical and horizontal"
801
+ },
802
+ {
803
+ match: "\u2013",
804
+ replacement: "-",
805
+ description: "en dash"
806
+ },
807
+ {
808
+ match: "\u2212",
809
+ replacement: "-",
810
+ description: "minus sign"
802
811
  }
803
812
  ];
804
813
  const REPLACEMENT_RULE_MAP = new Map(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aslopcleaner",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "High-performance CLI to replace common LLM/AI Unicode punctuation and symbols with ASCII equivalents.",
5
5
  "type": "module",
6
6
  "bin": {