@comunica/actor-rdf-parse-shaclc 4.5.0 → 5.0.2
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/README.md +1 -1
- package/components/ActorRdfParseShaclc.jsonld +15 -15
- package/components/components.jsonld +1 -1
- package/components/context.jsonld +1 -1
- package/lib/ActorRdfParseShaclc.d.ts +0 -0
- package/lib/ActorRdfParseShaclc.js +0 -0
- package/lib/ActorRdfParseShaclc.js.map +0 -0
- package/lib/PrefixWrappingIterator.d.ts +0 -0
- package/lib/PrefixWrappingIterator.js +1 -0
- package/lib/PrefixWrappingIterator.js.map +1 -1
- package/lib/index.d.ts +0 -0
- package/lib/index.js +0 -0
- package/lib/index.js.map +0 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ After installing, this package can be added to your engine's configuration as fo
|
|
|
23
23
|
{
|
|
24
24
|
"@context": [
|
|
25
25
|
...
|
|
26
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-shaclc/^
|
|
26
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-shaclc/^5.0.0/components/context.jsonld"
|
|
27
27
|
],
|
|
28
28
|
"actors": [
|
|
29
29
|
...
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-shaclc/^
|
|
4
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^
|
|
5
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-rdf-parse/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-shaclc/^5.0.0/components/context.jsonld",
|
|
4
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^5.0.0/components/context.jsonld",
|
|
5
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-rdf-parse/^5.0.0/components/context.jsonld"
|
|
6
6
|
],
|
|
7
7
|
"@id": "npmd:@comunica/actor-rdf-parse-shaclc",
|
|
8
8
|
"components": [
|
|
@@ -72,37 +72,37 @@
|
|
|
72
72
|
"genericTypeInstances": [
|
|
73
73
|
{
|
|
74
74
|
"@type": "ParameterRangeGenericTypeReference",
|
|
75
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
75
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"@type": "ParameterRangeGenericTypeReference",
|
|
79
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
79
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"@type": "ParameterRangeGenericTypeReference",
|
|
83
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
83
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"@type": "ParameterRangeGenericTypeReference",
|
|
87
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
87
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
|
|
88
88
|
}
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
"@type": "ParameterRangeGenericTypeReference",
|
|
93
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
93
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"@type": "ParameterRangeGenericTypeReference",
|
|
97
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
97
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"@type": "ParameterRangeGenericTypeReference",
|
|
101
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
101
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"@type": "ParameterRangeGenericTypeReference",
|
|
105
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
105
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
|
|
106
106
|
}
|
|
107
107
|
]
|
|
108
108
|
},
|
|
@@ -139,19 +139,19 @@
|
|
|
139
139
|
"genericTypeInstances": [
|
|
140
140
|
{
|
|
141
141
|
"@type": "ParameterRangeGenericTypeReference",
|
|
142
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
142
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"@type": "ParameterRangeGenericTypeReference",
|
|
146
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
146
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
"@type": "ParameterRangeGenericTypeReference",
|
|
150
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
150
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"@type": "ParameterRangeGenericTypeReference",
|
|
154
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
154
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
|
|
155
155
|
}
|
|
156
156
|
]
|
|
157
157
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-shaclc/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-shaclc/^5.0.0/components/context.jsonld"
|
|
4
4
|
],
|
|
5
5
|
"@id": "npmd:@comunica/actor-rdf-parse-shaclc",
|
|
6
6
|
"@type": "Module",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^6.0.0/components/context.jsonld",
|
|
4
4
|
{
|
|
5
5
|
"npmd": "https://linkedsoftwaredependencies.org/bundles/npm/",
|
|
6
|
-
"carps": "npmd:@comunica/actor-rdf-parse-shaclc/^
|
|
6
|
+
"carps": "npmd:@comunica/actor-rdf-parse-shaclc/^5.0.0/",
|
|
7
7
|
"ActorRdfParseShaclc": {
|
|
8
8
|
"@id": "carps:components/ActorRdfParseShaclc.jsonld#ActorRdfParseShaclc",
|
|
9
9
|
"@prefix": true,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -6,6 +6,7 @@ const asynciterator_1 = require("asynciterator");
|
|
|
6
6
|
* An iterator that emits prefixes on the first read call where prefixes are available
|
|
7
7
|
*/
|
|
8
8
|
class PrefixWrappingIterator extends asynciterator_1.WrappingIterator {
|
|
9
|
+
prefixes;
|
|
9
10
|
constructor(source) {
|
|
10
11
|
super(source?.then((src) => {
|
|
11
12
|
this.prefixes = src.prefixes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrefixWrappingIterator.js","sourceRoot":"","sources":["PrefixWrappingIterator.ts"],"names":[],"mappings":";;;AACA,iDAAiD;AAEjD;;GAEG;AACH,MAAa,sBAAuB,SAAQ,gCAAsB;
|
|
1
|
+
{"version":3,"file":"PrefixWrappingIterator.js","sourceRoot":"","sources":["PrefixWrappingIterator.ts"],"names":[],"mappings":";;;AACA,iDAAiD;AAEjD;;GAEG;AACH,MAAa,sBAAuB,SAAQ,gCAAsB;IACxD,QAAQ,CAA0B;IAC1C,YAAmB,MAA0E;QAC3F,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;YACzB,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;YAC7B,OAAO,GAAG,CAAC;QACb,CAAC,CAAC,CAAC,CAAC;IACN,CAAC;IAEe,IAAI;QAClB,gEAAgE;QAChE,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACjD,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC,CAAC;YAC/B,CAAC;YACD,OAAO,IAAI,CAAC,QAAQ,CAAC;QACvB,CAAC;QAED,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC;IACtB,CAAC;CACF;AApBD,wDAoBC","sourcesContent":["import type { Quad } from '@rdfjs/types';\nimport { WrappingIterator } from 'asynciterator';\n\n/**\n * An iterator that emits prefixes on the first read call where prefixes are available\n */\nexport class PrefixWrappingIterator extends WrappingIterator<Quad> {\n private prefixes?: Record<string, string>;\n public constructor(source: Promise<Quad[] & { prefixes: Record<string, string> }> | undefined) {\n super(source?.then((src) => {\n this.prefixes = src.prefixes;\n return src;\n }));\n }\n\n public override read(): Quad | null {\n // On the first read where the prefixes are available, emit them\n if (this.prefixes) {\n for (const args of Object.entries(this.prefixes)) {\n this.emit('prefix', ...args);\n }\n delete this.prefixes;\n }\n\n return super.read();\n }\n}\n"]}
|
package/lib/index.d.ts
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
package/lib/index.js.map
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-rdf-parse-shaclc",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "A shaclc rdf-parse actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"build:components": "componentsjs-generator"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@comunica/bus-rdf-parse": "^
|
|
45
|
-
"@comunica/types": "^
|
|
44
|
+
"@comunica/bus-rdf-parse": "^5.0.2",
|
|
45
|
+
"@comunica/types": "^5.0.0",
|
|
46
46
|
"@jeswr/stream-to-string": "^2.0.0",
|
|
47
47
|
"@rdfjs/types": "*",
|
|
48
|
-
"asynciterator": "^3.
|
|
49
|
-
"readable-stream": "^4.
|
|
50
|
-
"shaclc-parse": "^
|
|
48
|
+
"asynciterator": "^3.10.0",
|
|
49
|
+
"readable-stream": "^4.7.0",
|
|
50
|
+
"shaclc-parse": "^2.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "3b29f914010fd2fc56682a0ceff962ef6ff24f32"
|
|
53
53
|
}
|