gheim 0.1.0 → 0.1.1
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/cjs/index.cjs +1 -1
- package/dist/cjs/openai/index.cjs +1 -1
- package/package.json +29 -7
package/dist/cjs/index.cjs
CHANGED
|
@@ -105,7 +105,7 @@ function _getRequire() {
|
|
|
105
105
|
return _require;
|
|
106
106
|
_requireResolved = true;
|
|
107
107
|
try {
|
|
108
|
-
_require = import_node_module.createRequire("file:///home/
|
|
108
|
+
_require = import_node_module.createRequire("file:///home/runner/work/gheim/gheim/packages/gheim-js/src/normalizers.ts");
|
|
109
109
|
} catch {
|
|
110
110
|
_require = null;
|
|
111
111
|
}
|
|
@@ -501,7 +501,7 @@ function _getRequire() {
|
|
|
501
501
|
return _require;
|
|
502
502
|
_requireResolved = true;
|
|
503
503
|
try {
|
|
504
|
-
_require = import_node_module.createRequire("file:///home/
|
|
504
|
+
_require = import_node_module.createRequire("file:///home/runner/work/gheim/gheim/packages/gheim-js/src/normalizers.ts");
|
|
505
505
|
} catch {
|
|
506
506
|
_require = null;
|
|
507
507
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gheim",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "PII round-trip for LLM APIs: anonymize before the request, de-anonymize the stream on the way back.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Joel Barmettler <joel.barmettler@gmail.com>",
|
|
@@ -13,7 +13,17 @@
|
|
|
13
13
|
"url": "git+https://github.com/joelbarmettlerUZH/gheim.git",
|
|
14
14
|
"directory": "packages/gheim-js"
|
|
15
15
|
},
|
|
16
|
-
"keywords": [
|
|
16
|
+
"keywords": [
|
|
17
|
+
"pii",
|
|
18
|
+
"privacy",
|
|
19
|
+
"redaction",
|
|
20
|
+
"openai",
|
|
21
|
+
"llm",
|
|
22
|
+
"anonymization",
|
|
23
|
+
"ner",
|
|
24
|
+
"swiss",
|
|
25
|
+
"transformers"
|
|
26
|
+
],
|
|
17
27
|
"type": "module",
|
|
18
28
|
"main": "./dist/cjs/index.cjs",
|
|
19
29
|
"module": "./dist/esm/index.js",
|
|
@@ -33,7 +43,11 @@
|
|
|
33
43
|
},
|
|
34
44
|
"./package.json": "./package.json"
|
|
35
45
|
},
|
|
36
|
-
"files": [
|
|
46
|
+
"files": [
|
|
47
|
+
"dist",
|
|
48
|
+
"README.md",
|
|
49
|
+
"LICENSE"
|
|
50
|
+
],
|
|
37
51
|
"scripts": {
|
|
38
52
|
"build": "rm -rf dist && bun run build:esm && bun run build:cjs && bun run build:types",
|
|
39
53
|
"build:esm": "bun build ./src/index.ts ./src/openai/index.ts --outdir ./dist/esm --target node --format esm --external openai --external @huggingface/transformers",
|
|
@@ -58,10 +72,18 @@
|
|
|
58
72
|
"openai": ">=4.0.0 <6.0.0"
|
|
59
73
|
},
|
|
60
74
|
"peerDependenciesMeta": {
|
|
61
|
-
"openai": {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
75
|
+
"openai": {
|
|
76
|
+
"optional": true
|
|
77
|
+
},
|
|
78
|
+
"@huggingface/transformers": {
|
|
79
|
+
"optional": true
|
|
80
|
+
},
|
|
81
|
+
"libphonenumber-js": {
|
|
82
|
+
"optional": true
|
|
83
|
+
},
|
|
84
|
+
"chrono-node": {
|
|
85
|
+
"optional": true
|
|
86
|
+
}
|
|
65
87
|
},
|
|
66
88
|
"engines": {
|
|
67
89
|
"node": ">=18"
|