I got warning when I built my Angular Project after update to 10, it seems the issue is url.js using CommonJS style to import modules.
Thanks for reporting!
I've created a pull request that will resolve those warnings complaining about url.js being a CommonJS lib. This will be included in the next version.
@Sambego When we could expect next version? It will be compatible with Angular 10?
A new version will be published in the next few days.
The current version v4.2.0 works fine with Angular 10, but throws some warnings. These warnings will be gone in the next version of this library.
These warnings are gone in the latest version v5.0.0. When updating, be aware that version 5 also has some breaking changes concerning the allowed domains and dissallowed routes. https://github.com/auth0/angular2-jwt/blob/main/CHANGELOG.md
Most helpful comment
I got warning when I built my Angular Project after update to 10, it seems the issue is url.js using CommonJS style to import modules.