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

formatic

Package Overview
Dependencies
Maintainers
6
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formatic - npm Package Compare versions

Comparing version 0.3.60 to 0.3.61

23

build/lib/components/helpers/pretty-text-input.js

@@ -165,8 +165,15 @@ 'use strict';

onBlur: function onBlur() {
var _this4 = this;
var blur = function blur() {
_this4.setState({ hasFocus: false });
_this4.props.onBlur();
};
if (this.isDebouncingCodeMirrorChange) {
this.onChangeAndTagCodeMirror();
this.isDebouncingCodeMirrorChange = false;
setTimeout(blur, 0);
} else {
blur();
}
this.setState({ hasFocus: false });
this.props.onBlur();
},

@@ -385,3 +392,3 @@

onCodeMirrorChange: function onCodeMirrorChange() {
var _this4 = this;
var _this5 = this;

@@ -400,5 +407,5 @@ var newValue = this.codeMirror.getValue();

this.debounceCodeMirrorChange = _.debounce(function () {
if (_this4.isDebouncingCodeMirrorChange) {
_this4.isDebouncingCodeMirrorChange = false;
_this4.onChangeAndTagCodeMirror();
if (_this5.isDebouncingCodeMirrorChange) {
_this5.isDebouncingCodeMirrorChange = false;
_this5.onChangeAndTagCodeMirror();
}

@@ -457,3 +464,3 @@ }, 200);

switchToCodeMirror: function switchToCodeMirror(cb) {
var _this5 = this;
var _this6 = this;

@@ -466,3 +473,3 @@ if (this.isReadOnly()) {

this.setState({ codeMirrorMode: true }, function () {
if (_this5.codeMirror && _.isFunction(cb)) {
if (_this6.codeMirror && _.isFunction(cb)) {
cb();

@@ -469,0 +476,0 @@ }

{
"name": "formatic",
"version": "0.3.60",
"version": "0.3.61",
"description": "Automatic, pluggable form generation",

@@ -5,0 +5,0 @@ "main": "./build/lib/formatic",

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