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 CHANGED
@@ -434,7 +434,8 @@ const ignorePackingFileNames = [
434
434
  'index.bundlejs.map'
435
435
  ];
436
436
  const ignorePackingExtensions = [
437
- 'DS_Store'
437
+ 'DS_Store',
438
+ 'txt.map'
438
439
  ];
439
440
  async function pack(dir, output) {
440
441
  console.log('Packing');
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
@@ -39,5 +39,5 @@ const _default = {
39
39
  cancelled: '已取消',
40
40
  operationSuccess: '操作成功',
41
41
  failedToParseUpdateJson: '无法解析文件 `update.json`。请手动删除它。',
42
- ppkPackageGenerated: 'ppk 热更包已生成并保存到: {{output}}'
42
+ ppkPackageGenerated: 'ppk 热更包已生成并保存到: {{- output}}'
43
43
  };
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.2",
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.12",
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": "^10",
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.29.0",
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.9",
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.13.10",
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.5.8",
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.2"
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
@@ -37,5 +37,5 @@ export default {
37
37
  cancelled: '已取消',
38
38
  operationSuccess: '操作成功',
39
39
  failedToParseUpdateJson: '无法解析文件 `update.json`。请手动删除它。',
40
- ppkPackageGenerated: 'ppk 热更包已生成并保存到: {{output}}',
40
+ ppkPackageGenerated: 'ppk 热更包已生成并保存到: {{- output}}',
41
41
  };
package/src/versions.ts CHANGED
@@ -247,7 +247,7 @@ export const commands = {
247
247
  }
248
248
 
249
249
  if (!pkgVersion) {
250
- const pkg = data.find((d) => d.id === pkgId);
250
+ const pkg = data.find((d) => String(d.id) === String(pkgId));
251
251
  if (pkg) {
252
252
  pkgVersion = pkg.name;
253
253
  }