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

apollo-client

Package Overview
Dependencies
Maintainers
3
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-client - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

6

core/QueryManager.js

@@ -188,5 +188,9 @@ "use strict";

getFromAST_1.getQueryDefinition(options.query);
var transformedOptions = Object.assign({}, options);
if (this.addTypename) {
transformedOptions.query = queryTransform_1.addTypenameToDocument(transformedOptions.query);
}
var observableQuery = new ObservableQuery_1.ObservableQuery({
scheduler: this.scheduler,
options: options,
options: transformedOptions,
shouldSubscribe: shouldSubscribe,

@@ -193,0 +197,0 @@ });

4

package.json
{
"name": "apollo-client",
"version": "0.5.1",
"version": "0.5.2",
"description": "A simple yet functional GraphQL client.",

@@ -73,3 +73,3 @@ "main": "index.js",

"typed-graphql": "1.0.2",
"typescript": "2.0.8",
"typescript": "2.0.9",
"uglify-js": "^2.6.2"

@@ -76,0 +76,0 @@ },

@@ -46,2 +46,5 @@ "use strict";

.then(function (responses) {
if (typeof responses.map !== 'function') {
throw new Error('BatchingNetworkInterface: server response is not an array');
}
var afterwaresPromises = responses.map(function (response, index) {

@@ -48,0 +51,0 @@ return _this.applyAfterwares({

Sorry, the diff of this file is not supported yet

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