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

mock-apollo-client

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mock-apollo-client - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

6

dist/mockLink.d.ts

@@ -1,2 +0,2 @@

import { ApolloLink, DocumentNode, Observable, Operation } from 'apollo-link';
import { ApolloLink, DocumentNode, Observable, Operation, FetchResult } from 'apollo-link';
import { RequestHandler } from './mockClient';

@@ -6,3 +6,5 @@ export declare class MockLink extends ApolloLink {

setRequestHandler(requestQuery: DocumentNode, handler: RequestHandler): void;
request(operation: Operation): Observable<{}>;
request(operation: Operation): Observable<FetchResult<{
[key: string]: any;
}, Record<string, any>, Record<string, any>>>;
}
{
"name": "mock-apollo-client",
"version": "0.1.0",
"version": "0.2.0",
"description": "Library to help unit testing when using apollo-client",

@@ -32,14 +32,14 @@ "main": "dist/index.js",

"devDependencies": {
"@types/graphql": "^14.0.7",
"@types/jest": "^24.0.9",
"apollo-cache-inmemory": "^1.5.1",
"apollo-client": "^2.5.1",
"graphql": "^14.1.1",
"@types/graphql": "^14.2.3",
"@types/jest": "^24.0.17",
"apollo-cache-inmemory": "^1.6.2",
"apollo-client": "^2.6.3",
"graphql": "^14.4.2",
"graphql-tag": "^2.10.1",
"jest": "^24.7.1",
"jest": "^24.8.0",
"ts-jest": "^24.0.2",
"typescript": "^3.4.3"
"typescript": "^3.5.3"
},
"peerDependencies": {
"apollo-client": "~2.5.0"
"apollo-client": "~2.5.0 || ~2.6.0"
},

@@ -46,0 +46,0 @@ "files": [

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