@twin.org/data-json-ld 0.0.2-next.1 → 0.0.2-next.3

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.
@@ -1616,7 +1616,7 @@ class JsonLdProcessor {
1616
1616
  */
1617
1617
  static getDocumentLoader() {
1618
1618
  let documentLoader = core.SharedStore.get("jsonLdDocumentLoader");
1619
- if (core.Is.empty(documentLoader)) {
1619
+ if (!core.Is.function(documentLoader)) {
1620
1620
  documentLoader = async (url) => JsonLdProcessor.documentLoader(url);
1621
1621
  }
1622
1622
  return documentLoader;
@@ -1614,7 +1614,7 @@ class JsonLdProcessor {
1614
1614
  */
1615
1615
  static getDocumentLoader() {
1616
1616
  let documentLoader = SharedStore.get("jsonLdDocumentLoader");
1617
- if (Is.empty(documentLoader)) {
1617
+ if (!Is.function(documentLoader)) {
1618
1618
  documentLoader = async (url) => JsonLdProcessor.documentLoader(url);
1619
1619
  }
1620
1620
  return documentLoader;
package/docs/changelog.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @twin.org/data-json-ld - Changelog
2
2
 
3
+ ## [0.0.2-next.3](https://github.com/twinfoundation/data/compare/data-json-ld-v0.0.2-next.2...data-json-ld-v0.0.2-next.3) (2025-09-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * use updated Is.function ([46a4715](https://github.com/twinfoundation/data/commit/46a4715f995aea34f2011138662fe003c9727d07))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/data-core bumped from 0.0.2-next.2 to 0.0.2-next.3
16
+
17
+ ## [0.0.2-next.2](https://github.com/twinfoundation/data/compare/data-json-ld-v0.0.2-next.1...data-json-ld-v0.0.2-next.2) (2025-08-29)
18
+
19
+
20
+ ### Features
21
+
22
+ * eslint migration to flat config ([b0db6e6](https://github.com/twinfoundation/data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @twin.org/data-core bumped from 0.0.2-next.1 to 0.0.2-next.2
30
+
3
31
  ## [0.0.2-next.1](https://github.com/twinfoundation/data/compare/data-json-ld-v0.0.2-next.0...data-json-ld-v0.0.2-next.1) (2025-08-19)
4
32
 
5
33
 
@@ -6,7 +6,7 @@ An expanded term definition is used to describe the mapping between a term
6
6
  and its expanded identifier, as well as other properties of the value
7
7
  associated with the term when it is used as key in a node object.
8
8
 
9
- ## Type declaration
9
+ ## Type Declaration
10
10
 
11
11
  ### @type?
12
12
 
@@ -5,7 +5,7 @@
5
5
  A value object is used to explicitly associate a type or a language with a value
6
6
  to create a typed value or a language-tagged string and possibly associate a base direction.
7
7
 
8
- ## Type declaration
8
+ ## Type Declaration
9
9
 
10
10
  ### @index?
11
11
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  The contexts of JSON-LD data.
6
6
 
7
- ## Type declaration
7
+ ## Type Declaration
8
8
 
9
9
  ### ContextRoot
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  The types of JSON-LD data.
6
6
 
7
- ## Type declaration
7
+ ## Type Declaration
8
8
 
9
9
  ### Document
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/data-json-ld",
3
- "version": "0.0.2-next.1",
3
+ "version": "0.0.2-next.3",
4
4
  "description": "Models which define the structure of JSON LD",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@twin.org/core": "next",
18
- "@twin.org/data-core": "0.0.2-next.1",
18
+ "@twin.org/data-core": "0.0.2-next.3",
19
19
  "@twin.org/entity": "next",
20
20
  "@twin.org/nameof": "next",
21
21
  "@twin.org/web": "next",