You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

fetch-multipart-graphql

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-multipart-graphql - npm Package Compare versions

Comparing version

to
1.1.0

@@ -55,3 +55,3 @@ 'use strict';

}
});
}).catch(onError);
}

@@ -41,2 +41,7 @@ 'use strict';

function onReadyStateChange() {
// The request failed, do nothing and let the error event fire
if (this.readyState === this.DONE && this.status === 0) {
return;
}
if (this.readyState === this.HEADERS_RECEIVED) {

@@ -43,0 +48,0 @@ var contentType = xhr.getResponseHeader('Content-Type');

{
"name": "fetch-multipart-graphql",
"version": "1.0.11",
"version": "1.1.0",
"description": "Cross browser function to fetch and parse streaming multipart graphql responses.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -41,3 +41,3 @@ import { PatchResolver } from './PatchResolver';

}
});
}).catch(onError);
}

@@ -22,2 +22,7 @@ import { PatchResolver } from './PatchResolver';

function onReadyStateChange() {
// The request failed, do nothing and let the error event fire
if (this.readyState === this.DONE && this.status === 0) {
return;
}
if (this.readyState === this.HEADERS_RECEIVED) {

@@ -24,0 +29,0 @@ const contentType = xhr.getResponseHeader('Content-Type');