Socket
Socket
Sign inDemoInstall

jsonld-document-loader

Package Overview
Dependencies
0
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

5

CHANGELOG.md
# jsonld-document-loader
## 1.1.0 - 2020-11-19
### Added
- Set `static` tag for statically loaded contexts.
## 1.0.0 - 2019-10-18
- See git history for changes.

2

lib/index.js
/*!
* Copyright (c) 2019 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ 'use strict';

/*!
* Copyright (c) 2019 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved.
*/

@@ -27,3 +27,4 @@ 'use strict';

document,
documentUrl: url
documentUrl: url,
tag: 'static'
};

@@ -30,0 +31,0 @@ }

{
"name": "jsonld-document-loader",
"version": "1.0.0",
"version": "1.1.0",
"description": "A document loader API for jsonld.js.",

@@ -25,12 +25,27 @@ "main": "lib",

"mocha": "mocha ./test/*.spec.js",
"test": "npm run mocha",
"test": "npm run test-node",
"test-node": "cross-env NODE_ENV=test npm run mocha",
"test-karma": "karma start karma.conf.js",
"coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary npm run test-node",
"coverage-ci": "cross-env NODE_ENV=test nyc --reporter=lcovonly npm run test-node",
"coverage-report": "nyc report",
"preversion": "npm test",
"postversion": "git push --follow-tags",
"lint": "eslint lib test"
"lint": "eslint ."
},
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^6.0.0",
"eslint-config-digitalbazaar": "^2.0.0",
"mocha": "^6.1.4"
"cross-env": "^7.0.2",
"eslint": "^7.13.0",
"eslint-config-digitalbazaar": "^2.6.1",
"karma": "^5.2.3",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^4.0.2",
"mocha": "^6.1.4",
"nyc": "^15.1.0",
"webpack": "^4.0.0"
},

@@ -37,0 +52,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc