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

sipware-mailer

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sipware-mailer - npm Package Compare versions

Comparing version 0.3.20 to 0.3.30

10

index.js
const nm = require('nodemailer')
const debug = require('debug') ('sipware-mailer')
const {Context, Response, Content} = require('sipware-ua')
const {Context, Response} = require('sipware-ua')
const opts = {host: '127.0.0.1', port: 25, tls: {rejectUnauthorized: false}}

@@ -67,5 +67,5 @@

createResponse(data) {
var req = new Response({...data, ua: this.ua});
var req = new Response(data);
return new Context({req, ua: this.ua});
return new Context({req, ...data})
}

@@ -76,3 +76,3 @@

body: '',
content: new Content({text: ''}),
ua: this.ua,
headers: {

@@ -88,4 +88,4 @@ code: 200,

return this.createResponse({
ua: this.ua,
body: err.response,
content: new Content({text: err.response}),
headers: {

@@ -92,0 +92,0 @@ code: this.getCode(err.responseCode),

@@ -20,3 +20,3 @@ {

"optionalDependencies": {},
"version": "0.3.20",
"version": "0.3.30",
"scripts": {

@@ -23,0 +23,0 @@ "test": "mocha"

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