@stll/anonymize 2.7.6 → 2.7.8
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/native.d.mts
CHANGED
|
@@ -170,6 +170,17 @@ type NativeLegalFormData = {
|
|
|
170
170
|
institutional_complement_connectors: string[];
|
|
171
171
|
institutional_generic_words: string[];
|
|
172
172
|
institutional_prefix_generic_words: string[];
|
|
173
|
+
lowercase_bridge: NativeLowercaseBridge;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Whether the legal-form name walk may cross arbitrary lowercase words once a
|
|
177
|
+
* capitalized word is in the span (`open`), or only a closed connector set
|
|
178
|
+
* (`closed`).
|
|
179
|
+
*/
|
|
180
|
+
type NativeLowercaseBridge = {
|
|
181
|
+
policy: "open" | "closed";
|
|
182
|
+
/** Connector words admitted between capitalized name words (`closed`). */
|
|
183
|
+
words: string[];
|
|
173
184
|
};
|
|
174
185
|
type NativeDateMonthData = Record<string, string[]>;
|
|
175
186
|
type NativeYearWordData = Record<string, string[]>;
|
|
@@ -188,10 +199,15 @@ type NativeMonetaryData = {
|
|
|
188
199
|
written_amount_patterns: Array<{
|
|
189
200
|
keywords: string[];
|
|
190
201
|
}>;
|
|
202
|
+
number_words: Array<{
|
|
203
|
+
words: string[];
|
|
204
|
+
joiners: string[];
|
|
205
|
+
}>;
|
|
191
206
|
magnitude_suffixes: Array<{
|
|
192
207
|
words: string[];
|
|
193
208
|
abbreviations_case_insensitive: string[];
|
|
194
209
|
abbreviations_case_sensitive: string[];
|
|
210
|
+
abbreviations_attached: string[];
|
|
195
211
|
}>;
|
|
196
212
|
share_quantity_terms: Array<{
|
|
197
213
|
modifiers: string[];
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/anonymize",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.8",
|
|
4
4
|
"description": "Deterministic PII detection and anonymization with regex, deny lists, and coreference resolution",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anonymization",
|
|
@@ -105,22 +105,22 @@
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"optionalDependencies": {
|
|
108
|
-
"@stll/anonymize-wasm": "2.7.
|
|
109
|
-
"@stll/anonymize-darwin-arm64": "2.7.
|
|
110
|
-
"@stll/anonymize-darwin-x64": "2.7.
|
|
111
|
-
"@stll/anonymize-linux-arm64-gnu": "2.7.
|
|
112
|
-
"@stll/anonymize-linux-x64-gnu": "2.7.
|
|
113
|
-
"@stll/anonymize-win32-x64-msvc": "2.7.
|
|
108
|
+
"@stll/anonymize-wasm": "2.7.8",
|
|
109
|
+
"@stll/anonymize-darwin-arm64": "2.7.8",
|
|
110
|
+
"@stll/anonymize-darwin-x64": "2.7.8",
|
|
111
|
+
"@stll/anonymize-linux-arm64-gnu": "2.7.8",
|
|
112
|
+
"@stll/anonymize-linux-x64-gnu": "2.7.8",
|
|
113
|
+
"@stll/anonymize-win32-x64-msvc": "2.7.8"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@napi-rs/cli": "^3.8.
|
|
116
|
+
"@napi-rs/cli": "^3.8.5",
|
|
117
117
|
"@stll/anonymize-data": "workspace:*",
|
|
118
118
|
"bun-types": "^1.3.14",
|
|
119
119
|
"fast-check": "^4.9.0",
|
|
120
120
|
"fflate": "^0.8.3",
|
|
121
|
-
"puppeteer-core": "25.
|
|
121
|
+
"puppeteer-core": "25.5.0",
|
|
122
122
|
"tsdown": "0.22.14",
|
|
123
123
|
"typescript": "7.0.2",
|
|
124
|
-
"vite": "^8.2.
|
|
124
|
+
"vite": "^8.2.1"
|
|
125
125
|
}
|
|
126
126
|
}
|