auto-translate-json-library 1.4.7 → 1.4.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/README.MD CHANGED
@@ -141,6 +141,16 @@ default value 0
141
141
  ATJ_OPEN_AI_PRESENCE_PENALTY
142
142
  default value 0
143
143
 
144
+ Deepseek parameters
145
+ similar to OpenAI but you need to
146
+ put your deepseek secret key
147
+ ATJ_OPEN_AI_SECRET_KEY=sk-xxxxxx
148
+ and model
149
+ ATJ_OPEN_AI_MODEL=deepseek-chat
150
+ ATJ_OPEN_AI_BASE_URL=https://api.deepseek.com/v1
151
+ ATJ_OPEN_AI_TEMPERATURE=1.3
152
+
153
+
144
154
  If you want to run it locally without using Open AI but compatible API
145
155
  you need to modify base URL and model for example
146
156
  if you use jan https://jan.ai/ you can modify base url model and maximum number of tokens (you do not pay for tokens anymore), secret key is not important
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-translate-json-library",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "Automatically translates JSON language files to other languages using Google Translate,AWS,Azure,DeepL,OpenAI or local OpenAI compatible server",
5
5
  "main": "./build/src/index.js",
6
6
  "bin": {
@@ -55,22 +55,22 @@
55
55
  "devDependencies": {
56
56
  "@biomejs/biome": "1.9.4",
57
57
  "@types/minimist": "1.2.5",
58
- "@types/node": "22.10.2",
58
+ "@types/node": "22.10.10",
59
59
  "@types/yargs": "17.0.33",
60
60
  "ts-node": "10.9.2",
61
- "typescript": "5.7.2"
61
+ "typescript": "5.7.3"
62
62
  },
63
63
  "dependencies": {
64
- "@aws-sdk/client-translate": "3.716.0",
64
+ "@aws-sdk/client-translate": "3.734.0",
65
65
  "@google-cloud/translate": "8.5.0",
66
66
  "axios": "1.7.9",
67
- "deepl-node": "1.15.0",
67
+ "deepl-node": "1.16.0",
68
68
  "dotenv": "16.4.7",
69
69
  "form-data": "4.0.1",
70
70
  "minimist": "1.2.8",
71
- "openai": "4.77.0",
71
+ "openai": "4.80.1",
72
72
  "picocolors": "1.1.1",
73
- "uuid": "11.0.3",
73
+ "uuid": "11.0.5",
74
74
  "yargs": "17.7.2"
75
75
  }
76
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-translate-json-library",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "Automatically translates JSON language files to other languages using Google Translate,AWS,Azure,DeepL,OpenAI or local OpenAI compatible server",
5
5
  "main": "./build/src/index.js",
6
6
  "bin": {
@@ -55,22 +55,22 @@
55
55
  "devDependencies": {
56
56
  "@biomejs/biome": "1.9.4",
57
57
  "@types/minimist": "1.2.5",
58
- "@types/node": "22.10.2",
58
+ "@types/node": "22.10.10",
59
59
  "@types/yargs": "17.0.33",
60
60
  "ts-node": "10.9.2",
61
- "typescript": "5.7.2"
61
+ "typescript": "5.7.3"
62
62
  },
63
63
  "dependencies": {
64
- "@aws-sdk/client-translate": "3.716.0",
64
+ "@aws-sdk/client-translate": "3.734.0",
65
65
  "@google-cloud/translate": "8.5.0",
66
66
  "axios": "1.7.9",
67
- "deepl-node": "1.15.0",
67
+ "deepl-node": "1.16.0",
68
68
  "dotenv": "16.4.7",
69
69
  "form-data": "4.0.1",
70
70
  "minimist": "1.2.8",
71
- "openai": "4.77.0",
71
+ "openai": "4.80.1",
72
72
  "picocolors": "1.1.1",
73
- "uuid": "11.0.3",
73
+ "uuid": "11.0.5",
74
74
  "yargs": "17.7.2"
75
75
  }
76
76
  }