11 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
2 | All rights reserved.
3 |
4 | Permission is hereby granted, free of charge, to any person
5 | obtaining a copy of this software and associated documentation
6 | files (the "Software"), to deal in the Software without
7 | restriction, including without limitation the rights to use,
8 | copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the
10 | Software is furnished to do so, subject to the following
11 | conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 | OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/examples/example.js:
--------------------------------------------------------------------------------
1 |
2 | var fs = require("fs"),
3 | util = require('util'),
4 | path = require("path"),
5 | xml = fs.cat(path.join(__dirname, "test.xml")),
6 | sax = require("../lib/sax"),
7 | strict = sax.parser(true),
8 | loose = sax.parser(false, {trim:true}),
9 | inspector = function (ev) { return function (data) {
10 | // util.error("");
11 | // util.error(ev+": "+util.inspect(data));
12 | // for (var i in data) util.error(i+ " "+util.inspect(data[i]));
13 | // util.error(this.line+":"+this.column);
14 | }};
15 |
16 | xml.addCallback(function (xml) {
17 | // strict.write(xml);
18 |
19 | sax.EVENTS.forEach(function (ev) {
20 | loose["on"+ev] = inspector(ev);
21 | });
22 | loose.onend = function () {
23 | // util.error("end");
24 | // util.error(util.inspect(loose));
25 | };
26 |
27 | // do this one char at a time to verify that it works.
28 | // (function () {
29 | // if (xml) {
30 | // loose.write(xml.substr(0,1000));
31 | // xml = xml.substr(1000);
32 | // process.nextTick(arguments.callee);
33 | // } else loose.close();
34 | // })();
35 |
36 | for (var i = 0; i < 1000; i ++) {
37 | loose.write(xml);
38 | loose.close();
39 | }
40 |
41 | });
42 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/examples/hello-world.js:
--------------------------------------------------------------------------------
1 | require("http").createServer(function (req, res) {
2 | res.writeHead(200, {"content-type":"application/json"})
3 | res.end(JSON.stringify({ok: true}))
4 | }).listen(1337)
5 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/examples/not-pretty.xml:
--------------------------------------------------------------------------------
1 |
2 | something blerm a bit down here
9 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/examples/switch-bench.js:
--------------------------------------------------------------------------------
1 | #!/usr/local/bin/node-bench
2 |
3 | var Promise = require("events").Promise;
4 |
5 | var xml = require("posix").cat("test.xml").wait(),
6 | path = require("path"),
7 | sax = require("../lib/sax"),
8 | saxT = require("../lib/sax-trampoline"),
9 |
10 | parser = sax.parser(false, {trim:true}),
11 | parserT = saxT.parser(false, {trim:true}),
12 |
13 | sys = require("sys");
14 |
15 |
16 | var count = exports.stepsPerLap = 500,
17 | l = xml.length,
18 | runs = 0;
19 | exports.countPerLap = 1000;
20 | exports.compare = {
21 | "switch" : function () {
22 | // sys.debug("switch runs: "+runs++);
23 | // for (var x = 0; x < l; x += 1000) {
24 | // parser.write(xml.substr(x, 1000))
25 | // }
26 | // for (var i = 0; i < count; i ++) {
27 | parser.write(xml);
28 | parser.close();
29 | // }
30 | // done();
31 | },
32 | trampoline : function () {
33 | // sys.debug("trampoline runs: "+runs++);
34 | // for (var x = 0; x < l; x += 1000) {
35 | // parserT.write(xml.substr(x, 1000))
36 | // }
37 | // for (var i = 0; i < count; i ++) {
38 | parserT.write(xml);
39 | parserT.close();
40 | // }
41 | // done();
42 | },
43 | };
44 |
45 | sys.debug("rock and roll...");
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/examples/test.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | testing the parser
6 |
7 |
8 |
9 | hello
10 |
11 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/buffer-overrun.js:
--------------------------------------------------------------------------------
1 | // set this really low so that I don't have to put 64 MB of xml in here.
2 | var sax = require("../lib/sax")
3 | var bl = sax.MAX_BUFFER_LENGTH
4 | sax.MAX_BUFFER_LENGTH = 5;
5 |
6 | require(__dirname).test({
7 | expect : [
8 | ["error", "Max buffer length exceeded: tagName\nLine: 0\nColumn: 15\nChar: "],
9 | ["error", "Max buffer length exceeded: tagName\nLine: 0\nColumn: 30\nChar: "],
10 | ["error", "Max buffer length exceeded: tagName\nLine: 0\nColumn: 45\nChar: "],
11 | ["opentag", {
12 | "name": "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ",
13 | "attributes": {}
14 | }],
15 | ["text", "yo"],
16 | ["closetag", "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ"]
17 | ]
18 | }).write("")
22 | .write("yo")
23 | .write("")
24 | .close();
25 | sax.MAX_BUFFER_LENGTH = bl
26 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/cdata-chunked.js:
--------------------------------------------------------------------------------
1 |
2 | require(__dirname).test({
3 | expect : [
4 | ["opentag", {"name": "R","attributes": {}}],
5 | ["opencdata", undefined],
6 | ["cdata", " this is character data "],
7 | ["closecdata", undefined],
8 | ["closetag", "R"]
9 | ]
10 | }).write("").close();
11 |
12 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/cdata-end-split.js:
--------------------------------------------------------------------------------
1 |
2 | require(__dirname).test({
3 | expect : [
4 | ["opentag", {"name": "R","attributes": {}}],
5 | ["opencdata", undefined],
6 | ["cdata", " this is "],
7 | ["closecdata", undefined],
8 | ["closetag", "R"]
9 | ]
10 | })
11 | .write("")
13 | .write("")
14 | .close();
15 |
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/cdata-fake-end.js:
--------------------------------------------------------------------------------
1 |
2 | var p = require(__dirname).test({
3 | expect : [
4 | ["opentag", {"name": "R","attributes": {}}],
5 | ["opencdata", undefined],
6 | ["cdata", "[[[[[[[[]]]]]]]]"],
7 | ["closecdata", undefined],
8 | ["closetag", "R"]
9 | ]
10 | })
11 | var x = ""
12 | for (var i = 0; i < x.length ; i ++) {
13 | p.write(x.charAt(i))
14 | }
15 | p.close();
16 |
17 |
18 | var p2 = require(__dirname).test({
19 | expect : [
20 | ["opentag", {"name": "R","attributes": {}}],
21 | ["opencdata", undefined],
22 | ["cdata", "[[[[[[[[]]]]]]]]"],
23 | ["closecdata", undefined],
24 | ["closetag", "R"]
25 | ]
26 | })
27 | var x = ""
28 | p2.write(x).close();
29 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/cdata-multiple.js:
--------------------------------------------------------------------------------
1 |
2 | require(__dirname).test({
3 | expect : [
4 | ["opentag", {"name": "R","attributes": {}}],
5 | ["opencdata", undefined],
6 | ["cdata", " this is "],
7 | ["closecdata", undefined],
8 | ["opencdata", undefined],
9 | ["cdata", "character data "],
10 | ["closecdata", undefined],
11 | ["closetag", "R"]
12 | ]
13 | }).write("").write("").close();
15 |
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/cdata.js:
--------------------------------------------------------------------------------
1 | require(__dirname).test({
2 | xml : "",
3 | expect : [
4 | ["opentag", {"name": "R","attributes": {}}],
5 | ["opencdata", undefined],
6 | ["cdata", " this is character data "],
7 | ["closecdata", undefined],
8 | ["closetag", "R"]
9 | ]
10 | });
11 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/issue-30.js:
--------------------------------------------------------------------------------
1 | // https://github.com/isaacs/sax-js/issues/33
2 | require(__dirname).test
3 | ( { xml : "\n"+
4 | "\n"+
7 | "\n"+
8 | ""
9 |
10 | , expect :
11 | [ [ "opentag", { name: "xml", attributes: {} } ]
12 | , [ "text", "\n" ]
13 | , [ "comment", " \n comment with a single dash- in it\n" ]
14 | , [ "text", "\n" ]
15 | , [ "opentag", { name: "data", attributes: {} } ]
16 | , [ "closetag", "data" ]
17 | , [ "text", "\n" ]
18 | , [ "closetag", "xml" ]
19 | ]
20 | , strict : true
21 | , opt : {}
22 | }
23 | )
24 |
25 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/issue-35.js:
--------------------------------------------------------------------------------
1 | // https://github.com/isaacs/sax-js/issues/35
2 | require(__dirname).test
3 | ( { xml : "
\n"+
4 | ""
5 |
6 | , expect :
7 | [ [ "opentag", { name: "xml", attributes: {} } ]
8 | , [ "text", "\r\r\n" ]
9 | , [ "closetag", "xml" ]
10 | ]
11 | , strict : true
12 | , opt : {}
13 | }
14 | )
15 |
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/issue-47.js:
--------------------------------------------------------------------------------
1 | // https://github.com/isaacs/sax-js/issues/47
2 | require(__dirname).test
3 | ( { xml : ''
4 | , expect : [
5 | [ "attribute", { name:'href', value:"query.svc?x=1&y=2&z=3"} ],
6 | [ "opentag", { name: "a", attributes: { href:"query.svc?x=1&y=2&z=3"} } ],
7 | [ "closetag", "a" ]
8 | ]
9 | , strict : true
10 | , opt : {}
11 | }
12 | )
13 |
14 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/issue-49.js:
--------------------------------------------------------------------------------
1 | // https://github.com/isaacs/sax-js/issues/49
2 | require(__dirname).test
3 | ( { xml : ""
4 | , expect :
5 | [ [ "opentag", { name: "xml", attributes: {} } ]
6 | , [ "opentag", { name: "script", attributes: {} } ]
7 | , [ "text", "hello world" ]
8 | , [ "closetag", "script" ]
9 | , [ "closetag", "xml" ]
10 | ]
11 | , strict : false
12 | , opt : { lowercasetags: true, noscript: true }
13 | }
14 | )
15 |
16 | require(__dirname).test
17 | ( { xml : ""
18 | , expect :
19 | [ [ "opentag", { name: "xml", attributes: {} } ]
20 | , [ "opentag", { name: "script", attributes: {} } ]
21 | , [ "opencdata", undefined ]
22 | , [ "cdata", "hello world" ]
23 | , [ "closecdata", undefined ]
24 | , [ "closetag", "script" ]
25 | , [ "closetag", "xml" ]
26 | ]
27 | , strict : false
28 | , opt : { lowercasetags: true, noscript: true }
29 | }
30 | )
31 |
32 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/parser-position.js:
--------------------------------------------------------------------------------
1 | var sax = require("../lib/sax"),
2 | assert = require("assert")
3 |
4 | function testPosition(chunks, expectedEvents) {
5 | var parser = sax.parser();
6 | expectedEvents.forEach(function(expectation) {
7 | parser['on' + expectation[0]] = function() {
8 | for (var prop in expectation[1]) {
9 | assert.equal(parser[prop], expectation[1][prop]);
10 | }
11 | }
12 | });
13 | chunks.forEach(function(chunk) {
14 | parser.write(chunk);
15 | });
16 | };
17 |
18 | testPosition(['abcdefgh
'],
19 | [ ['opentag', { position: 5, startTagPosition: 1 }]
20 | , ['text', { position: 19, startTagPosition: 14 }]
21 | , ['closetag', { position: 19, startTagPosition: 14 }]
22 | ]);
23 |
24 | testPosition(['abcde','fgh
'],
25 | [ ['opentag', { position: 5, startTagPosition: 1 }]
26 | , ['text', { position: 19, startTagPosition: 14 }]
27 | , ['closetag', { position: 19, startTagPosition: 14 }]
28 | ]);
29 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/script.js:
--------------------------------------------------------------------------------
1 | require(__dirname).test({
2 | xml : "",
3 | expect : [
4 | ["opentag", {"name": "HTML","attributes": {}}],
5 | ["opentag", {"name": "HEAD","attributes": {}}],
6 | ["opentag", {"name": "SCRIPT","attributes": {}}],
7 | ["script", "if (1 < 0) { console.log('elo there'); }"],
8 | ["closetag", "SCRIPT"],
9 | ["closetag", "HEAD"],
10 | ["closetag", "HTML"]
11 | ]
12 | });
13 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/self-closing-child-strict.js:
--------------------------------------------------------------------------------
1 |
2 | require(__dirname).test({
3 | xml :
4 | ""+
5 | "" +
6 | "" +
7 | "" +
8 | "" +
9 | "=(|)" +
10 | "" +
11 | "",
12 | expect : [
13 | ["opentag", {
14 | "name": "root",
15 | "attributes": {}
16 | }],
17 | ["opentag", {
18 | "name": "child",
19 | "attributes": {}
20 | }],
21 | ["opentag", {
22 | "name": "haha",
23 | "attributes": {}
24 | }],
25 | ["closetag", "haha"],
26 | ["closetag", "child"],
27 | ["opentag", {
28 | "name": "monkey",
29 | "attributes": {}
30 | }],
31 | ["text", "=(|)"],
32 | ["closetag", "monkey"],
33 | ["closetag", "root"],
34 | ["end"],
35 | ["ready"]
36 | ],
37 | strict : true,
38 | opt : {}
39 | });
40 |
41 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/self-closing-child.js:
--------------------------------------------------------------------------------
1 |
2 | require(__dirname).test({
3 | xml :
4 | ""+
5 | "" +
6 | "" +
7 | "" +
8 | "" +
9 | "=(|)" +
10 | "" +
11 | "",
12 | expect : [
13 | ["opentag", {
14 | "name": "ROOT",
15 | "attributes": {}
16 | }],
17 | ["opentag", {
18 | "name": "CHILD",
19 | "attributes": {}
20 | }],
21 | ["opentag", {
22 | "name": "HAHA",
23 | "attributes": {}
24 | }],
25 | ["closetag", "HAHA"],
26 | ["closetag", "CHILD"],
27 | ["opentag", {
28 | "name": "MONKEY",
29 | "attributes": {}
30 | }],
31 | ["text", "=(|)"],
32 | ["closetag", "MONKEY"],
33 | ["closetag", "ROOT"],
34 | ["end"],
35 | ["ready"]
36 | ],
37 | strict : false,
38 | opt : {}
39 | });
40 |
41 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/self-closing-tag.js:
--------------------------------------------------------------------------------
1 |
2 | require(__dirname).test({
3 | xml :
4 | " "+
5 | " "+
6 | " "+
7 | " "+
8 | "=(|) "+
9 | ""+
10 | " ",
11 | expect : [
12 | ["opentag", {name:"ROOT", attributes:{}}],
13 | ["opentag", {name:"HAHA", attributes:{}}],
14 | ["closetag", "HAHA"],
15 | ["opentag", {name:"HAHA", attributes:{}}],
16 | ["closetag", "HAHA"],
17 | // ["opentag", {name:"HAHA", attributes:{}}],
18 | // ["closetag", "HAHA"],
19 | ["opentag", {name:"MONKEY", attributes:{}}],
20 | ["text", "=(|)"],
21 | ["closetag", "MONKEY"],
22 | ["closetag", "ROOT"]
23 | ],
24 | opt : { trim : true }
25 | });
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/stray-ending.js:
--------------------------------------------------------------------------------
1 | // stray ending tags should just be ignored in non-strict mode.
2 | // https://github.com/isaacs/sax-js/issues/32
3 | require(__dirname).test
4 | ( { xml :
5 | ""
6 | , expect :
7 | [ [ "opentag", { name: "A", attributes: {} } ]
8 | , [ "opentag", { name: "B", attributes: {} } ]
9 | , [ "text", "" ]
10 | , [ "closetag", "B" ]
11 | , [ "closetag", "A" ]
12 | ]
13 | , strict : false
14 | , opt : {}
15 | }
16 | )
17 |
18 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/trailing-non-whitespace.js:
--------------------------------------------------------------------------------
1 |
2 | require(__dirname).test({
3 | xml : "Welcome, to monkey land",
4 | expect : [
5 | ["opentag", {
6 | "name": "SPAN",
7 | "attributes": {}
8 | }],
9 | ["text", "Welcome,"],
10 | ["closetag", "SPAN"],
11 | ["text", " to monkey land"],
12 | ["end"],
13 | ["ready"]
14 | ],
15 | strict : false,
16 | opt : {}
17 | });
18 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/unquoted.js:
--------------------------------------------------------------------------------
1 | // unquoted attributes should be ok in non-strict mode
2 | // https://github.com/isaacs/sax-js/issues/31
3 | require(__dirname).test
4 | ( { xml :
5 | ""
6 | , expect :
7 | [ [ "attribute", { name: "CLASS", value: "test" } ]
8 | , [ "attribute", { name: "HELLO", value: "world" } ]
9 | , [ "opentag", { name: "SPAN",
10 | attributes: { CLASS: "test", HELLO: "world" } } ]
11 | , [ "closetag", "SPAN" ]
12 | ]
13 | , strict : false
14 | , opt : {}
15 | }
16 | )
17 |
18 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/xmlns-unbound.js:
--------------------------------------------------------------------------------
1 |
2 | require(__dirname).test(
3 | { strict : true
4 | , opt : { xmlns: true }
5 | , expect :
6 | [ ["error", "Unbound namespace prefix: \"unbound\"\nLine: 0\nColumn: 28\nChar: >"]
7 |
8 | , [ "attribute", { name: "unbound:attr", value: "value", uri: "unbound", prefix: "unbound", local: "attr" } ]
9 | , [ "opentag", { name: "root", uri: "", prefix: "", local: "root",
10 | attributes: { "unbound:attr": { name: "unbound:attr", value: "value", uri: "unbound", prefix: "unbound", local: "attr" } },
11 | ns: {} } ]
12 | , [ "closetag", "root" ]
13 | ]
14 | }
15 | ).write("")
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/xmlns-xml-default-ns.js:
--------------------------------------------------------------------------------
1 | var xmlns_attr =
2 | {
3 | name: "xmlns", value: "http://foo", prefix: "xmlns",
4 | local: "", uri : "http://www.w3.org/2000/xmlns/"
5 | };
6 |
7 | var attr_attr =
8 | {
9 | name: "attr", value: "bar", prefix: "",
10 | local : "attr", uri : ""
11 | };
12 |
13 |
14 | require(__dirname).test
15 | ( { xml :
16 | ""
17 | , expect :
18 | [ [ "opennamespace", { prefix: "", uri: "http://foo" } ]
19 | , [ "attribute", xmlns_attr ]
20 | , [ "attribute", attr_attr ]
21 | , [ "opentag", { name: "elm", prefix: "", local: "elm", uri : "http://foo",
22 | ns : { "" : "http://foo" },
23 | attributes: { xmlns: xmlns_attr, attr: attr_attr } } ]
24 | , [ "closetag", "elm" ]
25 | , [ "closenamespace", { prefix: "", uri: "http://foo"} ]
26 | ]
27 | , strict : true
28 | , opt : {xmlns: true}
29 | }
30 | )
31 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/xmlns-xml-default-prefix-attribute.js:
--------------------------------------------------------------------------------
1 | require(__dirname).test(
2 | { xml : ""
3 | , expect :
4 | [ [ "attribute"
5 | , { name: "xml:lang"
6 | , local: "lang"
7 | , prefix: "xml"
8 | , uri: "http://www.w3.org/XML/1998/namespace"
9 | , value: "en"
10 | }
11 | ]
12 | , [ "opentag"
13 | , { name: "root"
14 | , uri: ""
15 | , prefix: ""
16 | , local: "root"
17 | , attributes:
18 | { "xml:lang":
19 | { name: "xml:lang"
20 | , local: "lang"
21 | , prefix: "xml"
22 | , uri: "http://www.w3.org/XML/1998/namespace"
23 | , value: "en"
24 | }
25 | }
26 | , ns: {}
27 | }
28 | ]
29 | , ["closetag", "root"]
30 | ]
31 | , strict : true
32 | , opt : { xmlns: true }
33 | }
34 | )
35 |
36 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/xmlns-xml-default-prefix.js:
--------------------------------------------------------------------------------
1 | require(__dirname).test(
2 | { xml : ""
3 | , expect :
4 | [
5 | [ "opentag"
6 | , { name: "xml:root"
7 | , uri: "http://www.w3.org/XML/1998/namespace"
8 | , prefix: "xml"
9 | , local: "root"
10 | , attributes: {}
11 | , ns: {}
12 | }
13 | ]
14 | , ["closetag", "xml:root"]
15 | ]
16 | , strict : true
17 | , opt : { xmlns: true }
18 | }
19 | )
20 |
21 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/test/xmlns-xml-default-redefine.js:
--------------------------------------------------------------------------------
1 | require(__dirname).test(
2 | { xml : ""
3 | , expect :
4 | [ ["error"
5 | , "xml: prefix must be bound to http://www.w3.org/XML/1998/namespace\n"
6 | + "Actual: ERROR\n"
7 | + "Line: 0\nColumn: 27\nChar: '"
8 | ]
9 | , [ "attribute"
10 | , { name: "xmlns:xml"
11 | , local: "xml"
12 | , prefix: "xmlns"
13 | , uri: "http://www.w3.org/2000/xmlns/"
14 | , value: "ERROR"
15 | }
16 | ]
17 | , [ "opentag"
18 | , { name: "xml:root"
19 | , uri: "http://www.w3.org/XML/1998/namespace"
20 | , prefix: "xml"
21 | , local: "root"
22 | , attributes:
23 | { "xmlns:xml":
24 | { name: "xmlns:xml"
25 | , local: "xml"
26 | , prefix: "xmlns"
27 | , uri: "http://www.w3.org/2000/xmlns/"
28 | , value: "ERROR"
29 | }
30 | }
31 | , ns: {}
32 | }
33 | ]
34 | , ["closetag", "xml:root"]
35 | ]
36 | , strict : true
37 | , opt : { xmlns: true }
38 | }
39 | )
40 |
41 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xmlbuilder/.npmignore:
--------------------------------------------------------------------------------
1 | .gitignore
2 | .travis.yml
3 | Makefile
4 | .git/
5 | src/
6 | test/
7 | node_modules/
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/node_modules/xmlbuilder/lib/index.js:
--------------------------------------------------------------------------------
1 | // Generated by CoffeeScript 1.3.3
2 | (function() {
3 | var XMLBuilder;
4 |
5 | XMLBuilder = require('./XMLBuilder');
6 |
7 | module.exports.create = function(name, xmldec, doctype) {
8 | if (name != null) {
9 | return new XMLBuilder(name, xmldec, doctype).root();
10 | } else {
11 | return new XMLBuilder();
12 | }
13 | };
14 |
15 | }).call(this);
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/aws-sdk/testem.json:
--------------------------------------------------------------------------------
1 | {
2 | "framework": "jasmine",
3 | "test_page": "dist/tests.html"
4 | }
5 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/directmail/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | tests
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/directmail/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2013 Andris Reinman
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16 | SOFTWARE.
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/directmail/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | // expose to the world
4 | module.exports = require('./lib/mailer');
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/he/LICENSE-MIT.txt:
--------------------------------------------------------------------------------
1 | Copyright Mathias Bynens
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining
4 | a copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to
8 | permit persons to whom the Software is furnished to do so, subject to
9 | the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be
12 | included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | test
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Andris Reinman
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16 | SOFTWARE.
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/lib/topunycode.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var punycode = require("punycode");
4 |
5 | module.exports = function(address) {
6 | return address.replace(/((?:https?:\/\/)?.*\@)?([^\/]*)/, function(o, start, domain) {
7 | var domainParts = domain.split(/\./).map(punycode.toASCII.bind(punycode));
8 | return (start || "") + domainParts.join(".");
9 | });
10 | };
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/dkim-signer/.npmignore:
--------------------------------------------------------------------------------
1 | test
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/dkim-signer/README.md:
--------------------------------------------------------------------------------
1 | # DKIM Signer
2 |
3 | Sign RFC822 messages with DKIM. This module is extracted from [mailcomposer](https://github.com/andris9/mailcomposer).
4 |
5 | ## Usage
6 |
7 | ```javascript
8 | // require signer function
9 | var DKIMSign = require("dkim-signer").DKIMSign;
10 |
11 | // generate a RFC822 message
12 | var rfc822message = "Subject: test\r\n\r\nHello world";
13 |
14 | // setup DKIM options
15 | var dkimOptions = {
16 | domainName: "müriaad-polüteism.info",
17 | keySelector: "dkim",
18 | privateKey: require("fs").readFileSync("./test_private.pem")
19 | };
20 |
21 | // generate signature header field
22 | var signature = DKIMSign(rfc822message, dkimOptions);
23 |
24 | // join signature header field with the message
25 | console.log(signature + "\r\n" + rfc822message);
26 | ```
27 |
28 | ## License
29 |
30 | **MIT**
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/follow-redirects/.npmignore:
--------------------------------------------------------------------------------
1 | lib-cov
2 | *.seed
3 | *.log
4 | *.csv
5 | *.dat
6 | *.out
7 | *.pid
8 | *.gz
9 |
10 | pids
11 | logs
12 | results
13 |
14 | node_modules
15 | npm-debug.log
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/follow-redirects/README.md:
--------------------------------------------------------------------------------
1 | `follow-redirects` extends http and https with the ability to follow
2 | HTTP redirects painlessly. It does not modify the native modules but
3 | instead offers its own http/https modules which inherit from the native
4 | modules. If you want to automatically follow redirects, all you need to
5 | do is replace:
6 |
7 | ```javascript
8 | var http = require('http');
9 | ```
10 |
11 | by
12 |
13 | ```javascript
14 | var http = require('follow-redirects').http;
15 | ```
16 |
17 | # Install
18 |
19 | npm install follow-redirects
20 |
21 | # Usage
22 |
23 | ```javascript
24 |
25 | var http = require('follow-redirects').http;
26 | var https = require('follow-redirects').https;
27 |
28 | /*
29 | * http and https are just like Node.js' http and https modules except
30 | * that they follow redirects seamlessly.
31 | */
32 |
33 | http.get('http://bit.ly/900913', function (res) {
34 | res.on('data', function (chunk) {
35 | console.log(chunk);
36 | });
37 | }).on('error', function (err) {
38 | console.error(err);
39 | });
40 |
41 | /*
42 | * You can optionnally pass the maxRedirect option which defaults to 5
43 | */
44 |
45 | https.request({
46 | host: 'bitly.com',
47 | path: '/UHfDGO',
48 | maxRedirects: 3
49 | }, function (res) {
50 | res.on('data', function (chunk) {
51 | console.log(chunk);
52 | });
53 | }).on('error', function (err) {
54 | console.error(err);
55 | });
56 |
57 | ```
58 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/follow-redirects/node_modules/underscore/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative
2 | Reporters & Editors
3 |
4 | Permission is hereby granted, free of charge, to any person
5 | obtaining a copy of this software and associated documentation
6 | files (the "Software"), to deal in the Software without
7 | restriction, including without limitation the rights to use,
8 | copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the
10 | Software is furnished to do so, subject to the following
11 | conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 | OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/follow-redirects/node_modules/underscore/README.md:
--------------------------------------------------------------------------------
1 | __
2 | /\ \ __
3 | __ __ ___ \_\ \ __ _ __ ____ ___ ___ _ __ __ /\_\ ____
4 | /\ \/\ \ /' _ `\ /'_ \ /'__`\/\ __\/ ,__\ / ___\ / __`\/\ __\/'__`\ \/\ \ /',__\
5 | \ \ \_\ \/\ \/\ \/\ \ \ \/\ __/\ \ \//\__, `\/\ \__//\ \ \ \ \ \//\ __/ __ \ \ \/\__, `\
6 | \ \____/\ \_\ \_\ \___,_\ \____\\ \_\\/\____/\ \____\ \____/\ \_\\ \____\/\_\ _\ \ \/\____/
7 | \/___/ \/_/\/_/\/__,_ /\/____/ \/_/ \/___/ \/____/\/___/ \/_/ \/____/\/_//\ \_\ \/___/
8 | \ \____/
9 | \/___/
10 |
11 | Underscore.js is a utility-belt library for JavaScript that provides
12 | support for the usual functional suspects (each, map, reduce, filter...)
13 | without extending any core JavaScript objects.
14 |
15 | For Docs, License, Tests, and pre-packed downloads, see:
16 | http://underscorejs.org
17 |
18 | Underscore is an open-sourced component of DocumentCloud:
19 | https://github.com/documentcloud
20 |
21 | Many thanks to our contributors:
22 | https://github.com/jashkenas/underscore/contributors
23 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mime/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/.npmignore:
--------------------------------------------------------------------------------
1 | benchmark
2 | test
3 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011-2012 Andris Reinman
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16 | SOFTWARE.
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | module.exports = require("./lib/mimelib");
4 | module.exports.contentTypes = require("./lib/content-types");
5 | module.exports.contentTypesReversed = require("./lib/content-types-reversed");
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/lib/content-types-reversed.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | // list of mime types
4 | module.exports = {
5 | 'application/msword': 'doc',
6 | 'application/pdf': 'pdf',
7 | 'application/rss+xml': 'rss',
8 | 'application/vnd.ms-excel': 'xls',
9 | 'application/vnd.ms-powerpoint': 'ppt',
10 | 'application/vnd.oasis.opendocument.presentation': 'odp',
11 | 'application/vnd.oasis.opendocument.spreadsheet': 'ods',
12 | 'application/vnd.oasis.opendocument.text': 'odt',
13 | 'application/vnd.sun.xml.calc': 'sxc',
14 | 'application/vnd.sun.xml.writer': 'sxw',
15 | 'audio/basic': 'au',
16 | 'audio/flac': 'flac',
17 | 'audio/mid': 'mid',
18 | 'audio/mp4': 'm4a',
19 | 'audio/mpeg': 'mp3',
20 | 'audio/ogg': 'ogg',
21 | 'audio/x-aiff': 'aif',
22 | 'audio/x-wav': 'wav',
23 | 'image/gif': 'gif',
24 | 'image/jpeg': 'jpg',
25 | 'image/png': 'png',
26 | 'image/tiff': 'tif',
27 | 'image/vnd.wap.wbmp': 'wbmp',
28 | 'image/x-ms-bmp': 'bmp',
29 | 'text/calendar': 'ics',
30 | 'text/comma-separated-values': 'csv',
31 | 'text/css': 'css',
32 | 'text/html': 'html',
33 | 'text/plain': 'txt',
34 | 'text/x-vcard': 'vcf',
35 | 'video/mp4': 'mp4',
36 | 'video/mpeg': 'mpeg',
37 | 'video/ogg': 'ogv',
38 | 'video/quicktime': 'mov',
39 | 'video/x-msvideo': 'avi',
40 | 'application/zip': 'zip',
41 | 'application/x-rar-compressed': 'rar'
42 | };
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/addressparser/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/addressparser/README.md:
--------------------------------------------------------------------------------
1 | # addressparser
2 |
3 | Parse e-mail address fields
4 |
5 | ## Installation
6 |
7 | Install with npm
8 |
9 | npm install addressparser
10 |
11 | ## Usage
12 |
13 | Include the module
14 |
15 | var addressparser = require("addressparser");
16 |
17 | Parse some address strings with addressparser(field)
18 |
19 | var addresses = addressparser("andris ");
20 | console.log(addresses); // [{name: "andris", address:"andris@tr.ee"}]
21 |
22 | And when using groups
23 |
24 | addressparser('Composers:"Bach, Sebastian" , mozart@example.com (Mozzie);');
25 |
26 | the result is
27 |
28 | [
29 | {
30 | name: "Composers",
31 | group: [
32 | {
33 | address: "sebu@example.com",
34 | name: "Bach, Sebastian"
35 | },
36 | {
37 | address: "mozart@example.com",
38 | name: "Mozzie"
39 | }
40 | ]
41 | }
42 | ]
43 |
44 |
45 | ## Notes
46 |
47 | * **NB!** this module does not decode any mime-word or punycode encoded strings, it is only a basic parser for parsing the base data, you need to decode the encoded parts later by yourself
48 |
49 | ## License
50 |
51 | **MIT**
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/README.md:
--------------------------------------------------------------------------------
1 | # Encoding
2 |
3 | **encoding** is a simple wrapper around [node-iconv](https://github.com/bnoordhuis/node-iconv) and [iconv-lite](https://github.com/ashtuchkin/iconv-lite/) to convert strings from one encoding to another. If node-iconv is not available for some reason,
4 | iconv-lite will be used instead of it as a fallback.
5 |
6 | ## Install
7 |
8 | Install through npm
9 |
10 | npm install encoding
11 |
12 | ## Usage
13 |
14 | Require the module
15 |
16 | var encoding = require("encoding");
17 |
18 | Convert with encoding.convert()
19 |
20 | var resultBuffer = encoding.convert(text, toCharset, fromCharset);
21 |
22 | Where
23 |
24 | * **text** is either a Buffer or a String to be converted
25 | * **toCharset** is the characterset to convert the string
26 | * **fromCharset** (*optional*, defaults to UTF-8) is the source charset
27 |
28 | Output of the conversion is always a Buffer object.
29 |
30 | Example
31 |
32 | var result = encoding.convert("ÕÄÖÜ", "Latin_1");
33 | console.log(result); //
34 |
35 | ## iconv support
36 |
37 | By default only iconv-lite is bundled. If you need node-iconv support, you need to add it
38 | as an additional dependency for your project:
39 |
40 | ...,
41 | "dependencies":{
42 | "encoding": "*",
43 | "iconv": "*"
44 | },
45 | ...
46 |
47 | ## License
48 |
49 | **MIT**
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/node_modules/iconv-lite/.npmignore:
--------------------------------------------------------------------------------
1 | *~
2 | *sublime-*
3 | generation
4 | test
5 | wiki
6 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/node_modules/iconv-lite/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - 0.10
5 | - 0.11
6 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/node_modules/iconv-lite/Changelog.md:
--------------------------------------------------------------------------------
1 |
2 | # 0.4.3 / 2014-06-14
3 |
4 | * added encodings UTF-16BE and UTF-16 with BOM
5 |
6 | # 0.4.2 / 2014-06-12
7 |
8 | * don't throw exception if `extendNodeEncodings()` is called more than once
9 |
10 | # 0.4.1 / 2014-06-11
11 |
12 | * codepage 808 added
13 |
14 |
15 | # 0.4.0 / 2014-06-10
16 |
17 | * code is rewritten from scratch
18 | * all widespread encodings are supported
19 | * streaming interface added
20 | * browserify compatibility added
21 | * (optional) extend core primitive encodings to make usage even simpler
22 | * moved from vows to mocha as the testing framework
23 |
24 |
25 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/node_modules/iconv-lite/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011 Alexander Shtuchkin
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining
4 | a copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to
8 | permit persons to whom the Software is furnished to do so, subject to
9 | the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be
12 | included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
22 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/node_modules/iconv-lite/encodings/index.js:
--------------------------------------------------------------------------------
1 |
2 | // Update this array if you add/rename/remove files in this directory.
3 | // We support Browserify by skipping automatic module discovery and requiring modules directly.
4 | var modules = [
5 | require("./internal"),
6 | require("./utf16"),
7 | require("./sbcs-codec"),
8 | require("./sbcs-data"),
9 | require("./sbcs-data-generated"),
10 | require("./dbcs-codec"),
11 | require("./dbcs-data"),
12 | ];
13 |
14 | // Put all encoding/alias/codec definitions to single object and export it.
15 | for (var i = 0; i < modules.length; i++) {
16 | var module = modules[i];
17 | for (var enc in module)
18 | exports[enc] = module[enc];
19 | }
20 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/node_modules/iconv-lite/encodings/tables/gbk-added.json:
--------------------------------------------------------------------------------
1 | [
2 | ["a140","",62],
3 | ["a180","",32],
4 | ["a240","",62],
5 | ["a280","",32],
6 | ["a2ab","",5],
7 | ["a2e3","€"],
8 | ["a2ef",""],
9 | ["a2fd",""],
10 | ["a340","",62],
11 | ["a380","",31," "],
12 | ["a440","",62],
13 | ["a480","",32],
14 | ["a4f4","",10],
15 | ["a540","",62],
16 | ["a580","",32],
17 | ["a5f7","",7],
18 | ["a640","",62],
19 | ["a680","",32],
20 | ["a6b9","",7],
21 | ["a6d9","",6],
22 | ["a6ec",""],
23 | ["a6f3",""],
24 | ["a6f6","",8],
25 | ["a740","",62],
26 | ["a780","",32],
27 | ["a7c2","",14],
28 | ["a7f2","",12],
29 | ["a896","",10],
30 | ["a8bc",""],
31 | ["a8bf","ǹ"],
32 | ["a8c1",""],
33 | ["a8ea","",20],
34 | ["a958",""],
35 | ["a95b",""],
36 | ["a95d",""],
37 | ["a989","〾⿰",11],
38 | ["a997","",12],
39 | ["a9f0","",14],
40 | ["aaa1","",93],
41 | ["aba1","",93],
42 | ["aca1","",93],
43 | ["ada1","",93],
44 | ["aea1","",93],
45 | ["afa1","",93],
46 | ["d7fa","",4],
47 | ["f8a1","",93],
48 | ["f9a1","",93],
49 | ["faa1","",93],
50 | ["fba1","",93],
51 | ["fca1","",93],
52 | ["fda1","",93],
53 | ["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],
54 | ["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93]
55 | ]
56 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/mailcomposer/node_modules/punycode/LICENSE-MIT.txt:
--------------------------------------------------------------------------------
1 | Copyright Mathias Bynens
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining
4 | a copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to
8 | permit persons to whom the Software is furnished to do so, subject to
9 | the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be
12 | included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/public-address/.npmignore:
--------------------------------------------------------------------------------
1 | tests
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/public-address/README.md:
--------------------------------------------------------------------------------
1 | # public-address
2 |
3 | Resolve the public IP address and hostname of your current machine.
4 |
5 | This module makes a HTTP request to www.remoteaddress.net IP resolving service.
6 |
7 | ## Installation
8 |
9 | npm install public-address
10 |
11 | ## Usage
12 |
13 | var publicAddress = require("public-address");
14 | publicAddress([options,] callback);
15 |
16 | Where
17 |
18 | * **options** - an optional options object. Everything in this object is passed to the HTTP request object (eg. `agent`, `localAddress` etc.)
19 | * **callback** - function to run once the resolving succeeded or failed. Has error object and response data as arguments
20 |
21 | The data argument for `callback` has the following properties
22 |
23 | * **address** - public IP address
24 | * **hostname** - (if available) hostname of the IP address
25 |
26 | ## Example
27 |
28 | Resolve public IP:
29 |
30 | publicAddress(function(err, data){
31 | console.log(err || data);
32 | });
33 |
34 | Example response:
35 |
36 | {
37 | "address": "193.152.61.139",
38 | "hostname": "gprs-inet-61-139.example.com"
39 | }
40 |
41 | ## License
42 |
43 | **MIT**
44 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/.npmignore:
--------------------------------------------------------------------------------
1 | build/
2 | test/
3 | examples/
4 | fs.js
5 | zlib.js
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright Joyent, Inc. and other Node contributors. All rights reserved.
2 | Permission is hereby granted, free of charge, to any person obtaining a copy
3 | of this software and associated documentation files (the "Software"), to
4 | deal in the Software without restriction, including without limitation the
5 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6 | sell copies of the Software, and to permit persons to whom the Software is
7 | furnished to do so, subject to the following conditions:
8 |
9 | The above copyright notice and this permission notice shall be included in
10 | all copies or substantial portions of the Software.
11 |
12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
18 | IN THE SOFTWARE.
19 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/README.md:
--------------------------------------------------------------------------------
1 | # readable-stream
2 |
3 | ***Node-core streams for userland***
4 |
5 | [](https://nodei.co/npm/readable-stream/)
6 | [](https://nodei.co/npm/readable-stream/)
7 |
8 | This package is a mirror of the Streams2 and Streams3 implementations in Node-core.
9 |
10 | If you want to guarantee a stable streams base, regardless of what version of Node you, or the users of your libraries are using, use **readable-stream** *only* and avoid the *"stream"* module in Node-core.
11 |
12 | **readable-stream** comes in two major versions, v1.0.x and v1.1.x. The former tracks the Streams2 implementation in Node 0.10, including bug-fixes and minor improvements as they are added. The latter tracks Streams3 as it develops in Node 0.11; we will likely see a v1.2.x branch for Node 0.12.
13 |
14 | **readable-stream** uses proper patch-level versioning so if you pin to `"~1.0.0"` you’ll get the latest Node 0.10 Streams2 implementation, including any fixes and minor non-breaking improvements. The patch-level versions of 1.0.x and 1.1.x should mirror the patch-level versions of Node-core releases. You should prefer the **1.0.x** releases for now and when you’re ready to start using Streams3, pin to `"~1.1.0"`
15 |
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/duplex.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_duplex.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/core-util-is/README.md:
--------------------------------------------------------------------------------
1 | # core-util-is
2 |
3 | The `util.is*` functions introduced in Node v0.12.
4 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/core-util-is/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-util-is",
3 | "version": "1.0.1",
4 | "description": "The `util.is*` functions introduced in Node v0.12.",
5 | "main": "lib/util.js",
6 | "repository": {
7 | "type": "git",
8 | "url": "git://github.com/isaacs/core-util-is"
9 | },
10 | "keywords": [
11 | "util",
12 | "isBuffer",
13 | "isArray",
14 | "isNumber",
15 | "isString",
16 | "isRegExp",
17 | "isThis",
18 | "isThat",
19 | "polyfill"
20 | ],
21 | "author": {
22 | "name": "Isaac Z. Schlueter",
23 | "email": "i@izs.me",
24 | "url": "http://blog.izs.me/"
25 | },
26 | "license": "MIT",
27 | "bugs": {
28 | "url": "https://github.com/isaacs/core-util-is/issues"
29 | },
30 | "readme": "# core-util-is\n\nThe `util.is*` functions introduced in Node v0.12.\n",
31 | "readmeFilename": "README.md",
32 | "homepage": "https://github.com/isaacs/core-util-is",
33 | "_id": "core-util-is@1.0.1",
34 | "_from": "core-util-is@~1.0.0"
35 | }
36 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/inherits/LICENSE:
--------------------------------------------------------------------------------
1 | The ISC License
2 |
3 | Copyright (c) Isaac Z. Schlueter
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted, provided that the above
7 | copyright notice and this permission notice appear in all copies.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 | PERFORMANCE OF THIS SOFTWARE.
16 |
17 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/inherits/inherits.js:
--------------------------------------------------------------------------------
1 | module.exports = require('util').inherits
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/inherits/inherits_browser.js:
--------------------------------------------------------------------------------
1 | if (typeof Object.create === 'function') {
2 | // implementation from standard node.js 'util' module
3 | module.exports = function inherits(ctor, superCtor) {
4 | ctor.super_ = superCtor
5 | ctor.prototype = Object.create(superCtor.prototype, {
6 | constructor: {
7 | value: ctor,
8 | enumerable: false,
9 | writable: true,
10 | configurable: true
11 | }
12 | });
13 | };
14 | } else {
15 | // old school shim for old browsers
16 | module.exports = function inherits(ctor, superCtor) {
17 | ctor.super_ = superCtor
18 | var TempCtor = function () {}
19 | TempCtor.prototype = superCtor.prototype
20 | ctor.prototype = new TempCtor()
21 | ctor.prototype.constructor = ctor
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/inherits/test.js:
--------------------------------------------------------------------------------
1 | var inherits = require('./inherits.js')
2 | var assert = require('assert')
3 |
4 | function test(c) {
5 | assert(c.constructor === Child)
6 | assert(c.constructor.super_ === Parent)
7 | assert(Object.getPrototypeOf(c) === Child.prototype)
8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype)
9 | assert(c instanceof Child)
10 | assert(c instanceof Parent)
11 | }
12 |
13 | function Child() {
14 | Parent.call(this)
15 | test(this)
16 | }
17 |
18 | function Parent() {}
19 |
20 | inherits(Child, Parent)
21 |
22 | var c = new Child
23 | test(c)
24 |
25 | console.log('ok')
26 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/isarray/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "isarray",
3 | "description" : "Array#isArray for older browsers",
4 | "version" : "0.0.1",
5 | "repository" : "juliangruber/isarray",
6 | "homepage": "https://github.com/juliangruber/isarray",
7 | "main" : "index.js",
8 | "scripts" : [
9 | "index.js"
10 | ],
11 | "dependencies" : {},
12 | "keywords": ["browser","isarray","array"],
13 | "author": {
14 | "name": "Julian Gruber",
15 | "email": "mail@juliangruber.com",
16 | "url": "http://juliangruber.com"
17 | },
18 | "license": "MIT"
19 | }
20 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/isarray/index.js:
--------------------------------------------------------------------------------
1 | module.exports = Array.isArray || function (arr) {
2 | return Object.prototype.toString.call(arr) == '[object Array]';
3 | };
4 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/string_decoder/.npmignore:
--------------------------------------------------------------------------------
1 | build
2 | test
3 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/string_decoder/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright Joyent, Inc. and other Node contributors.
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a
4 | copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to permit
8 | persons to whom the Software is furnished to do so, subject to the
9 | following conditions:
10 |
11 | The above copyright notice and this permission notice shall be included
12 | in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
17 | NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
18 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
19 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
20 | USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/string_decoder/README.md:
--------------------------------------------------------------------------------
1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core
2 |
3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details.
4 |
5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.**
6 |
7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version.
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/node_modules/string_decoder/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "string_decoder",
3 | "version": "0.10.25-1",
4 | "description": "The string_decoder module from Node core",
5 | "main": "index.js",
6 | "dependencies": {},
7 | "devDependencies": {
8 | "tap": "~0.4.8"
9 | },
10 | "scripts": {
11 | "test": "tap test/simple/*.js"
12 | },
13 | "repository": {
14 | "type": "git",
15 | "url": "git://github.com/rvagg/string_decoder.git"
16 | },
17 | "homepage": "https://github.com/rvagg/string_decoder",
18 | "keywords": [
19 | "string",
20 | "decoder",
21 | "browser",
22 | "browserify"
23 | ],
24 | "license": "MIT",
25 | "readme": "**string_decoder.js** (`require('string_decoder')`) from Node.js core\n\nCopyright Joyent, Inc. and other Node contributors. See LICENCE file for details.\n\nVersion numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.**\n\nThe *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version.",
26 | "readmeFilename": "README.md",
27 | "bugs": {
28 | "url": "https://github.com/rvagg/string_decoder/issues"
29 | },
30 | "_id": "string_decoder@0.10.25-1",
31 | "_from": "string_decoder@~0.10.x"
32 | }
33 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/passthrough.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_passthrough.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/readable.js:
--------------------------------------------------------------------------------
1 | exports = module.exports = require('./lib/_stream_readable.js');
2 | exports.Stream = require('stream');
3 | exports.Readable = exports;
4 | exports.Writable = require('./lib/_stream_writable.js');
5 | exports.Duplex = require('./lib/_stream_duplex.js');
6 | exports.Transform = require('./lib/_stream_transform.js');
7 | exports.PassThrough = require('./lib/_stream_passthrough.js');
8 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/transform.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_transform.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/readable-stream/writable.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_writable.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | test
3 | examples
4 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2014 Andris Reinman
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16 | SOFTWARE.
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/index.js:
--------------------------------------------------------------------------------
1 | var packageData = require('./package.json');
2 |
3 | // expose the API to the world
4 | module.exports.createServer = require('./lib/server.js');
5 | module.exports.createSimpleServer = require('./lib/simpleserver.js');
6 | module.exports.connect = require('./lib/client.js');
7 | module.exports.createClientPool = require('./lib/pool.js');
8 | module.exports.version = packageData.version;
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/node_modules/rai/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | examples
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/node_modules/rai/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 |
7 | notifications:
8 | email:
9 | recipients:
10 | - andris@kreata.ee
11 | on_success: change
12 | on_failure: change
13 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/node_modules/rai/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012 Andris Reinman
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16 | SOFTWARE.
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/node_modules/rai/cert/server.crt:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIICYTCCAcoCCQDl53qKS6iIgDANBgkqhkiG9w0BAQUFADB1MQswCQYDVQQGEwJF
3 | RTEOMAwGA1UECBMFSGFyanUxEDAOBgNVBAcTB1RhbGxpbm4xDzANBgNVBAoTBkty
4 | ZWF0YTESMBAGA1UEAxMJbG9jYWxob3N0MR8wHQYJKoZIhvcNAQkBFhBhbmRyaXNA
5 | a3JlYXRhLmVlMB4XDTEzMDMxOTA5NTcxNVoXDTE0MDMxOTA5NTcxNVowdTELMAkG
6 | A1UEBhMCRUUxDjAMBgNVBAgTBUhhcmp1MRAwDgYDVQQHEwdUYWxsaW5uMQ8wDQYD
7 | VQQKEwZLcmVhdGExEjAQBgNVBAMTCWxvY2FsaG9zdDEfMB0GCSqGSIb3DQEJARYQ
8 | YW5kcmlzQGtyZWF0YS5lZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwke9
9 | RYIa5uOTqOSwJHO3lQyT6p9v7g/NI6FckuvqerGThS+irvP4Nd9xuqGjRB2HBEgM
10 | QqSlPqYQ+pI5zcI3V3r1/A9OxSQoR9ar6obKsAfHiWP1u96mpiAZJudYLPud69RR
11 | 1/BoihM6t2FSvwGXO+q38wOLM9tBWgt5Ng68fM0CAwEAATANBgkqhkiG9w0BAQUF
12 | AAOBgQBZJBkf/piXM2Kl725w1ZESlt0m1DbpP55K3ZLLJEQ2IZxQ1wtWChl2duAe
13 | s9Hv5YGm1U44wDbzNXfqqgUIDJVwDzJlq8xtTbfUCJ8HtDKLqH7rGIgDArdtwACZ
14 | bOW7J6ei0ZDhtyDnc9eHB5CT8bgTR1VkMlx3v/bPSCEmTiRJNA==
15 | -----END CERTIFICATE-----
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/node_modules/rai/cert/server.key:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PRIVATE KEY-----
2 | MIICXgIBAAKBgQDCR71Fghrm45Oo5LAkc7eVDJPqn2/uD80joVyS6+p6sZOFL6Ku
3 | 8/g133G6oaNEHYcESAxCpKU+phD6kjnNwjdXevX8D07FJChH1qvqhsqwB8eJY/W7
4 | 3qamIBkm51gs+53r1FHX8GiKEzq3YVK/AZc76rfzA4sz20FaC3k2Drx8zQIDAQAB
5 | AoGARhUM4LsLK0ji5iUAqVWY3sp3vUYgYVcP4A+ATnuNzQ6rsXq6i7P0ULK22uUd
6 | +R9Rqii3S38LIOtU6p6+/UtXHLUxnNqGKx/6mSamKhv01UgqN65Laq1pCX40Wjgj
7 | k5R1wdkwQG+DOj+L6mPxnp92Stn+PYPCUqYpK1qLvPu7X2ECQQDvRToiJ0XRLLxa
8 | pz4eAUeN4KJWBJRIT+GZzx27qB3aAr6UT0ccXLmhYBl3AUNYcWyDdAp+ZoX+CQuZ
9 | yEc1Xob1AkEAz904LHgZSMNrKIPhU93Og7fXypY3Smlci5jPQ7rCxzGz0XWUslne
10 | pL8wRtwa8DpTufDj8Ihfw0E8BxUG+yYHeQJBAIL/quFSESaB0KntUNQKrUtfRmHD
11 | 5g9lNMYKIGRCmf1nbUIz2WIM3lEdFTQTi/SbPOcHnEsyBIBeIWzTuzDcDRUCQQDC
12 | 2cKgnOxGszkuP4Hn1hKSkrFsLKgjzuR7z4DrIpUXmNXRUYFUNr5ofPhKVGXEL0jx
13 | Eoj5nzz1kZ8tnF5w61MxAkEAmJYV3PN/V4pTqX/bnNwQWUAQfrDBdkjw2RAAUtbY
14 | MnunBSguCrxmQEKo/zomkZZ/R7/WpJyGZxN90SHa8mZJJA==
15 | -----END RSA PRIVATE KEY-----
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/node_modules/xoauth2/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
3 | lib-cov
4 | *.seed
5 | *.log
6 | *.csv
7 | *.dat
8 | *.out
9 | *.pid
10 | *.gz
11 |
12 | pids
13 | logs
14 | results
15 |
16 | node_modules
17 | npm-debug.log
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/simplesmtp/node_modules/xoauth2/test.js:
--------------------------------------------------------------------------------
1 | var xoauth2 = require("./index"),
2 | xoauth2gen;
3 |
4 | xoauth2gen = xoauth2.createXOAuth2Generator({
5 | user: "user@gmail.com",
6 | clientId: "{Client ID}",
7 | clientSecret: "{Client Secret}",
8 | refreshToken: "{User Refresh Token}",
9 | accessToken: "{User Refresh Token}",
10 | timeout: 3600
11 | });
12 |
13 | // SMTP/IMAP
14 | xoauth2gen.getToken(function(err, token){
15 | if(err){
16 | console.log(123)
17 | return console.log(err);
18 | }
19 | console.log("AUTH XOAUTH2 " + token);
20 | });
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "email-node",
3 | "version": "1.0.1",
4 | "dependencies": {
5 | "nodemailer": "latest",
6 | "express": "latest"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------