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

@fastify/accepts-serializer

Package Overview
Dependencies
Maintainers
17
Versions
10
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 4.0.0 to 4.0.1

2

index.js

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

fastify.register(require('fastify-accepts'))
fastify.register(require('@fastify/accepts'))

@@ -19,0 +19,0 @@ fastify.addHook('preHandler', (request, reply, done) => {

{
"name": "@fastify/accepts-serializer",
"version": "4.0.0",
"version": "4.0.1",
"description": "Serializer according to the accept header",

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

"dependencies": {
"fastify-accepts": "^2.0.0",
"@fastify/accepts": "^3.0.0",
"fastify-plugin": "^3.0.0"

@@ -37,0 +37,0 @@ },

@@ -1,5 +0,5 @@

# fastify-accepts-serializer
# @fastify/accepts-serializer
![CI](https://github.com/fastify/fastify-accepts-serializer/workflows/CI/badge.svg)
[![npm version](https://img.shields.io/npm/v/fastify-accepts-serializer)](https://www.npmjs.com/package/fastify-accepts-serializer)
[![npm version](https://img.shields.io/npm/v/@fastify/accepts-serializer)](https://www.npmjs.com/package/@fastify/accepts-serializer)
[![Known Vulnerabilities](https://snyk.io/test/github/fastify/fastify-accepts-serializer/badge.svg)](https://snyk.io/test/github/fastify/fastify-accepts-serializer)

@@ -15,3 +15,3 @@ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)

```sh
npm i --save fastify-accepts-serializer
npm i --save @fastify/accepts-serializer
```

@@ -32,3 +32,3 @@

// Global serializers
fastify.register(require('fastify-accepts-serializer'), {
fastify.register(require('@fastify/accepts-serializer'), {
serializers: [

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