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.3.0 to 0.3.1

4

CHANGELOG.md
# Changelog
## v0.3.1 2018-02-04
* Better clean up on `destroy`.
## v0.3.0 2018-02-03

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

9

lib/file-timestamp-stream.js

@@ -21,5 +21,2 @@ 'use strict'

this.currentFilename = undefined
this.stream = undefined
this._streamErrorHandler = (err) => {

@@ -71,4 +68,8 @@ this.emit('error', err)

this.stream.removeListener('error', this._streamErrorHandler)
this.stream = undefined
delete this._streamErrorHandler
delete this.stream
}
this.newFilename = () => {
throw new Error('write after destroy')
}
callback(err)

@@ -75,0 +76,0 @@ }

{
"name": "file-timestamp-stream",
"version": "0.3.0",
"version": "0.3.1",
"description": "Writing stream with file rotating based on timestamp",

@@ -5,0 +5,0 @@ "main": "lib/file-timestamp-stream.js",

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