@fastify/sensible
Advanced tools
Comparing version 5.6.0 to 6.0.0-pre.fv5.1
/* eslint-disable eqeqeq */ | ||
'use strict' | ||
const deepEqual = require('fast-deep-equal') | ||
const getHttpError = require('./httpErrors').getHttpError | ||
const { dequal: deepEqual } = require('dequal') | ||
const { getHttpError } = require('./httpErrors') | ||
@@ -35,5 +35,5 @@ function assert (condition, code, message) { | ||
assert.notDeepEqual = function (a, b, code, message) { | ||
assert(deepEqual(a, b) === false, code, message) | ||
assert(!deepEqual(a, b), code, message) | ||
} | ||
module.exports = assert |
{ | ||
"name": "@fastify/sensible", | ||
"version": "5.6.0", | ||
"version": "6.0.0-pre.fv5.1", | ||
"description": "Defaults for Fastify that everyone can agree on", | ||
@@ -32,13 +32,13 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@fastify/pre-commit": "^2.0.2", | ||
"@types/node": "^20.1.0", | ||
"fastify": "^4.0.0-rc.2", | ||
"standard": "^17.0.0", | ||
"tap": "^16.0.0", | ||
"@fastify/pre-commit": "^2.1.0", | ||
"@types/node": "^20.11.30", | ||
"fastify": "^5.0.0-alpha.3", | ||
"standard": "^17.1.0", | ||
"tap": "^18.7.1", | ||
"tsd": "^0.31.0" | ||
}, | ||
"dependencies": { | ||
"@lukeed/ms": "^2.0.1", | ||
"fast-deep-equal": "^3.1.1", | ||
"fastify-plugin": "^4.0.0", | ||
"@lukeed/ms": "^2.0.2", | ||
"dequal": "^2.0.3", | ||
"fastify-plugin": "^5.0.0-pre.fv5.1", | ||
"forwarded": "^0.2.0", | ||
@@ -45,0 +45,0 @@ "http-errors": "^2.0.0", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
61986
1
+ Addeddequal@^2.0.3
+ Addeddequal@2.0.3(transitive)
+ Addedfastify-plugin@5.0.0(transitive)
- Removedfast-deep-equal@^3.1.1
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfastify-plugin@4.5.1(transitive)
Updated@lukeed/ms@^2.0.2