hot-updater 0.20.8 → 0.20.10
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/config.cjs +1 -1
- package/dist/config.js +1 -1
- package/dist/{fingerprint-JbEkGyct.cjs → fingerprint-CIcTVPau.cjs} +46 -35
- package/dist/{fingerprint-CYOTKhNO.js → fingerprint-GdFiNHO5.js} +36 -30
- package/dist/index.cjs +57 -29
- package/dist/index.js +1 -1
- package/dist/plugins/babel.cjs +4 -2
- package/package.json +8 -8
package/dist/config.cjs
CHANGED
package/dist/config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./picocolors-BnzanxXs.js";
|
|
2
|
-
import { createAndInjectFingerprintFiles, generateFingerprint, generateFingerprints, readLocalFingerprint } from "./fingerprint-
|
|
2
|
+
import { createAndInjectFingerprintFiles, generateFingerprint, generateFingerprints, readLocalFingerprint } from "./fingerprint-GdFiNHO5.js";
|
|
3
3
|
|
|
4
4
|
//#region src/config.ts
|
|
5
5
|
const defineConfig = (config) => {
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
const require_picocolors$1 = require('./picocolors-y8lGs7d-.cjs');
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
let fs = require("fs");
|
|
3
|
+
fs = require_picocolors$1.__toESM(fs);
|
|
4
|
+
let __clack_prompts = require("@clack/prompts");
|
|
5
|
+
__clack_prompts = require_picocolors$1.__toESM(__clack_prompts);
|
|
6
|
+
let __hot_updater_plugin_core = require("@hot-updater/plugin-core");
|
|
7
|
+
__hot_updater_plugin_core = require_picocolors$1.__toESM(__hot_updater_plugin_core);
|
|
8
|
+
let path = require("path");
|
|
9
|
+
path = require_picocolors$1.__toESM(path);
|
|
10
|
+
let __expo_fingerprint = require("@expo/fingerprint");
|
|
11
|
+
__expo_fingerprint = require_picocolors$1.__toESM(__expo_fingerprint);
|
|
7
12
|
|
|
8
13
|
//#region ../../node_modules/.pnpm/fast-xml-parser@5.2.3/node_modules/fast-xml-parser/src/util.js
|
|
9
14
|
const nameStartChar$1 = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";
|
|
@@ -14920,37 +14925,43 @@ function getDefaultIgnorePaths() {
|
|
|
14920
14925
|
}
|
|
14921
14926
|
function getOtaFingerprintOptions(platform, path$14, options) {
|
|
14922
14927
|
return {
|
|
14928
|
+
useRNCoreAutolinkingFromExpo: false,
|
|
14923
14929
|
platforms: [platform],
|
|
14924
|
-
ignorePaths: [
|
|
14925
|
-
|
|
14926
|
-
|
|
14927
|
-
|
|
14928
|
-
|
|
14929
|
-
|
|
14930
|
-
|
|
14931
|
-
|
|
14932
|
-
|
|
14933
|
-
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
|
|
14937
|
-
|
|
14938
|
-
|
|
14939
|
-
|
|
14940
|
-
|
|
14941
|
-
|
|
14942
|
-
|
|
14943
|
-
|
|
14944
|
-
|
|
14945
|
-
|
|
14946
|
-
|
|
14947
|
-
|
|
14948
|
-
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
|
-
|
|
14930
|
+
ignorePaths: [
|
|
14931
|
+
...getDefaultIgnorePaths(),
|
|
14932
|
+
...allowExtensions([
|
|
14933
|
+
"*.swift",
|
|
14934
|
+
"*.h",
|
|
14935
|
+
"*.m",
|
|
14936
|
+
"*.mm",
|
|
14937
|
+
"*.kt",
|
|
14938
|
+
"*.java",
|
|
14939
|
+
"*.cpp",
|
|
14940
|
+
"*.hpp",
|
|
14941
|
+
"*.c",
|
|
14942
|
+
"*.cc",
|
|
14943
|
+
"*.cxx",
|
|
14944
|
+
"*.podspec",
|
|
14945
|
+
"*.gradle",
|
|
14946
|
+
"*.kts",
|
|
14947
|
+
"CMakeLists.txt",
|
|
14948
|
+
"Android.mk",
|
|
14949
|
+
"Application.mk",
|
|
14950
|
+
"*.pro",
|
|
14951
|
+
"*.mk",
|
|
14952
|
+
"*.cmake",
|
|
14953
|
+
"*.ninja",
|
|
14954
|
+
"Makefile",
|
|
14955
|
+
"*.bazel",
|
|
14956
|
+
"*.buck",
|
|
14957
|
+
"BUILD",
|
|
14958
|
+
"WORKSPACE",
|
|
14959
|
+
"BUILD.bazel",
|
|
14960
|
+
"WORKSPACE.bazel"
|
|
14961
|
+
]),
|
|
14962
|
+
"android/**/*",
|
|
14963
|
+
"ios/**/*"
|
|
14964
|
+
],
|
|
14954
14965
|
sourceSkips: __expo_fingerprint.SourceSkips.GitIgnore | __expo_fingerprint.SourceSkips.PackageJsonScriptsAll | __expo_fingerprint.SourceSkips.PackageJsonAndroidAndIosScriptsIfNotContainRun | __expo_fingerprint.SourceSkips.ExpoConfigAll | __expo_fingerprint.SourceSkips.ExpoConfigVersions | __expo_fingerprint.SourceSkips.ExpoConfigNames | __expo_fingerprint.SourceSkips.ExpoConfigRuntimeVersionIfString | __expo_fingerprint.SourceSkips.ExpoConfigAssets | __expo_fingerprint.SourceSkips.ExpoConfigExtraSection | __expo_fingerprint.SourceSkips.ExpoConfigEASProject | __expo_fingerprint.SourceSkips.ExpoConfigSchemes,
|
|
14955
14966
|
extraSources: processExtraSources(options.extraSources ?? [], path$14),
|
|
14956
14967
|
debug: options.debug
|
|
@@ -14920,37 +14920,43 @@ function getDefaultIgnorePaths() {
|
|
|
14920
14920
|
}
|
|
14921
14921
|
function getOtaFingerprintOptions(platform, path$11, options) {
|
|
14922
14922
|
return {
|
|
14923
|
+
useRNCoreAutolinkingFromExpo: false,
|
|
14923
14924
|
platforms: [platform],
|
|
14924
|
-
ignorePaths: [
|
|
14925
|
-
|
|
14926
|
-
|
|
14927
|
-
|
|
14928
|
-
|
|
14929
|
-
|
|
14930
|
-
|
|
14931
|
-
|
|
14932
|
-
|
|
14933
|
-
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
|
|
14937
|
-
|
|
14938
|
-
|
|
14939
|
-
|
|
14940
|
-
|
|
14941
|
-
|
|
14942
|
-
|
|
14943
|
-
|
|
14944
|
-
|
|
14945
|
-
|
|
14946
|
-
|
|
14947
|
-
|
|
14948
|
-
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
|
-
|
|
14925
|
+
ignorePaths: [
|
|
14926
|
+
...getDefaultIgnorePaths(),
|
|
14927
|
+
...allowExtensions([
|
|
14928
|
+
"*.swift",
|
|
14929
|
+
"*.h",
|
|
14930
|
+
"*.m",
|
|
14931
|
+
"*.mm",
|
|
14932
|
+
"*.kt",
|
|
14933
|
+
"*.java",
|
|
14934
|
+
"*.cpp",
|
|
14935
|
+
"*.hpp",
|
|
14936
|
+
"*.c",
|
|
14937
|
+
"*.cc",
|
|
14938
|
+
"*.cxx",
|
|
14939
|
+
"*.podspec",
|
|
14940
|
+
"*.gradle",
|
|
14941
|
+
"*.kts",
|
|
14942
|
+
"CMakeLists.txt",
|
|
14943
|
+
"Android.mk",
|
|
14944
|
+
"Application.mk",
|
|
14945
|
+
"*.pro",
|
|
14946
|
+
"*.mk",
|
|
14947
|
+
"*.cmake",
|
|
14948
|
+
"*.ninja",
|
|
14949
|
+
"Makefile",
|
|
14950
|
+
"*.bazel",
|
|
14951
|
+
"*.buck",
|
|
14952
|
+
"BUILD",
|
|
14953
|
+
"WORKSPACE",
|
|
14954
|
+
"BUILD.bazel",
|
|
14955
|
+
"WORKSPACE.bazel"
|
|
14956
|
+
]),
|
|
14957
|
+
"android/**/*",
|
|
14958
|
+
"ios/**/*"
|
|
14959
|
+
],
|
|
14954
14960
|
sourceSkips: SourceSkips.GitIgnore | SourceSkips.PackageJsonScriptsAll | SourceSkips.PackageJsonAndroidAndIosScriptsIfNotContainRun | SourceSkips.ExpoConfigAll | SourceSkips.ExpoConfigVersions | SourceSkips.ExpoConfigNames | SourceSkips.ExpoConfigRuntimeVersionIfString | SourceSkips.ExpoConfigAssets | SourceSkips.ExpoConfigExtraSection | SourceSkips.ExpoConfigEASProject | SourceSkips.ExpoConfigSchemes,
|
|
14955
14961
|
extraSources: processExtraSources(options.extraSources ?? [], path$11),
|
|
14956
14962
|
debug: options.debug
|
package/dist/index.cjs
CHANGED
|
@@ -1,34 +1,62 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const require_picocolors$1 = require('./picocolors-y8lGs7d-.cjs');
|
|
3
|
-
const require_fingerprint = require('./fingerprint-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
3
|
+
const require_fingerprint = require('./fingerprint-CIcTVPau.cjs');
|
|
4
|
+
let node_events = require("node:events");
|
|
5
|
+
node_events = require_picocolors$1.__toESM(node_events);
|
|
6
|
+
let node_child_process = require("node:child_process");
|
|
7
|
+
node_child_process = require_picocolors$1.__toESM(node_child_process);
|
|
8
|
+
let node_path = require("node:path");
|
|
9
|
+
node_path = require_picocolors$1.__toESM(node_path);
|
|
10
|
+
let node_fs = require("node:fs");
|
|
11
|
+
node_fs = require_picocolors$1.__toESM(node_fs);
|
|
12
|
+
let node_process = require("node:process");
|
|
13
|
+
node_process = require_picocolors$1.__toESM(node_process);
|
|
14
|
+
let fs = require("fs");
|
|
15
|
+
fs = require_picocolors$1.__toESM(fs);
|
|
16
|
+
let __clack_prompts = require("@clack/prompts");
|
|
17
|
+
__clack_prompts = require_picocolors$1.__toESM(__clack_prompts);
|
|
18
|
+
let __hot_updater_plugin_core = require("@hot-updater/plugin-core");
|
|
19
|
+
__hot_updater_plugin_core = require_picocolors$1.__toESM(__hot_updater_plugin_core);
|
|
20
|
+
let path = require("path");
|
|
21
|
+
path = require_picocolors$1.__toESM(path);
|
|
22
|
+
let stream = require("stream");
|
|
23
|
+
stream = require_picocolors$1.__toESM(stream);
|
|
24
|
+
let node_url = require("node:url");
|
|
25
|
+
node_url = require_picocolors$1.__toESM(node_url);
|
|
26
|
+
let node_string_decoder = require("node:string_decoder");
|
|
27
|
+
node_string_decoder = require_picocolors$1.__toESM(node_string_decoder);
|
|
28
|
+
let node_util = require("node:util");
|
|
29
|
+
node_util = require_picocolors$1.__toESM(node_util);
|
|
30
|
+
let node_tty = require("node:tty");
|
|
31
|
+
node_tty = require_picocolors$1.__toESM(node_tty);
|
|
32
|
+
let node_timers_promises = require("node:timers/promises");
|
|
33
|
+
node_timers_promises = require_picocolors$1.__toESM(node_timers_promises);
|
|
34
|
+
let node_os = require("node:os");
|
|
35
|
+
node_os = require_picocolors$1.__toESM(node_os);
|
|
36
|
+
let node_v8 = require("node:v8");
|
|
37
|
+
node_v8 = require_picocolors$1.__toESM(node_v8);
|
|
38
|
+
let node_stream_promises = require("node:stream/promises");
|
|
39
|
+
node_stream_promises = require_picocolors$1.__toESM(node_stream_promises);
|
|
40
|
+
let node_stream = require("node:stream");
|
|
41
|
+
node_stream = require_picocolors$1.__toESM(node_stream);
|
|
42
|
+
let node_buffer = require("node:buffer");
|
|
43
|
+
node_buffer = require_picocolors$1.__toESM(node_buffer);
|
|
44
|
+
let node_fs_promises = require("node:fs/promises");
|
|
45
|
+
node_fs_promises = require_picocolors$1.__toESM(node_fs_promises);
|
|
46
|
+
let fs_promises = require("fs/promises");
|
|
47
|
+
fs_promises = require_picocolors$1.__toESM(fs_promises);
|
|
48
|
+
let crypto = require("crypto");
|
|
49
|
+
crypto = require_picocolors$1.__toESM(crypto);
|
|
50
|
+
let http = require("http");
|
|
51
|
+
http = require_picocolors$1.__toESM(http);
|
|
52
|
+
let http2 = require("http2");
|
|
53
|
+
http2 = require_picocolors$1.__toESM(http2);
|
|
54
|
+
let __hot_updater_console = require("@hot-updater/console");
|
|
55
|
+
__hot_updater_console = require_picocolors$1.__toESM(__hot_updater_console);
|
|
56
|
+
let es_git = require("es-git");
|
|
57
|
+
es_git = require_picocolors$1.__toESM(es_git);
|
|
58
|
+
let node_net = require("node:net");
|
|
59
|
+
node_net = require_picocolors$1.__toESM(node_net);
|
|
32
60
|
|
|
33
61
|
//#region ../../node_modules/.pnpm/commander@14.0.0/node_modules/commander/lib/error.js
|
|
34
62
|
var require_error = /* @__PURE__ */ require_picocolors$1.__commonJS({ "../../node_modules/.pnpm/commander@14.0.0/node_modules/commander/lib/error.js": ((exports) => {
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { __commonJS, __require, __toESM, require_picocolors } from "./picocolors-BnzanxXs.js";
|
|
3
|
-
import { AndroidConfigParser, IosConfigParser, createAndInjectFingerprintFiles, generateFingerprints, getFingerprintDiff, isFingerprintEquals, nativeFingerprint, readLocalFingerprint, require_base64_js, require_out, require_plist, showFingerprintDiff } from "./fingerprint-
|
|
3
|
+
import { AndroidConfigParser, IosConfigParser, createAndInjectFingerprintFiles, generateFingerprints, getFingerprintDiff, isFingerprintEquals, nativeFingerprint, readLocalFingerprint, require_base64_js, require_out, require_plist, showFingerprintDiff } from "./fingerprint-GdFiNHO5.js";
|
|
4
4
|
import { EventEmitter, addAbortListener, on, once, setMaxListeners } from "node:events";
|
|
5
5
|
import childProcess, { ChildProcess, execFile, spawn, spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
package/dist/plugins/babel.cjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
const require_picocolors$1 = require('../picocolors-y8lGs7d-.cjs');
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
let fs = require("fs");
|
|
3
|
+
fs = require_picocolors$1.__toESM(fs);
|
|
4
|
+
let path = require("path");
|
|
5
|
+
path = require_picocolors$1.__toESM(path);
|
|
4
6
|
|
|
5
7
|
//#region ../../node_modules/.pnpm/uuidv7@1.0.2/node_modules/uuidv7/dist/index.js
|
|
6
8
|
var import_picocolors = /* @__PURE__ */ require_picocolors$1.__toESM(require_picocolors$1.require_picocolors(), 1);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hot-updater",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.20.
|
|
4
|
+
"version": "0.20.10",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hot-updater": "./dist/index.js"
|
|
7
7
|
},
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"cosmiconfig": "9.0.0",
|
|
54
54
|
"cosmiconfig-typescript-loader": "5.0.0",
|
|
55
55
|
"es-git": "0.4.0",
|
|
56
|
-
"@hot-updater/
|
|
57
|
-
"@hot-updater/
|
|
58
|
-
"@hot-updater/
|
|
56
|
+
"@hot-updater/plugin-core": "0.20.10",
|
|
57
|
+
"@hot-updater/console": "0.20.10",
|
|
58
|
+
"@hot-updater/core": "0.20.10"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"fast-xml-parser": "^5.2.3",
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
"read-package-up": "^11.0.0",
|
|
87
87
|
"semver": "^7.6.3",
|
|
88
88
|
"uuidv7": "^1.0.2",
|
|
89
|
-
"@hot-updater/
|
|
90
|
-
"@hot-updater/
|
|
91
|
-
"@hot-updater/
|
|
92
|
-
"@hot-updater/
|
|
89
|
+
"@hot-updater/firebase": "0.20.10",
|
|
90
|
+
"@hot-updater/aws": "0.20.10",
|
|
91
|
+
"@hot-updater/cloudflare": "0.20.10",
|
|
92
|
+
"@hot-updater/supabase": "0.20.10"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"@hot-updater/aws": "*",
|