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/mongoose/node_modules/mquery/node_modules/bluebird/zalgo.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./js/zalgo/bluebird.js');
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/node_modules/debug/index.js:
--------------------------------------------------------------------------------
1 | if ('undefined' == typeof window) {
2 | module.exports = require('./lib/debug');
3 | } else {
4 | module.exports = require('./debug');
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/test/collection/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeforgeek/mass-mailer-nodejs/89154fb5a4994614dd69eddfd0f7dd372e1c9bfe/node_modules/mongoose/node_modules/mquery/test/collection/browser.js
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/test/collection/mongo.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeforgeek/mass-mailer-nodejs/89154fb5a4994614dd69eddfd0f7dd372e1c9bfe/node_modules/mongoose/node_modules/mquery/test/collection/mongo.js
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/test/collection/node.js:
--------------------------------------------------------------------------------
1 |
2 | var assert = require('assert')
3 | var slice = require('sliced')
4 | var mongo = require('mongodb')
5 | var utils = require('../../').utils;
6 |
7 | var uri = process.env.MQUERY_URI || 'mongodb://localhost/mquery';
8 | var db;
9 |
10 | exports.getCollection = function (cb) {
11 | mongo.Db.connect(uri, function (err, db_) {
12 | assert.ifError(err);
13 | db = db_;
14 |
15 | var collection = db.collection('stuff');
16 | collection.opts.safe = true;
17 |
18 | // clean test db before starting
19 | db.dropDatabase(function () {
20 | cb(null, collection);
21 | });
22 | })
23 | }
24 |
25 | exports.dropCollection = function (cb) {
26 | db.dropDatabase(function () {
27 | db.close(cb);
28 | })
29 | }
30 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/test/env.js:
--------------------------------------------------------------------------------
1 |
2 | var assert = require('assert')
3 | var env = require('../').env;
4 |
5 | console.log('environment: %s', env.type);
6 |
7 | var col;
8 | switch (env.type) {
9 | case 'node':
10 | col = require('./collection/node');
11 | break;
12 | case 'mongo':
13 | col = require('./collection/mongo');
14 | case 'browser':
15 | col = require('./collection/browser');
16 | default:
17 | throw new Error('missing collection implementation for environment: ' + env.type);
18 | }
19 |
20 | module.exports = exports = col;
21 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/ms/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/ms/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | ./node_modules/.bin/mocha test/test.js
4 |
5 | test-browser:
6 | ./node_modules/.bin/serve test/
7 |
8 | .PHONY: test
9 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/ms/ms.js:
--------------------------------------------------------------------------------
1 | /**
2 |
3 | # ms.js
4 |
5 | No more painful `setTimeout(fn, 60 * 4 * 3 * 2 * 1 * Infinity * NaN * '☃')`.
6 |
7 | ms('2d') // 172800000
8 | ms('1.5h') // 5400000
9 | ms('1h') // 3600000
10 | ms('1m') // 60000
11 | ms('5s') // 5000
12 | ms('500ms') // 500
13 | ms('100') // '100'
14 | ms(100) // 100
15 |
16 | **/
17 |
18 | (function (g) {
19 | var r = /(\d*.?\d+)([mshd]+)/
20 | , _ = {}
21 |
22 | _.ms = 1;
23 | _.s = 1000;
24 | _.m = _.s * 60;
25 | _.h = _.m * 60;
26 | _.d = _.h * 24;
27 |
28 | function ms (s) {
29 | if (s == Number(s)) return Number(s);
30 | r.exec(s.toLowerCase());
31 | return RegExp.$1 * _[RegExp.$2];
32 | }
33 |
34 | g.top ? g.ms = ms : module.exports = ms;
35 | })(this);
36 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/ms/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ms",
3 | "version": "0.1.0",
4 | "description": "Tiny ms conversion utility",
5 | "main": "./ms",
6 | "devDependencies": {
7 | "mocha": "*",
8 | "expect.js": "*",
9 | "serve": "*"
10 | },
11 | "_npmUser": {
12 | "name": "rauchg",
13 | "email": "rauchg@gmail.com"
14 | },
15 | "_id": "ms@0.1.0",
16 | "dependencies": {},
17 | "engines": {
18 | "node": "*"
19 | },
20 | "_engineSupported": true,
21 | "_npmVersion": "1.0.106",
22 | "_nodeVersion": "v0.4.12",
23 | "_defaultsLoaded": true,
24 | "dist": {
25 | "shasum": "f21fac490daf1d7667fd180fe9077389cc9442b2",
26 | "tarball": "http://registry.npmjs.org/ms/-/ms-0.1.0.tgz"
27 | },
28 | "maintainers": [
29 | {
30 | "name": "rauchg",
31 | "email": "rauchg@gmail.com"
32 | }
33 | ],
34 | "directories": {},
35 | "_shasum": "f21fac490daf1d7667fd180fe9077389cc9442b2",
36 | "_from": "ms@0.1.0",
37 | "_resolved": "https://registry.npmjs.org/ms/-/ms-0.1.0.tgz"
38 | }
39 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/ms/test/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ms.js tests
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/.npmignore:
--------------------------------------------------------------------------------
1 | *.sw*
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/History.md:
--------------------------------------------------------------------------------
1 |
2 | 1.0.0 / 2014-10-18
3 | ==================
4 |
5 | * fixed; compatibility w/ strict mode #4 [vkarpov15](https://github.com/vkarpov15)
6 |
7 | 0.3.1 / 2013-02-17
8 | ==================
9 |
10 | * fixed; allow '#' in username and password #3
11 |
12 | 0.3.0 / 2013-01-14
13 | ==================
14 |
15 | * fixed; default db logic #2
16 |
17 | 0.2.0 / 2013-01-09
18 | ==================
19 |
20 | * changed; default db is now 'test'
21 |
22 | 0.1.0 / 2012-12-18
23 | ==================
24 |
25 | * changed; include .sock in UDS
26 |
27 | 0.0.5 / 2012-12-18
28 | ==================
29 |
30 | * fixed; unix domain sockets used with db names
31 |
32 | 0.0.4 / 2012-12-01
33 | ==================
34 |
35 | * handle multple specified protocols
36 |
37 | 0.0.3 / 2012-11-29
38 | ==================
39 |
40 | * validate mongodb:///db
41 | * more detailed error message
42 |
43 | 0.0.2 / 2012-11-02
44 | ==================
45 |
46 | * add readPreferenceTags support
47 | * add unix domain support
48 |
49 | 0.0.1 / 2012-11-01
50 | ==================
51 |
52 | * initial release
53 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012 [Aaron Heckmann](aaron.heckmann+github@gmail.com)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following 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 OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @node_modules/mocha/bin/mocha $(T)
4 |
5 | .PHONY: test
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/index.js:
--------------------------------------------------------------------------------
1 | module.exports = exports = require('./lib');
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/strict.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var x = require('./')('mongodb://asdf:pass@your:2342/hilllo');
4 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/.npmignore:
--------------------------------------------------------------------------------
1 | *.sw*
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 | - 0.10
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.0.1 / 2013-04-17
3 | ==================
4 |
5 | * initial commit
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2013 [Aaron Heckmann](aaron.heckmann+github@gmail.com)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following 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 OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha $(T) --async-only $(TESTS)
4 |
5 | .PHONY: test
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/README.md:
--------------------------------------------------------------------------------
1 | #regexp-clone
2 | ==============
3 |
4 | Clones RegExps with flag preservation
5 |
6 | ```js
7 | var regexpClone = require('regexp-clone');
8 |
9 | var a = /somethin/g;
10 | console.log(a.global); // true
11 |
12 | var b = regexpClone(a);
13 | console.log(b.global); // true
14 | ```
15 |
16 | ## License
17 |
18 | [MIT](https://github.com/aheckmann/regexp-clone/blob/master/LICENSE)
19 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/index.js:
--------------------------------------------------------------------------------
1 |
2 | var toString = Object.prototype.toString;
3 |
4 | function isRegExp (o) {
5 | return 'object' == typeof o
6 | && '[object RegExp]' == toString.call(o);
7 | }
8 |
9 | module.exports = exports = function (regexp) {
10 | if (!isRegExp(regexp)) {
11 | throw new TypeError('Not a RegExp');
12 | }
13 |
14 | var flags = [];
15 | if (regexp.global) flags.push('g');
16 | if (regexp.multiline) flags.push('m');
17 | if (regexp.ignoreCase) flags.push('i');
18 | return new RegExp(regexp.source, flags.join(''));
19 | }
20 |
21 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/.npmignore:
--------------------------------------------------------------------------------
1 | *.sw*
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.0.5 / 2013-02-05
3 | ==================
4 |
5 | * optimization: remove use of arguments [jkroso](https://github.com/jkroso)
6 | * add scripts to component.json [jkroso](https://github.com/jkroso)
7 | * tests; remove time for travis
8 |
9 | 0.0.4 / 2013-01-07
10 | ==================
11 |
12 | * added component.json #1 [jkroso](https://github.com/jkroso)
13 | * reversed array loop #1 [jkroso](https://github.com/jkroso)
14 | * remove fn params
15 |
16 | 0.0.3 / 2012-09-29
17 | ==================
18 |
19 | * faster with negative start args
20 |
21 | 0.0.2 / 2012-09-29
22 | ==================
23 |
24 | * support full [].slice semantics
25 |
26 | 0.0.1 / 2012-09-29
27 | ===================
28 |
29 | * initial release
30 |
31 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012 [Aaron Heckmann](aaron.heckmann+github@gmail.com)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following 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 OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha $(T) $(TESTS)
4 |
5 | .PHONY: test
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "sliced",
3 | "version": "0.0.5",
4 | "description": "A faster Node.js alternative to Array.prototype.slice.call(arguments)",
5 | "repo" : "aheckmann/sliced",
6 | "keywords": [
7 | "arguments",
8 | "slice",
9 | "array"
10 | ],
11 | "scripts": ["lib/sliced.js", "index.js"],
12 | "author": "Aaron Heckmann ",
13 | "license": "MIT"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/index.js:
--------------------------------------------------------------------------------
1 | module.exports = exports = require('./lib/sliced');
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/lib/sliced.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * An Array.prototype.slice.call(arguments) alternative
4 | *
5 | * @param {Object} args something with a length
6 | * @param {Number} slice
7 | * @param {Number} sliceEnd
8 | * @api public
9 | */
10 |
11 | module.exports = function (args, slice, sliceEnd) {
12 | var ret = [];
13 | var len = args.length;
14 |
15 | if (0 === len) return ret;
16 |
17 | var start = slice < 0
18 | ? Math.max(0, slice + len)
19 | : slice || 0;
20 |
21 | if (sliceEnd !== undefined) {
22 | len = sliceEnd < 0
23 | ? sliceEnd + len
24 | : sliceEnd
25 | }
26 |
27 | while (len-- > start) {
28 | ret[len - start] = args[len];
29 | }
30 |
31 | return ret;
32 | }
33 |
34 |
--------------------------------------------------------------------------------
/node_modules/mongoose/static.js:
--------------------------------------------------------------------------------
1 |
2 | var static = require('node-static');
3 | var server = new static.Server('.', { cache: 0 });
4 | var open = require('open')
5 |
6 | require('http').createServer(function (req, res) {
7 | if ('/favicon.ico' == req.url) {
8 | req.destroy();
9 | res.statusCode = 204
10 | return res.end();
11 | }
12 |
13 | req.on('end', function () {
14 | server.serve(req, res, function (err) {
15 | if (err) {
16 | console.error(err, req.url);
17 | res.writeHead(err.status, err.headers);
18 | res.end();
19 | }
20 | });
21 | });
22 | req.resume();
23 | }).listen(8088);
24 |
25 | console.error('now listening on http://localhost:8088');
26 | open('http://localhost:8088');
27 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "indent": 4,
3 | "node": true,
4 | "globalstrict": true,
5 | "evil": true,
6 | "unused": true,
7 | "undef": true,
8 | "newcap": true,
9 | "esnext": true,
10 | "curly": true,
11 | "eqeqeq": true,
12 | "expr": true,
13 |
14 | "predef": [
15 | "describe",
16 | "it",
17 | "beforeEach",
18 | "afterEach"
19 | ]
20 | }
--------------------------------------------------------------------------------
/node_modules/nodemailer/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | assets
3 | examples
4 | test
--------------------------------------------------------------------------------
/node_modules/nodemailer/Gruntfile.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = function(grunt) {
4 |
5 | // Project configuration.
6 | grunt.initConfig({
7 | jshint: {
8 | all: ['src/*.js', 'test/*.js', 'examples/*.js', 'Gruntfile.js'],
9 | options: {
10 | jshintrc: '.jshintrc'
11 | }
12 | },
13 |
14 | mochaTest: {
15 | all: {
16 | options: {
17 | reporter: 'spec'
18 | },
19 | src: ['test/*-test.js']
20 | }
21 | }
22 | });
23 |
24 | // Load the plugin(s)
25 | grunt.loadNpmTasks('grunt-contrib-jshint');
26 | grunt.loadNpmTasks('grunt-mocha-test');
27 |
28 | // Tasks
29 | grunt.registerTask('default', ['jshint', 'mochaTest']);
30 | };
--------------------------------------------------------------------------------
/node_modules/nodemailer/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011-2015 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.
17 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "indent": 4,
3 | "node": true,
4 | "globalstrict": true,
5 | "evil": true,
6 | "unused": true,
7 | "undef": true,
8 | "newcap": true,
9 | "esnext": true,
10 | "curly": true,
11 | "eqeqeq": true,
12 | "expr": true,
13 |
14 | "predef": [
15 | "describe",
16 | "it",
17 | "beforeEach",
18 | "afterEach"
19 | ]
20 | }
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | npm-debug.log
3 | .DS_Store
4 | examples
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - 0.12
5 | - iojs
6 | before_install:
7 | - npm install -g grunt-cli
8 | notifications:
9 | email:
10 | - andris@kreata.ee
11 | webhooks:
12 | urls:
13 | - https://webhooks.gitter.im/e/0ed18fd9b3e529b3c2cc
14 | on_success: change # options: [always|never|change] default: always
15 | on_failure: always # options: [always|never|change] default: always
16 | on_start: false # default: false
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v1.2.2 2015-04-03
4 |
5 | * Maintenace release, bumped libqp which resolves an endless loop in case of a trailing <CR>
6 |
7 | ## v1.2.1 2014-09-12
8 |
9 | * Maintenace release, fixed a test and bumped dependency versions
10 |
11 | ## v1.2.0 2014-09-12
12 |
13 | * Allow functions as transform plugins (the function should create a stream object)
14 |
15 | ## v1.1.1 2014-08-21
16 |
17 | * Bumped libmime version to handle filenames with spaces properly. Short ascii only names with spaces were left unquoted.
18 |
19 | ## v1.1.0 2014-07-24
20 |
21 | * Added new method `getAddresses` that returns all used addresses as a structured object
22 | * Changed version number scheme. Major is now 1 but it is not backwards incopatible with 0.x, as only the scheme changed but not the content
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/Gruntfile.js:
--------------------------------------------------------------------------------
1 | module.exports = function(grunt) {
2 | 'use strict';
3 |
4 | // Project configuration.
5 | grunt.initConfig({
6 | jshint: {
7 | all: ['src/*.js', 'test/*.js'],
8 | options: {
9 | jshintrc: '.jshintrc'
10 | }
11 | },
12 |
13 | mochaTest: {
14 | all: {
15 | options: {
16 | reporter: 'spec'
17 | },
18 | src: ['test/*-unit.js']
19 | }
20 | }
21 | });
22 |
23 | // Load the plugin(s)
24 | grunt.loadNpmTasks('grunt-contrib-jshint');
25 | grunt.loadNpmTasks('grunt-mocha-test');
26 |
27 | // Tasks
28 | grunt.registerTask('default', ['jshint', 'mochaTest']);
29 | };
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 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 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/buildmail/node_modules/addressparser/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "indent": 4,
3 | "node": true,
4 | "globalstrict": true,
5 | "evil": true,
6 | "unused": true,
7 | "undef": true,
8 | "newcap": true,
9 | "esnext": true,
10 | "curly": true,
11 | "eqeqeq": true,
12 |
13 | "predef": [
14 | "describe",
15 | "it"
16 | ]
17 | }
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/node_modules/addressparser/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | test
3 | Gruntfile.js
4 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/node_modules/addressparser/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.3.2 2015-01-07
4 |
5 | * Added changelog
6 | * Allow semicolon (;) as address separator in addition to comma (,). Backport from https://github.com/whiteout-io/addressparser/pull/5
7 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/node_modules/addressparser/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 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.
17 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/node_modules/libbase64/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | .jshintrc
3 | Gruntfile.js
4 | test
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/node_modules/libbase64/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 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 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/buildmail/node_modules/libqp/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | .jshintrc
3 | Gruntfile.js
4 | test
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/node_modules/libqp/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 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 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/hyperquest/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/LICENSE:
--------------------------------------------------------------------------------
1 | This software is released under the MIT license:
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of
4 | this software and associated documentation files (the "Software"), to deal in
5 | the Software without restriction, including without limitation the rights to
6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7 | the Software, and to permit persons to whom the Software is furnished to do so,
8 | subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | 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, FITNESS
15 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/example/many_hyperquest.js:
--------------------------------------------------------------------------------
1 | var http = require('http');
2 | var hyperquest = require('../');
3 |
4 | var server = http.createServer(function (req, res) {
5 | res.write(req.url.slice(1) + '\n');
6 | setTimeout(res.end.bind(res), 3000);
7 | });
8 |
9 | server.listen(5000, function () {
10 | var pending = 20;
11 | for (var i = 0; i < 20; i++) {
12 | var r = hyperquest('http://localhost:5000/' + i);
13 | r.pipe(process.stdout, { end: false });
14 | r.on('end', function () {
15 | if (--pending === 0) server.close();
16 | });
17 | }
18 | });
19 |
20 | process.stdout.setMaxListeners(0); // turn off annoying warnings
21 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/example/many_request.js:
--------------------------------------------------------------------------------
1 | var http = require('http');
2 | var request = require('request');
3 |
4 | var server = http.createServer(function (req, res) {
5 | res.write(req.url.slice(1) + '\n');
6 | setTimeout(res.end.bind(res), 3000);
7 | });
8 |
9 | server.listen(5000, function () {
10 | var pending = 20;
11 | for (var i = 0; i < 20; i++) {
12 | var r = request('http://localhost:5000/' + i);
13 | r.pipe(process.stdout, { end: false });
14 | r.on('end', function () {
15 | if (--pending === 0) server.close();
16 | });
17 | }
18 | });
19 |
20 | process.stdout.setMaxListeners(0); // turn off annoying warnings
21 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/example/req.js:
--------------------------------------------------------------------------------
1 | var hyperquest = require('../');
2 | hyperquest('http://localhost:8000').pipe(process.stdout);
3 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer2/.npmignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer2/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer2/node_modules/readable-stream/.npmignore:
--------------------------------------------------------------------------------
1 | build/
2 | test/
3 | examples/
4 | fs.js
5 | zlib.js
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer2/node_modules/readable-stream/duplex.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_duplex.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer2/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/hyperquest/node_modules/duplexer2/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/hyperquest/node_modules/duplexer2/node_modules/readable-stream/node_modules/inherits/inherits.js:
--------------------------------------------------------------------------------
1 | module.exports = require('util').inherits
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer2/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/hyperquest/node_modules/duplexer2/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/hyperquest/node_modules/duplexer2/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/hyperquest/node_modules/duplexer2/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/hyperquest/node_modules/duplexer2/node_modules/readable-stream/node_modules/string_decoder/.npmignore:
--------------------------------------------------------------------------------
1 | build
2 | test
3 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer2/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/hyperquest/node_modules/duplexer2/node_modules/readable-stream/passthrough.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_passthrough.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer2/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/hyperquest/node_modules/duplexer2/node_modules/readable-stream/transform.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_transform.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer2/node_modules/readable-stream/writable.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_writable.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | .jshintrc
3 | .travis.yml
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/readable-stream/.npmignore:
--------------------------------------------------------------------------------
1 | build/
2 | test/
3 | examples/
4 | fs.js
5 | zlib.js
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/readable-stream/duplex.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_duplex.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/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/hyperquest/node_modules/through2/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/hyperquest/node_modules/through2/node_modules/readable-stream/node_modules/inherits/inherits.js:
--------------------------------------------------------------------------------
1 | module.exports = require('util').inherits
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/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/hyperquest/node_modules/through2/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/hyperquest/node_modules/through2/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/hyperquest/node_modules/through2/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/hyperquest/node_modules/through2/node_modules/readable-stream/node_modules/string_decoder/.npmignore:
--------------------------------------------------------------------------------
1 | build
2 | test
3 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/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/hyperquest/node_modules/through2/node_modules/readable-stream/passthrough.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_passthrough.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/readable-stream/readable.js:
--------------------------------------------------------------------------------
1 | var Stream = require('stream'); // hack to fix a circular dependency issue when used with browserify
2 | exports = module.exports = require('./lib/_stream_readable.js');
3 | exports.Stream = Stream;
4 | exports.Readable = exports;
5 | exports.Writable = require('./lib/_stream_writable.js');
6 | exports.Duplex = require('./lib/_stream_duplex.js');
7 | exports.Transform = require('./lib/_stream_transform.js');
8 | exports.PassThrough = require('./lib/_stream_passthrough.js');
9 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/readable-stream/transform.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_transform.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/readable-stream/writable.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./lib/_stream_writable.js")
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/xtend/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "maxdepth": 4,
3 | "maxstatements": 200,
4 | "maxcomplexity": 12,
5 | "maxlen": 80,
6 | "maxparams": 5,
7 |
8 | "curly": true,
9 | "eqeqeq": true,
10 | "immed": true,
11 | "latedef": false,
12 | "noarg": true,
13 | "noempty": true,
14 | "nonew": true,
15 | "undef": true,
16 | "unused": "vars",
17 | "trailing": true,
18 |
19 | "quotmark": true,
20 | "expr": true,
21 | "asi": true,
22 |
23 | "browser": false,
24 | "esnext": true,
25 | "devel": false,
26 | "node": false,
27 | "nonstandard": false,
28 |
29 | "predef": ["require", "module", "__dirname", "__filename"]
30 | }
31 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/xtend/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/xtend/LICENCE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2014 Raynos.
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/hyperquest/node_modules/through2/node_modules/xtend/Makefile:
--------------------------------------------------------------------------------
1 | browser:
2 | node ./support/compile
3 |
4 | .PHONY: browser
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/xtend/README.md:
--------------------------------------------------------------------------------
1 | # xtend
2 |
3 | [![browser support][3]][4]
4 |
5 | [](http://github.com/badges/stability-badges)
6 |
7 | Extend like a boss
8 |
9 | xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence.
10 |
11 | ## Examples
12 |
13 | ```js
14 | var extend = require("xtend")
15 |
16 | // extend returns a new object. Does not mutate arguments
17 | var combination = extend({
18 | a: "a",
19 | b: 'c'
20 | }, {
21 | b: "b"
22 | })
23 | // { a: "a", b: "b" }
24 | ```
25 |
26 | ## Stability status: Locked
27 |
28 | ## MIT Licenced
29 |
30 |
31 | [3]: http://ci.testling.com/Raynos/xtend.png
32 | [4]: http://ci.testling.com/Raynos/xtend
33 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/xtend/immutable.js:
--------------------------------------------------------------------------------
1 | module.exports = extend
2 |
3 | function extend() {
4 | var target = {}
5 |
6 | for (var i = 0; i < arguments.length; i++) {
7 | var source = arguments[i]
8 |
9 | for (var key in source) {
10 | if (source.hasOwnProperty(key)) {
11 | target[key] = source[key]
12 | }
13 | }
14 | }
15 |
16 | return target
17 | }
18 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through2/node_modules/xtend/mutable.js:
--------------------------------------------------------------------------------
1 | module.exports = extend
2 |
3 | function extend(target) {
4 | for (var i = 1; i < arguments.length; i++) {
5 | var source = arguments[i]
6 |
7 | for (var key in source) {
8 | if (source.hasOwnProperty(key)) {
9 | target[key] = source[key]
10 | }
11 | }
12 | }
13 |
14 | return target
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/test/get.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var http = require('http');
3 | var hyperquest = require('../');
4 | var through = require('through2');
5 |
6 | var server = http.createServer(function (req, res) {
7 | res.setHeader('content-type', 'text/robot-speak');
8 | res.end('beep boop');
9 | });
10 |
11 | test('get', function (t) {
12 | t.plan(2);
13 | server.listen(0, function () {
14 | var port = server.address().port;
15 | check(t, port);
16 | });
17 | t.on('end', server.close.bind(server));
18 | });
19 |
20 | function check (t, port) {
21 | var r = hyperquest('http://localhost:' + port);
22 | r.pipe(through(write, end));
23 |
24 | r.on('response', function (res) {
25 | t.equal(res.headers['content-type'], 'text/robot-speak');
26 | });
27 |
28 | var data = '';
29 | function write (buf, enc, cb) { data += buf; cb() }
30 | function end () {
31 | t.equal(data, 'beep boop');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/test/many.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var http = require('http');
3 | var hyperquest = require('../');
4 | var through = require('through2');
5 |
6 | var server = http.createServer(function (req, res) {
7 | res.write('beep boop');
8 | });
9 |
10 | test('more than 5 pending connections', function (t) {
11 | t.plan(20);
12 | var pending = [];
13 | server.listen(0, function () {
14 | var port = server.address().port;
15 | for (var i = 0; i < 20; i++) {
16 | pending.push(check(t, port));
17 | }
18 | });
19 | t.on('end', function () {
20 | pending.forEach(function (p) { p.destroy() });
21 | server.close();
22 | });
23 | });
24 |
25 | function check (t, port) {
26 | var r = hyperquest('http://localhost:' + port);
27 | var data = '';
28 | r.pipe(through(function (buf, enc, cb) { data += buf; cb() }));
29 |
30 | setTimeout(function () {
31 | t.equal(data, 'beep boop');
32 | }, 100);
33 | return r;
34 | }
35 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/test/opts.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var http = require('http');
3 | var hyperquest = require('../');
4 | var through = require('through2');
5 |
6 | var server = http.createServer(function (req, res) {
7 | res.setHeader('content-type', 'text/robot-speak');
8 | res.end('beep boop');
9 | });
10 |
11 | test('1st-arg options', function (t) {
12 | t.plan(2);
13 | server.listen(0, function () {
14 | var port = server.address().port;
15 | check(t, port);
16 | });
17 | t.on('end', server.close.bind(server));
18 | });
19 |
20 | function check (t, port) {
21 | var r = hyperquest(
22 | { uri: 'http://localhost:' + port },
23 | function (err, res) {
24 | t.equal(res.headers['content-type'], 'text/robot-speak');
25 | }
26 | );
27 | r.pipe(through(write, end));
28 |
29 | var data = '';
30 | function write (buf, enc, cb) { data += buf; cb() }
31 | function end () {
32 | t.equal(data, 'beep boop');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/test/post.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var http = require('http');
3 | var hyperquest = require('../');
4 | var through = require('through2');
5 |
6 | var server = http.createServer(function (req, res) {
7 | req.pipe(through(function (buf, enc, cb) {
8 | this.push(String(buf).toUpperCase());
9 | cb();
10 | })).pipe(res);
11 | });
12 |
13 | test('post', function (t) {
14 | t.plan(1);
15 | server.listen(0, function () {
16 | var port = server.address().port;
17 | check(t, port);
18 | });
19 | t.on('end', server.close.bind(server));
20 | });
21 |
22 | function check (t, port) {
23 | var r = hyperquest.post('http://localhost:' + port);
24 | r.pipe(through(write, end));
25 |
26 | setTimeout(function () {
27 | r.write('beep ');
28 | }, 50);
29 |
30 | setTimeout(function () {
31 | r.end('boop.');
32 | }, 100);
33 |
34 | var data = '';
35 | function write (buf, enc, cb) { data += buf; cb() }
36 | function end () {
37 | t.equal(data, 'BEEP BOOP.');
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/test/post_immediate.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var http = require('http');
3 | var hyperquest = require('../');
4 | var through = require('through2');
5 |
6 | var server = http.createServer(function (req, res) {
7 | req.pipe(through(function (buf, enc, cb) {
8 | this.push(String(buf).toUpperCase());
9 | cb();
10 | })).pipe(res);
11 | });
12 |
13 | test('post', function (t) {
14 | t.plan(1);
15 | server.listen(0, function () {
16 | var port = server.address().port;
17 | check(t, port);
18 | });
19 | t.on('end', server.close.bind(server));
20 | });
21 |
22 | function check (t, port) {
23 | var r = hyperquest.post('http://localhost:' + port);
24 | r.end('beep boop.');
25 |
26 | var data = '';
27 | r.on('data', function (buf) { data += buf });
28 | r.on('end', function () {
29 | t.equal(data, 'BEEP BOOP.');
30 | });
31 | }
32 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/test/readable.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var hyperquest = require('../');
3 | var http = require('http');
4 |
5 | var server = http.createServer(function (req, res) { res.end() });
6 |
7 | test('readable', function (t) {
8 | server.listen(function () {
9 | var port = server.address().port;
10 | var req = hyperquest('http://localhost:' + port);
11 | t.notOk(req.flowing);
12 | t.ok(req._read);
13 | req.on('data', function () {});
14 | req.on('end', function () {
15 | server.close();
16 | t.end();
17 | });
18 | });
19 | });
20 |
21 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/test/set_header.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var http = require('http');
3 | var hyperquest = require('../');
4 | var through = require('through2');
5 |
6 | test('setHeader on a request', function (t) {
7 | t.plan(2);
8 |
9 | var server = http.createServer(function (req, res) {
10 | t.equal(req.headers.robot, 'party');
11 | res.end('beep boop');
12 | });
13 | server.listen(0, function () {
14 | var port = server.address().port;
15 | check(t, port);
16 | });
17 | t.on('end', server.close.bind(server));
18 | });
19 |
20 | function check (t, port) {
21 | var r = hyperquest('http://localhost:' + port);
22 | r.setHeader('robot', 'party');
23 | r.pipe(through(write, end));
24 |
25 | var data = '';
26 | function write (buf, enc, cb) { data += buf; cb() }
27 | function end () {
28 | t.equal(data, 'beep boop');
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/libmime/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | .jshintrc
3 | Gruntfile.js
4 | test
5 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/libmime/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.1.7 2015-01-19
4 |
5 | Updated unicode filename handling – only revert to parameter continuation if the value actually includes
6 | non-ascii characters or is too long. Previously filenames were encoded if they included anything
7 | besides letters, numbers, dot or space.
8 |
9 | ## v0.1.6 2014-10-25
10 |
11 | Fixed an issue with `encodeWords` where a trailing space was invalidly included in a word if the word
12 | ended with an non-ascii character.
13 |
14 | ## v0.1.5 2014-09-12
15 |
16 | Do not use quotes for continuation encoded filename parts. Fixes an issue with Gmail where the Gmail webmail keeps the charset as part of the filename.
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/libmime/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2014-2015 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 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/libmime/node_modules/iconv-lite/.npmignore:
--------------------------------------------------------------------------------
1 | *~
2 | *sublime-*
3 | generation
4 | test
5 | wiki
6 | coverage
7 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/libmime/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/libmime/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/libmime/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("./utf7"),
8 | require("./sbcs-codec"),
9 | require("./sbcs-data"),
10 | require("./sbcs-data-generated"),
11 | require("./dbcs-codec"),
12 | require("./dbcs-data"),
13 | ];
14 |
15 | // Put all encoding/alias/codec definitions to single object and export it.
16 | for (var i = 0; i < modules.length; i++) {
17 | var module = modules[i];
18 | for (var enc in module)
19 | if (Object.prototype.hasOwnProperty.call(module, enc))
20 | exports[enc] = module[enc];
21 | }
22 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/libmime/node_modules/libbase64/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | .jshintrc
3 | Gruntfile.js
4 | test
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/libmime/node_modules/libbase64/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 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 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/libmime/node_modules/libqp/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | .jshintrc
3 | Gruntfile.js
4 | test
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/libmime/node_modules/libqp/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 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 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/nodemailer-direct-transport/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "indent": 4,
3 | "node": true,
4 | "globalstrict": true,
5 | "evil": true,
6 | "unused": true,
7 | "undef": true,
8 | "newcap": true,
9 | "esnext": true,
10 | "curly": true,
11 | "eqeqeq": true,
12 | "expr": true,
13 |
14 | "predef": [
15 | "describe",
16 | "it",
17 | "beforeEach",
18 | "afterEach"
19 | ]
20 | }
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-direct-transport/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | tests
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-direct-transport/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v1.0.2 2015-03-09
4 |
5 | Bumped smtp-connection version and replaced simplesmtp based tests with smtp-server based ones.
6 |
7 | ## v1.0.0 2014-07-30
8 |
9 | Fixed a bug with stream buffering. Uses [mail.resolveContent](https://github.com/andris9/Nodemailer#resolvecontent) provided by Nodemailer v1.1.
10 |
11 | As the change includes a method from Nodemailer 1.1 and not 1.0, then changed the version scheme to use proper semver instead of 0.x.
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-direct-transport/Gruntfile.js:
--------------------------------------------------------------------------------
1 | module.exports = function(grunt) {
2 | 'use strict';
3 |
4 | // Project configuration.
5 | grunt.initConfig({
6 | jshint: {
7 | all: ['src/*.js', 'test/*.js'],
8 | options: {
9 | jshintrc: '.jshintrc'
10 | }
11 | },
12 |
13 | mochaTest: {
14 | all: {
15 | options: {
16 | reporter: 'spec'
17 | },
18 | src: ['test/*-test.js']
19 | }
20 | }
21 | });
22 |
23 | // Load the plugin(s)
24 | grunt.loadNpmTasks('grunt-contrib-jshint');
25 | grunt.loadNpmTasks('grunt-mocha-test');
26 |
27 | // Tasks
28 | grunt.registerTask('default', ['jshint', 'mochaTest']);
29 | };
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-direct-transport/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 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 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/nodemailer-direct-transport/node_modules/smtp-connection/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "indent": 4,
3 | "node": true,
4 | "globalstrict": true,
5 | "evil": true,
6 | "unused": true,
7 | "undef": true,
8 | "newcap": true,
9 | "esnext": true,
10 | "curly": true,
11 | "eqeqeq": true,
12 | "expr": true,
13 |
14 | "predef": [
15 | "describe",
16 | "it",
17 | "beforeEach",
18 | "afterEach"
19 | ]
20 | }
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-direct-transport/node_modules/smtp-connection/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | test
3 | examples
4 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-direct-transport/node_modules/smtp-connection/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v1.2.0 2015-03-09
4 |
5 | * Connection object has a new property `secure` that indicates if the current connection is using a secure TLS socket or not
6 | * Fixed `requireTLS` where the connection was established insecurely if STARTTLS failed, now it returns an error as it should if STARTTLS fails
7 |
8 | ## v1.1.0 2014-11-11
9 |
10 | * Added additional constructor option `requireTLS` to ensure that the connection is upgraded before any credentials are passed to the server
11 | * Added additional constructor option `socket` to use an existing socket instead of creating new one (bantu)
12 |
13 | ## v1.0.2 2014-10-15
14 |
15 | * Removed CleartextStream.pair.encrypted error handler. Does not seem to be supported by Node v0.11
16 |
17 | ## v1.0.1 2014-10-15
18 |
19 | * Added 'error' handler for CleartextStream.pair.encrypted object when connecting to TLS.
20 |
21 | ## v1.0.0 2014-09-26
22 |
23 | * Changed version scheme from 0.x to 1.x.
24 | * Improved error handling for timeout on creating a connection. Caused issues with `once('error')` handler as an error might have been emitted twice
25 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-direct-transport/node_modules/smtp-connection/Gruntfile.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = function(grunt) {
4 |
5 | // Project configuration.
6 | grunt.initConfig({
7 | jshint: {
8 | all: ['src/*.js', 'test/*.js'],
9 | options: {
10 | jshintrc: '.jshintrc'
11 | }
12 | },
13 |
14 | mochaTest: {
15 | all: {
16 | options: {
17 | reporter: 'spec'
18 | },
19 | src: ['test/*-test.js']
20 | }
21 | }
22 | });
23 |
24 | // Load the plugin(s)
25 | grunt.loadNpmTasks('grunt-contrib-jshint');
26 | grunt.loadNpmTasks('grunt-mocha-test');
27 |
28 | // Tasks
29 | grunt.registerTask('default', ['jshint', 'mochaTest']);
30 | };
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-direct-transport/node_modules/smtp-connection/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2014-2015 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 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/nodemailer-smtp-transport/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "indent": 4,
3 | "node": true,
4 | "globalstrict": true,
5 | "evil": true,
6 | "unused": true,
7 | "undef": true,
8 | "newcap": true,
9 | "esnext": true,
10 | "curly": true,
11 | "eqeqeq": true,
12 | "expr": true,
13 |
14 | "predef": [
15 | "describe",
16 | "it",
17 | "beforeEach",
18 | "afterEach"
19 | ]
20 | }
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | test
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/Gruntfile.js:
--------------------------------------------------------------------------------
1 | module.exports = function(grunt) {
2 | 'use strict';
3 |
4 | // Project configuration.
5 | grunt.initConfig({
6 | jshint: {
7 | all: ['src/*.js', 'test/*.js'],
8 | options: {
9 | jshintrc: '.jshintrc'
10 | }
11 | },
12 |
13 | mochaTest: {
14 | all: {
15 | options: {
16 | reporter: 'spec'
17 | },
18 | src: ['test/*-test.js']
19 | }
20 | }
21 | });
22 |
23 | // Load the plugin(s)
24 | grunt.loadNpmTasks('grunt-contrib-jshint');
25 | grunt.loadNpmTasks('grunt-mocha-test');
26 |
27 | // Tasks
28 | grunt.registerTask('default', ['jshint', 'mochaTest']);
29 | };
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 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 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/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.11"
5 | before_install:
6 | - npm install -g grunt-cli
7 | notifications:
8 | email:
9 | - andris@kreata.ee
10 | webhooks:
11 | urls:
12 | - https://webhooks.gitter.im/e/0ed18fd9b3e529b3c2cc
13 | on_success: change # options: [always|never|change] default: always
14 | on_failure: always # options: [always|never|change] default: always
15 | on_start: false # default: false
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 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 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/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/test.js:
--------------------------------------------------------------------------------
1 | var wellknown = require('./index');
2 |
3 | module.exports['Find by key'] = function(test) {
4 | test.ok(wellknown('Gmail'));
5 | test.done();
6 | };
7 |
8 | module.exports['Find by alias'] = function(test) {
9 | test.ok(wellknown('Google Mail'));
10 | test.done();
11 | };
12 |
13 | module.exports['Find by domain'] = function(test) {
14 | test.ok(wellknown('GoogleMail.com'));
15 | test.done();
16 | };
17 |
18 | module.exports['No match'] = function(test) {
19 | test.ok(!wellknown('zzzzzz'));
20 | test.done();
21 | };
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "indent": 4,
3 | "node": true,
4 | "globalstrict": true,
5 | "evil": true,
6 | "unused": true,
7 | "undef": true,
8 | "newcap": true,
9 | "esnext": true,
10 | "curly": true,
11 | "eqeqeq": true,
12 | "expr": true,
13 |
14 | "predef": [
15 | "describe",
16 | "it",
17 | "beforeEach",
18 | "afterEach"
19 | ]
20 | }
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | test
3 | examples
4 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v1.2.0 2015-03-09
4 |
5 | * Connection object has a new property `secure` that indicates if the current connection is using a secure TLS socket or not
6 | * Fixed `requireTLS` where the connection was established insecurely if STARTTLS failed, now it returns an error as it should if STARTTLS fails
7 |
8 | ## v1.1.0 2014-11-11
9 |
10 | * Added additional constructor option `requireTLS` to ensure that the connection is upgraded before any credentials are passed to the server
11 | * Added additional constructor option `socket` to use an existing socket instead of creating new one (bantu)
12 |
13 | ## v1.0.2 2014-10-15
14 |
15 | * Removed CleartextStream.pair.encrypted error handler. Does not seem to be supported by Node v0.11
16 |
17 | ## v1.0.1 2014-10-15
18 |
19 | * Added 'error' handler for CleartextStream.pair.encrypted object when connecting to TLS.
20 |
21 | ## v1.0.0 2014-09-26
22 |
23 | * Changed version scheme from 0.x to 1.x.
24 | * Improved error handling for timeout on creating a connection. Caused issues with `once('error')` handler as an error might have been emitted twice
25 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/Gruntfile.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = function(grunt) {
4 |
5 | // Project configuration.
6 | grunt.initConfig({
7 | jshint: {
8 | all: ['src/*.js', 'test/*.js'],
9 | options: {
10 | jshintrc: '.jshintrc'
11 | }
12 | },
13 |
14 | mochaTest: {
15 | all: {
16 | options: {
17 | reporter: 'spec'
18 | },
19 | src: ['test/*-test.js']
20 | }
21 | }
22 | });
23 |
24 | // Load the plugin(s)
25 | grunt.loadNpmTasks('grunt-contrib-jshint');
26 | grunt.loadNpmTasks('grunt-mocha-test');
27 |
28 | // Tasks
29 | grunt.registerTask('default', ['jshint', 'mochaTest']);
30 | };
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2014-2015 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 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 |
--------------------------------------------------------------------------------
/output.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeforgeek/mass-mailer-nodejs/89154fb5a4994614dd69eddfd0f7dd372e1c9bfe/output.png
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "async-nodejs-demo",
3 | "version": "0.0.1",
4 | "dependencies": {
5 | "async": "~0.9.0",
6 | "mongoose": "^4.0.1",
7 | "nodemailer": "latest"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------