@vyacheslav97/ct
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,7 +0,7 @@ | ||
export const integerNumberRegex = /^([+-]?([1-9]\d*)|0)$/gi; | ||
export const unsignedIntegerNumberRegex = /^(([1-9]\d*)|0)$/gi; | ||
export const negativeIntegerNumberRegex = /^(-([1-9]\d*)|0)$/gi; | ||
export const floatNumberRegex = /^(([+-]?(0(?!\d)|[1-9]\d*))\.?\d*)$/gi; | ||
export const unsignedFloatNumberRegex = /^((0(?!\d)|[1-9]\d*)\.?\d*)$/gi; | ||
export const negativeFloatingPointNumberRegex = /^(-(0(?!\d)|[1-9]\d*)\.?\d*)$/gi; | ||
export const exponentialNumberFormatRegex = /^((([+-]?(0(?!\d)|[1-9]\d*))\.?\d*)([eE])(-?([1-9]\d*)|0))$/gi; | ||
export const integerNumberRegex = /^([+-]?([1-9]\d*)|0)$/i; | ||
export const unsignedIntegerNumberRegex = /^(([1-9]\d*)|0)$/i; | ||
export const negativeIntegerNumberRegex = /^(-([1-9]\d*)|0)$/i; | ||
export const floatNumberRegex = /^(([+-]?(0(?!\d)|[1-9]\d*))\.?\d*)$/i; | ||
export const unsignedFloatNumberRegex = /^((0(?!\d)|[1-9]\d*)\.?\d*)$/i; | ||
export const negativeFloatingPointNumberRegex = /^(-(0(?!\d)|[1-9]\d*)\.?\d*)$/i; | ||
export const exponentialNumberFormatRegex = /^((([+-]?(0(?!\d)|[1-9]\d*))\.?\d*)([eE])(-?([1-9]\d*)|0))$/i; |
{ | ||
"type": "module", | ||
"name": "@vyacheslav97/ct", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -9,7 +9,5 @@ # <u>Common tools (ct, also @vyacheslav97/ct)</u> | ||
Current version renewals (1.0.0) (see **Prerequesites** a bit below): | ||
Current version renewals (1.0.1) (see **Prerequesites** a bit below): | ||
- All interfaces and implementations can be imported directly from package (all imports are named) | ||
- Code and autocomplete works properly with import | ||
- **isNumber** now can be used as a type guard properly | ||
- Number regular expressions fix: g flag was removed to handle regexp test method consistently (avoiding hidden index impact) | ||
@@ -16,0 +14,0 @@ Next scheduled **major** updates: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68949
670