-
Notifications
You must be signed in to change notification settings - Fork 75
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
Dependency bump #245
Dependency bump #245
Conversation
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 recently added feature in @bufbuild/protoplugin means we have to retain some pins.
"@typescript/vfs": "1.0.0", | ||
"@types/jest": "^29.0.3", | ||
"jest": "^29.0.3" | ||
"@typescript/vfs": "1.4.0", |
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 have to keep this at 1.0.0. We use this pin to avoid npm from hoisting this dependency in packages/protoplugin. It's a terrible hack.
@@ -37,7 +37,7 @@ | |||
"dependencies": { | |||
"@bufbuild/protobuf": "0.1.1", | |||
"@typescript/vfs": "^1.4.0", | |||
"typescript": "4.5.2" | |||
"typescript": "4.8.4" |
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 should keep this pinned at the older version. We deliberately don't want to keep this up to date, because updating the TypeScript compiler can change to transpiled code, and we want the generated code to be stable.
protobuf-es/packages/protoplugin/src/ecmascript/transpile.ts
Lines 56 to 58 in 5ae3246
* Note: this library intentionally transpiles with a pinned older version of | |
* TypeScript for stability. This version is denoted in this workspace's | |
* package.json. For the default set of compiler options, we use a lenient |
Dependabot batched updates