Socket
Socket
Sign inDemoInstall

vue-formular

Package Overview
Dependencies
66
Maintainers
1
Versions
196
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.88 to 1.1.89

lib/validation/rules/get-comparative-rule-value.js

6

lib/validation/rules/greater-than.js

@@ -0,1 +1,3 @@

var getValue = require('./get-comparative-rule-value');
module.exports = function(that) {

@@ -11,4 +13,4 @@

var value1 = !!isNaN(that.value) || typeof that.value=='object'?that.value:parseFloat(that.value);
var value2 = !!isNaN(otherField.value) || typeof otherField.value=='object'?otherField.value:parseFloat(otherField.value);
var value1 = getValue(that.value);
var value2 = getValue(otherField.value);

@@ -15,0 +17,0 @@ return value1 > value2;

@@ -0,1 +1,3 @@

var getValue = require('./get-comparative-rule-value');
module.exports = function(that) {

@@ -11,6 +13,6 @@

var value1 = !!isNaN(that.value) || typeof that.value=='object'?that.value:parseFloat(that.value);
var value2 = !!isNaN(otherField.value) || typeof otherField.value=='object'?otherField.value:parseFloat(otherField.value);
var value1 = getValue(that.value);
var value2 = getValue(otherField.value);
return value1 < value2;
}
{
"name": "vue-formular",
"description": "a comprehensive vue.js form component",
"version": "1.1.88",
"version": "1.1.89",
"keywords": [

@@ -6,0 +6,0 @@ "vue",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc