chore: improve node 12 compat

This commit is contained in:
Zack Schuster 2022-04-14 12:22:31 -07:00
parent 2fc0e8c493
commit c0f7a171ea
3 changed files with 6 additions and 5 deletions

View File

@ -19,7 +19,7 @@
"@ledge/configs": "23.3.23322",
"@rollup/plugin-typescript": "8.3.2",
"@types/mailparser": "3.4.0",
"@types/node": "17.0.23",
"@types/node": "12.12.6",
"@types/smtp-server": "3.5.7",
"@typescript-eslint/eslint-plugin": "5.19.0",
"@typescript-eslint/parser": "5.19.0",

View File

@ -1,4 +1,5 @@
import { createReadStream, readFileSync } from 'fs';
import { URL } from 'url';
import test from 'ava';
import { simpleParser } from 'mailparser';

View File

@ -132,10 +132,10 @@
"@types/node" "*"
iconv-lite "^0.6.3"
"@types/node@*", "@types/node@17.0.23":
version "17.0.23"
resolved "https://registry.npmjs.org/@types/node/-/node-17.0.23.tgz#3b41a6e643589ac6442bdbd7a4a3ded62f33f7da"
integrity sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw==
"@types/node@*", "@types/node@12.12.6":
version "12.12.6"
resolved "https://registry.npmjs.org/@types/node/-/node-12.12.6.tgz#a47240c10d86a9a57bb0c633f0b2e0aea9ce9253"
integrity sha512-FjsYUPzEJdGXjwKqSpE0/9QEh6kzhTAeObA54rn6j3rR4C/mzpI9L0KNfoeASSPMMdxIsoJuCLDWcM/rVjIsSA==
"@types/nodemailer@*":
version "6.4.4"