fastify-accepts
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -5,7 +5,7 @@ import { Accepts } from "accepts" | ||
declare module "fastify" { | ||
interface FastifyRequestInterface extends Accepts { | ||
interface FastifyRequest extends Accepts { | ||
accepts(): Accepts | ||
} | ||
interface FastifyReplyInterface { | ||
interface FastifyReply { | ||
requestAccepts(): Accepts | ||
@@ -12,0 +12,0 @@ requestCharset: Accepts["charset"] |
{ | ||
"name": "fastify-accepts", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Add accept parser to fastify", | ||
@@ -8,4 +8,4 @@ "main": "index.js", | ||
"@types/accepts": "^1.3.5", | ||
"@types/node": "^13.1.8", | ||
"fastify": "^3.0.0-rc.1", | ||
"@types/node": "^14.0.1", | ||
"fastify": "^3.0.0-rc.4", | ||
"pre-commit": "^1.2.2", | ||
@@ -12,0 +12,0 @@ "request": "^2.88.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
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
11534