@hot-updater/firebase 0.20.5 → 0.20.6
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/iac/index.cjs +3 -2
- package/dist/iac/index.js +3 -2
- package/dist/index.cjs +8 -5
- package/dist/index.js +8 -5
- package/package.json +7 -7
package/dist/iac/index.cjs
CHANGED
|
@@ -2043,6 +2043,7 @@ const fallbackSymbols = {
|
|
|
2043
2043
|
};
|
|
2044
2044
|
const shouldUseMain = isUnicodeSupported();
|
|
2045
2045
|
const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
2046
|
+
var figures_default = figures;
|
|
2046
2047
|
const replacements = Object.entries(specialMainSymbols);
|
|
2047
2048
|
|
|
2048
2049
|
//#endregion
|
|
@@ -2124,8 +2125,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
|
|
|
2124
2125
|
const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
|
|
2125
2126
|
const padField = (field, padding) => String(field).padStart(padding, "0");
|
|
2126
2127
|
const getFinalIcon = ({ failed, reject }) => {
|
|
2127
|
-
if (!failed) return
|
|
2128
|
-
return reject ?
|
|
2128
|
+
if (!failed) return figures_default.tick;
|
|
2129
|
+
return reject ? figures_default.cross : figures_default.warning;
|
|
2129
2130
|
};
|
|
2130
2131
|
const ICONS = {
|
|
2131
2132
|
command: ({ piped }) => piped ? "|" : "$",
|
package/dist/iac/index.js
CHANGED
|
@@ -2046,6 +2046,7 @@ const fallbackSymbols = {
|
|
|
2046
2046
|
};
|
|
2047
2047
|
const shouldUseMain = isUnicodeSupported();
|
|
2048
2048
|
const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
2049
|
+
var figures_default = figures;
|
|
2049
2050
|
const replacements = Object.entries(specialMainSymbols);
|
|
2050
2051
|
|
|
2051
2052
|
//#endregion
|
|
@@ -2127,8 +2128,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
|
|
|
2127
2128
|
const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
|
|
2128
2129
|
const padField = (field, padding) => String(field).padStart(padding, "0");
|
|
2129
2130
|
const getFinalIcon = ({ failed, reject }) => {
|
|
2130
|
-
if (!failed) return
|
|
2131
|
-
return reject ?
|
|
2131
|
+
if (!failed) return figures_default.tick;
|
|
2132
|
+
return reject ? figures_default.cross : figures_default.warning;
|
|
2132
2133
|
};
|
|
2133
2134
|
const ICONS = {
|
|
2134
2135
|
command: ({ piped }) => piped ? "|" : "$",
|
package/dist/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ const firebase_admin = __toESM(require("firebase-admin"));
|
|
|
27
27
|
const fs_promises = __toESM(require("fs/promises"));
|
|
28
28
|
|
|
29
29
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
|
|
30
|
-
const types = {
|
|
30
|
+
const types$1 = {
|
|
31
31
|
"application/prs.cww": ["cww"],
|
|
32
32
|
"application/prs.xsf+xml": ["xsf"],
|
|
33
33
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -838,11 +838,12 @@ const types = {
|
|
|
838
838
|
"video/x-smv": ["smv"],
|
|
839
839
|
"x-conference/x-cooltalk": ["ice"]
|
|
840
840
|
};
|
|
841
|
-
Object.freeze(types);
|
|
841
|
+
Object.freeze(types$1);
|
|
842
|
+
var other_default = types$1;
|
|
842
843
|
|
|
843
844
|
//#endregion
|
|
844
845
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
|
|
845
|
-
const types
|
|
846
|
+
const types = {
|
|
846
847
|
"application/andrew-inset": ["ez"],
|
|
847
848
|
"application/appinstaller": ["appinstaller"],
|
|
848
849
|
"application/applixware": ["aw"],
|
|
@@ -1284,7 +1285,8 @@ const types$1 = {
|
|
|
1284
1285
|
"video/quicktime": ["qt", "mov"],
|
|
1285
1286
|
"video/webm": ["webm"]
|
|
1286
1287
|
};
|
|
1287
|
-
Object.freeze(types
|
|
1288
|
+
Object.freeze(types);
|
|
1289
|
+
var standard_default = types;
|
|
1288
1290
|
|
|
1289
1291
|
//#endregion
|
|
1290
1292
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
|
|
@@ -1356,10 +1358,11 @@ var Mime = class {
|
|
|
1356
1358
|
}
|
|
1357
1359
|
};
|
|
1358
1360
|
_Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
|
|
1361
|
+
var Mime_default = Mime;
|
|
1359
1362
|
|
|
1360
1363
|
//#endregion
|
|
1361
1364
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
|
|
1362
|
-
var src_default = new
|
|
1365
|
+
var src_default = new Mime_default(standard_default, other_default)._freeze();
|
|
1363
1366
|
|
|
1364
1367
|
//#endregion
|
|
1365
1368
|
//#region src/firebaseStorage.ts
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import * as admin from "firebase-admin";
|
|
|
4
4
|
import fs from "fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
|
|
7
|
-
const types = {
|
|
7
|
+
const types$1 = {
|
|
8
8
|
"application/prs.cww": ["cww"],
|
|
9
9
|
"application/prs.xsf+xml": ["xsf"],
|
|
10
10
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -815,11 +815,12 @@ const types = {
|
|
|
815
815
|
"video/x-smv": ["smv"],
|
|
816
816
|
"x-conference/x-cooltalk": ["ice"]
|
|
817
817
|
};
|
|
818
|
-
Object.freeze(types);
|
|
818
|
+
Object.freeze(types$1);
|
|
819
|
+
var other_default = types$1;
|
|
819
820
|
|
|
820
821
|
//#endregion
|
|
821
822
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
|
|
822
|
-
const types
|
|
823
|
+
const types = {
|
|
823
824
|
"application/andrew-inset": ["ez"],
|
|
824
825
|
"application/appinstaller": ["appinstaller"],
|
|
825
826
|
"application/applixware": ["aw"],
|
|
@@ -1261,7 +1262,8 @@ const types$1 = {
|
|
|
1261
1262
|
"video/quicktime": ["qt", "mov"],
|
|
1262
1263
|
"video/webm": ["webm"]
|
|
1263
1264
|
};
|
|
1264
|
-
Object.freeze(types
|
|
1265
|
+
Object.freeze(types);
|
|
1266
|
+
var standard_default = types;
|
|
1265
1267
|
|
|
1266
1268
|
//#endregion
|
|
1267
1269
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
|
|
@@ -1333,10 +1335,11 @@ var Mime = class {
|
|
|
1333
1335
|
}
|
|
1334
1336
|
};
|
|
1335
1337
|
_Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
|
|
1338
|
+
var Mime_default = Mime;
|
|
1336
1339
|
|
|
1337
1340
|
//#endregion
|
|
1338
1341
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
|
|
1339
|
-
var src_default = new
|
|
1342
|
+
var src_default = new Mime_default(standard_default, other_default)._freeze();
|
|
1340
1343
|
|
|
1341
1344
|
//#endregion
|
|
1342
1345
|
//#region src/firebaseStorage.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/firebase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.20.
|
|
4
|
+
"version": "0.20.6",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"firebase": "^11.3.1",
|
|
37
|
-
"@hot-updater/core": "0.20.
|
|
38
|
-
"@hot-updater/plugin-core": "0.20.
|
|
37
|
+
"@hot-updater/core": "0.20.6",
|
|
38
|
+
"@hot-updater/plugin-core": "0.20.6"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@clack/prompts": "0.10.0",
|
|
45
|
-
"@types/node": "^
|
|
45
|
+
"@types/node": "^20",
|
|
46
46
|
"es-toolkit": "^1.32.0",
|
|
47
|
-
"execa": "
|
|
47
|
+
"execa": "9.5.2",
|
|
48
48
|
"firebase-admin": "^13.2.0",
|
|
49
49
|
"firebase-functions": "^6.3.2",
|
|
50
50
|
"firebase-functions-test": "^3.4.0",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"fkill": "^9.0.0",
|
|
53
53
|
"hono": "^4.6.3",
|
|
54
54
|
"mime": "^4.0.4",
|
|
55
|
-
"picocolors": "
|
|
56
|
-
"@hot-updater/js": "0.20.
|
|
55
|
+
"picocolors": "1.1.1",
|
|
56
|
+
"@hot-updater/js": "0.20.6"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"firebase-admin": "*"
|