Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@membrane/graphql-request

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@membrane/graphql-request - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

6

dist/src/index.js

@@ -58,3 +58,3 @@ "use strict";

exports.ClientError = types_2.ClientError;
var fetch = require('cross-fetch/dist/node-ponyfill');
var node_fetch_1 = require("node-fetch");
var GraphQLClient = /** @class */ (function () {

@@ -76,3 +76,3 @@ function GraphQLClient(url, options) {

});
return [4 /*yield*/, fetch(this.url, __assign({ method: 'POST', headers: Object.assign({ 'Content-Type': 'application/json' }, headers), body: body }, others))];
return [4 /*yield*/, node_fetch_1.default(this.url, __assign({ method: 'POST', headers: Object.assign({ 'Content-Type': 'application/json' }, headers), body: body }, others))];
case 1:

@@ -106,3 +106,3 @@ response = _b.sent();

});
return [4 /*yield*/, fetch(this.url, __assign({ method: 'POST', headers: Object.assign({ 'Content-Type': 'application/json' }, headers), body: body }, others))];
return [4 /*yield*/, node_fetch_1.default(this.url, __assign({ method: 'POST', headers: Object.assign({ 'Content-Type': 'application/json' }, headers), body: body }, others))];
case 1:

@@ -109,0 +109,0 @@ response = _b.sent();

{
"name": "@membrane/graphql-request",
"version": "0.0.2",
"version": "0.0.3",
"main": "dist/src/index.js",

@@ -5,0 +5,0 @@ "typings": "./dist/src/index.d.ts",

Sorry, the diff of this file is not supported yet

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