@tstdl/base 0.92.40 → 0.92.41
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/file/mime-type.js +1 -1
- package/package.json +5 -5
package/file/mime-type.js
CHANGED
|
@@ -11,10 +11,10 @@ export function getMimeTypeExtensions(mimeType) {
|
|
|
11
11
|
}
|
|
12
12
|
async function spawnFileCommand(args, file) {
|
|
13
13
|
const process = await spawnCommand('file', args, { stdinPipeOptions: { preventCancel: true } });
|
|
14
|
-
const { code } = await process.wait();
|
|
15
14
|
if (isDefined(file)) {
|
|
16
15
|
await process.write(file);
|
|
17
16
|
}
|
|
17
|
+
const { code } = await process.wait();
|
|
18
18
|
if (code != 0) {
|
|
19
19
|
const errorOutput = await process.readError();
|
|
20
20
|
throw new Error(errorOutput.trim());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tstdl/base",
|
|
3
|
-
"version": "0.92.
|
|
3
|
+
"version": "0.92.41",
|
|
4
4
|
"author": "Patrick Hein",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
"./utils/string": "./utils/string/index.js"
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@google-cloud/storage": "
|
|
122
|
-
"@google-cloud/vertexai": "
|
|
121
|
+
"@google-cloud/storage": "7.15",
|
|
122
|
+
"@google-cloud/vertexai": "1.9",
|
|
123
123
|
"disposablestack": "1.1",
|
|
124
124
|
"luxon": "^3.5",
|
|
125
125
|
"reflect-metadata": "^0.2",
|
|
@@ -164,9 +164,9 @@
|
|
|
164
164
|
"koa": "^2.15",
|
|
165
165
|
"minio": "^8.0",
|
|
166
166
|
"mjml": "^4.15",
|
|
167
|
-
"mongodb": "^6.
|
|
167
|
+
"mongodb": "^6.13",
|
|
168
168
|
"nodemailer": "^6.10",
|
|
169
|
-
"pg": "8.13",
|
|
169
|
+
"pg": "^8.13",
|
|
170
170
|
"playwright": "^1.50",
|
|
171
171
|
"preact": "^10.25",
|
|
172
172
|
"preact-render-to-string": "^6.5",
|