Skip to content

Commit 5ae6c00

Browse files
committed
Upgrade dependencies
1 parent 72910a3 commit 5ae6c00

File tree

16 files changed

+184
-191
lines changed

16 files changed

+184
-191
lines changed

.prettierrc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,9 @@
22
"semi": false,
33
"singleQuote": true,
44
"trailingComma": "none",
5-
"arrowParens": "avoid",
5+
"arrowParens": "always",
66
"singleAttributePerLine": true,
77
"plugins": [
88
"prettier-plugin-svelte"
9-
],
10-
"overrides": [
11-
{
12-
"files": "*.svelte",
13-
"options": {
14-
"parser": "svelte"
15-
}
16-
}
179
]
1810
}

.yarn/install-state.gz

3.02 KB
Binary file not shown.

Gemfile.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ GEM
129129
dry-configurable (1.2.0)
130130
dry-core (~> 1.0, < 2)
131131
zeitwerk (~> 2.6)
132-
dry-core (1.0.1)
132+
dry-core (1.0.2)
133133
concurrent-ruby (~> 1.0)
134+
logger
134135
zeitwerk (~> 2.6)
135136
dry-inflector (1.1.0)
136137
dry-initializer (3.1.1)
@@ -199,7 +200,7 @@ GEM
199200
jwt (2.9.3)
200201
base64
201202
language_server-protocol (3.17.0.3)
202-
lefthook (1.8.1)
203+
lefthook (1.8.2)
203204
listen (3.9.0)
204205
rb-fsevent (~> 0.10, >= 0.10.3)
205206
rb-inotify (~> 0.9, >= 0.9.10)
@@ -227,7 +228,7 @@ GEM
227228
timeout
228229
net-smtp (0.5.0)
229230
net-protocol
230-
nio4r (2.7.3)
231+
nio4r (2.7.4)
231232
nokogiri (1.16.7)
232233
mini_portile2 (~> 2.8.2)
233234
racc (~> 1.4)
@@ -342,19 +343,19 @@ GEM
342343
rubocop-ast (>= 1.32.2, < 2.0)
343344
ruby-progressbar (~> 1.7)
344345
unicode-display_width (>= 2.4.0, < 3.0)
345-
rubocop-ast (1.32.3)
346+
rubocop-ast (1.33.0)
346347
parser (>= 3.3.1.0)
347348
rubocop-factory_bot (2.26.1)
348349
rubocop (~> 1.61)
349350
rubocop-performance (1.22.1)
350351
rubocop (>= 1.48.1, < 2.0)
351352
rubocop-ast (>= 1.31.1, < 2.0)
352-
rubocop-rails (2.26.2)
353+
rubocop-rails (2.27.0)
353354
activesupport (>= 4.2.0)
354355
rack (>= 1.1)
355356
rubocop (>= 1.52.0, < 2.0)
356357
rubocop-ast (>= 1.31.1, < 2.0)
357-
rubocop-rspec (3.1.0)
358+
rubocop-rspec (3.2.0)
358359
rubocop (~> 1.61)
359360
rubocop-rspec_rails (2.30.0)
360361
rubocop (~> 1.61)

app/frontend/lib/helpers/session.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ export const session = writable<{
77
user?: { uuid: string; name: string; locale: string }
88
}>(session_init)
99

10-
export const getSession = function () {
10+
export const getSession = () => {
1111
return get(session)
1212
}
1313

14-
export const setSession = function (value: object) {
14+
export const setSession = (value: object) => {
1515
session.set(value)
1616

1717
const json = JSON.stringify(value)
@@ -20,7 +20,7 @@ export const setSession = function (value: object) {
2020
return true
2121
}
2222

23-
export const clearSession = function () {
23+
export const clearSession = () => {
2424
const json = JSON.stringify({})
2525
window.localStorage.setItem('session', json)
2626

app/frontend/routes/forgot-password/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
event.preventDefault()
1313
1414
forgotPassword({ email }, `success`)
15-
.then(res => {
15+
.then((res) => {
1616
errors.set([])
1717
result = res.data.forgotPassword
1818
})

app/frontend/routes/login/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
event.preventDefault()
1818
1919
loginUser({ email, password, otpCode }, `user { uuid email name locale }`)
20-
.then(async res => {
20+
.then(async (res) => {
2121
const data = res.data.loginUser
2222
const user = data.user
2323

app/frontend/routes/posts/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
$effect(() => {
2323
allPosts(params, `nodes { uuid title user { uuid name } }`)
24-
.then(res => {
24+
.then((res) => {
2525
posts = res.data.allPosts.nodes
2626
pageInfo = res.data.allPosts.pageInfo
2727
})

app/frontend/routes/posts/[uuid]/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
$effect(() => {
2323
findPost({ uuid }, fields)
24-
.then(res => {
24+
.then((res) => {
2525
post = res.data.findPost
2626
})
2727
.catch((error: unknown) => {
@@ -31,7 +31,7 @@
3131
})
3232
3333
watchPost({ uuid }, fields).subscribe(
34-
res => {
34+
(res) => {
3535
console.log(res)
3636
if (res.data.postUpdated !== undefined) {
3737
console.log(res.data)

app/frontend/routes/posts/[uuid]/edit/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
2020
$effect(() => {
2121
findPost({ uuid }, `uuid title body`)
22-
.then(res => {
22+
.then((res) => {
2323
post = res.data.findPost
2424
})
2525
.catch((error: unknown) => {
@@ -31,7 +31,7 @@
3131
3232
function onsubmit(data: PostSubmission) {
3333
updatePost({ uuid, ...data }, `post { uuid title body }`)
34-
.then(_res => {
34+
.then((_res) => {
3535
void goto(`/posts/${uuid}`)
3636
})
3737
.catch((error: unknown) => {

app/frontend/routes/posts/new/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
function onsubmit(data: PostSubmission) {
1515
createPost(data, `post { uuid }`)
16-
.then(res => {
16+
.then((res) => {
1717
const uuid = res.data.createPost.post.uuid as string
1818
void goto(`/posts/${uuid}`)
1919
})

0 commit comments

Comments
 (0)