@stll/anonymize 1.4.4 → 1.4.5

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.
@@ -144,16 +144,28 @@ var words = [
144
144
  "subject",
145
145
  "supplier",
146
146
  "tarif",
147
+ "tato",
148
+ "tedy",
149
+ "tehdy",
147
150
  "tel",
148
151
  "telefon",
149
152
  "tenant",
153
+ "tento",
150
154
  "termín",
151
155
  "that",
152
156
  "the",
153
157
  "therefore",
154
158
  "thereof",
155
159
  "this",
160
+ "tito",
161
+ "tomto",
162
+ "tomuto",
163
+ "toto",
164
+ "touto",
156
165
  "tribunal",
166
+ "tuto",
167
+ "tyto",
168
+ "této",
157
169
  "under",
158
170
  "until",
159
171
  "upon",
@@ -140,6 +140,16 @@ var person_stopwords_default = {
140
140
  "viale",
141
141
  "vico",
142
142
  "vicolo",
143
+ "tato",
144
+ "tento",
145
+ "tito",
146
+ "tomto",
147
+ "tomuto",
148
+ "toto",
149
+ "touto",
150
+ "tuto",
151
+ "tyto",
152
+ "této",
143
153
  "acheteur",
144
154
  "acheteuse",
145
155
  "acquéreur",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/anonymize",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "Multi-layer PII detection and anonymization pipeline with regex, NER, deny lists, and coreference resolution",
5
5
  "type": "module",
6
6
  "exports": {
@@ -31,22 +31,30 @@
31
31
  "build": "tsdown",
32
32
  "prepublishOnly": "bun run build",
33
33
  "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json && tsc --noEmit -p tsconfig.wasm.json",
34
- "test": "bun test --preload ./src/__test__/setup.ts",
35
- "test:fast": "bun test --preload ./src/__test__/setup.ts src/__test__/*.test.ts",
34
+ "test": "bun test --preload ./src/__test__/setup.ts --timeout 15000",
35
+ "test:fast": "bun run test src/__test__/*.test.ts",
36
36
  "lint": "prettier --check . --ignore-path ../../.prettierignore",
37
37
  "format": "prettier --write . --ignore-path ../../.prettierignore"
38
38
  },
39
39
  "dependencies": {
40
40
  "@huggingface/tokenizers": "^0.1.3",
41
- "@stll/stdnum": "^0.0.1",
41
+ "@stll/stdnum": "^1.0.0",
42
42
  "@stll/text-search": "^1.0.1"
43
43
  },
44
+ "peerDependencies": {
45
+ "@stll/anonymize-data": "^0.0.6"
46
+ },
47
+ "peerDependenciesMeta": {
48
+ "@stll/anonymize-data": {
49
+ "optional": true
50
+ }
51
+ },
44
52
  "devDependencies": {
45
53
  "@stll/anonymize-data": "workspace:*",
46
54
  "@stll/text-search-wasm": "^1.0.1",
47
- "bun-types": "^1.3.13",
55
+ "bun-types": "^1.3.14",
48
56
  "tsdown": "^0.22.0",
49
57
  "typescript": "^6.0.3",
50
- "vite": "^8.0.11"
58
+ "vite": "^8.0.13"
51
59
  }
52
60
  }