diff --git a/package-lock.json b/package-lock.json index 135b514..b5e2f1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,10 +47,10 @@ "@angular/cli": "^18.2.11", "@angular/compiler-cli": "^18.2.11", "@changesets/cli": "^2.27.7", + "@rdfjs/types": "^1.1.2", "@types/clownface": "^2.0.7", "@types/jasmine": "~3.10.0", "@types/node": "^20.10.4", - "@types/rdf-js": "^4.0.2", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "@web/test-runner": "^0.18.0", @@ -5794,17 +5794,6 @@ "@types/readable-stream": "*" } }, - "node_modules/@types/rdf-js": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@types/rdf-js/-/rdf-js-4.0.2.tgz", - "integrity": "sha512-soR/+RMogGiDU1lrpuQl5ZL55/L1eq/JlR2dWx052Uh/RYs9okh3XZHFlIJXHZqjqyjEn4WdbOMfBj7vvc2WVQ==", - "deprecated": "This is a stub types definition. rdf-js provides its own type definitions, so you do not need this installed.", - "dev": true, - "license": "MIT", - "dependencies": { - "rdf-js": "*" - } - }, "node_modules/@types/rdfjs__data-model": { "version": "2.0.8", "resolved": "https://registry.npmjs.org/@types/rdfjs__data-model/-/rdfjs__data-model-2.0.8.tgz", @@ -17279,17 +17268,6 @@ "readable-stream": "3 - 4" } }, - "node_modules/rdf-js": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/rdf-js/-/rdf-js-4.0.2.tgz", - "integrity": "sha512-ApvlFa/WsQh8LpPK/6hctQwG06Z9ztQQGWVtrcrf9L6+sejHNXLPOqL+w7q3hF+iL0C4sv3AX1PUtGkLNzyZ0Q==", - "deprecated": "Use @types/rdf-js instead. See https://github.com/rdfjs/types?tab=readme-ov-file#what-about-typesrdf-js", - "dev": true, - "license": "MIT", - "dependencies": { - "@rdfjs/types": "*" - } - }, "node_modules/rdf-sparql-builder": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/rdf-sparql-builder/-/rdf-sparql-builder-0.2.5.tgz", diff --git a/package.json b/package.json index 0548362..4ad5d9d 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@types/clownface": "^2.0.7", "@types/jasmine": "~3.10.0", "@types/node": "^20.10.4", - "@types/rdf-js": "^4.0.2", + "@rdfjs/types": "^1.1.2", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "@web/test-runner": "^0.18.0", @@ -76,4 +76,4 @@ "ng-packagr": "^18.0.0", "typescript": "~5.4.5" } -} \ No newline at end of file +} diff --git a/projects/blueprint/src/app/features/explore/flux-viewer/model/path-predicate.model.ts b/projects/blueprint/src/app/features/explore/flux-viewer/model/path-predicate.model.ts index c90f1e1..3401f50 100644 --- a/projects/blueprint/src/app/features/explore/flux-viewer/model/path-predicate.model.ts +++ b/projects/blueprint/src/app/features/explore/flux-viewer/model/path-predicate.model.ts @@ -1,4 +1,4 @@ -import { Term } from 'rdf-js'; +import { Term } from '@rdfjs/types'; export interface PathPredicate { isInverse: boolean; diff --git a/projects/blueprint/src/app/features/explore/service/graph/simple-node.shape.ts b/projects/blueprint/src/app/features/explore/service/graph/simple-node.shape.ts index 5dee4e4..70ff6f2 100644 --- a/projects/blueprint/src/app/features/explore/service/graph/simple-node.shape.ts +++ b/projects/blueprint/src/app/features/explore/service/graph/simple-node.shape.ts @@ -1,13 +1,13 @@ /* This file was automatically generated. Do not edit by hand. */ -export default ({ factory }: { factory: import('rdf-js').DataFactory }): import('rdf-js').Quad[] => { +export default ({ factory }: { factory: import('@rdfjs/types').DataFactory }): import('rdf-js').Quad[] => { const f = factory const ns1 = 'https://ld.flux.zazuko.com/shapes/metadata/' const ns2 = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' const ns3 = 'http://www.w3.org/ns/shacl#' const ns4 = 'http://www.w3.org/2000/01/rdf-schema#' const ns5 = 'http://www.w3.org/2001/XMLSchema#' - const blankNodes: import('rdf-js').BlankNode[] = [] + const blankNodes: import('@rdfjs/types').BlankNode[] = [] for (let i = 0; i < 0; i++) { blankNodes.push(f.blankNode()) } diff --git a/projects/blueprint/src/index.d.ts b/projects/blueprint/src/index.d.ts index 1d41755..75f6840 100644 --- a/projects/blueprint/src/index.d.ts +++ b/projects/blueprint/src/index.d.ts @@ -1,5 +1,5 @@ // rdf loader declare module '*.ttl' { - import { Quad, DataFactory } from 'rdf-js' + import { Quad, DataFactory } from '@rdfjs/types' export default function (factory: DataFactory): Quad[]; }