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
1
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.0.0 to 1.0.1

4

dist/xhr.js

@@ -24,4 +24,2 @@ 'use strict';

var supportsMozChunked = supportsXhrResponseType('moz-chunked-text');
function xhrImpl(url, _ref) {

@@ -88,3 +86,3 @@ var method = _ref.method,

if (supportsMozChunked) {
if (supportsXhrResponseType('moz-chunked-text')) {
xhr.responseType = 'moz-chunked-text';

@@ -91,0 +89,0 @@ }

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

@@ -15,3 +15,6 @@ "main": "dist/index.js",

"jest": {
"testPathIgnorePatterns": ["/node_modules/", "/dist/"],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"testEnvironment": "node"

@@ -18,0 +21,0 @@ },

@@ -14,4 +14,2 @@ import { PatchResolver } from './PatchResolver';

const supportsMozChunked = supportsXhrResponseType('moz-chunked-text');
export function xhrImpl(url, { method, headers, body, onNext, onError, onComplete }) {

@@ -43,3 +41,3 @@ const xhr = new XMLHttpRequest();

if (supportsMozChunked) {
if (supportsXhrResponseType('moz-chunked-text')) {
xhr.responseType = 'moz-chunked-text';

@@ -46,0 +44,0 @@ }

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