bufbuild / protobuf-es

Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.
Apache License 2.0
960 stars 55 forks source link

V2: Remove Node10 subpath fallbacks #804

Closed timostamm closed 1 month ago

timostamm commented 1 month ago

Active support for Node.js v10 ended nearly four years ago, security support ended nearly three years ago. I think we can safely remove the fallback for subpath exports in v2.

For context, see #802.

We still maintain the package.json field typesVersions so that TypeScript can see types with Node10 module resolution (it's still commonly used with the alias node). But there doesn't appear to be an obvious reason to maintain JS files for runtime purposes.