Socket
Socket
Sign inDemoInstall

file-timestamp-stream

Package Overview
Dependencies
15
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.4 to 2.2.0

4

CHANGELOG.md
# Changelog
## v2.2.0 2019-06-17
- Closer's timer is `unref`-ed to prevent holding a NodeJS runtime.
## v2.1.4 2019-06-04

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

@@ -138,2 +138,3 @@ "use strict";

}, FileTimestampStream.CLOSE_UNUSED_FILE_AFTER);
newCloser.unref();
this.closer = closer;

@@ -140,0 +141,0 @@ this.closers.set(newFilename, newCloser);

18

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

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

"stream.finished": "^1.2.0",
"tslib": "^1.9.3",
"tslib": "^1.10.0",
"ultra-strftime": "^1.0.2"

@@ -35,22 +35,22 @@ },

"@types/mocha": "^5.2.7",
"@types/node": "^12.0.4",
"@types/node": "^12.0.8",
"@types/ultra-strftime": "^1.0.0",
"chai": "^4.2.0",
"coveralls": "^3.0.3",
"coveralls": "^3.0.4",
"cross-env": "^5.2.0",
"dirty-chai": "^2.0.1",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-prettier": "^5.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.1.1",
"markdownlint-cli": "^0.16.0",
"markdownlint-cli": "^0.17.0",
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"prettier": "^1.17.1",
"prettier": "^1.18.2",
"shx": "^0.3.2",
"ts-node": "^8.2.0",
"ts-node": "^8.3.0",
"tslint": "^5.17.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.1"
"typescript": "^3.5.2"
},

@@ -57,0 +57,0 @@ "scripts": {

@@ -170,6 +170,6 @@ /// <reference types="node" />

this.closers.delete(newFilename)
newStream.end()
}
}, FileTimestampStream.CLOSE_UNUSED_FILE_AFTER)
newCloser.unref()
this.closer = closer

@@ -176,0 +176,0 @@ this.closers.set(newFilename, newCloser)

Sorry, the diff of this file is not supported yet

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