{{ "%+010d"|sprintf:-123 }}10 |
{{ "%+010d"|vsprintf:[-123] }}11 |
{{ "%+010d"|fmt:-123 }}12 |
{{ "%+010d"|vfmt:[-123] }}13 |
{{ "I've got %2$d apples and %1$d oranges."|fmt:4:2 }}14 |
{{ "I've got %(apples)d apples and %(oranges)d oranges."|fmt:{apples: 2, oranges: 4} }}15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/dist/angular-sprintf.min.js: -------------------------------------------------------------------------------- 1 | /*! sprintf-js | Alexandru Marasteanu
hello
10 |
11 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xmlbuilder/.npmignore:
--------------------------------------------------------------------------------
1 | .gitignore
2 | .travis.yml
3 | Makefile
4 | .git/
5 | src/
6 | test/
7 | node_modules/
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xmlbuilder/lib/index.js:
--------------------------------------------------------------------------------
1 | // Generated by CoffeeScript 1.3.3
2 | (function() {
3 | var XMLBuilder;
4 |
5 | XMLBuilder = require('./XMLBuilder');
6 |
7 | module.exports.create = function(name, xmldec, doctype) {
8 | if (name != null) {
9 | return new XMLBuilder(name, xmldec, doctype).root();
10 | } else {
11 | return new XMLBuilder();
12 | }
13 | };
14 |
15 | }).call(this);
16 |
--------------------------------------------------------------------------------
/node_modules/nodemailer-ses-transport/node_modules/aws-sdk/scripts/translate-api:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var fs = require('fs');
4 | var Translator = require('./lib/translator');
5 | var util = require('util');
6 |
7 | var basePath = __dirname + '/../apis/';
8 | var paths = fs.readdirSync(basePath);
9 | var modelName = process.argv[2] || '';
10 |
11 | paths.forEach(function (path) {
12 | if (path.match(new RegExp(modelName + ".+\\.normal\\.json$"))) {
13 | var opath = path.replace(/\.normal\.json$/, '.min.json');
14 | var data = JSON.parse(fs.readFileSync(basePath + path).toString());
15 | var translated = new Translator(data, {documentation: false});
16 | var json = JSON.stringify(translated, null, ' ');
17 | fs.writeFileSync(basePath + opath, json);
18 | }
19 | });
20 |
--------------------------------------------------------------------------------
/node_modules/nodemailer-ses-transport/node_modules/aws-sdk/testem.json:
--------------------------------------------------------------------------------
1 | {
2 | "test_page": "test/browser/runner.html"
3 | }
4 |
--------------------------------------------------------------------------------
/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-smtp-transport/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | test
--------------------------------------------------------------------------------
/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-smtp-transport/node_modules/nodemailer-wellknown/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/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-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-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-smtp-transport/node_modules/smtp-connection/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | test
3 | examples
4 |
--------------------------------------------------------------------------------
/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v1.1.0 2014-11-11
4 |
5 | * Added additional constructor option `requireTLS` to ensure that the connection is upgraded before any credentials are passed to the server
6 | * Added additional constructor option `socket` to use an existing socket instead of creating new one (bantu)
7 |
8 | ## v1.0.2 2014-10-15
9 |
10 | * Removed CleartextStream.pair.encrypted error handler. Does not seem to be supported by Node v0.11
11 |
12 | ## v1.0.1 2014-10-15
13 |
14 | * Added 'error' handler for CleartextStream.pair.encrypted object when connecting to TLS.
15 |
16 | ## v1.0.0 2014-09-26
17 |
18 | * Changed version scheme from 0.x to 1.x.
19 | * Improved error handling for timeout on creating a connection. Caused issues with `once('error')` handler as an error might have been emitted twice
20 |
--------------------------------------------------------------------------------
/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/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/.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/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.11"
5 | before_install:
6 | - npm install -g grunt-cli
7 | notifications:
8 | email:
9 | - andris@kreata.ee
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/buildmail/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v1.2.0 2014-09-12
4 |
5 | * Allow functions as transform plugins (the function should create a stream object)
6 |
7 | ## v1.1.1 2014-08-21
8 |
9 | * Bumped libmime version to handle filenames with spaces properly. Short ascii only names with spaces were left unquoted.
10 |
11 | ## v1.1.0 2014-07-24
12 |
13 | * Added new method `getAddresses` that returns all used addresses as a structured object
14 | * 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/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/libbase64/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | .jshintrc
3 | Gruntfile.js
4 | test
--------------------------------------------------------------------------------
/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/hyperquest/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/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/duplexer/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | *.log
3 | *.err
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.11"
4 | - "0.10"
5 | - "0.8"
6 | - "0.6"
7 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/hyperquest/node_modules/through/LICENSE.APACHE2:
--------------------------------------------------------------------------------
1 | Apache License, Version 2.0
2 |
3 | Copyright (c) 2011 Dominic Tarr
4 |
5 | Licensed under the Apache License, Version 2.0 (the "License");
6 | you may not use this file except in compliance with the License.
7 | You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 |
--------------------------------------------------------------------------------
/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/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/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/libqp/.npmignore:
--------------------------------------------------------------------------------
1 | .travis.yml
2 | .jshintrc
3 | Gruntfile.js
4 | test
--------------------------------------------------------------------------------
/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.0 2014-07-30
4 |
5 | Fixed a bug with stream buffering. Uses [mail.resolveContent](https://github.com/andris9/Nodemailer#resolvecontent) provided by Nodemailer v1.1.
6 |
7 | 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/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/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/.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/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/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.1.0 2014-11-11
4 |
5 | * Added additional constructor option `requireTLS` to ensure that the connection is upgraded before any credentials are passed to the server
6 | * Added additional constructor option `socket` to use an existing socket instead of creating new one (bantu)
7 |
8 | ## v1.0.2 2014-10-15
9 |
10 | * Removed CleartextStream.pair.encrypted error handler. Does not seem to be supported by Node v0.11
11 |
12 | ## v1.0.1 2014-10-15
13 |
14 | * Added 'error' handler for CleartextStream.pair.encrypted object when connecting to TLS.
15 |
16 | ## v1.0.0 2014-09-26
17 |
18 | * Changed version scheme from 0.x to 1.x.
19 | * Improved error handling for timeout on creating a connection. Caused issues with `once('error')` handler as an error might have been emitted twice
20 |
--------------------------------------------------------------------------------
/node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/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/util/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/util/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - '0.8'
4 | - '0.10'
5 | env:
6 | global:
7 | - secure: AdUubswCR68/eGD+WWjwTHgFbelwQGnNo81j1IOaUxKw+zgFPzSnFEEtDw7z98pWgg7p9DpCnyzzSnSllP40wq6AG19OwyUJjSLoZK57fp+r8zwTQwWiSqUgMu2YSMmKJPIO/aoSGpRQXT+L1nRrHoUJXgFodyIZgz40qzJeZjc=
8 | - secure: heQuxPVsQ7jBbssoVKimXDpqGjQFiucm6W5spoujmspjDG7oEcHD9ANo9++LoRPrsAmNx56SpMK5fNfVmYediw6SvhXm4Mxt56/fYCrLDBtgGG+1neCeffAi8z1rO8x48m77hcQ6YhbUL5R9uBimUjMX92fZcygAt8Rg804zjFo=
9 |
--------------------------------------------------------------------------------
/node_modules/util/.zuul.yml:
--------------------------------------------------------------------------------
1 | ui: mocha-qunit
2 | browsers:
3 | - name: chrome
4 | version: 27..latest
5 | - name: firefox
6 | version: latest
7 | - name: safari
8 | version: latest
9 | - name: ie
10 | version: 9..latest
11 |
--------------------------------------------------------------------------------
/node_modules/util/README.md:
--------------------------------------------------------------------------------
1 | # util
2 |
3 | [](https://travis-ci.org/defunctzombie/node-util)
4 |
5 | node.js [util](http://nodejs.org/api/util.html) module as a module
6 |
7 | ## install via [npm](npmjs.org)
8 |
9 | ```shell
10 | npm install util
11 | ```
12 |
13 | ## browser support
14 |
15 | This module also works in modern browsers. If you need legacy browser support you will need to polyfill ES5 features.
16 |
--------------------------------------------------------------------------------
/node_modules/util/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/util/node_modules/inherits/inherits.js:
--------------------------------------------------------------------------------
1 | module.exports = require('util').inherits
2 |
--------------------------------------------------------------------------------
/node_modules/util/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/util/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/util/support/isBuffer.js:
--------------------------------------------------------------------------------
1 | module.exports = function isBuffer(arg) {
2 | return arg instanceof Buffer;
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/util/support/isBufferBrowser.js:
--------------------------------------------------------------------------------
1 | module.exports = function isBuffer(arg) {
2 | return arg && typeof arg === 'object'
3 | && typeof arg.copy === 'function'
4 | && typeof arg.fill === 'function'
5 | && typeof arg.readUInt8 === 'function';
6 | }
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "lambdaSubmissionFunction",
3 | "version": "1.0.0",
4 | "description": "Amazon Lambda Function for processing S3 bucket events",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "git@github.com:rmauge/aws-lambda-s3-email.git"
12 | },
13 | "author": "Raymond Mauge