🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@vercel/oidc

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/oidc - npm Package Compare versions

Comparing version
3.0.4
to
3.0.5
+6
-0
CHANGELOG.md
# @vercel/oidc
## 3.0.5
### Patch Changes
- Fix OIDC token expiry check ([#14306](https://github.com/vercel/vercel/pull/14306))
## 3.0.4

@@ -4,0 +10,0 @@

+1
-2

@@ -162,5 +162,4 @@ "use strict";

}
const TIME_15_MINUTES_IN_MS = 15 * 60 * 1e3;
function isExpired(token) {
return token.exp * 1e3 < Date.now() + TIME_15_MINUTES_IN_MS;
return token.exp * 1e3 < Date.now();
}

@@ -167,0 +166,0 @@ // Annotate the CommonJS export names for ESM import in node:

@@ -20,3 +20,3 @@ {

},
"version": "3.0.4",
"version": "3.0.5",
"repository": {

@@ -23,0 +23,0 @@ "directory": "packages/oidc",