hot-updater 0.16.4 → 0.16.5
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/index.cjs +12 -2
- package/dist/index.js +12 -2
- package/dist/plugins/babel.cjs +3 -11
- package/dist/plugins/babel.js +3 -11
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -19996,8 +19996,18 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
19996
19996
|
"@hot-updater/bare"
|
|
19997
19997
|
]
|
|
19998
19998
|
},
|
|
19999
|
-
|
|
20000
|
-
|
|
19999
|
+
hint: "React Native CLI",
|
|
20000
|
+
label: "Bare"
|
|
20001
|
+
},
|
|
20002
|
+
{
|
|
20003
|
+
value: {
|
|
20004
|
+
dependencies: [],
|
|
20005
|
+
devDependencies: [
|
|
20006
|
+
"@hot-updater/rnef"
|
|
20007
|
+
]
|
|
20008
|
+
},
|
|
20009
|
+
hint: "React Native Enterprise Framework by Callstack",
|
|
20010
|
+
label: "RNEF"
|
|
20001
20011
|
}
|
|
20002
20012
|
]
|
|
20003
20013
|
});
|
package/dist/index.js
CHANGED
|
@@ -19939,8 +19939,18 @@ const init_init = async ()=>{
|
|
|
19939
19939
|
"@hot-updater/bare"
|
|
19940
19940
|
]
|
|
19941
19941
|
},
|
|
19942
|
-
|
|
19943
|
-
|
|
19942
|
+
hint: "React Native CLI",
|
|
19943
|
+
label: "Bare"
|
|
19944
|
+
},
|
|
19945
|
+
{
|
|
19946
|
+
value: {
|
|
19947
|
+
dependencies: [],
|
|
19948
|
+
devDependencies: [
|
|
19949
|
+
"@hot-updater/rnef"
|
|
19950
|
+
]
|
|
19951
|
+
},
|
|
19952
|
+
hint: "React Native Enterprise Framework by Callstack",
|
|
19953
|
+
label: "RNEF"
|
|
19944
19954
|
}
|
|
19945
19955
|
]
|
|
19946
19956
|
});
|
package/dist/plugins/babel.cjs
CHANGED
|
@@ -17158,17 +17158,9 @@ var __webpack_exports__ = {};
|
|
|
17158
17158
|
return {
|
|
17159
17159
|
name: "replace-hot-updater-bundle-id",
|
|
17160
17160
|
visitor: {
|
|
17161
|
-
|
|
17162
|
-
if (
|
|
17163
|
-
|
|
17164
|
-
}) && lib.isIdentifier(path.node.property, {
|
|
17165
|
-
name: "HOT_UPDATER_BUNDLE_ID"
|
|
17166
|
-
})) path.replaceWith(lib.stringLiteral(bundleId));
|
|
17167
|
-
if (lib.isIdentifier(path.node.object, {
|
|
17168
|
-
name: "HotUpdater"
|
|
17169
|
-
}) && lib.isIdentifier(path.node.property, {
|
|
17170
|
-
name: "CHANNEL"
|
|
17171
|
-
})) path.replaceWith(channel ? lib.stringLiteral(channel) : lib.nullLiteral());
|
|
17161
|
+
Identifier (path) {
|
|
17162
|
+
if ("__HOT_UPDATER_BUNDLE_ID" === path.node.name) path.replaceWith(lib.stringLiteral(bundleId));
|
|
17163
|
+
if ("__HOT_UPDATER_CHANNEL" === path.node.name) path.replaceWith(channel ? lib.stringLiteral(channel) : lib.nullLiteral());
|
|
17172
17164
|
}
|
|
17173
17165
|
}
|
|
17174
17166
|
};
|
package/dist/plugins/babel.js
CHANGED
|
@@ -17053,17 +17053,9 @@ function replaceHotUpdaterBundleId() {
|
|
|
17053
17053
|
return {
|
|
17054
17054
|
name: "replace-hot-updater-bundle-id",
|
|
17055
17055
|
visitor: {
|
|
17056
|
-
|
|
17057
|
-
if (
|
|
17058
|
-
|
|
17059
|
-
}) && lib.isIdentifier(path.node.property, {
|
|
17060
|
-
name: "HOT_UPDATER_BUNDLE_ID"
|
|
17061
|
-
})) path.replaceWith(lib.stringLiteral(bundleId));
|
|
17062
|
-
if (lib.isIdentifier(path.node.object, {
|
|
17063
|
-
name: "HotUpdater"
|
|
17064
|
-
}) && lib.isIdentifier(path.node.property, {
|
|
17065
|
-
name: "CHANNEL"
|
|
17066
|
-
})) path.replaceWith(channel ? lib.stringLiteral(channel) : lib.nullLiteral());
|
|
17056
|
+
Identifier (path) {
|
|
17057
|
+
if ("__HOT_UPDATER_BUNDLE_ID" === path.node.name) path.replaceWith(lib.stringLiteral(bundleId));
|
|
17058
|
+
if ("__HOT_UPDATER_CHANNEL" === path.node.name) path.replaceWith(channel ? lib.stringLiteral(channel) : lib.nullLiteral());
|
|
17067
17059
|
}
|
|
17068
17060
|
}
|
|
17069
17061
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hot-updater",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.5",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hot-updater": "./dist/index.js"
|
|
7
7
|
},
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@clack/prompts": "^0.10.0",
|
|
52
|
-
"@hot-updater/console": "0.16.4",
|
|
53
|
-
"@hot-updater/core": "0.16.4",
|
|
54
|
-
"@hot-updater/plugin-core": "0.16.4",
|
|
55
52
|
"commander": "^11.1.0",
|
|
56
53
|
"cosmiconfig": "^9.0.0",
|
|
57
54
|
"cosmiconfig-typescript-loader": "^5.0.0",
|
|
58
|
-
"es-git": "^0.2.0"
|
|
55
|
+
"es-git": "^0.2.0",
|
|
56
|
+
"@hot-updater/console": "0.16.5",
|
|
57
|
+
"@hot-updater/plugin-core": "0.16.5",
|
|
58
|
+
"@hot-updater/core": "0.16.5"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@babel/core": "7.26.0",
|