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

graphql-client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-client - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

index.js
module.exports = function(params) {
require('isomorphic-fetch');
if(!params.url) throw new Error("Missing url parameter")
return {

@@ -10,3 +13,4 @@ query: function(query, variables) {

body: JSON.stringify({
query: query
query: query,
variables: variables
}),

@@ -13,0 +17,0 @@ headers: headers

7

package.json
{
"name": "graphql-client",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -11,3 +11,6 @@ "main": "index.js",

"author": "",
"license": "ISC"
"license": "ISC",
"dependencies": {
"isomorphic-fetch": "^2.2.1"
}
}
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