@remix-run/express
Advanced tools
Comparing version 1.3.2 to 1.3.3-pre.0
/** | ||
* @remix-run/express v1.3.2 | ||
* @remix-run/express v1.3.3-pre.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/express v1.3.2 | ||
* @remix-run/express v1.3.3-pre.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "@remix-run/express", | ||
"description": "Express server request handler for Remix", | ||
"version": "1.3.2", | ||
"version": "1.3.3-pre.0", | ||
"license": "MIT", | ||
@@ -15,4 +15,3 @@ "repository": { | ||
"dependencies": { | ||
"@remix-run/node": "1.3.2", | ||
"@remix-run/server-runtime": "1.3.2" | ||
"@remix-run/node": "1.3.3-pre.0" | ||
}, | ||
@@ -19,0 +18,0 @@ "peerDependencies": { |
import type * as express from "express"; | ||
import type { AppLoadContext, ServerBuild } from "@remix-run/server-runtime"; | ||
import type { AppLoadContext, ServerBuild } from "@remix-run/node"; | ||
import { AbortController, Headers as NodeHeaders, Request as NodeRequest } from "@remix-run/node"; | ||
@@ -4,0 +4,0 @@ /** |
/** | ||
* @remix-run/express v1.3.2 | ||
* @remix-run/express v1.3.3-pre.0 | ||
* | ||
@@ -16,3 +16,2 @@ * Copyright (c) Remix Software Inc. | ||
var stream = require('stream'); | ||
var serverRuntime = require('@remix-run/server-runtime'); | ||
var node = require('@remix-run/node'); | ||
@@ -37,4 +36,3 @@ | ||
}) { | ||
let platform = {}; | ||
let handleRequest = serverRuntime.createRequestHandler(build, platform, mode); | ||
let handleRequest = node.createRequestHandler(build, mode); | ||
return async (req, res, next) => { | ||
@@ -41,0 +39,0 @@ try { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
7407
156
2
+ Added@remix-run/node@1.3.3-pre.0(transitive)
+ Added@remix-run/server-runtime@1.3.3-pre.0(transitive)
+ Addedhas-symbols@1.0.3(transitive)
- Removed@remix-run/server-runtime@1.3.2
- Removed@remix-run/node@1.3.2(transitive)
- Removed@remix-run/server-runtime@1.3.2(transitive)
- Removedhas-symbols@1.1.0(transitive)
Updated@remix-run/node@1.3.3-pre.0