unplugin-https-reverse-proxy 0.0.24 → 1.0.0-beta.0

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-TVCN6ESH.js";
3
+ } from "./chunk-KYMRDRAJ.js";
4
4
 
5
5
  // src/webpack.ts
6
6
  import { createWebpackPlugin } from "unplugin";
@@ -348,7 +348,7 @@ var CaddyInstant = class {
348
348
  });
349
349
  }
350
350
  });
351
- const originalExit = process3.exit;
351
+ const originalExit = process3.exit.bind(process3);
352
352
  process3.exit = async (code) => {
353
353
  if (!restore || this.stoped)
354
354
  return originalExit(code);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-TVCN6ESH.js";
3
+ } from "./chunk-KYMRDRAJ.js";
4
4
 
5
5
  // src/vite.ts
6
6
  import { createVitePlugin } from "unplugin";
package/dist/esbuild.cjs CHANGED
@@ -413,7 +413,7 @@ var CaddyInstant = class {
413
413
  });
414
414
  }
415
415
  });
416
- const originalExit = import_node_process4.default.exit;
416
+ const originalExit = import_node_process4.default.exit.bind(import_node_process4.default);
417
417
  import_node_process4.default.exit = async (code) => {
418
418
  if (!restore || this.stoped)
419
419
  return originalExit(code);
package/dist/esbuild.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-TVCN6ESH.js";
3
+ } from "./chunk-KYMRDRAJ.js";
4
4
  import "./chunk-3RTK3FSZ.js";
5
5
 
6
6
  // src/esbuild.ts
package/dist/index.cjs CHANGED
@@ -412,7 +412,7 @@ var CaddyInstant = class {
412
412
  });
413
413
  }
414
414
  });
415
- const originalExit = import_node_process4.default.exit;
415
+ const originalExit = import_node_process4.default.exit.bind(import_node_process4.default);
416
416
  import_node_process4.default.exit = async (code) => {
417
417
  if (!restore || this.stoped)
418
418
  return originalExit(code);
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  src_default,
3
3
  unplugin,
4
4
  unpluginFactory
5
- } from "./chunk-TVCN6ESH.js";
5
+ } from "./chunk-KYMRDRAJ.js";
6
6
  import "./chunk-3RTK3FSZ.js";
7
7
  export {
8
8
  src_default as default,
package/dist/nuxt.cjs CHANGED
@@ -416,7 +416,7 @@ var CaddyInstant = class {
416
416
  });
417
417
  }
418
418
  });
419
- const originalExit = import_node_process4.default.exit;
419
+ const originalExit = import_node_process4.default.exit.bind(import_node_process4.default);
420
420
  import_node_process4.default.exit = async (code) => {
421
421
  if (!restore || this.stoped)
422
422
  return originalExit(code);
package/dist/nuxt.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  vite_default
3
- } from "./chunk-Q7WB6WMX.js";
3
+ } from "./chunk-MDJOTQRD.js";
4
4
  import {
5
5
  webpack_default
6
- } from "./chunk-W4RHTMNZ.js";
7
- import "./chunk-TVCN6ESH.js";
6
+ } from "./chunk-AXBUFN6T.js";
7
+ import "./chunk-KYMRDRAJ.js";
8
8
  import "./chunk-3RTK3FSZ.js";
9
9
 
10
10
  // src/nuxt.ts
package/dist/rollup.cjs CHANGED
@@ -413,7 +413,7 @@ var CaddyInstant = class {
413
413
  });
414
414
  }
415
415
  });
416
- const originalExit = import_node_process4.default.exit;
416
+ const originalExit = import_node_process4.default.exit.bind(import_node_process4.default);
417
417
  import_node_process4.default.exit = async (code) => {
418
418
  if (!restore || this.stoped)
419
419
  return originalExit(code);
package/dist/rollup.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-TVCN6ESH.js";
3
+ } from "./chunk-KYMRDRAJ.js";
4
4
  import "./chunk-3RTK3FSZ.js";
5
5
 
6
6
  // src/rollup.ts
package/dist/vite.cjs CHANGED
@@ -413,7 +413,7 @@ var CaddyInstant = class {
413
413
  });
414
414
  }
415
415
  });
416
- const originalExit = import_node_process4.default.exit;
416
+ const originalExit = import_node_process4.default.exit.bind(import_node_process4.default);
417
417
  import_node_process4.default.exit = async (code) => {
418
418
  if (!restore || this.stoped)
419
419
  return originalExit(code);
package/dist/vite.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  vite_default
3
- } from "./chunk-Q7WB6WMX.js";
4
- import "./chunk-TVCN6ESH.js";
3
+ } from "./chunk-MDJOTQRD.js";
4
+ import "./chunk-KYMRDRAJ.js";
5
5
  import "./chunk-3RTK3FSZ.js";
6
6
  export {
7
7
  vite_default as default
package/dist/webpack.cjs CHANGED
@@ -413,7 +413,7 @@ var CaddyInstant = class {
413
413
  });
414
414
  }
415
415
  });
416
- const originalExit = import_node_process4.default.exit;
416
+ const originalExit = import_node_process4.default.exit.bind(import_node_process4.default);
417
417
  import_node_process4.default.exit = async (code) => {
418
418
  if (!restore || this.stoped)
419
419
  return originalExit(code);
package/dist/webpack.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  webpack_default
3
- } from "./chunk-W4RHTMNZ.js";
4
- import "./chunk-TVCN6ESH.js";
3
+ } from "./chunk-AXBUFN6T.js";
4
+ import "./chunk-KYMRDRAJ.js";
5
5
  import "./chunk-3RTK3FSZ.js";
6
6
  export {
7
7
  webpack_default as default
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unplugin-https-reverse-proxy",
3
3
  "type": "module",
4
- "version": "0.0.24",
4
+ "version": "1.0.0-beta.0",
5
5
  "packageManager": "pnpm@8.6.12",
6
6
  "description": "",
7
7
  "license": "MIT",
@@ -162,7 +162,7 @@ export class CaddyInstant {
162
162
  }
163
163
  })
164
164
 
165
- const originalExit = process.exit
165
+ const originalExit = process.exit.bind(process)
166
166
 
167
167
  // @ts-expect-error override
168
168
  process.exit = async (code?: number) => {