New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fastify/secure-session

Package Overview
Dependencies
Maintainers
18
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastify/secure-session - npm Package Compare versions

Comparing version 5.1.1 to 5.2.0

test/fastify-cookie.js

11

index.js

@@ -173,5 +173,10 @@ 'use strict'

fastify
.register(require('@fastify/cookie'))
.register(fp(addHooks))
if (fastify.hasPlugin('@fastify/cookie')) {
fastify
.register(fp(addHooks))
} else {
fastify
.register(require('@fastify/cookie'))
.register(fp(addHooks))
}

@@ -178,0 +183,0 @@ next()

{
"name": "@fastify/secure-session",
"version": "5.1.1",
"version": "5.2.0",
"description": "Create a secure stateless cookie session for Fastify",

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

"cookie": "^0.5.0",
"fastify": "^4.0.0-rc.2",
"fastify": "^4.0.0",
"pre-commit": "^1.2.2",

@@ -41,3 +41,3 @@ "standard": "^17.0.0",

"dependencies": {
"@fastify/cookie": "^6.0.0",
"@fastify/cookie": "^7.0.0",
"fastify-plugin": "^3.0.0",

@@ -44,0 +44,0 @@ "sodium-native": "^3.0.0"

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