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

checkv

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

checkv - npm Package Compare versions

Comparing version 0.0.1-alpha to 0.0.2-alpha

7

lib/Check.js

@@ -46,2 +46,9 @@ 'use strict'

break
case 'isEqual':
case 'isGreater':
case 'isLess':
case 'isGreaterOrEqual':
case 'isLessOrEqual':
_match = validate.number[rule](value, _compare)
break
// object cases

@@ -48,0 +55,0 @@ case 'isObject':

@@ -12,2 +12,17 @@ 'use strict'

return number.isNumber(value) && value >= 0
},
isEqual: function (value, than) {
return number.isNumber(value) && value === than
},
isGreater: function (value, than) {
return number.isNumber(value) && value > than
},
isLess: function (value, than) {
return number.isNumber(value) && value < than
},
isGreaterOrEqual: function (value, than) {
return number.isNumber(value) && value >= than
},
isLessOrEqual: function (value, than) {
return number.isNumber(value) && value <= than
}

@@ -14,0 +29,0 @@ }

2

package.json
{
"name": "checkv",
"version": "0.0.1-alpha",
"version": "0.0.2-alpha",
"description": "validator checker",

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

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

# checkv

@@ -2,0 +3,0 @@ ---

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