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

@applitools/logger

Package Overview
Dependencies
Maintainers
24
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/logger - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

5

CHANGELOG.md

@@ -6,2 +6,7 @@ # Changelog

## 1.0.10 - 2022/2/4
- increase number of retries and add a delay between them in `fs.rmSync`
- ignore error thrown by `fs.rmSync` in rolling file handler
## 1.0.9 - 2022/1/6

@@ -8,0 +13,0 @@

4

package.json
{
"name": "@applitools/logger",
"version": "1.0.9",
"version": "1.0.10",
"description": "Applitools logger",

@@ -58,3 +58,3 @@ "keywords": [

"devDependencies": {
"@applitools/sdk-release-kit": "0.13.10",
"@applitools/sdk-release-kit": "0.13.11",
"eslint": "^7.9.0",

@@ -61,0 +61,0 @@ "eslint-plugin-mocha-no-only": "^1.1.1",

@@ -23,3 +23,7 @@ const path = require('path')

logFiles.push(filepath)
if (logFiles.length > maxFileNumber) fs.rmSync(logFiles.shift(), {maxRetries: 2})
if (logFiles.length > maxFileNumber) {
try {
fs.rmSync(logFiles.shift(), {maxRetries: 3, retryDelay: 300})
} catch (err) {}
}
}

@@ -26,0 +30,0 @@ function close() {

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