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 +2 -1
- package/lib/versions.js +1 -1
- package/package.json +1 -1
- package/src/bundle.ts +1 -1
- package/src/versions.ts +1 -1
package/lib/bundle.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
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