rdfjs-c14n
Advanced tools
Changelog
Version 3.1.0
Iterable<rdf.Quad> | string
. This provides extra flexibility and makes the code clearer. (Proposed by @tpluscode, see github comment)Changelog
Version 3.0.0
crypto-js
package has been discontinued, switching to the WebCrypto API for hashing (available in node.js
for versions 21 and upwards). This is a backward incompatible change, because hashing in WebCrypto is an asynchronous function, and this "bubbles up" to the generic interface as well.Changelog
Version 2.0.4
Changelog
Version 2.0.3
node.js
platform (as opposed to, say, a browser). This means:
crypto-js
library is used. Although it has a slightly smaller set of available hashing functions, that is not really important for RDFC10 (which, formally, is based on sha256, and everything else is just a cherry on the cake)node.js
based, others may want to come up with alternatives for, e.g., deno
or a browser.Changelog
Version 2.0.2
.rdfjs_c14n.json
configuration file in the local directory as well as the user's home directory for further values. These are merged using the usual priority (HOME < Local Dir < environment variables).canonicalizeDetailed
entry point has been renamed c14n
...Set<rdf.Quad>
everywhere rather than using a 'Shell' to cover for a Set or an Array. (It may be a bit slower that way, but the complication may not be worth it.)Changelog
Version 2.0.1
Changelog
Version 2.0.0
openssl list -digest-commands
and implemented by node.js
. Also, setting the algorithm is now done via accessors, with an extra accessor giving access to the list of available names.Iteratable
?). The simple union of Set or Array of quads is, in this respect much more usable...)RDFCanon
to RDFC10
. The documentation and the tests have also been changed to reflect the new name.