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

apollo-link-log

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link-log - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

lib/__tests__/__snapshots__/index.test.js.snap

2

lib/index.js

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

enabled = true
}) => new _apolloLink.ApolloLink((operation, forward) => forward(operation).map(result => {
} = {}) => new _apolloLink.ApolloLink((operation, forward) => forward(operation).map(result => {
if (!enabled) return result;

@@ -39,0 +39,0 @@ const {

{
"name": "apollo-link-log",
"version": "0.1.0",
"version": "1.0.0",
"description": "Log side effect for Apollo Link.",

@@ -8,2 +8,3 @@ "author": "Michael Hsu <evenchange4@gmail.com>",

"main": "lib/index.js",
"typings": "./index.d.ts",
"files": ["lib"],

@@ -57,2 +58,3 @@ "scripts": {

"graphql": "0.12.3",
"graphql-tag": "^2.7.0",
"husky": "0.14.3",

@@ -59,0 +61,0 @@ "jest": "22.1.4",

@@ -20,3 +20,3 @@ # apollo-link-log

```sh
$ yarn add apollo-link-log
$ yarn add apollo-link-log apollo-link graphql
```

@@ -32,3 +32,3 @@

// Custom
// With options
ApolloLink.concat(createLogLink({

@@ -40,2 +40,6 @@ enabled: process.env.NODE_ENV !== 'production',

## Snapshot
![](./docs/snapshot.png)
## Options

@@ -42,0 +46,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