Skip to content

Commit

Permalink
chore(deps): bump n3 from 1.17.4 to 1.20.3 (#220)
Browse files Browse the repository at this point in the history
* chore(deps): bump n3 from 1.17.4 to 1.20.3

Bumps [n3](https://github.com/rdfjs/N3.js) from 1.17.4 to 1.20.3.
- [Release notes](https://github.com/rdfjs/N3.js/releases)
- [Commits](rdfjs/N3.js@v1.17.4...v1.20.3)

---
updated-dependencies:
- dependency-name: n3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: use rdf-isomorphic for tests

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Wright <[email protected]>
  • Loading branch information
dependabot[bot] and jeswr authored Jul 30, 2024
1 parent d3137e6 commit 56e1a04
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"chai": "^4.3.7",
"componentsjs-generator": "^4.0.1",
"mocha": "^10.2.0",
"rdf-isomorphic": "^1.3.1",
"sinon": "^18.0.0",
"ts-mocha": "^10.0.0",
"tsconfig.json": "^1.0.11",
Expand Down
3 changes: 2 additions & 1 deletion test/orch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Reasoner } from '../src/orchestrator/Reasoner';
import { parseAsN3Store } from '../src/util';
import { QueryEngine } from '@comunica/query-sparql-rdfjs';
import { ComponentsManager } from 'componentsjs';
import { isomorphic } from "rdf-isomorphic";

const myEngine = new QueryEngine();

Expand All @@ -19,7 +20,7 @@ describe("orch", () => {
it("can do test00.n3 with test00.rule.n3", async () => {
const result = await doReason('test/t/test00.n3','test/t/test00.rule.n3');
const expected = await getStore('test/t/test00.out.n3');
assert.deepEqual(result,expected);
assert.isTrue(isomorphic([...result], [...expected]));
});

it("can do test00.n3 with test01.rule.n3", async () => {
Expand Down
7 changes: 4 additions & 3 deletions test/util.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
} from "../src/util";
import { QueryEngine } from '@comunica/query-sparql-rdfjs';
import { assert } from "chai";
import { isomorphic } from "rdf-isomorphic";

const myEngine = new QueryEngine();

Expand All @@ -30,7 +31,7 @@ describe("parseAsN3Store", () => {
const expect = await testStore(`<http://example.org/Test> a <https://www.w3.org/ns/activitystreams#Announce> .`);
const result = await parseAsN3Store("test/t/test00.jsonld");

assert.deepEqual(result,expect);
assert.isTrue(isomorphic([...result], [...expect]));
});
})

Expand Down Expand Up @@ -114,7 +115,7 @@ describe("extractGraph", () => {
const store2 = extractGraph(store1,nn);
const store3 = await testStore(`<x> <y> <z>.`);

assert.deepEqual(store2,store3);
assert.isTrue(isomorphic([...store2], [...store3]));
});
});

Expand All @@ -127,7 +128,7 @@ describe("rdfTransformString", () => {
const n3Store = await testStore(n3);
const outputStore = await testStore(output);

assert.deepEqual(n3Store,outputStore);
assert.isTrue(isomorphic([...n3Store], [...outputStore]));
});
});

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3519,9 +3519,9 @@ [email protected]:
integrity sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==

n3@^1.16.3, n3@^1.16.4, n3@^1.17.0, n3@^1.6.3:
version "1.17.4"
resolved "https://registry.yarnpkg.com/n3/-/n3-1.17.4.tgz#4eea7ec0b8ac9e4a61183e5cf8ea8a99f5b71d37"
integrity sha512-G5RR9PKLJXQU1uDJ2cZq+zp23V5XruqWhAGlCpF2/8kLiPbqEKOXDXgOLuoMqFwdxO/oBE2h4KNGQUp0aQ0OLA==
version "1.20.3"
resolved "https://registry.yarnpkg.com/n3/-/n3-1.20.3.tgz#4acc1664c74d07ed2f582d1c3e714980d715fe05"
integrity sha512-XBoBuF2WKOzoFqeJHjF5WFlouh97euTJeEXNbndjDrZiJgHSlOXaBWh42a9ieaFvlv8dfjOak4ojHxVCZe4sxQ==
dependencies:
buffer "^6.0.3"
queue-microtask "^1.1.2"
Expand Down Expand Up @@ -3680,7 +3680,7 @@ rdf-data-factory@^1.0.1, rdf-data-factory@^1.1.0, rdf-data-factory@^1.1.1, rdf-d
dependencies:
"@rdfjs/types" "*"

rdf-isomorphic@^1.3.0:
rdf-isomorphic@^1.3.0, rdf-isomorphic@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/rdf-isomorphic/-/rdf-isomorphic-1.3.1.tgz#cd6d433cd85bf79d903d5f0fdeea42a40eb27265"
integrity sha512-6uIhsXTVp2AtO6f41PdnRV5xZsa0zVZQDTBdn0br+DZuFf5M/YD+T6m8hKDUnALI6nFL/IujTMLgEs20MlNidQ==
Expand Down

0 comments on commit 56e1a04

Please sign in to comment.