New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dnlup/fastify-traps

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dnlup/fastify-traps - npm Package Compare versions

Comparing version 1.2.0-0 to 1.2.0-1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [1.2.0-1](https://github.com/dnlup/fastify-traps/compare/v1.2.0-0...v1.2.0-1) (2021-09-03)
### Bug Fixes
* Make plugin options optional ([763ee4b](https://github.com/dnlup/fastify-traps/commit/763ee4bb5295607942e409ed9e52b8c32329f9d0))
## [1.2.0-0](https://github.com/dnlup/fastify-traps/compare/v1.1.2...v1.2.0-0) (2021-07-12)

@@ -7,0 +14,0 @@

14

index.d.ts

@@ -7,8 +7,8 @@ import {

export interface TrapsPluginOptions {
timeout: number,
onSignal: (signal: 'SIGTERM' | 'SIGINT') => {},
onClose: () => {},
onTimeout: (timeout: number) => {},
onError: (error: Error|any) => {},
strict: boolean
timeout?: number,
onSignal?: (signal: 'SIGTERM' | 'SIGINT') => {},
onClose?: () => {},
onTimeout?: (timeout: number) => {},
onError?: (error: Error|any) => {},
strict?: boolean
}

@@ -19,2 +19,2 @@

export default trapsPluginCallback;
export default trapsPluginCallback;
{
"name": "@dnlup/fastify-traps",
"version": "1.2.0-0",
"version": "1.2.0-1",
"description": "A Fastify plugin to close the server gracefully on SIGINT and SIGTERM signals",

@@ -5,0 +5,0 @@ "main": "index.js",

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