build: webpack@5 and webpack-dev-server@4 (#7826) (07d346b)
swagger-ui-react: add support for persistAuthorization prop (#7842) (67dd4f6), closes #7389
Additional Notes
SwaggerUI is now built using webpack@5, with dev support for webpack-dev-server@4
ES Module output bundle path now points to swagger-ui-es-bundle-core, which does not include dependencies
No change to CommonJS output bundle or path
Now uses Asset Modules, which replaces file-loader, raw-loader, and url-loader
Removed unused rules/loaders for .woff | .woff2 | .ttf | .eot fonts and html
Node polyfills are no longer bundled with webpack@5, and must be loaded separately and/or use resolve.fallback. As an example, SwaggerUI loads process, buffer, and stream-browserify as devDependencies in order to build development and production bundles.
SwaggerUI-React:
Now imports swagger-ui-es-bundle-core, and similarly outputs swagger-ui-es-bundle-core to its dist directory
Dev:
Order of execution matters for the production npm build scripts. build-stylesheets needs to get built first,
then cleanup of any empty artifacts, before building the various production bundles
Dev-helpers now relies on HTMLWebpackPlugin to inject css and bundle files
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/GJordao/simple-auth/network/alerts).
Bumps swagger-ui-dist from 4.1.2 to 4.6.2.
Release notes
Sourced from swagger-ui-dist's releases.
... (truncated)
Commits
d191c1c
chore(release): cut the v4.6.2 release5874d2b
fix(swagger-ui-react): amend prop validation for plugins (#7900)08829b1
chore(deps-dev): bump@babel/register
from 7.16.0 to 7.17.0 (#7887)59acd1b
chore(deps-dev): bump jest from 27.4.7 to 27.5.1 (#7886)a746013
chore(deps-dev): bump@babel/eslint-parser
from 7.16.3 to 7.17.0 (#7884)3d79c24
fix(examples): allow string created by regex pattern (#7829)7d4086b
chore(deps-dev): bump prettier from 2.3.2 to 2.5.1 (#7882)74c527e
chore(deps-dev): bump mini-css-extract-plugin from 2.4.6 to 2.5.3 (#7883)a165775
chore(deps): bump prop-types from 15.7.2 to 15.8.1 (#7881)1dd3ef6
chore(release): cut the v4.6.1 releaseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/GJordao/simple-auth/network/alerts).