added unit testing, and started implementing unit tests...phew

This commit is contained in:
Josh Burman
2019-03-12 22:28:02 -04:00
parent 74aad4a957
commit e8c2539f1b
3489 changed files with 464813 additions and 88 deletions

42
node_modules/triple-beam/config/cli.js generated vendored Normal file
View File

@ -0,0 +1,42 @@
/**
* cli.js: Config that conform to commonly used CLI logging levels.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*/
'use strict';
/**
* Default levels for the CLI configuration.
* @type {Object}
*/
exports.levels = {
error: 0,
warn: 1,
help: 2,
data: 3,
info: 4,
debug: 5,
prompt: 6,
verbose: 7,
input: 8,
silly: 9
};
/**
* Default colors for the CLI configuration.
* @type {Object}
*/
exports.colors = {
error: 'red',
warn: 'yellow',
help: 'cyan',
data: 'grey',
info: 'green',
debug: 'blue',
prompt: 'grey',
verbose: 'cyan',
input: 'grey',
silly: 'magenta'
};

32
node_modules/triple-beam/config/index.js generated vendored Normal file
View File

@ -0,0 +1,32 @@
/**
* index.js: Default settings for all levels that winston knows about.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*/
'use strict';
/**
* Export config set for the CLI.
* @type {Object}
*/
Object.defineProperty(exports, 'cli', {
value: require('./cli')
});
/**
* Export config set for npm.
* @type {Object}
*/
Object.defineProperty(exports, 'npm', {
value: require('./npm')
});
/**
* Export config set for the syslog.
* @type {Object}
*/
Object.defineProperty(exports, 'syslog', {
value: require('./syslog')
});

36
node_modules/triple-beam/config/npm.js generated vendored Normal file
View File

@ -0,0 +1,36 @@
/**
* npm.js: Config that conform to npm logging levels.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*/
'use strict';
/**
* Default levels for the npm configuration.
* @type {Object}
*/
exports.levels = {
error: 0,
warn: 1,
info: 2,
http: 3,
verbose: 4,
debug: 5,
silly: 6
};
/**
* Default levels for the npm configuration.
* @type {Object}
*/
exports.colors = {
error: 'red',
warn: 'yellow',
info: 'green',
http: 'green',
verbose: 'cyan',
debug: 'blue',
silly: 'magenta'
};

38
node_modules/triple-beam/config/syslog.js generated vendored Normal file
View File

@ -0,0 +1,38 @@
/**
* syslog.js: Config that conform to syslog logging levels.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*/
'use strict';
/**
* Default levels for the syslog configuration.
* @type {Object}
*/
exports.levels = {
emerg: 0,
alert: 1,
crit: 2,
error: 3,
warning: 4,
notice: 5,
info: 6,
debug: 7
};
/**
* Default levels for the syslog configuration.
* @type {Object}
*/
exports.colors = {
emerg: 'red',
alert: 'yellow',
crit: 'red',
error: 'red',
warning: 'red',
notice: 'yellow',
info: 'green',
debug: 'blue'
};