@remix-run/express
Advanced tools
Comparing version 0.0.0-experimental-db4e08b8 to 0.0.0-experimental-e0ead3bf
/** | ||
* @remix-run/express v0.0.0-experimental-db4e08b8 | ||
* @remix-run/express v0.0.0-experimental-e0ead3bf | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/express v0.0.0-experimental-db4e08b8 | ||
* @remix-run/express v0.0.0-experimental-e0ead3bf | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "@remix-run/express", | ||
"description": "Express server request handler for Remix", | ||
"version": "0.0.0-experimental-db4e08b8", | ||
"version": "0.0.0-experimental-e0ead3bf", | ||
"license": "MIT", | ||
@@ -15,4 +15,4 @@ "repository": { | ||
"dependencies": { | ||
"@remix-run/node": "0.0.0-experimental-db4e08b8", | ||
"@remix-run/server-runtime": "1.0.6" | ||
"@remix-run/node": "0.0.0-experimental-e0ead3bf", | ||
"@remix-run/server-runtime": "0.0.0-experimental-e0ead3bf" | ||
}, | ||
@@ -19,0 +19,0 @@ "peerDependencies": { |
/** | ||
* @remix-run/express v0.0.0-experimental-db4e08b8 | ||
* @remix-run/express v0.0.0-experimental-e0ead3bf | ||
* | ||
@@ -15,2 +15,3 @@ * Copyright (c) Remix Software Inc. | ||
var stream = require('stream'); | ||
var serverRuntime = require('@remix-run/server-runtime'); | ||
@@ -82,6 +83,8 @@ var node = require('@remix-run/node'); | ||
if (req.method !== "GET" && req.method !== "HEAD") { | ||
init.body = req; //req.pipe(new PassThrough({ highWaterMark: 16384 })); | ||
init.body = req.pipe(new stream.PassThrough({ | ||
highWaterMark: 16384 | ||
})); | ||
} | ||
return new node.Request(url.toString(), init); | ||
return new node.Request(url.href, init); | ||
} | ||
@@ -88,0 +91,0 @@ |
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
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
7670
159
1
267
+ Added@remix-run/node@0.0.0-experimental-e0ead3bf(transitive)
+ Added@remix-run/server-runtime@0.0.0-experimental-e0ead3bf(transitive)
- Removed@remix-run/node@0.0.0-experimental-db4e08b8(transitive)
- Removed@remix-run/server-runtime@0.0.0-experimental-db4e08b81.0.6(transitive)
Updated@remix-run/server-runtime@0.0.0-experimental-e0ead3bf