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

fastify-accepts-serializer

Package Overview
Dependencies
Maintainers
8
Versions
14
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 2.0.1 to 3.0.0

.dependabot/config.yml

2

index.js

@@ -58,4 +58,4 @@ 'use strict'

module.exports = fp(acceptsSerializerPlugin, {
fastify: '>=2.x',
fastify: '>=3.x',
name: 'fastify-accepts-serializer'
})
{
"name": "fastify-accepts-serializer",
"version": "2.0.1",
"version": "3.0.0",
"description": "Serializer according to the accept header",

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

"unit": "tap test/test.js",
"test": "npm run lint && tap --cov test/test.js"
"test": "npm run lint && tap test/test.js"
},

@@ -23,3 +23,3 @@ "repository": {

"devDependencies": {
"fastify": "^2.0.0",
"fastify": "^3.0.0-rc.1",
"msgpack5": "^4.2.1",

@@ -29,10 +29,10 @@ "pre-commit": "^1.2.2",

"snazzy": "^8.0.0",
"standard": "^12.0.1",
"tap": "^12.1.0",
"standard": "^14.0.0",
"tap": "^14.10.7",
"yamljs": "^0.3.0"
},
"dependencies": {
"fastify-accepts": ">=0.5.0",
"fastify-plugin": "^1.2.1"
"fastify-accepts": "^2.0.0",
"fastify-plugin": "^2.0.0"
}
}
# fastify-accepts-serializer
[![Greenkeeper badge](https://badges.greenkeeper.io/fastify/fastify-accepts-serializer.svg)](https://greenkeeper.io/) [![Build Status](https://travis-ci.org/fastify/fastify-accepts-serializer.svg?branch=master)](https://travis-ci.org/fastify/fastify-accepts-serializer) [![Coverage Status](https://coveralls.io/repos/github/fastify/fastify-accepts-serializer/badge.svg?branch=master)](https://coveralls.io/github/fastify/fastify-accepts-serializer?branch=master)
![CI workflow](https://github.com/fastify/fastify-accepts-serializer/workflows/CI%20workflow/badge.svg)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
Serializer according to the `Accept` header. Supports Fastify versions `>=2.0.0`
Serializer according to the `Accept` header. Supports Fastify versions `^3.0.0`
Please refer to [this branch](https://github.com/fastify/fastify-accepts-serializer/tree/v2.x) and related versions for Fastify ^2.0.0 compatibility.
Please refer to [this branch](https://github.com/fastify/fastify-accepts-serializer/tree/1.x) and related versions for Fastify ^1.10.0 compatibility.

@@ -8,0 +10,0 @@

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

fastify.register(plugin, {
serializers: [ ],
serializers: [],
default: 'application/json'

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