rdflib 2.2.23 → 2.2.24-4e18cd59
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/rdflib.min.js.map +1 -1
- package/lib/formula.d.ts +1 -1
- package/lib/serialize.d.ts +1 -1
- package/lib/store.d.ts +1 -1
- package/package.json +1 -1
- package/src/serialize.ts +1 -1
package/lib/formula.d.ts
CHANGED
|
@@ -270,7 +270,7 @@ export default class Formula extends Node {
|
|
|
270
270
|
* @param provenance - The provenance URI
|
|
271
271
|
* @param options - options to pass to the serializer, as defined in serialize method
|
|
272
272
|
*/
|
|
273
|
-
serialize(base: any, contentType: any, provenance: any, options?: any): string |
|
|
273
|
+
serialize(base: any, contentType: any, provenance: any, options?: any): string | undefined;
|
|
274
274
|
/**
|
|
275
275
|
* Creates a new formula with the substituting bindings applied
|
|
276
276
|
* @param bindings - The bindings to substitute
|
package/lib/serialize.d.ts
CHANGED
package/lib/store.d.ts
CHANGED
|
@@ -299,5 +299,5 @@ export default class IndexedFormula extends Formula {
|
|
|
299
299
|
* @param term
|
|
300
300
|
*/
|
|
301
301
|
uris(term: Quad_Subject): string[];
|
|
302
|
-
serialize(base: any, contentType: any, provenance: any, options?: any): string |
|
|
302
|
+
serialize(base: any, contentType: any, provenance: any, options?: any): string | undefined;
|
|
303
303
|
}
|
package/package.json
CHANGED
package/src/serialize.ts
CHANGED
|
@@ -41,7 +41,7 @@ export default function serialize (
|
|
|
41
41
|
*/
|
|
42
42
|
namespaces?: Record<string, string>
|
|
43
43
|
}
|
|
44
|
-
): string | undefined
|
|
44
|
+
): string | undefined {
|
|
45
45
|
base = base || target?.value
|
|
46
46
|
const opts = options || {}
|
|
47
47
|
contentType = contentType || TurtleContentType // text/n3 if complex?
|