🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@seges/angular-validators

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seges/angular-validators - npm Package Compare versions

Comparing version
3.1.0
to
3.1.1
+1
-1
package.json
{
"name": "@seges/angular-validators",
"version": "3.1.0",
"version": "3.1.1",
"description": "",

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

@@ -19,3 +19,6 @@ import { IValidator } from "../IValidator";

let floatValue = value.replace(",", ".");
// The toString() is invoked to ensure it is actually a string we manipulate.
// Input elements in IE pass values as strings while the model can pass values as numbers.
// hence this workaround is required.
let floatValue = value.toString().replace(",", ".");
floatValue.toString().split(".");

@@ -22,0 +25,0 @@ let decimals = floatValue.toString().split(".")[1];

@@ -32,3 +32,6 @@ import { IValidator } from "../IValidator";

let floatValue = value.replace(",", ".");
// The toString() is invoked to ensure it is actually a string we manipulate.
// Input elements in IE pass values as strings while the model can pass values as numbers.
// hence this workaround is required.
let floatValue = value.toString().replace(",", ".");
let floatMaxValue = attrs.maxValue.replace(",", ".");

@@ -35,0 +38,0 @@

@@ -32,3 +32,6 @@ import { IValidator } from "../IValidator";

let floatValue = value.replace(",", ".");
// The toString() is invoked to ensure it is actually a string we manipulate.
// Input elements in IE pass values as strings while the model can pass values as numbers.
// hence this workaround is required.
let floatValue = value.toString().replace(",", ".");
let floatMinValue = attrs.minValue.replace(",", ".");

@@ -35,0 +38,0 @@