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

fastify-plugin

Package Overview
Dependencies
Maintainers
10
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 5.0.0-pre.fv5.1 to 5.0.0

3

lib/toCamelCase.js

@@ -7,6 +7,5 @@ 'use strict'

}
const newName = name.replace(/-(.)/g, function (match, g1) {
return name.replace(/-(.)/g, function (match, g1) {
return g1.toUpperCase()
})
return newName
}
{
"name": "fastify-plugin",
"version": "5.0.0-pre.fv5.1",
"version": "5.0.0",
"description": "Plugin helper for Fastify",

@@ -32,3 +32,3 @@ "main": "plugin.js",

"@fastify/type-provider-typebox": "^5.0.0-pre.fv5.1",
"@types/node": "^20.11.20",
"@types/node": "^22.0.0",
"fastify": "^5.0.0-alpha.2",

@@ -35,0 +35,0 @@ "proxyquire": "^2.1.3",

@@ -60,3 +60,3 @@ # fastify-plugin

done()
}, { fastify: '4.x' })
}, { fastify: '5.x' })
```

@@ -80,3 +80,3 @@

module.exports = fp(plugin, {
fastify: '4.x',
fastify: '5.x',
name: 'your-plugin-name'

@@ -98,3 +98,3 @@ })

module.exports = fp(plugin, {
fastify: '4.x',
fastify: '5.x',
decorators: {

@@ -123,3 +123,3 @@ fastify: ['plugin1', 'plugin2'],

name: 'my-encapsulated-plugin',
fastify: '4.x',
fastify: '5.x',
decorators: {

@@ -126,0 +126,0 @@ fastify: ['plugin1', 'plugin2'],

@@ -23,3 +23,3 @@ 'use strict'

}, {
fastify: '^4.0.0'
fastify: '^5.0.0'
})

@@ -26,0 +26,0 @@

@@ -20,3 +20,3 @@ 'use strict'

}, {
fastify: '^4.0.0'
fastify: '^5.0.0'
})

@@ -44,3 +44,3 @@

}, {
fastify: '^4.0.0'
fastify: '^5.0.0'
})

@@ -71,3 +71,3 @@

}, {
fastify: '^4.0.0'
fastify: '^5.0.0'
})

@@ -74,0 +74,0 @@

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