@hot-updater/bare 0.36.15 → 0.36.17

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
@@ -49,6 +49,7 @@ let node_stream_promises = require("node:stream/promises");
49
49
  let node_stream = require("node:stream");
50
50
  let node_buffer = require("node:buffer");
51
51
  let uuidv7 = require("uuidv7");
52
+ let node_module = require("node:module");
52
53
  //#region ../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
53
54
  function isPlainObject(value) {
54
55
  if (typeof value !== "object" || value === null) return false;
@@ -6209,6 +6210,7 @@ createExeca(mapScriptAsync, {}, deepScriptOptions, setScriptSync);
6209
6210
  const { sendMessage, getOneMessage, getEachMessage, getCancelSignal } = getIpcExport();
6210
6211
  //#endregion
6211
6212
  //#region src/hermes.ts
6213
+ const require$1 = (0, node_module.createRequire)(require("url").pathToFileURL(__filename).href);
6212
6214
  /**
6213
6215
  * Returns the Hermes OS binary folder name for the current platform.
6214
6216
  */
@@ -6228,7 +6230,7 @@ function getHermesOSExe() {
6228
6230
  }
6229
6231
  function getHermesCompilerPackagePath(reactNativePath) {
6230
6232
  try {
6231
- return path.default.dirname(require.resolve("hermes-compiler/package.json", { paths: [reactNativePath] }));
6233
+ return path.default.dirname(require$1.resolve("hermes-compiler/package.json", { paths: [reactNativePath] }));
6232
6234
  } catch {
6233
6235
  return null;
6234
6236
  }
package/dist/index.mjs CHANGED
@@ -6204,6 +6204,7 @@ createExeca(mapScriptAsync, {}, deepScriptOptions, setScriptSync);
6204
6204
  const { sendMessage, getOneMessage, getEachMessage, getCancelSignal } = getIpcExport();
6205
6205
  //#endregion
6206
6206
  //#region src/hermes.ts
6207
+ const require$1 = createRequire(import.meta.url);
6207
6208
  /**
6208
6209
  * Returns the Hermes OS binary folder name for the current platform.
6209
6210
  */
@@ -6223,7 +6224,7 @@ function getHermesOSExe() {
6223
6224
  }
6224
6225
  function getHermesCompilerPackagePath(reactNativePath) {
6225
6226
  try {
6226
- return path.dirname(__require.resolve("hermes-compiler/package.json", { paths: [reactNativePath] }));
6227
+ return path.dirname(require$1.resolve("hermes-compiler/package.json", { paths: [reactNativePath] }));
6227
6228
  } catch {
6228
6229
  return null;
6229
6230
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/bare",
3
3
  "type": "module",
4
- "version": "0.36.15",
4
+ "version": "0.36.17",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.mjs",
@@ -25,8 +25,8 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "uuidv7": "^1.0.2",
28
- "@hot-updater/cli-tools": "0.36.15",
29
- "@hot-updater/plugin-core": "0.36.15"
28
+ "@hot-updater/cli-tools": "0.36.17",
29
+ "@hot-updater/plugin-core": "0.36.17"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^20",