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

uniforms

Package Overview
Dependencies
Maintainers
1
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uniforms - npm Package Compare versions

Comparing version 3.0.0-rc.7 to 3.0.0-rc.8

14

es5/BaseForm.js

@@ -134,10 +134,10 @@ "use strict";

}
if (this.props.autosaveDelay > 0) {
this.delayId = setTimeout(function () {
// Delay autosave by `autosaveDelay` milliseconds...
this.delayId = setTimeout(function () {
// ...and wait for all scheduled `setState`s to commit. This is required
// for AutoForm to validate correct model, waiting in `onChange`.
_this.setState(function () { return null; }, function () {
_this.onSubmit();
}, this.props.autosaveDelay);
}
else {
this.onSubmit();
}
});
}, this.props.autosaveDelay);
}

@@ -144,0 +144,0 @@ };

@@ -122,10 +122,10 @@ import clone from 'lodash/clone';

}
if (this.props.autosaveDelay > 0) {
this.delayId = setTimeout(() => {
// Delay autosave by `autosaveDelay` milliseconds...
this.delayId = setTimeout(() => {
// ...and wait for all scheduled `setState`s to commit. This is required
// for AutoForm to validate correct model, waiting in `onChange`.
this.setState(() => null, () => {
this.onSubmit();
}, this.props.autosaveDelay);
}
else {
this.onSubmit();
}
});
}, this.props.autosaveDelay);
}

@@ -132,0 +132,0 @@ }

{
"name": "uniforms",
"version": "3.0.0-rc.7",
"version": "3.0.0-rc.8",
"license": "MIT",

@@ -35,3 +35,3 @@ "main": "es5/index.js",

},
"gitHead": "27681eb8621469b6ecd15d11ca7acbfee665feab"
"gitHead": "218bdd0f64c660d1ddfb22d45ff3916e03c5a31e"
}

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