Skip to content

Commit 5fd6afd

Browse files
OS-joaomurgeiroswagger-botdependabot[bot]vahpetrtim-lai
authored
R11DT-2691 - Merge bump-4.1.3 into outsystems (#171)
* chore(release): cut the v3.50.0 release * chore(deps): bump ws from 6.2.1 to 6.2.2 Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/commits) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump autoprefixer from 10.2.5 to 10.2.6 Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.5 to 10.2.6. - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](postcss/autoprefixer@10.2.5...10.2.6) Signed-off-by: dependabot[bot] <[email protected]> * chore(deps): bump dompurify from 2.2.8 to 2.2.9 Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.8 to 2.2.9. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](cure53/DOMPurify@2.2.8...2.2.9) --- updated-dependencies: - dependency-name: dompurify dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * fix(ui): parameter placeholder should only display `name` (swagger-api#7123) * remove `description` from parameter placeholder * chore(deps-dev): bump jest from 26.6.3 to 27.0.4 (swagger-api#7334) Bumps [jest](https://github.com/facebook/jest) from 26.6.3 to 27.0.4. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](jestjs/jest@v26.6.3...v27.0.4) --- updated-dependencies: - dependency-name: jest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(sample-gen): oas3 form-data object should generate example (swagger-api#7355) * fix(try-it-out): button and inner text spacing (swagger-api#7357) * chore(deps-dev): add [email protected], remove node-sass (swagger-api#7362) * chore: prep repo for node.js v10 EOL (swagger-api#7359) * feat(oas3): Show file upload for schema binary format (swagger-api#7325) * fix(ux): display actual content type instead of hard-coded application/octet-stream * feat(ux): show file upload when schema has "format: binary", fixes swagger-api#5636 * feat(ux): show file upload when schema has "format: base64" According to swagger-api#7325 (comment) the uploaded file should be converted to base64 automatically. * feat(ux): add cypress tests for displaying an upload button * chore(deps-dev): bump @babel/plugin-proposal-class-properties (swagger-api#7364) Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.13.0 to 7.14.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-plugin-proposal-class-properties) --- updated-dependencies: - dependency-name: "@babel/plugin-proposal-class-properties" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(release): cut the v3.51.0 release * chore(deps-dev): bump cypress from 6.7.1 to 7.5.0 (swagger-api#7366) * chore(deps-dev): bump eslint-plugin-mocha from 8.1.0 to 9.0.0 (swagger-api#7336) Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 8.1.0 to 9.0.0. - [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases) - [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md) - [Commits](lo1tuma/eslint-plugin-mocha@8.1.0...9.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-mocha dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump lint-staged from 10.5.4 to 11.0.0 (swagger-api#7256) Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.4 to 11.0.0. - [Release notes](https://github.com/okonet/lint-staged/releases) - [Commits](lint-staged/lint-staged@v10.5.4...v11.0.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump release-it from 13.7.1 to 14.10.0 (swagger-api#7367) * also bump @release-it/conventional-changelog to 3.0.1 * chore(deps-dev): bump @babel/plugin-transform-runtime Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.14.3 to 7.14.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-plugin-transform-runtime) --- updated-dependencies: - dependency-name: "@babel/plugin-transform-runtime" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps): bump @babel/runtime-corejs3 from 7.14.0 to 7.14.7 Bumps [@babel/runtime-corejs3](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime-corejs3) from 7.14.0 to 7.14.7. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.7/packages/babel-runtime-corejs3) --- updated-dependencies: - dependency-name: "@babel/runtime-corejs3" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps): bump @braintree/sanitize-url from 5.0.1 to 5.0.2 Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url) from 5.0.1 to 5.0.2. - [Release notes](https://github.com/braintree/sanitize-url/releases) - [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md) - [Commits](braintree/sanitize-url@v5.0.1...v5.0.2) --- updated-dependencies: - dependency-name: "@braintree/sanitize-url" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump @babel/plugin-proposal-optional-chaining Bumps [@babel/plugin-proposal-optional-chaining](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-optional-chaining) from 7.14.2 to 7.14.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-plugin-proposal-optional-chaining) --- updated-dependencies: - dependency-name: "@babel/plugin-proposal-optional-chaining" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(ga): cache cypress binary (swagger-api#7377) * chore(ga): cache cypress binary * chore(ga): add cypress_cache_folder * chore(ga): add cache node modules to artifact-bundle * fix(sample-gen): parameter array missing items fallback (swagger-api#7376) * fixes swagger-api#7375 * chore(deps-dev): bump @babel/preset-env from 7.14.2 to 7.14.7 Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.2 to 7.14.7. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.7/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump eslint-plugin-import from 2.23.3 to 2.23.4 Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.23.3 to 2.23.4. - [Release notes](https://github.com/benmosher/eslint-plugin-import/releases) - [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md) - [Commits](import-js/eslint-plugin-import@v2.23.3...v2.23.4) --- updated-dependencies: - dependency-name: eslint-plugin-import dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump @babel/cli from 7.14.3 to 7.14.5 Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.14.3 to 7.14.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-cli) --- updated-dependencies: - dependency-name: "@babel/cli" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump @babel/plugin-proposal-nullish-coalescing-operator Bumps [@babel/plugin-proposal-nullish-coalescing-operator](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-nullish-coalescing-operator) from 7.14.2 to 7.14.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-plugin-proposal-nullish-coalescing-operator) --- updated-dependencies: - dependency-name: "@babel/plugin-proposal-nullish-coalescing-operator" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump @babel/core from 7.14.2 to 7.14.6 Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.2 to 7.14.6. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.6/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump @babel/preset-react from 7.13.13 to 7.14.5 Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.13.13 to 7.14.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-preset-react) --- updated-dependencies: - dependency-name: "@babel/preset-react" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump @jest/globals from 26.6.2 to 27.0.6 (swagger-api#7393) Bumps [@jest/globals](https://github.com/facebook/jest/tree/HEAD/packages/jest-globals) from 26.6.2 to 27.0.6. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v27.0.6/packages/jest-globals) --- updated-dependencies: - dependency-name: "@jest/globals" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @babel/register from 7.13.16 to 7.14.5 Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) from 7.13.16 to 7.14.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-register) --- updated-dependencies: - dependency-name: "@babel/register" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump eslint from 7.27.0 to 7.29.0 Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.29.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](eslint/eslint@v7.27.0...v7.29.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump nightwatch from 1.6.4 to 1.7.7 Bumps [nightwatch](https://github.com/nightwatchjs/nightwatch) from 1.6.4 to 1.7.7. - [Release notes](https://github.com/nightwatchjs/nightwatch/releases) - [Commits](nightwatchjs/nightwatch@v1.6.4...v1.7.7) --- updated-dependencies: - dependency-name: nightwatch dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(release): cut the v3.51.1 release * chore(deps-dev): bump jest from 27.0.4 to 27.0.6 Bumps [jest](https://github.com/facebook/jest) from 27.0.4 to 27.0.6. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](jestjs/jest@v27.0.4...v27.0.6) --- updated-dependencies: - dependency-name: jest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump webpack-cli from 4.7.0 to 4.7.2 Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.7.0 to 4.7.2. - [Release notes](https://github.com/webpack/webpack-cli/releases) - [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-cli/compare/[email protected]@4.7.2) --- updated-dependencies: - dependency-name: webpack-cli dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump mini-css-extract-plugin from 1.6.0 to 1.6.2 Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.6.0 to 1.6.2. - [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases) - [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/mini-css-extract-plugin@v1.6.0...v1.6.2) --- updated-dependencies: - dependency-name: mini-css-extract-plugin dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump postcss from 8.2.15 to 8.3.5 Bumps [postcss](https://github.com/postcss/postcss) from 8.2.15 to 8.3.5. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.2.15...8.3.5) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * ci(dependabot): disable dependabot until V4 RC * fix(deps): bump swagger-client to v3.14.1 (swagger-api#7440) This sets minimum Node.js version to >=12.4 and fixes problem with swagger-ui.js build fragment. Refs swagger-api#7436 * chore(release): cut the v3.51.2 release * chore(deps-dev): bump cypress from 7.5.0 to 7.7.0 Bumps [cypress](https://github.com/cypress-io/cypress) from 7.5.0 to 7.7.0. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js) - [Commits](cypress-io/cypress@v7.5.0...v7.7.0) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(package): allow swagger-client version ranges (swagger-api#7441) * ci: disable dependabot merge workflow Refs swagger-api#7341 * feat(js-yaml): update our main YAML parser to v4.1.0 Closes swagger-api#6804 * chore(deps): bump swagger-client to v3.15.0 * chore(release): cut the v3.52.0 release * 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](jsx-eslint/eslint-plugin-react@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] <[email protected]> * build(docker): fix docker image Node.js security issue Refs swagger-api#7445 * 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. * fix(security): bump swagger-client to v3.16.1 Refs swagger-api#7473 * fix(build-security): do not expose hostname to build framents (swagger-api#7491) Refs swagger-api#7446 * chore(release): cut the v3.52.1 release * 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](giggio/node-chromedriver@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] <[email protected]> * 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](unshiftio/url-parse@1.5.1...1.5.2) --- updated-dependencies: - dependency-name: url-parse dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * fix(security): fix security issue in prismjs dep (swagger-api#7493) Refs swagger-api#7492 * fix(Dockerfile): fix security issue in docker image Refs swagger-api#7445 * chore(release): cut the v3.52.2 release * fix(try-it-out): fix the width of image responses (swagger-api#7495) Refs swagger-api#5578 * fix(sample-gen): generate the correct number of properties (swagger-api#7432) This commit fixes correct number of additionalProperties when minProperties is used. * docs(configuration): fix wrong property name languagesMask property is not recognized by SwaggerUI. languages property is recognized propertly. Refs swagger-api#7505 * chore(security): fix security vulnerabilities in dev deps (swagger-api#7510) * fix(a11n): provide proper a11n for response example tabs (swagger-api#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 <[email protected]> Co-authored-by: Vladimir Gorej <[email protected]> Closes swagger-api#7463 Refs swagger-api#7350 * chore(docker): automatic updates + nightly security check (swagger-api#7515) Refs swagger-api#7514 * chore(release): cut the v3.52.3 release * fix(ux): update the buttons of the example tabs to be displayed as links (swagger-api#7517) Fixes small visual regression introduced in swagger-api#7464. Refs swagger-api#7464 * chore(deps-dev): fix security vulnerabilities in dep tree * refactor: remove IE7 CSS hack (swagger-api#7526) Remove IE specific start hack: https://stackoverflow.com/a/14927670/808699 that was targeting IE 5.5 to 7. * fix(paths): break long paths with <wbr> (swagger-api#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 swagger-api#7513 Co-authored-by: Vladimir Gorej <[email protected]> * fix(UI): correct width of HTTP request method names (swagger-api#7527) Closes swagger-api#7479 * fix: fix issue with highlight code scrolling causing console error (swagger-api#7497) (swagger-api#7519) Co-authored-by: Mahtis Michel <[email protected]> Refs swagger-api#7497 * refactor(highlight-code): declare properties explicitly Refs swagger-api#7497 * fix: rename request snippets configuration props (swagger-api#7535) Closes swagger-api#7534 * fix: remove redundant whitespaces in API key auth popup (swagger-api#7538) * chore(release): cut the v3.52.4 release * fix(highlight-code): handle mousewheel events properly (swagger-api#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 swagger-api#7497 * chore(release): cut the v3.52.5 release * fix(ui): eliminate copy button icon misaligned in Firefox (swagger-api#7542) Closes swagger-api#7481 * chore(deps): bump vm2 from 3.9.3 to 3.9.5 (swagger-api#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](patriksimek/vm2@3.9.3...3.9.5) --- updated-dependencies: - dependency-name: vm2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vladimir Gorej <[email protected]> * chore(deps): bump DOMPurify to latest version v2.3.3 (swagger-api#7572) * docs(LICENSE): apply Apache 2.0 License correctly (swagger-api#7574) Closes swagger-api#6635 * chore(deps): fix security vulnerabilities * chore(deps): update react & react-dom to v17.0.2 Refs swagger-api#7341 * 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 swagger-api#7341 * test(test:unit-jest): fix all failing tests for this script We needed to align new cheerio and enzyme APIS with tests. Refs swagger-api#7341 * 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 swagger-api#7341 * chore(deps-dev): update redux-immutable to v4.0.0 Refs swagger-api#7341 * chore(deps): update redux-immutable-pure-component to 2.2.0 Refs swagger-api#7341 * chore(deps): update redux to v4.1.0 Refs swagger-api#7341 * chore(deps): update react-redux to v7.2.4 * chore(deps): update react-inspector to v5.1.1 Refs swagger-api#7341 * build(swagger-ui-react): align version of React with SwaggerUI Refs swagger-api#7341 * chore(package-lock): update lock file to reflect deps * chore(release): prepare release scripts for v4 beta pre-release * chore(package): tweak automated-release script #1 * chore(release): cut the v4.0.0-beta.0 release * chore(release-it): allow releasing consecutive beta releases Refs swagger-api#7341 * chore(deps): replace react-motion library for obj. literal Refs swagger-api#7341 * chore(deps-dev): update react-test-renderer to v17.0.2 Refs swagger-api#7341 * chore(security): fix transitive deps using npm audit Refs swagger-api#7341 * chore(package-lock): add integrity check info Refs swagger-api#7341 * chore(deps): replace @kyleshockey/* deps with originals @kyleshockey/object-assign-deep - replaced by lodash/merge. If behavior not be compatible well use lodash/mergeWith. @kyleshockey/xml - by installing stream library directly, we can use origin xml library without the fork. Refs swagger-api#7341 * chore(deps): update react-debounce-input to v3.2.4 Refs #swagger-api#7341 * test: remove support for nighwatch e2e tests We still ratain nighwatch test cases and need to port them to Cypress. Test cases were broken and did not run any more. Refs swagger-api#7341 * chore(release): cut the v4.0.0-beta.1 release * chore(package-lock): transform to lockfileVersion=2 * fix(deps): update swagger-client to v3.14.1 Refs swagger-api#7341 Refs swagger-api#7436 * chore(deps): rebase on top of master Refs swagger-api#7379 * chore(package-lock): regenerate to fix corruption Refs swagger-api#7341 * chore(deps): pickup deps changes from master Refs swagger-api#7341 * chore: bump to v4.0.0-beta.2 * chore(release): cut the v4.0.0-beta.3 release * refactor: prefix lifecycle methods with UNSAFE_ Refs swagger-api#7341 * fix(servers): compensate when server list contains a null value Refs swagger-api/swagger-editor#2761 Refs swagger-api/swagger-editor#2710 Refs swagger-api#7341 * chore(release): cut the v4.0.0-beta.4 release * fix(security): bump swagger-client to v3.16.1 Refs swagger-api#7473 * chore(release): end beta phase and start RC * chore(release): cut the v4.0.0-rc.0 release * chore(release): continue with RC pre-releases * chore(deps): bump url-parse from 1.5.1 to 1.5.3 Refs swagger-api#7492 * fix(security): fix security issue in prismjs dep Refs swagger-api#7492 * chore(deps-dev): fix all fixable security issues in dev deps Refs swagger-api#7492 * chore(release): cut the v4.0.0-rc.1 release * chore(deps): remove unused stream library Refs swagger-api#7499 Refs swagger-api#7341 * build(webpack): remove duplicates from the build Refs swagger-api#7341 * chore(release): cut the v4.0.0-rc.2 release * refactor(highlight-code): add UNSAFE prefix for lifecycle methods Refs swagger-api#7497 * fix(param-body): fix loosing focus in Try It when typing (swagger-api#7548) Originally reported as SWOS-418 Closes swagger-api#7477 * chore(release): cut the v4.0.0-rc.3 release * feat: allow using functional components with hooks * fix(highlight-code): handle mousewheel events properly 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 swagger-api#7497 * fix(root-inject): handle errors in functional components properly * chore(deps): update swagger-client to 3.17.0 version * chore(nvm): use recommended version of [email protected] * chore(deps): fix all security vulnerabilities Refs swagger-api#7341 * chore(deps-dev): update husky to 7.0.2 version * chore(release): cut the v4.0.0-rc.4 release * chore(deps): bump DOMPurify to latest version v2.3.3 * chore(deps): fix security vulnerabilities * ci: enable dependabot after v4 effort * chore(release): return release scripts back to original * chore(deps-dev): bump open from 8.2.1 to 8.4.0 Bumps [open](https://github.com/sindresorhus/open) from 8.2.1 to 8.4.0. - [Release notes](https://github.com/sindresorhus/open/releases) - [Commits](sindresorhus/open@v8.2.1...v8.4.0) --- updated-dependencies: - dependency-name: open dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(release): cut the v4.0.0 release * chore(deps): bump nginx from 1.21-alpine to 1.21.3-alpine (swagger-api#7585) Bumps nginx from 1.21-alpine to 1.21.3-alpine. --- updated-dependencies: - dependency-name: nginx dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vladimir Gorej <[email protected]> * chore(deps-dev): bump babel-loader from 8.2.2 to 8.2.3 Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.3. - [Release notes](https://github.com/babel/babel-loader/releases) - [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md) - [Commits](babel/babel-loader@v8.2.2...v8.2.3) --- updated-dependencies: - dependency-name: babel-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump @babel/register from 7.14.5 to 7.16.0 Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) from 7.14.5 to 7.16.0. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.16.0/packages/babel-register) --- updated-dependencies: - dependency-name: "@babel/register" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(dependabot): limit PRs to max 3 * chore(deps-dev): bump postcss from 8.3.5 to 8.3.11 Bumps [postcss](https://github.com/postcss/postcss) from 8.3.5 to 8.3.11. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.3.5...8.3.11) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump git-describe from 4.0.4 to 4.1.0 Bumps [git-describe](https://github.com/tvdstaaij/node-git-describe) from 4.0.4 to 4.1.0. - [Release notes](https://github.com/tvdstaaij/node-git-describe/releases) - [Changelog](https://github.com/tvdstaaij/node-git-describe/blob/master/CHANGELOG.md) - [Commits](tvdstaaij/node-git-describe@v4.0.4...v4.1.0) --- updated-dependencies: - dependency-name: git-describe dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump css-loader from 5.2.6 to 5.2.7 Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.6 to 5.2.7. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/css-loader@v5.2.6...v5.2.7) --- updated-dependencies: - dependency-name: css-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * ci(deps): sqash & merge dependabot PRs (swagger-api#7596) * chore(deps-dev): bump eslint-plugin-import from 2.23.4 to 2.25.2 (swagger-api#7605) * chore(deps-dev): bump lint-staged from 11.0.0 to 11.2.6 (swagger-api#7606) * docs(README): add v4.0.0 into compatiblity table (swagger-api#7604) * chore(deps-dev): bump expect from 1.20.2 to 27.3.1 Closes swagger-api#7607 * fix(servers): prevent UI crash when chaning Server with variables Closes swagger-api#7525 * chore(release): cut the v4.0.1 release * fix(highlight-code): fix regression code highlight behavior Refs swagger-api#7603 * chore(deps-dev): bump sinon from 12.0.0 to 12.0.1 (swagger-api#7616) * fix: add source map of css file to swagger-ui-react (swagger-api#7601) Fixes source map of css file missing in swagger-ui-react. The source map is referenced in ./dist/swagger-ui.css, but as it does not exist in the final package creates errors in our tooling. * feat(swagger-ui-react): add showExtensions option (swagger-api#7563) Closes swagger-api#5892 * fix(swagger-ui-react): add showExtension propType Refs swagger-api#5892 * docs(configuration): document requestSnippetsEnabled config option Along with that fix formatting of request snippet value. * feat(swagger-ui-react): add request snippets configuration (swagger-api#7536) Closes swagger-api#7523 * chore(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 (swagger-api#7622) * feat(swagger-ui-react): add support of filter prop (swagger-api#7547) Co-authored-by: Mahtis Michel <[email protected]> Co-authored-by: Vladimir Gorej <[email protected]> Closes swagger-api#7546 * chore(release): cut the v4.1.0 release * chore(deps): bump react-copy-to-clipboard from 5.0.3 to 5.0.4 (swagger-api#7623) * chore(deps-dev): bump @babel/plugin-proposal-class-properties (swagger-api#7621) * chore(deps-dev): bump eslint-plugin-react from 7.24.0 to 7.27.0 Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.24.0 to 7.27.0. - [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases) - [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](jsx-eslint/eslint-plugin-react@v7.24.0...v7.27.0) --- updated-dependencies: - dependency-name: eslint-plugin-react dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps): fix security vulneraiblity in json-merger * chore(deps): bump @babel/runtime-corejs3 from 7.14.8 to 7.16.3 (swagger-api#7636) * chore(deps): bump nginx from 1.21.3-alpine to 1.21.4-alpine Bumps nginx from 1.21.3-alpine to 1.21.4-alpine. --- updated-dependencies: - dependency-name: nginx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * ci: optimize speed of CI (swagger-api#7649) Refs swagger-api#7627 * chore(deps-dev): bump json-server from 0.16.3 to 0.17.0 (swagger-api#7651) * chore(deps-dev): bump cssnano from 5.0.4 to 5.0.11 (swagger-api#7652) * chore(deps-dev): bump eslint-plugin-jest from 24.4.0 to 25.2.4 (swagger-api#7629) Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.4.0 to 25.2.4. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v24.4.0...v25.2.4) --- updated-dependencies: - dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vladimir Gorej <[email protected]> * chore(deps-dev): bump @babel/plugin-proposal-nullish-coalescing-operator (swagger-api#7656) * chore(deps-dev): bump @babel/plugin-transform-runtime (swagger-api#7655) * chore(deps-dev): bump cypress from 7.7.0 to 9.0.0 Bumps [cypress](https://github.com/cypress-io/cypress) from 7.7.0 to 9.0.0. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js) - [Commits](cypress-io/cypress@v7.7.0...v9.0.0) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump autoprefixer from 10.3.1 to 10.4.0 (swagger-api#7659) * chore(deps-dev): bump @babel/eslint-parser from 7.14.3 to 7.16.3 (swagger-api#7660) * chore(deps): bump redux from 4.1.0 to 4.1.2 (swagger-api#7663) * chore(deps-dev): bump @commitlint/config-conventional Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 12.1.4 to 15.0.0. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v15.0.0/@commitlint/config-conventional) --- updated-dependencies: - dependency-name: "@commitlint/config-conventional" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump husky from 7.0.2 to 7.0.4 (swagger-api#7664) Bumps [husky](https://github.com/typicode/husky) from 7.0.2 to 7.0.4. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v7.0.2...v7.0.4) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vladimir Gorej <[email protected]> * chore(deps-dev): fix security vuln. in react-syntax-highlighter * fix: introduce Error Boundaries to handle unexpected failures (swagger-api#7671) Two new components have been updated via plugin system: ErrorBoundary and Fallback. These components can be overridden by user plugins. Refs swagger-api#7647 * chore(deps): allow updating patch and minor version for highlihter * chore(release): cut the v4.1.1 release * fix: request JumpToPath components always as container Refs swagger-api/swagger-editor#2099 * chore(release): cut the v4.1.2 release * chore(deps-dev): bump @commitlint/cli from 12.1.4 to 15.0.0 (swagger-api#7678) Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 12.1.4 to 15.0.0. - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v15.0.0/@commitlint/cli) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vladimir Gorej <[email protected]> * chore(deps-dev): bump source-map-support from 0.5.19 to 0.5.21 (swagger-api#7681) * chore(deps-dev): bump @babel/plugin-proposal-optional-chaining (swagger-api#7682) * chore(deps-dev): bump eslint-plugin-import from 2.25.2 to 2.25.3 (swagger-api#7683) * chore(deps-dev): bump less from 4.1.1 to 4.1.2 (swagger-api#7685) * fix(security): disable reading config params from URL search params (swagger-api#7697) Reading configuration parameters from URL search params is by default no longer enabled. To re-enable it, set queryConfigEnabled configuration parameter to true. Functionally, this is a breaking change, but given we're just providing a security vulnerability patch we're considering this a PATCH version bump only. Refs swagger-api#4872 Refs GHSA-qrmm-w75w-3wpx * chore(release): cut the v4.1.3 release * R11DT-2620 - Update url-parse to 1.5.10 (#167) * update url-parse to 1.5.10 * update dist folder: npm run build result * Upgrade dompurify to 3.1.3 (#170) --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: swagger-bot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vasilev Pyotr <[email protected]> Co-authored-by: Tim Lai <[email protected]> Co-authored-by: Andreas Grub <[email protected]> Co-authored-by: Vladimir Gorej <[email protected]> Co-authored-by: Helen Kosova <[email protected]> Co-authored-by: Calvin Gonzalez <[email protected]> Co-authored-by: Dominik Henneke <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: Mingwei Samuel <[email protected]> Co-authored-by: twjasa <[email protected]> Co-authored-by: kristina-kovacikova <[email protected]> Co-authored-by: Mahtis Michel <[email protected]> Co-authored-by: Sviataslau Hankovich <[email protected]> Co-authored-by: GhBogdan97 <[email protected]> Co-authored-by: Costas Kotsokalis <[email protected]> Co-authored-by: Florian Dreier <[email protected]> Co-authored-by: glebbash <[email protected]> Co-authored-by: Andriy Semenyuk <[email protected]> Co-authored-by: João Almeida Santos <[email protected]> Co-authored-by: OS-alexandretome <[email protected]>
1 parent a39e110 commit 5fd6afd

File tree

114 files changed

+44080
-21568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+44080
-21568
lines changed

.github/dependabot.yaml

+21-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
version: 2
22
updates:
3-
- package-ecosystem: npm
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
commit-message:
8-
prefix: "chore"
9-
include: "scope"
10-
open-pull-requests-limit: 6
11-
ignore:
12-
# node-fetch must be synced manually
13-
- dependency-name: "node-fetch"
14-
- dependency-name: "release-it"
15-
- dependency-name: "@release-it/conventional-changelog"
16-
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
commit-message:
8+
prefix: "chore"
9+
include: "scope"
10+
open-pull-requests-limit: 3
11+
ignore:
12+
# node-fetch must be synced manually
13+
- dependency-name: "node-fetch"
14+
- dependency-name: "release-it"
15+
- dependency-name: "@release-it/conventional-changelog"
16+
17+
- package-ecosystem: "docker"
18+
# Look for a `Dockerfile` in the `root` directory
19+
directory: "/"
20+
# Check for updates once a week
21+
schedule:
22+
interval: "weekly"
23+

.github/workflows/dependabot-merge.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,9 @@ jobs:
99
if: github.actor == 'dependabot[bot]'
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: 'Wait for status checks'
13-
id: waitforstatuschecks
14-
uses: WyriHaximus/github-action-wait-for-status@v1
15-
with:
16-
ignoreActions: Merge me!
17-
checkInterval: 180
18-
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2012
- name: Merge me!
21-
if: steps.waitforstatuschecks.outputs.status == 'success'
2213
uses: ahmadnassri/action-dependabot-auto-merge@v2
2314
with:
2415
target: minor
2516
github-token: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
17+
command: squash and merge
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Security scan for docker image
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '30 4 * * *'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Run Trivy vulnerability scanner
13+
uses: aquasecurity/trivy-action@master
14+
with:
15+
image-ref: 'docker.io/swaggerapi/swagger-ui:unstable'
16+
format: 'table'
17+
exit-code: '1'
18+
ignore-unfixed: true
19+
vuln-type: 'os,library'
20+
severity: 'CRITICAL,HIGH'

.github/workflows/nodejs.yml

+62-41
Original file line numberDiff line numberDiff line change
@@ -9,55 +9,76 @@ on:
99
pull_request:
1010
branches: [ master ]
1111

12+
env:
13+
CYPRESS_CACHE_FOLDER: cypress/cache
14+
1215
jobs:
1316
build:
1417
runs-on: ubuntu-latest
1518

16-
strategy:
17-
matrix:
18-
node-version: [10.13.x, 10.x, 12.x, 14.x]
19-
2019
steps:
21-
- uses: actions/checkout@v2
22-
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v1
24-
with:
25-
node-version: ${{ matrix.node-version }}
26-
- name: Install dependencies
27-
run: npm ci
28-
- name: Lint code for errors only
29-
run: npm run lint-errors
30-
- name: Run all tests
31-
run: npm test
32-
env:
33-
CI: true
20+
- uses: actions/checkout@v2
21+
- name: Use Node.js 16.x
22+
uses: actions/setup-node@v2
23+
with:
24+
node-version: 16
25+
- name: Cache Node Modules
26+
id: cache-node-modules
27+
uses: actions/cache@v2
28+
with:
29+
path: node_modules
30+
key: node-modules-${{ hashFiles('package-lock.json') }}
31+
- name: Cache Cypress binary
32+
id: cache-cypress-binary
33+
uses: actions/cache@v2
34+
with:
35+
path: cypress/cache
36+
key: cypress-binary-${{ hashFiles('package-lock.json') }}
37+
- name: Install dependencies
38+
if: |
39+
steps.cache-node-modules.outputs.cache-hit != 'true' ||
40+
steps.cache-cypress-binary.outputs.cache-hit != 'true'
41+
run: npm ci
42+
- name: Lint code for errors only
43+
run: npm run lint-errors
44+
- name: Run all tests
45+
run: npm run just-test-in-node && npm run test:unit-jest
46+
env:
47+
CI: true
48+
- name: Build SwaggerUI
49+
run: npm run build
50+
- name: Test build artifacts
51+
run: npm run test:artifact
3452

35-
artifact-bundle:
53+
e2e-tests:
3654
runs-on: ubuntu-latest
37-
3855
strategy:
56+
fail-fast: false
3957
matrix:
40-
node-version: [10.x, 12.x, 14.x]
41-
42-
steps:
43-
- uses: actions/checkout@v2
44-
- name: Use Node.js ${{ matrix.node-version }}
45-
uses: actions/setup-node@v1
46-
with:
47-
node-version: ${{ matrix.node-version }}
48-
- name: Install dependencies
49-
run: npm ci
50-
- name: Build and Run all artifact tests
51-
run: npm run test:artifact
52-
53-
release:
54-
if: contains(github.ref, 'master')
55-
runs-on: ubuntu-latest
56-
needs: [build]
58+
containers: ['+(a11y|security|bugs)/**/*.js', 'features/**/+(o|d)*.js', 'features/**/m*.js', 'features/**/!(o|d|m)*.js']
5759

5860
steps:
59-
- uses: actions/checkout@v2
60-
- name: Use Node.js
61-
uses: actions/setup-node@v1
62-
with:
63-
node-version: 14.x
61+
- uses: actions/checkout@v2
62+
- name: Use Node.js 16.x
63+
uses: actions/setup-node@v2
64+
with:
65+
node-version: 16
66+
- name: Cache Node Modules
67+
id: cache-node-modules
68+
uses: actions/cache@v2
69+
with:
70+
path: node_modules
71+
key: node-modules-${{ hashFiles('package-lock.json') }}
72+
- name: Cache Cypress binary
73+
id: cache-cypress-binary
74+
uses: actions/cache@v2
75+
with:
76+
path: cypress/cache
77+
key: cypress-binary-${{ hashFiles('package-lock.json') }}
78+
- name: Install dependencies
79+
if: |
80+
steps.cache-node-modules.outputs.cache-hit != 'true' ||
81+
steps.cache-cypress-binary.outputs.cache-hit != 'true'
82+
run: npm ci
83+
- name: Cypress Test
84+
run: npx start-server-and-test cy:start http://localhost:3204 'npm run cy:run -- --spec "test/e2e-cypress/tests/${{ matrix.containers }}"'

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx commitlint -e

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

.huskyrc

-6
This file was deleted.

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*
22
*/
33
!README.md
4+
!NOTICE
45
!package.json
56
!dist/swagger-ui.js
67
!dist/swagger-ui.js.map

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16.8

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# We don't declare them here — take a look at our docs.
33
# https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md
44

5-
FROM nginx:1.19-alpine
5+
FROM nginx:1.21.4-alpine
66

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

99
LABEL maintainer="fehguy"
1010

LICENSE

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
Apache License
23
Version 2.0, January 2004
34
http://www.apache.org/licenses/
@@ -186,7 +187,7 @@
186187
same "printed page" as the copyright notice for easier
187188
identification within third-party archives.
188189

189-
Copyright 2020 SmartBear Software Inc.
190+
Copyright [yyyy] [name of copyright owner]
190191

191192
Licensed under the Apache License, Version 2.0 (the "License");
192193
you may not use this file except in compliance with the License.

NOTICE

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
swagger-ui
2+
Copyright 2020-2021 SmartBear Software Inc.

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The OpenAPI Specification has undergone 5 revisions since initial creation in 20
3535

3636
Swagger UI Version | Release Date | OpenAPI Spec compatibility | Notes
3737
------------------ | ------------ | -------------------------- | -----
38+
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)
3839
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)
3940
3.0.21 | 2017-07-26 | 2.0 | [tag v3.0.21](https://github.com/swagger-api/swagger-ui/tree/v3.0.21)
4041
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)
@@ -88,4 +89,4 @@ To help with the migration, here are the currently known issues with 3.X. This l
8889

8990
## Security contact
9091

91-
Please disclose any security-related issues or vulnerabilities by emailing [[email protected]](mailto:[email protected]), instead of using the public issue tracker.
92+
Please disclose any security-related issues or vulnerabilities by emailing [[email protected]](mailto:[email protected]), instead of using the public issue tracker.

config/jest/jest.artifact-es-bundle-core.config.js

-7
This file was deleted.

config/jest/jest.artifact-es-bundle.config.js

-7
This file was deleted.

config/jest/jest.artifact-umd-bundle.config.js renamed to config/jest/jest.artifact.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ const path = require('path');
33
module.exports = {
44
rootDir: path.join(__dirname, '..', '..'),
55
testEnvironment: 'jsdom',
6-
testMatch: ['**/test/build-artifacts/umd.js'],
6+
testMatch: ['**/test/build-artifacts/**/*.js'],
77
};

config/jest/jest.unit.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module.exports = {
1818
'<rootDir>/test/unit/components/online-validator-badge.jsx',
1919
'<rootDir>/test/unit/components/live-response.jsx',
2020
],
21+
silent: true, // set to `false` to allow console.* calls to be printed
2122
transformIgnorePatterns: [
2223
'/node_modules/(?!(react-syntax-highlighter)/)'
2324
]

dist/swagger-ui-bundle.js

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

dist/swagger-ui-bundle.js.LICENSE.txt

+28-14
Original file line numberDiff line numberDiff line change
@@ -64,32 +64,46 @@ object-assign
6464
* Licensed under the MIT License.
6565
*/
6666

67-
/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */
67+
/*! @license DOMPurify 3.1.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.3/LICENSE */
6868

69-
/*! https://mths.be/punycode v1.3.2 by @mathias */
69+
/*! https://mths.be/punycode v1.4.1 by @mathias */
7070

7171
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
7272

73-
/**
74-
* Checks if an event is supported in the current execution environment.
75-
*
76-
* NOTE: This will not work correctly for non-generic events such as `change`,
77-
* `reset`, `load`, `error`, and `select`.
73+
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
74+
75+
/** @license React v0.20.2
76+
* scheduler.production.min.js
7877
*
79-
* Borrows from Modernizr.
78+
* Copyright (c) Facebook, Inc. and its affiliates.
8079
*
81-
* @param {string} eventNameSuffix Event name, e.g. "click".
82-
* @param {?boolean} capture Check if the capture phase is supported.
83-
* @return {boolean} True if the event is supported.
84-
* @internal
85-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
80+
* This source code is licensed under the MIT license found in the
81+
* LICENSE file in the root directory of this source tree.
8682
*/
8783

88-
/** @license React v16.8.6
84+
/** @license React v16.13.1
8985
* react-is.production.min.js
9086
*
9187
* Copyright (c) Facebook, Inc. and its affiliates.
9288
*
9389
* This source code is licensed under the MIT license found in the
9490
* LICENSE file in the root directory of this source tree.
9591
*/
92+
93+
/** @license React v17.0.2
94+
* react-dom.production.min.js
95+
*
96+
* Copyright (c) Facebook, Inc. and its affiliates.
97+
*
98+
* This source code is licensed under the MIT license found in the
99+
* LICENSE file in the root directory of this source tree.
100+
*/
101+
102+
/** @license React v17.0.2
103+
* react.production.min.js
104+
*
105+
* Copyright (c) Facebook, Inc. and its affiliates.
106+
*
107+
* This source code is licensed under the MIT license found in the
108+
* LICENSE file in the root directory of this source tree.
109+
*/

dist/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.

dist/swagger-ui-es-bundle-core.js

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

dist/swagger-ui-es-bundle-core.js.map

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

dist/swagger-ui-es-bundle.js

+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)