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

@banzaicloud/service-tools

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@banzaicloud/service-tools - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

dist/catch-errors.js

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

// read more: https://nodejs.org/api/process.html#process_event_unhandledrejection
const unhandledRejectionHandler = (reason) => __awaiter(this, void 0, void 0, function* () {
const unhandledRejectionHandler = (reason = {}, promise) => __awaiter(this, void 0, void 0, function* () {
logger(reason, 'unhandled promise rejection');

@@ -40,0 +40,0 @@ // shut down anyway after `timeout` seconds

{
"name": "@banzaicloud/service-tools",
"version": "2.0.3",
"version": "2.0.4",
"author": "Andras Toth",

@@ -50,3 +50,3 @@ "license": "Apache-2.0",

"@types/lodash": "4.14.121",
"@types/node": "11.9.5",
"@types/node": "11.10.4",
"@types/pino": "5.8.5",

@@ -65,3 +65,3 @@ "@types/request-promise-native": "1.0.15",

"ts-node": "8.0.2",
"tslint": "5.13.0",
"tslint": "5.13.1",
"tslint-config-prettier": "1.18.0",

@@ -68,0 +68,0 @@ "typescript": "3.3.3333"

@@ -43,3 +43,3 @@ import { LogFn } from 'pino'

// read more: https://nodejs.org/api/process.html#process_event_unhandledrejection
const unhandledRejectionHandler = async (reason: PromiseRejectionEvent) => {
const unhandledRejectionHandler = async (reason: any = {}, promise: Promise<any>) => {
logger(reason, 'unhandled promise rejection')

@@ -46,0 +46,0 @@

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