Socket
Socket
Sign inDemoInstall

file-timestamp-stream

Package Overview
Dependencies
1
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.3.0

4

CHANGELOG.md
# Changelog
## v0.3.0 2018-02-03
* Implemented `_final` method which calls `end` on file stream.
## v0.2.0 2018-02-02

@@ -4,0 +8,0 @@

@@ -58,2 +58,10 @@ 'use strict'

_final (callback) {
if (this.stream) {
this.stream.end(callback)
} else {
callback()
}
}
_destroy (err, callback) {

@@ -65,3 +73,3 @@ if (this.stream) {

}
super._destroy(err, callback)
callback(err)
}

@@ -68,0 +76,0 @@ }

6

package.json
{
"name": "file-timestamp-stream",
"version": "0.2.0",
"version": "0.3.0",
"description": "Writing stream with file rotating based on timestamp",

@@ -29,3 +29,3 @@ "main": "lib/file-timestamp-stream.js",

"devDependencies": {
"@types/node": "^8.0.46",
"@types/node": "^9.4.0",
"chai": "^4.1.2",

@@ -35,3 +35,3 @@ "delay": "^2.0.0",

"standard": "^10.0.3",
"tap": "^10.7.2",
"tap": "^11.1.0",
"tap-given": "^0.6.0"

@@ -38,0 +38,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc