Comments (3)
A minor version upgrade is supposed to include new features but no breaking changes.
from angular2-jwt.
The build errors I got looked like this
[2022-10-06T09:13:35.948Z]
[2022-10-06T09:13:35.948Z] ERROR in node_modules/@auth0/angular-jwt/lib/jwthelper.service.d.ts:13:21 - error TS2694: Namespace '"/data/jenkins/workspace/aubsgesuch-ui_feature_npm-update/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
[2022-10-06T09:13:35.948Z]
[2022-10-06T09:13:35.948Z] 13 static ɵfac: i0.ɵɵFactoryDeclaration<JwtHelperService, never>;
[2022-10-06T09:13:35.948Z] ~~~~~~~~~~~~~~~~~~~~
[2022-10-06T09:13:35.948Z] node_modules/@auth0/angular-jwt/lib/jwthelper.service.d.ts:14:22 - error TS2694: Namespace '"/data/jenkins/workspace/aubsgesuch-ui_feature_npm-update/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'.
[2022-10-06T09:13:35.948Z]
[2022-10-06T09:13:35.948Z] 14 static ɵprov: i0.ɵɵInjectableDeclaration<JwtHelperService>;
[2022-10-06T09:13:35.948Z] ~~~~~~~~~~~~~~~~~~~~~~~
[2022-10-06T09:13:35.948Z] node_modules/@auth0/angular-jwt/lib/jwt.interceptor.d.ts:21:21 - error TS2694: Namespace '"/data/jenkins/workspace/aubsgesuch-ui_feature_npm-update/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
[2022-10-06T09:13:35.948Z]
[2022-10-06T09:13:35.948Z] 21 static ɵfac: i0.ɵɵFactoryDeclaration<JwtInterceptor, never>;
[2022-10-06T09:13:35.948Z] ~~~~~~~~~~~~~~~~~~~~
[2022-10-06T09:13:35.948Z] node_modules/@auth0/angular-jwt/lib/jwt.interceptor.d.ts:22:22 - error TS2694: Namespace '"/data/jenkins/workspace/aubsgesuch-ui_feature_npm-update/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'.
[2022-10-06T09:13:35.948Z]
[2022-10-06T09:13:35.948Z] 22 static ɵprov: i0.ɵɵInjectableDeclaration<JwtInterceptor>;
[2022-10-06T09:13:35.948Z] ~~~~~~~~~~~~~~~~~~~~~~~
[2022-10-06T09:13:35.948Z] node_modules/@auth0/angular-jwt/lib/angular-jwt.module.d.ts:20:21 - error TS2694: Namespace '"/data/jenkins/workspace/aubsgesuch-ui_feature_npm-update/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
[2022-10-06T09:13:35.948Z]
[2022-10-06T09:13:35.948Z] 20 static ɵfac: i0.ɵɵFactoryDeclaration<JwtModule, [{ optional: true; skipSelf: true; }]>;
[2022-10-06T09:13:35.948Z] ~~~~~~~~~~~~~~~~~~~~
[2022-10-06T09:13:35.948Z] node_modules/@auth0/angular-jwt/lib/angular-jwt.module.d.ts:21:21 - error TS2694: Namespace '"/data/jenkins/workspace/aubsgesuch-ui_feature_npm-update/node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDeclaration'.
[2022-10-06T09:13:35.948Z]
[2022-10-06T09:13:35.948Z] 21 static ɵmod: i0.ɵɵNgModuleDeclaration<JwtModule, never, never, never>;
[2022-10-06T09:13:35.948Z] ~~~~~~~~~~~~~~~~~~~~~
[2022-10-06T09:13:35.948Z] node_modules/@auth0/angular-jwt/lib/angular-jwt.module.d.ts:22:21 - error TS2694: Namespace '"/data/jenkins/workspace/aubsgesuch-ui_feature_npm-update/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.
[2022-10-06T09:13:35.948Z]
[2022-10-06T09:13:35.948Z] 22 static ɵinj: i0.ɵɵInjectorDeclaration<JwtModule>;
[2022-10-06T09:13:35.948Z]
from angular2-jwt.
Hey, thanks for reaching out.
I tried elaborating on the decision here, I also understand it can break a couple of people. But important to point out that if this release breaks you, you are using an unsupported version of Angular.
We can't realy provide support for software that isn't supported by itself. I know this can be considered a breaking change from your point of view, and sorry about that. But when you consider any version of Angular that is supported, the change is non-breaking.
You can still pin your versions to ~5.0.1
untill you managed to update to a version of Angular that does receive security fixes, being Angular 12 or higher.
from angular2-jwt.
Related Issues (20)
- tokenGetter using async documentation not complete
- Error: The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more. HOT 1
- Angular 12 support HttpInterceptor Context HOT 4
- Angular 13 support HOT 28
- upstream dependency conflict while installing angular2-jwt package using angular-cli HOT 1
- ``
- v5.1.0 broke azure devops publishing HOT 5
- tokenGetter does not support Promise HOT 2
- Getting an issue of no exported member from angular core HOT 1
- Encourage the library authors to publish an Ivy distribution HOT 2
- Release v5.1.1 decodeToken<T = any>(token?: string): T | Promise<T> HOT 4
- 'ɵɵngDeclareFactory' (imported as 'i0') was not found in '@angular/core' HOT 2
- Authorization header stops going through after the browser sits idle for a while. HOT 7
- JwtInterceptor not work HOT 2
- No header with standalone components HOT 4
- Angular 16 support HOT 1
- Package not working with es2022 HOT 4
- Angular JWT 5.0.2 not compiling with Angular 13.3.6 HOT 1
- App no longer working after installing auth0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-jwt.