hot-updater 0.20.9 → 0.20.11
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 +2 -1
- package/dist/config.d.cts +8 -1
- package/dist/config.d.ts +8 -1
- package/dist/config.js +2 -2
- package/dist/{fingerprint-CYOTKhNO.js → fingerprint-CvRtj7M7.js} +45 -34
- package/dist/{fingerprint-JbEkGyct.cjs → fingerprint-DNKLuLyV.cjs} +60 -38
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require('./picocolors-y8lGs7d-.cjs');
|
|
2
|
-
const require_fingerprint = require('./fingerprint-
|
|
2
|
+
const require_fingerprint = require('./fingerprint-DNKLuLyV.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/config.ts
|
|
5
5
|
const defineConfig = (config) => {
|
|
@@ -8,6 +8,7 @@ const defineConfig = (config) => {
|
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.createAndInjectFingerprintFiles = require_fingerprint.createAndInjectFingerprintFiles;
|
|
11
|
+
exports.createFingerprintJSON = require_fingerprint.createFingerprintJSON;
|
|
11
12
|
exports.defineConfig = defineConfig;
|
|
12
13
|
exports.generateFingerprint = require_fingerprint.generateFingerprint;
|
|
13
14
|
exports.generateFingerprints = require_fingerprint.generateFingerprints;
|
package/dist/config.d.cts
CHANGED
|
@@ -26,6 +26,13 @@ declare const createAndInjectFingerprintFiles: ({
|
|
|
26
26
|
androidPaths: string[];
|
|
27
27
|
iosPaths: string[];
|
|
28
28
|
}>;
|
|
29
|
+
declare const createFingerprintJSON: (fingerprint: {
|
|
30
|
+
ios: FingerprintResult;
|
|
31
|
+
android: FingerprintResult;
|
|
32
|
+
}) => Promise<{
|
|
33
|
+
ios: FingerprintResult;
|
|
34
|
+
android: FingerprintResult;
|
|
35
|
+
}>;
|
|
29
36
|
declare const readLocalFingerprint: () => Promise<{
|
|
30
37
|
ios: FingerprintResult | null;
|
|
31
38
|
android: FingerprintResult | null;
|
|
@@ -34,4 +41,4 @@ declare const readLocalFingerprint: () => Promise<{
|
|
|
34
41
|
//#region src/config.d.ts
|
|
35
42
|
declare const defineConfig: (config: ConfigInput | ((options: HotUpdaterConfigOptions) => ConfigInput)) => ConfigInput | ((options: HotUpdaterConfigOptions) => ConfigInput);
|
|
36
43
|
//#endregion
|
|
37
|
-
export { createAndInjectFingerprintFiles, defineConfig, generateFingerprint, generateFingerprints, readLocalFingerprint };
|
|
44
|
+
export { createAndInjectFingerprintFiles, createFingerprintJSON, defineConfig, generateFingerprint, generateFingerprints, readLocalFingerprint };
|
package/dist/config.d.ts
CHANGED
|
@@ -26,6 +26,13 @@ declare const createAndInjectFingerprintFiles: ({
|
|
|
26
26
|
androidPaths: string[];
|
|
27
27
|
iosPaths: string[];
|
|
28
28
|
}>;
|
|
29
|
+
declare const createFingerprintJSON: (fingerprint: {
|
|
30
|
+
ios: FingerprintResult;
|
|
31
|
+
android: FingerprintResult;
|
|
32
|
+
}) => Promise<{
|
|
33
|
+
ios: FingerprintResult;
|
|
34
|
+
android: FingerprintResult;
|
|
35
|
+
}>;
|
|
29
36
|
declare const readLocalFingerprint: () => Promise<{
|
|
30
37
|
ios: FingerprintResult | null;
|
|
31
38
|
android: FingerprintResult | null;
|
|
@@ -34,4 +41,4 @@ declare const readLocalFingerprint: () => Promise<{
|
|
|
34
41
|
//#region src/config.d.ts
|
|
35
42
|
declare const defineConfig: (config: ConfigInput | ((options: HotUpdaterConfigOptions) => ConfigInput)) => ConfigInput | ((options: HotUpdaterConfigOptions) => ConfigInput);
|
|
36
43
|
//#endregion
|
|
37
|
-
export { createAndInjectFingerprintFiles, defineConfig, generateFingerprint, generateFingerprints, readLocalFingerprint };
|
|
44
|
+
export { createAndInjectFingerprintFiles, createFingerprintJSON, defineConfig, generateFingerprint, generateFingerprints, readLocalFingerprint };
|
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, createFingerprintJSON, generateFingerprint, generateFingerprints, readLocalFingerprint } from "./fingerprint-CvRtj7M7.js";
|
|
3
3
|
|
|
4
4
|
//#region src/config.ts
|
|
5
5
|
const defineConfig = (config) => {
|
|
@@ -7,4 +7,4 @@ const defineConfig = (config) => {
|
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
10
|
-
export { createAndInjectFingerprintFiles, defineConfig, generateFingerprint, generateFingerprints, readLocalFingerprint };
|
|
10
|
+
export { createAndInjectFingerprintFiles, createFingerprintJSON, defineConfig, generateFingerprint, generateFingerprints, readLocalFingerprint };
|
|
@@ -14920,37 +14920,44 @@ 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
|
+
...options.ignorePaths ?? []
|
|
14960
|
+
],
|
|
14954
14961
|
sourceSkips: SourceSkips.GitIgnore | SourceSkips.PackageJsonScriptsAll | SourceSkips.PackageJsonAndroidAndIosScriptsIfNotContainRun | SourceSkips.ExpoConfigAll | SourceSkips.ExpoConfigVersions | SourceSkips.ExpoConfigNames | SourceSkips.ExpoConfigRuntimeVersionIfString | SourceSkips.ExpoConfigAssets | SourceSkips.ExpoConfigExtraSection | SourceSkips.ExpoConfigEASProject | SourceSkips.ExpoConfigSchemes,
|
|
14955
14962
|
extraSources: processExtraSources(options.extraSources ?? [], path$11),
|
|
14956
14963
|
debug: options.debug
|
|
@@ -15021,12 +15028,11 @@ const generateFingerprint = async (platform) => {
|
|
|
15021
15028
|
};
|
|
15022
15029
|
const createAndInjectFingerprintFiles = async ({ platform } = {}) => {
|
|
15023
15030
|
const localFingerprint = await readLocalFingerprint();
|
|
15024
|
-
const FINGERPRINT_FILE_PATH = path.join(getCwd(), "fingerprint.json");
|
|
15025
15031
|
const newFingerprint = await generateFingerprints();
|
|
15026
15032
|
const androidPaths = [];
|
|
15027
15033
|
const iosPaths = [];
|
|
15028
15034
|
if (!localFingerprint || !platform) {
|
|
15029
|
-
await
|
|
15035
|
+
await createFingerprintJSON(newFingerprint);
|
|
15030
15036
|
const { paths: _androidPaths } = await setFingerprintHash("android", newFingerprint.android.hash);
|
|
15031
15037
|
androidPaths.push(..._androidPaths);
|
|
15032
15038
|
const { paths: _iosPaths } = await setFingerprintHash("ios", newFingerprint.ios.hash);
|
|
@@ -15037,7 +15043,7 @@ const createAndInjectFingerprintFiles = async ({ platform } = {}) => {
|
|
|
15037
15043
|
ios: localFingerprint.ios || newFingerprint.ios,
|
|
15038
15044
|
[platform]: newFingerprint[platform]
|
|
15039
15045
|
};
|
|
15040
|
-
await
|
|
15046
|
+
await createFingerprintJSON(nextFingerprints);
|
|
15041
15047
|
const { paths: _platformPaths } = await setFingerprintHash(platform, newFingerprint[platform].hash);
|
|
15042
15048
|
switch (platform) {
|
|
15043
15049
|
case "android":
|
|
@@ -15054,6 +15060,11 @@ const createAndInjectFingerprintFiles = async ({ platform } = {}) => {
|
|
|
15054
15060
|
iosPaths
|
|
15055
15061
|
};
|
|
15056
15062
|
};
|
|
15063
|
+
const createFingerprintJSON = async (fingerprint) => {
|
|
15064
|
+
const FINGERPRINT_FILE_PATH = path.join(getCwd(), "fingerprint.json");
|
|
15065
|
+
await fs.promises.writeFile(FINGERPRINT_FILE_PATH, JSON.stringify(fingerprint, null, 2));
|
|
15066
|
+
return fingerprint;
|
|
15067
|
+
};
|
|
15057
15068
|
const readLocalFingerprint = async () => {
|
|
15058
15069
|
const FINGERPRINT_FILE_PATH = path.join(getCwd(), "fingerprint.json");
|
|
15059
15070
|
try {
|
|
@@ -15065,4 +15076,4 @@ const readLocalFingerprint = async () => {
|
|
|
15065
15076
|
};
|
|
15066
15077
|
|
|
15067
15078
|
//#endregion
|
|
15068
|
-
export { AndroidConfigParser, IosConfigParser, createAndInjectFingerprintFiles, generateFingerprint, generateFingerprints, getFingerprintDiff, isFingerprintEquals, nativeFingerprint, readLocalFingerprint, require_base64_js, require_out, require_plist, showFingerprintDiff };
|
|
15079
|
+
export { AndroidConfigParser, IosConfigParser, createAndInjectFingerprintFiles, createFingerprintJSON, generateFingerprint, generateFingerprints, getFingerprintDiff, isFingerprintEquals, nativeFingerprint, readLocalFingerprint, require_base64_js, require_out, require_plist, showFingerprintDiff };
|
|
@@ -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,44 @@ 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
|
+
...options.ignorePaths ?? []
|
|
14965
|
+
],
|
|
14954
14966
|
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
14967
|
extraSources: processExtraSources(options.extraSources ?? [], path$14),
|
|
14956
14968
|
debug: options.debug
|
|
@@ -15021,12 +15033,11 @@ const generateFingerprint = async (platform) => {
|
|
|
15021
15033
|
};
|
|
15022
15034
|
const createAndInjectFingerprintFiles = async ({ platform } = {}) => {
|
|
15023
15035
|
const localFingerprint = await readLocalFingerprint();
|
|
15024
|
-
const FINGERPRINT_FILE_PATH = path.default.join((0, __hot_updater_plugin_core.getCwd)(), "fingerprint.json");
|
|
15025
15036
|
const newFingerprint = await generateFingerprints();
|
|
15026
15037
|
const androidPaths = [];
|
|
15027
15038
|
const iosPaths = [];
|
|
15028
15039
|
if (!localFingerprint || !platform) {
|
|
15029
|
-
await
|
|
15040
|
+
await createFingerprintJSON(newFingerprint);
|
|
15030
15041
|
const { paths: _androidPaths } = await setFingerprintHash("android", newFingerprint.android.hash);
|
|
15031
15042
|
androidPaths.push(..._androidPaths);
|
|
15032
15043
|
const { paths: _iosPaths } = await setFingerprintHash("ios", newFingerprint.ios.hash);
|
|
@@ -15037,7 +15048,7 @@ const createAndInjectFingerprintFiles = async ({ platform } = {}) => {
|
|
|
15037
15048
|
ios: localFingerprint.ios || newFingerprint.ios,
|
|
15038
15049
|
[platform]: newFingerprint[platform]
|
|
15039
15050
|
};
|
|
15040
|
-
await
|
|
15051
|
+
await createFingerprintJSON(nextFingerprints);
|
|
15041
15052
|
const { paths: _platformPaths } = await setFingerprintHash(platform, newFingerprint[platform].hash);
|
|
15042
15053
|
switch (platform) {
|
|
15043
15054
|
case "android":
|
|
@@ -15054,6 +15065,11 @@ const createAndInjectFingerprintFiles = async ({ platform } = {}) => {
|
|
|
15054
15065
|
iosPaths
|
|
15055
15066
|
};
|
|
15056
15067
|
};
|
|
15068
|
+
const createFingerprintJSON = async (fingerprint) => {
|
|
15069
|
+
const FINGERPRINT_FILE_PATH = path.default.join((0, __hot_updater_plugin_core.getCwd)(), "fingerprint.json");
|
|
15070
|
+
await fs.default.promises.writeFile(FINGERPRINT_FILE_PATH, JSON.stringify(fingerprint, null, 2));
|
|
15071
|
+
return fingerprint;
|
|
15072
|
+
};
|
|
15057
15073
|
const readLocalFingerprint = async () => {
|
|
15058
15074
|
const FINGERPRINT_FILE_PATH = path.default.join((0, __hot_updater_plugin_core.getCwd)(), "fingerprint.json");
|
|
15059
15075
|
try {
|
|
@@ -15083,6 +15099,12 @@ Object.defineProperty(exports, 'createAndInjectFingerprintFiles', {
|
|
|
15083
15099
|
return createAndInjectFingerprintFiles;
|
|
15084
15100
|
}
|
|
15085
15101
|
});
|
|
15102
|
+
Object.defineProperty(exports, 'createFingerprintJSON', {
|
|
15103
|
+
enumerable: true,
|
|
15104
|
+
get: function () {
|
|
15105
|
+
return createFingerprintJSON;
|
|
15106
|
+
}
|
|
15107
|
+
});
|
|
15086
15108
|
Object.defineProperty(exports, 'generateFingerprint', {
|
|
15087
15109
|
enumerable: true,
|
|
15088
15110
|
get: function () {
|
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-DNKLuLyV.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-CvRtj7M7.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.11",
|
|
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/console": "0.20.
|
|
57
|
-
"@hot-updater/core": "0.20.
|
|
58
|
-
"@hot-updater/plugin-core": "0.20.
|
|
56
|
+
"@hot-updater/console": "0.20.11",
|
|
57
|
+
"@hot-updater/core": "0.20.11",
|
|
58
|
+
"@hot-updater/plugin-core": "0.20.11"
|
|
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/aws": "0.20.
|
|
90
|
-
"@hot-updater/cloudflare": "0.20.
|
|
91
|
-
"@hot-updater/firebase": "0.20.
|
|
92
|
-
"@hot-updater/supabase": "0.20.
|
|
89
|
+
"@hot-updater/aws": "0.20.11",
|
|
90
|
+
"@hot-updater/cloudflare": "0.20.11",
|
|
91
|
+
"@hot-updater/firebase": "0.20.11",
|
|
92
|
+
"@hot-updater/supabase": "0.20.11"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"@hot-updater/aws": "*",
|