Comments (6)
The aforementioned code linked to by electron originates in this commit: nodejs/node@e653080#diff-9a205ef7ee967ee32efee02e58b3482dR242
The technical problem is this: https://github.com/isaacs/node-graceful-fs/blob/master/fs.js#L8-L10
Using process.binding()
(especially in this way) effectively voids the warranty. Perhaps there is some other way to wrap / patch fs
?
If not, I think I've motioned before that I wouldn't mind this functionality being in core. See also, this twitter thread: https://twitter.com/isntitvacant/status/608708444539895809
from node-graceful-fs.
node-graceful-fs
relies on implementation details heavily. Either we should include it in core or rewrite it using public API only.
from node-graceful-fs.
+1 for making this part of io.js and/or the future node. The fact that this lib has to go deep into internals shows that it belongs into core. I would not even make it optional or through a flag. If I hit EMFILE, just retry for up to N times.
from node-graceful-fs.
See also: nodejs/node#1941
from node-graceful-fs.
+1 for making this part of io.js and/or the future node. The fact that this lib has to go deep into internals shows that it belongs into core.
Yes, I think you make a good point here. Stuff that can't be otherwise properly supported is what ought to be the primary candidates for core APIs.
from node-graceful-fs.
Fixed on v4
from node-graceful-fs.
Related Issues (20)
- v4.2.8 and v4.2.7 break when used on node < 6 HOT 6
- Issue with statSync when using new `throwIfNoEntry` option. HOT 2
- Problem with webpack 4 : Object prototype may only be an Object or null: undefined HOT 8
- Incompatible with Electron v10.x.y+ when dealing with .asar HOT 2
- TypeError: Cannot read property 'uid' of undefined HOT 2
- ReferenceError thrown from clone.js HOT 1
- cb is not a function HOT 5
- Manipulate PDF with NUXT 3 for digital sign HOT 1
- graceful-fs doesn't use node module location from .yarnrc HOT 1
- "web3.storage": "^4.3.0" has issues with Angular 14.0.3 with files-from-path and graceful-fs dependencies
- NOT using gulp - primordials error HOT 1
- missing file 'fs.js'
- statSync read .sqlite3 unknow
- Version 4.2.11 will not pull from npmjs
- Generate SLSA Build L3 provenance HOT 3
- EMFILE error when attempting to read dir with 10,000 files (Windows 11) HOT 4
- Waad
- TypeError: Cannot define property Symbol(graceful-fs.queue), object is not extensible HOT 1
- Gracefulfs suddenly doesn't work anymore HOT 1
- Different speed of file rename to non-accessible destination on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-graceful-fs.