New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

winston-telegram

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-telegram - npm Package Compare versions

Comparing version 2.3.4 to 2.3.5

7

CHANGELOG.md

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

## [v2.3.5] - 2021-05-23
### Changed
- [#26](https://github.com/ivanmarban/winston-telegram/issues/26) Set `handleExceptions` option `true` by default.
## [v2.3.4] - 2021-04-02

@@ -132,3 +136,4 @@ ### Fixed

[unreleased]: https://github.com/ivanmarban/winston-telegram/compare/v2.3.4...develop
[unreleased]: https://github.com/ivanmarban/winston-telegram/compare/v2.3.5...develop
[v2.3.5]: https://github.com/ivanmarban/winston-telegram/compare/v2.3.4...v2.3.5
[v2.3.4]: https://github.com/ivanmarban/winston-telegram/compare/v2.3.3...v2.3.4

@@ -135,0 +140,0 @@ [v2.3.3]: https://github.com/ivanmarban/winston-telegram/compare/v2.3.2...v2.3.3

2

lib/winston-telegram.d.ts

@@ -29,3 +29,3 @@ import TransportStream = require("winston-transport")

formatMessage?: (params: WinstonTelegram.FormatOptions) => string
/** Handle uncaught exceptions. (default false) */
/** Handle uncaught exceptions. (default true) */
handleExceptions?: boolean

@@ -32,0 +32,0 @@ /** Time in ms within which to batch messages together. (default = 0) (0 = disabled) */

@@ -45,3 +45,3 @@ /*

this.level = options.level || 'info'
this.handleExceptions = options.handleExceptions || false
this.handleExceptions = options.handleExceptions || true
this.unique = options.unique || false

@@ -48,0 +48,0 @@ this.silent = options.silent || false

{
"name": "winston-telegram",
"description": "A Telegram transport for winston",
"version": "2.3.4",
"version": "2.3.5",
"author": "Ivan Marban",

@@ -6,0 +6,0 @@ "repository": {

@@ -30,3 +30,3 @@ const should = require('chai').should()

assert.ok(transport.level === 'info')
assert.ok(transport.handleExceptions === false)
assert.ok(transport.handleExceptions === true)
assert.ok(transport.unique === false)

@@ -33,0 +33,0 @@ assert.ok(transport.silent === false)

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