Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-08-14 10:24:25 +0300
committerRebecca Turner <me@re-becca.org>2015-08-14 22:25:45 +0300
commite429a481dc050420b045f88b89d4db54cb7095be (patch)
treea2aff25fd6f3b3b61b0d7ad13982355fca93fe9a /node_modules/ansi-regex
parent797d3ca59e74b26a2466c80ed2d519a070f7a194 (diff)
columnify@1.5.2
Diffstat (limited to 'node_modules/ansi-regex')
-rw-r--r--node_modules/ansi-regex/index.js2
-rw-r--r--node_modules/ansi-regex/package.json45
-rw-r--r--node_modules/ansi-regex/readme.md4
3 files changed, 26 insertions, 25 deletions
diff --git a/node_modules/ansi-regex/index.js b/node_modules/ansi-regex/index.js
index 2fcdd1e47..4906755bc 100644
--- a/node_modules/ansi-regex/index.js
+++ b/node_modules/ansi-regex/index.js
@@ -1,4 +1,4 @@
'use strict';
module.exports = function () {
- return /(?:(?:\u001b\[)|\u009b)(?:(?:[0-9]{1,3})?(?:(?:;[0-9]{0,3})*)?[A-M|f-m])|\u001b[A-M]/g;
+ return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
};
diff --git a/node_modules/ansi-regex/package.json b/node_modules/ansi-regex/package.json
index 54782d70e..5f3f32c65 100644
--- a/node_modules/ansi-regex/package.json
+++ b/node_modules/ansi-regex/package.json
@@ -1,42 +1,43 @@
{
"_args": [
[
- "ansi-regex@^1.0.0",
- "/Users/rebecca/code/npm/node_modules/strip-ansi"
+ "ansi-regex@^2.0.0",
+ "/Users/rebecca/code/npm/node_modules/chalk/node_modules/strip-ansi"
]
],
- "_from": "ansi-regex@>=1.0.0 <2.0.0",
- "_id": "ansi-regex@1.1.1",
+ "_from": "ansi-regex@>=2.0.0 <3.0.0",
+ "_id": "ansi-regex@2.0.0",
"_inCache": true,
"_location": "/ansi-regex",
- "_nodeVersion": "0.10.35",
+ "_nodeVersion": "0.12.5",
"_npmUser": {
- "email": "jappelman@xebia.com",
- "name": "jbnicolai"
+ "email": "sindresorhus@gmail.com",
+ "name": "sindresorhus"
},
- "_npmVersion": "2.1.16",
+ "_npmVersion": "2.11.2",
"_phantomChildren": {},
"_requested": {
"name": "ansi-regex",
- "raw": "ansi-regex@^1.0.0",
- "rawSpec": "^1.0.0",
+ "raw": "ansi-regex@^2.0.0",
+ "rawSpec": "^2.0.0",
"scope": null,
- "spec": ">=1.0.0 <2.0.0",
+ "spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
+ "/columnify/strip-ansi",
"/has-ansi",
"/strip-ansi"
],
- "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-1.1.1.tgz",
- "_shasum": "41c847194646375e6a1a5d10c3ca054ef9fc980d",
+ "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz",
+ "_shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
"_shrinkwrap": null,
- "_spec": "ansi-regex@^1.0.0",
- "_where": "/Users/rebecca/code/npm/node_modules/strip-ansi",
+ "_spec": "ansi-regex@^2.0.0",
+ "_where": "/Users/rebecca/code/npm/node_modules/chalk/node_modules/strip-ansi",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
- "url": "http://sindresorhus.com"
+ "url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/ansi-regex/issues"
@@ -48,8 +49,8 @@
},
"directories": {},
"dist": {
- "shasum": "41c847194646375e6a1a5d10c3ca054ef9fc980d",
- "tarball": "http://registry.npmjs.org/ansi-regex/-/ansi-regex-1.1.1.tgz"
+ "shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
+ "tarball": "http://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz"
},
"engines": {
"node": ">=0.10.0"
@@ -57,7 +58,7 @@
"files": [
"index.js"
],
- "gitHead": "47fb974630af70998157b30fad6eb5e5bd7c7cd6",
+ "gitHead": "57c3f2941a73079fa8b081e02a522e3d29913e2f",
"homepage": "https://github.com/sindresorhus/ansi-regex",
"keywords": [
"256",
@@ -99,13 +100,15 @@
],
"name": "ansi-regex",
"optionalDependencies": {},
+ "readme": "# ansi-regex [![Build Status](https://travis-ci.org/sindresorhus/ansi-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-regex)\n\n> Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)\n\n\n## Install\n\n```\n$ npm install --save ansi-regex\n```\n\n\n## Usage\n\n```js\nvar ansiRegex = require('ansi-regex');\n\nansiRegex().test('\\u001b[4mcake\\u001b[0m');\n//=> true\n\nansiRegex().test('cake');\n//=> false\n\n'\\u001b[4mcake\\u001b[0m'.match(ansiRegex());\n//=> ['\\u001b[4m', '\\u001b[0m']\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
"repository": {
"type": "git",
- "url": "https://github.com/sindresorhus/ansi-regex"
+ "url": "git+https://github.com/sindresorhus/ansi-regex.git"
},
"scripts": {
"test": "mocha test/test.js",
"view-supported": "node test/viewCodes.js"
},
- "version": "1.1.1"
+ "version": "2.0.0"
}
diff --git a/node_modules/ansi-regex/readme.md b/node_modules/ansi-regex/readme.md
index ae876e729..1a4894ec1 100644
--- a/node_modules/ansi-regex/readme.md
+++ b/node_modules/ansi-regex/readme.md
@@ -5,7 +5,7 @@
## Install
-```sh
+```
$ npm install --save ansi-regex
```
@@ -25,8 +25,6 @@ ansiRegex().test('cake');
//=> ['\u001b[4m', '\u001b[0m']
```
-*It's a function so you can create multiple instances. Regexes with the global flag will have the `.lastIndex` property changed for each call to methods on the instance. Therefore reusing the instance with multiple calls will not work as expected for `.test()`.*
-
## License