@modern-js/plugin-proxy 2.48.0 → 2.48.1

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.
@@ -31,7 +31,6 @@ __export(whistleProxy_exports, {
31
31
  default: () => WhistleProxy
32
32
  });
33
33
  module.exports = __toCommonJS(whistleProxy_exports);
34
- var import_define_property = require("@swc/helpers/_/_define_property");
35
34
  var import_path = __toESM(require("path"));
36
35
  var import_utils = require("@modern-js/utils");
37
36
  var import_execSync = __toESM(require("./execSync"));
@@ -64,10 +63,6 @@ class WhistleProxy {
64
63
  import_utils.logger.info(`Proxy Server has been closed`);
65
64
  }
66
65
  constructor(config) {
67
- (0, import_define_property._)(this, "rule", void 0);
68
- (0, import_define_property._)(this, "port", void 0);
69
- (0, import_define_property._)(this, "bin", void 0);
70
- (0, import_define_property._)(this, "certDir", void 0);
71
66
  this.rule = config.rule;
72
67
  this.port = config.port;
73
68
  this.bin = import_path.default.resolve(import_path.default.dirname(require.resolve("whistle")), "bin/whistle.js");
@@ -1,4 +1,3 @@
1
- import { _ as _define_property } from "@swc/helpers/_/_define_property";
2
1
  import path from "path";
3
2
  import { logger } from "@modern-js/utils";
4
3
  import execSync from "./execSync";
@@ -31,10 +30,6 @@ class WhistleProxy {
31
30
  logger.info(`Proxy Server has been closed`);
32
31
  }
33
32
  constructor(config) {
34
- _define_property(this, "rule", void 0);
35
- _define_property(this, "port", void 0);
36
- _define_property(this, "bin", void 0);
37
- _define_property(this, "certDir", void 0);
38
33
  this.rule = config.rule;
39
34
  this.port = config.port;
40
35
  this.bin = path.resolve(path.dirname(require.resolve("whistle")), "bin/whistle.js");
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.48.0",
18
+ "version": "2.48.1",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -36,16 +36,16 @@
36
36
  "dependencies": {
37
37
  "whistle": "^2.7.18",
38
38
  "@swc/helpers": "0.5.3",
39
- "@modern-js/utils": "2.48.0"
39
+ "@modern-js/utils": "2.48.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/jest": "^29",
43
43
  "@types/node": "^14",
44
44
  "typescript": "^5",
45
45
  "jest": "^29",
46
- "@scripts/build": "2.48.0",
47
- "@modern-js/core": "2.48.0",
48
- "@scripts/jest-config": "2.48.0"
46
+ "@modern-js/core": "2.48.1",
47
+ "@scripts/build": "2.48.1",
48
+ "@scripts/jest-config": "2.48.1"
49
49
  },
50
50
  "sideEffects": false,
51
51
  "publishConfig": {