On several environment (production server, my machine), swagger-ui@3.18.0 is causing trouble:
warning "swagger-ui > webpack-dev-server@2.11.2" has incorrect peer dependency "webpack@^2.2.0 || ^3.0.0".
(...)
[0] TypeError: _dompurify2.default.addHook is not a function
[0] at Object.<anonymous> (/Users/florianpagnoux/Dev/openfisca/legislation-explorer/node_modules/swagger-ui/dist/webpack:/src/core/components/providers/markdown.jsx:7:11)
[0] at __webpack_require__ (/Users/florianpagnoux/Dev/openfisca/legislation-explorer/node_modules/swagger-ui/dist/webpack:/webpack/bootstrap e373ce07a3ac6fb7d981:19:1)
(...)
This forces to use a version that is known to work
On several environment (production server, my machine),
swagger-ui@3.18.0
is causing trouble:This forces to use a version that is known to work