Skip to content

Commit

Permalink
Update to latest rdf-canonize and http-client deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Dec 30, 2023
1 parent 43b5559 commit c8b2be8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/NQuads.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
'use strict';

// TODO: move `NQuads` to its own package
module.exports = require('@digitalcredentials/rdf-canonize').NQuads;
module.exports = require('rdf-canonize').NQuads;
2 changes: 1 addition & 1 deletion lib/jsonld.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
const canonize = require('@digitalcredentials/rdf-canonize');
const canonize = require('rdf-canonize');
const platform = require('./platform');
const util = require('./util');
const ContextResolver = require('./ContextResolver');
Expand Down
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
const graphTypes = require('./graphTypes');
const types = require('./types');
// TODO: move `IdentifierIssuer` to its own package
const IdentifierIssuer = require('@digitalcredentials/rdf-canonize').IdentifierIssuer;
const IdentifierIssuer = require('rdf-canonize').IdentifierIssuer;
const JsonLdError = require('./JsonLdError');

// constants
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@digitalcredentials/jsonld",
"name": "jsonld",
"version": "6.0.0",
"description": "A JSON-LD Processor and API implementation in JavaScript.",
"homepage": "https://github.com/digitalcredentials/jsonld.js",
Expand All @@ -16,8 +16,8 @@
"lib/**/*.js"
],
"dependencies": {
"@digitalcredentials/http-client": "^1.0.0",
"@digitalcredentials/rdf-canonize": "^1.0.0",
"@digitalcredentials/http-client": "digitalcredentials/http-client#react-native",
"rdf-canonize": "^4.0.1",
"canonicalize": "^1.0.1",
"lru-cache": "^6.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/test-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const EarlReport = require('./earl-report');
const benchmark = require('benchmark');
const join = require('join-path-js');
const rdfCanonize = require('@digitalcredentials/rdf-canonize');
const rdfCanonize = require('rdf-canonize');
const {prependBase} = require('../lib/url');

module.exports = function(options) {
Expand Down

0 comments on commit c8b2be8

Please sign in to comment.