Commit Graph

5160 Commits

Author SHA1 Message Date
Vladimir Gorej
d018e8a25a build(swagger-ui-react): align version of React with SwaggerUI
Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
6441ef78a2 chore(deps): update react-inspector to v5.1.1
Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
4d04fdeb59 chore(deps): update react-redux to v7.2.4 2021-11-03 09:49:50 +01:00
Vladimir Gorej
275fbdfe46 chore(deps): update redux to v4.1.0
Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
4a1e5d6862 chore(deps): update redux-immutable-pure-component to 2.2.0
Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
2589037d86 chore(deps-dev): update redux-immutable to v4.0.0
Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
5bfd2d8df1 test(e2e-cypress): fix all failing tests for this script
Problem was with an obsolete and no longer supported
Perf tool for React. Reference to it have been removed.

Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
14f9b40ef2 test(test:unit-jest): fix all failing tests for this script
We needed to align new cheerio and enzyme
APIS with tests.

Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
b504579d26 test(just-test-in-node): fix npm script
Before the script exited with error thrown. Enzyme was updated
to v3.11.0 and custom adapter for react@17 is used.

Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
edc41b9036 chore(deps): update react & react-dom to v17.0.2
Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
281f46c4f0 chore(deps): fix security vulnerabilities 2021-11-03 00:18:17 +01:00
Vladimir Gorej
bd75178241 docs(LICENSE): apply Apache 2.0 License correctly (#7574)
Closes #6635
2021-11-02 23:44:28 +01:00
Costas Kotsokalis
124b856fa0 chore(deps): bump DOMPurify to latest version v2.3.3 (#7572) 2021-10-22 18:18:02 +03:00
dependabot[bot]
1955433d2f chore(deps): bump vm2 from 3.9.3 to 3.9.5 (#7565)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.3 to 3.9.5.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.3...3.9.5)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com>
2021-10-19 21:18:47 +03:00
GhBogdan97
f5b0446992 fix(ui): eliminate copy button icon misaligned in Firefox (#7542)
Closes #7481
2021-10-19 20:54:43 +03:00
swagger-bot
f1ad60dc92 chore(release): cut the v3.52.5 release 2021-10-14 14:25:14 +00:00
Vladimir Gorej
0fc429fd75 fix(highlight-code): handle mousewheel events properly (#7554)
SyntaxHighlighter component doesn't support ref. We had
to use different approach to finds it's DOM Node using
ref of the root Node of the render tree for HighlightCode
component.

Refs #7497
2021-10-12 20:50:40 +03:00
swagger-bot
5ada9efd76 chore(release): cut the v3.52.4 release 2021-10-11 11:48:01 +00:00
Sviataslau Hankovich
a740f3d32e fix: remove redundant whitespaces in API key auth popup (#7538) 2021-10-08 16:52:32 +03:00
Mahtis Michel
90c8a73177 fix: rename request snippets configuration props (#7535)
Closes #7534
2021-10-08 16:19:00 +03:00
Vladimir Gorej
491d64157d refactor(highlight-code): declare properties explicitly
Refs #7497
2021-10-05 11:01:38 +03:00
kristina-kovacikova
24aaa53712 fix: fix issue with highlight code scrolling causing console error (#7497) (#7519)
Co-authored-by: Mahtis Michel <mathis.michel@outlook.de>

Refs #7497
2021-10-05 10:27:57 +03:00
twjasa
fc7cdb8bad fix(UI): correct width of HTTP request method names (#7527)
Closes #7479
2021-09-30 20:43:43 +03:00
Mingwei Samuel
f88334a47d fix(paths): break long paths with <wbr> (#7516)
- use <wbr> instead of ZERO-WIDTH SPACE (U+200B) to break segments 
- remove no-longer-needed onCopyCapture listener which previously  stripped ZWSPs
- update's deep-link.jsx's `text` prop type to accept `PropType.node`  to allow the above.

Closes #7513
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com>
2021-09-30 15:52:33 +03:00
silverwind
9952849aa5 refactor: remove IE7 CSS hack (#7526)
Remove IE specific start hack: https://stackoverflow.com/a/14927670/808699 that was targeting IE 5.5 to 7.
2021-09-30 11:48:52 +03:00
Vladimir Gorej
765056d1e4 chore(deps-dev): fix security vulnerabilities in dep tree 2021-09-22 14:33:46 +03:00
Dominik Henneke
ff5deb3613 fix(ux): update the buttons of the example tabs to be displayed as links (#7517)
Fixes small visual regression introduced in #7464.

Refs #7464
2021-09-21 15:09:46 +03:00
swagger-bot
aa9f2e6733 chore(release): cut the v3.52.3 release 2021-09-20 12:12:56 +00:00
Vladimir Gorej
158c127965 chore(docker): automatic updates + nightly security check (#7515)
Refs #7514
2021-09-17 14:19:21 +03:00
Calvin Gonzalez
8ffb1aef97 fix(a11n): provide proper a11n for response example tabs (#7464)
- Update tabs to use <button> elements instead of <a>
- Add aria roles for tablist, tabs, and tabpanel
- Add aria attributes for additional a11y compliance and screen reader accessibility
- Replace ids with data-name attribute for tabpanels
- Add cypress test 7463 and update swos-63
- Move tabs test file to tests/a11y directory
- Rename test file to be more descriptive of what is being tested.
- Add id attributes to both tabs and tabpanels to leverage aria-controls and aria-labelledby attributes

Co-authored-by: Calvin Gonzalez <calvin.gonzalez@oddball.io>
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com>

Closes #7463
Refs #7350
2021-09-17 09:19:55 +03:00
Vladimir Gorej
00d5b30aa7 chore(security): fix security vulnerabilities in dev deps (#7510) 2021-09-16 18:26:16 +03:00
Vladimir Gorej
5cc7ff937d docs(configuration): fix wrong property name
languagesMask property is not recognized by SwaggerUI.
languages property is recognized propertly.

Refs #7505
2021-09-16 16:54:16 +03:00
Helen Kosova
f1aab53dd6 fix(sample-gen): generate the correct number of properties (#7432)
This commit fixes correct number of additionalProperties when minProperties is used.
2021-09-15 15:54:26 +03:00
Helen Kosova
cc700f034b fix(try-it-out): fix the width of image responses (#7495)
Refs #5578
2021-09-15 13:25:51 +03:00
swagger-bot
e5611d72ff chore(release): cut the v3.52.2 release 2021-09-13 12:46:28 +00:00
Vladimir Gorej
3c9061e6b4 fix(Dockerfile): fix security issue in docker image
Refs #7445
2021-09-13 15:04:09 +03:00
Vladimir Gorej
2a1b7101f0 fix(security): fix security issue in prismjs dep (#7493)
Refs #7492
2021-09-10 17:18:26 +03:00
dependabot[bot]
79214e064f chore(deps): bump url-parse from 1.5.1 to 1.5.2
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.2)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 16:46:46 +03:00
dependabot[bot]
f22730dc1f chore(deps-dev): bump chromedriver from 90.0.1 to 91.0.1
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 90.0.1 to 91.0.1.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/compare/90.0.1...91.0.1)

---
updated-dependencies:
- dependency-name: chromedriver
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 16:28:21 +03:00
swagger-bot
06a4cdb427 chore(release): cut the v3.52.1 release 2021-09-10 12:04:46 +00:00
Vladimir Gorej
fdef4ead7a fix(build-security): do not expose hostname to build framents (#7491)
Refs #7446
2021-09-10 13:29:42 +03:00
Vladimir Gorej
5029b81560 fix(security): bump swagger-client to v3.16.1
Refs #7473
2021-09-10 11:39:01 +03:00
Vladimir Gorej
08b1746d13 ci: use max Node.js version of 16.8
Node.js version 16.9 relesed 3 days ago gives cryptic
errors. We'll wait untill this is fixed upstream.
2021-09-10 11:12:21 +03:00
Vladimir Gorej
325909fb6a build(docker): fix docker image Node.js security issue
Refs #7445
2021-08-11 10:04:57 +02:00
dependabot[bot]
c97998cc01 Merge pull request #7397 from swagger-api/dependabot/npm_and_yarn/eslint-plugin-react-7.24.0 2021-08-09 16:25:30 +00:00
dependabot[bot]
9b50e171ff chore(deps-dev): bump eslint-plugin-react from 7.23.2 to 7.24.0
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.23.2 to 7.24.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.23.2...v7.24.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 15:16:52 +00:00
swagger-bot
b1ccd1f03a chore(release): cut the v3.52.0 release 2021-08-09 15:14:18 +00:00
Vladimir Gorej
ee40b00ce7 chore(deps): bump swagger-client to v3.15.0 2021-08-09 16:30:40 +02:00
Vladimir Gorej
3248428e96 feat(js-yaml): update our main YAML parser to v4.1.0
Closes #6804
2021-08-09 16:30:40 +02:00
Vladimir Gorej
770e748f14 ci: disable dependabot merge workflow
Refs #7341
2021-07-30 12:47:42 -04:00