isaacs / node-graceful-fs

fs with incremental backoff on EMFILE
ISC License
1.27k stars 148 forks source link

Fix : Problem with webpack 4 : Object prototype may only be an Object or null: undefined #230

Closed yoshixi closed 2 years ago

yoshixi commented 2 years ago

fixes issue: https://github.com/isaacs/node-graceful-fs/issues/222

https://github.com/isaacs/node-graceful-fs/commit/c55c1b8cb32510f92bd33d7c833364ecd3964dea does not support browser environment, so this PR fixed this issue. This error occurs in version v4.2.5 or higher versions.


ref

Comparison of v4.2.4 and v4.2.5: https://github.com/isaacs/node-graceful-fs/compare/v4.2.4...v4.2.5

yoshixi commented 2 years ago

@isaacs Hey! I'm Yoshiki from japan. Thank you for maintaining this package. I added patch, please check it!