Comparing version 3.0.0 to 3.0.1
@@ -1,2 +0,2 @@ | ||
import { FastifyPlugin, FastifyPluginOptions, LogLevel, RouteHandler } from 'fastify'; | ||
import type { FastifyPlugin, FastifyPluginOptions, LogLevel, RouteHandler } from 'fastify'; | ||
interface Opts extends FastifyPluginOptions { | ||
@@ -3,0 +3,0 @@ message?: string; |
@@ -87,3 +87,3 @@ "use strict"; | ||
}; | ||
const arecibo = (0, fastify_plugin_1.default)(function (fastify, opts, next) { | ||
const arecibo = (0, fastify_plugin_1.default)((fastify, opts, next) => { | ||
const { message = defaultMessage, readinessURL = READINESS_URL, livenessURL = LIVENESS_URL, logLevel = 'info', } = opts; | ||
@@ -90,0 +90,0 @@ const readinessCallback = opts.readinessCallback || defaultResponse(message); |
{ | ||
"name": "arecibo", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Fastify plugin that respondes to kubernetes readiness and liveness probes.", | ||
@@ -45,16 +45,16 @@ "main": "./lib", | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.4.4", | ||
"@commitlint/config-conventional": "^17.4.4", | ||
"@commitlint/lint": "^17.4.4", | ||
"@commitlint/prompt": "^17.4.4", | ||
"@semantic-release/changelog": "^6.0.1", | ||
"@semantic-release/commit-analyzer": "^9.0.2", | ||
"@commitlint/cli": "^19.3.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@commitlint/lint": "^19.2.2", | ||
"@commitlint/prompt": "^19.3.1", | ||
"@semantic-release/changelog": "^6.0.3", | ||
"@semantic-release/commit-analyzer": "^12.0.0", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^8.0.6", | ||
"@semantic-release/npm": "^10.0.2", | ||
"@semantic-release/github": "^10.0.5", | ||
"@semantic-release/npm": "^12.0.1", | ||
"@semantic-release/release-notes-generator": "^10.0.3", | ||
"@types/node": "^18.11.19", | ||
"commitizen": "^4.2.5", | ||
"commitizen": "^4.3.0", | ||
"commitlint-config-cz": "^0.13.3", | ||
"commitlint-plugin-function-rules": "^1.7.1", | ||
"commitlint-plugin-function-rules": "^4.0.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
@@ -64,5 +64,5 @@ "fastify": "^4.15.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^3.0.3", | ||
"rimraf": "^5.0.5", | ||
"semantic-release": "^22.0.5", | ||
"prettier": "^3.2.5", | ||
"rimraf": "^5.0.7", | ||
"semantic-release": "^23.1.1", | ||
"tslint": "^6.1.3", | ||
@@ -69,0 +69,0 @@ "tslint-config-prettier": "^1.18.0", |
Sorry, the diff of this file is not supported yet
13550