aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-01 14:16:19 +0200
committerChocobozzz <me@florianbigard.com>2020-04-01 14:46:53 +0200
commitd96994289b24c4bbd056660c5fe11fff0f77635e (patch)
treef3c21a32735b665184ee8e62e79a869f99c01a09 /shared
parent4adebd513ec207d54e76a09cd4a8554d1900d34a (diff)
downloadPeerTube-d96994289b24c4bbd056660c5fe11fff0f77635e.tar.gz
PeerTube-d96994289b24c4bbd056660c5fe11fff0f77635e.tar.zst
PeerTube-d96994289b24c4bbd056660c5fe11fff0f77635e.zip
Update server dependencies
Diffstat (limited to 'shared')
-rw-r--r--shared/__ngcc_entry_points__.json1
-rw-r--r--shared/extra-utils/miscs/email.ts4
2 files changed, 3 insertions, 2 deletions
diff --git a/shared/__ngcc_entry_points__.json b/shared/__ngcc_entry_points__.json
new file mode 100644
index 000000000..179bdcda3
--- /dev/null
+++ b/shared/__ngcc_entry_points__.json
@@ -0,0 +1 @@
{"ngccVersion":"9.1.0","configFileHash":"87c535c3ce0eac2a54c246892e0e21a1","lockFileHash":"d04bf20520f2518af162e882d32081e4","entryPointPaths":[]} \ No newline at end of file
diff --git a/shared/extra-utils/miscs/email.ts b/shared/extra-utils/miscs/email.ts
index b2a1093da..d6219deb3 100644
--- a/shared/extra-utils/miscs/email.ts
+++ b/shared/extra-utils/miscs/email.ts
@@ -12,7 +12,7 @@ class MockSmtpServer {
12 private constructor () { 12 private constructor () {
13 this.emailChildProcess = fork(`${__dirname}/email-child-process`, []) 13 this.emailChildProcess = fork(`${__dirname}/email-child-process`, [])
14 14
15 this.emailChildProcess.on('message', (msg) => { 15 this.emailChildProcess.on('message', (msg: any) => {
16 if (msg.email) { 16 if (msg.email) {
17 return this.emails.push(msg.email) 17 return this.emails.push(msg.email)
18 } 18 }
@@ -36,7 +36,7 @@ class MockSmtpServer {
36 this.emailChildProcess.on('exit', () => { 36 this.emailChildProcess.on('exit', () => {
37 return rej(new Error('maildev exited unexpectedly, confirm port not in use')) 37 return rej(new Error('maildev exited unexpectedly, confirm port not in use'))
38 }) 38 })
39 this.emailChildProcess.on('message', (msg) => { 39 this.emailChildProcess.on('message', (msg: any) => {
40 if (msg.err) { 40 if (msg.err) {
41 return rej(new Error(msg.err)) 41 return rej(new Error(msg.err))
42 } 42 }