Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

streamroller

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

streamroller - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

3

CHANGELOG.md
# streamroller Changelog
## 3.1.1
- [fix: fs.appendFileSync should use flag instead of flags](https://github.com/log4js-node/streamroller/pull/141) - thanks [@peteriman](https://github.com/peteriman)
## 3.1.0

@@ -4,0 +7,0 @@ - [feat: tilde expansion for filename](https://github.com/log4js-node/streamroller/pull/135) - thanks [@peteriman](https://github.com/peteriman)

@@ -306,4 +306,9 @@ const debug = require("debug")("streamroller:RollingFileWriteStream");

};
const renameKey = function(obj, oldKey, newKey) {
obj[newKey] = obj[oldKey];
delete obj[oldKey];
return obj;
};
// try to throw EISDIR, EROFS, EACCES
fs.appendFileSync(filePath, "", ops);
fs.appendFileSync(filePath, "", renameKey({ ...ops }, "flags", "flag"));
this.currentFileStream = fs.createWriteStream(filePath, ops);

@@ -310,0 +315,0 @@ this.currentFileStream.on("error", e => {

2

package.json
{
"name": "streamroller",
"version": "3.1.0",
"version": "3.1.1",
"description": "file streams that roll over when size limits, or dates are reached",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc