@rdfx/data-factory 0.0.9 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Term.js CHANGED
@@ -1,11 +1,11 @@
1
- import toNT from "@rdfjs/to-ntriples";
1
+ import { NTriplesTerm } from "@rdfx/string";
2
2
  import { termToJson } from "./termToJson.js";
3
3
  export class Term {
4
4
  toJSON() {
5
5
  return termToJson(this);
6
6
  }
7
7
  toString() {
8
- return toNT(this);
8
+ return NTriplesTerm.stringify(this);
9
9
  }
10
10
  }
11
11
  //# sourceMappingURL=Term.js.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { DataFactory } from "./DataFactory";
1
+ import { DataFactory } from "./DataFactory.js";
2
2
  export * from "./DataFactory.js";
3
3
  declare const dataFactory: DataFactory;
4
4
  export default dataFactory;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { DataFactory } from "./DataFactory";
1
+ import { DataFactory } from "./DataFactory.js";
2
2
  export * from "./DataFactory.js";
3
3
  const dataFactory = new DataFactory();
4
4
  export default dataFactory;
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "dependencies": {
3
- "@rdfjs/to-ntriples": "~3.0.1",
3
+ "@rdfx/string": "0.0.11",
4
4
  "@rdfjs/types": "~2.0.1"
5
5
  },
6
6
  "devDependencies": {
7
- "@rdfx/testing": "0.0.9",
8
- "@types/rdfjs__to-ntriples": "~3.0.0"
7
+ "@rdfx/testing": "0.0.11"
9
8
  },
10
9
  "files": [
11
10
  "LICENSE",
@@ -31,5 +30,5 @@
31
30
  },
32
31
  "type": "module",
33
32
  "types": "./dist/index.d.ts",
34
- "version": "0.0.9"
33
+ "version": "0.0.11"
35
34
  }