prez-lib 4.1.3 → 4.2.0

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/store.d.ts CHANGED
@@ -13,6 +13,7 @@ export declare class RDFStore {
13
13
  private baseUrl;
14
14
  private linkedLists;
15
15
  private lists;
16
+ private processedTerms;
16
17
  constructor();
17
18
  /**
18
19
  * Parses an RDF string in Turtle format into a store
package/dist/types.d.ts CHANGED
@@ -6,7 +6,7 @@ import { RDFStore } from './store';
6
6
  * @see PrezNode
7
7
  * @see PrezBlankNode
8
8
  */
9
- export type PrezTerm = PrezLiteral | PrezNode | PrezBlankNode | PrezFocusNode;
9
+ export type PrezTerm = (PrezLiteral | PrezNode | PrezBlankNode | PrezFocusNode);
10
10
  /**
11
11
  * Represents an RDF Literal
12
12
  */
package/package.json CHANGED
@@ -1,9 +1,18 @@
1
1
  {
2
2
  "name": "prez-lib",
3
- "version": "4.1.3",
3
+ "version": "4.2.0",
4
4
  "description": "A JS library for processing RDF data for use with Prez UI",
5
5
  "type": "module",
6
6
  "license": "BSD-3-Clause",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/rdflib/prez-ui.git",
10
+ "directory": "packages/prez-lib"
11
+ },
12
+ "homepage": "https://github.com/rdflib/prez-ui/tree/main/packages/prez-lib#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/rdflib/prez-ui/issues"
15
+ },
7
16
  "files": [
8
17
  "dist"
9
18
  ],
@@ -17,25 +26,16 @@
17
26
  }
18
27
  },
19
28
  "types": "./dist/index.d.ts",
20
- "repository": {
21
- "type": "git",
22
- "url": "https://github.com/rdflib/prez-ui.git",
23
- "directory": "packages/prez-lib"
24
- },
25
29
  "devDependencies": {
26
30
  "@rdfjs/types": "^1.1.2",
27
31
  "@types/n3": "^1.21.1",
28
- "typescript": "5.6.2",
29
- "vite": "^5.4.10",
30
- "vite-plugin-dts": "^4.3.0"
32
+ "typescript": "5.9.2",
33
+ "vite": "^7.1.5",
34
+ "vite-plugin-dts": "^4.5.4"
31
35
  },
32
36
  "dependencies": {
33
37
  "n3": "^1.23.1"
34
38
  },
35
- "bugs": {
36
- "url": "https://github.com/rdflib/prez-ui/issues"
37
- },
38
- "homepage": "https://github.com/rdflib/prez-ui/tree/main/packages/prez-lib#readme",
39
39
  "scripts": {
40
40
  "dev": "vite",
41
41
  "build": "tsc && vite build",