diff options
author | Rebecca Turner <me@re-becca.org> | 2015-08-21 00:14:56 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-08-21 22:30:51 +0300 |
commit | 337f96aa19a52b6f0d2eec12cb4159710d6ee911 (patch) | |
tree | be2d7ad1683aee9397e9522a7a632e683742509d /node_modules/chalk | |
parent | d395a6b8767853eede6ad4502266ac99504f51a8 (diff) |
chalk@1.1.1
Diffstat (limited to 'node_modules/chalk')
-rw-r--r-- | node_modules/chalk/index.js | 4 | ||||
-rw-r--r-- | node_modules/chalk/package.json | 62 | ||||
-rw-r--r-- | node_modules/chalk/readme.md | 5 |
3 files changed, 42 insertions, 29 deletions
diff --git a/node_modules/chalk/index.js b/node_modules/chalk/index.js index cbe928862..2d85a9174 100644 --- a/node_modules/chalk/index.js +++ b/node_modules/chalk/index.js @@ -36,7 +36,7 @@ var styles = (function () { var proto = defineProps(function chalk() {}, styles); function build(_styles) { - var builder = function builder() { + var builder = function () { return applyStyle.apply(builder, arguments); }; @@ -44,7 +44,7 @@ function build(_styles) { builder.enabled = this.enabled; // __proto__ is used because we must return a function, but there is // no way to create a function with a different prototype. - /*eslint no-proto: 0 */ + /* eslint-disable no-proto */ builder.__proto__ = proto; return builder; diff --git a/node_modules/chalk/package.json b/node_modules/chalk/package.json index 08a4a5a8e..d3c9b4a74 100644 --- a/node_modules/chalk/package.json +++ b/node_modules/chalk/package.json @@ -1,37 +1,41 @@ { "_args": [ [ - "chalk@^1.0.0", - "/Users/rebecca/code/npm/node_modules/har-validator" + "chalk@1.1.1", + "/Users/rebecca/code/npm" ] ], - "_from": "chalk@>=1.0.0 <2.0.0", - "_id": "chalk@1.1.0", + "_from": "chalk@1.1.1", + "_id": "chalk@1.1.1", "_inCache": true, "_location": "/chalk", - "_nodeVersion": "0.12.4", + "_nodeVersion": "0.12.7", "_npmUser": { - "email": "jappelman@xebia.com", - "name": "jbnicolai" + "email": "sindresorhus@gmail.com", + "name": "sindresorhus" }, - "_npmVersion": "2.10.1", + "_npmVersion": "2.13.5", "_phantomChildren": {}, "_requested": { "name": "chalk", - "raw": "chalk@^1.0.0", - "rawSpec": "^1.0.0", + "raw": "chalk@1.1.1", + "rawSpec": "1.1.1", "scope": null, - "spec": ">=1.0.0 <2.0.0", - "type": "range" + "spec": "1.1.1", + "type": "version" }, "_requiredBy": [ - "/har-validator" + "#USER", + "/eslint", + "/har-validator", + "/inquirer", + "/unicode-length" ], - "_resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.0.tgz", - "_shasum": "09b453cec497a75520e4a60ae48214a8700e0921", + "_resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz", + "_shasum": "509afb67066e7499f7eb3535c77445772ae2d019", "_shrinkwrap": null, - "_spec": "chalk@^1.0.0", - "_where": "/Users/rebecca/code/npm/node_modules/har-validator", + "_spec": "chalk@1.1.1", + "_where": "/Users/rebecca/code/npm", "bugs": { "url": "https://github.com/chalk/chalk/issues" }, @@ -50,12 +54,13 @@ "nyc": "^3.0.0", "require-uncached": "^1.0.2", "resolve-from": "^1.0.0", - "semver": "^4.3.3" + "semver": "^4.3.3", + "xo": "*" }, "directories": {}, "dist": { - "shasum": "09b453cec497a75520e4a60ae48214a8700e0921", - "tarball": "http://registry.npmjs.org/chalk/-/chalk-1.1.0.tgz" + "shasum": "509afb67066e7499f7eb3535c77445772ae2d019", + "tarball": "http://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz" }, "engines": { "node": ">=0.10.0" @@ -63,8 +68,9 @@ "files": [ "index.js" ], - "gitHead": "e9bb6e6000b1c5d4508afabfdc85dd70f582f515", - "homepage": "https://github.com/chalk/chalk", + "gitHead": "8b554e254e89c85c1fd04dcc444beeb15824e1a5", + "homepage": "https://github.com/chalk/chalk#readme", + "installable": true, "keywords": [ "256", "ansi", @@ -107,13 +113,19 @@ "optionalDependencies": {}, "repository": { "type": "git", - "url": "https://github.com/chalk/chalk" + "url": "git+https://github.com/chalk/chalk.git" }, "scripts": { "bench": "matcha benchmark.js", "coverage": "nyc npm test && nyc report", "coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls", - "test": "mocha" + "test": "xo && mocha" }, - "version": "1.1.0" + "version": "1.1.1", + "xo": { + "envs": [ + "mocha", + "node" + ] + } } diff --git a/node_modules/chalk/readme.md b/node_modules/chalk/readme.md index f757e59d6..5cf111e35 100644 --- a/node_modules/chalk/readme.md +++ b/node_modules/chalk/readme.md @@ -30,7 +30,7 @@ - Clean and focused - Auto-detects color support - Actively maintained -- [Used by ~4000 modules](https://www.npmjs.com/browse/depended/chalk) as of May 24, 2015 +- [Used by ~4500 modules](https://www.npmjs.com/browse/depended/chalk) as of July 15, 2015 ## Install @@ -189,7 +189,7 @@ if (!chalk.supportsColor) { ## 256-colors -Chalk does not support support anything other than the base eight colors, which guarantees it will work on all terminals and systems. Some terminals, specifically `xterm` compliant ones, will support the full range of 8-bit colors. For this the lower level [ansi-256-colors](https://github.com/jbnicolai/ansi-256-colors) package can be used. +Chalk does not support anything other than the base eight colors, which guarantees it will work on all terminals and systems. Some terminals, specifically `xterm` compliant ones, will support the full range of 8-bit colors. For this the lower level [ansi-256-colors](https://github.com/jbnicolai/ansi-256-colors) package can be used. ## Windows @@ -205,6 +205,7 @@ If you're on Windows, do yourself a favor and use [`cmder`](http://bliker.github - [strip-ansi](https://github.com/chalk/strip-ansi) - Strip ANSI escape codes - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes +- [wrap-ansi](https://github.com/chalk/wrap-ansi) - Wordwrap a string with ANSI escape codes ## License |