Fix imap errors + remove debug warning
parent
e6de6e3812
commit
d3ed81286c
|
@ -1,5 +1,6 @@
|
||||||
const EventEmitter = require('events')
|
const EventEmitter = require('events')
|
||||||
const debug = require('debug')('48hr-email:notification')
|
const debug = require('debug')('48hr-email:notification')
|
||||||
|
require('events').defaultMaxListeners = 50;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Receives sign-ins from users and notifies them when new mails are available.
|
* Receives sign-ins from users and notifies them when new mails are available.
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"express-validator": "^7.2.0",
|
"express-validator": "^7.2.0",
|
||||||
"helmet": "^3.23.3",
|
"helmet": "^3.23.3",
|
||||||
"http-errors": "~1.6.2",
|
"http-errors": "~1.6.2",
|
||||||
"imap-simple": "^1.6.3",
|
"imap-simple": "^4.3.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"mailparser": "^3.7.1",
|
"mailparser": "^3.7.1",
|
||||||
"mem": "^4.3.0",
|
"mem": "^4.3.0",
|
||||||
|
@ -2528,12 +2528,6 @@
|
||||||
"url": "https://github.com/sponsors/ljharb"
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/es6-promise": {
|
|
||||||
"version": "2.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-2.3.0.tgz",
|
|
||||||
"integrity": "sha512-oyOjMhyKMLEjOOtvkwg0G4pAzLQ9WdbbeX7WdqKzvYXu+UFgD0Zo/Brq5Q49zNmnGPPzV5rmYvrr0jz1zWx8Iw==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/escalade": {
|
"node_modules/escalade": {
|
||||||
"version": "3.2.0",
|
"version": "3.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
|
||||||
|
@ -4590,17 +4584,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/imap-simple": {
|
"node_modules/imap-simple": {
|
||||||
"version": "1.6.3",
|
"version": "4.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/imap-simple/-/imap-simple-1.6.3.tgz",
|
"resolved": "https://registry.npmjs.org/imap-simple/-/imap-simple-4.3.0.tgz",
|
||||||
"integrity": "sha512-QtLVLrtyLebWMYjIXhp4UMxjcQFV+bvBJBTtQF9YK+4m/sley55SxPAbrJOOzoBtozmY7oe81yBBiqzfmVJsaQ==",
|
"integrity": "sha512-SW3LtfEJFjlJKS/h2CmpX2IKpya2RXobR3ENJJW4iMQ3QYPxWxf5oeaz1K3P4eGUwfGEndkqt7uVDKnEyG9zeQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"es6-promise": "^2.0.1",
|
|
||||||
"iconv-lite": "~0.4.13",
|
"iconv-lite": "~0.4.13",
|
||||||
"imap": "^0.8.14",
|
"imap": "^0.8.18",
|
||||||
"nodeify": "^1.0.0",
|
"nodeify": "^1.0.0",
|
||||||
"quoted-printable": "^1.0.0",
|
"quoted-printable": "^1.0.0",
|
||||||
"utf8": "^2.1.1"
|
"utf8": "^2.1.1",
|
||||||
|
"uuencode": "0.0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/import-fresh": {
|
"node_modules/import-fresh": {
|
||||||
|
@ -8309,6 +8303,11 @@
|
||||||
"node": ">= 0.4.0"
|
"node": ">= 0.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/uuencode": {
|
||||||
|
"version": "0.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/uuencode/-/uuencode-0.0.4.tgz",
|
||||||
|
"integrity": "sha512-yEEhCuCi5wRV7Z5ZVf9iV2gWMvUZqKJhAs1ecFdKJ0qzbyaVelmsE3QjYAamehfp9FKLiZbKldd+jklG3O0LfA=="
|
||||||
|
},
|
||||||
"node_modules/validate-npm-package-license": {
|
"node_modules/validate-npm-package-license": {
|
||||||
"version": "3.0.4",
|
"version": "3.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "48hr.email",
|
"name": "48hr.email",
|
||||||
"version": "1.5.1",
|
"version": "1.5.2",
|
||||||
"private": false,
|
"private": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./app.js",
|
"start": "node --trace-warnings ./app.js",
|
||||||
"test": "xo",
|
"test": "xo",
|
||||||
"debug": "node --nolazy --inspect-brk=9229 ./app.js"
|
"debug": "node --nolazy --inspect-brk=9229 ./app.js"
|
||||||
},
|
},
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"express-validator": "^7.2.0",
|
"express-validator": "^7.2.0",
|
||||||
"helmet": "^3.23.3",
|
"helmet": "^3.23.3",
|
||||||
"http-errors": "~1.6.2",
|
"http-errors": "~1.6.2",
|
||||||
"imap-simple": "^1.6.3",
|
"imap-simple": "^4.3.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"mailparser": "^3.7.1",
|
"mailparser": "^3.7.1",
|
||||||
"mem": "^4.3.0",
|
"mem": "^4.3.0",
|
||||||
|
|
Loading…
Reference in New Issue