streamroller
Advanced tools
Comparing version 3.1.4 to 3.1.5
# streamroller Changelog | ||
## 3.1.4 | ||
## [3.1.5](https://github.com/log4js-node/streamroller/milestone/30) | ||
- [fix: tilde expansion for windows](https://github.com/log4js-node/streamroller/pull/165) - thanks [@lamweili](https://github.com/lamweili) | ||
- [chore(deps-dev): updated dependencies](https://github.com/log4js-node/streamroller/pull/166) - thanks [@lamweili](https://github.com/lamweili) | ||
- chore(deps-dev): bump @commitlint/cli from 17.3.0 to 17.4.3 | ||
- chore(deps-dev): bump @commitlint/config-conventional from 17.3.0 to 17.4.3 | ||
- chore(deps-dev): bump @types/node from 8.11.18 to 8.13.0 | ||
- chore(deps-dev): bump eslint from 8.30.0 to 8.34.0 | ||
- chore(deps-dev): bump husky from 8.0.2 to 8.0.3 | ||
- chore(deps-dev): updated package-lock.json | ||
## [3.1.4](https://github.com/log4js-node/streamroller/milestone/29) | ||
- [fix: addressed unhandled promise rejection when a file gets deleted in midst of rolling](https://github.com/log4js-node/streamroller/pull/160) - thanks [@lamweili](https://github.com/lamweili) | ||
@@ -16,3 +27,3 @@ - [docs: updated repository url](https://github.com/log4js-node/streamroller/pull/158) - thanks [@lamweili](https://github.com/lamweili) | ||
- chore(deps-dev): bump @commitlint/cli from 17.1.2 to 17.3.0 | ||
- chore(deps-dev): bump @commitlint/config-conventional from 17.1.0 to … | ||
- chore(deps-dev): bump @commitlint/config-conventional from 17.1.0 to 17.3.0 | ||
- chore(deps-dev): bump @types/node from 18.7.23 to 18.11.9 | ||
@@ -24,3 +35,3 @@ - chore(deps-dev): bump eslint from 8.24.0 to 8.28.0 | ||
## 3.1.3 | ||
## [3.1.3](https://github.com/log4js-node/streamroller/milestone/28) | ||
@@ -39,3 +50,3 @@ - [ci: manually downgrade dev dependencies for older versions](https://github.com/log4js-node/streamroller/pull/153) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.1.2 | ||
## [3.1.2](https://github.com/log4js-node/streamroller/milestone/27) | ||
@@ -59,6 +70,8 @@ - [refactor: support older Node.js versions](https://github.com/log4js-node/streamroller/pull/147) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.1.1 | ||
## [3.1.1](https://github.com/log4js-node/streamroller/milestone/26) | ||
- [fix: fs.appendFileSync should use flag instead of flags](https://github.com/log4js-node/streamroller/pull/141) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.1.0 | ||
## [3.1.0](https://github.com/log4js-node/streamroller/milestone/25) | ||
- [feat: tilde expansion for filename](https://github.com/log4js-node/streamroller/pull/135) - thanks [@lamweili](https://github.com/lamweili) | ||
@@ -73,3 +86,3 @@ - [fix: better file validation](https://github.com/log4js-node/streamroller/pull/134) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.9 | ||
## [3.0.9](https://github.com/log4js-node/streamroller/milestone/24) | ||
@@ -87,3 +100,3 @@ - [fix: maxSize=0 means no rolling](https://github.com/log4js-node/streamroller/pull/131) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.8 | ||
## [3.0.8](https://github.com/log4js-node/streamroller/milestone/23) | ||
@@ -104,3 +117,3 @@ - [fix: concurrency issues when forked processes trying to roll same file](https://github.com/log4js-node/streamroller/pull/124) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.7 | ||
## [3.0.7](https://github.com/log4js-node/streamroller/milestone/22) | ||
@@ -119,3 +132,3 @@ - [chore(deps): temporary fix for fs-extra issue (to be reverted when fs-extra patches it)](https://github.com/log4js-node/streamroller/pull/116) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.6 | ||
## [3.0.6](https://github.com/log4js-node/streamroller/milestone/21) | ||
@@ -129,3 +142,3 @@ - [chore(deps): updated dependencies](https://github.com/log4js-node/streamroller/pull/110) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.5 | ||
## [3.0.5](https://github.com/log4js-node/streamroller/milestone/20) | ||
@@ -142,7 +155,7 @@ - [fix: added filename validation](https://github.com/log4js-node/streamroller/pull/101) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.4 | ||
## [3.0.4](https://github.com/log4js-node/streamroller/milestone/19) | ||
- [test: remove test file/folder remnants](https://github.com/log4js-node/streamroller/pull/99) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.3 | ||
## [3.0.3](https://github.com/log4js-node/streamroller/milestone/18) | ||
@@ -170,3 +183,3 @@ - [fix: backward compatibility for RollingFileWriteStream to recursively create directory](https://github.com/log4js-node/streamroller/pull/96) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.2 | ||
## [3.0.2](https://github.com/log4js-node/streamroller/milestone/17) | ||
@@ -183,3 +196,3 @@ - [fix: changed default file modes from 0o644 to 0o600 for better security](https://github.com/log4js-node/streamroller/pull/87) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.1 | ||
## [3.0.1](https://github.com/log4js-node/streamroller/milestone/16) | ||
@@ -191,3 +204,3 @@ - [build: not to publish misc files to NPM](https://github.com/log4js-node/streamroller/pull/82) - thanks [@lamweili](https://github.com/lamweili) | ||
## 3.0.0 | ||
## [3.0.0](https://github.com/log4js-node/streamroller/milestone/15) | ||
@@ -223,11 +236,11 @@ - [feat: allow for 0 backups (only hot file)](https://github.com/log4js-node/streamroller/pull/74) - thanks [@lamweili](https://github.com/lamweili) | ||
## 2.2.4 | ||
## [2.2.4](https://github.com/log4js-node/streamroller/milestone/14) | ||
- [Fix for incorrect filename matching](https://github.com/log4js-node/streamroller/pull/61) - thanks [@rnd-debug](https://github.com/rnd-debug) | ||
## 2.2.3 | ||
## [2.2.3](https://github.com/log4js-node/streamroller/milestone/13) | ||
- [Fix for unhandled promise rejection during cleanup](https://github.com/log4js-node/streamroller/pull/56) | ||
## 2.2.2 | ||
## [2.2.2](https://github.com/log4js-node/streamroller/milestone/12) | ||
@@ -240,11 +253,11 @@ - [Fix for overwriting current file when using date rotation](https://github.com/log4js-node/streamroller/pull/54) | ||
## 2.2.0 | ||
## [2.2.0](https://github.com/log4js-node/streamroller/milestone/11) | ||
- [Fallback to copy and truncate when file is busy](https://github.com/log4js-node/streamroller/pull/53) | ||
## 2.1.0 | ||
## [2.1.0](https://github.com/log4js-node/streamroller/milestone/10) | ||
- [Improve Windows support (closing streams)](https://github.com/log4js-node/streamroller/pull/52) | ||
## 2.0.0 | ||
## [2.0.0](https://github.com/log4js-node/streamroller/milestone/9) | ||
@@ -260,3 +273,3 @@ - [Remove support for node v6](https://github.com/log4js-node/streamroller/pull/44) | ||
## 1.0.6 | ||
## [1.0.6](https://github.com/log4js-node/streamroller/milestone/8) | ||
@@ -266,3 +279,3 @@ - [Fix for overwriting old backup files](https://github.com/log4js-node/streamroller/pull/43) | ||
## 1.0.5 | ||
## [1.0.5](https://github.com/log4js-node/streamroller/milestone/7) | ||
@@ -272,7 +285,7 @@ - [Updated dependencies](https://github.com/log4js-node/streamroller/pull/38) | ||
## 1.0.4 | ||
## [1.0.4](https://github.com/log4js-node/streamroller/milestone/6) | ||
- [Fix for initial size when appending to existing file](https://github.com/log4js-node/streamroller/pull/35) | ||
## 1.0.3 | ||
## [1.0.3](https://github.com/log4js-node/streamroller/milestone/5) | ||
@@ -287,2 +300,2 @@ - [Fix for crash when pattern is all digits](https://github.com/log4js-node/streamroller/pull/33) | ||
Previous release details are available by browsing the milestones in github. | ||
Previous release details are available by browsing the [milestones](https://github.com/log4js-node/streamroller/milestones) in github. |
@@ -46,6 +46,6 @@ const debug = require("debug")("streamroller:RollingFileWriteStream"); | ||
throw new Error(`Filename is a directory: ${filePath}`); | ||
} else { | ||
} else if (filePath.indexOf(`~${path.sep}`) === 0) { | ||
// handle ~ expansion: https://github.com/nodejs/node/issues/684 | ||
// exclude ~ and ~filename as these can be valid files | ||
filePath = filePath.replace(new RegExp(`^~(?=${path.sep}.+)`), os.homedir()); | ||
filePath = filePath.replace("~", os.homedir()); | ||
} | ||
@@ -52,0 +52,0 @@ super(options); |
{ | ||
"name": "streamroller", | ||
"version": "3.1.4", | ||
"version": "3.1.5", | ||
"description": "file streams that roll over when size limits, or dates are reached", | ||
@@ -34,7 +34,7 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.3.0", | ||
"@commitlint/config-conventional": "^17.3.0", | ||
"@types/node": "^18.11.18", | ||
"eslint": "^8.30.0", | ||
"husky": "^8.0.2", | ||
"@commitlint/cli": "^17.4.3", | ||
"@commitlint/config-conventional": "^17.4.3", | ||
"@types/node": "^18.13.0", | ||
"eslint": "^8.34.0", | ||
"husky": "^8.0.3", | ||
"mocha": "^10.2.0", | ||
@@ -41,0 +41,0 @@ "nyc": "^15.1.0", |
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
49737