Skip to content

Releases: dchest/tweetnacl-util-js

v0.15.0

19 Mar 19:31
v0.15.0
Compare
Choose a tag to compare
  • Added validation of base64-encoded input: decodeBase64 will throw if the string contains invalid characters. If you want to ignore whitespace, you should remove it before passing to decoder. (Previously only browser version would throw in this case. Turns out Node.js Buffer doesn't validate encoding at all, for "performance" reasons — that is, it returns some kind of output even for invalid input — for example Buffer.from("бред", "base64") results in <Buffer d7 9e> — which is ridiculous.)
  • Buffer.from is now used on modern Node.js versions (versions that don't have from will continue using the deprecated constructor.)

This is the last version to be published on Bower: for simplicity, newer versions will only be published on NPM.

v0.14.0

22 Feb 11:19
v0.14.0
Compare
Choose a tag to compare
  • nacl.util.decodeUTF8 throws if input is not a string.

v0.13.5

13 Dec 11:16
v0.13.5
Compare
Choose a tag to compare

Added The Unlicense text.

v0.13.4

08 Dec 23:59
v0.13.4
Compare
Choose a tag to compare

Added TypeScript type definitions

v0.13.3

20 Feb 10:59
Compare
Choose a tag to compare

nacl.util extracted from tweetnacl-js v0.13.3