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

@tspower/check

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tspower/check - npm Package Compare versions

Comparing version 1.0.7 to 1.2.0

2

lib/check.js

@@ -71,3 +71,3 @@ "use strict";

value = value.toString();
if (value.match(regexpr_1.float))
if (value.match(regexpr_1.negative))
return true;

@@ -74,0 +74,0 @@ return false;

{
"name": "@tspower/check",
"version": "1.0.7",
"version": "1.2.0",
"description": "Simple Collection of checks functions",

@@ -42,3 +42,3 @@ "main": "./lib/check.js",

"dependencies": {
"@tspower/regexpr": "^1.1.0"
"@tspower/regexpr": "^1.2.0"
},

@@ -45,0 +45,0 @@ "bugs": {

@@ -7,12 +7,12 @@ # Check ![alt text](https://ppbusinessproject.visualstudio.com/TSPowerOne/_apis/build/status/TsPowerOne.Check?branchName=master)

## Methods
isEmpty(value: any): boolean;
notEmpty(value: any): boolean;
isInteger(value: any): boolean;
isFloat(value: any): boolean;
isNegative(value: any): boolean;
isItalianZipCode(value: any): boolean;
isEmail(value: any): boolean;
isGenericPhoneNumber(value: any): boolean;
isItalianMobilePhoneNumber(value: any): boolean;
## Methods Available
1 - isEmpty(value: any): boolean;
2 - notEmpty(value: any): boolean;
3 - isInteger(value: any): boolean;
4 - isFloat(value: any): boolean;
5 - isNegative(value: any): boolean;
6 - isItalianZipCode(value: any): boolean;
7 - isEmail(value: any): boolean;
8 - isGenericPhoneNumber(value: any): boolean;
9 - isItalianMobilePhoneNumber(value: any): boolean;

@@ -19,0 +19,0 @@ ## Install

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