Skip to content

Commit 6c408d4

Browse files
committed
Merge branch 'release/1.6.1'
2 parents 2f08cfd + c43a822 commit 6c408d4

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

Readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ Attachments can be used as embedded images in the HTML body. To use this feature
176176

177177
* Updated parsing to use auto parse
178178

179+
### 1.6.1
180+
181+
* Rollback of autoparse
182+
179183
## Questions, Comments & Concerns
180184

181185
Please reach out to [Green Pioneer](https://github.com/greenpioneer). If I dont respond the first time please feel free to reach out again to get help( Also try using @greenpioneer in issues or prs). [Guileen](https://github.com/guileen) is the original creator.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Gui Lin <guileen@gmail.com>",
33
"name": "sendmail",
44
"description": "Sendmail without setting up SMTP server",
5-
"version": "1.6.0",
5+
"version": "1.6.1",
66
"repository": {
77
"type": "git",
88
"url": "git://github.com/guileen/node-sendmail.git"
@@ -12,9 +12,8 @@
1212
"node": ">=6.0.0"
1313
},
1414
"dependencies": {
15-
"auto-parse": "^1.7.0",
16-
"dkim-signer": "^0.2.2",
17-
"mailcomposer": "^3.12.0"
15+
"dkim-signer": "0.2.2",
16+
"mailcomposer": "3.12.0"
1817
},
1918
"devDependencies": {
2019
"ical-toolkit": "^1.0.9",

sendmail.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const {createConnection} = require('net');
22
const {resolveMx} = require('dns');
33
const {DKIMSign} = require('dkim-signer');
4-
const autoParse = require('auto-parse');
54
const CRLF = '\r\n';
65

76
function dummy () {}
@@ -231,7 +230,7 @@ module.exports = function (options) {
231230
if (line[3] === ' ') {
232231
// 250-information dash is not complete.
233232
// 250 OK. space is complete.
234-
let lineNumber = autoParse(line, Number)
233+
let lineNumber = parseInt(line);
235234
response(lineNumber, msg);
236235
msg = '';
237236
}

0 commit comments

Comments
 (0)