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

fastify-accepts

Package Overview
Dependencies
Maintainers
8
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 0.5.0 to 1.0.0

index.d.ts

35

package.json
{
"name": "fastify-accepts",
"version": "0.5.0",
"version": "1.0.0",
"description": "Add accept parser to fastify",
"main": "index.js",
"devDependencies": {
"coveralls": "^2.13.1",
"fastify": "^0.39.1",
"@types/accepts": "^1.3.5",
"@types/node": "^13.1.8",
"coveralls": "^3.0.0",
"fastify": "^2.0.0",
"pre-commit": "^1.2.2",
"request": "2.83.0",
"snazzy": "^7.0.0",
"standard": "^10.0.2",
"tap": "^11.0.0"
"request": "^2.88.0",
"snazzy": "^8.0.0",
"standard": "^14.0.2",
"tap": "^12.6.5",
"typescript": "^3.7.5"
},
"engines": {
"node": ">=4.5"
"node": ">=6"
},
"dependencies": {
"accepts": "^1.3.3",
"fastify-plugin": "^0.2.1"
"accepts": "^1.3.5",
"fastify-plugin": "^1.2.0"
},

@@ -25,5 +28,6 @@ "scripts": {

"unit": "tap test.js",
"test": "npm run lint && npm run unit",
"test": "npm run lint && npm run unit && npm run typescript",
"coverage": "tap test.js --cov --coverage-report=text-lcov --coverage-report=html",
"coveralls": "tap test.js --cov --coverage-report=text-lcov | coveralls"
"coveralls": "tap test.js --cov --coverage-report=text-lcov | coveralls",
"typescript": "tsc --project ./tsconfig.json"
},

@@ -39,3 +43,8 @@ "repository": {

},
"homepage": "https://github.com/fastify/fastify-accepts#readme"
"homepage": "https://github.com/fastify/fastify-accepts#readme",
"greenkeeper": {
"ignore": [
"tap"
]
}
}

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

const fastify = Fastify()
fastify.register(plugin, {decorateReply: true})
fastify.register(plugin, { decorateReply: true })

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

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