Skip to content

Commit ea3e763

Browse files
dreekiAndreas
and
Andreas
authored
Fix crash due to changed function name in N3.js
Co-authored-by: Andreas <[email protected]>
1 parent c007885 commit ea3e763

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Diff for: packages/datasource-n3/lib/datasources/N3Datasource.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class N3Datasource extends MemoryDatasource {
1616
// Retrieves all quads from the document
1717
_getAllQuads(addQuad, done) {
1818
let document = this._fetch({ url: this._url, headers: { accept: ACCEPT } }, done);
19-
N3Parser._resetBlankNodeIds();
19+
N3Parser._resetBlankNodePrefix();
2020
new N3Parser({ factory: this.dataFactory }).parse(document, (error, quad) => {
2121
quad ? addQuad(quad) : done(error);
2222
});

Diff for: packages/datasource-n3/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"lint": "eslint bin/* lib test"
3030
},
3131
"dependencies": {
32-
"n3": "^1.3.5"
32+
"n3": "^1.3.6"
3333
},
3434
"peerDependencies": {
3535
"@ldf/core": "^3.0.0"

Diff for: yarn.lock

+5
Original file line numberDiff line numberDiff line change
@@ -4437,6 +4437,11 @@ n3@^1.3.5:
44374437
resolved "https://registry.yarnpkg.com/n3/-/n3-1.3.5.tgz#ea00062b64fef71dc3a92befc00413a733ef1029"
44384438
integrity sha512-McWb1tCWGGAmHeGEakqZj/UqxQR9cpEYZ/JivBj59YfiOAuaIWZxu0B+jnhbCwCZ2AsxdgQ5Dq8fehIJpYQaMQ==
44394439

4440+
n3@^1.3.6:
4441+
version "1.3.6"
4442+
resolved "https://registry.yarnpkg.com/n3/-/n3-1.3.6.tgz#02766d11dd4afe4b3546555a00a095027d6e0256"
4443+
integrity sha512-EPaniuSPI+f66F8MP3GPXI3CA4cgSaA688PGUEs1Q5qyeAf/yIhe/8WbDV5+Hnmn8/ewcP7qYY6vfVnjbL5jcg==
4444+
44404445
nan@^2.14.0:
44414446
version "2.14.0"
44424447
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"

0 commit comments

Comments
 (0)