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.1 to 2.0.2

1

dist/helper/make-request.d.ts
/**
* Request function for testing routes on localhost
*/
/// <reference types="node" />
import * as http from 'http';

@@ -5,0 +6,0 @@ import * as request from 'request-promise-native';

24

package.json
{
"name": "@banzaicloud/service-tools",
"version": "2.0.1",
"version": "2.0.2",
"author": "Andras Toth",

@@ -37,15 +37,14 @@ "license": "Apache-2.0",

"devDependencies": {
"@babel/core": "7.2.2",
"@types/express": "4.16.1",
"@types/http-errors": "1.6.1",
"@types/jest": "23.3.13",
"@types/jest": "24.0.6",
"@types/joi": "14.3.1",
"@types/koa": "2.0.48",
"@types/lodash": "4.14.120",
"@types/node": "10.12.21",
"@types/pino": "5.20.0",
"@types/lodash": "4.14.121",
"@types/node": "11.9.4",
"@types/pino": "5.8.5",
"@types/request-promise-native": "1.0.15",
"express": "4.16.4",
"husky": "1.3.1",
"jest": "23.6.0",
"jest": "24.1.0",
"jest-mock-console": "0.4.2",

@@ -56,8 +55,8 @@ "koa": "2.7.0",

"pretty-quick": "1.10.0",
"request-promise-native": "1.0.5",
"ts-jest": "23.10.5",
"request-promise-native": "1.0.7",
"ts-jest": "24.0.0",
"ts-node": "8.0.2",
"tslint": "5.12.1",
"tslint-config-prettier": "1.18.0",
"typescript": "3.3.1"
"typescript": "3.3.3"
},

@@ -69,3 +68,3 @@ "peerDependencies": {

"dependencies": {
"http-errors": "1.7.1",
"http-errors": "1.7.2",
"joi": "14.3.1",

@@ -90,3 +89,4 @@ "lodash": "4.17.11",

"ts-jest": {
"tsConfig": "tsconfig.json"
"tsConfig": "tsconfig.json",
"diagnostics": false
}

@@ -93,0 +93,0 @@ },

@@ -62,3 +62,3 @@ # Node.js Service Tools <br> [![CircleCI](https://circleci.com/gh/banzaicloud/node-service-tools.svg?style=svg&circle-token=002bb942365281c0834e18a1cb83e1930c3ce0fa)](https://circleci.com/gh/banzaicloud/node-service-tools) [![npm version](https://badge.fury.io/js/%40banzaicloud%2Fservice-tools.svg)](https://badge.fury.io/js/%40banzaicloud%2Fservice-tools)

// the error will be catched and the handlers will be called before exiting
// the error will be caught and the handlers will be called before exiting
throw new Error()

@@ -65,0 +65,0 @@ ```

@@ -11,3 +11,5 @@ import catchErrors from './catch-errors'

jest.spyOn(logger, 'fatal').mockReturnValue(undefined)
jest.spyOn(process, 'exit').mockReturnValue(undefined)
jest.spyOn(process, 'exit').mockImplementation(() => {
/* noop */
})
reset = catchErrors([closeHandler])

@@ -33,3 +35,5 @@ })

jest.spyOn(logger, 'fatal').mockReturnValue(undefined)
jest.spyOn(process, 'exit').mockReturnValue(undefined)
jest.spyOn(process, 'exit').mockImplementation(() => {
/* noop */
})
const reason = new Error()

@@ -36,0 +40,0 @@ const promise = new Promise(() => {

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