New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-request-to-json

Package Overview
Dependencies
Maintainers
10
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-request-to-json - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

index.js

@@ -17,4 +17,4 @@ const debug = require('debug')('express-request-to-json');

module.exports = function (req) {
let keys = Object.keys(req);
let ret = {};
const keys = Object.keys(req);
const ret = {};
keys.forEach((key) => {

@@ -21,0 +21,0 @@ if (constructors.some((c) => req[key] instanceof c)) {

{
"name": "express-request-to-json",
"description": "Filter out noise from express req before logging.",
"version": "1.1.0",
"version": "1.1.1",
"author": "Tim Allen <tim@noblesamurai.com>",

@@ -9,3 +9,3 @@ "license": "BSD",

"scripts": {
"coverage": "nyc -a -c -r html -r text npm test",
"coverage": "c8 npm test",
"pretest": "semistandard --env mocha",

@@ -24,6 +24,2 @@ "test": "mocha --recursive test",

},
"engines": {
"node": ">= 6.x",
"npm": "3.x"
},
"peerDependencies": {

@@ -33,10 +29,10 @@ "express": "*"

"devDependencies": {
"chai": "^3.5.0",
"dirty-chai": "^1.2.2",
"c8": "^7.7.1",
"chai": "^4.3.4",
"dirty-chai": "^2.0.1",
"express": "^4.15.3",
"jsdoc-to-markdown": "~3.0.0",
"mocha": "~3.3.0",
"nyc": "^10.1.2",
"jsdoc-to-markdown": "^7.0.1",
"mocha": "^8.3.2",
"semistandard": "*",
"supertest": "^3.0.0"
"supertest": "^6.1.3"
},

@@ -49,11 +45,15 @@ "keywords": [

],
"nyc": {
"exclude": [
"coverage",
"test"
"c8": {
"all": true,
"include": [
"index.js"
],
"reporter": [
"lcov",
"text"
]
},
"dependencies": {
"debug": "^2.6.7"
"debug": "^4.3.1"
}
}
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