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

maildev

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maildev - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

4

app/scripts/app.js

@@ -21,6 +21,6 @@ /* global angular, io */

// Connect Socket.io
var socket = io('http://localhost');
var socket = io();
socket.on('newMail', function(data) {
$rootScope.$emit('Refresh');
$rootScope.$emit('newMail', data);
});

@@ -27,0 +27,0 @@

@@ -23,2 +23,18 @@ /* global app */

var refreshTimeout = null;
$rootScope.$on('newMail', function(e, newEmail) {
//update model
$scope.items.push(newEmail);
//update DOM at most 5 times per second
if (!refreshTimeout) {
refreshTimeout = setTimeout(function() {
refreshTimeout = null;
$scope.$apply();
}, 200);
}
});
// Click event handlers

@@ -25,0 +41,0 @@ $scope.markRead = function(email) {

@@ -346,8 +346,14 @@

secureConnection: secure
, auth: {
user: user
, pass: pass
}
, maxMessages: 1
, debug: true
};
if (pass && user) {
options.auth = {
user: user,
pass: pass
};
}
mailServer.clientPool = simplesmtp.createClientPool(port, host, options);

@@ -354,0 +360,0 @@

{
"name": "maildev",
"description": "SMTP Server and Web Interface for reading and testing emails during development",
"version": "0.6.0",
"version": "0.6.1",
"keywords": [

@@ -6,0 +6,0 @@ "email",

@@ -96,7 +96,2 @@ # MailDev

## Roadmap
* Forward email to real email address for device/application testing
* Write tests for server and client
## Ideas

@@ -126,2 +121,4 @@

0.6.1 - Bug fixes and improvements
0.6.0 - Add relay option to send outgoing emails. Refactor for new API.

@@ -145,4 +142,7 @@

Additionally, thanks to all the awesome [contributors](https://github.com/djfarrelly/MailDev/graphs/contributors)
to the project.
## License
MIT
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