Comparing version 3.0.1 to 3.0.2
@@ -63,4 +63,8 @@ /* global Bare */ | ||
Bare.on('exit', () => binding.destroy(fs.handle)) | ||
Bare.on('exit', () => { | ||
for (const req of reqs) binding.reqCancel(req.handle) | ||
binding.destroy(fs.handle) | ||
}) | ||
// Lightly-modified from the Node FS internal utils. | ||
@@ -109,3 +113,3 @@ function flagsToNumber (flags) { | ||
binding.initReq(fs.handle, handle) | ||
binding.reqInit(fs.handle, handle) | ||
@@ -112,0 +116,0 @@ const view = new Uint32Array(handle.buffer, handle.byteOffset + binding.offsetofFSReqID, 1) |
{ | ||
"name": "bare-fs", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Native file system for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1025607
1548