@mcpc-tech/unplugin-dev-inspector-mcp 0.1.26 → 0.1.27

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.
@@ -179,7 +179,7 @@ var StandaloneServer = class {
179
179
  }
180
180
  async start(options = {}) {
181
181
  const startPort = options.port || getDefaultPort();
182
- this.host = "0.0.0.0";
182
+ this.host = options.host ? "localhost" : "0.0.0.0";
183
183
  this.allowedHosts = options.allowedHosts || [];
184
184
  for (let port = startPort; port < startPort + 100; port++) try {
185
185
  await new Promise((resolve$1, reject) => {
@@ -171,7 +171,7 @@ var StandaloneServer = class {
171
171
  }
172
172
  async start(options = {}) {
173
173
  const startPort = options.port || getDefaultPort();
174
- this.host = "0.0.0.0";
174
+ this.host = options.host ? "localhost" : "0.0.0.0";
175
175
  this.allowedHosts = options.allowedHosts || [];
176
176
  for (let port = startPort; port < startPort + 100; port++) try {
177
177
  await new Promise((resolve$2, reject) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpc-tech/unplugin-dev-inspector-mcp",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "Universal dev inspector plugin for React/Vue - inspect component sources and API calls in any bundler",
5
5
  "type": "module",
6
6
  "license": "MIT",