Skip to content

Commit

Permalink
Merge pull request #32 from zazuko/rdf-js-types
Browse files Browse the repository at this point in the history
build(deps-dev): remove deprecated rdf-js type packages
  • Loading branch information
BenjaminHofstetter authored Nov 14, 2024
2 parents 217a64f + 3c394d6 commit 6d8688c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 29 deletions.
24 changes: 1 addition & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -76,4 +76,4 @@
"ng-packagr": "^18.0.0",
"typescript": "~5.4.5"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Term } from 'rdf-js';
import { Term } from '@rdfjs/types';

export interface PathPredicate {
isInverse: boolean;
Expand Down
Original file line number Diff line number Diff line change
@@ -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())
}
Expand Down
2 changes: 1 addition & 1 deletion projects/blueprint/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -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[];
}

0 comments on commit 6d8688c

Please sign in to comment.