react-native-update-cli 1.43.2 → 1.43.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/bundle.js +2 -1
- package/lib/locales/en.js +1 -1
- package/lib/locales/zh.js +1 -1
- package/lib/versions.js +1 -1
- package/package.json +8 -8
- package/src/bundle.ts +1 -1
- package/src/locales/en.ts +1 -1
- package/src/locales/zh.ts +1 -1
- package/src/versions.ts +1 -1
package/lib/bundle.js
CHANGED
package/lib/locales/en.js
CHANGED
|
@@ -39,5 +39,5 @@ This can reduce the risk of inconsistent dependencies and supply chain attacks.
|
|
|
39
39
|
cancelled: 'Cancelled',
|
|
40
40
|
operationSuccess: 'Operation successful',
|
|
41
41
|
failedToParseUpdateJson: 'Failed to parse file `update.json`. Try to remove it manually.',
|
|
42
|
-
ppkPackageGenerated: 'ppk package generated and saved to: {{output}}'
|
|
42
|
+
ppkPackageGenerated: 'ppk package generated and saved to: {{- output}}'
|
|
43
43
|
};
|
package/lib/locales/zh.js
CHANGED
package/lib/versions.js
CHANGED
|
@@ -214,7 +214,7 @@ const commands = {
|
|
|
214
214
|
throw new Error('请提供 packageId 或 packageVersion 参数');
|
|
215
215
|
}
|
|
216
216
|
if (!pkgVersion) {
|
|
217
|
-
const pkg = data.find((d)=>d.id === pkgId);
|
|
217
|
+
const pkg = data.find((d)=>String(d.id) === String(pkgId));
|
|
218
218
|
if (pkg) {
|
|
219
219
|
pkgVersion = pkg.name;
|
|
220
220
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-update-cli",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.4",
|
|
4
4
|
"description": "command line tool for react-native-update (remote updates for react native)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/reactnativecn/react-native-pushy/tree/master/react-native-pushy-cli",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@badisi/latest-version": "^7.0.
|
|
38
|
+
"@badisi/latest-version": "^7.0.13",
|
|
39
39
|
"bplist-parser": "^0.3.2",
|
|
40
40
|
"bytebuffer": "^5.0.1",
|
|
41
41
|
"cgbi-to-png": "^1.0.7",
|
|
42
42
|
"chalk": "4",
|
|
43
43
|
"cli-arguments": "^0.2.1",
|
|
44
|
-
"commander": "^
|
|
44
|
+
"commander": "^13",
|
|
45
45
|
"compare-versions": "^6.1.1",
|
|
46
46
|
"filesize-parser": "^1.5.1",
|
|
47
47
|
"form-data": "^4.0.2",
|
|
48
48
|
"fs-extra": "8",
|
|
49
49
|
"gradle-to-js": "^2.0.1",
|
|
50
50
|
"i18next": "^24.2.3",
|
|
51
|
-
"isomorphic-git": "^1.
|
|
51
|
+
"isomorphic-git": "^1.30.1",
|
|
52
52
|
"isomorphic-unzip": "^1.1.5",
|
|
53
53
|
"node-fetch": "^2.6.1",
|
|
54
54
|
"plist": "^3.1.0",
|
|
@@ -68,17 +68,17 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@biomejs/biome": "^1.9.4",
|
|
70
70
|
"@swc/cli": "^0.6.0",
|
|
71
|
-
"@swc/core": "^1.11.
|
|
71
|
+
"@swc/core": "^1.11.18",
|
|
72
72
|
"@types/filesize-parser": "^1.5.3",
|
|
73
73
|
"@types/fs-extra": "^11.0.4",
|
|
74
|
-
"@types/node": "^22.
|
|
74
|
+
"@types/node": "^22.14.0",
|
|
75
75
|
"@types/node-fetch": "^2.6.12",
|
|
76
76
|
"@types/progress": "^2.0.7",
|
|
77
|
-
"@types/semver": "^7.
|
|
77
|
+
"@types/semver": "^7.7.0",
|
|
78
78
|
"@types/tcp-ping": "^0.1.6",
|
|
79
79
|
"@types/update-notifier": "^6.0.8",
|
|
80
80
|
"@types/yauzl": "^2.10.3",
|
|
81
81
|
"@types/yazl": "^2.4.6",
|
|
82
|
-
"typescript": "^5.8.
|
|
82
|
+
"typescript": "^5.8.3"
|
|
83
83
|
}
|
|
84
84
|
}
|
package/src/bundle.ts
CHANGED
|
@@ -477,7 +477,7 @@ async function uploadSourcemapForSentry(
|
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
const ignorePackingFileNames = ['.', '..', 'index.bundlejs.map'];
|
|
480
|
-
const ignorePackingExtensions = ['DS_Store'];
|
|
480
|
+
const ignorePackingExtensions = ['DS_Store','txt.map'];
|
|
481
481
|
async function pack(dir: string, output: string) {
|
|
482
482
|
console.log('Packing');
|
|
483
483
|
fs.ensureDirSync(path.dirname(output));
|
package/src/locales/en.ts
CHANGED
|
@@ -39,5 +39,5 @@ This can reduce the risk of inconsistent dependencies and supply chain attacks.
|
|
|
39
39
|
cancelled: 'Cancelled',
|
|
40
40
|
operationSuccess: 'Operation successful',
|
|
41
41
|
failedToParseUpdateJson: 'Failed to parse file `update.json`. Try to remove it manually.',
|
|
42
|
-
ppkPackageGenerated: 'ppk package generated and saved to: {{output}}',
|
|
42
|
+
ppkPackageGenerated: 'ppk package generated and saved to: {{- output}}',
|
|
43
43
|
};
|
package/src/locales/zh.ts
CHANGED
package/src/versions.ts
CHANGED