react-native-update-cli 1.44.6 → 1.44.7

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.
@@ -42,7 +42,7 @@ class Zip {
42
42
  let originSource;
43
43
  await (0, _bundle.enumZipEntries)(this.file, (entry, zipFile)=>{
44
44
  if (regex.test(entry.fileName)) {
45
- return (0, _bundle.readEntire)(entry, zipFile).then((v)=>originSource = v);
45
+ return (0, _bundle.readEntry)(entry, zipFile).then((v)=>originSource = v);
46
46
  }
47
47
  });
48
48
  return originSource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update-cli",
3
- "version": "1.44.6",
3
+ "version": "1.44.7",
4
4
  "description": "command line tool for react-native-update (remote updates for react native)",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  const Unzip = require('isomorphic-unzip');
2
2
  const { isBrowser, decodeNullUnicode } = require('./utils');
3
- import { enumZipEntries, readEntire } from '../../bundle';
3
+ import { enumZipEntries, readEntry } from '../../bundle';
4
4
 
5
5
  class Zip {
6
6
  constructor(file) {
@@ -53,7 +53,7 @@ class Zip {
53
53
  let originSource;
54
54
  await enumZipEntries(this.file, (entry, zipFile) => {
55
55
  if (regex.test(entry.fileName)) {
56
- return readEntire(entry, zipFile).then((v) => (originSource = v));
56
+ return readEntry(entry, zipFile).then((v) => (originSource = v));
57
57
  }
58
58
  });
59
59
  return originSource;