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

fastify-check-runtime-env

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-check-runtime-env - npm Package Compare versions

Comparing version 0.2.0 to 3.0.0

6

CHANGELOG.md
# Change Log
## [3.0.0](https://github.com/smartiniOnGitHub/fastify-check-runtime-env/releases/tag/3.0.0) (2022-03-27)
Summary Changelog:
- Update dependencies to Fastify 3.x (and Node.js 10 LTS)
- Use 'check-runtime-env' latest release ('~0.3.0') with new features
- Ensure all works again
## [0.2.0](https://github.com/smartiniOnGitHub/fastify-check-runtime-env/releases/tag/0.2.0) (2022-03-27)

@@ -4,0 +10,0 @@ Summary Changelog:

2

example/example-failure.js

@@ -36,3 +36,3 @@ /*

// nodeVersionExpected: engines.node
nodeVersionExpected: '<=8.17.0 >=200.0.0', // sample failing test
nodeVersionExpected: '<=10.13.0 >=200.0.0', // sample failing test
// onCheckMismatch: 'warning' // log a warning

@@ -39,0 +39,0 @@ // onCheckMismatch: 'exception' // throw an exception // same as default

{
"name": "fastify-check-runtime-env",
"version": "0.2.0",
"version": "3.0.0",
"description": "Fastify Plugin to check runtime environment properties",

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

"dependencies": {
"fastify-plugin": "^1.6.1",
"fastify-plugin": "^3.0.1",
"check-runtime-env": "~0.3.0"

@@ -33,3 +33,3 @@ },

"jsdoc": "^3.6.10",
"fastify": "^2.15.3",
"fastify": "^3.3.0",
"standard": "^16.0.4",

@@ -40,3 +40,3 @@ "tap": "^15.2.3"

"engines": {
"node": ">=8.17.0"
"node": ">=10.13.0"
},

@@ -43,0 +43,0 @@ "homepage": "https://github.com/smartiniOnGitHub/fastify-check-runtime-env#readme",

@@ -7,4 +7,3 @@ # fastify-check-runtime-env

[![Coverage Status](https://coveralls.io/repos/github/smartiniOnGitHub/fastify-check-runtime-env/badge.svg?branch=master)](https://coveralls.io/github/smartiniOnGitHub/fastify-check-runtime-env/?branch=master)
[![dependencies Status](https://david-dm.org/smartiniOnGitHub/fastify-check-runtime-env/status.svg)](https://david-dm.org/smartiniOnGitHub/fastify-check-runtime-env)
[![devDependencies Status](https://david-dm.org/smartiniOnGitHub/fastify-check-runtime-env/dev-status.svg)](https://david-dm.org/smartiniOnGitHub/fastify-check-runtime-env?type=dev)
[![license - APACHE-2.0](https://img.shields.io/npm/l/check-runtime-env.svg)](http://opensource.org/licenses/APACHE-2.0)

@@ -37,3 +36,3 @@ Fastify Plugin to check runtime environment properties

nodeVersionExpected: engines.node
// nodeVersionExpected: '<=8.17.0 >=200.0.0', // sample failing test
// nodeVersionExpected: '<=10.13.0 >=200.0.0', // sample failing test
// onCheckMismatch: 'exception' // throw an exception // same as default

@@ -52,3 +51,3 @@ })

Fastify ^2.12.0 , Node.js 8 LTS (8.9.x) or later.
Fastify ^3.3.0 , Node.js 10 LTS (10.13.0) or later.

@@ -58,2 +57,11 @@ Note that plugin releases 0.x are for Fastify 2.x, 3.x are for Fastify 3.x, etc.

## Sources
Source code is all inside main repo:
[fastify-check-runtime-env](https://github.com/smartiniOnGitHub/fastify-check-runtime-env).
Documentation generated from source code (library API):
[here](https://smartiniongithub.github.io/fastify-check-runtime-env/).
## Note

@@ -60,0 +68,0 @@

@@ -91,4 +91,4 @@ /*

module.exports = fp(fastifyCheckRuntimeEnv, {
fastify: '^2.12.0',
fastify: '^3.3.0',
name: 'fastify-check-runtime-env'
})
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