balena-auth
Advanced tools
Comparing version 6.0.0 to 6.0.1-build-jwt-decode-3-8179bdfc955741da8e3064d18ce415c6c4220f00-1
@@ -22,7 +22,7 @@ "use strict"; | ||
*/ | ||
const jwtDecode = require("jwt-decode"); | ||
const jwt_decode_1 = require("jwt-decode"); | ||
const token_1 = require("./token"); | ||
class JWT { | ||
static parse(key) { | ||
return jwtDecode(key.trim()); | ||
return (0, jwt_decode_1.default)(key.trim()); | ||
} | ||
@@ -29,0 +29,0 @@ static isValid(key) { |
{ | ||
"name": "balena-auth", | ||
"version": "6.0.0", | ||
"version": "6.0.1-build-jwt-decode-3-8179bdfc955741da8e3064d18ce415c6c4220f00-1", | ||
"description": "Balena session authentication utilities", | ||
@@ -72,6 +72,5 @@ "main": "build/auth.js", | ||
"dependencies": { | ||
"@types/jwt-decode": "^2.2.1", | ||
"balena-errors": "^4.7.1", | ||
"balena-settings-storage": "^8.1.0", | ||
"jwt-decode": "^2.2.0", | ||
"jwt-decode": "^3.1.2", | ||
"tslib": "^2.0.0" | ||
@@ -85,4 +84,4 @@ }, | ||
"versionist": { | ||
"publishedAt": "2024-02-23T10:25:06.027Z" | ||
"publishedAt": "2024-02-23T10:34:42.344Z" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
44479
4
1
+ Addedjwt-decode@3.1.2(transitive)
- Removed@types/jwt-decode@^2.2.1
- Removed@types/jwt-decode@2.2.1(transitive)
- Removedjwt-decode@2.2.0(transitive)
Updatedjwt-decode@^3.1.2