utilitas 1995.2.80 → 1995.2.82
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 +1 -0
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/manifest.mjs +22 -22
- package/lib/ssl.mjs +2 -1
- package/lib/utilitas.mjs +1 -1
- package/package.json +22 -22
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": "1995.2.
|
|
4
|
+
"version": "1995.2.82",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -20,54 +20,54 @@ const manifest = {
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"file-type": "^19.0.0",
|
|
23
|
-
"mathjs": "^12.
|
|
23
|
+
"mathjs": "^12.4.0",
|
|
24
24
|
"uuid": "^9.0.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
28
28
|
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
29
|
-
"@google-cloud/aiplatform": "^3.
|
|
30
|
-
"@google-cloud/speech": "^6.
|
|
29
|
+
"@google-cloud/aiplatform": "^3.14.0",
|
|
30
|
+
"@google-cloud/speech": "^6.3.0",
|
|
31
31
|
"@google-cloud/storage": "^7.7.0",
|
|
32
|
-
"@google-cloud/text-to-speech": "^5.0
|
|
33
|
-
"@google-cloud/vertexai": "^0.
|
|
34
|
-
"@google-cloud/vision": "^4.0
|
|
35
|
-
"@google/generative-ai": "^0.1
|
|
32
|
+
"@google-cloud/text-to-speech": "^5.1.0",
|
|
33
|
+
"@google-cloud/vertexai": "^0.5.0",
|
|
34
|
+
"@google-cloud/vision": "^4.1.0",
|
|
35
|
+
"@google/generative-ai": "^0.2.1",
|
|
36
36
|
"@mozilla/readability": "^0.5.0",
|
|
37
|
-
"@ngrok/ngrok": "^
|
|
38
|
-
"@sentry/node": "^7.
|
|
39
|
-
"acme-client": "^5.
|
|
37
|
+
"@ngrok/ngrok": "^1.1.0",
|
|
38
|
+
"@sentry/node": "^7.104.0",
|
|
39
|
+
"acme-client": "^5.3.0",
|
|
40
40
|
"browserify-fs": "^1.0.0",
|
|
41
41
|
"buffer": "^6.0.3",
|
|
42
42
|
"fast-geoip": "^1.1.88",
|
|
43
43
|
"fluent-ffmpeg": "^2.1.2",
|
|
44
44
|
"form-data": "^4.0.0",
|
|
45
45
|
"ioredis": "^5.3.2",
|
|
46
|
-
"js-tiktoken": "^1.0.
|
|
46
|
+
"js-tiktoken": "^1.0.10",
|
|
47
47
|
"jsdom": "^24.0.0",
|
|
48
48
|
"lorem-ipsum": "^2.0.8",
|
|
49
|
-
"mailgun.js": "^10.
|
|
50
|
-
"mailparser": "^3.6.
|
|
49
|
+
"mailgun.js": "^10.2.1",
|
|
50
|
+
"mailparser": "^3.6.9",
|
|
51
51
|
"mime-types": "^2.1.35",
|
|
52
|
-
"mysql2": "^3.9.
|
|
52
|
+
"mysql2": "^3.9.2",
|
|
53
53
|
"node-mailjet": "^6.0.5",
|
|
54
54
|
"node-polyfill-webpack-plugin": "^3.0.0",
|
|
55
55
|
"office-text-extractor": "^3.0.2",
|
|
56
|
-
"ollama": "^0.4.
|
|
57
|
-
"openai": "^4.
|
|
56
|
+
"ollama": "^0.4.9",
|
|
57
|
+
"openai": "^4.28.4",
|
|
58
58
|
"pdfjs-dist": "^4.0.379",
|
|
59
59
|
"pg": "^8.11.3",
|
|
60
|
-
"pgvector": "^0.1.
|
|
60
|
+
"pgvector": "^0.1.8",
|
|
61
61
|
"ping": "^0.4.4",
|
|
62
62
|
"say": "^0.16.0",
|
|
63
|
-
"telegraf": "^4.
|
|
63
|
+
"telegraf": "^4.16.3",
|
|
64
64
|
"telesignsdk": "^2.2.3",
|
|
65
|
-
"tesseract.js": "^5.0.
|
|
66
|
-
"twilio": "^4.
|
|
65
|
+
"tesseract.js": "^5.0.5",
|
|
66
|
+
"twilio": "^4.23.0",
|
|
67
67
|
"url": "github:Leask/node-url",
|
|
68
68
|
"webpack-cli": "^5.1.4",
|
|
69
69
|
"whisper-node": "^1.1.1",
|
|
70
|
-
"wrangler": "^3.
|
|
70
|
+
"wrangler": "^3.30.1",
|
|
71
71
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
|
|
72
72
|
"youtube-transcript": "^1.0.6"
|
|
73
73
|
}
|
package/lib/ssl.mjs
CHANGED
|
@@ -29,7 +29,7 @@ const [GET, HTTP_PORT, HTTPS, SSL_RESET, HTTP01, termsOfServiceAgreed]
|
|
|
29
29
|
|
|
30
30
|
const assertDomain = domain => {
|
|
31
31
|
domain = ensureString(domain, { case: 'LOW', trim: true });
|
|
32
|
-
assert(domain, 'Invalid
|
|
32
|
+
assert(domain, 'Invalid domain.', 400);
|
|
33
33
|
return domain;
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -156,6 +156,7 @@ const init = async (domain, options) => {
|
|
|
156
156
|
export default init;
|
|
157
157
|
export {
|
|
158
158
|
_NEED,
|
|
159
|
+
SSL_RESET,
|
|
159
160
|
createCsr,
|
|
160
161
|
ensureCert,
|
|
161
162
|
getCert,
|
package/lib/utilitas.mjs
CHANGED
|
@@ -630,7 +630,7 @@ const ignoreErrFunc = async (func, options) => {
|
|
|
630
630
|
|
|
631
631
|
const tryUntil = async (fnTry, options) => {
|
|
632
632
|
options = {
|
|
633
|
-
interval: 1000 * 1, maxTry:
|
|
633
|
+
interval: 1000 * 1, maxTry: Infinity, log: false, error: 'Operation failed.',
|
|
634
634
|
verify: async (err, res) => { return !err; }, ...options || {}
|
|
635
635
|
};
|
|
636
636
|
let [curTry, result, err] = [0, null, null];
|
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": "1995.2.
|
|
4
|
+
"version": "1995.2.82",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -31,54 +31,54 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"file-type": "^19.0.0",
|
|
34
|
-
"mathjs": "^12.
|
|
34
|
+
"mathjs": "^12.4.0",
|
|
35
35
|
"uuid": "^9.0.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
39
39
|
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
40
|
-
"@google-cloud/aiplatform": "^3.
|
|
41
|
-
"@google-cloud/speech": "^6.
|
|
40
|
+
"@google-cloud/aiplatform": "^3.14.0",
|
|
41
|
+
"@google-cloud/speech": "^6.3.0",
|
|
42
42
|
"@google-cloud/storage": "^7.7.0",
|
|
43
|
-
"@google-cloud/text-to-speech": "^5.0
|
|
44
|
-
"@google-cloud/vertexai": "^0.
|
|
45
|
-
"@google-cloud/vision": "^4.0
|
|
46
|
-
"@google/generative-ai": "^0.1
|
|
43
|
+
"@google-cloud/text-to-speech": "^5.1.0",
|
|
44
|
+
"@google-cloud/vertexai": "^0.5.0",
|
|
45
|
+
"@google-cloud/vision": "^4.1.0",
|
|
46
|
+
"@google/generative-ai": "^0.2.1",
|
|
47
47
|
"@mozilla/readability": "^0.5.0",
|
|
48
|
-
"@ngrok/ngrok": "^
|
|
49
|
-
"@sentry/node": "^7.
|
|
50
|
-
"acme-client": "^5.
|
|
48
|
+
"@ngrok/ngrok": "^1.1.0",
|
|
49
|
+
"@sentry/node": "^7.104.0",
|
|
50
|
+
"acme-client": "^5.3.0",
|
|
51
51
|
"browserify-fs": "^1.0.0",
|
|
52
52
|
"buffer": "^6.0.3",
|
|
53
53
|
"fast-geoip": "^1.1.88",
|
|
54
54
|
"fluent-ffmpeg": "^2.1.2",
|
|
55
55
|
"form-data": "^4.0.0",
|
|
56
56
|
"ioredis": "^5.3.2",
|
|
57
|
-
"js-tiktoken": "^1.0.
|
|
57
|
+
"js-tiktoken": "^1.0.10",
|
|
58
58
|
"jsdom": "^24.0.0",
|
|
59
59
|
"lorem-ipsum": "^2.0.8",
|
|
60
|
-
"mailgun.js": "^10.
|
|
61
|
-
"mailparser": "^3.6.
|
|
60
|
+
"mailgun.js": "^10.2.1",
|
|
61
|
+
"mailparser": "^3.6.9",
|
|
62
62
|
"mime-types": "^2.1.35",
|
|
63
|
-
"mysql2": "^3.9.
|
|
63
|
+
"mysql2": "^3.9.2",
|
|
64
64
|
"node-mailjet": "^6.0.5",
|
|
65
65
|
"node-polyfill-webpack-plugin": "^3.0.0",
|
|
66
66
|
"office-text-extractor": "^3.0.2",
|
|
67
|
-
"ollama": "^0.4.
|
|
68
|
-
"openai": "^4.
|
|
67
|
+
"ollama": "^0.4.9",
|
|
68
|
+
"openai": "^4.28.4",
|
|
69
69
|
"pdfjs-dist": "^4.0.379",
|
|
70
70
|
"pg": "^8.11.3",
|
|
71
|
-
"pgvector": "^0.1.
|
|
71
|
+
"pgvector": "^0.1.8",
|
|
72
72
|
"ping": "^0.4.4",
|
|
73
73
|
"say": "^0.16.0",
|
|
74
|
-
"telegraf": "^4.
|
|
74
|
+
"telegraf": "^4.16.3",
|
|
75
75
|
"telesignsdk": "^2.2.3",
|
|
76
|
-
"tesseract.js": "^5.0.
|
|
77
|
-
"twilio": "^4.
|
|
76
|
+
"tesseract.js": "^5.0.5",
|
|
77
|
+
"twilio": "^4.23.0",
|
|
78
78
|
"url": "github:Leask/node-url",
|
|
79
79
|
"webpack-cli": "^5.1.4",
|
|
80
80
|
"whisper-node": "^1.1.1",
|
|
81
|
-
"wrangler": "^3.
|
|
81
|
+
"wrangler": "^3.30.1",
|
|
82
82
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
|
|
83
83
|
"youtube-transcript": "^1.0.6"
|
|
84
84
|
}
|