Skip to content

Commit 2b500f1

Browse files
committed
fix: update dependencies
1 parent 890adef commit 2b500f1

19 files changed

+5658
-5716
lines changed

.github/workflows/test-and-release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ env:
1717
JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION: 1
1818
REGISTRY: ghcr.io
1919

20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
2024
jobs:
2125
unit-tests:
2226
runs-on: ubuntu-24.04

cdk/backend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { IAMClient } from '@aws-sdk/client-iam'
33
import { ensureGitHubOIDCProvider } from '@bifravst/ci'
44
import { fromEnv } from '@bifravst/from-env'
55
import { getCertificateArnForDomain } from '../aws/acm.ts'
6-
import pJSON from '../package.json' assert { type: 'json' }
6+
import pJSON from '../package.json' with { type: 'json' }
77
import { BackendApp } from './BackendApp.ts'
88
import { pack as packBaseLayer } from './baseLayer.ts'
99
import { pack as packCDKLayer } from './cdkLayer.ts'

cdk/baseLayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
packLayer,
33
type PackedLayer,
44
} from '@bifravst/aws-cdk-lambda-helpers/layer'
5-
import pJson from '../package.json' assert { type: 'json' }
5+
import pJson from '../package.json' with { type: 'json' }
66

77
const dependencies: Array<keyof (typeof pJson)['dependencies']> = [
88
'@bifravst/from-env',

cdk/cdkLayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
packLayer,
33
type PackedLayer,
44
} from '@bifravst/aws-cdk-lambda-helpers/layer'
5-
import pJson from '../package.json' assert { type: 'json' }
5+
import pJson from '../package.json' with { type: 'json' }
66

77
const dependencies: Array<keyof (typeof pJson)['devDependencies']> = [
88
'cfn-response',

cdk/jwtLayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
packLayer,
33
type PackedLayer,
44
} from '@bifravst/aws-cdk-lambda-helpers/layer'
5-
import pJson from '../package.json' assert { type: 'json' }
5+
import pJson from '../package.json' with { type: 'json' }
66

77
const dependencies: Array<keyof (typeof pJson)['dependencies']> = [
88
'jsonwebtoken',

cdk/resources/containers/buildOpenSSLLambdaImage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type { logFn } from '../../../cli/log.ts'
1616
const __filename = fileURLToPath(import.meta.url)
1717
const __dirname = path.dirname(__filename)
1818

19-
import pJSON from '../../../package.json' assert { type: 'json' }
19+
import pJSON from '../../../package.json' with { type: 'json' }
2020

2121
export const buildOpenSSLLambdaImage = async (
2222
builder: ImageBuilder,

cli/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { program } from 'commander'
1010
import { env } from '../aws/env.ts'
1111
import type { StackOutputs } from '../cdk/BackendStack.ts'
1212
import { STACK_NAME } from '../cdk/stackConfig.ts'
13-
import psjon from '../package.json' assert { type: 'json' }
13+
import psjon from '../package.json' with { type: 'json' }
1414
import type { CommandDefinition } from './commands/CommandDefinition.ts'
1515
import { buildContainersCommand } from './commands/build-container.ts'
1616
import { configureHelloCommand } from './commands/configure-hello.ts'

lambda/deviceJwt.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ import { fromEnv } from '@bifravst/from-env'
44
import { aResponse } from '@hello.nrfcloud.com/lambda-helpers/aResponse'
55
import { addVersionHeader } from '@hello.nrfcloud.com/lambda-helpers/addVersionHeader'
66
import { corsOPTIONS } from '@hello.nrfcloud.com/lambda-helpers/corsOPTIONS'
7-
import {
8-
ProblemDetailError,
9-
problemResponse,
10-
} from '@hello.nrfcloud.com/lambda-helpers/problemResponse'
7+
import { problemResponse } from '@hello.nrfcloud.com/lambda-helpers/problemResponse'
118
import { requestLogger } from '@hello.nrfcloud.com/lambda-helpers/requestLogger'
129
import {
1310
validateInput,
1411
type ValidInput,
1512
} from '@hello.nrfcloud.com/lambda-helpers/validateInput'
1613
import { Context, PublicDeviceId } from '@hello.nrfcloud.com/proto-map/api'
14+
import { ProblemDetailError } from '@hello.nrfcloud.com/proto/hello'
1715
import middy from '@middy/core'
1816
import { Type } from '@sinclair/typebox'
1917
import type {

lambda/extendDeviceSharing.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ import { fromEnv } from '@bifravst/from-env'
55
import { addVersionHeader } from '@hello.nrfcloud.com/lambda-helpers/addVersionHeader'
66
import { aResponse } from '@hello.nrfcloud.com/lambda-helpers/aResponse'
77
import { corsOPTIONS } from '@hello.nrfcloud.com/lambda-helpers/corsOPTIONS'
8-
import {
9-
ProblemDetailError,
10-
problemResponse,
11-
} from '@hello.nrfcloud.com/lambda-helpers/problemResponse'
8+
import { problemResponse } from '@hello.nrfcloud.com/lambda-helpers/problemResponse'
129
import { requestLogger } from '@hello.nrfcloud.com/lambda-helpers/requestLogger'
1310
import {
1411
validateInput,
1512
type ValidInput,
1613
} from '@hello.nrfcloud.com/lambda-helpers/validateInput'
1714
import { PublicDeviceId } from '@hello.nrfcloud.com/proto-map/api'
15+
import { ProblemDetailError } from '@hello.nrfcloud.com/proto/hello'
1816
import middy from '@middy/core'
1917
import { Type } from '@sinclair/typebox'
2018
import type {

lambda/middleware/withUser.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
import { ProblemDetailError } from '@hello.nrfcloud.com/lambda-helpers/problemResponse'
2-
import { HttpStatusCode } from '@hello.nrfcloud.com/proto/hello'
1+
import {
2+
HttpStatusCode,
3+
ProblemDetailError,
4+
} from '@hello.nrfcloud.com/proto/hello'
35
import type { MiddlewareObj } from '@middy/core'
46
import type {
57
APIGatewayProxyEventV2,

0 commit comments

Comments
 (0)