react-native-update-cli 2.8.3 → 2.8.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
@@ -21,6 +21,7 @@ const _constants = require("./utils/constants");
21
21
  const _depversions = require("./utils/dep-versions");
22
22
  const _i18n = require("./utils/i18n");
23
23
  const _versions = require("./versions");
24
+ const _os = /*#__PURE__*/ _interop_require_default(require("os"));
24
25
  function _interop_require_default(obj) {
25
26
  return obj && obj.__esModule ? obj : {
26
27
  default: obj
@@ -253,9 +254,9 @@ async function runReactNativeBundleCommand({ bundleName, dev, entryFile, outputF
253
254
  });
254
255
  }
255
256
  function getHermesOSBin() {
256
- if (os.platform() === 'win32') return 'win64-bin';
257
- if (os.platform() === 'darwin') return 'osx-bin';
258
- if (os.platform() === 'linux') return 'linux64-bin';
257
+ if (_os.default.platform() === 'win32') return 'win64-bin';
258
+ if (_os.default.platform() === 'darwin') return 'osx-bin';
259
+ if (_os.default.platform() === 'linux') return 'linux64-bin';
259
260
  }
260
261
  async function checkGradleConfig() {
261
262
  let enableHermes = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update-cli",
3
- "version": "2.8.3",
3
+ "version": "2.8.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
@@ -14,6 +14,7 @@ import { tempDir } from './utils/constants';
14
14
  import { depVersions } from './utils/dep-versions';
15
15
  import { t } from './utils/i18n';
16
16
  import { versionCommands } from './versions';
17
+ import os from 'os';
17
18
 
18
19
  async function runReactNativeBundleCommand({
19
20
  bundleName,