aboutsummaryrefslogtreecommitdiff
path: root/node_modules/debug-log
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/debug-log
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
remove node_modules
Diffstat (limited to 'node_modules/debug-log')
-rw-r--r--node_modules/debug-log/index.js23
-rw-r--r--node_modules/debug-log/license21
-rw-r--r--node_modules/debug-log/package.json37
-rw-r--r--node_modules/debug-log/readme.md40
4 files changed, 0 insertions, 121 deletions
diff --git a/node_modules/debug-log/index.js b/node_modules/debug-log/index.js
deleted file mode 100644
index ce783650d..000000000
--- a/node_modules/debug-log/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-'use strict';
-// https://github.com/joyent/node/blob/fbfe562d71ae8d8f8bbf627808c755e513e4e905/lib/util.js#L96-L114
-var util = require('util');
-var debugEnv = process.env.NODE_DEBUG || '';
-var cache = {};
-
-module.exports = function (set) {
- set = set.toUpperCase();
-
- if (!cache[set]) {
- if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnv)) {
- var pid = process.pid;
-
- cache[set] = function () {
- console.error('%s %d: %s', set, pid, util.format.apply(util, arguments));
- };
- } else {
- cache[set] = function () {};
- }
- }
-
- return cache[set];
-};
diff --git a/node_modules/debug-log/license b/node_modules/debug-log/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/node_modules/debug-log/license
+++ /dev/null
@@ -1,21 +0,0 @@
-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.
diff --git a/node_modules/debug-log/package.json b/node_modules/debug-log/package.json
deleted file mode 100644
index c8be07696..000000000
--- a/node_modules/debug-log/package.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "name": "debug-log",
- "version": "1.0.1",
- "description": "Node.js 0.12 util.debuglog() ponyfill",
- "license": "MIT",
- "repository": "sindresorhus/debug-log",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "debug",
- "log",
- "logging",
- "debuglog",
- "built-in",
- "util",
- "utils",
- "core",
- "console",
- "env",
- "environment",
- "ponyfill",
- "polyfill",
- "shim"
- ]
-}
diff --git a/node_modules/debug-log/readme.md b/node_modules/debug-log/readme.md
deleted file mode 100644
index 1a0e2c81c..000000000
--- a/node_modules/debug-log/readme.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# debug-log [![Build Status](https://travis-ci.org/sindresorhus/debug-log.svg?branch=master)](https://travis-ci.org/sindresorhus/debug-log)
-
-> Node.js 0.12 [`util.debuglog()`](http://nodejs.org/api/util.html#util_util_debuglog_section) [ponyfill](https://ponyfill.com)
-
-
-## Install
-
-```
-$ npm install --save debug-log
-```
-
-
-## Usage
-
-```js
-// example.js
-var debugLog = require('debug-log')('foo');
-
-debugLog('unicorns & rainbows');
-```
-
-```
-$ node example.js
-
-```
-
-```
-$ NODE_DEBUG=foo node example.js
-FOO 3245: unicorns & rainbows
-```
-
-
-## API
-
-See the [`util.debuglog()` docs](http://nodejs.org/api/util.html#util_util_debuglog_section).
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)