New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-proto

Package Overview
Dependencies
Maintainers
1
Versions
366
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-proto - npm Package Versions

1
3133
37

1.30.0

Diff
shaberman
published 1.30.0 •

Changelog

Source

v1.30.0

  • Accept cross-call metadata args in the GrpcWebImpl constructor
  • Accept DeepPartial request types for grpc-web calls
shaberman
published 1.29.0 •

Changelog

Source

v1.29.0

  • Fix toJSON with maps of messages (#124 by @mscolnick)
shaberman
published 1.28.0 •

Changelog

Source

v1.28.0

  • Use enum keyword for modeling keywords again
  • Fix maps of google.protobuf.Timestamps
  • Fix name conflicts when using google.type.Date
  • Fix maps of bytes in JSON
  • Add initial support for grpc-web using the @improbable-eng/grpc-web runtime
shaberman
published 1.27.1 •

Changelog

Source

v1.27.1

  • Extra release to ensure the build output is correct.
shaberman
published 1.27.0 •

Changelog

Source

v1.27.0

  • Added a addNestjsRestParameter=true that adds a ...rest: any parameter to use NestJS decorators like @CurrentUser (@ToonvanStrijp)
shaberman
published 1.26.0 •

Changelog

Source

v1.26.0

  • Added a oneof=properties that generates oneofs as an Abstract Data Type (ADT) of each option (@philikon)
shaberman
published 1.25.0 •

Changelog

Source

v1.25.0

  • Added a useOptionals=true option that makes non-scaler/oneof fields optional, i.e. message?: Message instead of message: Message | undefined (@philikon)
shaberman
published 1.24.0 •

Changelog

Source

v1.24.0

  • Messages no longer use a base prototype to get default values. (@cliedeman)
shaberman
published 1.23.0 •

Changelog

Source

v1.23.0

  • Added a env=both option and made that the default

    This restores the pre-1.22.0 behavior that bytes are Uint8Array so that the Buffer support is not a breaking change. Users have to opt-in with env=node.

    Also fixes a bug introduced in 1.22.0 that output an as Buffer without first checking env=node.

shaberman
published 1.22.0 •

Changelog

Source

v1.22.0

  • Added a env=node/env=browser option that defaults to env=node

    Currently env=node only changes the types of bytes from Uint8Array to Buffer, as a convenience for Node programming where Buffer (which is the defacto subclass of Uint8Array) is more widely used (@dolsup)