Huge News!Announcing our $40M Series B led by Abstract Ventures.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.7.0 to 0.8.0

1

app/scripts/controllers/item.js

@@ -24,2 +24,3 @@ /* global angular, app */

$scope.item = new Email(email);
$scope.rawEmail = 'email/' + $scope.item.id + '/source';

@@ -26,0 +27,0 @@ if ($scope.item.html) {

2

app/scripts/controllers/main.js

@@ -43,3 +43,3 @@ /* global app */

$location.path('/email/' + newEmail.id );
}
}
$scope.$apply();

@@ -46,0 +46,0 @@ }, 200);

@@ -17,3 +17,3 @@

, store = []
, tempDir = path.join(os.tmpdir(), 'maildev')
, tempDir = path.join(os.tmpdir(), 'maildev', process.pid.toString())
, eventEmitter = new events.EventEmitter()

@@ -20,0 +20,0 @@ , smtp

@@ -98,2 +98,13 @@

// Get email source from .eml file
app.get('/email/:id/source', function(req, res){
mailserver.getRawEmail( req.params.id, function(err, readStream){
if (err) return res.status(404).json('File not found');
readStream.pipe(res);
});
});
// Get any config settings for display

@@ -100,0 +111,0 @@ app.get('/config', function(req, res){

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

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

@@ -130,2 +130,4 @@ # MailDev

0.8.0 - Add view email source. Fix running multiple instances.
0.7.0 - Add Docker support

@@ -132,0 +134,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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