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

apollo-error

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-error - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

LICENSE

2

dist/formatError.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function formatError(err) {
if (err.originalError.data) {
if (err.originalError && err.originalError.data) {
err.data = err.originalError.data;

@@ -6,0 +6,0 @@ }

{
"name": "apollo-error",
"version": "1.0.1",
"version": "1.0.2",
"description": "Custom error handling for Apollo GraphQL server",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc"
},

@@ -9,0 +10,0 @@ "author": "Jaibatrik Dutta <jaibatrik@gmail.com>",

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