file-timestamp-stream
Advanced tools
Comparing version 2.2.3 to 2.2.4
# 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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27874
24