forked from public/fvtt-cthulhu-eternal
Initial import with skill sheet working
This commit is contained in:
22
node_modules/mute-stdout/LICENSE
generated
vendored
Normal file
22
node_modules/mute-stdout/LICENSE
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015, 2018, 2021 Blaine Bublitz <blaine.bublitz@gmail.com> and Eric Schoffstall <yo@contra.io>
|
||||
|
||||
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.
|
||||
|
51
node_modules/mute-stdout/README.md
generated
vendored
Normal file
51
node_modules/mute-stdout/README.md
generated
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
<p align="center">
|
||||
<a href="http://gulpjs.com">
|
||||
<img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
# mute-stdout
|
||||
|
||||
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
|
||||
|
||||
Mute and unmute stdout.
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var stdout = require('mute-stdout');
|
||||
|
||||
stdout.mute();
|
||||
|
||||
console.log('will not print');
|
||||
|
||||
stdout.unmute();
|
||||
|
||||
console.log('will print');
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### mute()
|
||||
|
||||
Mutes the `process.stdout` stream by replacing the `write` method with a no-op function.
|
||||
|
||||
### unmute()
|
||||
|
||||
Unmutes the `process.stdout` stream by restoring the original `write` method.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
[downloads-image]: http://img.shields.io/npm/dm/mute-stdout.svg?style=flat-square
|
||||
[npm-url]: https://www.npmjs.com/package/mute-stdout
|
||||
[npm-image]: http://img.shields.io/npm/v/mute-stdout.svg?style=flat-square
|
||||
|
||||
[ci-url]: https://github.com/gulpjs/mute-stdout/actions?query=workflow:dev
|
||||
[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/mute-stdout/dev?style=flat-square
|
||||
|
||||
[coveralls-url]: https://coveralls.io/r/gulpjs/mute-stdout
|
||||
[coveralls-image]: http://img.shields.io/coveralls/gulpjs/mute-stdout/master.svg
|
||||
<!-- prettier-ignore-end -->
|
19
node_modules/mute-stdout/index.js
generated
vendored
Normal file
19
node_modules/mute-stdout/index.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
var ogWrite = process.stdout.write;
|
||||
|
||||
var muteStdout = { mute: mute, unmute: noop };
|
||||
|
||||
function noop() {}
|
||||
|
||||
function mute() {
|
||||
muteStdout.unmute = unmute;
|
||||
process.stdout.write = noop;
|
||||
}
|
||||
|
||||
function unmute() {
|
||||
process.stdout.write = ogWrite;
|
||||
muteStdout.unmute = noop;
|
||||
}
|
||||
|
||||
module.exports = muteStdout;
|
47
node_modules/mute-stdout/package.json
generated
vendored
Normal file
47
node_modules/mute-stdout/package.json
generated
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"name": "mute-stdout",
|
||||
"version": "2.0.0",
|
||||
"description": "Mute and unmute stdout.",
|
||||
"author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)",
|
||||
"contributors": [
|
||||
"Blaine Bublitz <blaine.bublitz@gmail.com>"
|
||||
],
|
||||
"repository": "gulpjs/mute-stdout",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 10.13.0"
|
||||
},
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"index.js"
|
||||
],
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"pretest": "npm run lint",
|
||||
"test": "nyc mocha --async-only"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-gulp": "^5.0.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"expect": "^27.3.1",
|
||||
"mocha": "^8.4.0",
|
||||
"nyc": "^15.1.0",
|
||||
"sinon": "^12.0.1"
|
||||
},
|
||||
"nyc": {
|
||||
"reporter": [
|
||||
"lcov",
|
||||
"text-summary"
|
||||
]
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true
|
||||
},
|
||||
"keywords": [
|
||||
"mute",
|
||||
"silence is golden",
|
||||
"stdout"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user