Comparing version 5.0.0 to 5.1.0
{ | ||
"name": "middie", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "Middleware engine for Fastify", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"scripts": { | ||
"test": "standard && tap --no-coverage test/*.test.js", | ||
"test": "standard && tap --no-coverage test/*.test.js && tsd", | ||
"coverage": "tap --cov --coverage-report=html test.js" | ||
@@ -34,9 +35,11 @@ }, | ||
"cors": "^2.8.5", | ||
"fastify": "^3.0.0-alpha.1", | ||
"fastify": "^3.0.0-rc.3", | ||
"helmet": "^3.21.2", | ||
"pre-commit": "^1.2.2", | ||
"serve-static": "^1.14.1", | ||
"simple-get": "^3.1.0", | ||
"simple-get": "^4.0.0", | ||
"standard": "^14.3.1", | ||
"tap": "^14.10.5" | ||
"tap": "^14.10.5", | ||
"tsd": "^0.11.0", | ||
"typescript": "3.9.3" | ||
}, | ||
@@ -50,3 +53,6 @@ "dependencies": { | ||
"node": ">=10.0.0" | ||
}, | ||
"tsd": { | ||
"directory": "test" | ||
} | ||
} |
# middie | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) ![](https://github.com/fastify/fastify/workflows/ci/badge.svg) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) ![CI workflow](https://github.com/fastify/middie/workflows/CI%20workflow/badge.svg) | ||
@@ -5,0 +5,0 @@ *middie* is the plugin that add middlewares support on steroids to [Fastify](https://www.npmjs.com/package/fastify). |
@@ -553,3 +553,3 @@ 'use strict' | ||
fastify.addHook('preParsing', (req, reply, next) => { | ||
fastify.addHook('preParsing', (req, reply, payload, next) => { | ||
t.fail('We should not be here') | ||
@@ -556,0 +556,0 @@ }) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
56554
15
1854
1
10