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

@fastify/accepts-serializer

Package Overview
Dependencies
Maintainers
20
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastify/accepts-serializer - npm Package Compare versions

Comparing version 5.2.0 to 5.3.0

8

index.js

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

if (reply.context.config.serializers) {
if (request.routeOptions.config.serializers) {
// keep route level cache in config to prevent messing with global cache
reply.context.config.serializers.cache = Object.assign({}, reply.context.config.serializers.cache)
request.routeOptions.config.serializers.cache = Object.assign({}, request.routeOptions.config.serializers.cache)
reply.serializer.serializerManager = SerializerManager.expand({
serializers: reply.context.config.serializers,
cache: reply.context.config.serializers.cache
serializers: request.routeOptions.config.serializers,
cache: request.routeOptions.config.serializers.cache
}, globalSerializerManager)

@@ -31,0 +31,0 @@ } else {

{
"name": "@fastify/accepts-serializer",
"version": "5.2.0",
"version": "5.3.0",
"description": "Serializer according to the accept header",
"main": "index.js",
"type": "commonjs",
"types": "types/index.d.ts",

@@ -35,3 +36,3 @@ "scripts": {

"tap": "^16.0.0",
"tsd": "^0.24.1",
"tsd": "^0.30.0",
"yamljs": "^0.3.0"

@@ -38,0 +39,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