@hot-updater/apple-helper 0.29.3 → 0.29.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/dist/index.cjs CHANGED
@@ -21,11 +21,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
21
21
  enumerable: true
22
22
  }) : target, mod));
23
23
  //#endregion
24
- let _hot_updater_cli_tools = require("@hot-updater/cli-tools");
25
24
  let fs = require("fs");
26
25
  fs = __toESM(fs);
27
26
  let path = require("path");
28
27
  path = __toESM(path);
28
+ let _hot_updater_cli_tools = require("@hot-updater/cli-tools");
29
29
  let _hot_updater_plugin_core = require("@hot-updater/plugin-core");
30
30
  let execa = require("execa");
31
31
  let node_fs_promises = require("node:fs/promises");
@@ -77,7 +77,7 @@ const checkShouldUseBundler = async (gemfilePath) => {
77
77
  try {
78
78
  if (!fs.default.existsSync(gemfilePath)) return false;
79
79
  return (await fs.default.promises.readFile(gemfilePath, "utf-8")).includes("cocoapods");
80
- } catch (_error) {
80
+ } catch {
81
81
  return false;
82
82
  }
83
83
  };
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { BuildLogger, colors, getCwd, getReactNativeMetadatas, p } from "@hot-updater/cli-tools";
2
1
  import fs from "fs";
3
2
  import path from "path";
3
+ import { BuildLogger, colors, getCwd, getReactNativeMetadatas, p } from "@hot-updater/cli-tools";
4
4
  import { generateMinBundleId } from "@hot-updater/plugin-core";
5
5
  import { ExecaError, execa } from "execa";
6
6
  import { mkdtemp } from "node:fs/promises";
@@ -51,7 +51,7 @@ const checkShouldUseBundler = async (gemfilePath) => {
51
51
  try {
52
52
  if (!fs.existsSync(gemfilePath)) return false;
53
53
  return (await fs.promises.readFile(gemfilePath, "utf-8")).includes("cocoapods");
54
- } catch (_error) {
54
+ } catch {
55
55
  return false;
56
56
  }
57
57
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/apple-helper",
3
- "version": "0.29.3",
3
+ "version": "0.29.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -26,8 +26,8 @@
26
26
  "dependencies": {
27
27
  "execa": "9.5.2",
28
28
  "fast-xml-parser": "5.4.1",
29
- "@hot-updater/plugin-core": "0.29.3",
30
- "@hot-updater/cli-tools": "0.29.3"
29
+ "@hot-updater/cli-tools": "0.29.4",
30
+ "@hot-updater/plugin-core": "0.29.4"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^20"