@remix-run/serve 0.0.0-experimental-c5bb5cb31 → 0.0.0-experimental-43ebb527

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/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * @remix-run/serve v0.0.0-experimental-c5bb5cb31
3
+ * @remix-run/serve v0.0.0-experimental-43ebb527
4
4
  *
5
5
  * Copyright (c) Remix Software Inc.
6
6
  *
@@ -40,7 +40,7 @@ let buildPath = path__default["default"].resolve(process.cwd(), buildPathArg);
40
40
  let onListen = () => {
41
41
  var _Object$values$flat$f;
42
42
 
43
- let address = process.env.HOST || ((_Object$values$flat$f = Object.values(os__default["default"].networkInterfaces()).flat().find(ip => (ip === null || ip === void 0 ? void 0 : ip.family) === "IPv4" && !ip.internal)) === null || _Object$values$flat$f === void 0 ? void 0 : _Object$values$flat$f.address);
43
+ let address = process.env.HOST || ((_Object$values$flat$f = Object.values(os__default["default"].networkInterfaces()).flat().find(ip => String(ip === null || ip === void 0 ? void 0 : ip.family).includes("4") && !(ip !== null && ip !== void 0 && ip.internal))) === null || _Object$values$flat$f === void 0 ? void 0 : _Object$values$flat$f.address);
44
44
 
45
45
  if (!address) {
46
46
  console.log(`Remix App Server started at http://localhost:${port}`);
package/dist/env.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/serve v0.0.0-experimental-c5bb5cb31
2
+ * @remix-run/serve v0.0.0-experimental-43ebb527
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/serve v0.0.0-experimental-c5bb5cb31
2
+ * @remix-run/serve v0.0.0-experimental-43ebb527
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remix-run/serve",
3
- "version": "0.0.0-experimental-c5bb5cb31",
3
+ "version": "0.0.0-experimental-43ebb527",
4
4
  "description": "Production application server for Remix",
5
5
  "bugs": {
6
6
  "url": "https://github.com/remix-run/remix/issues"
@@ -17,7 +17,7 @@
17
17
  "remix-serve": "dist/cli.js"
18
18
  },
19
19
  "dependencies": {
20
- "@remix-run/express": "0.0.0-experimental-c5bb5cb31",
20
+ "@remix-run/express": "0.0.0-experimental-43ebb527",
21
21
  "compression": "^1.7.4",
22
22
  "express": "^4.17.1",
23
23
  "morgan": "^1.10.0"