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

input-format

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

input-format - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

11

build/react input.js

@@ -121,7 +121,14 @@ 'use strict';

if (onBlur) {
onBlur((0, _extends3.default)({}, event, {
var _event = (0, _extends3.default)({}, event, {
target: (0, _extends3.default)({}, event.target, {
value: this.input_controller.getParsedValue().value
})
}));
});
// For `redux-form` event detection.
// https://github.com/erikras/redux-form/blob/v5/src/events/isEvent.js
_event.stopPropagation = event.stopPropagation;
_event.preventDefault = event.preventDefault;
onBlur(_event);
}

@@ -128,0 +135,0 @@ }

@@ -82,7 +82,14 @@ import _extends from 'babel-runtime/helpers/extends';

if (onBlur) {
onBlur(_extends({}, event, {
var _event = _extends({}, event, {
target: _extends({}, event.target, {
value: this.input_controller.getParsedValue().value
})
}));
});
// For `redux-form` event detection.
// https://github.com/erikras/redux-form/blob/v5/src/events/isEvent.js
_event.stopPropagation = event.stopPropagation;
_event.preventDefault = event.preventDefault;
onBlur(_event);
}

@@ -89,0 +96,0 @@ }

2

package.json
{
"name": "input-format",
"version": "0.1.6",
"version": "0.1.7",
"description": "Formatting user's text input on-the-fly",

@@ -5,0 +5,0 @@ "main": "index.common.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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