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

apollo-link-set-context

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link-set-context - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

1

dist/tests/setContextLink.js

@@ -19,2 +19,3 @@ "use strict";

apollo_link_core_1.execute(apollo_link_core_1.ApolloLink.from([
function (operation, forward) { return forward({}); },
context,

@@ -21,0 +22,0 @@ function (operation) {

4

package.json
{
"name": "apollo-link-set-context",
"version": "0.1.1",
"version": "0.2.0",
"description": "HTTP transport layer for GraphQL",

@@ -42,3 +42,3 @@ "author": "Evans Hauser <evanshauser@gmail.com>",

"dependencies": {
"apollo-link-core": "^0.1.1"
"apollo-link-core": "^0.2.0"
},

@@ -45,0 +45,0 @@ "devDependencies": {

@@ -7,3 +7,3 @@ import { assert } from 'chai';

import { ApolloLink, execute } from 'apollo-link-core';
import { ApolloLink, execute, Operation } from 'apollo-link-core';

@@ -31,2 +31,3 @@ const query = gql`

ApolloLink.from([
(operation, forward) => forward(<Operation>{}),
context,

@@ -33,0 +34,0 @@ operation => {

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