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

body-checker

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

body-checker - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

3

index.js

@@ -31,4 +31,3 @@ /**

case 'integer':
let isZero = check.zero(body[key]);
if(isZero) break;
if(check.zero(body[key])) break;
default:

@@ -35,0 +34,0 @@ return cb(new Error('Missing required parameter ' + key));

{
"name": "body-checker",
"version": "0.1.6",
"version": "0.1.7",
"description": "A simple tool to protect your API against bad request parameters",

@@ -5,0 +5,0 @@ "main": "index.js",

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