Initial
This commit is contained in:
21
resources/app/node_modules/triple-beam/LICENSE
generated
vendored
Normal file
21
resources/app/node_modules/triple-beam/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 winstonjs
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
42
resources/app/node_modules/triple-beam/config/cli.js
generated
vendored
Normal file
42
resources/app/node_modules/triple-beam/config/cli.js
generated
vendored
Normal 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
resources/app/node_modules/triple-beam/config/index.js
generated
vendored
Normal file
32
resources/app/node_modules/triple-beam/config/index.js
generated
vendored
Normal 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
resources/app/node_modules/triple-beam/config/npm.js
generated
vendored
Normal file
36
resources/app/node_modules/triple-beam/config/npm.js
generated
vendored
Normal 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
resources/app/node_modules/triple-beam/config/syslog.js
generated
vendored
Normal file
38
resources/app/node_modules/triple-beam/config/syslog.js
generated
vendored
Normal 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'
|
||||
};
|
||||
46
resources/app/node_modules/triple-beam/index.js
generated
vendored
Normal file
46
resources/app/node_modules/triple-beam/index.js
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* A shareable symbol constant that can be used
|
||||
* as a non-enumerable / semi-hidden level identifier
|
||||
* to allow the readable level property to be mutable for
|
||||
* operations like colorization
|
||||
*
|
||||
* @type {Symbol}
|
||||
*/
|
||||
Object.defineProperty(exports, 'LEVEL', {
|
||||
value: Symbol.for('level')
|
||||
});
|
||||
|
||||
/**
|
||||
* A shareable symbol constant that can be used
|
||||
* as a non-enumerable / semi-hidden message identifier
|
||||
* to allow the final message property to not have
|
||||
* side effects on another.
|
||||
*
|
||||
* @type {Symbol}
|
||||
*/
|
||||
Object.defineProperty(exports, 'MESSAGE', {
|
||||
value: Symbol.for('message')
|
||||
});
|
||||
|
||||
/**
|
||||
* A shareable symbol constant that can be used
|
||||
* as a non-enumerable / semi-hidden message identifier
|
||||
* to allow the extracted splat property be hidden
|
||||
*
|
||||
* @type {Symbol}
|
||||
*/
|
||||
Object.defineProperty(exports, 'SPLAT', {
|
||||
value: Symbol.for('splat')
|
||||
});
|
||||
|
||||
/**
|
||||
* A shareable object constant that can be used
|
||||
* as a standard configuration for winston@3.
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
Object.defineProperty(exports, 'configs', {
|
||||
value: require('./config')
|
||||
});
|
||||
23
resources/app/node_modules/triple-beam/package.json
generated
vendored
Normal file
23
resources/app/node_modules/triple-beam/package.json
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "triple-beam",
|
||||
"version": "1.4.1",
|
||||
"description": "Definitions of levels for logging purposes & shareable Symbol constants.",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/winstonjs/triple-beam.git"
|
||||
},
|
||||
"author": "Charlie Robbins <charlie.robbins@gmail.com>",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/winstonjs/triple-beam#readme",
|
||||
"devDependencies": {
|
||||
"assume": "^2.0.1",
|
||||
"@dabh/eslint-config-populist": "^5.0.0",
|
||||
"mocha": "^10.2.0",
|
||||
"nyc": "^15.1.0",
|
||||
"typescript": "^5.1.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user