n3 2.11.1 → 2.11.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/README.md CHANGED
@@ -234,6 +234,13 @@ matching N3's formula-scoped blank node semantics
234
234
  const parser = new N3.Parser({ format: 'N3', formulaScopedBlankNodes: true });
235
235
  ```
236
236
 
237
+ The parser rejects triple terms nested more than 1024 levels deep,
238
+ so that the resulting quads stay within what the store and writer can traverse.
239
+ The `maxTripleTermDepth` option changes this limit (`Infinity` removes it):
240
+ ```JavaScript
241
+ const parser = new N3.Parser({ maxTripleTermDepth: 64 });
242
+ ```
243
+
237
244
  ### From an RDF stream to quads
238
245
 
239
246
  `N3.Parser` can parse [Node.js streams](http://nodejs.org/api/stream.html) as they grow,