Skip to content

Commit

Permalink
Updates for resolving minimist security vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
gerhat committed Mar 29, 2020
1 parent dfdcf4a commit 48866c3
Show file tree
Hide file tree
Showing 5 changed files with 685 additions and 1,904 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
### [Versions](https://github.com/gerhat/material-ui-formik-components/releases)

## 0.6.1
###### _Mar 29, 2020_
- Package updates for fixing `minimist` security vulnerability

## 0.6.0
###### _Mar 8, 2020_
### General
Expand Down
36 changes: 18 additions & 18 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,48 +11,48 @@
"main": "src/index.js",
"dependencies": {
"@date-io/date-fns": "^1.3.13",
"@material-ui/core": "^4.9.5",
"@material-ui/lab": "^4.0.0-alpha.45",
"@material-ui/core": "^4.9.8",
"@material-ui/lab": "^4.0.0-alpha.47",
"@material-ui/pickers": "^3.2.10",
"date-fns": "^2.10.0",
"date-fns": "^2.11.1",
"formik": "^2.1.4",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"yup": "^0.28.3"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.6",
"babel-loader": "^8.1.0",
"babel-plugin-module-resolver": "^4.0.0",
"clean-webpack-plugin": "^3.0.0",
"cross-env": "^7.0.2",
"css-loader": "^3.4.2",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard": "^14.1.1",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-standard": "^4.0.1",
"eslint-watch": "^6.0.1",
"file-loader": "^5.1.0",
"fs-extra": "^8.1.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"jest": "^25.1.0",
"file-loader": "^6.0.0",
"fs-extra": "^9.0.0",
"html-loader": "^1.0.0",
"html-webpack-plugin": "^4.0.3",
"jest": "^25.2.3",
"node-sass": "^4.13.1",
"rimraf": "3.0.2",
"sass-loader": "^8.0.2",
"style-loader": "^1.1.3",
"webpack": "^4.42.0",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
Expand Down
6 changes: 3 additions & 3 deletions example/src/SimpleFormExample.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ const SimpleFormExample = () => (
validationSchema={validationSchema}
validateOnBlur={false}
validateOnChange
onSubmit={values => {
onSubmit={(values) => {
// eslint-disable-next-line no-alert
window.alert(`
Username: ${values.username}
Gender: ${values.gender}
Country: ${values.country.label}
Skills: ${values.skills.map(v => v.label).join(',')}
Skills: ${values.skills.map((v) => v.label).join(',')}
Birth date: ${values.birthdate}`)
}}
>
{formik => (
{(formik) => (
<Form noValidate autoComplete="off">
<Field
required
Expand Down
Loading

0 comments on commit 48866c3

Please sign in to comment.