Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remix-run/serve

Package Overview
Dependencies
Maintainers
2
Versions
1028
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/serve - npm Package Compare versions

Comparing version 0.0.0-experimental-b697c4f3 to 0.0.0-experimental-b9cc66cb

env.d.ts

2

cli.d.ts

@@ -1,1 +0,1 @@

export {};
import "./env";
#!/usr/bin/env node
/**
* @remix-run/serve v0.0.0-experimental-b697c4f3
* @remix-run/serve v0.0.0-experimental-b9cc66cb
*

@@ -14,3 +14,5 @@ * Copyright (c) Remix Software Inc.

require('./env');
var path = require('path');
var os = require('os');
var index = require('./index');

@@ -21,4 +23,4 @@

var path__default = /*#__PURE__*/_interopDefaultLegacy(path);
var os__default = /*#__PURE__*/_interopDefaultLegacy(os);
process.env.NODE_ENV = "production";
let port = process.env.PORT || 3000;

@@ -35,3 +37,11 @@ let buildPathArg = process.argv[2];

index.createApp(buildPath).listen(port, () => {
console.log(`Remix App Server started at http://localhost:${port}`);
var _Object$values$flat$f;
let address = (_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;
if (!address) {
throw new Error("Could not find an IPv4 address.");
}
console.log(`Remix App Server started at http://${address}:${port}`);
});
/**
* @remix-run/serve v0.0.0-experimental-b697c4f3
* @remix-run/serve v0.0.0-experimental-b9cc66cb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

{
"name": "@remix-run/serve",
"description": "Production application server for Remix",
"version": "0.0.0-experimental-b697c4f3",
"version": "0.0.0-experimental-b9cc66cb",
"license": "MIT",

@@ -18,3 +18,3 @@ "repository": {

"dependencies": {
"@remix-run/express": "0.0.0-experimental-b697c4f3",
"@remix-run/express": "0.0.0-experimental-b9cc66cb",
"compression": "^1.7.4",

@@ -21,0 +21,0 @@ "express": "^4.17.1",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc