Skip to content

Commit 6cf55f4

Browse files
committed
fix: update dependencies
Closes #904 Closes #902 Closes #880
1 parent a8e173d commit 6cf55f4

File tree

9 files changed

+64
-65
lines changed

9 files changed

+64
-65
lines changed

cdk/hosting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { IAMClient } from '@aws-sdk/client-iam'
22
import chalk from 'chalk'
3-
import pJSON from '../package.json'
3+
import pJSON from '../package.json' assert { type: 'json' }
44
import { HostingApp } from './HostingApp.js'
55
import { ensureGitHubOIDCProvider } from './ensureGitHubOIDCProvider.js'
66

package-lock.json

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

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
"postinstall": "cp -r node_modules/svg-country-flags/svg/ static/flags"
2929
},
3030
"dependencies": {
31-
"@hello.nrfcloud.com/proto": "15.3.21",
32-
"@hello.nrfcloud.com/proto-map": "16.1.19",
31+
"@hello.nrfcloud.com/proto": "15.3.22",
32+
"@hello.nrfcloud.com/proto-map": "16.1.27",
3333
"@sentry/browser": "8.40.0",
34-
"@sinclair/typebox": "0.33.22",
34+
"@sinclair/typebox": "0.34.8",
3535
"classnames": "2.5.1",
3636
"code-128-encoder": "3.1.1",
3737
"compare-versions": "6.1.1",
@@ -42,27 +42,27 @@
4242
"lucide-preact": "0.460.0",
4343
"maplibre-gl": "4.7.1",
4444
"nanoid": "5.0.8",
45-
"preact": "10.24.3",
45+
"preact": "10.25.0",
4646
"qrcode": "1.5.4",
4747
"semver": "7.6.3",
4848
"svg-country-flags": "1.2.10",
49-
"yaml": "2.6.0"
49+
"yaml": "2.6.1"
5050
},
5151
"devDependencies": {
5252
"@aws-sdk/client-cloudformation": "3.699.0",
5353
"@aws-sdk/client-cloudfront": "3.699.0",
5454
"@aws-sdk/client-iam": "3.699.0",
5555
"@babel/plugin-syntax-import-assertions": "7.26.0",
5656
"@bifravst/cloudformation-helpers": "9.1.1",
57-
"@bifravst/eslint-config-typescript": "6.1.18",
57+
"@bifravst/eslint-config-typescript": "6.1.19",
5858
"@bifravst/from-env": "3.0.2",
5959
"@bifravst/prettier-config": "1.1.1",
6060
"@commitlint/config-conventional": "19.6.0",
6161
"@playwright/test": "1.49.0",
6262
"@preact/preset-vite": "2.9.1",
6363
"@swc/core": "1.9.3",
6464
"@types/lodash-es": "4.17.12",
65-
"@types/node": "22.9.0",
65+
"@types/node": "22.9.3",
6666
"@types/qrcode": "1.5.5",
6767
"@types/semver": "7.5.8",
6868
"@types/websocket": "1.0.10",
@@ -73,7 +73,7 @@
7373
"chalk": "5.3.0",
7474
"commitlint": "19.6.0",
7575
"glob": "11.0.0",
76-
"husky": "9.1.6",
76+
"husky": "9.1.7",
7777
"lint-staged": "15.2.10",
7878
"nock": "14.0.0-beta.16",
7979
"playwright": "1.49.0",
@@ -86,7 +86,7 @@
8686
"remark-rehype": "11.1.1",
8787
"tsmatchers": "5.0.2",
8888
"tsx": "4.19.2",
89-
"vike": "0.4.201",
89+
"vike": "0.4.204",
9090
"websocket": "1.0.35"
9191
},
9292
"engines": {

src/components/FeedbackForm.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ export const FeedbackForm = () => {
125125
)}
126126
</label>
127127
<textarea
128-
type="text"
129128
class={cx('form-control', {
130129
'is-invalid': errors.includes('suggestion'),
131130
})}

src/components/QRCodeGenerator.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const QRCodeGenerator = () => {
2828
Year
2929
<input
3030
type="number"
31-
min={2023}
31+
min={'2023'}
3232
class="form-control"
3333
id="yearInput"
3434
placeholder="e.g. '2023'"
@@ -45,8 +45,8 @@ export const QRCodeGenerator = () => {
4545
Week
4646
<input
4747
type="number"
48-
min={1}
49-
max={53}
48+
min={'1'}
49+
max={'53'}
5050
class="form-control"
5151
id="weekInput"
5252
placeholder="e.g. '17'"

src/components/buttons/Button.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
useEffect,
55
useRef,
66
useState,
7+
type ButtonHTMLAttributes,
78
type HTMLAttributes,
89
type PropsWithChildren,
910
type RefObject,
@@ -90,7 +91,7 @@ export const Button = ({
9091
children,
9192
noAngleEffect,
9293
...rest
93-
}: HTMLAttributes<HTMLButtonElement> &
94+
}: ButtonHTMLAttributes<HTMLButtonElement> &
9495
ButtonStyleArgs & { children: ComponentChild }) => {
9596
const angleEffect = !(noAngleEffect ?? false) && !(rest.outline ?? false)
9697
const ref = useRef<HTMLButtonElement>(null)

src/components/buttons/ButtonlikeLink.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ import {
44
buttonStyleClass,
55
type ButtonStyleArgs,
66
} from '#components/buttons/Button.js'
7-
87
import { type ComponentChild } from 'preact'
9-
import { useRef, type HTMLAttributes } from 'preact/compat'
8+
import { useRef, type AnchorHTMLAttributes } from 'preact/compat'
109

1110
export const ButtonlikeLink = ({
1211
children,
1312
noAngleEffect,
1413
...rest
15-
}: HTMLAttributes<HTMLAnchorElement> &
14+
}: AnchorHTMLAttributes<HTMLAnchorElement> &
1615
ButtonStyleArgs & { children: ComponentChild }) => {
1716
const ref = useRef<HTMLAnchorElement>(null)
1817
const angleEffect = !(noAngleEffect ?? false) && !(rest.outline ?? false)

src/proto/validPassthrough.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { validateWithTypeBox } from '@hello.nrfcloud.com/proto'
22
import { Shadow } from '@hello.nrfcloud.com/proto/hello'
33
import assert from 'node:assert'
44
import { describe, test as it, mock } from 'node:test'
5-
import shadow from './shadow.json'
5+
import shadow from './shadow.json' assert { type: 'json' }
66
import { validPassthrough } from './validPassthrough.js'
77

88
void describe('validPassthrough', () => {

vite/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { preact } from '@preact/preset-vite'
22
import ssr from 'vike/plugin'
33
import { defineConfig, type PluginOption } from 'vite'
4-
import { dependencies } from '../package.json'
4+
import pJSON from '../package.json' assert { type: 'json' }
55
import { encloseWithSlash } from './encloseWithSlash.js'
66
import { homepage, version } from './siteInfo.js'
77

@@ -26,7 +26,7 @@ export const createConfig = ({
2626
DOMAIN_NAME: JSON.stringify(domainName),
2727
SENTRY_DSN: JSON.stringify(sentryDSN),
2828
PROTO_MAP_VERSION: JSON.stringify(
29-
dependencies['@hello.nrfcloud.com/proto-map'],
29+
pJSON.dependencies['@hello.nrfcloud.com/proto-map'],
3030
),
3131
}
3232
for (const [k, v] of Object.entries(define)) {

0 commit comments

Comments
 (0)