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

middie

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

middie - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

index.d.ts

16

package.json
{
"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

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