Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Mar 7, 2024
1 parent 97c3c46 commit 1b0cd26
Show file tree
Hide file tree
Showing 6 changed files with 672 additions and 503 deletions.
2 changes: 1 addition & 1 deletion client-node/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let pair = new LocalPair()

let client = new ClientNode<Headers, Log<MyMeta>>('client', log, pair.left)

// THROWS { locale: string; }' is not assignable to parameter of type 'Headers'
// THROWS 'locale' does not exist in type 'Headers'
client.setLocalHeaders({ locale: 'ru' })

// THROWS 'string' is not assignable to type 'number'
Expand Down
2 changes: 1 addition & 1 deletion log/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Log, MemoryStore, Action } from '../index.js'

let log = new Log({ nodeId: 'test1', store: new MemoryStore() })

// THROWS '{ name: string; }' is not assignable to parameter of type 'Action'
// THROWS 'name' does not exist in type 'Action'
log.add({ name: 'Kate' })

// THROWS 'number' is not assignable to type 'string'
Expand Down
2 changes: 1 addition & 1 deletion logux-error/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { LoguxError } from '../index.js'

// THROWS 'number' is not assignable to parameter of type 'void'
new LoguxError('bruteforce', 10)
// THROWS '{ a: number; }' is not assignable to parameter of type 'Versions'.
// THROWS 'a' does not exist in type 'Versions'
new LoguxError('wrong-protocol', { a: 1 })
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,29 +33,29 @@
"node": "^18.0.0 || >=20.0.0"
},
"dependencies": {
"nanoevents": "^8.0.0"
"nanoevents": "^9.0.0"
},
"devDependencies": {
"@logux/eslint-config": "^52.0.1",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"c8": "^8.0.1",
"@logux/eslint-config": "^52.0.2",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"c8": "^9.1.0",
"check-dts": "^0.7.2",
"clean-publish": "^4.2.0",
"eslint": "^8.50.0",
"clean-publish": "^4.3.0",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-perfectionist": "^2.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-perfectionist": "^2.6.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.1.1",
"nanodelay": "^2.0.2",
"nanospy": "^1.0.0",
"tsm": "^2.3.0",
"typescript": "^5.2.2",
"typescript": "^5.4.2",
"uvu": "^0.5.6",
"ws": "^8.14.2"
"ws": "^8.16.0"
},
"prettier": {
"arrowParens": "avoid",
Expand Down
Loading

0 comments on commit 1b0cd26

Please sign in to comment.