Socket
Socket
Sign inDemoInstall

formula-one

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

formula-one - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

CHANGELOG.md
# Changelog
### v0.3.1
- Unbreak a test.
### v0.3.0

@@ -4,0 +8,0 @@

14

dist/test/Form.test.js

@@ -631,7 +631,11 @@ "use strict";

function (_, onSubmit) {
// $ExpectError
onSubmit();
// $ExpectError
onSubmit("hello");
onSubmit("extra");
return React.createElement("button", {
onClick: function onClick() {
// $ExpectError
onSubmit();
// $ExpectError
onSubmit("hello");
onSubmit("extra");
}
});
}

@@ -638,0 +642,0 @@ ));

{
"name": "formula-one",
"version": "0.3.0",
"version": "0.3.1",
"description": "Strongly-typed React form state management",

@@ -5,0 +5,0 @@ "author": "Zach Gotsch",

@@ -521,9 +521,13 @@ // @flow

>
{(_, onSubmit) => {
// $ExpectError
onSubmit();
// $ExpectError
onSubmit("hello");
onSubmit("extra");
}}
{(_, onSubmit) => (
<button
onClick={() => {
// $ExpectError
onSubmit();
// $ExpectError
onSubmit("hello");
onSubmit("extra");
}}
/>
)}
</Form>

@@ -530,0 +534,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