mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
change: Drop Node 10 support.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
16d447f221
commit
03ffaaed43
@@ -37,9 +37,7 @@ export class RdfToQuadConverter extends TypedRepresentationConverter {
|
||||
baseIRI,
|
||||
});
|
||||
|
||||
// Wrap the stream such that errors are transformed
|
||||
// (Node 10 requires both writableObjectMode and readableObjectMode)
|
||||
const pass = new PassThrough({ writableObjectMode: true, readableObjectMode: true });
|
||||
const pass = new PassThrough({ objectMode: true });
|
||||
const data = pipeSafely(rawQuads, pass, (error): Error => new UnsupportedHttpError(error.message));
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user