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

js-xdr

Package Overview
Dependencies
Maintainers
8
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-xdr - npm Package Versions

234

3.1.2

Diff

Changelog

Source

v3.1.2

Fixed

  • Increase robustness of compatibility across multiple js-xdr instances in an environment (#122).
stellar-npm-ci
published 3.1.1 •

Changelog

Source

v3.1.1

Fixed

  • Add compatibility with pre-ES2016 environments (like some React Native JS compilers) by adding a custom Buffer.subarray polyfill (#118).
stellar-npm-ci
published 3.1.0 •

Changelog

Source

v3.1.0

Added

  • The raw, underlying XdrReader and XdrWriter types are now exposed by the library for reading without consuming the entire stream (#116).

Fixed

  • Added additional type checks for passing a bytearray-like object to XdrReaders and improves the error with details (#116).
stellar-npm-ci
published 3.0.1 •

Changelog

Source

v3.0.1

Fixes

  • This package is now being published to @stellar/js-xdr on NPM.
  • The versions at js-xdr are now considered deprecated (#111).
  • Misc. dependencies have been upgraded (#104, #106, #107, #108, #105).
stellar-npm-ci
published 3.0.0 •

Changelog

Source

v3.0.0

Breaking Change

  • Add support for easily encoding integers larger than 32 bits (#100). This (partially) breaks the API for creating Hyper and UnsignedHyper instances. Previously, you would pass low and high parts to represent the lower and upper 32 bits. Now, you can pass the entire 64-bit value directly as a bigint or string instance, or as a list of "chunks" like before, e.g.:
-new Hyper({ low: 1, high: 1 }); // representing (1 << 32) + 1 = 4294967297n
+new Hyper(4294967297n);
+new Hyper("4294967297");
+new Hyper(1, 1);
stellar-npm-ci
published 2.0.0 •

Changelog

Source

v2.0.0

  • Refactor XDR serialization/deserialization logic (#91).
  • Replace long dependency with native BigInt arithmetics.
  • Replace lodash dependency with built-in Array and Object methods, iterators.
  • Add buffer dependency for WebPack browser polyfill.
  • Update devDependencies to more recent versions, modernize bundler pipeline.
  • Automatically grow underlying buffer on writes (#84 fixed).
  • Always check that the entire read buffer is consumed (#32 fixed).
  • Check actual byte size of the string on write (#33 fixed).
  • Fix babel-polyfill build warnings (#34 fixed).
  • Upgrade dependencies to their latest versions (#92).
stellar-npm
published 1.3.0 •

Changelog

Source

v1.3.0

  • Inline and modernize the cursor dependency (#).
stellar-npm
published 1.2.0 •

Changelog

Source

v1.2.0

  • Add method validateXDR(input, format = 'raw') which validates if a given XDR is valid or not. (#56).
stellar-npm
published 1.1.4 •

Changelog

Source

v1.1.4

  • Remove core-js dependency (#45).
stellar-npm
published 1.1.3 •

Changelog

Source

v1.1.3

  • Split out reference class to it's own file to avoid circular import (#39).
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