wo-smtpclient
Advanced tools
Comparing version 0.3.3 to 0.3.5
@@ -56,3 +56,3 @@ module.exports = function(grunt) { | ||
'tcp-socket/src/tcp-socket.js', | ||
'stringencoding/dist/stringencoding.min.js', | ||
'wo-stringencoding/dist/stringencoding.min.js', | ||
'mocha/mocha.js', | ||
@@ -65,5 +65,4 @@ 'mocha/mocha.css', | ||
'mimefuncs/src/mimefuncs.js', | ||
'mimetypes/src/mimetypes.js', | ||
'punycode/punycode.min.js', | ||
'axe/axe.js' | ||
'axe-logger/axe.js' | ||
], | ||
@@ -70,0 +69,0 @@ dest: 'test/lib/', |
{ | ||
"name": "wo-smtpclient", | ||
"version": "0.3.3", | ||
"version": "0.3.5", | ||
"homepage": "https://github.com/whiteout-io/smtpclient", | ||
@@ -22,4 +22,4 @@ "description": "SMTP Client allows you to connect to and stream data to a SMTP server in the browser.", | ||
"tcp-socket": "~0.3.0", | ||
"stringencoding": "https://github.com/whiteout-io/stringencoding/tarball/v0.1.0", | ||
"axe": "https://github.com/whiteout-io/axe/tarball/v0.0.2" | ||
"wo-stringencoding": "~0.1.1", | ||
"axe-logger": "~0.0.2" | ||
}, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
@@ -17,3 +17,3 @@ # SMTP Client | ||
npm install https://github.com/whiteout-io/smtpclient/tarball/<TAG_NAME> | ||
npm install --save wo-smtpclient | ||
@@ -20,0 +20,0 @@ ## Quirks |
@@ -25,8 +25,8 @@ // Copyright (c) 2013 Andris Reinman | ||
if (typeof define === 'function' && define.amd) { | ||
define(['tcp-socket', 'stringencoding', 'axe', './smtpclient-response-parser'], function(TCPSocket, encoding, axe, SmtpClientResponseParser) { | ||
define(['tcp-socket', 'wo-stringencoding', 'axe-logger', './smtpclient-response-parser'], function(TCPSocket, encoding, axe, SmtpClientResponseParser) { | ||
return factory(TCPSocket, encoding.TextEncoder, encoding.TextDecoder, axe, SmtpClientResponseParser, window.btoa); | ||
}); | ||
} else if (typeof exports === 'object') { | ||
var encoding = require('stringencoding'); | ||
module.exports = factory(require('tcp-socket'), encoding.TextEncoder, encoding.TextDecoder, require('axe'), require('./smtpclient-response-parser'), function(str) { | ||
var encoding = require('wo-stringencoding'); | ||
module.exports = factory(require('tcp-socket'), encoding.TextEncoder, encoding.TextDecoder, require('axe-logger'), require('./smtpclient-response-parser'), function(str) { | ||
return new Buffer(str).toString("base64"); | ||
@@ -33,0 +33,0 @@ }); |
@@ -12,3 +12,3 @@ 'use strict'; | ||
chai = require('chai'), | ||
axe = require('axe'), | ||
axe = require('axe-logger'), | ||
expect = chai.expect; | ||
@@ -15,0 +15,0 @@ |
@@ -11,3 +11,3 @@ 'use strict'; | ||
var sinon = require('sinon'); | ||
var axe = require('axe'); | ||
var axe = require('axe-logger'); | ||
var SmtpClient = require('../../src/smtpclient'); | ||
@@ -14,0 +14,0 @@ |
@@ -8,3 +8,4 @@ 'use strict'; | ||
'forge': 'forge.min', | ||
'stringencoding': 'stringencoding.min' | ||
'wo-stringencoding': 'stringencoding.min', | ||
'axe-logger': 'axe' | ||
}, | ||
@@ -11,0 +12,0 @@ shim: { |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
Found 2 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
0
106920
+ Addedaxe-logger@~0.0.2
+ Addedwo-stringencoding@~0.1.1
+ Addedaxe-logger@0.0.2(transitive)
+ Addedwo-stringencoding@0.1.1(transitive)
- Removedaxe@https://github.com/whiteout-io/axe/tarball/v0.0.2
- Removedstringencoding@https://github.com/whiteout-io/stringencoding/tarball/v0.1.0