-
Notifications
You must be signed in to change notification settings - Fork 8
fix: explicitly specify and bump typescript related deps, fix debug filtering #554
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
Conversation
@@ -54,7 +54,7 @@ | |||
"dependencies": { | |||
"debug": "^4.4.0", | |||
"lodash": "^4.17.21", | |||
"typescript": "^5.0.4" | |||
"typescript": "^5.3.3" |
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.
Same version as in mongosh.
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.
Here in the repo the package-lock points to 5.8.2 anyway, feel free to also bump it to that in mongosh too (not a blocker for this PR really, the version here in package.json doesn't really matter anyway)
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.
I bumped it to 5.8.2 anyway now.
@@ -63,6 +63,7 @@ | |||
"@mongodb-js/tsconfig-devtools": "^1.0.3", | |||
"@types/chai": "^4.2.21", | |||
"@types/mocha": "^9.1.1", | |||
"@types/node": "^22.15.30", |
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.
We didn't have this specified explicitly which might be why in mongosh the language server is using old types - could be that it is just using the hoisted version of @types/node there.
result.fileName === '/shell-api.ts' || | ||
result.fileName?.startsWith('/connection-') | ||
) { | ||
if (result.fileName?.endsWith('shell-api.ts')) { |
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.
connection files actually start with connection_, not connection- but it is only the -shell-api.ts ones that are huge and clog up debug output, causing it to be cut off and then we can't see all the actual errors.
@@ -54,7 +54,7 @@ | |||
"dependencies": { | |||
"debug": "^4.4.0", | |||
"lodash": "^4.17.21", | |||
"typescript": "^5.0.4" | |||
"typescript": "^5.3.3" |
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.
Here in the repo the package-lock points to 5.8.2 anyway, feel free to also bump it to that in mongosh too (not a blocker for this PR really, the version here in package.json doesn't really matter anyway)
No description provided.