summaryrefslogtreecommitdiff
path: root/together/node_modules/formidable/src/parsers/OctetStream.js
diff options
context:
space:
mode:
Diffstat (limited to 'together/node_modules/formidable/src/parsers/OctetStream.js')
-rw-r--r--together/node_modules/formidable/src/parsers/OctetStream.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/together/node_modules/formidable/src/parsers/OctetStream.js b/together/node_modules/formidable/src/parsers/OctetStream.js
new file mode 100644
index 0000000..cdf55f2
--- /dev/null
+++ b/together/node_modules/formidable/src/parsers/OctetStream.js
@@ -0,0 +1,12 @@
+'use strict';
+
+const { PassThrough } = require('stream');
+
+class OctetStreamParser extends PassThrough {
+ constructor(options = {}) {
+ super();
+ this.globalOptions = { ...options };
+ }
+}
+
+module.exports = OctetStreamParser;