Socket
Socket
Sign inDemoInstall

formula-one

Package Overview
Dependencies
6
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.1 to 0.9.2

dist/index.d.ts

12

CHANGELOG.md
# Changelog
### v0.9.0
### v0.9.2
- Add TypeScript type definitions! 🎉
### v0.9.1
#### Breaking changes

@@ -9,2 +13,3 @@

- Bump internal flow version to 0.95.1.
- The React peer dependency was advanced to 16.8.0, since formula-one now uses hooks in its components. This also gets us ready for a hooks-based API!

@@ -50,2 +55,7 @@ #### New features

### v0.9.0
- Fumbled release. Has everything from 0.9.1 but also a bad peer dependency.
Use 0.9.1 instead.
### v0.8.2

@@ -52,0 +62,0 @@

9

package.json
{
"name": "formula-one",
"version": "0.9.1",
"version": "0.9.2",
"description": "Strongly-typed React form state management",

@@ -9,3 +9,3 @@ "author": "Zach Gotsch",

"main": "./dist/index.js",
"types": "./src/index.d.ts",
"types": "./dist/index.d.ts",
"files": [

@@ -16,4 +16,5 @@ "dist",

"scripts": {
"build": "babel -d dist/ src/",
"prepublishOnly": "yarn eslint ./src && yarn run flow && yarn run jest && yarn run build",
"prettier:all": "git ls-files | grep -Ev '^(flow-typed|dist)' | grep -E '\\.(js|ts|json|ya?ml|md)$' | xargs yarn prettier",
"build": "babel -d dist/ src/ --copy-files",
"prepublishOnly": "yarn run prettier:all --check && yarn eslint ./src && yarn run flow && yarn run jest && yarn run build",
"test": "jest"

@@ -20,0 +21,0 @@ },

@@ -416,2 +416,13 @@ # formula-one

</ObjectField>
<ErrorsHelper link={link}>
{({shouldShowErrors, flattened}) =>
shouldShowErrors ? (
<ul className="form-level-error">
{flattened.map(errorMessage => (
<li key={errorMessage}>{errorMessage}</li>
))}
</ul>
) : null
}
</ErrorsHelper>
<button onClick={handleSubmit}>Submit</button>

@@ -418,0 +429,0 @@ </>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc