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

fastify-healthcheck

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-healthcheck - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

9

CHANGELOG.md
# Change Log
## [3.2.0](https://github.com/smartiniOnGitHub/fastify-healthcheck/releases/tag/3.2.0) (2022-06-13)
[Full Changelog](https://github.com/smartiniOnGitHub/fastify-healthcheck/compare/3.1.0...3.2.0)
Summary Changelog:
- Updated requirements to Fastify '3.11.0' or higher (but still 3.x)
- Updated all dependencies to latest (for Node.js 10 LTS)
- Update Copyright year
- Update Tap configuration and small simplifications in tests
- Generate documentation from sources with JSDoc
## [3.1.0](https://github.com/smartiniOnGitHub/fastify-healthcheck/releases/tag/3.1.0) (2021-02-09)

@@ -4,0 +13,0 @@ [Full Changelog](https://github.com/smartiniOnGitHub/fastify-favicon/compare/3.0.0...3.1.0)

2

example/example-under-pressure-fail.js
/*
* Copyright 2018-2021 the original author or authors.
* Copyright 2018-2022 the original author or authors.
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/*
* Copyright 2018-2021 the original author or authors.
* Copyright 2018-2022 the original author or authors.
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

{
"name": "fastify-healthcheck",
"version": "3.1.0",
"version": "3.2.0",
"description": "Fastify Plugin to serve responses for health checks",

@@ -9,40 +9,45 @@ "main": "src/plugin",

"dependency:log": "npm list > ./temp/dependencies.log",
"docker:build:fail": "docker build -t fastify-healthcheck-example -f Dockerfile-fail.example .",
"docker:build": "docker build -t fastify-healthcheck-example -f Dockerfile.example .",
"docker:build:fail": "docker build -t fastify-healthcheck-example -f Dockerfile-fail.example .",
"docker:run": "docker run --rm --name fastify-healthcheck-example -d -p 3000:3000 -t fastify-healthcheck-example",
"docker:clean": "docker rmi fastify-healthcheck-example",
"docker:healthcheck-manual": "docker exec -it fastify-healthcheck-example node src/healthcheck",
"docker:inspect": "docker exec -it fastify-healthcheck-example bash",
"docker:log": "docker logs --follow --tail=1000 fastify-healthcheck-example",
"docker:process": "docker ps --filter name=fastify-healthcheck-example",
"docker:run": "docker run --rm --name fastify-healthcheck-example -d -p 3000:3000 -t fastify-healthcheck-example",
"docker:status": "docker inspect --format '{{ json .State.Health }}' fastify-healthcheck-example",
"docker:healthcheck-manual": "docker exec -it fastify-healthcheck-example node src/healthcheck",
"docker:stop": "docker kill fastify-healthcheck-example",
"docker:clean": "docker rmi fastify-healthcheck-example",
"docs:clean": "rm -rf ./out/*",
"docs:generate": "npx jsdoc -c .jsdoc.json -R README.md",
"docs": "npm run docs:clean && npm run docs:generate",
"example-under-pressure-fail": "node example/example-under-pressure-fail",
"example": "node example/example",
"example-under-pressure-fail": "node example/example-under-pressure-fail",
"start": "node src/healthcheck",
"lint": "npm run lint:standard && npm run lint:typescript",
"lint:fix": "standard --fix",
"lint:standard": "standard --verbose",
"lint:typescript": "eslint -c types/.eslintrc.json types/*.d.ts types/*.test-d.ts",
"lint": "npm run lint:standard && npm run lint:typescript",
"start": "node src/healthcheck",
"test:clean": "rm -rf .nyc_output/* ./coverage/*",
"test:coverage:all": "npm run test:unit -- --cov",
"test:coverage": "npm run test:unit -- --cov --coverage-report=html",
"test:coverage:all": "npm run test:unit -- --cov",
"test:types": "tsd",
"test:unit": "tap -j 1 test/*.test.js",
"test:unit:debug": "tap -T --node-arg=--inspect-brk test/*.test.js",
"test:unit:dev": "tap --watch --cov test/*.test.js",
"test:unit": "tap -j 1 test/*.test.js",
"test": "npm run lint:standard && npm run lint:typescript && npm run test:types && npm run test:unit"
},
"dependencies": {
"under-pressure": "^5.6.0"
"under-pressure": "^5.8.1"
},
"devDependencies": {
"@types/node": "^14.14.25",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"fastify": "^3.0.0",
"simple-get": "^4.0.0",
"@types/node": "^17.0.42",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"fastify": "^3.11.0",
"jsdoc": "^3.6.10",
"simple-get": "^4.0.1",
"standard": "^16.0.3",
"tap": "^14.11.0",
"tsd": "^0.14.0",
"typescript": "^4.1.3"
"tap": "^15.2.3",
"tsd": "^0.21.0",
"typescript": "^4.7.3"
},

@@ -49,0 +54,0 @@ "standard": {

@@ -6,5 +6,2 @@ # fastify-healthcheck

[![Code Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)
[![Coverage Status](https://coveralls.io/repos/github/smartiniOnGitHub/fastify-healthcheck/badge.svg?branch=master)](https://coveralls.io/github/smartiniOnGitHub/fastify-healthcheck/?branch=master)
[![dependencies Status](https://david-dm.org/smartiniOnGitHub/fastify-healthcheck/status.svg)](https://david-dm.org/smartiniOnGitHub/fastify-healthcheck)
[![devDependencies Status](https://david-dm.org/smartiniOnGitHub/fastify-healthcheck/dev-status.svg)](https://david-dm.org/smartiniOnGitHub/fastify-healthcheck?type=dev)

@@ -92,6 +89,15 @@ Fastify Plugin to serve responses that report about the web application,

Fastify ^3.0.0 , Node.js 10 LTS (10.13.0) or later.
Fastify ^3.11.0 , Node.js 10 LTS (10.13.0) or later.
Note that plugin releases 2.x are for Fastify 2.x, 3.x are for Fastify 3.x, etc.
## Sources
Source code is all inside main repo:
[fastify-healthcheck](https://github.com/smartiniOnGitHub/fastify-healthcheck).
Documentation generated from source code (library API):
[here](https://smartiniongithub.github.io/fastify-healthcheck/).
## Note

@@ -98,0 +104,0 @@

/*
* Copyright 2018-2021 the original author or authors.
* Copyright 2018-2022 the original author or authors.
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/*
* Copyright 2018-2021 the original author or authors.
* Copyright 2018-2022 the original author or authors.
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

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