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

@vaadin/number-field

Package Overview
Dependencies
Maintainers
19
Versions
409
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/number-field - npm Package Compare versions

Comparing version 23.0.0-alpha1 to 23.0.0-alpha2

16

package.json
{
"name": "@vaadin/number-field",
"version": "23.0.0-alpha1",
"version": "23.0.0-alpha2",
"publishConfig": {

@@ -35,8 +35,8 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.0.0-alpha1",
"@vaadin/field-base": "23.0.0-alpha1",
"@vaadin/input-container": "23.0.0-alpha1",
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha1",
"@vaadin/vaadin-material-styles": "23.0.0-alpha1",
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha1"
"@vaadin/component-base": "23.0.0-alpha2",
"@vaadin/field-base": "23.0.0-alpha2",
"@vaadin/input-container": "23.0.0-alpha2",
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha2",
"@vaadin/vaadin-material-styles": "23.0.0-alpha2",
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha2"
},

@@ -48,3 +48,3 @@ "devDependencies": {

},
"gitHead": "fbcb07328fdf88260e3b461088d207426b21c710"
"gitHead": "070f586dead02ca41b66717820c647f48bf1665f"
}

@@ -304,9 +304,7 @@ /**

incr = 0;
} else if (this._getIncrement(1, value - this.step) > this.max) {
value -= 2 * this.step;
// FIXME(yuriy): find a proper solution to make correct step back
} else {
// FIXME(yuriy): find a proper solution to make correct step back
if (this._getIncrement(1, value - this.step) > this.max) {
value -= 2 * this.step;
} else {
value -= this.step;
}
value -= this.step;
}

@@ -352,5 +350,4 @@ }

return (currentValue - (margin || step)) / multiplier;
} else {
return currentValue / multiplier;
}
return currentValue / multiplier;
}

@@ -368,3 +365,3 @@

if (!isNaN(number)) {
return Math.pow(10, this._getDecimalCount(number));
return 10 ** this._getDecimalCount(number);
}

@@ -379,5 +376,4 @@ }

return this.max == null || this._getIncrement(incr, value) <= this.max;
} else {
return this._getIncrement(incr, value) <= this.max && this._getIncrement(incr, value) >= this.min;
}
return this._getIncrement(incr, value) <= this.max && this._getIncrement(incr, value) >= this.min;
}

@@ -477,5 +473,4 @@

return this.inputElement.checkValidity();
} else {
return !this.invalid;
}
return !this.invalid;
}

@@ -482,0 +477,0 @@ }

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