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-nightly-63a5c6c-20231017 to 0.0.0-nightly-64be40070-20240704

154

CHANGELOG.md
# `@remix-run/serve`
## 2.10.1
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.10.1`
- `@remix-run/node@2.10.1`
## 2.10.0
### Patch Changes
- Upgrade `express` dependency to `^4.19.2` ([#9184](https://github.com/remix-run/remix/pull/9184))
- Updated dependencies:
- `@remix-run/express@2.10.0`
- `@remix-run/node@2.10.0`
## 2.9.2
### Patch Changes
- Updated dependencies:
- `@remix-run/node@2.9.2`
- `@remix-run/express@2.9.2`
## 2.9.1
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.9.1`
- `@remix-run/node@2.9.1`
## 2.9.0
### Minor Changes
- Put `undici` fetch polyfill behind a new `installGlobals({ nativeFetch: true })` parameter ([#9198](https://github.com/remix-run/remix/pull/9198))
- `remix-serve` will default to using `undici` for the fetch polyfill if `future.unstable_singleFetch` is enabled because the single fetch implementation relies on the `undici` polyfill
- Any users opting into Single Fetch and managing their own polyfill will need to pass the flag to `installGlobals` on their own to avoid runtime errors with Single Fetch
### Patch Changes
- Updated dependencies:
- `@remix-run/node@2.9.0`
- `@remix-run/express@2.9.0`
## 2.8.1
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.8.1`
- `@remix-run/node@2.8.1`
## 2.8.0
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.8.0`
- `@remix-run/node@2.8.0`
## 2.7.2
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.7.2`
- `@remix-run/node@2.7.2`
## 2.7.1
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.7.1`
- `@remix-run/node@2.7.1`
## 2.7.0
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.7.0`
- `@remix-run/node@2.7.0`
## 2.6.0
### Patch Changes
- Updated dependencies:
- `@remix-run/node@2.6.0`
- `@remix-run/express@2.6.0`
## 2.5.1
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.5.1`
- `@remix-run/node@2.5.1`
## 2.5.0
### Patch Changes
- Don't try to load sourcemaps if they don't exist on disk ([#8446](https://github.com/remix-run/remix/pull/8446))
- Updated dependencies:
- `@remix-run/node@2.5.0`
- `@remix-run/express@2.5.0`
## 2.4.1
### Patch Changes
- Use node `fileURLToPath` to convert source map URL to path ([#8321](https://github.com/remix-run/remix/pull/8321))
- Updated dependencies:
- `@remix-run/node@2.4.1`
- `@remix-run/express@2.4.1`
## 2.4.0
### Patch Changes
- Fix source map loading when file has `?t=timestamp` suffix (rebuilds) ([#8174](https://github.com/remix-run/remix/pull/8174))
- Updated dependencies:
- `@remix-run/node@2.4.0`
- `@remix-run/express@2.4.0`
## 2.3.1
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.3.1`
- `@remix-run/node@2.3.1`
## 2.3.0
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.3.0`
- `@remix-run/node@2.3.0`
## 2.2.0
### Patch Changes
- Updated dependencies:
- `@remix-run/express@2.2.0`
- `@remix-run/node@2.2.0`
## 2.1.0

@@ -4,0 +158,0 @@

#!/usr/bin/env node
/**
* @remix-run/serve v0.0.0-nightly-63a5c6c-20231017
* @remix-run/serve v0.0.0-nightly-64be40070-20240704
*

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

process.env.NODE_ENV = process.env.NODE_ENV ?? "production";
sourceMapSupport__default["default"].install();
node.installGlobals();
sourceMapSupport__default["default"].install({
retrieveSourceMap: function (source) {
let match = source.startsWith("file://");
if (match) {
let filePath = url__default["default"].fileURLToPath(source);
let sourceMapPath = `${filePath}.map`;
if (fs__default["default"].existsSync(sourceMapPath)) {
return {
url: source,
map: fs__default["default"].readFileSync(sourceMapPath, "utf8")
};
}
}
return null;
}
});
run();

@@ -100,2 +114,5 @@ function parseNumber(raw) {

let build = await reimportServer();
node.installGlobals({
nativeFetch: build.future.unstable_singleFetch
});
let onListen = () => {

@@ -102,0 +119,0 @@ var _Object$values$flat$f;

2

LICENSE.md
MIT License
Copyright (c) Remix Software Inc. 2020-2021
Copyright (c) Shopify Inc. 2022-2023
Copyright (c) Shopify Inc. 2022-2024

@@ -6,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@remix-run/serve",
"version": "0.0.0-nightly-63a5c6c-20231017",
"version": "0.0.0-nightly-64be40070-20240704",
"description": "Production application server for Remix",

@@ -18,7 +18,7 @@ "bugs": {

"dependencies": {
"@remix-run/express": "0.0.0-nightly-63a5c6c-20231017",
"@remix-run/node": "0.0.0-nightly-63a5c6c-20231017",
"@remix-run/express": "0.0.0-nightly-64be40070-20240704",
"@remix-run/node": "0.0.0-nightly-64be40070-20240704",
"chokidar": "^3.5.3",
"compression": "^1.7.4",
"express": "^4.17.1",
"express": "^4.19.2",
"get-port": "5.1.1",

@@ -42,3 +42,6 @@ "morgan": "^1.10.0",

"README.md"
]
}
],
"scripts": {
"tsc": "tsc"
}
}
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