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

23
22

8.3.2

Diff

Changelog

Source

8.3.2 - 2023-12-06

Fixed

  • Fix handling of a @graph @container term that has a null @context.
davidlehn
published 8.3.1 •

Changelog

Source

8.3.1 - 2023-09-06

Fixed

  • Handle unset rdfDirection the same as null.
davidlehn
published 8.3.0 •

Changelog

Source

8.3.0 - 2023-09-06

Added

  • Emit toRdf warning if @direction is used and rdfDirection is not set.

Fixed

  • Add safe mode support for @direction. Using @direction without rdfDirection set will cause a safe mode failure.
davidlehn
published 8.2.1 •

Changelog

Source

8.2.1 - 2023-08-31

Fixed

  • Fix handling of graph property with empty array.
  • Fix safe mode for @graph use cases.
    • Check all elements of graph property with array.
  • Fix test pr41 of protected redefinition of equivalent id terms.
  • Fix relative IRI parsing.
davidlehn
published 8.2.0 •

Changelog

Source

8.2.0 - 2023-05-19

Changed

  • Update for latest [rdf-canon][] changes: test suite location, README, links, and identifiers.
    • Skip test with 'U' escapes. Will enable when [rdf-canonize][] dependency is updated.
  • Test on Node.js 20.x.
  • Align test and benchmark code with [rdf-canonize][].
    • NOTE: This changes various testing and benchmark runner features and options.
    • Update env var usage.
    • Use more common code between Node.js and karma tests.
    • Conditionally load test suites.
    • Fix various minor bugs.
    • Add multiple jobs benchmarking support.
  • Update benchmark compare script.

Fixed

  • Improve safe mode for @graph use cases.
  • Fix @json frame test 0069.
davidlehn
published 8.1.1 •

Changelog

Source

8.1.1 - 2023-02-25

Fixed

  • Don't fail in safe mode for a value object with "@type": "@json".
davidlehn
published 8.1.0 •

Changelog

Source

8.1.0 - 2022-08-29

Fixed

  • relative property reference event renamed to relative predicate reference.
  • relative type reference event renamed to relative object reference.
dlongley
published 8.0.0 •

Changelog

Source

8.0.0 - 2022-08-23

Changed

  • BREAKING: By default, set safe mode to true and base to null in canonize. Applications that were previously canonizing data may see new errors if their data did not fully define terms or used relative URLs that would be dropped when converting to canonized RDF. Now these situations are caught via safe mode by default, informing the developer that they need to fix their data.
dlongley
published 7.0.0 •

Changelog

Source

7.0.0 - 2022-08-16

Fixed

  • compact t0111 test: "Keyword-like relative IRIs"

Changed

  • Change EARL Assertor to Digital Bazaar, Inc.
  • Update eslint dependencies.

Added

  • Support benchmarks in Karma tests.
  • Support test environment in EARL output.
  • Support benchmark output in EARL output.
  • Benchmark comparison tool.
  • Add "safe mode" to all APIs. Enable by adding {safe: true} to API options. This mode causes processing to fail when data constructs are encountered that result in lossy behavior or other data warnings. This is intended to be the common way that digital signing and similar applications use this library.

Removed

  • Experimental non-standard protectedMode option.
  • BREAKING: Various console warnings were removed. The newly added "safe mode" can stop processing where these warnings occurred.
  • BREAKING: Remove compactionMap and expansionMap. Their known use cases are addressed with "safe mode" and future planned features.
davidlehn
published 6.0.0 •

Changelog

Source

6.0.0 - 2022-06-06

Changed

  • BREAKING: Drop testing and support for Node.js 12.x. The majority of the code will still run on Node.js 12.x. However, the @digitalbazaar/http-client@3 update uses a newer ky-universal which uses a top-level await that is unsupported in older Node.js versions. That causes the included node documentLoader to not function and tests to fail. If you wish to still use earlier Node.js versions, you may still be able to do so with your own custom documentLoader.
  • BREAKING: npm prepublish script changed to prepack. The dist/ contents will not be generated by default for development installs. Run npm run build if needed. This was done to avoid extra work only needed for packing and publication, and for temporary webpack version issues. A new CI build test has been added to check builds pass. The prepack script could be prepare instead if use cases exist where that is needed. File an issue if this is a concern.
  • Update to @digitalbazaar/http-client@3:
    • Pulls in newer ky and ky-universal that should address security alerts and provide other improvements.
    • Use global URL interface to handle relative redirects.
23
22
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