summaryrefslogtreecommitdiffstats
path: root/node_modules/has-ansi
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/has-ansi')
-rw-r--r--node_modules/has-ansi/index.js4
-rw-r--r--node_modules/has-ansi/license21
-rw-r--r--node_modules/has-ansi/package.json96
-rw-r--r--node_modules/has-ansi/readme.md36
4 files changed, 0 insertions, 157 deletions
diff --git a/node_modules/has-ansi/index.js b/node_modules/has-ansi/index.js
deleted file mode 100644
index 98fae06..0000000
--- a/node_modules/has-ansi/index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-'use strict';
-var ansiRegex = require('ansi-regex');
-var re = new RegExp(ansiRegex().source); // remove the `g` flag
-module.exports = re.test.bind(re);
diff --git a/node_modules/has-ansi/license b/node_modules/has-ansi/license
deleted file mode 100644
index 654d0bf..0000000
--- a/node_modules/has-ansi/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/has-ansi/package.json b/node_modules/has-ansi/package.json
deleted file mode 100644
index 405a495..0000000
--- a/node_modules/has-ansi/package.json
+++ /dev/null
@@ -1,96 +0,0 @@
-{
- "_from": "has-ansi@^2.0.0",
- "_id": "has-ansi@2.0.0",
- "_inBundle": false,
- "_integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
- "_location": "/has-ansi",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "has-ansi@^2.0.0",
- "name": "has-ansi",
- "escapedName": "has-ansi",
- "rawSpec": "^2.0.0",
- "saveSpec": null,
- "fetchSpec": "^2.0.0"
- },
- "_requiredBy": [
- "/babel-code-frame/chalk",
- "/node-sass/chalk"
- ],
- "_resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
- "_shasum": "34f5049ce1ecdf2b0649af3ef24e45ed35416d91",
- "_spec": "has-ansi@^2.0.0",
- "_where": "/home/pruss/Dev/3-minute-website/node_modules/babel-code-frame/node_modules/chalk",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/has-ansi/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "ansi-regex": "^2.0.0"
- },
- "deprecated": false,
- "description": "Check if a string has ANSI escape codes",
- "devDependencies": {
- "ava": "0.0.4"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/has-ansi#readme",
- "keywords": [
- "ansi",
- "styles",
- "color",
- "colour",
- "colors",
- "terminal",
- "console",
- "string",
- "tty",
- "escape",
- "shell",
- "xterm",
- "command-line",
- "text",
- "regex",
- "regexp",
- "re",
- "match",
- "test",
- "find",
- "pattern",
- "has"
- ],
- "license": "MIT",
- "maintainers": [
- {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- {
- "name": "Joshua Appelman",
- "email": "jappelman@xebia.com",
- "url": "jbnicolai.com"
- }
- ],
- "name": "has-ansi",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/has-ansi.git"
- },
- "scripts": {
- "test": "node test.js"
- },
- "version": "2.0.0"
-}
diff --git a/node_modules/has-ansi/readme.md b/node_modules/has-ansi/readme.md
deleted file mode 100644
index 02bc7c2..0000000
--- a/node_modules/has-ansi/readme.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# has-ansi [![Build Status](https://travis-ci.org/sindresorhus/has-ansi.svg?branch=master)](https://travis-ci.org/sindresorhus/has-ansi)
-
-> Check if a string has [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)
-
-
-## Install
-
-```
-$ npm install --save has-ansi
-```
-
-
-## Usage
-
-```js
-var hasAnsi = require('has-ansi');
-
-hasAnsi('\u001b[4mcake\u001b[0m');
-//=> true
-
-hasAnsi('cake');
-//=> false
-```
-
-
-## Related
-
-- [has-ansi-cli](https://github.com/sindresorhus/has-ansi-cli) - CLI for this module
-- [strip-ansi](https://github.com/sindresorhus/strip-ansi) - Strip ANSI escape codes
-- [ansi-regex](https://github.com/sindresorhus/ansi-regex) - Regular expression for matching ANSI escape codes
-- [chalk](https://github.com/sindresorhus/chalk) - Terminal string styling done right
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)