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

lodash-checkit

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-checkit - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

12

index.js

@@ -13,3 +13,3 @@ var lodash = require('lodash');

Object.keys(lodash).filter(function (fn) { return /^is/.test(fn); }).forEach(function (key) {
lodashNativeDict[key] = 'inherited from lodash module';
lodashNativeDict[key] = 'lodash [' + key + '](https://lodash.com/docs/#' + key + ')';
});

@@ -29,6 +29,8 @@

if (re) {
checkitRegexDict[fnName] = "from Checkit module's regex validator " + '"' + k + '"'
checkitRegexDict[fnName] = 'checkit "' + k + '" regex ' +
re.toString().replace(/\|/g, '|');
testFn = function (s) { return re.test(s); }
} else {
checkitOtherDict[fnName] = "from Checkit module's validator " + '"' + k + '"'
checkitOtherDict[fnName] =
'checkit validator [' + k + '](https://github.com/tgriesser/checkit#available-validators)'
testFn = validatorInstance[k].bind(validatorInstance);

@@ -48,3 +50,3 @@ }

var fnName = 'is' + lodash.upperFirst(ldKey)
lodashCaseDict[fnName] = 'from lodash "...Case" function';
lodashCaseDict[fnName] = 'lodash [' + ldKey + '](https://lodash.com/docs/#' + ldKey +')';
checkitMixins[fnName] = testFn;

@@ -60,3 +62,3 @@ }

};
notDict[notName] = 'from not "' + ciKey + '"';
notDict[notName] = 'not "' + ciKey + '"';
}

@@ -63,0 +65,0 @@ });

{
"name": "lodash-checkit",
"version": "2.0.0",
"version": "2.0.1",
"description": "mashup of lodash with checkit module",

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

@@ -18,104 +18,104 @@ # lodash-checkit

| --- | --- |
| isAlpha | from Checkit module's regex validator "alpha" |
| isAlphaDash | from Checkit module's regex validator "alphaDash" |
| isAlphaNumeric | from Checkit module's regex validator "alphaNumeric" |
| isAlphaUnderscore | from Checkit module's regex validator "alphaUnderscore" |
| isArguments | inherited from lodash module |
| isArray | inherited from lodash module |
| isArrayBuffer | inherited from lodash module |
| isArrayLike | inherited from lodash module |
| isArrayLikeObject | inherited from lodash module |
| isBase64 | from Checkit module's regex validator "base64" |
| isBetween | from Checkit module's validator "between" |
| isBoolean | inherited from lodash module |
| isBuffer | inherited from lodash module |
| isCamelCase | from lodash "...Case" function |
| isContainerFor | from Checkit module's validator "contains" |
| isDate | inherited from lodash module |
| isDifferent | from Checkit module's validator "different" |
| isElement | inherited from lodash module |
| isEmail | from Checkit module's regex validator "email" |
| isEmpty | inherited from lodash module |
| isEqual | inherited from lodash module |
| isEqualWith | inherited from lodash module |
| isError | inherited from lodash module |
| isExactLength | from Checkit module's validator "exactLength" |
| isExists | from Checkit module's validator "exists" |
| isFinite | inherited from lodash module |
| isFunction | inherited from lodash module |
| isGreaterThan | from Checkit module's validator "greaterThan" |
| isGreaterThanEqualTo | from Checkit module's validator "greaterThanEqualTo" |
| isInRange | from Checkit module's validator "range" |
| isInteger | inherited from lodash module |
| isIpv4 | from Checkit module's regex validator "ipv4" |
| isIpv6 | from Checkit module's regex validator "ipv6" |
| isKebabCase | from lodash "...Case" function |
| isLength | inherited from lodash module |
| isLessThan | from Checkit module's validator "lessThan" |
| isLessThanEqualTo | from Checkit module's validator "lessThanEqualTo" |
| isLowerCase | from lodash "...Case" function |
| isLuhn | from Checkit module's regex validator "luhn" |
| isMap | inherited from lodash module |
| isMatch | inherited from lodash module |
| isMatchWith | inherited from lodash module |
| isMaxLength | from Checkit module's validator "maxLength" |
| isMinLength | from Checkit module's validator "minLength" |
| isNaN | inherited from lodash module |
| isNative | inherited from lodash module |
| isNatural | from Checkit module's regex validator "natural" |
| isNaturalNonZero | from Checkit module's regex validator "naturalNonZero" |
| isNil | inherited from lodash module |
| isNotAlpha | from not "isAlpha" |
| isNotAlphaDash | from not "isAlphaDash" |
| isNotAlphaNumeric | from not "isAlphaNumeric" |
| isNotAlphaUnderscore | from not "isAlphaUnderscore" |
| isNotBase64 | from not "isBase64" |
| isNotBetween | from not "isBetween" |
| isNotCamelCase | from not "isCamelCase" |
| isNotContainerFor | from not "isContainerFor" |
| isNotDifferent | from not "isDifferent" |
| isNotEmail | from not "isEmail" |
| isNotExactLength | from not "isExactLength" |
| isNotExists | from not "isExists" |
| isNotGreaterThan | from not "isGreaterThan" |
| isNotGreaterThanEqualTo | from not "isGreaterThanEqualTo" |
| isNotInRange | from not "isInRange" |
| isNotIpv4 | from not "isIpv4" |
| isNotIpv6 | from not "isIpv6" |
| isNotKebabCase | from not "isKebabCase" |
| isNotLessThan | from not "isLessThan" |
| isNotLessThanEqualTo | from not "isLessThanEqualTo" |
| isNotLowerCase | from not "isLowerCase" |
| isNotLuhn | from not "isLuhn" |
| isNotMaxLength | from not "isMaxLength" |
| isNotMinLength | from not "isMinLength" |
| isNotNatural | from not "isNatural" |
| isNotNaturalNonZero | from not "isNaturalNonZero" |
| isNotNumeric | from not "isNumeric" |
| isNotRequired | from not "isRequired" |
| isNotSnakeCase | from not "isSnakeCase" |
| isNotStartCase | from not "isStartCase" |
| isNotUpperCase | from not "isUpperCase" |
| isNotUrl | from not "isUrl" |
| isNotUuid | from not "isUuid" |
| isNull | inherited from lodash module |
| isNumber | inherited from lodash module |
| isNumeric | from Checkit module's validator "numeric" |
| isObject | inherited from lodash module |
| isObjectLike | inherited from lodash module |
| isPlainObject | inherited from lodash module |
| isRegExp | inherited from lodash module |
| isRequired | from Checkit module's validator "required" |
| isSafeInteger | inherited from lodash module |
| isSet | inherited from lodash module |
| isSnakeCase | from lodash "...Case" function |
| isStartCase | from lodash "...Case" function |
| isString | inherited from lodash module |
| isSymbol | inherited from lodash module |
| isTypedArray | inherited from lodash module |
| isUndefined | inherited from lodash module |
| isUpperCase | from lodash "...Case" function |
| isUrl | from Checkit module's regex validator "url" |
| isUuid | from Checkit module's regex validator "uuid" |
| isWeakMap | inherited from lodash module |
| isWeakSet | inherited from lodash module |
| isAlpha | checkit "alpha" regex /^[a-z]+$/i |
| isAlphaDash | checkit "alphaDash" regex /^[a-z0-9_\-]+$/i |
| isAlphaNumeric | checkit "alphaNumeric" regex /^[a-z0-9]+$/i |
| isAlphaUnderscore | checkit "alphaUnderscore" regex /^[a-z0-9_]+$/i |
| isArguments | lodash [isArguments](https://lodash.com/docs/#isArguments) |
| isArray | lodash [isArray](https://lodash.com/docs/#isArray) |
| isArrayBuffer | lodash [isArrayBuffer](https://lodash.com/docs/#isArrayBuffer) |
| isArrayLike | lodash [isArrayLike](https://lodash.com/docs/#isArrayLike) |
| isArrayLikeObject | lodash [isArrayLikeObject](https://lodash.com/docs/#isArrayLikeObject) |
| isBase64 | checkit "base64" regex /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/ |
| isBetween | checkit validator [between](https://github.com/tgriesser/checkit#available-validators) |
| isBoolean | lodash [isBoolean](https://lodash.com/docs/#isBoolean) |
| isBuffer | lodash [isBuffer](https://lodash.com/docs/#isBuffer) |
| isCamelCase | lodash [camelCase](https://lodash.com/docs/#camelCase) |
| isContainerFor | checkit validator [contains](https://github.com/tgriesser/checkit#available-validators) |
| isDate | lodash [isDate](https://lodash.com/docs/#isDate) |
| isDifferent | checkit validator [different](https://github.com/tgriesser/checkit#available-validators) |
| isElement | lodash [isElement](https://lodash.com/docs/#isElement) |
| isEmail | checkit "email" regex /^(.+)@(.+)\.(.+)$/i |
| isEmpty | lodash [isEmpty](https://lodash.com/docs/#isEmpty) |
| isEqual | lodash [isEqual](https://lodash.com/docs/#isEqual) |
| isEqualWith | lodash [isEqualWith](https://lodash.com/docs/#isEqualWith) |
| isError | lodash [isError](https://lodash.com/docs/#isError) |
| isExactLength | checkit validator [exactLength](https://github.com/tgriesser/checkit#available-validators) |
| isExists | checkit validator [exists](https://github.com/tgriesser/checkit#available-validators) |
| isFinite | lodash [isFinite](https://lodash.com/docs/#isFinite) |
| isFunction | lodash [isFunction](https://lodash.com/docs/#isFunction) |
| isGreaterThan | checkit validator [greaterThan](https://github.com/tgriesser/checkit#available-validators) |
| isGreaterThanEqualTo | checkit validator [greaterThanEqualTo](https://github.com/tgriesser/checkit#available-validators) |
| isInRange | checkit validator [range](https://github.com/tgriesser/checkit#available-validators) |
| isInteger | lodash [isInteger](https://lodash.com/docs/#isInteger) |
| isIpv4 | checkit "ipv4" regex /^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})$/i |
| isIpv6 | checkit "ipv6" regex /^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i |
| isKebabCase | lodash [kebabCase](https://lodash.com/docs/#kebabCase) |
| isLength | lodash [isLength](https://lodash.com/docs/#isLength) |
| isLessThan | checkit validator [lessThan](https://github.com/tgriesser/checkit#available-validators) |
| isLessThanEqualTo | checkit validator [lessThanEqualTo](https://github.com/tgriesser/checkit#available-validators) |
| isLowerCase | lodash [lowerCase](https://lodash.com/docs/#lowerCase) |
| isLuhn | checkit "luhn" regex /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/ |
| isMap | lodash [isMap](https://lodash.com/docs/#isMap) |
| isMatch | lodash [isMatch](https://lodash.com/docs/#isMatch) |
| isMatchWith | lodash [isMatchWith](https://lodash.com/docs/#isMatchWith) |
| isMaxLength | checkit validator [maxLength](https://github.com/tgriesser/checkit#available-validators) |
| isMinLength | checkit validator [minLength](https://github.com/tgriesser/checkit#available-validators) |
| isNaN | lodash [isNaN](https://lodash.com/docs/#isNaN) |
| isNative | lodash [isNative](https://lodash.com/docs/#isNative) |
| isNatural | checkit "natural" regex /^[0-9]+$/i |
| isNaturalNonZero | checkit "naturalNonZero" regex /^[1-9][0-9]*$/i |
| isNil | lodash [isNil](https://lodash.com/docs/#isNil) |
| isNotAlpha | not "isAlpha" |
| isNotAlphaDash | not "isAlphaDash" |
| isNotAlphaNumeric | not "isAlphaNumeric" |
| isNotAlphaUnderscore | not "isAlphaUnderscore" |
| isNotBase64 | not "isBase64" |
| isNotBetween | not "isBetween" |
| isNotCamelCase | not "isCamelCase" |
| isNotContainerFor | not "isContainerFor" |
| isNotDifferent | not "isDifferent" |
| isNotEmail | not "isEmail" |
| isNotExactLength | not "isExactLength" |
| isNotExists | not "isExists" |
| isNotGreaterThan | not "isGreaterThan" |
| isNotGreaterThanEqualTo | not "isGreaterThanEqualTo" |
| isNotInRange | not "isInRange" |
| isNotIpv4 | not "isIpv4" |
| isNotIpv6 | not "isIpv6" |
| isNotKebabCase | not "isKebabCase" |
| isNotLessThan | not "isLessThan" |
| isNotLessThanEqualTo | not "isLessThanEqualTo" |
| isNotLowerCase | not "isLowerCase" |
| isNotLuhn | not "isLuhn" |
| isNotMaxLength | not "isMaxLength" |
| isNotMinLength | not "isMinLength" |
| isNotNatural | not "isNatural" |
| isNotNaturalNonZero | not "isNaturalNonZero" |
| isNotNumeric | not "isNumeric" |
| isNotRequired | not "isRequired" |
| isNotSnakeCase | not "isSnakeCase" |
| isNotStartCase | not "isStartCase" |
| isNotUpperCase | not "isUpperCase" |
| isNotUrl | not "isUrl" |
| isNotUuid | not "isUuid" |
| isNull | lodash [isNull](https://lodash.com/docs/#isNull) |
| isNumber | lodash [isNumber](https://lodash.com/docs/#isNumber) |
| isNumeric | checkit validator [numeric](https://github.com/tgriesser/checkit#available-validators) |
| isObject | lodash [isObject](https://lodash.com/docs/#isObject) |
| isObjectLike | lodash [isObjectLike](https://lodash.com/docs/#isObjectLike) |
| isPlainObject | lodash [isPlainObject](https://lodash.com/docs/#isPlainObject) |
| isRegExp | lodash [isRegExp](https://lodash.com/docs/#isRegExp) |
| isRequired | checkit validator [required](https://github.com/tgriesser/checkit#available-validators) |
| isSafeInteger | lodash [isSafeInteger](https://lodash.com/docs/#isSafeInteger) |
| isSet | lodash [isSet](https://lodash.com/docs/#isSet) |
| isSnakeCase | lodash [snakeCase](https://lodash.com/docs/#snakeCase) |
| isStartCase | lodash [startCase](https://lodash.com/docs/#startCase) |
| isString | lodash [isString](https://lodash.com/docs/#isString) |
| isSymbol | lodash [isSymbol](https://lodash.com/docs/#isSymbol) |
| isTypedArray | lodash [isTypedArray](https://lodash.com/docs/#isTypedArray) |
| isUndefined | lodash [isUndefined](https://lodash.com/docs/#isUndefined) |
| isUpperCase | lodash [upperCase](https://lodash.com/docs/#upperCase) |
| isUrl | checkit "url" regex /^((http|https):\/\/(\w+:{0,1}\w*@)?(\S+)|)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/ |
| isUuid | checkit "uuid" regex /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i |
| isWeakMap | lodash [isWeakMap](https://lodash.com/docs/#isWeakMap) |
| isWeakSet | lodash [isWeakSet](https://lodash.com/docs/#isWeakSet) |
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