@stll/anonymize 1.4.3 → 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.
- package/dist/common-words-en.mjs +0 -1
- package/dist/constants.mjs +3 -0
- package/dist/constants.mjs.map +1 -1
- package/dist/constants2.d.mts +3 -1
- package/dist/index.d.mts +28 -1
- package/dist/index.mjs +6287 -68
- package/dist/index.mjs.map +1 -1
- package/dist/legal-form-leading-clauses.mjs +6 -1
- package/dist/names-exclusions.mjs +12 -0
- package/dist/person-stopwords.mjs +16 -0
- package/package.json +14 -6
|
@@ -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",
|
|
@@ -17,6 +17,7 @@ var person_stopwords_default = {
|
|
|
17
17
|
"basic",
|
|
18
18
|
"belgian",
|
|
19
19
|
"borrower",
|
|
20
|
+
"branch",
|
|
20
21
|
"british",
|
|
21
22
|
"bulgarian",
|
|
22
23
|
"buyer",
|
|
@@ -35,6 +36,8 @@ var person_stopwords_default = {
|
|
|
35
36
|
"default",
|
|
36
37
|
"delaware",
|
|
37
38
|
"delivery",
|
|
39
|
+
"department",
|
|
40
|
+
"division",
|
|
38
41
|
"dry",
|
|
39
42
|
"dutch",
|
|
40
43
|
"english",
|
|
@@ -50,6 +53,7 @@ var person_stopwords_default = {
|
|
|
50
53
|
"germany",
|
|
51
54
|
"greek",
|
|
52
55
|
"guarantor",
|
|
56
|
+
"headquarters",
|
|
53
57
|
"hungarian",
|
|
54
58
|
"indiana",
|
|
55
59
|
"interest",
|
|
@@ -80,6 +84,7 @@ var person_stopwords_default = {
|
|
|
80
84
|
"notice",
|
|
81
85
|
"november",
|
|
82
86
|
"october",
|
|
87
|
+
"office",
|
|
83
88
|
"ohio",
|
|
84
89
|
"opportunity",
|
|
85
90
|
"owner",
|
|
@@ -102,6 +107,7 @@ var person_stopwords_default = {
|
|
|
102
107
|
"section",
|
|
103
108
|
"seller",
|
|
104
109
|
"september",
|
|
110
|
+
"subsidiary",
|
|
105
111
|
"slovak",
|
|
106
112
|
"slovenian",
|
|
107
113
|
"spanish",
|
|
@@ -134,6 +140,16 @@ var person_stopwords_default = {
|
|
|
134
140
|
"viale",
|
|
135
141
|
"vico",
|
|
136
142
|
"vicolo",
|
|
143
|
+
"tato",
|
|
144
|
+
"tento",
|
|
145
|
+
"tito",
|
|
146
|
+
"tomto",
|
|
147
|
+
"tomuto",
|
|
148
|
+
"toto",
|
|
149
|
+
"touto",
|
|
150
|
+
"tuto",
|
|
151
|
+
"tyto",
|
|
152
|
+
"této",
|
|
137
153
|
"acheteur",
|
|
138
154
|
"acheteuse",
|
|
139
155
|
"acquéreur",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/anonymize",
|
|
3
|
-
"version": "1.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
|
|
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
|
|
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.
|
|
55
|
+
"bun-types": "^1.3.14",
|
|
48
56
|
"tsdown": "^0.22.0",
|
|
49
57
|
"typescript": "^6.0.3",
|
|
50
|
-
"vite": "^8.0.
|
|
58
|
+
"vite": "^8.0.13"
|
|
51
59
|
}
|
|
52
60
|
}
|