@auth0/angular-jwt
Advanced tools
Comparing version 5.0.1 to 5.0.2
# Change log | ||
## Version [5.0.1](https://github.com/auth0/angular2-jwt/tags/v5.0.1) | ||
[Full Changelog](https://github.com/auth0/angular2-jwt/compare/v5.0.0..v5.0.1) | ||
- Remove dependency on the window object for SSR support | ||
## Version [5.0.0](https://github.com/auth0/angular2-jwt/tags/v5.0.0) | ||
@@ -7,4 +13,4 @@ | ||
- Replace whitelistedDomains to allowedDomain[#668](https://github.com/auth0/angular2-jwt/pull/668) | ||
- Replace blacklistedRoutes to disallowedRoutes[#668](https://github.com/auth0/angular2-jwt/pull/668) | ||
- Replace `whitelistedDomains` to `allowedDomains` [#668](https://github.com/auth0/angular2-jwt/pull/668) | ||
- Replace `blacklistedRoutes` to `disallowedRoutes` [#668](https://github.com/auth0/angular2-jwt/pull/668) | ||
- Removed the url dependency, as this is a Node module in the CommonJS format, and the Angular 10 CLI throws warnings when using dependencies in the CommonJS format. We're using the default URL interface, https://developer.mozilla.org/en-US/docs/Web/API/URL [#666](https://github.com/auth0/angular2-jwt/pull/666) | ||
@@ -11,0 +17,0 @@ |
@@ -109,2 +109,2 @@ // tslint:disable:no-bitwise | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiand0aGVscGVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWp3dC9zcmMvbGliL2p3dGhlbHBlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLDRCQUE0QjtBQUU1QixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFHakQsTUFBTSxPQUFPLGdCQUFnQjtJQUczQixZQUFpQyxNQUFNL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aXJlZChcbiAgICB0b2tlbjogc3RyaW5nID0gdGhpcy50b2tlbkdldHRlcigpLFxuICAgIG9mZnNldFNlY29uZHM/OiBudW1iZXJcbiAgKTogYm9vbGVhbiB7XG4gICAgaWYgKCF0b2tlbiB8fCB0b2tlbiA9PT0gXCJcIikge1xuICAgICAgcmV0dXJuIHRydWU7XG4gICAgfVxuICAgIGNvbnN0IGRhdGUgPSB0aGlzLmdldFRva2VuRXhwaXJhdGlvbkRhdGUodG9rZW4pO1xuICAgIG9mZnNldFNlY29uZHMgPSBvZmZzZXRTZWNvbmRzIHx8IDA7XG5cbiAgICBpZiAoZGF0ZSA9PT0gbnVsbCkge1xuICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cblxuICAgIHJldHVybiAhKGRhdGUudmFsdWVPZigpID4gbmV3IERhdGUoKS52YWx1ZU9mKCkgKyBvZmZzZXRTZWNvbmRzICogMTAwMCk7XG4gIH1cblxuICBwdWJsaWMgZ2V0QXV0aFNjaGVtZShcbiAgICBhdXRoU2NoZW1lOiBGdW5jdGlvbiB8IHN0cmluZyB8IHVuZGVmaW5lZCxcbiAgICByZXF1ZXN0OiBIdHRwUmVxdWVzdDxhbnk+XG4gICk6IHN0cmluZyB7XG4gICAgaWYgKHR5cGVvZiBhdXRoU2NoZW1lID09PSBcImZ1bmN0aW9uXCIpIHtcbiAgICAgIHJldHVybiBhdXRoU2NoZW1lKHJlcXVlc3QpO1xuICAgIH1cblxuICAgIHJldHVybiBhdXRoU2NoZW1lO1xuICB9XG59XG4iXX0= |
@@ -8,3 +8,3 @@ import { HttpRequest } from "@angular/common/http"; | ||
private b64DecodeUnicode; | ||
decodeToken(token?: string): any; | ||
decodeToken<T = any>(token?: string): T; | ||
getTokenExpirationDate(token?: string): Date | null; | ||
@@ -11,0 +11,0 @@ isTokenExpired(token?: string, offsetSeconds?: number): boolean; |
{ | ||
"name": "@auth0/angular-jwt", | ||
"version": "5.0.1", | ||
"description": "JSON Web Token helper library for Angular", | ||
"private": false, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/auth0/angular2-jwt" | ||
}, | ||
"author": "Sam Bellen", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/auth0/angular2-jwt/issues" | ||
}, | ||
"keywords": [ | ||
"angular", | ||
"angular 2", | ||
"authentication", | ||
"jwt" | ||
], | ||
"homepage": "https://github.com/auth0/angular2-jwt", | ||
"peerDependencies": { | ||
"@angular/common": ">=9.0.0" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
}, | ||
"main": "bundles/auth0-angular-jwt.umd.js", | ||
"module": "fesm2015/auth0-angular-jwt.js", | ||
"es2015": "fesm2015/auth0-angular-jwt.js", | ||
"esm2015": "esm2015/auth0-angular-jwt.js", | ||
"fesm2015": "fesm2015/auth0-angular-jwt.js", | ||
"typings": "auth0-angular-jwt.d.ts", | ||
"metadata": "auth0-angular-jwt.metadata.json", | ||
"sideEffects": false | ||
} | ||
"name": "@auth0/angular-jwt", | ||
"version": "5.0.2", | ||
"description": "JSON Web Token helper library for Angular", | ||
"private": false, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/auth0/angular2-jwt" | ||
}, | ||
"author": "Sam Bellen", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/auth0/angular2-jwt/issues" | ||
}, | ||
"keywords": [ | ||
"angular", | ||
"angular 2", | ||
"authentication", | ||
"jwt" | ||
], | ||
"homepage": "https://github.com/auth0/angular2-jwt", | ||
"peerDependencies": { | ||
"@angular/common": ">=9.0.0" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
}, | ||
"main": "bundles/auth0-angular-jwt.umd.js", | ||
"module": "fesm2015/auth0-angular-jwt.js", | ||
"es2015": "fesm2015/auth0-angular-jwt.js", | ||
"esm2015": "esm2015/auth0-angular-jwt.js", | ||
"fesm2015": "fesm2015/auth0-angular-jwt.js", | ||
"typings": "auth0-angular-jwt.d.ts", | ||
"metadata": "auth0-angular-jwt.metadata.json", | ||
"sideEffects": false | ||
} |
@@ -27,2 +27,8 @@ # @auth0/angular-jwt | ||
**This library relies on the URL interface which is not supported in IE11.** | ||
To solve the IE11 compatibility, you can add a polyfill. | ||
- run `npm i --save url-polyfill` | ||
- add `import 'url-polyfill';` to `polyfills.ts` in your project | ||
## Usage: Standalone | ||
@@ -29,0 +35,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145473
408