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

checkit

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

checkit - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

bower.json
{
"name": "checkit",
"version": "0.1.3",
"version": "0.1.4",
"main": "checkit.js",

@@ -5,0 +5,0 @@ "ignore": [

@@ -267,2 +267,7 @@ // CheckIt.js 0.1.0

// Check if one items is greater than or equal to another
greaterThanEqualTo: function(val, param) {
return checkNumber(val) || checkNumber(param) || parseFloat(val) >= parseFloat(param);
},
// Check if one item is less than another

@@ -273,2 +278,7 @@ lessThan: function(val, param) {

// Check if one item is less than or equal to another
lessThanEqualTo: function(val, param) {
return checkNumber(val) || checkNumber(param) || parseFloat(val) <= parseFloat(param);
},
// Check if this item is an object literal.

@@ -411,4 +421,5 @@ isLiteral: function(val) {

exactLength: 'The {{label}} must be exactly {{var_1}} characters long',
greaterThan: 'The {{label}} must contain a number greater than {{var_1}}',
lessThan: 'The {{label}} must contain a number less than {{var_1}}',
lessThanEqualTo: 'The {{label}} must contain a number less than or equal to {{var_1}}',
greaterThanEqualTo: 'The {{label}} must contain a number greater than or equal to {{var_1}}',
validEmail: 'The {{label}} must contain a valid email address',

@@ -415,0 +426,0 @@

{
"name": "checkit",
"version": "0.1.3",
"version": "0.1.4",
"description": "Simple validations for node and the browser.",

@@ -5,0 +5,0 @@ "main": "checkit.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