Skip to content

Commit

Permalink
[Dev Deps] update @babel/cli, @babel/core, @babel/eslint-parser
Browse files Browse the repository at this point in the history
…, `@babel/plugin-transform-flow-strip-types`, `eslint-config-airbnb-base`
  • Loading branch information
ljharb committed Nov 10, 2021
1 parent d143cba commit 4043d31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -31,15 +31,15 @@
"jest": "jest --coverage __tests__/**/*"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/eslint-parser": "^7.15.8",
"@babel/plugin-transform-flow-strip-types": "^7.14.5",
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/plugin-transform-flow-strip-types": "^7.16.0",
"aud": "^1.1.5",
"babel-jest": "^24.9.0",
"babel-preset-airbnb": "^5.0.0",
"eslint": "^3 || ^4 || ^5 || ^6 || ^7",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-eslint-plugin": "^4.0.2",
"eslint-plugin-flowtype": "^5.8.0",
"eslint-plugin-import": "^2.25.2",
Expand Down
2 changes: 1 addition & 1 deletion src/util/schemas.js
Expand Up @@ -26,7 +26,7 @@ export const enumArraySchema = (enumeratedList = [], minItems = 0) => ({
* Factory function to generate an object schema
* with specified properties object
*/
export const generateObjSchema = (properties = {}, required) => ({
export const generateObjSchema = (properties = {}, required = undefined) => ({
type: 'object',
properties,
required,
Expand Down

0 comments on commit 4043d31

Please sign in to comment.