Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-node/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:

steps:
- name: Set up Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ inputs.node-version }}
node-version-file: ${{ inputs.node-version == '' && '.node-version' || '' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: pnpm run generate

- name: Check for uncommitted changes
uses: cerbos/actions/check-repo-status@77f6019c58e3749bc035c696149309861302101f # main
uses: cerbos/actions/check-repo-status@0dde32b217c6de288963059ed711ece80b9e99c5 # main

test-matrix:
name: Generate test matrix
Expand Down Expand Up @@ -149,6 +149,6 @@ jobs:

- name: Notify Slack on failure
if: failure() && github.event_name == 'schedule'
uses: cerbos/actions/notify-slack@77f6019c58e3749bc035c696149309861302101f # main
uses: cerbos/actions/notify-slack@0dde32b217c6de288963059ed711ece80b9e99c5 # main
with:
webhook-url: ${{ secrets.SLACK_CI_NOTIFICATIONS_WEBHOOK_URL }}
4 changes: 2 additions & 2 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Notify Slack on failure
if: failure()
uses: cerbos/actions/notify-slack@77f6019c58e3749bc035c696149309861302101f # main
uses: cerbos/actions/notify-slack@0dde32b217c6de288963059ed711ece80b9e99c5 # main
with:
webhook-url: ${{ secrets.SLACK_CI_NOTIFICATIONS_WEBHOOK_URL }}

Expand All @@ -66,6 +66,6 @@ jobs:

- name: Notify Slack on failure
if: failure()
uses: cerbos/actions/notify-slack@77f6019c58e3749bc035c696149309861302101f # main
uses: cerbos/actions/notify-slack@0dde32b217c6de288963059ed711ece80b9e99c5 # main
with:
webhook-url: ${{ secrets.SLACK_CI_NOTIFICATIONS_WEBHOOK_URL }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:

- name: Notify Slack on failure
if: failure()
uses: cerbos/actions/notify-slack@77f6019c58e3749bc035c696149309861302101f # main
uses: cerbos/actions/notify-slack@0dde32b217c6de288963059ed711ece80b9e99c5 # main
with:
webhook-url: ${{ secrets.SLACK_CI_NOTIFICATIONS_WEBHOOK_URL }}
4 changes: 2 additions & 2 deletions .github/workflows/update-protos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: pnpm run generate

- name: Create pull request
uses: cerbos/actions/create-pull-request@77f6019c58e3749bc035c696149309861302101f # main
uses: cerbos/actions/create-pull-request@0dde32b217c6de288963059ed711ece80b9e99c5 # main
with:
client-id: ${{ secrets.CERBOS_BOT_CLIENT_ID }}
private-key: ${{ secrets.CERBOS_BOT_PRIVATE_KEY }}
Expand All @@ -47,6 +47,6 @@ jobs:

- name: Notify Slack on failure
if: failure()
uses: cerbos/actions/notify-slack@77f6019c58e3749bc035c696149309861302101f # main
uses: cerbos/actions/notify-slack@0dde32b217c6de288963059ed711ece80b9e99c5 # main
with:
webhook-url: ${{ secrets.SLACK_CI_NOTIFICATIONS_WEBHOOK_URL }}
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
persist-credentials: false

- name: Run zizmor
uses: cerbos/actions/lint-actions@77f6019c58e3749bc035c696149309861302101f # main
uses: cerbos/actions/lint-actions@0dde32b217c6de288963059ed711ece80b9e99c5 # main
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@cerbos/sdk-javascript",
"private": true,
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"packageManager": "pnpm@10.33.1+sha512.05ba3c1d5d1c18f68df06470d74055e62d41fc110a0c660db1b2dfb2785327f04cf0f68345d4609bc52089e7fa0343c31593b2f9594e2c5d5da426230acc9820",
"engines": {
"node": "25.9.0",
"pnpm": "10.33.0"
"pnpm": "10.33.1"
},
"scripts": {
"all:parallel": "concurrently --group --prefix=none",
Expand Down Expand Up @@ -56,7 +56,7 @@
"@tsconfig/node20": "20.1.9",
"@tsconfig/strictest": "2.0.8",
"@types/node": "20.19.39",
"@types/web": "0.0.345",
"@types/web": "0.0.347",
"concurrently": "9.2.1",
"depcheck": "1.4.7",
"eslint": "9.39.4",
Expand All @@ -66,6 +66,6 @@
"tsx": "4.21.0",
"typedoc": "0.28.19",
"typedoc-plugin-mdn-links": "5.1.1",
"typescript": "6.0.2"
"typescript": "6.0.3"
}
}
2 changes: 1 addition & 1 deletion packages/core/src/convert/fromProtobuf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1538,7 +1538,7 @@ export function translateEnum<
translate: Record<Enum[keyof Enum], Result | Unexpected>,
): Result {
if (value in translate) {
const result = translate[value] as Result | Unexpected;
const result: Result | Unexpected = translate[value];

if (!isUnexpected(result)) {
return result;
Expand Down
2 changes: 1 addition & 1 deletion packages/hub/src/errors/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ export function errorCode(error: unknown): StatusNotOK {
}

function connectCodeToStatus(code: Code): StatusNotOK {
return code as number as StatusNotOK;
return code as number as StatusNotOK; // eslint-disable-line @typescript-eslint/no-unnecessary-type-assertion -- https://github.com/typescript-eslint/typescript-eslint/issues/12271
}
Loading