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

fastify-plugin

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-plugin - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

2

package.json
{
"name": "fastify-plugin",
"version": "2.1.1",
"version": "2.2.0",
"description": "Plugin helper for Fastify",

@@ -5,0 +5,0 @@ "main": "plugin.js",

@@ -44,2 +44,7 @@ 'use strict'

// Faux modules support
if (!fn.default) {
fn.default = fn
}
return fn

@@ -46,0 +51,0 @@ }

@@ -28,1 +28,10 @@ 'use strict'

})
test('support faux modules', (t) => {
const plugin = fp((fastify, opts, next) => {
next()
})
t.is(plugin.default, plugin)
t.end()
})
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