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:
authorForrest L Norvell <forrest@npmjs.com>2015-10-15 08:17:03 +0300
committerRebecca Turner <me@re-becca.org>2015-10-16 01:25:33 +0300
commit25a234b4595ee3f1a2c09e2a39e3c238aa642557 (patch)
treedef772e3c15c7bd3d0b05eeeb6069898617cbf23 /node_modules/ansicolors
parent4cd74b0cdc639081fcf292eb9a03dbd93451c7c0 (diff)
src: install npm@3 with npm@2
Restore the ability to do one-shot upgrades from the versions of npm bundled with Node 0.8 to npm@3, which simplifies using Travis with old Node and new npm, for compatibility testing purposes. Older versions of npm repack packages on install, which works poorly with the way npm@3 handles bundledDependencies with flat trees. Fixes: #9668 PR-URL: https://github.com/npm/npm/pull/9981
Diffstat (limited to 'node_modules/ansicolors')
-rw-r--r--node_modules/ansicolors/package.json84
1 files changed, 29 insertions, 55 deletions
diff --git a/node_modules/ansicolors/package.json b/node_modules/ansicolors/package.json
index b759eb47c..6eef1fd18 100644
--- a/node_modules/ansicolors/package.json
+++ b/node_modules/ansicolors/package.json
@@ -1,77 +1,51 @@
{
- "_args": [
- [
- "ansicolors@~0.3.2",
- "/Users/rebecca/code/npm"
- ]
- ],
- "_from": "ansicolors@>=0.3.2 <0.4.0",
- "_id": "ansicolors@0.3.2",
- "_inCache": true,
- "_location": "/ansicolors",
- "_npmUser": {
- "email": "thlorenz@gmx.de",
- "name": "thlorenz"
+ "name": "ansicolors",
+ "version": "0.3.2",
+ "description": "Functions that surround a string with ansicolor codes so it prints in color.",
+ "main": "ansicolors.js",
+ "scripts": {
+ "test": "node test/*.js"
},
- "_npmVersion": "1.3.11",
- "_phantomChildren": {},
- "_requested": {
- "name": "ansicolors",
- "raw": "ansicolors@~0.3.2",
- "rawSpec": "~0.3.2",
- "scope": null,
- "spec": ">=0.3.2 <0.4.0",
- "type": "range"
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/thlorenz/ansicolors.git"
},
- "_requiredBy": [
- "/"
+ "keywords": [
+ "ansi",
+ "colors",
+ "highlight",
+ "string"
],
- "_resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz",
- "_shasum": "665597de86a9ffe3aa9bfbe6cae5c6ea426b4979",
- "_shrinkwrap": null,
- "_spec": "ansicolors@~0.3.2",
- "_where": "/Users/rebecca/code/npm",
"author": {
- "email": "thlorenz@gmx.de",
"name": "Thorsten Lorenz",
+ "email": "thlorenz@gmx.de",
"url": "thlorenz.com"
},
+ "license": "MIT",
+ "readmeFilename": "README.md",
+ "gitHead": "858847ca28e8b360d9b70eee0592700fa2ab087d",
+ "readme": "# ansicolors [![build status](https://secure.travis-ci.org/thlorenz/ansicolors.png)](http://next.travis-ci.org/thlorenz/ansicolors)\n\nFunctions that surround a string with ansicolor codes so it prints in color.\n\nIn case you need styles, like `bold`, have a look at [ansistyles](https://github.com/thlorenz/ansistyles).\n\n## Installation\n\n npm install ansicolors\n\n## Usage\n\n```js\nvar colors = require('ansicolors');\n\n// foreground colors\nvar redHerring = colors.red('herring');\nvar blueMoon = colors.blue('moon');\nvar brighBlueMoon = colors.brightBlue('moon');\n\nconsole.log(redHerring); // this will print 'herring' in red\nconsole.log(blueMoon); // this 'moon' in blue\nconsole.log(brightBlueMoon); // I think you got the idea\n\n// background colors\nconsole.log(colors.bgYellow('printed on yellow background'));\nconsole.log(colors.bgBrightBlue('printed on bright blue background'));\n\n// mixing background and foreground colors\n// below two lines have same result (order in which bg and fg are combined doesn't matter)\nconsole.log(colors.bgYellow(colors.blue('printed on yellow background in blue')));\nconsole.log(colors.blue(colors.bgYellow('printed on yellow background in blue')));\n```\n\n## Advanced API\n\n**ansicolors** allows you to access opening and closing escape sequences separately.\n\n```js\nvar colors = require('ansicolors');\n\nfunction inspect(obj, depth) {\n return require('util').inspect(obj, false, depth || 5, true);\n}\n\nconsole.log('open blue', inspect(colors.open.blue));\nconsole.log('close bgBlack', inspect(colors.close.bgBlack));\n\n// => open blue '\\u001b[34m'\n// close bgBlack '\\u001b[49m'\n```\n\n## Tests\n\nLook at the [tests](https://github.com/thlorenz/ansicolors/blob/master/test/ansicolors.js) to see more examples and/or run them via: \n\n npm explore ansicolors && npm test\n\n## Alternatives\n\n**ansicolors** tries to meet simple use cases with a very simple API. However, if you need a more powerful ansi formatting tool, \nI'd suggest to look at the [features](https://github.com/TooTallNate/ansi.js#features) of the [ansi module](https://github.com/TooTallNate/ansi.js).\n",
"bugs": {
"url": "https://github.com/thlorenz/ansicolors/issues"
},
- "dependencies": {},
- "description": "Functions that surround a string with ansicolor codes so it prints in color.",
- "devDependencies": {},
- "directories": {},
+ "_id": "ansicolors@0.3.2",
"dist": {
"shasum": "665597de86a9ffe3aa9bfbe6cae5c6ea426b4979",
"tarball": "http://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz"
},
- "gitHead": "858847ca28e8b360d9b70eee0592700fa2ab087d",
- "keywords": [
- "ansi",
- "colors",
- "highlight",
- "string"
- ],
- "license": "MIT",
- "main": "ansicolors.js",
+ "_from": "ansicolors@>=0.3.2 <0.4.0",
+ "_npmVersion": "1.3.11",
+ "_npmUser": {
+ "name": "thlorenz",
+ "email": "thlorenz@gmx.de"
+ },
"maintainers": [
{
"name": "thlorenz",
"email": "thlorenz@gmx.de"
}
],
- "name": "ansicolors",
- "optionalDependencies": {},
- "readme": "# ansicolors [![build status](https://secure.travis-ci.org/thlorenz/ansicolors.png)](http://next.travis-ci.org/thlorenz/ansicolors)\n\nFunctions that surround a string with ansicolor codes so it prints in color.\n\nIn case you need styles, like `bold`, have a look at [ansistyles](https://github.com/thlorenz/ansistyles).\n\n## Installation\n\n npm install ansicolors\n\n## Usage\n\n```js\nvar colors = require('ansicolors');\n\n// foreground colors\nvar redHerring = colors.red('herring');\nvar blueMoon = colors.blue('moon');\nvar brighBlueMoon = colors.brightBlue('moon');\n\nconsole.log(redHerring); // this will print 'herring' in red\nconsole.log(blueMoon); // this 'moon' in blue\nconsole.log(brightBlueMoon); // I think you got the idea\n\n// background colors\nconsole.log(colors.bgYellow('printed on yellow background'));\nconsole.log(colors.bgBrightBlue('printed on bright blue background'));\n\n// mixing background and foreground colors\n// below two lines have same result (order in which bg and fg are combined doesn't matter)\nconsole.log(colors.bgYellow(colors.blue('printed on yellow background in blue')));\nconsole.log(colors.blue(colors.bgYellow('printed on yellow background in blue')));\n```\n\n## Advanced API\n\n**ansicolors** allows you to access opening and closing escape sequences separately.\n\n```js\nvar colors = require('ansicolors');\n\nfunction inspect(obj, depth) {\n return require('util').inspect(obj, false, depth || 5, true);\n}\n\nconsole.log('open blue', inspect(colors.open.blue));\nconsole.log('close bgBlack', inspect(colors.close.bgBlack));\n\n// => open blue '\\u001b[34m'\n// close bgBlack '\\u001b[49m'\n```\n\n## Tests\n\nLook at the [tests](https://github.com/thlorenz/ansicolors/blob/master/test/ansicolors.js) to see more examples and/or run them via: \n\n npm explore ansicolors && npm test\n\n## Alternatives\n\n**ansicolors** tries to meet simple use cases with a very simple API. However, if you need a more powerful ansi formatting tool, \nI'd suggest to look at the [features](https://github.com/TooTallNate/ansi.js#features) of the [ansi module](https://github.com/TooTallNate/ansi.js).\n",
- "readmeFilename": "README.md",
- "repository": {
- "type": "git",
- "url": "git://github.com/thlorenz/ansicolors.git"
- },
- "scripts": {
- "test": "node test/*.js"
- },
- "version": "0.3.2"
+ "directories": {},
+ "_shasum": "665597de86a9ffe3aa9bfbe6cae5c6ea426b4979",
+ "_resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz"
}