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

@aircall/exception-gql

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aircall/exception-gql - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

README.md

2

dist/index.d.ts

@@ -7,4 +7,4 @@ type GraphQLException = {

declare const graphQLMiddleware: <T extends (...args: any) => any>(fn: T) => (...args: Parameters<T>) => Promise<GraphQLException | Awaited<ReturnType<T>>>;
declare const graphQLMiddleware: <T extends (...args: any) => any>(fn: T, thisArg?: object) => (...args: Parameters<T>) => Promise<GraphQLException | Awaited<ReturnType<T>>>;
export { GraphQLException, graphQLMiddleware };

@@ -11,6 +11,6 @@ 'use strict';

// src/middleware.ts
var graphQLMiddleware = (fn) => {
var graphQLMiddleware = (fn, thisArg) => {
return async (...args) => {
try {
return await fn.apply(null, args);
return await fn.apply(thisArg, args);
} catch (err) {

@@ -17,0 +17,0 @@ return toGraphQLError(err);

{
"name": "@aircall/exception-gql",
"version": "0.1.1",
"version": "0.2.0",
"main": "dist/index.js",

@@ -34,3 +34,3 @@ "module": "dist/index.mjs",

"@types/lodash.transform": "4.6.9",
"@aircall/exception": "0.1.0",
"@aircall/exception": "0.1.1",
"@aircall/test-sequencer": "1.0.0",

@@ -52,5 +52,5 @@ "@aircall/tsconfig": "1.4.0",

"size": "size-limit",
"test:ci": "pnpm run test --testSequencer @aircall/test-sequencer/parallel-ci-sequencer.js --passWithNoTests",
"test:ci": "pnpm run test --testSequencer @aircall/test-sequencer/parallel-ci-sequencer.js --passWithNoTests --silent",
"test": "jest --passWithNoTests"
}
}

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