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

jsonld

Package Overview
Dependencies
Maintainers
6
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonld - npm Package Versions

13
22

5.2.0

Diff

Changelog

Source

5.2.0 - 2021-04-07

Changed

  • Update rdf-canonize.
davidlehn
published 5.1.0 •

Changelog

Source

5.1.0 - 2021-04-07

Changed

  • Use globalThis to set globals in browser contexts.
  • Split platform support out into Node.js and browser files.
  • Update @digitalbazaar/http-client dependency to address engine compatibility issues with newer Node.js versions.
  • Update dependencies.

Fixed

  • Browser override path style.
davidlehn
published 5.0.0 •

Changelog

Source

5.0.0 - 2021-03-18

Notes

  • Support is dropped for Node.js versions earlier than v12. This reduces the maintenance burden of being limited by older APIs, development tools, and dependencies. If you need to use an earlier Node.js then either use a previous jsonld.js version or use translation tools and polyfills as needed. (The built-in process to make browser bundles may work for this.) Bug fixes and updates may be back-ported to previous versions from time to time or on request (preferably with a patch).

Changed

  • Node.js documentLoader now uses @digitalbazaar/http-client instead of request.
  • BREAKING: Only support Node.js >= 12. Remove related unneeded polyfills, tests, and node6 output. Update dependencies that needed newer Node.js versions.
  • Use Babel usage mode rather than listing individual polyfills. May increase bundle size due to more accurate support of intended output targets.
  • Default Node.js document loader user-agent header set to "jsonld.js".

Added

  • Distribute a jsonld.esm.min.js bundle optimized for the features available in browsers that support ES Modules.
  • Default Node.js document loader httpAgent and httpsAgent options.
  • Add note to README about setting a custom user-agent header for the default Node.js document loader.

Removed

  • Use of deprecated library request in Node.js documentLoader.
  • BREAKING: Parameter request has been removed from the Node.js documentLoader.
  • Node.js documentLoader should no longer be included in browser build.
codenamedmitri
published 4.0.1 •

Changelog

Source

4.0.1 - 2021-02-11

Changed

  • State which protected term is being redefined.
  • Switch to core-js@3.
codenamedmitri
published 4.0.0 •

Changelog

Source

4.0.0 - 2021-02-11

Removed

  • BREAKING: RDFa parser moved to jsonld-rdfa package, remove xmldom dependency.
davidlehn
published 3.3.2 •

Changelog

Source

3.3.2 - 2021-02-10

Fixed

  • Add yallist to packages run through babel for bundles. Fixes use of function*.
davidlehn
published 3.3.1 •

Changelog

Source

3.3.1 - 2021-02-10

Fixed

  • Add lru-cache to packages run through babel for bundles. Fixes use of arrow functions.
davidlehn
published 3.3.0 •

Changelog

Source

3.3.0 - 2021-01-21

Changed

  • Update rdf-canonize to 2.0.1.
  • NOTE: The rdf-canonize update changes browser support and removes forge in favor of the WebCrypto crypto.subtle API. A WebCrypto polyfill may be required if a jsonld.js API is used that calls rdf-canonize. The polyfill is needed if older browsers are targeted or when not using a secure context on some modern browsers. Due to other concerns and the expected minimal impact of this change, it is happening in a minor release. Please provide feedback if this decision causes problems.
  • Node.js 6 is no longer tested due to development tool dependency updates and to avoid adding additional testing complexity. Node.js 6 will otherwise still be supported until the next major release. Please report any issues found.
davidlehn
published 3.2.0 •

Changelog

Source

3.2.0 - 2020-10-13

Fixed

  • Empty-property scoped context should not effect the outer context. Note that in situations where this fix is used there is now an extra clone of the active context which could potentially cause performance issues.
davidlehn
published 3.1.1 •

Changelog

Source

3.1.1 - 2020-05-22

Fixed

  • Fix XHR document loader Link header processing.
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