@fastify/accepts-serializer
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -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 @@ { |
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
22044
1
+ Added@fastify/accepts@^3.0.0
+ Added@fastify/accepts@3.0.0(transitive)
- Removedfastify-accepts@^2.0.0
- Removedfastify-accepts@2.2.02.3.0(transitive)
- Removedprocess-warning@1.0.0(transitive)