From d6b0a346373d27a7e8b993b8a39bbb6a11b65873 Mon Sep 17 00:00:00 2001 From: Tomasz Pluskiewicz Date: Thu, 9 Jan 2025 12:39:29 +0100 Subject: [PATCH] build(deps-dev): update mocha-chai-rdf --- package-lock.json | 15 ++++++++------- packages/hydra/package.json | 2 +- .../lib/__snapshots__/queryShapes.test.ts.snap | 4 ++-- packages/hydra/test/lib/queryShapes.test.ts.trig | 3 ++- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5d1580a..b5db457 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8588,9 +8588,9 @@ "license": "MIT" }, "node_modules/@types/sparql-http-client": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/sparql-http-client/-/sparql-http-client-3.0.4.tgz", - "integrity": "sha512-FTsBWUY1XJKn8K5VQi5dfWTW+xG4aNDci9s6Y1RGl5Y300F4FH/35qQeEQo+K3aD1G/eV1FDrZa2p0UNR10GOA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/sparql-http-client/-/sparql-http-client-3.0.5.tgz", + "integrity": "sha512-Af35Iop5zrOjObTo64Xx8IBs73Nf+dHWqnhulGWF9cTtF+BUUBz8pDiUyiq3wMrKqhiljSyrT6WYcRGb3DVAKQ==", "license": "MIT", "dependencies": { "@rdfjs/types": ">=1.0.0", @@ -15566,13 +15566,14 @@ } }, "node_modules/mocha-chai-rdf": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/mocha-chai-rdf/-/mocha-chai-rdf-0.1.5.tgz", - "integrity": "sha512-6rY8E+FSZ+t9uqD8mRhX8ii6j3l+FVnbrsdlI3Zh5o57k/w1mymQBadZIZSqHdX8E4qChPe/YFjMv6cuf13PmQ==", + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/mocha-chai-rdf/-/mocha-chai-rdf-0.1.6.tgz", + "integrity": "sha512-BnkD0IpCDUKuvysx5XTA7a+TvdOCvWqi3oglRknunT+ZCaxU3O3dDeXpo9k9VYwvsjM8xcerzGSlA8UeGKzRXg==", "dev": true, "license": "MIT", "dependencies": { "@rdfjs/to-ntriples": "^3.0.1", + "@types/sparql-http-client": "^3.0.5", "@zazuko/env-node": "^2.1.3", "into-stream": "^8.0.1", "mocha-chai-jest-snapshot": "^1.1.6", @@ -20600,7 +20601,7 @@ "@rdfjs-elements/formats-pretty": "^0.6.8", "@zazuko/env-node": "^2.1.4", "chai": "^5.1.2", - "mocha-chai-rdf": "^0.1.5" + "mocha-chai-rdf": "^0.1.6" } }, "packages/logger": { diff --git a/packages/hydra/package.json b/packages/hydra/package.json index 196a15f..f04089e 100644 --- a/packages/hydra/package.json +++ b/packages/hydra/package.json @@ -31,7 +31,7 @@ "@rdfjs-elements/formats-pretty": "^0.6.8", "@zazuko/env-node": "^2.1.4", "chai": "^5.1.2", - "mocha-chai-rdf": "^0.1.5" + "mocha-chai-rdf": "^0.1.6" }, "mocha": { "extension": [ diff --git a/packages/hydra/test/lib/__snapshots__/queryShapes.test.ts.snap b/packages/hydra/test/lib/__snapshots__/queryShapes.test.ts.snap index 72a725f..dcb24b7 100644 --- a/packages/hydra/test/lib/__snapshots__/queryShapes.test.ts.snap +++ b/packages/hydra/test/lib/__snapshots__/queryShapes.test.ts.snap @@ -244,7 +244,7 @@ _:t4 hydra:object ; hydra:property rdf:type . a hydra:Collection ; - kl:memberShape _:t1 ; + _:t1 ; hydra:memberAssertion _:t4 . _:t5 a sh:NodeShape ; @@ -349,7 +349,7 @@ _:t2 hydra:object ; hydra:property rdf:type . a hydra:Collection ; - kl:memberShape [ + [ sh:property [ sh:path schema:name ; ] ; diff --git a/packages/hydra/test/lib/queryShapes.test.ts.trig b/packages/hydra/test/lib/queryShapes.test.ts.trig index b45a80d..9c6a51c 100644 --- a/packages/hydra/test/lib/queryShapes.test.ts.trig +++ b/packages/hydra/test/lib/queryShapes.test.ts.trig @@ -2,6 +2,7 @@ PREFIX ex: PREFIX schema: PREFIX sh: PREFIX kl: +PREFIX kl-hydra: PREFIX rdf: PREFIX hydra: @@ -13,7 +14,7 @@ GRAPH { hydra:property rdf:type ; hydra:object ; ] ; - kl:memberShape + kl-hydra:memberShape [ sh:property [ sh:path schema:name ] ; ] ;