@hot-updater/repack 0.18.0 → 0.18.2

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
@@ -30,7 +30,7 @@ const __hot_updater_plugin_core = __toESM(require("@hot-updater/plugin-core"));
30
30
 
31
31
  //#region ../../node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/memoize.mjs
32
32
  function memoize(fn, options = {}) {
33
- const { cache = new Map(), getCacheKey } = options;
33
+ const { cache = /* @__PURE__ */ new Map(), getCacheKey } = options;
34
34
  const memoizedFn = function(arg) {
35
35
  const key = getCacheKey ? getCacheKey(arg) : arg;
36
36
  if (cache.has(key)) return cache.get(key);
@@ -442,7 +442,7 @@ const uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator
442
442
 
443
443
  //#endregion
444
444
  //#region src/index.ts
445
- var import_picocolors = __toESM(require_picocolors(), 1);
445
+ var import_picocolors = __toESM(require_picocolors());
446
446
  const NIL_UUID = "00000000-0000-0000-0000-000000000000";
447
447
  const memoizeLoadConfig = memoize(__hot_updater_plugin_core.loadConfigSync);
448
448
  const getBundleId = () => {
package/dist/index.d.cts CHANGED
@@ -4,6 +4,5 @@ import { Compiler, RspackPluginInstance } from "@rspack/core";
4
4
  declare class HotUpdaterPlugin implements RspackPluginInstance {
5
5
  apply(compiler: Compiler): void;
6
6
  }
7
-
8
7
  //#endregion
9
8
  export { HotUpdaterPlugin };
package/dist/index.d.ts CHANGED
@@ -4,6 +4,5 @@ import { Compiler, RspackPluginInstance } from "@rspack/core";
4
4
  declare class HotUpdaterPlugin implements RspackPluginInstance {
5
5
  apply(compiler: Compiler): void;
6
6
  }
7
-
8
7
  //#endregion
9
8
  export { HotUpdaterPlugin };
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
30
  //#endregion
31
31
  //#region ../../node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/memoize.mjs
32
32
  function memoize(fn, options = {}) {
33
- const { cache = new Map(), getCacheKey } = options;
33
+ const { cache = /* @__PURE__ */ new Map(), getCacheKey } = options;
34
34
  const memoizedFn = function(arg) {
35
35
  const key = getCacheKey ? getCacheKey(arg) : arg;
36
36
  if (cache.has(key)) return cache.get(key);
@@ -442,7 +442,7 @@ const uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator
442
442
 
443
443
  //#endregion
444
444
  //#region src/index.ts
445
- var import_picocolors = __toESM(require_picocolors(), 1);
445
+ var import_picocolors = __toESM(require_picocolors());
446
446
  const NIL_UUID = "00000000-0000-0000-0000-000000000000";
447
447
  const memoizeLoadConfig = memoize(loadConfigSync);
448
448
  const getBundleId = () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/repack",
3
3
  "type": "module",
4
- "version": "0.18.0",
4
+ "version": "0.18.2",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -32,7 +32,7 @@
32
32
  "@callstack/repack": "*"
33
33
  },
34
34
  "dependencies": {
35
- "@hot-updater/plugin-core": "0.18.0"
35
+ "@hot-updater/plugin-core": "0.18.2"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "tsdown",