-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update our dependencies #1798
Update our dependencies #1798
Conversation
@@ -453,7 +453,7 @@ export class PgDataStore implements DataStore, ProvisioningStore { | |||
"server" | |||
], | |||
), | |||
[counter, homeserver || "*", server.domain], | |||
[counter, homeserver || "*", server.domain] as any[], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New version of @types/pg is very generic-happy, and insists on these being an array of a single type. explicitely casting them as any
seems like the most sensible option here.
@@ -650,7 +650,7 @@ export class PgDataStore implements DataStore, ProvisioningStore { | |||
if (res.rowCount === 0) { | |||
return undefined; | |||
} | |||
else if (res.rowCount > 1) { | |||
else if (res.rowCount! > 1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason for this sillyness is here: brianc/node-postgres#2967
Signed-off-by: Tadeusz „tadzik” Sośnierz <tadeusz@sosnierz.com>
Signed-off-by: Tadeusz „tadzik” Sośnierz <tadeusz@sosnierz.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks sane, but I think we can update matrix-appservice-bridge. Agree with deprecating nedb soon though!
package.json
Outdated
@@ -44,47 +44,47 @@ | |||
"matrix-appservice-bridge": "^9.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can still update to 10, you just need to add nedb as a dependency :)
Some are held back due to them requiring ESM (to be considered separately). That'd be
escape-string-regexp
andquick-lru
.jasmine
from 4.0 onwards introduces a weird (seemingly) async bug withroom setup link endpoint should create a M<--->I link for a channel that has capital letters in it
. Afair we're planning to move away from Jasmine anyway, so it's probably not worth spending time on that now.matrix-bot-sdk
is held back due to it droppingnedb
, which we still support – perhaps it's the right time to drop it here as well though?