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:
-rw-r--r--node_modules/has-unicode/.npmignore (renamed from node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/.npmignore)0
-rw-r--r--node_modules/has-unicode/LICENSE (renamed from node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/LICENSE)1
-rw-r--r--node_modules/has-unicode/README.md (renamed from node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/README.md)3
-rw-r--r--node_modules/has-unicode/index.js (renamed from node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/index.js)0
-rw-r--r--node_modules/has-unicode/package.json36
-rw-r--r--node_modules/has-unicode/test/index.js (renamed from node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/test/index.js)0
-rw-r--r--node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/package.json53
-rw-r--r--package.json2
8 files changed, 39 insertions, 56 deletions
diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/.npmignore b/node_modules/has-unicode/.npmignore
index 7e17cf19b..7e17cf19b 100644
--- a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/.npmignore
+++ b/node_modules/has-unicode/.npmignore
diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/LICENSE b/node_modules/has-unicode/LICENSE
index d42e25e95..e75605296 100644
--- a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/LICENSE
+++ b/node_modules/has-unicode/LICENSE
@@ -11,4 +11,3 @@ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/README.md b/node_modules/has-unicode/README.md
index e9d3cc326..4393106fd 100644
--- a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/README.md
+++ b/node_modules/has-unicode/README.md
@@ -33,8 +33,7 @@ As such, we report any Windows installation as unicode capable.
### Unix Like Operating Systems
We look at the environment variables `LC_ALL`, `LC_CTYPE`, and `LANG` in
-that order. For `LC_ALL` and `LANG`, it looks for `.UTF-8` in the value.
+that order. For `LC_ALL` and `LANG`, it looks for `.UTF-8` in the value.
For `LC_CTYPE` it looks to see if the value is `UTF-8`. This is sufficient
for most POSIX systems. While locale data can be put in `/etc/locale.conf`
as well, AFAIK it's always copied into the environment.
-
diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/index.js b/node_modules/has-unicode/index.js
index edceb7030..edceb7030 100644
--- a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/index.js
+++ b/node_modules/has-unicode/index.js
diff --git a/node_modules/has-unicode/package.json b/node_modules/has-unicode/package.json
new file mode 100644
index 000000000..a56511ac6
--- /dev/null
+++ b/node_modules/has-unicode/package.json
@@ -0,0 +1,36 @@
+{
+ "name": "has-unicode",
+ "version": "1.0.0",
+ "description": "Try to guess if your terminal supports unicode",
+ "main": "index.js",
+ "scripts": {
+ "test": "tap test/*.js"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/iarna/has-unicode"
+ },
+ "keywords": [
+ "unicode",
+ "terminal"
+ ],
+ "author": {
+ "name": "Rebecca Turner",
+ "email": "me@re-becca.org"
+ },
+ "license": "ISC",
+ "bugs": {
+ "url": "https://github.com/iarna/has-unicode/issues"
+ },
+ "homepage": "https://github.com/iarna/has-unicode",
+ "devDependencies": {
+ "require-inject": "^1.1.1",
+ "tap": "^0.4.13"
+ },
+ "readme": "has-unicode\n===========\n\nTry to guess if your terminal supports unicode\n\n```javascript\nvar hasUnicode = require(\"has-unicode\")\n\nif (hasUnicode()) {\n // the terminal probably has unicode support\n}\n```\n```javascript\nvar hasUnicode = require(\"has-unicode\").tryHarder\nhasUnicode(function(unicodeSupported) {\n if (unicodeSupported) {\n // the terminal probably has unicode support\n }\n})\n```\n\n## Detecting Unicode\n\nWhat we actually detect is UTF-8 support, as that's what Node itself supports.\nIf you have a UTF-16 locale then you won't be detected as unicode capable.\n\n### Windows\n\nSince at least Windows 7, `cmd` and `powershell` have been unicode capable.\nAs such, we report any Windows installation as unicode capable.\n\n\n### Unix Like Operating Systems\n\nWe look at the environment variables `LC_ALL`, `LC_CTYPE`, and `LANG` in\nthat order. For `LC_ALL` and `LANG`, it looks for `.UTF-8` in the value. \nFor `LC_CTYPE` it looks to see if the value is `UTF-8`. This is sufficient\nfor most POSIX systems. While locale data can be put in `/etc/locale.conf`\nas well, AFAIK it's always copied into the environment.\n\n",
+ "readmeFilename": "README.md",
+ "gitHead": "a8c3dcf3be5f0c8f8e26a3e7ffea7da24344a006",
+ "_id": "has-unicode@1.0.0",
+ "_shasum": "bac5c44e064c2ffc3b8fcbd8c71afe08f9afc8cc",
+ "_from": "has-unicode@*"
+}
diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/test/index.js b/node_modules/has-unicode/test/index.js
index 2394c14ef..2394c14ef 100644
--- a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/test/index.js
+++ b/node_modules/has-unicode/test/index.js
diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/package.json b/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/package.json
deleted file mode 100644
index fd552a9e4..000000000
--- a/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/package.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "name": "has-unicode",
- "version": "1.0.0",
- "description": "Try to guess if your terminal supports unicode",
- "main": "index.js",
- "scripts": {
- "test": "tap test/*.js"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/iarna/has-unicode.git"
- },
- "keywords": [
- "unicode",
- "terminal"
- ],
- "author": {
- "name": "Rebecca Turner",
- "email": "me@re-becca.org"
- },
- "license": "ISC",
- "bugs": {
- "url": "https://github.com/iarna/has-unicode/issues"
- },
- "homepage": "https://github.com/iarna/has-unicode",
- "devDependencies": {
- "require-inject": "^1.1.1",
- "tap": "^0.4.13"
- },
- "gitHead": "a8c3dcf3be5f0c8f8e26a3e7ffea7da24344a006",
- "_id": "has-unicode@1.0.0",
- "_shasum": "bac5c44e064c2ffc3b8fcbd8c71afe08f9afc8cc",
- "_from": "has-unicode@>=1.0.0 <2.0.0",
- "_npmVersion": "2.1.11",
- "_nodeVersion": "0.10.33",
- "_npmUser": {
- "name": "iarna",
- "email": "me@re-becca.org"
- },
- "maintainers": [
- {
- "name": "iarna",
- "email": "me@re-becca.org"
- }
- ],
- "dist": {
- "shasum": "bac5c44e064c2ffc3b8fcbd8c71afe08f9afc8cc",
- "tarball": "http://registry.npmjs.org/has-unicode/-/has-unicode-1.0.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-1.0.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/package.json b/package.json
index 44ac49871..b1cb6e45a 100644
--- a/package.json
+++ b/package.json
@@ -54,6 +54,7 @@
"github-url-from-username-repo": "~1.0.2",
"glob": "~5.0.10",
"graceful-fs": "~3.0.8",
+ "has-unicode": "~1.0.0",
"hosted-git-info": "~2.1.4",
"iferr": "~0.1.5",
"inflight": "~1.0.4",
@@ -128,6 +129,7 @@
"github-url-from-username-repo",
"glob",
"graceful-fs",
+ "has-unicode",
"hosted-git-info",
"iferr",
"inflight",