@twin.org/data-json-ld 0.0.2-next.2 → 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.
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/docs/changelog.md +14 -0
- package/package.json +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -1616,7 +1616,7 @@ class JsonLdProcessor {
|
|
|
1616
1616
|
*/
|
|
1617
1617
|
static getDocumentLoader() {
|
|
1618
1618
|
let documentLoader = core.SharedStore.get("jsonLdDocumentLoader");
|
|
1619
|
-
if (core.Is.
|
|
1619
|
+
if (!core.Is.function(documentLoader)) {
|
|
1620
1620
|
documentLoader = async (url) => JsonLdProcessor.documentLoader(url);
|
|
1621
1621
|
}
|
|
1622
1622
|
return documentLoader;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1614,7 +1614,7 @@ class JsonLdProcessor {
|
|
|
1614
1614
|
*/
|
|
1615
1615
|
static getDocumentLoader() {
|
|
1616
1616
|
let documentLoader = SharedStore.get("jsonLdDocumentLoader");
|
|
1617
|
-
if (Is.
|
|
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,19 @@
|
|
|
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
|
+
|
|
3
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)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/data-json-ld",
|
|
3
|
-
"version": "0.0.2-next.
|
|
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.
|
|
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",
|