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

1
22

1.6.1

Diff

Changelog

Source

1.6.1 - 2019-05-13

Fixed

  • Ensure @type-scoped terms are limited to their @type-scoped object.
davidlehn
published 1.6.0 •

Changelog

Source

1.6.0 - 2019-04-17

Fixed

  • Testing: Use explicit id and description skipping regexes.
  • Usage of JavaScript Object property names in data.
    • NOTE: A class of bugs was causing term names such as toString, valueOf, and others to be dropped or produce bogus output. The fix could cause output triples to differ from previous versions if those special names were used.
    • Specifically, the problem was using x in obj instead of obj.hasOwnProperty(x) or a Map.
    • Fixed usage in contexts for expand and compact.
    • Attempted fixes in other parts of the code with similar x in obj usage. Finding actual realistic failing test cases proved difficult.

Changed

  • Testing: Improve skip logging.

Added

  • Testing: skip and only flags in manifests.
  • Testing: VERBOSE_SKIP=true env var to debug skipping.
  • Support @protected.
  • Support experimental non-standard protectedMode option.
davidlehn
published 1.5.4 •

Changelog

Source

1.5.4 - 2019-02-28

Fixed

  • Handle <subject> <rdf:first> <rdf:nil> triple.
davidlehn
published 1.5.3 •

Changelog

Source

1.5.3 - 2019-02-21

Fixed

  • Improve handling of canonize test cases.
  • Update rdf-canonize dependency to address N-Quads parsing bug.
davidlehn
published 1.5.2 •

Changelog

Source

1.5.2 - 2019-02-20

Changed

  • Switch to eslint.
  • Optimize ensuring value is an array.
davidlehn
published 1.5.1 •

Changelog

Source

1.5.1 - 2019-02-01

Fixed

  • Update canonize docs.
davidlehn
published 1.5.0 •

Changelog

Source

1.5.0 - 2019-01-24

Changed

  • [rdf-canonize][] updated:
    • BREAKING: A fix was applied that makes the canonical output format properly match the N-Triples canoncial format. This fixes the format to no longer escape tabs in literals. This may cause canonical output from jsonld.normalize()/jsonld.canonize() to differ from previous versions depending on your literal data. If a backwards compatibility mode is needed please use 1.4.x and file an issue.
    • BREAKING: [rdf-canonize-native][] was removed as an indirect optional dependency and the JavaScript implemenation is now the default. The former usePureJavaScript flag was removed and a new useNative flag was added to force use of the native bindings. Higher level applications must explicitly install rdf-canonize-native to use this mode. Note that in many cases the JavaScript implemenation will be faster. Apps should be benchmarked before using the specialized native mode.
    • NOTE: The Travis-CI C++11 compiler update fixes are no longer needed when using jsonld.js! [rdf-canonize-native][] was updated to not use C++11 features and is also no longer a direct or indirect dependency of jsonld.js.

Fixed

  • rdfn:Urgna2012EvalTest and rdfn:Urdna2015EvalTest tests should compare with expected output.
davidlehn
published 1.4.0 •

Changelog

Source

1.4.0 - 2019-01-05

Changed

  • PhantomJS is deprecated, now using headless Chrome with Karma.
    • NOTE: Using headless Chrome vs PhantomJS may cause newer JS features to slip into releases without proper support for older runtimes and browsers. Please report such issues and they will be addressed.
  • Update webpack and babel.
  • Use CommonJS style in main file.
    • NOTE: This change might cause problems if code somehow was still using the long deprecated jsonldjs global. Any dependants on this feature should update to use bundler tools such as webpack or use jsonld in the distributed bundle.
davidlehn
published 1.3.0 •

Changelog

Source

1.3.0 - 2019-01-04

Fixed

  • Use rdf-canonize to compare n-quads test results.
  • Maintain multiple graphs.
  • Sort @type when looking for scoped contexts.

Changed

  • Use JSON-LD WG tests.
  • Categorize and skip failing tests.
davidlehn
published 1.2.1 •

Changelog

Source

1.2.1 - 2018-12-11

Fixed

  • Fix source map generation.
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