mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
chore: update deps
This commit is contained in:
parent
6df8127e77
commit
8bd71deebe
|
@ -91,7 +91,7 @@
|
||||||
"marked": "^0.3.12",
|
"marked": "^0.3.12",
|
||||||
"mobx": "^3.3.0",
|
"mobx": "^3.3.0",
|
||||||
"mobx-react": "^4.3.3",
|
"mobx-react": "^4.3.3",
|
||||||
"openapi-sampler": "1.0.0-beta.8",
|
"openapi-sampler": "1.0.0-beta.9",
|
||||||
"perfect-scrollbar": "^1.3.0",
|
"perfect-scrollbar": "^1.3.0",
|
||||||
"prismjs": "^1.8.1",
|
"prismjs": "^1.8.1",
|
||||||
"prop-types": "^15.6.0",
|
"prop-types": "^15.6.0",
|
||||||
|
@ -107,7 +107,6 @@
|
||||||
"@types/chai": "4.0.8"
|
"@types/chai": "4.0.8"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"mapCoverage": true,
|
|
||||||
"transform": {
|
"transform": {
|
||||||
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
||||||
},
|
},
|
||||||
|
|
|
@ -213,7 +213,7 @@ export class OpenAPIParser {
|
||||||
|
|
||||||
if (subSchema.properties !== undefined) {
|
if (subSchema.properties !== undefined) {
|
||||||
receiver.properties = receiver.properties || {};
|
receiver.properties = receiver.properties || {};
|
||||||
for (let prop in subSchema.properties) {
|
for (const prop in subSchema.properties) {
|
||||||
if (!receiver.properties[prop]) {
|
if (!receiver.properties[prop]) {
|
||||||
receiver.properties[prop] = subSchema.properties[prop];
|
receiver.properties[prop] = subSchema.properties[prop];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user