Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

thriftrw

Package Overview
Dependencies
Maintainers
9
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thriftrw - npm Package Versions

2345

3.11.4

Diff

kriskowal
published 3.12.0 •

Changelog

Source

[3.12.0] - 2020-01-02

Added

  • Support for browsers. Thrift can now be bundled with tools like Browserify and used in browser scripts, both for parsing IDL and generating binary payloads.
  • All IDL files may be UTF-8. Previously, ThriftRW Node.js limited IDL to the 7 bit ASCII subset. The Go version of ThriftRW supports UTF-8 encoded Thrift IDL files by default. This change brings ThriftRW Node.js into parity. This affects the asynchronous filesystem API used by Thrift.load. readFile must accept an encoding argument.

Fixed

  • The allowIncludeAlias option previously only applied to the main Thrift module. It now applies to all transitively included modules. However, using this feature is ill-advised since no other Thrift implementation has provided this experimental feature and it would limit inter-language compatibility.
kriskowal
published 3.11.3 •

Changelog

Source

[3.11.3] - 2018-10-04

Changed

  • Removes thrift include restrictions for relative paths only. All paths are considered by default relative to the thrift file. Note, thriftrw parser throw error if the code tries to include absolute paths.
kriskowal
published 3.11.2 •

Changelog

Source

[3.11.2] - 2018-02-09

Fixed

  • Fixes a bug in encoding negative numbers expressed as plain JavaScript numbers with the i64 type with the js.type Long annotation. Previously, these would be encoded as negative in the low four bytes, and zeros in the high bytes, resulting in a large 32 bit positive number.
uber
published 3.11.1 •

Changelog

Source

[3.11.1] - 2017-05-26

Fixed

  • Propagate defaultAsUndefined to dependent Thrift constructors so that imported structs will respect the configuration of the root Thrift object.
uber
published 3.11.0 •

Changelog

Source

3.11.0

Fixed

  • Fix constructor support for undefined default values. This allows either undefined or null to be used in the constructor.
kriskowal
published 3.10.0 •

Changelog

Source

[3.10.0] - 2017-02-06

Added

  • Adds an defaultAsUndefined option to the Thrift constructor that causes the default for absent values to be undefined instead of null. This greatly abbreviates the result of JSON.stringify on structs with many absent keys.
raynos
published 3.9.0 •

Changelog

Source

[3.9.0] - 2016-12-28

Fixed

  • Reverts a change to how PEGJS generates a Thrift IDL parser, disabling caching of intermediate nodes for back-tracking. This feature, while making parsing theoretically faster, caused production tests with many IDL files to bloat the heap and take minutes to run.
kriskowal
published 3.8.0 •

Changelog

Source

[3.8.0] - 2016-10-18

Added

  • Thread annotations for individual enum definitions
kriskowal
published 3.7.0 •

Changelog

Source

[3.7.0] - 2016-10-18

Added

  • Annotations are exposed on all type models and nodes of the syntax tree. (#135)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc