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

formik

Package Overview
Dependencies
Maintainers
1
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formik - npm Package Compare versions

Comparing version 2.0.1-rc.6 to 2.0.1-rc.7

dist/formik.cjs.production.min.js

5

dist/Form.d.ts
import * as React from 'react';
export declare type FormikFormProps = Pick<React.FormHTMLAttributes<HTMLFormElement>, Exclude<keyof React.FormHTMLAttributes<HTMLFormElement>, 'onReset' | 'onSubmit'>>;
export declare function Form(props: FormikFormProps): JSX.Element;
export declare namespace Form {
declare function Form(props: FormikFormProps): JSX.Element;
declare namespace Form {
var displayName: string;
}
export default Form;

12

dist/index.js
'use strict'
'use strict'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./formik.cjs.production.js')
} else {
module.exports = require('./formik.cjs.development.js')
}
if (process.env.NODE_ENV === 'production') {
module.exports = require('./formik.cjs.production.min.js')
} else {
module.exports = require('./formik.cjs.development.js')
}

@@ -6,6 +6,6 @@ import * as React from 'react';

export declare type FormikErrors<Values> = {
[K in keyof Values]?: Values[K] extends object ? FormikErrors<Values[K]> : string;
[K in keyof Values]?: Values[K] extends any[] ? Values[K][number] extends object ? FormikErrors<Values[K][number]>[] | string | string[] : string | string[] : Values[K] extends object ? FormikErrors<Values[K]> : string;
};
export declare type FormikTouched<Values> = {
[K in keyof Values]?: Values[K] extends object ? FormikTouched<Values[K]> : boolean;
[K in keyof Values]?: Values[K] extends any[] ? Values[K][number] extends object ? FormikTouched<Values[K][number]>[] : boolean : Values[K] extends object ? FormikTouched<Values[K]> : boolean;
};

@@ -12,0 +12,0 @@ export interface FormikState<Values> {

{
"name": "formik",
"description": "Forms in React, without tears",
"version": "2.0.1-rc.6",
"version": "2.0.1-rc.7",
"license": "MIT",

@@ -20,3 +20,3 @@ "author": "Jared Palmer <jared@palmer.net>",

"umd:main": "dist/formik.umd.production.js",
"module": "dist/formik.es.production.js",
"module": "dist/formik.esm.js",
"typings": "dist/index.d.ts",

@@ -34,3 +34,3 @@ "files": [

"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production tsdx build",
"build": "cross-env NODE_ENV=production tsdx build --format=cjs,esm,umd",
"prepublish": "npm run build",

@@ -100,3 +100,3 @@ "format": "prettier --trailing-comma es5 --single-quote --write 'src/**/*' 'test/**/*' 'README.md'",

"rimraf": "^2.6.2",
"tsdx": "^0.6.1",
"tsdx": "^0.7.2",
"typescript": "^3.5.1",

@@ -103,0 +103,0 @@ "webpack": "^4.31.0",

@@ -15,3 +15,3 @@ ![](https://user-images.githubusercontent.com/4060187/27243721-3b5219d0-52b1-11e7-96f1-dae8391a3ef6.png)

**The below readme is the documentation for the `next` (prerelease) branch. To view the documentation for the latest stable Formik version visit [jaredpalmer.com/formik/docs](https://jaredpalmer.com/formik/docs/overview)**
**The below readme is the documentation for the `next` (prerelease) version of Formik. To view the documentation for the latest stable Formik version visit [jaredpalmer.com/formik/docs](https://jaredpalmer.com/formik/docs/overview)**

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