react-native-update-cli 1.30.3 → 1.30.4
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/lib/utils/index.js +4 -2
- package/package.json +1 -1
- package/src/utils/index.js +4 -2
- package/src/.DS_Store +0 -0
- package/src/utils/.DS_Store +0 -0
package/lib/utils/index.js
CHANGED
|
@@ -158,9 +158,11 @@ function printVersionCommand() {
|
|
|
158
158
|
}
|
|
159
159
|
if (pushyVersion) {
|
|
160
160
|
if ((0, _satisfies2.default)(pushyVersion, '<8.5.1')) {
|
|
161
|
-
console.warn(
|
|
161
|
+
console.warn(`当前版本已不再支持,请至少升级到 v8 的最新小版本后重新打包(代码无需改动): npm i react-native-update@8 .
|
|
162
|
+
如有使用安装 apk 的功能,请注意添加所需权限 https://pushy.reactnative.cn/docs/api#async-function-downloadandinstallapkurl`);
|
|
162
163
|
} else if ((0, _satisfies2.default)(pushyVersion, '9.0.0 - 9.2.0')) {
|
|
163
|
-
console.warn(
|
|
164
|
+
console.warn(`当前版本已不再支持,请至少升级到 v9 的最新小版本后重新打包(代码无需改动): npm i react-native-update@9 .
|
|
165
|
+
如有使用安装 apk 的功能,请注意添加所需权限 https://pushy.reactnative.cn/docs/api#async-function-downloadandinstallapkurl`);
|
|
164
166
|
}
|
|
165
167
|
}
|
|
166
168
|
}
|
package/package.json
CHANGED
package/src/utils/index.js
CHANGED
|
@@ -154,11 +154,13 @@ export function printVersionCommand() {
|
|
|
154
154
|
if (pushyVersion) {
|
|
155
155
|
if (semverSatisfies(pushyVersion, '<8.5.1')) {
|
|
156
156
|
console.warn(
|
|
157
|
-
|
|
157
|
+
`当前版本已不再支持,请至少升级到 v8 的最新小版本后重新打包(代码无需改动): npm i react-native-update@8 .
|
|
158
|
+
如有使用安装 apk 的功能,请注意添加所需权限 https://pushy.reactnative.cn/docs/api#async-function-downloadandinstallapkurl`,
|
|
158
159
|
);
|
|
159
160
|
} else if (semverSatisfies(pushyVersion, '9.0.0 - 9.2.0')) {
|
|
160
161
|
console.warn(
|
|
161
|
-
|
|
162
|
+
`当前版本已不再支持,请至少升级到 v9 的最新小版本后重新打包(代码无需改动): npm i react-native-update@9 .
|
|
163
|
+
如有使用安装 apk 的功能,请注意添加所需权限 https://pushy.reactnative.cn/docs/api#async-function-downloadandinstallapkurl`,
|
|
162
164
|
);
|
|
163
165
|
}
|
|
164
166
|
}
|
package/src/.DS_Store
DELETED
|
Binary file
|
package/src/utils/.DS_Store
DELETED
|
Binary file
|