Socket
Socket
Sign inDemoInstall

nuke-input

Package Overview
Dependencies
16
Maintainers
3
Versions
185
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.43 to 1.0.44

5

HISTORY.md
# Changelog
## 1.0.44 / 2018-01-13
* [[8021f80](http://gitlab.alibaba-inc.com/nuke/input/commit/8021f8073e5a8fb1462a97d53a4340613b17758c)] - `fix` fix input empty value error
* [[f55cad5](http://gitlab.alibaba-inc.com/nuke/input/commit/f55cad5cfe5fa46d894e9f2f1fa8a16a72ee02d7)] - `fix` fix value empty bug
## 1.0.43 / 2018-01-12

@@ -5,0 +10,0 @@

5

lib/mods/input-component.js

@@ -42,3 +42,3 @@ 'use strict';

value: function changeHandler(e) {
var value = e.target.value || e.value;
var value = (0, _util.getText)(e);

@@ -50,3 +50,3 @@ var maxLength = this.props.maxLength;

if ('value' in this.props) {
this.setState({ value: (0, _util.getText)(e) });
this.setState({ value: value });
}

@@ -84,3 +84,2 @@ this.trigger('onChange', value, (0, _util.genEventObject)(e));

value: function focusHandler(e) {
this.trigger('onFocus', e);

@@ -87,0 +86,0 @@ }

2

package.json
{
"name": "nuke-input",
"version": "1.0.43",
"version": "1.0.44",
"description": "输入框",

@@ -5,0 +5,0 @@ "main": "lib/index",

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