Socket
Socket
Sign inDemoInstall

apollo-server-errors

Package Overview
Dependencies
2
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 2.2.1

4

dist/index.d.ts

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

import { GraphQLError } from 'graphql';
import { GraphQLError, GraphQLFormattedError } from 'graphql';
export declare class ApolloError extends Error implements GraphQLError {

@@ -46,5 +46,5 @@ extensions: Record<string, any>;

export declare function formatApolloErrors(errors: Array<Error>, options?: {
formatter?: Function;
formatter?: (error: GraphQLError) => GraphQLFormattedError;
debug?: boolean;
}): Array<ApolloError>;
//# sourceMappingURL=index.d.ts.map
{
"name": "apollo-server-errors",
"version": "2.2.0",
"version": "2.2.1",
"author": "opensource@apollographql.com",

@@ -22,3 +22,3 @@ "license": "MIT",

},
"gitHead": "6bd73b175ff628a5e9858e2a5da1aa9dab5ed348"
"gitHead": "879ed190349eded2221e5b9827281a4f6ae86660"
}

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

import { GraphQLError } from 'graphql';
import { GraphQLError, GraphQLFormattedError } from 'graphql';

@@ -216,3 +216,3 @@ export class ApolloError extends Error implements GraphQLError {

options?: {
formatter?: Function;
formatter?: (error: GraphQLError) => GraphQLFormattedError;
debug?: boolean;

@@ -219,0 +219,0 @@ },

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc