Update JS dependencies (#19675)

* Update JS dependencies

- Update all JS dependencies minus vue and vue-loader
- Adapt to jest 28
- Add new eslint rules
- Tested Mermaid and Swagger-UI

* switch to @happy-dom/jest-environment for faster tests

* bump eslint env to es2022
This commit is contained in:
silverwind 2022-05-10 21:44:36 +02:00 committed by GitHub
parent 9d0253a9fa
commit 3c658dff23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 3023 additions and 2181 deletions

View file

@ -0,0 +1,5 @@
export default { // eslint-disable-line import/no-unused-modules
process: (content) => {
return {code: `module.exports = ${JSON.stringify(content)}`};
},
};