[Pkg-javascript-commits] [node-stream-http] 138/208: Check for ReadableStream instead of ReadableByteStream

Bastien Roucariès rouca at moszumanska.debian.org
Sun Aug 13 13:39:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-stream-http.

commit 9c18855febc8dd3bcba64055ff10dfa2ad6a6116
Author: John Hiesey <john at hiesey.com>
Date:   Wed Jul 27 14:24:51 2016 -0700

    Check for ReadableStream instead of ReadableByteStream
    
    ReadableByteStream was removed from the spec and from
    Chrome 51. Fixes #46
---
 lib/capability.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/capability.js b/lib/capability.js
index 57dcd62..804f13e 100644
--- a/lib/capability.js
+++ b/lib/capability.js
@@ -1,4 +1,4 @@
-exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableByteStream)
+exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream)
 
 exports.blobConstructor = false
 try {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-http.git



More information about the Pkg-javascript-commits mailing list