@@ -129,7 +129,7 @@ const _resolvedContextCache = new LRU({max: RESOLVED_CONTEXT_CACHE_MAX_SIZE});
129
129
* unmappable values (or to throw an error when they are detected);
130
130
* if this function returns `undefined` then the default behavior
131
131
* will be used.
132
- * [safe] true to use safe mode.
132
+ * [safe] true to use safe mode. (default: false)
133
133
* [eventHandler] handler for events.
134
134
* [contextResolver] internal use only.
135
135
*
@@ -269,7 +269,7 @@ jsonld.compact = async function(input, ctx, options) {
269
269
* unmappable values (or to throw an error when they are detected);
270
270
* if this function returns `undefined` then the default behavior
271
271
* will be used.
272
- * [safe] true to use safe mode.
272
+ * [safe] true to use safe mode. (default: false)
273
273
* [eventHandler] handler for events.
274
274
* [contextResolver] internal use only.
275
275
*
@@ -424,7 +424,7 @@ jsonld.flatten = async function(input, ctx, options) {
424
424
* [requireAll] default @requireAll flag (default: true).
425
425
* [omitDefault] default @omitDefault flag (default: false).
426
426
* [documentLoader(url, options)] the document loader.
427
- * [safe] true to use safe mode.
427
+ * [safe] true to use safe mode. (default: false)
428
428
* [eventHandler] handler for events.
429
429
* [contextResolver] internal use only.
430
430
*
@@ -524,7 +524,7 @@ jsonld.frame = async function(input, frame, options) {
524
524
* [base] the base IRI to use.
525
525
* [expandContext] a context to expand with.
526
526
* [documentLoader(url, options)] the document loader.
527
- * [safe] true to use safe mode.
527
+ * [safe] true to use safe mode. (default: false)
528
528
* [eventHandler] handler for events.
529
529
* [contextResolver] internal use only.
530
530
*
@@ -561,7 +561,7 @@ jsonld.link = async function(input, ctx, options) {
561
561
* 'application/n-quads' for N-Quads.
562
562
* [documentLoader(url, options)] the document loader.
563
563
* [useNative] true to use a native canonize algorithm
564
- * [safe] true to use safe mode.
564
+ * [safe] true to use safe mode. (default: false)
565
565
* [eventHandler] handler for events.
566
566
* [contextResolver] internal use only.
567
567
*
@@ -619,7 +619,7 @@ jsonld.normalize = jsonld.canonize = async function(input, options) {
619
619
* (boolean, integer, double), false not to (default: false).
620
620
* [rdfDirection] 'i18n-datatype' to support RDF transformation of
621
621
* @direction (default: null).
622
- * [safe] true to use safe mode.
622
+ * [safe] true to use safe mode. (default: false)
623
623
* [eventHandler] handler for events.
624
624
*
625
625
* @return a Promise that resolves to the JSON-LD document.
@@ -670,7 +670,7 @@ jsonld.fromRDF = async function(dataset, options) {
670
670
* [produceGeneralizedRdf] true to output generalized RDF, false
671
671
* to produce only standard RDF (default: false).
672
672
* [documentLoader(url, options)] the document loader.
673
- * [safe] true to use safe mode.
673
+ * [safe] true to use safe mode. (default: false)
674
674
* [eventHandler] handler for events.
675
675
* [contextResolver] internal use only.
676
676
*
@@ -765,7 +765,7 @@ jsonld.createNodeMap = async function(input, options) {
765
765
* new properties where a node is in the `object` position
766
766
* (default: true).
767
767
* [documentLoader(url, options)] the document loader.
768
- * [safe] true to use safe mode.
768
+ * [safe] true to use safe mode. (default: false)
769
769
* [eventHandler] handler for events.
770
770
* [contextResolver] internal use only.
771
771
*
@@ -929,7 +929,7 @@ jsonld.get = async function(url, options) {
929
929
* @param localCtx the local context to process.
930
930
* @param [options] the options to use:
931
931
* [documentLoader(url, options)] the document loader.
932
- * [safe] true to use safe mode.
932
+ * [safe] true to use safe mode. (default: false)
933
933
* [eventHandler] handler for events.
934
934
* [contextResolver] internal use only.
935
935
*
0 commit comments