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

check-if

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-if - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

lib/_hasLength.js

@@ -1,1 +0,1 @@

module.exports = (value, length) => value.length === length
module.exports = (value, length) => !!value && value.length === length

@@ -1,1 +0,1 @@

module.exports = value => !isNaN(new Date(value))
module.exports = value => !!value && !isNaN(new Date(value))

@@ -1,1 +0,1 @@

module.exports = value => typeof value === 'object'
module.exports = value => !!value && typeof value === 'object'
{
"name": "check-if",
"version": "0.4.0",
"version": "0.4.1",
"description": "Input validation for Apollo Server.",

@@ -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