@stll/anonymize-cli 2.4.0 → 2.4.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/README.md +4 -13
- package/dist/cli.mjs +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -161,19 +161,10 @@ anonymize -d key.json --revert "[PERSON_1]" --revert "Jan Novák" reply.txt
|
|
|
161
161
|
- `--json` offsets are UTF-16 code-unit indexes into the input.
|
|
162
162
|
- `--capabilities` is runtime-free and does not read document input.
|
|
163
163
|
|
|
164
|
-
##
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
that engine has been replaced by the `@stll/anonymize-wasm`
|
|
169
|
-
native binding, which instantiates through the napi-rs
|
|
170
|
-
`wasm32-wasip1-threads` glue (`node:wasi` + worker threads).
|
|
171
|
-
Bun's `node:wasi` does not yet implement `WASI.prototype.initialize`,
|
|
172
|
-
so the binding cannot instantiate under the Bun runtime that a
|
|
173
|
-
compiled binary ships with. The binary will return once Bun
|
|
174
|
-
implements the missing `node:wasi` surface (or a non-threaded
|
|
175
|
-
single-file wasm artifact is available). The npm CLI above is
|
|
176
|
-
the supported distribution in the meantime.
|
|
164
|
+
## Distribution
|
|
165
|
+
|
|
166
|
+
Install or run the npm package with Node.js. A single-file compiled executable
|
|
167
|
+
is not currently distributed.
|
|
177
168
|
|
|
178
169
|
## License
|
|
179
170
|
|
package/dist/cli.mjs
CHANGED
|
@@ -323,7 +323,7 @@ const loadCliDictionaries = async ({ languages, countries }) => {
|
|
|
323
323
|
};
|
|
324
324
|
//#endregion
|
|
325
325
|
//#region package.json
|
|
326
|
-
var version = "2.4.
|
|
326
|
+
var version = "2.4.2";
|
|
327
327
|
//#endregion
|
|
328
328
|
//#region src/docx.ts
|
|
329
329
|
const DOCX_SESSION_KEY_BYTES = 32;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/anonymize-cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Command-line PII detection and anonymization powered by @stll/anonymize",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anonymization",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"format": "oxfmt ."
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@stll/anonymize": "^2.4.
|
|
40
|
-
"@stll/anonymize-data": "^0.0.
|
|
41
|
-
"@stll/anonymize-docx": "^2.4.
|
|
42
|
-
"@stll/anonymize-pdf": "^2.4.
|
|
39
|
+
"@stll/anonymize": "^2.4.2",
|
|
40
|
+
"@stll/anonymize-data": "^0.0.7",
|
|
41
|
+
"@stll/anonymize-docx": "^2.4.2",
|
|
42
|
+
"@stll/anonymize-pdf": "^2.4.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^26.1.1",
|