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

arecibo

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arecibo - npm Package Compare versions

Comparing version 0.7.5 to 0.8.0

CHANGELOG.md

5

lib-esm/index.js

@@ -0,1 +1,2 @@

import { readinessSchema, livenessSchema } from './schema';
const READINESS_URL = '/arecibo/readiness';

@@ -85,6 +86,6 @@ const LIVENESS_URL = '/arecibo/liveness';

const livenessCallback = opts.livenessCallback || defaultResponse(message);
fastify.get(readinessURL, readinessCallback);
fastify.get(livenessURL, livenessCallback);
fastify.get(readinessURL, { schema: readinessSchema }, readinessCallback);
fastify.get(livenessURL, { schema: livenessSchema }, livenessCallback);
next();
}
//# sourceMappingURL=index.js.map

11

lib/index.js

@@ -7,2 +7,5 @@ "use strict";

exports.default = arecibo;
var _schema = require("./schema");
const READINESS_URL = '/arecibo/readiness';

@@ -99,4 +102,8 @@ const LIVENESS_URL = '/arecibo/liveness';

const livenessCallback = opts.livenessCallback || defaultResponse(message);
fastify.get(readinessURL, readinessCallback);
fastify.get(livenessURL, livenessCallback);
fastify.get(readinessURL, {
schema: _schema.readinessSchema
}, readinessCallback);
fastify.get(livenessURL, {
schema: _schema.livenessSchema
}, livenessCallback);
next();

@@ -103,0 +110,0 @@ }

{
"name": "arecibo",
"version": "0.7.5",
"version": "0.8.0",
"description": "Fastify plugin that respondes to kubernetes readiness and liveness probes.",

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

@@ -10,5 +10,5 @@ <div align="center">

[![NPM version](https://img.shields.io/npm/v/arecibo.svg?style=flat)](https://www.npmjs.com/package/arecibo)
[![Build Status](https://travis-ci.org/nucleode/arecibo.svg?branch=master)](https://travis-ci.org/nucleode/arecibo)
[![NPM downloads](https://img.shields.io/npm/dm/arecibo.svg?style=flat)](https://www.npmjs.com/package/arecibo)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![Greenkeeper badge](https://badges.greenkeeper.io/nucleode/arecibo.svg)](https://greenkeeper.io/)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![Known Vulnerabilities](https://snyk.io/test/github/nucleode/arecibo/badge.svg?targetFile=package.json)](https://snyk.io/test/github/nucleode/arecibo?targetFile=package.json)

@@ -15,0 +15,0 @@ </div>

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