Skip to content

Commit 002e866

Browse files
committed
Update version to 1.44.7 and modify import in zip.js to use readEntry instead of readEntire
1 parent ebfb9dd commit 002e866

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-update-cli",
3-
"version": "1.44.6",
3+
"version": "1.44.7",
44
"description": "command line tool for react-native-update (remote updates for react native)",
55
"main": "index.js",
66
"bin": {

src/utils/app-info-parser/zip.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const Unzip = require('isomorphic-unzip');
22
const { isBrowser, decodeNullUnicode } = require('./utils');
3-
import { enumZipEntries, readEntire } from '../../bundle';
3+
import { enumZipEntries, readEntry } from '../../bundle';
44

55
class Zip {
66
constructor(file) {
@@ -53,7 +53,7 @@ class Zip {
5353
let originSource;
5454
await enumZipEntries(this.file, (entry, zipFile) => {
5555
if (regex.test(entry.fileName)) {
56-
return readEntire(entry, zipFile).then((v) => (originSource = v));
56+
return readEntry(entry, zipFile).then((v) => (originSource = v));
5757
}
5858
});
5959
return originSource;

0 commit comments

Comments
 (0)