Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
chore(deps): upgrading oas to 5.2.1 (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored Nov 10, 2020
1 parent 15a81f4 commit e1dac43
Show file tree
Hide file tree
Showing 7 changed files with 230 additions and 15 deletions.
81 changes: 76 additions & 5 deletions packages/api-explorer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/api-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"fetch-har": "^4.0.2",
"js-cookie": "^2.1.4",
"lodash.kebabcase": "^4.1.1",
"oas": "^5.2.0",
"oas": "^5.2.1",
"prop-types": "^15.7.2",
"react-copy-to-clipboard": "^5.0.1",
"react-debounce-input": "^3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/api-explorer/src/lib/content-type-is-json.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function contentTypeIsJson(contentType) {
const jsonContentTypes = ['application/json', '+json'];
const jsonContentTypes = ['application/json', 'application/x-json', 'text/json', 'text/x-json', '+json', '*/*'];
return jsonContentTypes.some(ct => contentType.includes(ct));
}

Expand Down
78 changes: 75 additions & 3 deletions packages/oas-to-har/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/oas-to-har/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"@readme/oas-extensions": "^9.0.0",
"oas": "^5.2.0",
"oas": "^5.2.1",
"parse-data-url": "^3.0.0"
},
"devDependencies": {
Expand Down
78 changes: 75 additions & 3 deletions packages/oas-to-snippet/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/oas-to-snippet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@readme/oas-to-har": "^9.2.1",
"@readme/syntax-highlighter": "^10.2.0",
"httpsnippet-client-api": "^2.4.4",
"oas": "^5.2.0"
"oas": "^5.2.1"
},
"devDependencies": {
"@readme/eslint-config": "^3.2.0",
Expand Down

0 comments on commit e1dac43

Please sign in to comment.