@vercel/oidc 2.0.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/get-vercel-oidc-token.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @vercel/oidc
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Drop Node.js 18, bump minimum to Node.js 20 ([#13856](https://github.com/vercel/vercel/pull/13856))
|
|
8
|
+
|
|
9
|
+
## 2.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix "Cannot find module" error caused by dynamically importing files without their extensions ([#13815](https://github.com/vercel/vercel/pull/13815))
|
|
14
|
+
|
|
3
15
|
## 2.0.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -44,8 +44,8 @@ async function getVercelOidcToken() {
|
|
|
44
44
|
}
|
|
45
45
|
try {
|
|
46
46
|
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
|
|
47
|
-
await import("./token-util"),
|
|
48
|
-
await import("./token")
|
|
47
|
+
await import("./token-util.js"),
|
|
48
|
+
await import("./token.js")
|
|
49
49
|
]);
|
|
50
50
|
if (!token || isExpired(getTokenPayload(token))) {
|
|
51
51
|
await refreshToken();
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"require": "./dist/index.js"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"version": "
|
|
17
|
+
"version": "3.0.0",
|
|
18
18
|
"repository": {
|
|
19
19
|
"directory": "packages/oidc",
|
|
20
20
|
"type": "git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"peerDependenciesMeta": {},
|
|
35
35
|
"engines": {
|
|
36
|
-
"node": ">=
|
|
36
|
+
"node": ">= 20"
|
|
37
37
|
},
|
|
38
38
|
"license": "Apache-2.0",
|
|
39
39
|
"publishConfig": {
|