Socket
Socket
Sign inDemoInstall

apollo-server-errors

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-server-errors - npm Package Compare versions

Comparing version 2.4.2 to 2.5.0-alpha.0

2

dist/index.d.ts

@@ -21,3 +21,3 @@ import { GraphQLError, GraphQLFormattedError } from 'graphql';

code?: string;
errorClass?: typeof ApolloError;
errorClass?: new (message: string) => ApolloError;
}

@@ -24,0 +24,0 @@ export declare function fromGraphQLError(error: GraphQLError, options?: ErrorOptions): ApolloError;

{
"name": "apollo-server-errors",
"version": "2.4.2",
"version": "2.5.0-alpha.0",
"author": "Apollo <opensource@apollographql.com>",

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

},
"gitHead": "8cfc947ed56fa3f32b82b32b4bcca53470712984"
"gitHead": "9d1cbd17e61bb0146a0c0ef2b207eb100bfc70a6"
}

@@ -137,3 +137,5 @@ import { GraphQLError, GraphQLFormattedError } from 'graphql';

code?: string;
errorClass?: typeof ApolloError;
// This declaration means it takes any "class" that has a constructor that
// takes a single string, and should be invoked via the `new` operator.
errorClass?: new (message: string) => ApolloError;
}

@@ -140,0 +142,0 @@

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc