@ldo/subscribable-dataset 1.0.0-alpha.20 → 1.0.0-alpha.21

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.
Files changed (2) hide show
  1. package/Readme.md +2 -4
  2. package/package.json +4 -5
package/Readme.md CHANGED
@@ -12,8 +12,7 @@ npm i @ldo/subscribable-dataset
12
12
  ```typescript
13
13
  import { createSubscribableDataset, DatasetChanges } from "@ldo/subscribable-dataset";
14
14
  import { Dataset } from "@rdfjs/types";
15
- import * as rdfdm from '@rdfjs/data-model';
16
- const { quad, namedNode } = rdfdm;
15
+ import { quad, namedNode }from '@ldo/rdf-utils';
17
16
 
18
17
  const subscribableDataset = createSubscribableDataset([
19
18
  quad(
@@ -100,9 +99,8 @@ run();
100
99
 
101
100
  ```typescript
102
101
  import { createSubscribableDataset, DatasetChanges } from "@ldo/subscribable-dataset";
103
- import * as rdfdm from '@rdfjs/data-model';
102
+ import { quad, namedNode, literal } from '@ldo/rdf-utils';
104
103
  import { Dataset } from "@rdfjs/types";
105
- const { quad, namedNode, literal } = rdfdm;
106
104
 
107
105
  // Create an empty subscribable dataset
108
106
  const subscribableDataset = createSubscribableDataset();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldo/subscribable-dataset",
3
- "version": "1.0.0-alpha.20",
3
+ "version": "1.0.0-alpha.21",
4
4
  "description": "An RDFJS dataset implementation that can be subscribed to for updates",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -34,7 +34,6 @@
34
34
  },
35
35
  "homepage": "https://github.com/o-development/ldo/tree/main/packages/subscribable-dataset#readme",
36
36
  "devDependencies": {
37
- "@rdfjs/data-model": "^1.2.0",
38
37
  "@rdfjs/dataset": "^1.1.0",
39
38
  "@rdfjs/types": "^1.0.1",
40
39
  "@types/jsonld": "^1.5.6",
@@ -43,8 +42,8 @@
43
42
  "ts-node": "^9.1.1"
44
43
  },
45
44
  "dependencies": {
46
- "@ldo/dataset": "^1.0.0-alpha.20",
47
- "@ldo/rdf-utils": "^1.0.0-alpha.19",
45
+ "@ldo/dataset": "^1.0.0-alpha.21",
46
+ "@ldo/rdf-utils": "^1.0.0-alpha.21",
48
47
  "uuid": "^11.1.0"
49
48
  },
50
49
  "files": [
@@ -54,5 +53,5 @@
54
53
  "publishConfig": {
55
54
  "access": "public"
56
55
  },
57
- "gitHead": "a79dba9bc06c9d3cf8548981e423d45a1be2b52f"
56
+ "gitHead": "1a85b65e4e84bb1f1322a6de4fdc6d5bf649ddfd"
58
57
  }