utilitas 2001.1.112 → 2001.1.114
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 -0
- package/lib/manifest.mjs +12 -12
- package/package.json +12 -12
package/lib/alan.mjs
CHANGED
|
@@ -1188,6 +1188,8 @@ const promptOpenAI = async (aiId, prompt, options = {}) => {
|
|
|
1188
1188
|
// n = 1, // 1 ~ 10
|
|
1189
1189
|
// @TODO: 支持 streaming image generation
|
|
1190
1190
|
// https://platform.openai.com/docs/guides/image-generation?api=responses
|
|
1191
|
+
// Please note that right now, only gpt-image-1 and gpt-image-1-mini are
|
|
1192
|
+
// supported in the Responses API. We're working on support for gpt-image-1.5.
|
|
1191
1193
|
// partial_images: 3, stream: true,
|
|
1192
1194
|
// @TODO: 支持 image editing {}
|
|
1193
1195
|
...options?.params || {},
|
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": "2001.1.
|
|
4
|
+
"version": "2001.1.114",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -19,7 +19,7 @@ const manifest = {
|
|
|
19
19
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"file-type": "^21.
|
|
22
|
+
"file-type": "^21.2.0",
|
|
23
23
|
"mathjs": "^15.1.0",
|
|
24
24
|
"uuid": "^13.0.0"
|
|
25
25
|
},
|
|
@@ -28,10 +28,10 @@ const manifest = {
|
|
|
28
28
|
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
29
29
|
"@google-cloud/discoveryengine": "^2.5.2",
|
|
30
30
|
"@google-cloud/storage": "^7.18.0",
|
|
31
|
-
"@google/genai": "^1.
|
|
31
|
+
"@google/genai": "^1.34.0",
|
|
32
32
|
"@mozilla/readability": "github:mozilla/readability",
|
|
33
|
-
"@sentry/node": "^10.
|
|
34
|
-
"@sentry/profiling-node": "^10.
|
|
33
|
+
"@sentry/node": "^10.32.1",
|
|
34
|
+
"@sentry/profiling-node": "^10.32.1",
|
|
35
35
|
"acme-client": "^5.4.0",
|
|
36
36
|
"browserify-fs": "^1.0.0",
|
|
37
37
|
"buffer": "^6.0.3",
|
|
@@ -41,28 +41,28 @@ const manifest = {
|
|
|
41
41
|
"form-data": "^4.0.5",
|
|
42
42
|
"google-gax": "^5.0.6",
|
|
43
43
|
"ioredis": "^5.8.2",
|
|
44
|
-
"jsdom": "^27.
|
|
44
|
+
"jsdom": "^27.4.0",
|
|
45
45
|
"lorem-ipsum": "^2.0.8",
|
|
46
46
|
"mailgun.js": "^12.4.0",
|
|
47
47
|
"mailparser": "^3.9.1",
|
|
48
48
|
"mime": "^4.1.0",
|
|
49
|
-
"mysql2": "^3.
|
|
49
|
+
"mysql2": "^3.16.0",
|
|
50
50
|
"node-mailjet": "^6.0.11",
|
|
51
51
|
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
52
|
-
"office-text-extractor": "^
|
|
53
|
-
"openai": "^6.
|
|
52
|
+
"office-text-extractor": "^4.0.0",
|
|
53
|
+
"openai": "^6.15.0",
|
|
54
54
|
"pdf-lib": "^1.17.1",
|
|
55
55
|
"pdfjs-dist": "^5.4.449",
|
|
56
56
|
"pg": "^8.16.3",
|
|
57
57
|
"pgvector": "^0.2.1",
|
|
58
58
|
"ping": "^1.0.0",
|
|
59
59
|
"process": "^0.11.10",
|
|
60
|
-
"puppeteer": "^24.
|
|
60
|
+
"puppeteer": "^24.34.0",
|
|
61
61
|
"say": "^0.16.0",
|
|
62
62
|
"telegraf": "^4.16.3",
|
|
63
63
|
"telesignsdk": "^3.0.4",
|
|
64
|
-
"tesseract.js": "^
|
|
65
|
-
"twilio": "^5.
|
|
64
|
+
"tesseract.js": "^7.0.0",
|
|
65
|
+
"twilio": "^5.11.1",
|
|
66
66
|
"url": "github:Leask/node-url",
|
|
67
67
|
"webpack-cli": "^6.0.1",
|
|
68
68
|
"whisper-node": "^1.1.1",
|
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": "2001.1.
|
|
4
|
+
"version": "2001.1.114",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"file-type": "^21.
|
|
33
|
+
"file-type": "^21.2.0",
|
|
34
34
|
"mathjs": "^15.1.0",
|
|
35
35
|
"uuid": "^13.0.0"
|
|
36
36
|
},
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
40
40
|
"@google-cloud/discoveryengine": "^2.5.2",
|
|
41
41
|
"@google-cloud/storage": "^7.18.0",
|
|
42
|
-
"@google/genai": "^1.
|
|
42
|
+
"@google/genai": "^1.34.0",
|
|
43
43
|
"@mozilla/readability": "github:mozilla/readability",
|
|
44
|
-
"@sentry/node": "^10.
|
|
45
|
-
"@sentry/profiling-node": "^10.
|
|
44
|
+
"@sentry/node": "^10.32.1",
|
|
45
|
+
"@sentry/profiling-node": "^10.32.1",
|
|
46
46
|
"acme-client": "^5.4.0",
|
|
47
47
|
"browserify-fs": "^1.0.0",
|
|
48
48
|
"buffer": "^6.0.3",
|
|
@@ -52,28 +52,28 @@
|
|
|
52
52
|
"form-data": "^4.0.5",
|
|
53
53
|
"google-gax": "^5.0.6",
|
|
54
54
|
"ioredis": "^5.8.2",
|
|
55
|
-
"jsdom": "^27.
|
|
55
|
+
"jsdom": "^27.4.0",
|
|
56
56
|
"lorem-ipsum": "^2.0.8",
|
|
57
57
|
"mailgun.js": "^12.4.0",
|
|
58
58
|
"mailparser": "^3.9.1",
|
|
59
59
|
"mime": "^4.1.0",
|
|
60
|
-
"mysql2": "^3.
|
|
60
|
+
"mysql2": "^3.16.0",
|
|
61
61
|
"node-mailjet": "^6.0.11",
|
|
62
62
|
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
63
|
-
"office-text-extractor": "^
|
|
64
|
-
"openai": "^6.
|
|
63
|
+
"office-text-extractor": "^4.0.0",
|
|
64
|
+
"openai": "^6.15.0",
|
|
65
65
|
"pdf-lib": "^1.17.1",
|
|
66
66
|
"pdfjs-dist": "^5.4.449",
|
|
67
67
|
"pg": "^8.16.3",
|
|
68
68
|
"pgvector": "^0.2.1",
|
|
69
69
|
"ping": "^1.0.0",
|
|
70
70
|
"process": "^0.11.10",
|
|
71
|
-
"puppeteer": "^24.
|
|
71
|
+
"puppeteer": "^24.34.0",
|
|
72
72
|
"say": "^0.16.0",
|
|
73
73
|
"telegraf": "^4.16.3",
|
|
74
74
|
"telesignsdk": "^3.0.4",
|
|
75
|
-
"tesseract.js": "^
|
|
76
|
-
"twilio": "^5.
|
|
75
|
+
"tesseract.js": "^7.0.0",
|
|
76
|
+
"twilio": "^5.11.1",
|
|
77
77
|
"url": "github:Leask/node-url",
|
|
78
78
|
"webpack-cli": "^6.0.1",
|
|
79
79
|
"whisper-node": "^1.1.1",
|