Comparing version 3.1.1 to 3.1.2
@@ -5,2 +5,9 @@ # Changelog | ||
## [3.1.2](https://github.com/panva/jose/compare/v3.1.1...v3.1.2) (2020-11-24) | ||
### Bug Fixes | ||
* handle globalThis undefined in legacy browsers ([b83c59b](https://github.com/panva/jose/commit/b83c59bb43ad14ac932cd0c662f7dfc2c4c62753)) | ||
## [3.1.1](https://github.com/panva/jose/compare/v3.1.0...v3.1.1) (2020-11-24) | ||
@@ -7,0 +14,0 @@ |
function getGlobal() { | ||
if (typeof globalThis !== 'undefined') | ||
return globalThis; | ||
if (typeof self !== 'undefined') | ||
@@ -8,2 +10,2 @@ return self; | ||
} | ||
export default globalThis || getGlobal(); | ||
export default getGlobal(); |
{ | ||
"name": "jose", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "JSON Web Almost Everything - JWA, JWS, JWE, JWK, JWT, JWKS with no dependencies", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
686576
16633