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

apollo-link-logger

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link-logger - npm Package Compare versions

Comparing version 1.2.3 to 2.0.0

4

es/index.js

@@ -7,3 +7,3 @@ 'use strict';

var _apolloLink = require('apollo-link');
var _client = require('@apollo/client');

@@ -23,3 +23,3 @@ var _formatMessage = require('./formatMessage');

var loggerLink = new _apolloLink.ApolloLink(function (operation, forward) {
var loggerLink = new _client.ApolloLink(function (operation, forward) {
var startTime = new Date().getTime();

@@ -26,0 +26,0 @@

@@ -5,3 +5,3 @@ 'use strict';

var _apolloLink = require('apollo-link');
var _client = require('@apollo/client');

@@ -21,3 +21,3 @@ var _formatMessage = require('./formatMessage');

var loggerLink = new _apolloLink.ApolloLink(function (operation, forward) {
var loggerLink = new _client.ApolloLink(function (operation, forward) {
var startTime = new Date().getTime();

@@ -24,0 +24,0 @@

{
"name": "apollo-link-logger",
"version": "1.2.3",
"version": "2.0.0",
"description": "Logger for Apollo Link that uses a similar format to redux-logger. Includes performance information.",

@@ -10,3 +10,3 @@ "author": "Adrian Perez adrian@adrianperez.org",

"engines": {
"node": "> 4",
"node": ">= 10",
"npm": "> 3"

@@ -57,3 +57,4 @@ },

"!**/vendor/**"
]
],
"testURL": "http://localhost"
},

@@ -65,4 +66,4 @@ "quokka": {

"@commitlint/cli": "^6.1.3",
"@commitlint/config-conventional": "^6.1.3",
"all-contributors-cli": "^4.6.0",
"@commitlint/config-conventional": "^7.0.0",
"all-contributors-cli": "^5.3.0",
"babel-cli": "^6.0.0",

@@ -75,4 +76,4 @@ "babel-core": "^6.0.0",

"cross-env": "^5.1.4",
"eslint": "^4.6.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint": "^5.0.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-config-prettier": "^2.4.0",

@@ -92,3 +93,3 @@ "eslint-plugin-fp": "^2.3.0",

"peerDependencies": {
"apollo-link": "^1.0.0"
"@apollo/client": "^3.0.0"
},

@@ -95,0 +96,0 @@ "repository": {

@@ -14,3 +14,3 @@ # apollo-link-logger

[![MIT License][license-badge]][LICENSE]
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors)
[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)
[![PRs Welcome][prs-badge]][prs]

@@ -119,4 +119,4 @@ [![Commitizen friendly][commitizen-badge]][commitizen]

<!-- prettier-ignore -->
| [<img src="https://avatars3.githubusercontent.com/u/133308?v=4" width="100px;"/><br /><sub><b>Adrian Perez</b></sub>](https://adrianperez.codes)<br />[💻](https://github.com/blackxored/apollo-link-logger/commits?author=blackxored "Code") [📖](https://github.com/blackxored/apollo-link-logger/commits?author=blackxored "Documentation") [🚇](#infra-blackxored "Infrastructure (Hosting, Build-Tools, etc)") [⚠️](https://github.com/blackxored/apollo-link-logger/commits?author=blackxored "Tests") | [<img src="https://avatars3.githubusercontent.com/u/294597?s=460&v=4" width="100px;"/><br /><sub><b>Adam Savitzky</b></sub>](https://github.com/adambom)<br />[💻](https://github.com/blackxored/apollo-link-logger/commits?author=adambom "Code") | [<img src="https://avatars3.githubusercontent.com/u/3065138?v=4" width="100px;"/><br /><sub><b>Ifeanyi Oraelosi</b></sub>](https://github.com/gnerkus)<br />[💻](https://github.com/blackxored/apollo-link-logger/commits?author=gnerkus "Code") | [<img src="https://avatars0.githubusercontent.com/u/7076981?v=4" width="100px;"/><br /><sub><b>Romario</b></sub>](https://github.com/romarioraffington)<br />[🐛](https://github.com/blackxored/apollo-link-logger/issues?q=author%3Aromarioraffington "Bug reports") [🤔](#ideas-romarioraffington "Ideas, Planning, & Feedback") | [<img src="https://avatars0.githubusercontent.com/u/6183943?v=4" width="100px;"/><br /><sub><b>Yuriy Kornienko</b></sub>](http://www.dinamchiki.ru)<br />[💻](https://github.com/blackxored/apollo-link-logger/commits?author=Horoshiy "Code") |
| :---: | :---: | :---: | :---: | :---: |
| [<img src="https://avatars3.githubusercontent.com/u/133308?v=4" width="100px;"/><br /><sub><b>Adrian Perez</b></sub>](https://adrianperez.codes)<br />[💻](https://github.com/blackxored/apollo-link-logger/commits?author=blackxored "Code") [📖](https://github.com/blackxored/apollo-link-logger/commits?author=blackxored "Documentation") [🚇](#infra-blackxored "Infrastructure (Hosting, Build-Tools, etc)") [⚠️](https://github.com/blackxored/apollo-link-logger/commits?author=blackxored "Tests") | [<img src="https://avatars3.githubusercontent.com/u/294597?s=460&v=4" width="100px;"/><br /><sub><b>Adam Savitzky</b></sub>](https://github.com/adambom)<br />[💻](https://github.com/blackxored/apollo-link-logger/commits?author=adambom "Code") | [<img src="https://avatars3.githubusercontent.com/u/3065138?v=4" width="100px;"/><br /><sub><b>Ifeanyi Oraelosi</b></sub>](https://github.com/gnerkus)<br />[💻](https://github.com/blackxored/apollo-link-logger/commits?author=gnerkus "Code") | [<img src="https://avatars0.githubusercontent.com/u/7076981?v=4" width="100px;"/><br /><sub><b>Romario</b></sub>](https://github.com/romarioraffington)<br />[🐛](https://github.com/blackxored/apollo-link-logger/issues?q=author%3Aromarioraffington "Bug reports") [🤔](#ideas-romarioraffington "Ideas, Planning, & Feedback") | [<img src="https://avatars0.githubusercontent.com/u/6183943?v=4" width="100px;"/><br /><sub><b>Yuriy Kornienko</b></sub>](http://www.dinamchiki.ru)<br />[💻](https://github.com/blackxored/apollo-link-logger/commits?author=Horoshiy "Code") | [<img src="https://avatars1.githubusercontent.com/u/2717746?v=4" width="100px;"/><br /><sub><b>Dmitry Shvedov</b></sub>](https://github.com/dmt0)<br />[💻](https://github.com/blackxored/apollo-link-logger/commits?author=dmt0 "Code") |
| :---: | :---: | :---: | :---: | :---: | :---: |
<!-- ALL-CONTRIBUTORS-LIST:END -->

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