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

fastify-healthcheck

Package Overview
Dependencies
Maintainers
0
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 4.4.0 to 5.0.0

6

CHANGELOG.md
# Change Log
## [5.0.0](https://github.com/smartiniOnGitHub/fastify-favicon/releases/tag/5.0.0) (2024-09-22)
[Full Changelog](https://github.com/smartiniOnGitHub/fastify-favicon/compare/4.5.0...5.0.0)
Summary Changelog:
- Updated requirements to Fastify '^5.0.0'
- Updated all dependencies to latest (for Node.js 20 LTS)
## [4.4.0](https://github.com/smartiniOnGitHub/fastify-healthcheck/releases/tag/4.4.0) (2023-01-06)

@@ -4,0 +10,0 @@ [Full Changelog](https://github.com/smartiniOnGitHub/fastify-healthcheck/compare/4.3.0...4.4.0)

2

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

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

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

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

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

@@ -21,3 +21,3 @@ "main": "src/plugin",

"docker:stop": "docker kill fastify-healthcheck-example",
"docs:clean": "rm -rf ./out/*",
"docs:clean": "rm -rf ./docs/*",
"docs:generate": "npx jsdoc -c .jsdoc.json -R README.md",

@@ -34,24 +34,24 @@ "docs": "npm run docs:clean && npm run docs:generate",

"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:clean": "rm -rf .nyc_output/* .tap/* ./coverage/*",
"test:coverage:all": "npm run test:unit -- --coverage-report=text",
"test:coverage": "npm run test:unit -- --coverage-report=html",
"test:types": "tsd",
"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:unit:debug": "tap -T --node-arg=--inspect-brk",
"test:unit:dev": "tap --watch --coverage-report=none",
"test:unit": "tap --allow-incomplete-coverage",
"test": "npm run lint:standard && npm run lint:typescript && npm run test:types && npm run test:unit"
},
"dependencies": {
"@fastify/under-pressure": "^8.2.0"
"@fastify/under-pressure": "^9.0.1"
},
"devDependencies": {
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"fastify": "^4.11.0",
"jsdoc": "^4.0.0",
"@types/node": "^22.5.5",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"fastify": "^5.0.0",
"jsdoc": "^4.0.3",
"simple-get": "^4.0.1",
"standard": "^17.0.0",
"tap": "^16.3.2",
"tsd": "^0.25.0"
"standard": "^17.1.2",
"tap": "^21.0.1",
"tsd": "^0.31.2"
},

@@ -72,3 +72,3 @@ "standard": {

"engines": {
"node": ">=14.15.0"
"node": ">=20.9.0"
},

@@ -75,0 +75,0 @@ "homepage": "https://github.com/smartiniOnGitHub/fastify-healthcheck#readme",

@@ -90,4 +90,4 @@ # fastify-healthcheck

Fastify ^4.11.0 , Node.js 14 LTS (14.15.0) or later.
Note that plugin releases 3.x are for Fastify 3.x, 4.x are for Fastify 4.x, etc.
Fastify ^5.0.0 , Node.js 20 LTS (20.9.0) or later.
Note that plugin releases 4.x are for Fastify 4.x, 5.x for Fastify 5.x, etc.

@@ -94,0 +94,0 @@

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

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

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

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

/// <reference types="node" />
import { UnderPressureOptions } from '@fastify/under-pressure'
import { FastifyUnderPressureOptions } from '@fastify/under-pressure'
// import { FastifyInstance, FastifyPluginCallback, FastifyPluginOptions, FastifyRequest } from 'fastify'

@@ -36,3 +36,3 @@ import { FastifyPluginCallback } from 'fastify'

*/
underPressureOptions?: UnderPressureOptions
underPressureOptions?: FastifyUnderPressureOptions

@@ -39,0 +39,0 @@ /**

@@ -5,5 +5,5 @@ {

"esModuleInterop": true,
"lib": [ "ES2020", "DOM" ],
"module": "commonjs",
"moduleResolution": "node",
"lib": [ "ES2023", "DOM" ],
"module": "nodenext",
"moduleResolution": "nodenext",
"noEmit": true,

@@ -15,3 +15,3 @@ "noImplicitAny": true,

"strictNullChecks": true,
"target": "ES2020"
"target": "ES2023"
},

@@ -18,0 +18,0 @@ "include": [

Sorry, the diff of this file is not supported yet

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