Skip to content

Commit 2fd1d89

Browse files
authored
fix(deps): update jsonwebtoken to v9 (#68)
1 parent 4ae9636 commit 2fd1d89

File tree

11 files changed

+112
-187
lines changed

11 files changed

+112
-187
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,5 @@ jobs:
1010
with:
1111
node-version: 18
1212
cache: npm
13-
- name: Install playwright browsers
14-
run: npx playwright install --with-deps
15-
- name: Run tests
16-
run: npx playwright test
1713
- run: npm ci
1814
- run: npm test

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const { githubAppJwt } = require("universal-github-app-jwt");
6868
(async () => {
6969
const { token, appId, expiration } = await githubAppJwt({
7070
id: APP_ID,
71-
privateKey: PRIVATE_KEY
71+
privateKey: PRIVATE_KEY,
7272
});
7373
})();
7474
```
@@ -78,8 +78,8 @@ The retrieved `token` can now be used in Authorization request header, e.g. with
7878
```js
7979
request("GET /app", {
8080
headers: {
81-
authorization: `bearer ${token}`
82-
}
81+
authorization: `bearer ${token}`,
82+
},
8383
});
8484
```
8585

package-lock.json

Lines changed: 75 additions & 141 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)