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

jsonld

Package Overview
Dependencies
Maintainers
5
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonld - npm Package Versions

1
22

1.2.0

Diff

Changelog

Source

1.2.0 - 2018-12-11

Notes

  • The updated [rdf-canonize][] extracted out native support into [rdf-canonize-native][] and now has an optional dependency on this new module. If you have build tools available it will still build and use native support otherwise it will fallback to less performant JS code.
  • If you wish to require the native rdf-canonize bindings, add a dependency in your code to rdf-canonize-native to insure it is installed.
  • Some systems such as Travis CI currently only have ancient compilers installed by default. Users of rdf-canonize, and hence jsonld.js, previously required special setup so the rdf-canonize native bindings would be installable. If CI testing is not performance critical you can now simplify your CI config, let those bindings fail to install, and use the JS fallback code.

Changed

  • Update rdf-canonize dependency to 0.3.

Added

  • Initial support for benchmarking.
  • Basic callback interface tests.
  • Add README note about running json-ld.org test suite.

Removed

  • Callback version of every test.
    • Callback interface tests added to catch callback API errors.
    • Avoids duplication of running every test for promises and callbacks.
    • Simplifies testing code and makes async/await conversion easier.
davidlehn
published 1.1.0 •

Changelog

Source

1.1.0 - 2018-09-05

Added

  • Add skipExpansion flag to toRdf and canonize.
davidlehn
published 1.0.4 •

Changelog

Source

1.0.4 - 2018-08-17

Fixed

  • Fix _findContextUrls refactoring bug from 1.0.3.
davidlehn
published 1.0.3 •

Changelog

Source

1.0.3 - 2018-08-16

Changed

  • Improve performance of active context cache and find context urls:
    • Use Map/Set.
    • Cache initial contexts based on options.
    • Reduce lookups.
  • Update webpack/karma core-js usage:
    • Add Map, Set, and Array.from support.
davidlehn
published 1.0.2 •

Changelog

Source

1.0.2 - 2018-05-22

Fixed

  • Handle compactArrays option in @graph compaction.
  • Many eslint fixes.
  • Add missing await to createNodeMap() and merge().
davidlehn
published 1.0.1 •

Changelog

Source

1.0.1 - 2018-03-01

Fixed

  • Don't always use arrays for @graph. Fixes 1.0 compatibility issue.
davidlehn
published 1.0.0 •

Changelog

Source

1.0.0 - 2018-02-28

Notes

  • 1.0.0!
  • Semantic Versioning is now past the "initial development" 0.x.y stage (after 7+ years!).
  • Conformance:
    • JSON-LD 1.0 + JSON-LD 1.0 errata
    • JSON-LD 1.1 drafts
  • Thanks to the JSON-LD and related communities and the many many people over the years who contributed ideas, code, bug reports, and support!

Added

  • Expansion and Compaction using scoped contexts on property and @type terms.
  • Expansion and Compaction of nested properties.
  • Index graph containers using @id and @index, with @set variations.
  • Index node objects using @id and @type, with @set variations.
  • Framing default and named graphs in addition to merged graph.
  • Value patterns when framing, allowing a subset of values to appear in the output.
davidlehn
published 0.5.21 •

Changelog

Source

0.5.21 - 2018-02-22

Fixed

  • ES2018 features are being used. Update version check to use generated Node.js 6 code when using Node.js earlier than 8.6.0.
davidlehn
published 0.5.20 •

Changelog

Source

0.5.20 - 2018-02-10

Fixed

  • Typo handling legacy N-Quads dataset format.
davidlehn
published 0.5.19 •

Changelog

Source

0.5.19 - 2018-02-09

Fixed

  • Include String startsWith() compatibility code.
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