Skip to content
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

grpc-js: Loosen dependency on @types/node #1683

Conversation

murgatroid99
Copy link
Member

This fixes #1679. TypeScript does not do module resolution the same way Node does, and one result is that it reintroduces the diamond dependency problem to a system that does not otherwise have it. The solution here is to declare a dependency with a version range so broad that npm's package deduplication logic will always apply, or at least that the constraint here is never the one that prevents it from applying.

This change may cause build problems in the future if there are relevant breaking changes in @types/node, but the existing dependency is causing build problems now so I consider that an acceptable tradeoff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants