@techie04/xpresser-mailer
Advanced tools
Comparing version 0.2.3 to 0.3.0
{ | ||
"name": "@techie04/xpresser-mailer", | ||
"version": "0.2.3", | ||
"version": "0.3.0", | ||
"description": "Mailer Plugin for xpresser", | ||
@@ -13,8 +13,9 @@ "main": "index.js", | ||
"watch": "npx tsc --watch", | ||
"prepublishOnly": "npx tsc", | ||
"build": "npx tsc", | ||
"prepublishOnly": "npm run build", | ||
"test": "cd tests && npx ts-node-dev --respawn server.ts" | ||
}, | ||
"dependencies": { | ||
"abolish": "^4.7.3", | ||
"nodemailer": "^6.7.2" | ||
"abolish": "^6.1.4", | ||
"nodemailer": "^6.8.0" | ||
}, | ||
@@ -24,7 +25,8 @@ "devDependencies": { | ||
"@types/nodemailer": "^6.4.4", | ||
"@xpresser/env": "^1.1.0", | ||
"postmark": "^2.7.8", | ||
"@xpresser/env": "^2.0.10", | ||
"postmark": "^3.0.14", | ||
"prettier": "^2.4.1", | ||
"ts-node-dev": "^2.0.0", | ||
"typescript": "^4.4.4", | ||
"xpresser": "^0.24.0" | ||
"xpresser": "^0.29.3" | ||
}, | ||
@@ -31,0 +33,0 @@ "keywords": [ |
@@ -17,3 +17,3 @@ "use strict"; | ||
*/ | ||
const [err] = abolish_1.Abolish.validate(config.data, { | ||
const [err] = abolish_1.Abolish.validate(config.data, (0, abolish_1.Schema)({ | ||
// all is required and must be typeof string | ||
@@ -25,3 +25,3 @@ "*": "required|typeof:string", | ||
"auth.pass": { $name: "{auth.pass}" } | ||
}); | ||
})); | ||
if (err) | ||
@@ -28,0 +28,0 @@ throw new Error(`Smtp Config: ${err.message}`); |
29122
8
+ Addedabolish@6.8.2(transitive)
- Removedabolish@4.13.2(transitive)
Updatedabolish@^6.1.4
Updatednodemailer@^6.8.0