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

fastify-accepts

Package Overview
Dependencies
Maintainers
14
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-accepts - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

.github/dependabot.yml

21

package.json
{
"name": "fastify-accepts",
"version": "2.0.1",
"version": "2.1.0",
"description": "Add accept parser to fastify",

@@ -8,11 +8,11 @@ "main": "index.js",

"@types/accepts": "^1.3.5",
"@types/node": "^14.0.1",
"@types/node": "^16.0.0",
"fastify": "^3.0.0-rc.4",
"pre-commit": "^1.2.2",
"request": "^2.88.0",
"snazzy": "^8.0.0",
"standard": "^14.0.2",
"tap": "^14.10.7",
"typescript": "^3.7.5",
"tsd": "^0.11.0"
"snazzy": "^9.0.0",
"standard": "^16.0.0",
"tap": "^15.0.2",
"typescript": "^4.0.2",
"tsd": "^0.17.0"
},

@@ -24,9 +24,10 @@ "engines": {

"accepts": "^1.3.5",
"fastify-plugin": "^2.0.0"
"fastify-plugin": "^3.0.0"
},
"scripts": {
"lint": "standard | snazzy",
"unit": "tap --100 test.js",
"test": "npm run lint && npm run unit && npm run typescript",
"typescript": "tsd"
"test:ci": "npm run lint && tap test.js --coverage-report=lcovonly && npm run typescript",
"typescript": "tsd",
"unit": "tap --100 test.js"
},

@@ -33,0 +34,0 @@ "repository": {

# fastify-accepts
![CI workflow](https://github.com/fastify/fastify-accepts/workflows/CI%20workflow/badge.svg)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
![CI](https://github.com/fastify/fastify-accepts/workflows/CI/badge.svg)
[![NPM version](https://img.shields.io/npm/v/fastify-accepts.svg?style=flat)](https://www.npmjs.com/package/fastify-accepts)
[![Known Vulnerabilities](https://snyk.io/test/github/fastify/fastify-accepts/badge.svg)](https://snyk.io/test/github/fastify/fastify-accepts)
[![Coverage Status](https://coveralls.io/repos/github/fastify/fastify-accepts/badge.svg?branch=master)](https://coveralls.io/github/fastify/fastify-accepts?branch=master)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)

@@ -7,0 +9,0 @@ Add accepts parser to fastify

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

t.tearDown(fastify.close.bind(fastify))
t.teardown(fastify.close.bind(fastify))

@@ -154,4 +154,4 @@ fastify.get('/request', function (req, reply) {

for (const method of methodNames) {
t.is(fastify.hasReplyDecorator('request' + method, false), false)
t.equal(fastify.hasReplyDecorator('request' + method, false), false)
}
})

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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