Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
serv-term
Advanced tools
Changelog
v1.0.0 (2020-06-18)
#19
: created function for terminating server#11
: Update dependency jest to v26#16
: Update dependency jsdoc-to-markdown to v6#3
: Update dependency codecov to ^3.7.0#5
: Update dependency jest to ^25.5.41977ae8
: Recreate lock filefa2984b
: updated dependencies09ac4d0
: Update dependency lint-staged to ^10.2.47cd8167
: added tests50d9a74
: Adopt core commons 2.4.06a6ff14
: roll back to prettier v1eea9101
: remove sinoncb9db85
: added validationfc0503a
: Update dependency lint-staged to ^10.2.9ffdfa12
: Update dependency auto-changelog to ^1.16.45301211
: fixed linting8cdf3d8
: Update dependency husky to ^4.2.5edebf37
: Update dependency lint-staged to ^10.2.10c11079a
: Update dependency lint-staged to ^10.2.53779f53
: renamed template51b4919
: added module documentationb55f716
: Update dependency lint-staged to ^10.2.7afd9ab1
: add test to increase coveragea205ba1
: added commentsf8c4546
: Update dependency lint-staged to ^10.2.112821e4d
: fixed comments0a06223
: Update dependency lint-staged to ^10.2.89cafedb
: Update dependency lint-staged to ^10.2.65c60cfd
: Update dependency semver to ^7.3.2Readme
To install the module:
npm install serv-term --save
function
Registers connection listeners, and returns a function that when called will close a server and all open connections
Kind: inner method of serv-term
Returns: function
- A function to initiate the shutdown of the server
Param | Type | Description |
---|---|---|
server | http.Server | https.Server | The server to be terminated |
options | object | Accepts the following options |
[options.timeout] | number | The duration to wait before forcefully terminating the server |
FAQs
Module for gracefully terminating Node.js HTTP servers.
The npm package serv-term receives a total of 1 weekly downloads. As such, serv-term popularity was classified as not popular.
We found that serv-term demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.