react-native-update-cli 1.43.3 → 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/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",
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": {
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/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
  }