fastify-accepts-serializer
Advanced tools
Comparing version 2.0.1 to 3.0.0
@@ -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 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16646
11
67
1
+ Addedfastify-plugin@2.3.4(transitive)
+ Addedsemver@7.6.3(transitive)
- Removedfastify-plugin@1.6.1(transitive)
- Removedsemver@6.3.1(transitive)
Updatedfastify-accepts@^2.0.0
Updatedfastify-plugin@^2.0.0