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

@cumulus/errors

Package Overview
Dependencies
Maintainers
12
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cumulus/errors - npm Package Compare versions

Comparing version 11.0.0 to 11.1.0

5

dist/index.d.ts

@@ -27,2 +27,5 @@ /**

}
export interface ErrorWithName extends Error {
name: string;
}
/**

@@ -39,3 +42,3 @@ * Test to see if a given exception is an AWS Throttling Exception

*/
export declare const isConditionalCheckException: (error: ErrorWithOptionalCode) => boolean;
export declare const isConditionalCheckException: (error: ErrorWithName) => boolean;
/**

@@ -42,0 +45,0 @@ * WorkflowError should be bubbled out to the overall workflow in the 'exception' field, rather than

2

dist/index.js

@@ -41,3 +41,3 @@ "use strict";

*/
const isConditionalCheckException = (error) => error.code === 'ConditionalCheckFailedException';
const isConditionalCheckException = (error) => error.name === 'ConditionalCheckFailedException';
exports.isConditionalCheckException = isConditionalCheckException;

@@ -44,0 +44,0 @@ /**

{
"name": "@cumulus/errors",
"version": "11.0.0",
"version": "11.1.0",
"description": "Provides error classes for Cumulus",

@@ -36,3 +36,3 @@ "keywords": [

"license": "Apache-2.0",
"gitHead": "e922ad12fd94affa6cd60a97a184a465a756c50b"
"gitHead": "a846e319e143684ebc408e35f8b51cc1a7195391"
}
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