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

file-timestamp-stream

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-timestamp-stream - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

6

CHANGELOG.md
# Changelog
## v2.2.4 2019-10-07
- Compatible with newer NodeJS typings.
- Use `mocha-steps` for testing.
- Updated dependencies.
## v2.2.3 2019-07-10

@@ -4,0 +10,0 @@

2

lib/file-timestamp-stream.d.ts

@@ -18,2 +18,3 @@ /// <reference types="node" />

readonly path: string;
destroyed: boolean;
/** contains last opened filename */

@@ -23,3 +24,2 @@ protected currentFilename?: string;

protected stream?: WriteStream;
private destroyed;
private readonly streams;

@@ -26,0 +26,0 @@ private readonly streamCancelFinishers;

@@ -155,5 +155,5 @@ "use strict";

}
exports.FileTimestampStream = FileTimestampStream;
FileTimestampStream.CLOSE_UNUSED_FILE_AFTER = 1000;
exports.FileTimestampStream = FileTimestampStream;
exports.default = FileTimestampStream;
//# sourceMappingURL=file-timestamp-stream.js.map
{
"name": "file-timestamp-stream",
"version": "2.2.3",
"version": "2.2.4",
"description": "Writing stream with file rotating based on timestamp",

@@ -31,25 +31,26 @@ "main": "lib/file-timestamp-stream.js",

"devDependencies": {
"@types/chai": "^4.1.7",
"@types/dirty-chai": "^2.0.0",
"@types/chai": "^4.2.3",
"@types/dirty-chai": "^2.0.2",
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.2",
"@types/node": "^12.7.11",
"@types/ultra-strftime": "^1.0.0",
"chai": "^4.2.0",
"coveralls": "^3.0.4",
"cross-env": "^5.2.0",
"coveralls": "^3.0.6",
"cross-env": "^6.0.3",
"dirty-chai": "^2.0.1",
"eslint": "^6.0.1",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-node": "^9.1.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"markdownlint-cli": "^0.17.0",
"mocha": "^6.1.4",
"markdownlint-cli": "^0.18.0",
"mocha": "^6.2.1",
"mocha-steps": "^1.3.0",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"shx": "^0.3.2",
"ts-node": "^8.3.0",
"tslint": "^5.18.0",
"ts-node": "^8.4.1",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.3"
},

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

@@ -24,2 +24,4 @@ /// <reference types="node" />

destroyed = false
/** contains last opened filename */

@@ -30,4 +32,2 @@ protected currentFilename?: string

private destroyed = false
private readonly streams: Map<string, WriteStream> = new Map()

@@ -34,0 +34,0 @@ private readonly streamCancelFinishers: Map<string, () => void> = new Map()

Sorry, the diff of this file is not supported yet

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