New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fetch-multipart-graphql

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-multipart-graphql - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

4

dist/fetch.js

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

} });
reader.read().then(function sendNext(_ref2) {
return reader.read().then(function sendNext(_ref2) {
var value = _ref2.value,

@@ -51,3 +51,3 @@ done = _ref2.done;

} else {
response.json().then(function (json) {
return response.json().then(function (json) {
onNext(json);

@@ -54,0 +54,0 @@ onComplete();

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

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

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

const patchResolver = new PatchResolver({ onResponse: r => onNext(r) });
reader.read().then(function sendNext({ value, done }) {
return reader.read().then(function sendNext({ value, done }) {
if (!done) {

@@ -37,3 +37,3 @@ let plaintext;

} else {
response.json().then(json => {
return response.json().then(json => {
onNext(json);

@@ -40,0 +40,0 @@ onComplete();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc