@log4js-node/smtp 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
- # SMTP Appender for log4js
2
- [![Build Status](https://travis-ci.com/log4js-node/smtp.svg?branch=master)](https://travis-ci.com/log4js-node/smtp)
1
+ SMTP Appender for log4js [![CodeQL](https://github.com/log4js-node/smtp/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/log4js-node/smtp/actions/workflows/codeql-analysis.yml) [![Node.js CI](https://github.com/log4js-node/smtp/actions/workflows/node.js.yml/badge.svg)](https://github.com/log4js-node/smtp/actions/workflows/node.js.yml)
2
+ ===========
3
+
4
+ [![NPM](https://nodei.co/npm/@log4js-node/smtp.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/@log4js-node/smtp/)
3
5
 
4
6
  Sends log events as emails. If you use this appender, you should also call `log4js.shutdown` when your application closes so that any remaining emails can be sent. Many of the configuration options below are passed through to nodemailer, so you should read their docs to get the most out of this appender.
5
7
 
package/lib/index.js CHANGED
@@ -14,7 +14,6 @@ function getTransportOptions(config) {
14
14
  return options;
15
15
  }
16
16
 
17
-
18
17
  /**
19
18
  * SMTP Appender. Sends logging events using SMTP protocol.
20
19
  * It can either send an email on each event or group several
@@ -140,5 +139,4 @@ function configure(config, layouts) {
140
139
  return smtpAppender(config, layout, subjectLayout);
141
140
  }
142
141
 
143
-
144
142
  module.exports.configure = configure;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@log4js-node/smtp",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "SMTP Appender for log4js-node",
5
5
  "homepage": "https://log4js-node.github.io/log4js-node/",
6
6
  "files": [
@@ -48,13 +48,13 @@
48
48
  "@log4js-node/sandboxed-module": "^2.2.1",
49
49
  "codecov": "^3.8.3",
50
50
  "conventional-changelog": "^3.1.25",
51
- "eslint": "^8.10.0",
52
- "eslint-config-airbnb-base": "^13.2.0",
51
+ "eslint": "^8.11.0",
52
+ "eslint-config-airbnb-base": "^15.0.0",
53
53
  "eslint-import-resolver-node": "^0.3.6",
54
54
  "eslint-plugin-import": "^2.25.4",
55
55
  "husky": "^7.0.4",
56
56
  "nyc": "^15.1.0",
57
- "tap": "^15.1.6",
57
+ "tap": "^16.0.0",
58
58
  "typescript": "^4.6.2",
59
59
  "validate-commit-msg": "^2.14.0"
60
60
  },