Skip to content

Commit 6c5cb71

Browse files
committed
bump JS deps
1 parent 3483d70 commit 6c5cb71

14 files changed

+498
-363
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
* Symfony: Do not override Vary headers already set in the Response
2727
* Symfony: Make Twig dependency lazy (#4187)
2828
* Compatibility with `psr/cache` version 2 and 3 (#4117)
29+
* Docs: Upgrade Swagger UI to version 3.46.0
30+
* Docs: Upgrade ReDoc to version 2.0.0-rc.51
31+
* Docs: Upgrade GraphiQL to version 1.4.1
2932

3033
## 2.6.3
3134

src/Bridge/Symfony/Bundle/Resources/public/graphiql/graphiql.css

+2-4
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,8 @@ li.CodeMirror-hint-active {
15841584

15851585
.graphiql-container .search-box {
15861586
border-bottom: 1px solid #d3d6db;
1587-
display: block;
1587+
display: flex;
1588+
align-items: center;
15881589
font-size: 14px;
15891590
margin: -15px -15px 12px 0;
15901591
position: relative;
@@ -1594,8 +1595,6 @@ li.CodeMirror-hint-active {
15941595
cursor: pointer;
15951596
display: block;
15961597
font-size: 24px;
1597-
position: absolute;
1598-
top: -2px;
15991598
transform: rotate(-45deg);
16001599
user-select: none;
16011600
}
@@ -1609,7 +1608,6 @@ li.CodeMirror-hint-active {
16091608
padding: 1px 5px 2px;
16101609
position: absolute;
16111610
right: 3px;
1612-
top: 8px;
16131611
user-select: none;
16141612
border: 0;
16151613
}

src/Bridge/Symfony/Bundle/Resources/public/graphiql/graphiql.min.js

+2-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bridge/Symfony/Bundle/Resources/public/react/react-dom.production.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bridge/Symfony/Bundle/Resources/public/react/react.production.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bridge/Symfony/Bundle/Resources/public/redoc/redoc.standalone.js

+31-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/oauth2-redirect.html

+11-10
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
<title>Swagger UI: OAuth2 Redirect</title>
55
</head>
66
<body>
7-
</body>
8-
</html>
97
<script>
108
'use strict';
119
function run () {
@@ -20,19 +18,20 @@
2018
qp = location.search.substring(1);
2119
}
2220

23-
arr = qp.split("&")
24-
arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';})
21+
arr = qp.split("&");
22+
arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';});
2523
qp = qp ? JSON.parse('{' + arr.join() + '}',
2624
function (key, value) {
27-
return key === "" ? value : decodeURIComponent(value)
25+
return key === "" ? value : decodeURIComponent(value);
2826
}
29-
) : {}
27+
) : {};
3028

31-
isValid = qp.state === sentState
29+
isValid = qp.state === sentState;
3230

3331
if ((
34-
oauth2.auth.schema.get("flow") === "accessCode"||
35-
oauth2.auth.schema.get("flow") === "authorizationCode"
32+
oauth2.auth.schema.get("flow") === "accessCode" ||
33+
oauth2.auth.schema.get("flow") === "authorizationCode" ||
34+
oauth2.auth.schema.get("flow") === "authorization_code"
3635
) && !oauth2.auth.code) {
3736
if (!isValid) {
3837
oauth2.errCb({
@@ -48,7 +47,7 @@
4847
oauth2.auth.code = qp.code;
4948
oauth2.callback({auth: oauth2.auth, redirectUrl: redirectUrl});
5049
} else {
51-
let oauthErrorMsg
50+
let oauthErrorMsg;
5251
if (qp.error) {
5352
oauthErrorMsg = "["+qp.error+"]: " +
5453
(qp.error_description ? qp.error_description+ ". " : "no accessCode received from the server. ") +
@@ -72,3 +71,5 @@
7271
run();
7372
});
7473
</script>
74+
</body>
75+
</html>

src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/swagger-ui-bundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/swagger-ui-bundle.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/swagger-ui-standalone-preset.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/swagger-ui-standalone-preset.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/swagger-ui.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/swagger-ui.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)