Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed May 29, 2021
1 parent c87614c commit bcb2274
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 186 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
"@types/fs-extra": "9.0.11",
"@types/lodash": "4.14.170",
"@types/minimist": "1.2.1",
"@types/node": "15.6.0",
"@types/node": "15.6.1",
"@types/webpack": "5.28.0",
"@typescript-eslint/eslint-plugin": "4.24.0",
"@typescript-eslint/parser": "4.24.0",
"autoprefixer": "10.2.5",
"@typescript-eslint/eslint-plugin": "4.25.0",
"@typescript-eslint/parser": "4.25.0",
"autoprefixer": "10.2.6",
"clean-css-cli": "5.3.0",
"clean-release": "2.15.2",
"clean-scripts": "1.20.1",
"eslint": "7.26.0",
"eslint": "7.27.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-plantain": "1.1.0",
"file2variable-cli": "2.0.1",
Expand All @@ -51,13 +51,13 @@
"rimraf": "3.0.2",
"stylelint": "13.13.1",
"stylelint-config-standard": "22.0.0",
"ts-loader": "9.2.1",
"ts-node": "9.1.1",
"ts-loader": "9.2.2",
"ts-node": "10.0.0",
"tsconfig-plantain": "0.0.1",
"type-coverage": "2.17.5",
"vue": "3.1.0-beta.3",
"vue": "3.1.0-beta.6",
"watch-then-execute": "1.2.0",
"webpack": "5.37.1",
"webpack": "5.38.1",
"webpack-cli": "4.7.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/json-schema-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function getJsonSchemaPropertyOfObject(memberType: ObjectDeclaration | ObjectTyp
let additionalProperties: Definition | boolean | undefined
if (memberType.additionalProperties === undefined) {
additionalProperties = context.looseMode ? undefined : false
} else if (memberType.additionalProperties === true || memberType.additionalProperties === false) {
} else if (typeof memberType.additionalProperties === 'boolean') {
additionalProperties = memberType.additionalProperties
} else {
additionalProperties = getJsonSchemaProperty(memberType.additionalProperties, context)
Expand Down
Loading

0 comments on commit bcb2274

Please sign in to comment.