Socket
Socket
Sign inDemoInstall

smtp-server

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smtp-server - npm Package Compare versions

Comparing version 3.13.0 to 3.13.2

.github/workflows/release.yaml

15

CHANGELOG.md
# Changelog
## [3.13.2](https://github.com/nodemailer/smtp-server/compare/v3.13.1...v3.13.2) (2024-02-02)
### Bug Fixes
* **release:** fixed Git URL on package.json ([5876626](https://github.com/nodemailer/smtp-server/commit/5876626aed6239ff0de4999fdf583febdda38744))
## [3.13.1](https://github.com/nodemailer/smtp-server/compare/v3.13.0...v3.13.1) (2024-02-02)
### Bug Fixes
* **deploy:** added autorelease ([0dbc8e1](https://github.com/nodemailer/smtp-server/commit/0dbc8e11412982395283b354c90e9ab443a7232a))
* **deps:** use punycode module ([438c617](https://github.com/nodemailer/smtp-server/commit/438c617d6ff46121fe76b90da2f1f34220ba7ae4))
## v3.13.0 2023-08-15

@@ -4,0 +19,0 @@

10

lib/smtp-connection.js

@@ -11,3 +11,3 @@ 'use strict';

const os = require('os');
const punycode = require('punycode');
const punycode = require('punycode/');
const EventEmitter = require('events');

@@ -500,3 +500,9 @@ const base32 = require('base32.js');

// block users that try to fiddle around without logging in
if (!this.session.user && this._isSupported('AUTH') && commandName !== 'AUTH' && this._maxAllowedUnauthenticatedCommands !== false) {
if (
!this.session.user &&
this._isSupported('AUTH') &&
!this._server.options.authOptional &&
commandName !== 'AUTH' &&
this._maxAllowedUnauthenticatedCommands !== false
) {
this._unauthenticatedCommands++;

@@ -503,0 +509,0 @@ if (this._unauthenticatedCommands >= this._maxAllowedUnauthenticatedCommands) {

2

lib/smtp-server.js

@@ -9,3 +9,3 @@ 'use strict';

const shared = require('nodemailer/lib/shared');
const punycode = require('punycode');
const punycode = require('punycode/');
const crypto = require('crypto');

@@ -12,0 +12,0 @@ const base32 = require('base32.js');

{
"name": "smtp-server",
"version": "3.13.0",
"version": "3.13.2",
"description": "Create custom SMTP servers on the fly",
"main": "lib/smtp-server.js",
"scripts": {
"test": "grunt"
"test": "grunt",
"update": "rm -rf node_modules package-lock.json && ncu -u && npm install"
},

@@ -14,8 +15,9 @@ "author": "Andris Reinman",

"ipv6-normalize": "1.0.1",
"nodemailer": "6.9.4"
"nodemailer": "6.9.9",
"punycode": "2.3.1"
},
"devDependencies": {
"chai": "4.3.7",
"chai": "4.4.1",
"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-prettier": "9.1.0",
"grunt": "1.6.1",

@@ -30,6 +32,6 @@ "grunt-cli": "1.4.3",

"type": "git",
"url": "git://github.com/andris9/smtp-server.git"
"url": "git://github.com/nodemailer/smtp-server.git"
},
"bugs": {
"url": "https://github.com/andris9/smtp-server/issues"
"url": "https://github.com/nodemailer/smtp-server/issues"
},

@@ -36,0 +38,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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