Skip to content

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
Closes #200
Closes #198
Closes #197
  • Loading branch information
coderbyheart committed Nov 24, 2024
1 parent 5f0156a commit 7f0631f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 26 deletions.
4 changes: 1 addition & 3 deletions hello/Context.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ void describe('Context', () => {
void it('should generate a problemDetail context URL', () =>
assert.deepEqual(
Context.problemDetail,
new URL(
`https://github.com/hello-nrfcloud/proto/blob/saga/hello/errors/ProblemDetail.ts`,
),
new URL(`https://github.com/hello-nrfcloud/proto/ProblemDetail`),
))
void it('should generate a error context URL', () =>
assert.deepEqual(
Expand Down
4 changes: 2 additions & 2 deletions hello/errors/examples.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import assert from 'node:assert/strict'
import { describe, test as it } from 'node:test'
import { validateWithTypeBox } from '../../validator/validateWithTypeBox.js'
import { ProblemDetail } from './ProblemDetail.js'
import BAD_REQUEST from './examples/BAD_REQUEST.json'
import INTERNAL_ERROR from './examples/INTERNAL_ERROR.json'
import BAD_REQUEST from './examples/BAD_REQUEST.json' assert { type: 'json' }
import INTERNAL_ERROR from './examples/INTERNAL_ERROR.json' assert { type: 'json' }

void describe('Error example messages', () => {
const validator = validateWithTypeBox(ProblemDetail)
Expand Down
36 changes: 18 additions & 18 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 @@ -42,7 +42,7 @@
"prepublishOnly": "./compile.sh"
},
"devDependencies": {
"@bifravst/eslint-config-typescript": "6.1.18",
"@bifravst/eslint-config-typescript": "6.1.19",
"@bifravst/prettier-config": "1.1.1",
"@commitlint/config-conventional": "19.6.0",
"@swc/cli": "0.5.1",
Expand Down Expand Up @@ -102,8 +102,8 @@
"generate"
],
"peerDependencies": {
"@hello.nrfcloud.com/proto-map": "^16.1.19",
"@sinclair/typebox": "^0.33.22",
"@hello.nrfcloud.com/proto-map": "^16.1.27",
"@sinclair/typebox": "^0.34.8",
"ajv": "^8.17.1",
"jsonata": "^2.0.5"
}
Expand Down

0 comments on commit 7f0631f

Please sign in to comment.