Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R11DT-2594 Update URL-parse package to 1.5.10 #166

Closed
wants to merge 239 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
91858cc
chore(release): cut the v3.50.0 release
swagger-bot Jun 3, 2021
c98870e
chore(deps): bump ws from 6.2.1 to 6.2.2
dependabot[bot] Jun 3, 2021
a30bfd3
Merge pull request #7333 from swagger-api/dependabot/npm_and_yarn/ws-…
dependabot[bot] Jun 3, 2021
59002b0
chore(deps-dev): bump autoprefixer from 10.2.5 to 10.2.6
dependabot[bot] Jun 3, 2021
ea64ce8
Merge pull request #7320 from swagger-api/dependabot/npm_and_yarn/aut…
dependabot[bot] Jun 3, 2021
76ce1da
chore(deps): bump dompurify from 2.2.8 to 2.2.9
dependabot[bot] Jun 4, 2021
a7e902e
Merge pull request #7335 from swagger-api/dependabot/npm_and_yarn/dom…
dependabot[bot] Jun 4, 2021
3a0f72f
fix(ui): parameter placeholder should only display `name` (#7123)
vahpetr Jun 9, 2021
89146ba
chore(deps-dev): bump jest from 26.6.3 to 27.0.4 (#7334)
dependabot[bot] Jun 17, 2021
87ded99
fix(sample-gen): oas3 form-data object should generate example (#7355)
tim-lai Jun 18, 2021
14be45d
fix(try-it-out): button and inner text spacing (#7357)
tim-lai Jun 21, 2021
f40aa14
chore(deps-dev): add [email protected], remove node-sass (#7362)
tim-lai Jun 22, 2021
1032d92
chore: prep repo for node.js v10 EOL (#7359)
tim-lai Jun 22, 2021
13c110a
feat(oas3): Show file upload for schema binary format (#7325)
neiser Jun 22, 2021
1128a76
chore(deps-dev): bump @babel/plugin-proposal-class-properties (#7364)
dependabot[bot] Jun 23, 2021
8a0489d
chore(release): cut the v3.51.0 release
swagger-bot Jun 23, 2021
2f97b31
chore(deps-dev): bump cypress from 6.7.1 to 7.5.0 (#7366)
tim-lai Jun 23, 2021
951164b
chore(deps-dev): bump eslint-plugin-mocha from 8.1.0 to 9.0.0 (#7336)
dependabot[bot] Jun 23, 2021
ebf9eaf
chore(deps-dev): bump lint-staged from 10.5.4 to 11.0.0 (#7256)
dependabot[bot] Jun 23, 2021
95b05f1
chore(deps-dev): bump release-it from 13.7.1 to 14.10.0 (#7367)
tim-lai Jun 23, 2021
be5d9e9
chore(deps-dev): bump @babel/plugin-transform-runtime
dependabot[bot] Jun 24, 2021
517c50b
Merge pull request #7368 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Jun 24, 2021
11c25be
chore(deps): bump @babel/runtime-corejs3 from 7.14.0 to 7.14.7
dependabot[bot] Jun 24, 2021
042ccc0
Merge pull request #7370 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Jun 24, 2021
2c771f7
chore(deps): bump @braintree/sanitize-url from 5.0.1 to 5.0.2
dependabot[bot] Jun 24, 2021
88fdad5
Merge pull request #7373 from swagger-api/dependabot/npm_and_yarn/bra…
dependabot[bot] Jun 24, 2021
14b7176
chore(deps-dev): bump @babel/plugin-proposal-optional-chaining
dependabot[bot] Jun 24, 2021
fd31ed0
Merge pull request #7371 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Jun 24, 2021
96d5218
chore(ga): cache cypress binary (#7377)
tim-lai Jun 24, 2021
de3d063
fix(sample-gen): parameter array missing items fallback (#7376)
tim-lai Jun 24, 2021
70723ad
chore(deps-dev): bump @babel/preset-env from 7.14.2 to 7.14.7
dependabot[bot] Jun 25, 2021
d39517c
Merge pull request #7380 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Jun 25, 2021
5654b92
chore(deps-dev): bump eslint-plugin-import from 2.23.3 to 2.23.4
dependabot[bot] Jun 25, 2021
e752ccc
Merge pull request #7384 from swagger-api/dependabot/npm_and_yarn/esl…
dependabot[bot] Jun 25, 2021
b40858b
chore(deps-dev): bump @babel/cli from 7.14.3 to 7.14.5
dependabot[bot] Jun 25, 2021
33e9772
Merge pull request #7382 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Jun 25, 2021
0bd5378
chore(deps-dev): bump @babel/plugin-proposal-nullish-coalescing-operator
dependabot[bot] Jun 25, 2021
1357c18
Merge pull request #7387 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Jun 25, 2021
cf18c5b
chore(deps-dev): bump @babel/core from 7.14.2 to 7.14.6
dependabot[bot] Jun 25, 2021
9b10372
Merge pull request #7383 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Jun 25, 2021
08ea4a6
chore(deps-dev): bump @babel/preset-react from 7.13.13 to 7.14.5
dependabot[bot] Jun 25, 2021
37b4a24
Merge pull request #7390 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Jun 25, 2021
fe12278
#R11DT-341 Swagger UI first approach (#10)
leandroalmeida97 Jun 29, 2021
a366307
fix a bug
leandroalmeida97 Jun 29, 2021
3bea701
chore(deps-dev): bump @jest/globals from 26.6.2 to 27.0.6 (#7393)
dependabot[bot] Jun 30, 2021
4cdfaaa
chore(deps-dev): bump @babel/register from 7.13.16 to 7.14.5
dependabot[bot] Jun 30, 2021
5c1befa
Merge pull request #7391 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Jun 30, 2021
3e436f8
chore(deps-dev): bump eslint from 7.27.0 to 7.29.0
dependabot[bot] Jun 30, 2021
db12458
Merge pull request #7399 from swagger-api/dependabot/npm_and_yarn/esl…
dependabot[bot] Jun 30, 2021
d37ed1c
chore(deps-dev): bump nightwatch from 1.6.4 to 1.7.7
dependabot[bot] Jun 30, 2021
dbff87b
Merge pull request #7395 from swagger-api/dependabot/npm_and_yarn/nig…
dependabot[bot] Jun 30, 2021
bb21c6d
chore(release): cut the v3.51.1 release
swagger-bot Jun 30, 2021
e3af8dc
chore(deps-dev): bump jest from 27.0.4 to 27.0.6
dependabot[bot] Jul 1, 2021
5ccc9b9
Merge pull request #7400 from swagger-api/dependabot/npm_and_yarn/jes…
dependabot[bot] Jul 1, 2021
c5dad83
chore(deps-dev): bump webpack-cli from 4.7.0 to 4.7.2
dependabot[bot] Jul 1, 2021
1fbf3d2
Merge pull request #7401 from swagger-api/dependabot/npm_and_yarn/web…
dependabot[bot] Jul 1, 2021
4b612ab
chore(deps-dev): bump mini-css-extract-plugin from 1.6.0 to 1.6.2
dependabot[bot] Jul 1, 2021
f4a7303
Merge pull request #7404 from swagger-api/dependabot/npm_and_yarn/min…
dependabot[bot] Jul 1, 2021
9a5809c
chore(deps-dev): bump postcss from 8.2.15 to 8.3.5
dependabot[bot] Jul 1, 2021
7b7598d
Merge pull request #7405 from swagger-api/dependabot/npm_and_yarn/pos…
dependabot[bot] Jul 1, 2021
a094a5a
#R11DT-342 : Swagger-UI: Update Swagger UI version - Layout (#19)
leandroalmeida97 Jul 7, 2021
a39e110
Change url
leandroalmeida97 Jul 7, 2021
9320e85
ci(dependabot): disable dependabot until V4 RC
char0n Jul 13, 2021
8daf4e4
fix(deps): bump swagger-client to v3.14.1 (#7440)
char0n Jul 30, 2021
4c29a94
chore(release): cut the v3.51.2 release
swagger-bot Jul 30, 2021
414b1e2
chore(deps-dev): bump cypress from 7.5.0 to 7.7.0
dependabot[bot] Jul 30, 2021
1c84fe0
Merge pull request #7419 from swagger-api/dependabot/npm_and_yarn/cyp…
dependabot[bot] Jul 30, 2021
c266e6f
chore(package): allow swagger-client version ranges (#7441)
char0n Jul 30, 2021
770e748
ci: disable dependabot merge workflow
char0n Jul 30, 2021
3248428
feat(js-yaml): update our main YAML parser to v4.1.0
char0n Aug 6, 2021
ee40b00
chore(deps): bump swagger-client to v3.15.0
char0n Aug 9, 2021
b1ccd1f
chore(release): cut the v3.52.0 release
swagger-bot Aug 9, 2021
9b50e17
chore(deps-dev): bump eslint-plugin-react from 7.23.2 to 7.24.0
dependabot[bot] Aug 9, 2021
c97998c
Merge pull request #7397 from swagger-api/dependabot/npm_and_yarn/esl…
dependabot[bot] Aug 9, 2021
325909f
build(docker): fix docker image Node.js security issue
char0n Aug 11, 2021
08b1746
ci: use max Node.js version of 16.8
char0n Sep 10, 2021
5029b81
fix(security): bump swagger-client to v3.16.1
char0n Sep 10, 2021
fdef4ea
fix(build-security): do not expose hostname to build framents (#7491)
char0n Sep 10, 2021
06a4cdb
chore(release): cut the v3.52.1 release
swagger-bot Sep 10, 2021
f22730d
chore(deps-dev): bump chromedriver from 90.0.1 to 91.0.1
dependabot[bot] Sep 10, 2021
79214e0
chore(deps): bump url-parse from 1.5.1 to 1.5.2
dependabot[bot] Sep 10, 2021
2a1b710
fix(security): fix security issue in prismjs dep (#7493)
char0n Sep 10, 2021
3c9061e
fix(Dockerfile): fix security issue in docker image
char0n Sep 13, 2021
e5611d7
chore(release): cut the v3.52.2 release
swagger-bot Sep 13, 2021
cc700f0
fix(try-it-out): fix the width of image responses (#7495)
hkosova Sep 15, 2021
f1aab53
fix(sample-gen): generate the correct number of properties (#7432)
hkosova Sep 15, 2021
5cc7ff9
docs(configuration): fix wrong property name
char0n Sep 16, 2021
00d5b30
chore(security): fix security vulnerabilities in dev deps (#7510)
char0n Sep 16, 2021
8ffb1ae
fix(a11n): provide proper a11n for response example tabs (#7464)
3ptmonster Sep 17, 2021
158c127
chore(docker): automatic updates + nightly security check (#7515)
char0n Sep 17, 2021
aa9f2e6
chore(release): cut the v3.52.3 release
swagger-bot Sep 20, 2021
ff5deb3
fix(ux): update the buttons of the example tabs to be displayed as li…
dhenneke Sep 21, 2021
765056d
chore(deps-dev): fix security vulnerabilities in dep tree
char0n Sep 22, 2021
9952849
refactor: remove IE7 CSS hack (#7526)
silverwind Sep 30, 2021
f88334a
fix(paths): break long paths with <wbr> (#7516)
MingweiSamuel Sep 30, 2021
fc7cdb8
fix(UI): correct width of HTTP request method names (#7527)
twjasa Sep 30, 2021
24aaa53
fix: fix issue with highlight code scrolling causing console error (#…
kristina-kovacikova Oct 5, 2021
491d641
refactor(highlight-code): declare properties explicitly
char0n Oct 5, 2021
90c8a73
fix: rename request snippets configuration props (#7535)
mathis-m Oct 8, 2021
a740f3d
fix: remove redundant whitespaces in API key auth popup (#7538)
hankovich Oct 8, 2021
5ada9ef
chore(release): cut the v3.52.4 release
swagger-bot Oct 11, 2021
0fc429f
fix(highlight-code): handle mousewheel events properly (#7554)
char0n Oct 12, 2021
f1ad60d
chore(release): cut the v3.52.5 release
swagger-bot Oct 14, 2021
f5b0446
fix(ui): eliminate copy button icon misaligned in Firefox (#7542)
GhBogdan97 Oct 19, 2021
1955433
chore(deps): bump vm2 from 3.9.3 to 3.9.5 (#7565)
dependabot[bot] Oct 19, 2021
124b856
chore(deps): bump DOMPurify to latest version v2.3.3 (#7572)
cksnp Oct 22, 2021
bd75178
docs(LICENSE): apply Apache 2.0 License correctly (#7574)
char0n Nov 2, 2021
281f46c
chore(deps): fix security vulnerabilities
char0n Nov 2, 2021
edc41b9
chore(deps): update react & react-dom to v17.0.2
char0n Jun 10, 2021
b504579
test(just-test-in-node): fix npm script
char0n Jun 10, 2021
14f9b40
test(test:unit-jest): fix all failing tests for this script
char0n Jun 10, 2021
5bfd2d8
test(e2e-cypress): fix all failing tests for this script
char0n Jun 11, 2021
2589037
chore(deps-dev): update redux-immutable to v4.0.0
char0n Jun 11, 2021
4a1e5d6
chore(deps): update redux-immutable-pure-component to 2.2.0
char0n Jun 11, 2021
275fbdf
chore(deps): update redux to v4.1.0
char0n Jun 11, 2021
4d04fde
chore(deps): update react-redux to v7.2.4
char0n Jun 11, 2021
6441ef7
chore(deps): update react-inspector to v5.1.1
char0n Jun 11, 2021
d018e8a
build(swagger-ui-react): align version of React with SwaggerUI
char0n Jun 23, 2021
8004f3d
chore(package-lock): update lock file to reflect deps
char0n Jul 13, 2021
1eccbc3
chore(release): prepare release scripts for v4 beta pre-release
char0n Jul 13, 2021
9c80752
chore(package): tweak automated-release script #1
char0n Jul 14, 2021
843673e
chore(release): cut the v4.0.0-beta.0 release
swagger-bot Jul 14, 2021
d1b9964
chore(release-it): allow releasing consecutive beta releases
char0n Jul 14, 2021
ef0255f
chore(deps): replace react-motion library for obj. literal
char0n Jul 17, 2021
fd39c35
chore(deps-dev): update react-test-renderer to v17.0.2
char0n Jul 17, 2021
f6b084c
chore(security): fix transitive deps using npm audit
char0n Jul 19, 2021
4c369b0
chore(package-lock): add integrity check info
char0n Jul 19, 2021
cf9a365
chore(deps): replace @kyleshockey/* deps with originals
char0n Jul 19, 2021
dbf3625
chore(deps): update react-debounce-input to v3.2.4
char0n Jul 20, 2021
88668a5
test: remove support for nighwatch e2e tests
char0n Jul 20, 2021
b3119a6
chore(release): cut the v4.0.0-beta.1 release
swagger-bot Jul 23, 2021
b0e7b75
chore(package-lock): transform to lockfileVersion=2
char0n Jul 30, 2021
03b73d6
fix(deps): update swagger-client to v3.14.1
char0n Jul 30, 2021
10d0af2
chore(deps): rebase on top of master
char0n Jul 30, 2021
f6b66d3
chore(package-lock): regenerate to fix corruption
char0n Jul 30, 2021
06a4198
chore(deps): pickup deps changes from master
char0n Aug 11, 2021
4eee0ba
chore: bump to v4.0.0-beta.2
char0n Aug 11, 2021
a9285c5
chore(release): cut the v4.0.0-beta.3 release
swagger-bot Aug 11, 2021
8c79e2a
refactor: prefix lifecycle methods with UNSAFE_
char0n Aug 12, 2021
1283f52
fix(servers): compensate when server list contains a null value
char0n Aug 12, 2021
23552f3
chore(release): cut the v4.0.0-beta.4 release
swagger-bot Aug 12, 2021
5f35b94
fix(security): bump swagger-client to v3.16.1
char0n Sep 10, 2021
3ae218a
chore(release): end beta phase and start RC
char0n Sep 10, 2021
0e10f67
chore(release): cut the v4.0.0-rc.0 release
swagger-bot Sep 10, 2021
7ee7939
chore(release): continue with RC pre-releases
char0n Sep 10, 2021
d6c2604
chore(deps): bump url-parse from 1.5.1 to 1.5.3
char0n Sep 13, 2021
ece5945
fix(security): fix security issue in prismjs dep
char0n Sep 13, 2021
640aa3a
chore(deps-dev): fix all fixable security issues in dev deps
char0n Sep 13, 2021
346af3d
chore(release): cut the v4.0.0-rc.1 release
swagger-bot Sep 13, 2021
b90c6b5
chore(deps): remove unused stream library
char0n Sep 15, 2021
efff3a6
build(webpack): remove duplicates from the build
char0n Sep 15, 2021
e2b33a8
chore(release): cut the v4.0.0-rc.2 release
swagger-bot Sep 20, 2021
8553943
refactor(highlight-code): add UNSAFE prefix for lifecycle methods
char0n Oct 8, 2021
5a5a27e
fix(param-body): fix loosing focus in Try It when typing (#7548)
mathis-m Oct 11, 2021
c6058f8
chore(release): cut the v4.0.0-rc.3 release
swagger-bot Oct 11, 2021
c31cb30
feat: allow using functional components with hooks
char0n Oct 12, 2021
46b4e5c
fix(highlight-code): handle mousewheel events properly
char0n Oct 12, 2021
e364073
fix(root-inject): handle errors in functional components properly
char0n Oct 14, 2021
93bd1c9
chore(deps): update swagger-client to 3.17.0 version
char0n Oct 14, 2021
be3b54c
chore(nvm): use recommended version of [email protected]
char0n Oct 14, 2021
aa12144
chore(deps): fix all security vulnerabilities
char0n Oct 14, 2021
ea66060
chore(deps-dev): update husky to 7.0.2 version
char0n Oct 14, 2021
286ac5f
chore(release): cut the v4.0.0-rc.4 release
swagger-bot Oct 14, 2021
ab6bb57
chore(deps): bump DOMPurify to latest version v2.3.3
char0n Oct 22, 2021
c0ef8d9
chore(deps): fix security vulnerabilities
char0n Nov 2, 2021
e7e977c
ci: enable dependabot after v4 effort
char0n Nov 3, 2021
32b3b97
chore(release): return release scripts back to original
char0n Nov 3, 2021
34fd921
chore(deps-dev): bump open from 8.2.1 to 8.4.0
dependabot[bot] Nov 3, 2021
4b2c585
Merge pull request #7586 from swagger-api/dependabot/npm_and_yarn/ope…
dependabot[bot] Nov 3, 2021
c66bb1b
chore(release): cut the v4.0.0 release
swagger-bot Nov 3, 2021
0a53e08
chore(deps): bump nginx from 1.21-alpine to 1.21.3-alpine (#7585)
dependabot[bot] Nov 3, 2021
5f5be10
chore(deps-dev): bump babel-loader from 8.2.2 to 8.2.3
dependabot[bot] Nov 3, 2021
b740da5
Merge pull request #7591 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Nov 3, 2021
642909e
chore(deps-dev): bump @babel/register from 7.14.5 to 7.16.0
dependabot[bot] Nov 3, 2021
ad493cd
Merge pull request #7590 from swagger-api/dependabot/npm_and_yarn/bab…
dependabot[bot] Nov 3, 2021
8955056
chore(dependabot): limit PRs to max 3
char0n Nov 3, 2021
fcd9b43
chore(deps-dev): bump postcss from 8.3.5 to 8.3.11
dependabot[bot] Nov 3, 2021
916ca81
chore(deps-dev): bump git-describe from 4.0.4 to 4.1.0
dependabot[bot] Nov 3, 2021
2f7cfd5
chore(deps-dev): bump css-loader from 5.2.6 to 5.2.7
dependabot[bot] Nov 3, 2021
5dc6af0
ci(deps): sqash & merge dependabot PRs (#7596)
char0n Nov 3, 2021
aecc43f
Merge branch 'master' into dependabot/npm_and_yarn/postcss-8.3.11
char0n Nov 3, 2021
0b79b6f
Merge branch 'master' into dependabot/npm_and_yarn/git-describe-4.1.0
char0n Nov 3, 2021
ee675ec
Merge branch 'master' into dependabot/npm_and_yarn/css-loader-5.2.7
char0n Nov 3, 2021
cda0586
Merge pull request #7598 from swagger-api/dependabot/npm_and_yarn/pos…
dependabot[bot] Nov 3, 2021
a559282
Merge branch 'master' into dependabot/npm_and_yarn/git-describe-4.1.0
char0n Nov 4, 2021
4b1486b
Merge pull request #7599 from swagger-api/dependabot/npm_and_yarn/git…
dependabot[bot] Nov 4, 2021
b870e22
Merge branch 'master' into dependabot/npm_and_yarn/css-loader-5.2.7
char0n Nov 4, 2021
52a7180
Merge pull request #7600 from swagger-api/dependabot/npm_and_yarn/css…
dependabot[bot] Nov 4, 2021
4042c82
chore(deps-dev): bump eslint-plugin-import from 2.23.4 to 2.25.2 (#7605)
dependabot[bot] Nov 4, 2021
d903cd6
chore(deps-dev): bump lint-staged from 11.0.0 to 11.2.6 (#7606)
dependabot[bot] Nov 4, 2021
e624592
docs(README): add v4.0.0 into compatiblity table (#7604)
char0n Nov 4, 2021
62031f3
chore(deps-dev): bump expect from 1.20.2 to 27.3.1
char0n Nov 4, 2021
fb7e98a
fix(servers): prevent UI crash when chaning Server with variables
char0n Nov 4, 2021
7443b2e
chore(release): cut the v4.0.1 release
swagger-bot Nov 4, 2021
7cc2657
fix(highlight-code): fix regression code highlight behavior
char0n Nov 5, 2021
23d2153
chore(deps-dev): bump sinon from 12.0.0 to 12.0.1 (#7616)
dependabot[bot] Nov 5, 2021
83021df
fix: add source map of css file to swagger-ui-react (#7601)
DreierF Nov 5, 2021
d7ec726
feat(swagger-ui-react): add showExtensions option (#7563)
glebbash Nov 8, 2021
4a78313
fix(swagger-ui-react): add showExtension propType
char0n Nov 8, 2021
c7b215b
docs(configuration): document requestSnippetsEnabled config option
char0n Nov 8, 2021
3fea224
feat(swagger-ui-react): add request snippets configuration (#7536)
mathis-m Nov 8, 2021
9d2b35a
chore(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 (#7622)
dependabot[bot] Nov 8, 2021
b71446c
feat(swagger-ui-react): add support of filter prop (#7547)
AndrewCeM Nov 8, 2021
e0d1e19
chore(release): cut the v4.1.0 release
swagger-bot Nov 8, 2021
dd0404f
chore(deps): bump react-copy-to-clipboard from 5.0.3 to 5.0.4 (#7623)
dependabot[bot] Nov 8, 2021
c2866bb
chore(deps-dev): bump @babel/plugin-proposal-class-properties (#7621)
dependabot[bot] Nov 8, 2021
53bdcd9
chore(deps-dev): bump eslint-plugin-react from 7.24.0 to 7.27.0
dependabot[bot] Nov 10, 2021
8d217ed
chore(deps): fix security vulneraiblity in json-merger
char0n Nov 10, 2021
b1530dc
chore(deps): bump @babel/runtime-corejs3 from 7.14.8 to 7.16.3 (#7636)
dependabot[bot] Nov 10, 2021
0e5bc25
chore(deps): bump nginx from 1.21.3-alpine to 1.21.4-alpine
dependabot[bot] Nov 15, 2021
9b5cbec
ci: optimize speed of CI (#7649)
char0n Nov 16, 2021
738c4d6
chore(deps-dev): bump json-server from 0.16.3 to 0.17.0 (#7651)
dependabot[bot] Nov 16, 2021
e0e8b42
chore(deps-dev): bump cssnano from 5.0.4 to 5.0.11 (#7652)
dependabot[bot] Nov 16, 2021
18d4fb3
chore(deps-dev): bump eslint-plugin-jest from 24.4.0 to 25.2.4 (#7629)
dependabot[bot] Nov 16, 2021
a82433c
chore(deps-dev): bump @babel/plugin-proposal-nullish-coalescing-opera…
dependabot[bot] Nov 17, 2021
8a06f8d
chore(deps-dev): bump @babel/plugin-transform-runtime (#7655)
dependabot[bot] Nov 17, 2021
40bf75f
chore(deps-dev): bump cypress from 7.7.0 to 9.0.0
dependabot[bot] Nov 17, 2021
8c2d345
chore(deps-dev): bump autoprefixer from 10.3.1 to 10.4.0 (#7659)
dependabot[bot] Nov 18, 2021
519748d
chore(deps-dev): bump @babel/eslint-parser from 7.14.3 to 7.16.3 (#7660)
dependabot[bot] Nov 18, 2021
120eb5e
chore(deps): bump redux from 4.1.0 to 4.1.2 (#7663)
dependabot[bot] Nov 19, 2021
2ff9437
chore(deps-dev): bump @commitlint/config-conventional
dependabot[bot] Nov 19, 2021
0e699d1
chore(deps-dev): bump husky from 7.0.2 to 7.0.4 (#7664)
dependabot[bot] Nov 24, 2021
fd22564
chore(deps-dev): fix security vuln. in react-syntax-highlighter
char0n Nov 24, 2021
b299be7
fix: introduce Error Boundaries to handle unexpected failures (#7671)
char0n Nov 25, 2021
c69aed2
chore(deps): allow updating patch and minor version for highlihter
char0n Nov 25, 2021
7b52233
chore(release): cut the v4.1.1 release
swagger-bot Nov 25, 2021
f3d3898
fix: request JumpToPath components always as container
char0n Nov 26, 2021
c572cfe
chore(release): cut the v4.1.2 release
swagger-bot Nov 26, 2021
60cab5f
chore(deps-dev): bump @commitlint/cli from 12.1.4 to 15.0.0 (#7678)
dependabot[bot] Nov 26, 2021
1386ae5
chore(deps-dev): bump source-map-support from 0.5.19 to 0.5.21 (#7681)
dependabot[bot] Nov 26, 2021
e546383
chore(deps-dev): bump @babel/plugin-proposal-optional-chaining (#7682)
dependabot[bot] Nov 26, 2021
bc4710f
chore(deps-dev): bump eslint-plugin-import from 2.25.2 to 2.25.3 (#7683)
dependabot[bot] Nov 26, 2021
df7749b
chore(deps-dev): bump less from 4.1.1 to 4.1.2 (#7685)
dependabot[bot] Nov 29, 2021
01a3e55
fix(security): disable reading config params from URL search params (…
char0n Dec 9, 2021
86e7f00
chore(release): cut the v4.1.3 release
swagger-bot Dec 10, 2021
b16b0dd
Merge tag 'v4.1.3' of https://github.com/swagger-api/swagger-ui into …
jbasants Jan 26, 2024
5c63dbd
Updates url parse package to 1.5.10
osjlopes Aug 9, 2024
7fbe37a
Adds generated standalone build
osjlopes Aug 9, 2024
c3505f3
Adds generated standalone build 2
osjlopes Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 21 additions & 14 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 6
ignore:
# node-fetch must be synced manually
- dependency-name: "node-fetch"
- dependency-name: "release-it"
- dependency-name: "@release-it/conventional-changelog"

- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 3
ignore:
# node-fetch must be synced manually
- dependency-name: "node-fetch"
- dependency-name: "release-it"
- dependency-name: "@release-it/conventional-changelog"

- package-ecosystem: "docker"
# Look for a `Dockerfile` in the `root` directory
directory: "/"
# Check for updates once a week
schedule:
interval: "weekly"

10 changes: 1 addition & 9 deletions .github/workflows/dependabot-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,9 @@ jobs:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: 'Wait for status checks'
id: waitforstatuschecks
uses: WyriHaximus/github-action-wait-for-status@v1
with:
ignoreActions: Merge me!
checkInterval: 180
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Merge me!
if: steps.waitforstatuschecks.outputs.status == 'success'
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
command: squash and merge
20 changes: 20 additions & 0 deletions .github/workflows/docker-image-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Security scan for docker image

on:
workflow_dispatch:
schedule:
- cron: '30 4 * * *'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'docker.io/swaggerapi/swagger-ui:unstable'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
103 changes: 62 additions & 41 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,55 +9,76 @@ on:
pull_request:
branches: [ master ]

env:
CYPRESS_CACHE_FOLDER: cypress/cache

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.13.x, 10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Lint code for errors only
run: npm run lint-errors
- name: Run all tests
run: npm test
env:
CI: true
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- name: Cache Cypress binary
id: cache-cypress-binary
uses: actions/cache@v2
with:
path: cypress/cache
key: cypress-binary-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: |
steps.cache-node-modules.outputs.cache-hit != 'true' ||
steps.cache-cypress-binary.outputs.cache-hit != 'true'
run: npm ci
- name: Lint code for errors only
run: npm run lint-errors
- name: Run all tests
run: npm run just-test-in-node && npm run test:unit-jest
env:
CI: true
- name: Build SwaggerUI
run: npm run build
- name: Test build artifacts
run: npm run test:artifact

artifact-bundle:
e2e-tests:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build and Run all artifact tests
run: npm run test:artifact

release:
if: contains(github.ref, 'master')
runs-on: ubuntu-latest
needs: [build]
containers: ['+(a11y|security|bugs)/**/*.js', 'features/**/+(o|d)*.js', 'features/**/m*.js', 'features/**/!(o|d|m)*.js']

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- name: Cache Cypress binary
id: cache-cypress-binary
uses: actions/cache@v2
with:
path: cypress/cache
key: cypress-binary-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: |
steps.cache-node-modules.outputs.cache-hit != 'true' ||
steps.cache-cypress-binary.outputs.cache-hit != 'true'
run: npm ci
- name: Cypress Test
run: npx start-server-and-test cy:start http://localhost:3204 'npm run cy:run -- --spec "test/e2e-cypress/tests/${{ matrix.containers }}"'
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint -e
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
6 changes: 0 additions & 6 deletions .huskyrc

This file was deleted.

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*
*/
!README.md
!NOTICE
!package.json
!dist/swagger-ui.js
!dist/swagger-ui.js.map
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.8
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# We don't declare them here — take a look at our docs.
# https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md

FROM nginx:1.19-alpine
FROM nginx:1.21.4-alpine

RUN apk --no-cache add nodejs
RUN apk update && apk add --no-cache "nodejs>=14.17.6-r0"

LABEL maintainer="fehguy"

Expand Down
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -186,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2020 SmartBear Software Inc.
Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 2 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
swagger-ui
Copyright 2020-2021 SmartBear Software Inc.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ The OpenAPI Specification has undergone 5 revisions since initial creation in 20

Swagger UI Version | Release Date | OpenAPI Spec compatibility | Notes
------------------ | ------------ | -------------------------- | -----
4.0.0 | 2021-11-03 | 2.0, 3.0 | [tag v4.0.0](https://github.com/swagger-api/swagger-ui/tree/v4.0.0)
3.18.3 | 2018-08-03 | 2.0, 3.0 | [tag v3.18.3](https://github.com/swagger-api/swagger-ui/tree/v3.18.3)
3.0.21 | 2017-07-26 | 2.0 | [tag v3.0.21](https://github.com/swagger-api/swagger-ui/tree/v3.0.21)
2.2.10 | 2017-01-04 | 1.1, 1.2, 2.0 | [tag v2.2.10](https://github.com/swagger-api/swagger-ui/tree/v2.2.10)
Expand Down Expand Up @@ -88,4 +89,4 @@ To help with the migration, here are the currently known issues with 3.X. This l

## Security contact

Please disclose any security-related issues or vulnerabilities by emailing [[email protected]](mailto:[email protected]), instead of using the public issue tracker.
Please disclose any security-related issues or vulnerabilities by emailing [[email protected]](mailto:[email protected]), instead of using the public issue tracker.
7 changes: 0 additions & 7 deletions config/jest/jest.artifact-es-bundle-core.config.js

This file was deleted.

7 changes: 0 additions & 7 deletions config/jest/jest.artifact-es-bundle.config.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ const path = require('path');
module.exports = {
rootDir: path.join(__dirname, '..', '..'),
testEnvironment: 'jsdom',
testMatch: ['**/test/build-artifacts/umd.js'],
testMatch: ['**/test/build-artifacts/**/*.js'],
};
1 change: 1 addition & 0 deletions config/jest/jest.unit.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
'<rootDir>/test/unit/components/online-validator-badge.jsx',
'<rootDir>/test/unit/components/live-response.jsx',
],
silent: true, // set to `false` to allow console.* calls to be printed
transformIgnorePatterns: [
'/node_modules/(?!(react-syntax-highlighter)/)'
]
Expand Down
Binary file added dist/fonts/open-sans-latin-400.woff
Binary file not shown.
Binary file added dist/fonts/open-sans-latin-700.woff
Binary file not shown.
Binary file added dist/imagesOutSystems/outsystems.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 57 additions & 24 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<!-- HTML for static distribution bundle build -->
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
<!-- OutSystems change: include a new css -->
<link rel="stylesheet" type="text/css" href="./swagger-uiOutSystems.css" />

<!-- OutSystems change: remove images -->
<!-- <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" /> -->
<!-- <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" /> -->
<style>
html
{
Expand All @@ -31,30 +35,59 @@
</head>

<body>
<!-- OutSystems change: branding -->
<div class="swagger-section">
<div id='header'>
<div class="swagger-ui-wrap">
<div class="os-header-right">
<div class="os-header-title">REST API Documentation</div>
</div>
<div class="os-header-left"><img class="os-logo-vertical" src="./imagesOutSystems/outsystems.png" alt="Outsystems"></div>
<!-- OutSystems change: customize header information
<a id="logo" href="http://swagger.io">swagger</a> -->
</div>
</div>
</div>
<div id="swagger-ui"></div>

<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
<script src="./swagger-ui-bundle.js" charset="UTF-8"></script>
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"></script>
<script>
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
url: "https://petstore.swagger.io/v2/swagger.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
});
// End Swagger UI call region
window.onload = function () {
// OutSystems change: url = swagger.json
var url = "swagger.json";
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
// OutSystems change: change the URL!
url: url,
dom_id: '#swagger-ui',
// OutSystems change: submit methods = empty in order to don't use the Try It Out feature
supportedSubmitMethods: [],
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis
//OutSystems change: remove SwaggerUIStandalonePreset
//SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl,
// OutSystems change: pass the plugin that disables the Authorize button
SwaggerUIBundle.plugins.DisableAuthorize,
// OutSystems change: pass the plugin that disables the Schemes selection
SwaggerUIBundle.plugins.DisableSchemes
],
// OutSystems change: remove StandaloneLayout in order to don't use the swagger header
//layout: "StandaloneLayout"
});
// End Swagger UI call region
window.ui = ui;
};
</script>

window.ui = ui;
};
</script>
<!-- OutSystems change: footer -->
<div class="swagger-section">
<div id="message-bar" class="swagger-ui-wrap">&nbsp;</div>
<div id="swagger-footer" class="os-swagger-footer">Built with&nbsp;<a title="Low-Code Development Platform for Mobile and Web Apps" alt="Low-Code Development Platform for Mobile and Web Apps" href="https://www.outsystems.com/">OutSystems</a></div>
</div>
</body>
</html>
Loading