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

winston-array-transport

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-array-transport - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

11

CHANGELOG.md

@@ -0,1 +1,12 @@

## [1.1.10](https://github.com/pustovitDmytro/winston-array-transport/compare/v1.1.9...v1.1.10) (2022-07-02)
### Fix
* Check if maxListeners option is a Number before setting default value (#84) (#85) ([e0a4046](https://github.com/pustovitDmytro/winston-array-transport/commit/e0a4046471d6a1d55d2482d1c9df321c89555381)), closes [#84](https://github.com/pustovitDmytro/winston-array-transport/issues/84) [#85](https://github.com/pustovitDmytro/winston-array-transport/issues/85)
## [unreleased]
* fix `maxListeners` option not supporting `0` as value (#84)
## [1.1.9](https://github.com/pustovitDmytro/winston-array-transport/compare/v1.1.8...v1.1.9) (2022-02-28)

@@ -2,0 +13,0 @@

3

lib/index.js

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

super(options);
const maxListeners = Number.isInteger(options.maxListeners) ? options.maxListeners : _defaults.defaultMaxListeners;
this.name = options.name || this.constructor.name;

@@ -29,3 +30,3 @@ this.eol = options.eol || _os.default.EOL;

this.limit = options.limit;
this.setMaxListeners(options.maxListeners || _defaults.defaultMaxListeners);
this.setMaxListeners(maxListeners);
}

@@ -32,0 +33,0 @@

{
"name": "winston-array-transport",
"version": "1.1.9",
"version": "1.1.10",
"description": "write logs to js Array",

@@ -5,0 +5,0 @@ "main": "./lib",

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