Skip to content

Commit 5ba96cb

Browse files
committed
chore: housekeeping
1 parent a1fd6c3 commit 5ba96cb

File tree

8 files changed

+35
-447
lines changed

8 files changed

+35
-447
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.idea/
12
/.bundle/
23
/doc/
34
/log/*.log

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.14.1
1+
v24.11.1

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
ruby 3.2.0
2-
nodejs 18.14.1
2+
nodejs 24.11.1
33
yarn 1.22.19

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
"@changesets/cli": "^2.27.7"
1717
},
1818
"engines": {
19-
"node": ">= 16",
19+
"node": ">= 24.11.1",
2020
"yarn": ">= 1"
21+
},
22+
"packageManager": "yarn@1.22.19",
23+
"resolutions": {
24+
"typescript": "^5.7.2"
2125
}
2226
}

packages/eslint-config-custom/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"license": "MIT",
99
"private": true,
1010
"dependencies": {
11-
"@typescript-eslint/eslint-plugin": "^8.32.1",
12-
"@typescript-eslint/parser": "^8.3.0",
13-
"eslint": "^9.28.0",
14-
"eslint-config-prettier": "^9.1.0"
11+
"@typescript-eslint/eslint-plugin": "^2.12.0",
12+
"@typescript-eslint/parser": "^2.12.0",
13+
"eslint": "^6.1.0",
14+
"eslint-config-prettier": "^6.0.0"
1515
},
1616
"engines": {
1717
"node": ">= 18.14.1",

packages/yrb-actioncable/src/websocket-provider.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,10 @@ export class WebsocketProvider {
219219
this.doc.off('update', this.updateHandler);
220220
}
221221

222-
private send(buffer: Uint8Array, { whisper = false }: { whisper?: boolean } = {}) {
222+
private send(
223+
buffer: Uint8Array,
224+
{ whisper = false }: { whisper?: boolean } = {}
225+
) {
223226
const update = encodeBinaryToBase64(buffer);
224227

225228
if (whisper && hasWhisper(this.channel)) {
@@ -372,10 +375,12 @@ function decodeBase64ToBinary(update: string) {
372375
return Uint8Array.from(atob(update), c => c.charCodeAt(0));
373376
}
374377

375-
function hasWhisper(channel: ActionCable.Channel | undefined): channel is ChannelWithWhisper {
378+
function hasWhisper(
379+
channel: ActionCable.Channel | undefined
380+
): channel is ChannelWithWhisper {
376381
return (
377382
channel !== undefined &&
378383
'whisper' in channel &&
379384
typeof channel.whisper === 'function'
380385
);
381-
}
386+
}

turbo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://turbo.build/schema.json",
3-
"pipeline": {
3+
"tasks": {
44
"build": {
55
"outputs": ["dist/**"]
66
},

0 commit comments

Comments
 (0)