Skip to content

Commit a4e91cf

Browse files
committed
fix:import stream
1 parent 44768be commit a4e91cf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Formidable.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import dezalgo from 'dezalgo';
66
import { EventEmitter } from 'node:events';
77
import fsPromises from 'node:fs/promises';
88
import os from 'node:os';
9+
import stream from 'node:stream';
910
import path from 'node:path';
1011
import { StringDecoder } from 'node:string_decoder';
1112
import once from 'once';
@@ -274,7 +275,7 @@ class IncomingForm extends EventEmitter {
274275
break;
275276

276277
default:
277-
pipe = node_stream.Transform({
278+
pipe = stream.Transform({
278279
transform: function (chunk, encoding, callback) {
279280
callback(null, chunk);
280281
}

0 commit comments

Comments
 (0)