utilitas 1999.1.82 → 1999.1.84
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/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +2 -2
- package/lib/manifest.mjs +12 -12
- package/package.json +12 -12
package/lib/alan.mjs
CHANGED
|
@@ -436,7 +436,7 @@ const init = async (options = {}) => {
|
|
|
436
436
|
process.env['GOOGLE_APPLICATION_CREDENTIALS'] = options.credentials;
|
|
437
437
|
var { GoogleGenAI } = await need('@google/genai');
|
|
438
438
|
var client = new GoogleGenAI({
|
|
439
|
-
vertexai: true, location: '
|
|
439
|
+
vertexai: true, location: 'global', ...options
|
|
440
440
|
});
|
|
441
441
|
for (let model of models) {
|
|
442
442
|
setupAi({
|
|
@@ -463,7 +463,7 @@ const init = async (options = {}) => {
|
|
|
463
463
|
var model = models[0];
|
|
464
464
|
var client = new ((
|
|
465
465
|
await need('@anthropic-ai/vertex-sdk', { raw: true })
|
|
466
|
-
).AnthropicVertex)({ region: options?.region || '
|
|
466
|
+
).AnthropicVertex)({ region: options?.region || 'global' });
|
|
467
467
|
setupAi({ provider, model, client, prompt: promptAnthropic });
|
|
468
468
|
break;
|
|
469
469
|
case JINA:
|
package/lib/manifest.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const manifest = {
|
|
2
2
|
"name": "utilitas",
|
|
3
3
|
"description": "Just another common utility for JavaScript.",
|
|
4
|
-
"version": "1999.1.
|
|
4
|
+
"version": "1999.1.84",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -24,17 +24,17 @@ const manifest = {
|
|
|
24
24
|
"uuid": "^11.1.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@anthropic-ai/sdk": "^0.
|
|
27
|
+
"@anthropic-ai/sdk": "^0.54.0",
|
|
28
28
|
"@anthropic-ai/vertex-sdk": "^0.11.4",
|
|
29
29
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
30
30
|
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
31
31
|
"@google-cloud/speech": "^7.1.0",
|
|
32
32
|
"@google-cloud/storage": "^7.16.0",
|
|
33
33
|
"@google-cloud/vision": "^5.2.0",
|
|
34
|
-
"@google/genai": "^1.
|
|
34
|
+
"@google/genai": "^1.5.1",
|
|
35
35
|
"@mozilla/readability": "github:mozilla/readability",
|
|
36
|
-
"@sentry/node": "^9.
|
|
37
|
-
"@sentry/profiling-node": "^9.
|
|
36
|
+
"@sentry/node": "^9.30.0",
|
|
37
|
+
"@sentry/profiling-node": "^9.30.0",
|
|
38
38
|
"acme-client": "^5.4.0",
|
|
39
39
|
"browserify-fs": "^1.0.0",
|
|
40
40
|
"buffer": "^6.0.3",
|
|
@@ -45,29 +45,29 @@ const manifest = {
|
|
|
45
45
|
"js-tiktoken": "^1.0.20",
|
|
46
46
|
"jsdom": "^26.1.0",
|
|
47
47
|
"lorem-ipsum": "^2.0.8",
|
|
48
|
-
"mailgun.js": "^12.0.
|
|
48
|
+
"mailgun.js": "^12.0.3",
|
|
49
49
|
"mailparser": "^3.7.3",
|
|
50
50
|
"mime": "^4.0.7",
|
|
51
51
|
"mysql2": "^3.14.1",
|
|
52
52
|
"node-mailjet": "^6.0.8",
|
|
53
53
|
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
54
54
|
"office-text-extractor": "^3.0.3",
|
|
55
|
-
"openai": "^5.
|
|
55
|
+
"openai": "^5.5.1",
|
|
56
56
|
"pdfjs-dist": "^5.3.31",
|
|
57
|
-
"pg": "^8.16.
|
|
57
|
+
"pg": "^8.16.2",
|
|
58
58
|
"pgvector": "^0.2.1",
|
|
59
59
|
"ping": "^0.4.4",
|
|
60
60
|
"process": "^0.11.10",
|
|
61
|
-
"puppeteer": "^24.10.
|
|
61
|
+
"puppeteer": "^24.10.2",
|
|
62
62
|
"say": "^0.16.0",
|
|
63
63
|
"telegraf": "^4.16.3",
|
|
64
|
-
"telesignsdk": "^3.0.
|
|
64
|
+
"telesignsdk": "^3.0.4",
|
|
65
65
|
"tesseract.js": "^6.0.1",
|
|
66
|
-
"twilio": "^5.7.
|
|
66
|
+
"twilio": "^5.7.1",
|
|
67
67
|
"url": "github:Leask/node-url",
|
|
68
68
|
"webpack-cli": "^6.0.1",
|
|
69
69
|
"whisper-node": "^1.1.1",
|
|
70
|
-
"wrangler": "^4.
|
|
70
|
+
"wrangler": "^4.20.5",
|
|
71
71
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
|
|
72
72
|
"youtube-transcript": "^1.2.1"
|
|
73
73
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "utilitas",
|
|
3
3
|
"description": "Just another common utility for JavaScript.",
|
|
4
|
-
"version": "1999.1.
|
|
4
|
+
"version": "1999.1.84",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"uuid": "^11.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@anthropic-ai/sdk": "^0.
|
|
38
|
+
"@anthropic-ai/sdk": "^0.54.0",
|
|
39
39
|
"@anthropic-ai/vertex-sdk": "^0.11.4",
|
|
40
40
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
41
41
|
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
42
42
|
"@google-cloud/speech": "^7.1.0",
|
|
43
43
|
"@google-cloud/storage": "^7.16.0",
|
|
44
44
|
"@google-cloud/vision": "^5.2.0",
|
|
45
|
-
"@google/genai": "^1.
|
|
45
|
+
"@google/genai": "^1.5.1",
|
|
46
46
|
"@mozilla/readability": "github:mozilla/readability",
|
|
47
|
-
"@sentry/node": "^9.
|
|
48
|
-
"@sentry/profiling-node": "^9.
|
|
47
|
+
"@sentry/node": "^9.30.0",
|
|
48
|
+
"@sentry/profiling-node": "^9.30.0",
|
|
49
49
|
"acme-client": "^5.4.0",
|
|
50
50
|
"browserify-fs": "^1.0.0",
|
|
51
51
|
"buffer": "^6.0.3",
|
|
@@ -56,29 +56,29 @@
|
|
|
56
56
|
"js-tiktoken": "^1.0.20",
|
|
57
57
|
"jsdom": "^26.1.0",
|
|
58
58
|
"lorem-ipsum": "^2.0.8",
|
|
59
|
-
"mailgun.js": "^12.0.
|
|
59
|
+
"mailgun.js": "^12.0.3",
|
|
60
60
|
"mailparser": "^3.7.3",
|
|
61
61
|
"mime": "^4.0.7",
|
|
62
62
|
"mysql2": "^3.14.1",
|
|
63
63
|
"node-mailjet": "^6.0.8",
|
|
64
64
|
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
65
65
|
"office-text-extractor": "^3.0.3",
|
|
66
|
-
"openai": "^5.
|
|
66
|
+
"openai": "^5.5.1",
|
|
67
67
|
"pdfjs-dist": "^5.3.31",
|
|
68
|
-
"pg": "^8.16.
|
|
68
|
+
"pg": "^8.16.2",
|
|
69
69
|
"pgvector": "^0.2.1",
|
|
70
70
|
"ping": "^0.4.4",
|
|
71
71
|
"process": "^0.11.10",
|
|
72
|
-
"puppeteer": "^24.10.
|
|
72
|
+
"puppeteer": "^24.10.2",
|
|
73
73
|
"say": "^0.16.0",
|
|
74
74
|
"telegraf": "^4.16.3",
|
|
75
|
-
"telesignsdk": "^3.0.
|
|
75
|
+
"telesignsdk": "^3.0.4",
|
|
76
76
|
"tesseract.js": "^6.0.1",
|
|
77
|
-
"twilio": "^5.7.
|
|
77
|
+
"twilio": "^5.7.1",
|
|
78
78
|
"url": "github:Leask/node-url",
|
|
79
79
|
"webpack-cli": "^6.0.1",
|
|
80
80
|
"whisper-node": "^1.1.1",
|
|
81
|
-
"wrangler": "^4.
|
|
81
|
+
"wrangler": "^4.20.5",
|
|
82
82
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
|
|
83
83
|
"youtube-transcript": "^1.2.1"
|
|
84
84
|
}
|