sonic-boom
Advanced tools
Comparing version 3.3.0 to 3.4.0
14
index.js
@@ -423,6 +423,12 @@ 'use strict' | ||
if (sonic.fd !== 1 && sonic.fd !== 2) { | ||
fs.close(sonic.fd, done) | ||
} else { | ||
setImmediate(done) | ||
fs.fsync(sonic.fd, closeWrapped) | ||
function closeWrapped () { | ||
// We skip errors in fsync | ||
if (sonic.fd !== 1 && sonic.fd !== 2) { | ||
fs.close(sonic.fd, done) | ||
} else { | ||
done() | ||
} | ||
} | ||
@@ -429,0 +435,0 @@ |
{ | ||
"name": "sonic-boom", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "Extremely fast utf8 only stream implementation", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@types/node": "^18.0.0", | ||
"@types/node": "^20.1.0", | ||
"fastbench": "^1.0.1", | ||
@@ -41,3 +41,3 @@ "husky": "^8.0.1", | ||
"tap": "^16.2.0", | ||
"tsd": "^0.28.0", | ||
"tsd": "^0.29.0", | ||
"typescript": "^5.0.2", | ||
@@ -44,0 +44,0 @@ "ts-node": "^10.8.0" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
66502
2097
1