New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

feathers-mailer

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-mailer - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

mocha.opts

8

examples/app.js

@@ -1,4 +0,4 @@

import mandrill from 'nodemailer-mandrill-transport'
import Mailer from '../src'
import feathers from 'feathers'
import mandrill from 'nodemailer-mandrill-transport';
import Mailer from '../src';
import feathers from 'feathers';
import rest from 'feathers-rest';

@@ -24,3 +24,3 @@ import bodyParser from 'body-parser';

// A basic error handler, just like Express
app.use(function(error, req, res, next){
app.use(function (error, req, res, next) {
res.json(error);

@@ -27,0 +27,0 @@ });

@@ -27,3 +27,3 @@ 'use strict';

//import errors from 'feathers-errors';
// import errors from 'feathers-errors';

@@ -59,4 +59,4 @@ var debug = (0, _debug2.default)('feathers-mailer');

// https://github.com/nodemailer/nodemailer#set-up-smtp says:
// If callback argument is not set then the method returns a Promise object.
return this.transporter.sendMail(body, cb);
// If callback argument is not set then the method returns a Promise object.
return this.transporter.sendMail(body);
}

@@ -63,0 +63,0 @@ }]);

{
"name": "feathers-mailer",
"description": "Feathers mailer service",
"version": "1.0.5",
"version": "1.0.6",
"homepage": "https://github.com/feathersjs/feathers-mailer",

@@ -30,3 +30,3 @@ "main": "lib/",

"engines": {
"node": ">= 0.12.0"
"node": ">= 4"
},

@@ -39,9 +39,18 @@ "scripts": {

"release:major": "npm version major && npm publish",
"compile": "rm -rf lib/ && babel -d lib/ src/",
"compile": "rimraf lib/ && babel -d lib/ src/",
"watch": "babel --watch -d lib/ src/",
"jshint": "jshint src/. test/. --config",
"mocha": "mocha test/ --compilers js:babel-core/register",
"test": "npm run compile && npm run jshint && npm run mocha",
"example": "babel-node examples/app"
"lint": "eslint-if-supported semistandard --fix",
"mocha": "mocha --opts mocha.opts",
"test": "npm run compile && npm run lint && npm run coverage",
"example": "babel-node examples/app",
"coverage": "istanbul cover node_modules/mocha/bin/_mocha -- --opts mocha.opts"
},
"semistandard": {
"env": [
"mocha"
],
"ignore": [
"/lib"
]
},
"directories": {

@@ -62,9 +71,12 @@ "lib": "lib"

"body-parser": "^1.15.0",
"eslint-if-supported": "^1.0.1",
"feathers": "^2.0.0",
"feathers-rest": "^1.2.3",
"jshint": "^2.9.1",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^2.4.5",
"nodemailer-mandrill-transport": "^1.1.0",
"nodemailer-stub-transport": "^1.0.0"
"nodemailer-stub-transport": "^1.0.0",
"rimraf": "^2.5.4",
"semistandard": "^9.1.0"
}
}
# feathers-mailer
[![Build Status](https://travis-ci.org/feathersjs/feathers-mailer.png?branch=master)](https://travis-ci.org/feathersjs/feathers-mailer)
[![Code Climate](https://codeclimate.com/github/feathersjs/feathers-mailer.png)](https://codeclimate.com/github/feathersjs/feathers-mailer)
[![Test Coverage](https://codeclimate.com/github/feathersjs/feathers-mailer/badges/coverage.svg)](https://codeclimate.com/github/feathersjs/feathers-mailer/coverage)
[![Dependency Status](https://img.shields.io/david/feathersjs/feathers-mailer.svg?style=flat-square)](https://david-dm.org/feathersjs/feathers-mailer)
[![Download Status](https://img.shields.io/npm/dm/feathers-mailer.svg?style=flat-square)](https://www.npmjs.com/package/feathers-mailer)
[![Slack Status](http://slack.feathersjs.com/badge.svg)](http://slack.feathersjs.com)

@@ -5,0 +10,0 @@ > Feathers mailer service using [`nodemailer`](https://github.com/nodemailer/nodemailer)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc