File tree 3 files changed +2
-10
lines changed
3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 30
30
"agentkeepalive" : " ^4.2.1" ,
31
31
"form-data-encoder" : " 1.7.2" ,
32
32
"formdata-node" : " ^4.3.2" ,
33
- "node-fetch" : " ^2.6.7" ,
34
- "web-streams-polyfill" : " ^3.2.1"
33
+ "node-fetch" : " ^2.6.7"
35
34
},
36
35
"devDependencies" : {
37
36
"@swc/core" : " ^1.3.102" ,
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ import { Readable } from 'node:stream';
13
13
import { type RequestOptions } from '../core' ;
14
14
import { MultipartBody } from './MultipartBody' ;
15
15
import { type Shims } from './registry' ;
16
-
17
- // @ts -ignore (this package does not have proper export maps for this export)
18
- import { ReadableStream } from 'web-streams-polyfill/dist/ponyfill.es2018.js' ;
16
+ import { ReadableStream } from 'node:stream/web' ;
19
17
20
18
type FileFromPathOptions = Omit < FilePropertyBag , 'lastModified' > ;
21
19
Original file line number Diff line number Diff line change 3412
3412
resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.1.tgz#3b19b9817374b7cee06d374ba7eeb3aeb80e8c95"
3413
3413
integrity sha512-3ux37gEX670UUphBF9AMCq8XM6iQ8Ac6A+DSRRjDoRBm1ufCkaCDdNVbaqq60PsEkdNlLKrGtv/YBP4EJXqNtQ==
3414
3414
3415
- web-streams-polyfill@^3.2.1 :
3416
- version "3.2.1"
3417
- resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6"
3418
- integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==
3419
-
3420
3415
webidl-conversions@^3.0.0 :
3421
3416
version "3.0.1"
3422
3417
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
You can’t perform that action at this time.
0 commit comments