forked from enviPath/enviPy
Current Dev State
This commit is contained in:
18
static/js/ketcher2/node_modules/log-symbols/index.js
generated
vendored
Normal file
18
static/js/ketcher2/node_modules/log-symbols/index.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
var chalk = require('chalk');
|
||||
|
||||
var main = {
|
||||
info: chalk.blue('ℹ'),
|
||||
success: chalk.green('✔'),
|
||||
warning: chalk.yellow('⚠'),
|
||||
error: chalk.red('✖')
|
||||
};
|
||||
|
||||
var win = {
|
||||
info: chalk.blue('i'),
|
||||
success: chalk.green('√'),
|
||||
warning: chalk.yellow('‼'),
|
||||
error: chalk.red('×')
|
||||
};
|
||||
|
||||
module.exports = process.platform === 'win32' ? win : main;
|
||||
21
static/js/ketcher2/node_modules/log-symbols/license
generated
vendored
Normal file
21
static/js/ketcher2/node_modules/log-symbols/license
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
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.
|
||||
78
static/js/ketcher2/node_modules/log-symbols/package.json
generated
vendored
Normal file
78
static/js/ketcher2/node_modules/log-symbols/package.json
generated
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
{
|
||||
"_from": "log-symbols@^1.0.2",
|
||||
"_id": "log-symbols@1.0.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=",
|
||||
"_location": "/log-symbols",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "log-symbols@^1.0.2",
|
||||
"name": "log-symbols",
|
||||
"escapedName": "log-symbols",
|
||||
"rawSpec": "^1.0.2",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.2"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/ora"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz",
|
||||
"_shasum": "376ff7b58ea3086a0f09facc74617eca501e1a18",
|
||||
"_spec": "log-symbols@^1.0.2",
|
||||
"_where": "/home/manfred/enviPath/ketcher2/ketcher/node_modules/ora",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "http://sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/log-symbols/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"chalk": "^1.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Colored symbols for various log levels. Example: ✔︎ success",
|
||||
"devDependencies": {
|
||||
"ava": "0.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/log-symbols#readme",
|
||||
"keywords": [
|
||||
"unicode",
|
||||
"cli",
|
||||
"cmd",
|
||||
"command-line",
|
||||
"characters",
|
||||
"char",
|
||||
"symbol",
|
||||
"symbols",
|
||||
"figure",
|
||||
"figures",
|
||||
"fallback",
|
||||
"win",
|
||||
"windows",
|
||||
"log",
|
||||
"logging",
|
||||
"terminal",
|
||||
"stdout"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "log-symbols",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/log-symbols.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"version": "1.0.2"
|
||||
}
|
||||
39
static/js/ketcher2/node_modules/log-symbols/readme.md
generated
vendored
Normal file
39
static/js/ketcher2/node_modules/log-symbols/readme.md
generated
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
# log-symbols [](https://travis-ci.org/sindresorhus/log-symbols)
|
||||
|
||||
> Colored symbols for various log levels
|
||||
|
||||
Includes fallbacks for Windows CMD which only supports a [limited character set](http://en.wikipedia.org/wiki/Code_page_437).
|
||||
|
||||

|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save log-symbols
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var logSymbols = require('log-symbols');
|
||||
|
||||
console.log(logSymbols.success, 'finished successfully!');
|
||||
// On real OSes: ✔ finished successfully!
|
||||
// On Windows: √ finished successfully!
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### logSymbols
|
||||
|
||||
#### info
|
||||
#### success
|
||||
#### warning
|
||||
#### error
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
Reference in New Issue
Block a user