15 Commits

Author SHA1 Message Date
kyy
f464ba2d31 Update swagger-ui
Some checks failed
Node.js CI / build (push) Failing after 2s
Node.js CI / e2e-tests (+(a11y|security|bugs)/**/*cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/!(o|d|m)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/+(o|d)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/m*.cy.js) (push) Failing after 2s
Security scan for docker image / build (push) Failing after 8s
CodeQL / Analyze (javascript) (push) Failing after 1m10s
2025-06-24 13:40:26 +09:00
Vladimír Gorej
80d56c9518 feat: apply cumulative update to address various issues (#10324) 2025-02-27 11:12:42 +01:00
Vladimír Gorej
7addbd0eb5 test: consolidate unit tests (#9588)
All mocha tests have been migrated to Jest tests.

Closes #9564
2024-02-14 11:39:40 +01:00
Vladimír Gorej
d89726a24b feat(deps): integrate swagger-client@3.22.0 (#9202) 2023-09-13 10:43:27 +02:00
Vladimír Gorej
edd1153723 feat: expose plugins and presets on SwaggerUI global symbol (#9189)
Part of this commit is also:
- complete plugins consolidation
- complete presets consolidation
- build system consolidation

Refs #9188
2023-09-05 09:56:51 +02:00
Vladimír Gorej
565aed71a5 chore(deps-dev): bump sinon from 15.1.0 to 15.2.0 (#9021)
Closes #8948
2023-07-14 14:15:48 +02:00
Tim Lai
b89e88579c fix(jsdom): cumulative Jest updates with support for TextEncoder/TextDecoder (#8111) 2022-07-20 13:15:06 -07:00
Vladimir Gorej
7409f41b97 feat(build): expose true ESM bundle as primary artifact (#7937)
Refs #7907
Refs #7831
2022-03-24 12:24:01 +01:00
Vladimir Gorej
8b1c4a7c1a feat(error-handling): introduce unified and configurable error handling (#7761)
Refs #7778
2022-01-24 16:12:13 +01:00
Vladimir Gorej
747038029a revert: bump serialize-error from 8.1.0 to 9.0.0 (#7670)
Refs 7049015
Refs #7670
2022-01-19 14:39:08 +01:00
Vladimir Gorej
70490150ed chore(deps): bump serialize-error from 8.1.0 to 9.0.0 (#7670)
* chore(deps): bump serialize-error from 8.1.0 to 9.0.0

Closes #7662

Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2022-01-18 13:12:49 -08:00
Vladimir Gorej
b299be764f fix: introduce Error Boundaries to handle unexpected failures (#7671)
Two new components have been updated via plugin system: ErrorBoundary and Fallback.
These components can be overridden by user plugins.

Refs #7647
2021-11-25 13:47:22 +01:00
Vladimir Gorej
9b5cbecad0 ci: optimize speed of CI (#7649)
Refs #7627
2021-11-16 21:22:17 +01:00
Tim Lai
1a27c0a8bd feat: migrate unit tests to Jest (#6353)
* config(jest): updated setup
* config(jest): update testMatch to include jsx files
* config(jest): add transformIgnorePatterns
* config(jest): update ignore files that do not work in jest yet
* config: add test:unit-jest to test script

* fix(jest): lint with eslint-plugin-jest

* refactor(jest): move unit test directory
* refactor(mocha): restore mocha tests that fail in jest

* docs(jest): update helpful scripts with test:unit-jest
2020-09-01 10:41:01 -07:00
Tim Lai
2eaa6c10e4 feat(build): es2015 bundle artifact (#6291)
* es2015 bundle with dependencies via npm script build:es:bundle
* es2015 bundle without dependencies via npm script build:es:bundle
* jest dependency for test:artifact
* migrate babel.config.json to babel.config.js and maintain env support for commonjs and es2015
* remove polyfill
* fix es syntax: replace module.exports with export
* fix es syntax: remove .jsx extension inside import
2020-08-13 17:21:55 -07:00