New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsonld

Package Overview
Dependencies
Maintainers
4
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonld - npm Package Compare versions

Comparing version 0.5.20 to 0.5.21

6

CHANGELOG.md
# jsonld ChangeLog
## 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.
## 0.5.20 - 2018-02-10

@@ -4,0 +10,0 @@

2

dist/node6/lib/index.js

@@ -10,3 +10,3 @@ 'use strict';

*/
if (require('semver').gte(process.version, '8.0.0')) {
if (require('semver').gte(process.version, '8.6.0')) {
module.exports = require('./jsonld');

@@ -13,0 +13,0 @@ } else {

@@ -8,3 +8,3 @@ /**

*/
if(require('semver').gte(process.version, '8.0.0')) {
if(require('semver').gte(process.version, '8.6.0')) {
module.exports = require('./jsonld');

@@ -11,0 +11,0 @@ } else {

{
"name": "jsonld",
"version": "0.5.20",
"version": "0.5.21",
"description": "A JSON-LD Processor and API implementation in JavaScript.",

@@ -47,8 +47,8 @@ "homepage": "https://github.com/digitalbazaar/jsonld.js",

"chai": "^4.1.2",
"commander": "^2.13.0",
"commander": "^2.14.1",
"core-js": "^2.5.3",
"cors": "^2.7.1",
"cross-env": "^5.1.3",
"express": "^4.16.2",
"fs-extra": "^5.0.0",
"istanbul": "^0.4.3",
"join-path-js": "0.0.0",

@@ -59,3 +59,3 @@ "jscs": "^3.0.0",

"karma-babel-preprocessor": "^7.0.0",
"karma-browserify": "^5.1.3",
"karma-browserify": "^5.2.0",
"karma-chrome-launcher": "^2.2.0",

@@ -75,4 +75,5 @@ "karma-edge-launcher": "^0.4.2",

"mocha-lcov-reporter": "^1.3.0",
"nyc": "^11.4.1",
"regenerator-runtime": "^0.11.1",
"webpack": "^3.7.1",
"webpack": "^3.11.0",
"webpack-merge": "^4.1.1"

@@ -99,10 +100,15 @@ },

"fetch-normalization-test-suite": "if [ ! -e test-suites/normalization ]; then git clone --depth 1 https://github.com/json-ld/normalization.git test-suites/normalization; fi",
"test": "NODE_ENV=test mocha --delay -t 30000 -A -R ${REPORTER:-spec} tests/test.js",
"test-karma": "karma start",
"coverage": "istanbul cover ./node_modules/.bin/_mocha -- --delay -t 30000 -u exports -R ${REPORTER:-spec} tests/test.js",
"coverage-lcov": "istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --delay -t 30000 -u exports -R ${REPORTER:-spec} tests/test.js",
"coverage-report": "istanbul report",
"test": "cross-env NODE_ENV=test mocha --delay -t 30000 -A -R ${REPORTER:-spec} tests/test.js",
"test-karma": "cross-env NODE_ENV=test karma start",
"coverage": "nyc --reporter=lcov --reporter=text-summary npm test",
"coverage-report": "nyc report",
"jscs": "jscs lib/*.js tests/*.js",
"jshint": "jshint lib/*.js tests/*.js"
},
"nyc": {
"exclude": [
"lib/documentLoaders/xhr.js",
"tests"
]
},
"browser": {

@@ -109,0 +115,0 @@ "lib/index.js": "./lib/jsonld.js",

@@ -325,2 +325,6 @@ jsonld.js

To display a full coverage report on the console from coverage data:
npm run coverage-report
The Mocha output reporter can be changed to min, dot, list, nyan, etc:

@@ -327,0 +331,0 @@

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