@remix-run/node 0.0.0-experimental-93f053c3b → 0.0.0-experimental-9ea183020

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/base64.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/crypto.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/fetch.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/globals.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
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/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/stream.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -28,7 +28,14 @@ async function writeReadableStreamToWritable(stream, writable) {
28
28
  return;
29
29
  }
30
30
 
31
- writable.write(value);
31
+ writable.write(value); // If the stream is flushable, flush it to allow streaming to continue.
32
+
33
+ let flushable = writable;
34
+
35
+ if (typeof flushable.flush === "function") {
36
+ flushable.flush();
37
+ }
38
+
32
39
  await read();
33
40
  }
34
41
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/node v0.0.0-experimental-93f053c3b
2
+ * @remix-run/node v0.0.0-experimental-9ea183020
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/node",
3
- "version": "0.0.0-experimental-93f053c3b",
3
+ "version": "0.0.0-experimental-9ea183020",
4
4
  "description": "Node.js platform abstractions for Remix",
5
5
  "bugs": {
6
6
  "url": "https://github.com/remix-run/remix/issues"
@@ -15,7 +15,7 @@
15
15
  "typings": "dist/index.d.ts",
16
16
  "sideEffects": false,
17
17
  "dependencies": {
18
- "@remix-run/server-runtime": "0.0.0-experimental-93f053c3b",
18
+ "@remix-run/server-runtime": "0.0.0-experimental-9ea183020",
19
19
  "@remix-run/web-fetch": "^4.1.3",
20
20
  "@remix-run/web-file": "^3.0.2",
21
21
  "@remix-run/web-stream": "^1.0.3",