fastify-accepts
Advanced tools
Comparing version 0.5.0 to 1.0.0
{ | ||
"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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11733
9
280
0
10
1
+ Addedfastify-plugin@1.6.1(transitive)
+ Addedsemver@6.3.1(transitive)
- Removedfastify-plugin@0.2.2(transitive)
- Removedsemver@5.7.2(transitive)
Updatedaccepts@^1.3.5
Updatedfastify-plugin@^1.2.0