Skip to content

Commit

Permalink
Update deps and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Jul 26, 2024
1 parent da93293 commit cc80472
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
type=semver,pattern={{version}}
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
node-version: 20
- name: Set up Bun
uses: oven-sh/setup-bun@v1
uses: oven-sh/setup-bun@v2
with:
bun-version: '1.1.2'
- name: Set up Go
Expand Down
55 changes: 23 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"license": "MIT",
"dependencies": {
"async-lock": "^1.4.1",
"better-sqlite3": "^9.5.0",
"better-sqlite3": "^11.1.2",
"hashmap-with-ttl": "^1.0.0",
"jose": "^5.2.4",
"jose": "^5.6.3",
"rsa-csr": "^1.0.6"
},
"devDependencies": {
"@types/bun": "^1.1.0"
"@types/bun": "^1.1.6"
}
}
2 changes: 1 addition & 1 deletion test/unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test('client validation works', async () => {

test('caa resolver works', async () => {
expect(await validateCAARecords("forwarddomain.net")).toBe(null);
expect(await validateCAARecords("github.com")).toEqual([
expect((await validateCAARecords("github.com"))?.sort()).toEqual([
"0 issue \"digicert.com\"",
"0 issue \"globalsign.com\"",
"0 issue \"sectigo.com\""
Expand Down

0 comments on commit cc80472

Please sign in to comment.