You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2016/03/04 13:32:16 UTC
[12/14] cordova-browser git commit: CB-10755 Updated checked in
node_modules
CB-10755 Updated checked in node_modules
Project: http://git-wip-us.apache.org/repos/asf/cordova-browser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-browser/commit/012b9d3b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-browser/tree/012b9d3b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-browser/diff/012b9d3b
Branch: refs/heads/master
Commit: 012b9d3be1befd21f6b66f7e175e8abd09fac7f4
Parents: b54c7e0
Author: Vladimir Kotikov <ko...@gmail.com>
Authored: Fri Mar 4 13:52:56 2016 +0300
Committer: Vladimir Kotikov <ko...@gmail.com>
Committed: Fri Mar 4 13:52:56 2016 +0300
----------------------------------------------------------------------
node_modules/.bin/nopt | 16 +-
node_modules/.bin/nopt.cmd | 7 +
node_modules/.bin/shjs | 16 +-
node_modules/.bin/shjs.cmd | 7 +
.../adm-zip/.idea/scopes/scope_settings.xml | 5 -
node_modules/adm-zip/MIT-LICENSE.txt | 21 -
node_modules/adm-zip/adm-zip.js | 93 +-
node_modules/adm-zip/package.json | 35 +-
.../adm-zip/test/assets/attributes_test.zip | Bin 4189 -> 0 bytes
.../attributes_test/New folder/hidden.txt | 17 -
.../New folder/hidden_readonly.txt | 17 -
.../attributes_test/New folder/readonly.txt | 17 -
.../attributes_test/New folder/somefile.txt | 17 -
.../attributes_test/asd/New Text Document.txt | 0
.../test/assets/attributes_test/blank file.txt | 0
node_modules/adm-zip/test/assets/fast.zip | Bin 4194 -> 0 bytes
node_modules/adm-zip/test/assets/fastest.zip | Bin 4194 -> 0 bytes
node_modules/adm-zip/test/assets/linux_arc.zip | Bin 415 -> 0 bytes
node_modules/adm-zip/test/assets/maximum.zip | Bin 4086 -> 0 bytes
node_modules/adm-zip/test/assets/normal.zip | Bin 4170 -> 0 bytes
node_modules/adm-zip/test/assets/store.zip | Bin 5878 -> 0 bytes
node_modules/adm-zip/test/assets/ultra.zip | Bin 4086 -> 0 bytes
node_modules/adm-zip/test/index.js | 5 -
node_modules/adm-zip/util/constants.js | 33 +-
node_modules/adm-zip/util/utils.js | 58 +-
node_modules/adm-zip/zipEntry.js | 72 +-
node_modules/adm-zip/zipFile.js | 4 +-
.../chalk/node_modules/ansi-styles/index.js | 78 +-
.../node_modules/color-convert/CHANGELOG.md | 54 +
.../node_modules/color-convert/LICENSE | 21 +
.../node_modules/color-convert/README.md | 62 +
.../node_modules/color-convert/conversions.js | 594 +++++
.../node_modules/color-convert/css-keywords.js | 151 ++
.../node_modules/color-convert/index.js | 75 +
.../node_modules/color-convert/package.json | 84 +
.../node_modules/color-convert/route.js | 98 +
.../chalk/node_modules/ansi-styles/package.json | 49 +-
.../chalk/node_modules/ansi-styles/readme.md | 44 +-
.../node_modules/escape-string-regexp/index.js | 2 +-
.../escape-string-regexp/package.json | 50 +-
.../node_modules/escape-string-regexp/readme.md | 8 +-
.../node_modules/ansi-regex/package.json | 29 +-
.../chalk/node_modules/has-ansi/package.json | 29 +-
.../node_modules/ansi-regex/package.json | 29 +-
.../chalk/node_modules/strip-ansi/package.json | 50 +-
.../chalk/node_modules/strip-ansi/readme.md | 10 +-
.../node_modules/supports-color/package.json | 29 +-
.../node_modules/chalk/package.json | 32 +-
.../node_modules/compression/HISTORY.md | 9 +
.../node_modules/compression/index.js | 2 +-
.../compression/node_modules/accepts/HISTORY.md | 6 +
.../accepts/node_modules/mime-types/HISTORY.md | 20 +
.../accepts/node_modules/mime-types/README.md | 2 +-
.../mime-types/node_modules/mime-db/HISTORY.md | 46 +
.../mime-types/node_modules/mime-db/README.md | 2 +-
.../mime-types/node_modules/mime-db/db.json | 107 +-
.../node_modules/mime-db/package.json | 51 +-
.../node_modules/mime-types/package.json | 49 +-
.../node_modules/negotiator/package.json | 32 +-
.../node_modules/accepts/package.json | 60 +-
.../compression/node_modules/bytes/History.md | 6 +
.../compression/node_modules/bytes/LICENSE | 23 +
.../compression/node_modules/bytes/Readme.md | 16 +
.../compression/node_modules/bytes/index.js | 28 +-
.../compression/node_modules/bytes/package.json | 42 +-
.../node_modules/compressible/HISTORY.md | 5 +
.../node_modules/compressible/README.md | 17 +-
.../node_modules/compressible/index.js | 2 +-
.../node_modules/mime-db/HISTORY.md | 46 +
.../compressible/node_modules/mime-db/README.md | 2 +-
.../compressible/node_modules/mime-db/db.json | 107 +-
.../node_modules/mime-db/package.json | 51 +-
.../node_modules/compressible/package.json | 64 +-
.../debug/node_modules/ms/package.json | 26 +-
.../compression/node_modules/debug/package.json | 30 +-
.../node_modules/on-headers/package.json | 28 +-
.../compression/node_modules/vary/package.json | 32 +-
.../node_modules/compression/package.json | 66 +-
.../node_modules/express/History.md | 37 +
.../node_modules/express/Readme.md | 20 +-
.../node_modules/express/lib/application.js | 2 +-
.../accepts/node_modules/mime-types/HISTORY.md | 20 +
.../accepts/node_modules/mime-types/README.md | 2 +-
.../mime-types/node_modules/mime-db/HISTORY.md | 46 +
.../mime-types/node_modules/mime-db/README.md | 2 +-
.../mime-types/node_modules/mime-db/db.json | 107 +-
.../node_modules/mime-db/package.json | 51 +-
.../node_modules/mime-types/package.json | 49 +-
.../node_modules/negotiator/package.json | 32 +-
.../express/node_modules/accepts/package.json | 48 +-
.../node_modules/array-flatten/package.json | 23 +-
.../node_modules/content-disposition/HISTORY.md | 5 +
.../node_modules/content-disposition/README.md | 2 +-
.../node_modules/content-disposition/index.js | 2 +
.../content-disposition/package.json | 36 +-
.../node_modules/content-type/package.json | 24 +-
.../node_modules/cookie-signature/package.json | 29 +-
.../express/node_modules/cookie/HISTORY.md | 72 +
.../express/node_modules/cookie/LICENSE | 1 +
.../express/node_modules/cookie/index.js | 48 +-
.../express/node_modules/cookie/package.json | 53 +-
.../debug/node_modules/ms/package.json | 26 +-
.../express/node_modules/debug/package.json | 31 +-
.../express/node_modules/depd/History.md | 9 +
.../express/node_modules/depd/LICENSE | 2 +-
.../express/node_modules/depd/Readme.md | 7 +
.../express/node_modules/depd/index.js | 12 +-
.../node_modules/depd/lib/browser/index.js | 79 +
.../depd/lib/compat/buffer-concat.js | 2 +
.../depd/lib/compat/callsite-tostring.js | 2 +
.../depd/lib/compat/event-listener-count.js | 22 +
.../node_modules/depd/lib/compat/index.js | 17 +-
.../express/node_modules/depd/package.json | 33 +-
.../express/node_modules/escape-html/LICENSE | 2 +
.../express/node_modules/escape-html/Readme.md | 32 +-
.../express/node_modules/escape-html/index.js | 65 +-
.../node_modules/escape-html/package.json | 45 +-
.../express/node_modules/etag/package.json | 24 +-
.../node_modules/finalhandler/HISTORY.md | 8 +
.../node_modules/unpipe/package.json | 24 +-
.../node_modules/finalhandler/package.json | 58 +-
.../express/node_modules/fresh/package.json | 36 +-
.../node_modules/merge-descriptors/HISTORY.md | 21 +
.../node_modules/merge-descriptors/LICENSE | 1 +
.../node_modules/merge-descriptors/README.md | 14 +
.../node_modules/merge-descriptors/index.js | 3 +
.../node_modules/merge-descriptors/package.json | 122 +-
.../express/node_modules/methods/HISTORY.md | 5 +
.../express/node_modules/methods/LICENSE | 1 +
.../express/node_modules/methods/README.md | 16 +-
.../express/node_modules/methods/index.js | 39 +-
.../express/node_modules/methods/package.json | 54 +-
.../node_modules/ee-first/package.json | 28 +-
.../node_modules/on-finished/package.json | 28 +-
.../express/node_modules/parseurl/.npmignore | 4 -
.../express/node_modules/parseurl/HISTORY.md | 5 +
.../express/node_modules/parseurl/README.md | 21 +-
.../express/node_modules/parseurl/index.js | 2 +
.../express/node_modules/parseurl/package.json | 73 +-
.../node_modules/path-to-regexp/package.json | 151 +-
.../express/node_modules/proxy-addr/HISTORY.md | 14 +
.../express/node_modules/proxy-addr/index.js | 2 +
.../node_modules/forwarded/package.json | 24 +-
.../node_modules/ipaddr.js/.travis.yml | 10 +
.../proxy-addr/node_modules/ipaddr.js/README.md | 2 +-
.../node_modules/ipaddr.js/bower.json | 29 +
.../node_modules/ipaddr.js/ipaddr.min.js | 2 +-
.../node_modules/ipaddr.js/lib/ipaddr.js | 44 +-
.../node_modules/ipaddr.js/package.json | 37 +-
.../node_modules/ipaddr.js/src/ipaddr.coffee | 36 +-
.../ipaddr.js/test/ipaddr.test.coffee | 28 +-
.../node_modules/proxy-addr/package.json | 56 +-
.../node_modules/range-parser/HISTORY.md | 5 +
.../express/node_modules/range-parser/README.md | 47 +-
.../express/node_modules/range-parser/index.js | 20 +-
.../node_modules/range-parser/package.json | 55 +-
.../express/node_modules/send/HISTORY.md | 15 +
.../send/node_modules/destroy/LICENSE | 22 +
.../send/node_modules/destroy/README.md | 28 +-
.../send/node_modules/destroy/index.js | 45 +-
.../send/node_modules/destroy/package.json | 43 +-
.../node_modules/inherits/package.json | 23 +-
.../send/node_modules/http-errors/package.json | 32 +-
.../send/node_modules/mime/package.json | 28 +-
.../send/node_modules/ms/package.json | 26 +-
.../send/node_modules/statuses/package.json | 44 +-
.../express/node_modules/send/package.json | 33 +-
.../node_modules/serve-static/HISTORY.md | 19 +
.../express/node_modules/serve-static/README.md | 5 +-
.../node_modules/serve-static/package.json | 64 +-
.../express/node_modules/type-is/HISTORY.md | 20 +
.../express/node_modules/type-is/README.md | 6 +-
.../express/node_modules/type-is/index.js | 2 +-
.../node_modules/media-typer/package.json | 24 +-
.../type-is/node_modules/mime-types/HISTORY.md | 20 +
.../type-is/node_modules/mime-types/README.md | 2 +-
.../mime-types/node_modules/mime-db/HISTORY.md | 46 +
.../mime-types/node_modules/mime-db/README.md | 2 +-
.../mime-types/node_modules/mime-db/db.json | 107 +-
.../node_modules/mime-db/package.json | 51 +-
.../node_modules/mime-types/package.json | 49 +-
.../express/node_modules/type-is/package.json | 46 +-
.../node_modules/utils-merge/package.json | 23 +-
.../express/node_modules/vary/package.json | 32 +-
.../node_modules/express/package.json | 76 +-
node_modules/cordova-serve/package.json | 26 +-
node_modules/nopt/.travis.yml | 9 +
node_modules/nopt/LICENSE | 32 +-
node_modules/nopt/README.md | 22 +-
node_modules/nopt/lib/nopt.js | 3 +-
.../nopt/node_modules/abbrev/.npmignore | 4 +
.../nopt/node_modules/abbrev/.travis.yml | 5 +
node_modules/nopt/node_modules/abbrev/LICENSE | 32 +-
.../nopt/node_modules/abbrev/package.json | 43 +-
node_modules/nopt/node_modules/abbrev/test.js | 4 +-
node_modules/nopt/package.json | 50 +-
node_modules/nopt/test/basic.js | 22 +
node_modules/q/package.json | 2 +-
node_modules/shelljs/.documentup.json | 6 -
node_modules/shelljs/.idea/.name | 1 +
node_modules/shelljs/.idea/encodings.xml | 6 +
.../inspectionProfiles/Project_Default.xml | 7 +
.../inspectionProfiles/profiles_settings.xml | 7 +
.../shelljs/.idea/jsLibraryMappings.xml | 6 +
.../.idea/libraries/shelljs_node_modules.xml | 14 +
node_modules/shelljs/.idea/misc.xml | 28 +
node_modules/shelljs/.idea/modules.xml | 8 +
node_modules/shelljs/.idea/shelljs.iml | 9 +
node_modules/shelljs/.idea/vcs.xml | 6 +
node_modules/shelljs/.idea/workspace.xml | 764 ++++++
node_modules/shelljs/.npmignore | 10 +-
node_modules/shelljs/.travis.yml | 5 -
node_modules/shelljs/LICENSE | 2 +-
node_modules/shelljs/MAINTAINERS | 3 +
node_modules/shelljs/README.md | 331 ++-
node_modules/shelljs/bin/shjs | 8 +-
node_modules/shelljs/build/output.js | 2411 ++++++++++++++++++
node_modules/shelljs/jshint.json | 4 -
node_modules/shelljs/make.js | 39 +-
node_modules/shelljs/package.json | 65 +-
node_modules/shelljs/scripts/docs.js | 15 -
node_modules/shelljs/scripts/generate-docs.js | 26 +
node_modules/shelljs/scripts/run-tests.js | 13 +-
node_modules/shelljs/shell.js | 1915 +-------------
node_modules/shelljs/src/cat.js | 40 +
node_modules/shelljs/src/cd.js | 28 +
node_modules/shelljs/src/chmod.js | 215 ++
node_modules/shelljs/src/common.js | 257 ++
node_modules/shelljs/src/cp.js | 210 ++
node_modules/shelljs/src/dirs.js | 191 ++
node_modules/shelljs/src/echo.js | 20 +
node_modules/shelljs/src/error.js | 10 +
node_modules/shelljs/src/exec.js | 249 ++
node_modules/shelljs/src/find.js | 51 +
node_modules/shelljs/src/grep.js | 52 +
node_modules/shelljs/src/ln.js | 69 +
node_modules/shelljs/src/ls.js | 168 ++
node_modules/shelljs/src/mkdir.js | 68 +
node_modules/shelljs/src/mv.js | 82 +
node_modules/shelljs/src/popd.js | 1 +
node_modules/shelljs/src/pushd.js | 1 +
node_modules/shelljs/src/pwd.js | 11 +
node_modules/shelljs/src/rm.js | 163 ++
node_modules/shelljs/src/sed.js | 64 +
node_modules/shelljs/src/set.js | 49 +
node_modules/shelljs/src/tempdir.js | 57 +
node_modules/shelljs/src/test.js | 85 +
node_modules/shelljs/src/to.js | 30 +
node_modules/shelljs/src/toEnd.js | 30 +
node_modules/shelljs/src/touch.js | 109 +
node_modules/shelljs/src/which.js | 98 +
node_modules/shelljs/test/.npmignore | 2 -
node_modules/shelljs/test/cat.js | 57 -
node_modules/shelljs/test/cd.js | 64 -
node_modules/shelljs/test/chmod.js | 81 -
node_modules/shelljs/test/config.js | 50 -
node_modules/shelljs/test/cp.js | 143 --
node_modules/shelljs/test/dirs.js | 37 -
node_modules/shelljs/test/echo.js | 50 -
node_modules/shelljs/test/env.js | 19 -
node_modules/shelljs/test/exec.js | 109 -
node_modules/shelljs/test/find.js | 56 -
node_modules/shelljs/test/grep.js | 59 -
node_modules/shelljs/test/ls.js | 202 --
node_modules/shelljs/test/make.js | 20 -
node_modules/shelljs/test/mkdir.js | 79 -
node_modules/shelljs/test/mv.js | 130 -
node_modules/shelljs/test/popd.js | 118 -
node_modules/shelljs/test/pushd.js | 228 --
node_modules/shelljs/test/pwd.js | 28 -
node_modules/shelljs/test/resources/a.txt | 11 -
.../test/resources/chmod/a/b/c/.npmignore | 0
.../test/resources/chmod/b/a/b/.npmignore | 0
.../test/resources/chmod/c/a/b/.npmignore | 0
node_modules/shelljs/test/resources/chmod/file1 | 2 -
node_modules/shelljs/test/resources/cp/a | 1 -
node_modules/shelljs/test/resources/cp/b | 1 -
node_modules/shelljs/test/resources/cp/dir_a/z | 1 -
.../test/resources/cp/dir_b/dir_b_a/dir_b_a_a/z | 1 -
.../test/resources/external/node_script.js | 2 -
node_modules/shelljs/test/resources/file1 | 1 -
node_modules/shelljs/test/resources/file1.js | 1 -
node_modules/shelljs/test/resources/file1.txt | 1 -
node_modules/shelljs/test/resources/file2 | 1 -
node_modules/shelljs/test/resources/file2.js | 1 -
node_modules/shelljs/test/resources/file2.txt | 1 -
.../shelljs/test/resources/find/.hidden | 1 -
node_modules/shelljs/test/resources/find/a | 1 -
node_modules/shelljs/test/resources/find/b | 1 -
.../shelljs/test/resources/find/dir1/a_dir1 | 1 -
.../test/resources/find/dir1/dir11/a_dir11 | 1 -
.../shelljs/test/resources/find/dir2/a_dir1 | 1 -
.../shelljs/test/resources/issue44/main.js | 1 -
.../shelljs/test/resources/ls/.hidden_dir/nada | 1 -
.../shelljs/test/resources/ls/.hidden_file | 1 -
.../test/resources/ls/a_dir/.hidden_dir/nada | 1 -
.../shelljs/test/resources/ls/a_dir/b_dir/z | 1 -
.../shelljs/test/resources/ls/a_dir/nada | 1 -
node_modules/shelljs/test/resources/ls/file1 | 1 -
node_modules/shelljs/test/resources/ls/file1.js | 1 -
node_modules/shelljs/test/resources/ls/file2 | 1 -
node_modules/shelljs/test/resources/ls/file2.js | 1 -
.../filename(with)[chars$]^that.must+be-escaped | 1 -
.../shelljs/test/resources/pushd/a/dummy | 1 -
.../shelljs/test/resources/pushd/b/c/dummy | 1 -
node_modules/shelljs/test/rm.js | 183 --
node_modules/shelljs/test/sed.js | 58 -
node_modules/shelljs/test/tempdir.js | 27 -
node_modules/shelljs/test/test.js | 91 -
node_modules/shelljs/test/to.js | 39 -
node_modules/shelljs/test/which.js | 38 -
package.json | 6 +-
312 files changed, 11631 insertions(+), 4932 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/.bin/nopt
----------------------------------------------------------------------
diff --git a/node_modules/.bin/nopt b/node_modules/.bin/nopt
index 6b6566e..25995f3 120000
--- a/node_modules/.bin/nopt
+++ b/node_modules/.bin/nopt
@@ -1 +1,15 @@
-../nopt/bin/nopt.js
\ No newline at end of file
+#!/bin/sh
+basedir=`dirname "$0"`
+
+case `uname` in
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
+esac
+
+if [ -x "$basedir/node" ]; then
+ "$basedir/node" "$basedir/../nopt/bin/nopt.js" "$@"
+ ret=$?
+else
+ node "$basedir/../nopt/bin/nopt.js" "$@"
+ ret=$?
+fi
+exit $ret
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/.bin/nopt.cmd
----------------------------------------------------------------------
diff --git a/node_modules/.bin/nopt.cmd b/node_modules/.bin/nopt.cmd
new file mode 100644
index 0000000..1626454
--- /dev/null
+++ b/node_modules/.bin/nopt.cmd
@@ -0,0 +1,7 @@
+@IF EXIST "%~dp0\node.exe" (
+ "%~dp0\node.exe" "%~dp0\..\nopt\bin\nopt.js" %*
+) ELSE (
+ @SETLOCAL
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
+ node "%~dp0\..\nopt\bin\nopt.js" %*
+)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/.bin/shjs
----------------------------------------------------------------------
diff --git a/node_modules/.bin/shjs b/node_modules/.bin/shjs
index a044997..9908675 120000
--- a/node_modules/.bin/shjs
+++ b/node_modules/.bin/shjs
@@ -1 +1,15 @@
-../shelljs/bin/shjs
\ No newline at end of file
+#!/bin/sh
+basedir=`dirname "$0"`
+
+case `uname` in
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
+esac
+
+if [ -x "$basedir/node" ]; then
+ "$basedir/node" "$basedir/../shelljs/bin/shjs" "$@"
+ ret=$?
+else
+ node "$basedir/../shelljs/bin/shjs" "$@"
+ ret=$?
+fi
+exit $ret
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/.bin/shjs.cmd
----------------------------------------------------------------------
diff --git a/node_modules/.bin/shjs.cmd b/node_modules/.bin/shjs.cmd
new file mode 100644
index 0000000..3d98b0b
--- /dev/null
+++ b/node_modules/.bin/shjs.cmd
@@ -0,0 +1,7 @@
+@IF EXIST "%~dp0\node.exe" (
+ "%~dp0\node.exe" "%~dp0\..\shelljs\bin\shjs" %*
+) ELSE (
+ @SETLOCAL
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
+ node "%~dp0\..\shelljs\bin\shjs" %*
+)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/.idea/scopes/scope_settings.xml
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/.idea/scopes/scope_settings.xml b/node_modules/adm-zip/.idea/scopes/scope_settings.xml
deleted file mode 100644
index 922003b..0000000
--- a/node_modules/adm-zip/.idea/scopes/scope_settings.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<component name="DependencyValidationManager">
- <state>
- <option name="SKIP_IMPORT_STATEMENTS" value="false" />
- </state>
-</component>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/MIT-LICENSE.txt
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/MIT-LICENSE.txt b/node_modules/adm-zip/MIT-LICENSE.txt
deleted file mode 100644
index 0124c8a..0000000
--- a/node_modules/adm-zip/MIT-LICENSE.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Copyright (c) 2012 Another-D-Mention Software and other contributors,
-http://www.another-d-mention.ro/
-
-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.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/adm-zip.js
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/adm-zip.js b/node_modules/adm-zip/adm-zip.js
index 0a0c518..9ba4bd0 100644
--- a/node_modules/adm-zip/adm-zip.js
+++ b/node_modules/adm-zip/adm-zip.js
@@ -186,7 +186,7 @@ module.exports = function(/*String*/input) {
*
* @param localPath
*/
- addLocalFile : function(/*String*/localPath, /*String*/zipPath) {
+ addLocalFile : function(/*String*/localPath, /*String*/zipPath, /*String*/zipName) {
if (fs.existsSync(localPath)) {
if(zipPath){
zipPath=zipPath.split("\\").join("/");
@@ -197,8 +197,12 @@ module.exports = function(/*String*/input) {
zipPath="";
}
var p = localPath.split("\\").join("/").split("/").pop();
-
- this.addFile(zipPath+p, fs.readFileSync(localPath), "", 0)
+
+ if(zipName){
+ this.addFile(zipPath+zipName, fs.readFileSync(localPath), "", 0)
+ }else{
+ this.addFile(zipPath+p, fs.readFileSync(localPath), "", 0)
+ }
} else {
throw Utils.Errors.FILE_NOT_FOUND.replace("%s", localPath);
}
@@ -208,8 +212,21 @@ module.exports = function(/*String*/input) {
* Adds a local directory and all its nested files and directories to the archive
*
* @param localPath
+ * @param zipPath optional path inside zip
+ * @param filter optional RegExp or Function if files match will
+ * be included.
*/
- addLocalFolder : function(/*String*/localPath, /*String*/zipPath) {
+ addLocalFolder : function(/*String*/localPath, /*String*/zipPath, /*RegExp|Function*/filter) {
+ if (filter === undefined) {
+ filter = function() { return true; };
+ } else if (filter instanceof RegExp) {
+ filter = function(filter) {
+ return function(filename) {
+ return filter.test(filename);
+ }
+ }(filter);
+ }
+
if(zipPath){
zipPath=zipPath.split("\\").join("/");
if(zipPath.charAt(zipPath.length - 1) != "/"){
@@ -219,6 +236,7 @@ module.exports = function(/*String*/input) {
zipPath="";
}
localPath = localPath.split("\\").join("/"); //windows fix
+ localPath = pth.normalize(localPath);
if (localPath.charAt(localPath.length - 1) != "/")
localPath += "/";
@@ -229,11 +247,13 @@ module.exports = function(/*String*/input) {
if (items.length) {
items.forEach(function(path) {
- var p = path.split("\\").join("/").replace(localPath, ""); //windows fix
- if (p.charAt(p.length - 1) !== "/") {
- self.addFile(zipPath+p, fs.readFileSync(path), "", 0)
- } else {
- self.addFile(zipPath+p, new Buffer(0), "", 0)
+ var p = path.split("\\").join("/").replace( new RegExp(localPath, 'i'), ""); //windows fix
+ if (filter(p)) {
+ if (p.charAt(p.length - 1) !== "/") {
+ self.addFile(zipPath+p, fs.readFileSync(path), "", 0)
+ } else {
+ self.addFile(zipPath+p, new Buffer(0), "", 0)
+ }
}
});
}
@@ -328,7 +348,7 @@ module.exports = function(/*String*/input) {
var content = item.getData();
if (!content) throw Utils.Errors.CANT_EXTRACT_FILE;
- if (fs.existsSync(targetPath) && !overwrite) {
+ if (fs.existsSync(target) && !overwrite) {
throw Utils.Errors.CANT_OVERRIDE;
}
Utils.writeFileTo(target, content, overwrite);
@@ -363,6 +383,56 @@ module.exports = function(/*String*/input) {
},
/**
+ * Asynchronous extractAllTo
+ *
+ * @param targetPath Target location
+ * @param overwrite If the file already exists at the target path, the file will be overwriten if this is true.
+ * Default is FALSE
+ * @param callback
+ */
+ extractAllToAsync : function(/*String*/targetPath, /*Boolean*/overwrite, /*Function*/callback) {
+ overwrite = overwrite || false;
+ if (!_zip) {
+ callback(new Error(Utils.Errors.NO_ZIP));
+ return;
+ }
+
+ var entries = _zip.entries;
+ var i = entries.length;
+ entries.forEach(function(entry) {
+ if(i <= 0) return; // Had an error already
+
+ if (entry.isDirectory) {
+ Utils.makeDir(pth.resolve(targetPath, entry.entryName.toString()));
+ if(--i == 0)
+ callback(undefined);
+ return;
+ }
+ entry.getDataAsync(function(content) {
+ if(i <= 0) return;
+ if (!content) {
+ i = 0;
+ callback(new Error(Utils.Errors.CANT_EXTRACT_FILE + "2"));
+ return;
+ }
+ Utils.writeFileToAsync(pth.resolve(targetPath, entry.entryName.toString()), content, overwrite, function(succ) {
+ if(i <= 0) return;
+
+ if(!succ) {
+ i = 0;
+ callback(new Error('Unable to write'));
+ return;
+ }
+
+ if(--i == 0)
+ callback(undefined);
+ });
+
+ });
+ })
+ },
+
+ /**
* Writes the newly created zip file to disk at the specified location or if a zip was opened and no ``targetFileName`` is provided, it will overwrite the opened zip
*
* @param targetFileName
@@ -383,7 +453,8 @@ module.exports = function(/*String*/input) {
var zipData = _zip.compressToBuffer();
if (zipData) {
- Utils.writeFileTo(targetFileName, zipData, true);
+ var ok = Utils.writeFileTo(targetFileName, zipData, true);
+ if (typeof callback == 'function') callback(!ok? new Error("failed"): null, "");
}
},
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/package.json
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/package.json b/node_modules/adm-zip/package.json
index 35c8b7c..a5d8c91 100644
--- a/node_modules/adm-zip/package.json
+++ b/node_modules/adm-zip/package.json
@@ -1,6 +1,6 @@
{
"name": "adm-zip",
- "version": "0.4.4",
+ "version": "0.4.7",
"description": "A Javascript implementation of zip for nodejs. Allows user to create or extract zip files both in memory or to/from disk",
"keywords": [
"zip",
@@ -24,6 +24,14 @@
"url": "https://raw.github.com/cthackers/adm-zip/master/MIT-LICENSE.txt"
}
],
+ "files": [
+ "adm-zip.js",
+ "headers",
+ "methods",
+ "util",
+ "zipEntry.js",
+ "zipFile.js"
+ ],
"main": "adm-zip.js",
"repository": {
"type": "git",
@@ -32,13 +40,14 @@
"engines": {
"node": ">=0.3.0"
},
- "_id": "adm-zip@0.4.4",
- "dist": {
- "shasum": "a61ed5ae6905c3aea58b3a657d25033091052736",
- "tarball": "http://registry.npmjs.org/adm-zip/-/adm-zip-0.4.4.tgz"
- },
- "_from": "adm-zip@0.4.4",
- "_npmVersion": "1.3.24",
+ "gitHead": "6708a3e5788ff9e67ddba288397f7788a5c02855",
+ "_id": "adm-zip@0.4.7",
+ "scripts": {},
+ "_shasum": "8606c2cbf1c426ce8c8ec00174447fd49b6eafc1",
+ "_from": "adm-zip@>=0.4.7 <0.5.0",
+ "_resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.7.tgz",
+ "_npmVersion": "2.5.1",
+ "_nodeVersion": "0.12.0",
"_npmUser": {
"name": "cthackers",
"email": "iacob.campia@gmail.com"
@@ -46,10 +55,12 @@
"maintainers": [
{
"name": "cthackers",
- "email": "iacob.campia@gmail.com"
+ "email": "sy@another-d-mention.ro"
}
],
- "directories": {},
- "_shasum": "a61ed5ae6905c3aea58b3a657d25033091052736",
- "_resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.4.tgz"
+ "dist": {
+ "shasum": "8606c2cbf1c426ce8c8ec00174447fd49b6eafc1",
+ "tarball": "http://registry.npmjs.org/adm-zip/-/adm-zip-0.4.7.tgz"
+ },
+ "directories": {}
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/attributes_test.zip
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/attributes_test.zip b/node_modules/adm-zip/test/assets/attributes_test.zip
deleted file mode 100644
index d57bfc0..0000000
Binary files a/node_modules/adm-zip/test/assets/attributes_test.zip and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden.txt
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden.txt b/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden.txt
deleted file mode 100644
index e14c371..0000000
--- a/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-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.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden_readonly.txt
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden_readonly.txt b/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden_readonly.txt
deleted file mode 100644
index e14c371..0000000
--- a/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden_readonly.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-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.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/attributes_test/New folder/readonly.txt
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/attributes_test/New folder/readonly.txt b/node_modules/adm-zip/test/assets/attributes_test/New folder/readonly.txt
deleted file mode 100644
index e14c371..0000000
--- a/node_modules/adm-zip/test/assets/attributes_test/New folder/readonly.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-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.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/attributes_test/New folder/somefile.txt
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/attributes_test/New folder/somefile.txt b/node_modules/adm-zip/test/assets/attributes_test/New folder/somefile.txt
deleted file mode 100644
index e14c371..0000000
--- a/node_modules/adm-zip/test/assets/attributes_test/New folder/somefile.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-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.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/attributes_test/asd/New Text Document.txt
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/attributes_test/asd/New Text Document.txt b/node_modules/adm-zip/test/assets/attributes_test/asd/New Text Document.txt
deleted file mode 100644
index e69de29..0000000
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/attributes_test/blank file.txt
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/attributes_test/blank file.txt b/node_modules/adm-zip/test/assets/attributes_test/blank file.txt
deleted file mode 100644
index e69de29..0000000
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/fast.zip
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/fast.zip b/node_modules/adm-zip/test/assets/fast.zip
deleted file mode 100644
index f4ed17b..0000000
Binary files a/node_modules/adm-zip/test/assets/fast.zip and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/fastest.zip
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/fastest.zip b/node_modules/adm-zip/test/assets/fastest.zip
deleted file mode 100644
index f4ed17b..0000000
Binary files a/node_modules/adm-zip/test/assets/fastest.zip and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/linux_arc.zip
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/linux_arc.zip b/node_modules/adm-zip/test/assets/linux_arc.zip
deleted file mode 100644
index 188eccb..0000000
Binary files a/node_modules/adm-zip/test/assets/linux_arc.zip and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/maximum.zip
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/maximum.zip b/node_modules/adm-zip/test/assets/maximum.zip
deleted file mode 100644
index 86a8ec7..0000000
Binary files a/node_modules/adm-zip/test/assets/maximum.zip and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/normal.zip
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/normal.zip b/node_modules/adm-zip/test/assets/normal.zip
deleted file mode 100644
index b4602c9..0000000
Binary files a/node_modules/adm-zip/test/assets/normal.zip and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/store.zip
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/store.zip b/node_modules/adm-zip/test/assets/store.zip
deleted file mode 100644
index e2add30..0000000
Binary files a/node_modules/adm-zip/test/assets/store.zip and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/assets/ultra.zip
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/assets/ultra.zip b/node_modules/adm-zip/test/assets/ultra.zip
deleted file mode 100644
index 86a8ec7..0000000
Binary files a/node_modules/adm-zip/test/assets/ultra.zip and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/test/index.js
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/test/index.js b/node_modules/adm-zip/test/index.js
deleted file mode 100644
index c0d7822..0000000
--- a/node_modules/adm-zip/test/index.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var Attr = require("../util").FileAttr,
- Zip = require("../adm-zip"),
- fs = require("fs");
-
-//zip.addLocalFile("./test/readonly.txt");
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/util/constants.js
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/util/constants.js b/node_modules/adm-zip/util/constants.js
index 61a96af..02de1e9 100644
--- a/node_modules/adm-zip/util/constants.js
+++ b/node_modules/adm-zip/util/constants.js
@@ -80,5 +80,36 @@ module.exports = {
/* Load type */
FILE : 0,
BUFFER : 1,
- NONE : 2
+ NONE : 2,
+
+ /* 4.5 Extensible data fields */
+ EF_ID : 0,
+ EF_SIZE : 2,
+
+ /* Header IDs */
+ ID_ZIP64 : 0x0001,
+ ID_AVINFO : 0x0007,
+ ID_PFS : 0x0008,
+ ID_OS2 : 0x0009,
+ ID_NTFS : 0x000a,
+ ID_OPENVMS : 0x000c,
+ ID_UNIX : 0x000d,
+ ID_FORK : 0x000e,
+ ID_PATCH : 0x000f,
+ ID_X509_PKCS7 : 0x0014,
+ ID_X509_CERTID_F : 0x0015,
+ ID_X509_CERTID_C : 0x0016,
+ ID_STRONGENC : 0x0017,
+ ID_RECORD_MGT : 0x0018,
+ ID_X509_PKCS7_RL : 0x0019,
+ ID_IBM1 : 0x0065,
+ ID_IBM2 : 0x0066,
+ ID_POSZIP : 0x4690,
+
+ EF_ZIP64_OR_32 : 0xffffffff,
+ EF_ZIP64_OR_16 : 0xffff,
+ EF_ZIP64_SUNCOMP : 0,
+ EF_ZIP64_SCOMP : 8,
+ EF_ZIP64_RHO : 16,
+ EF_ZIP64_DSN : 24
};
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/util/utils.js
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/util/utils.js b/node_modules/adm-zip/util/utils.js
index ef42999..52a8ed9 100644
--- a/node_modules/adm-zip/util/utils.js
+++ b/node_modules/adm-zip/util/utils.js
@@ -2,7 +2,7 @@ var fs = require("fs"),
pth = require('path');
fs.existsSync = fs.existsSync || pth.existsSync;
-
+
module.exports = (function() {
var crcTable = [],
@@ -81,7 +81,7 @@ module.exports = (function() {
case Constants.DEFLATED:
return 'DEFLATED (' + method + ')';
default:
- return 'UNSUPPORTED (' + method + ')'
+ return 'UNSUPPORTED (' + method + ')';
}
},
@@ -116,6 +116,60 @@ module.exports = (function() {
return true;
},
+ writeFileToAsync : function(/*String*/path, /*Buffer*/content, /*Boolean*/overwrite, /*Number*/attr, /*Function*/callback) {
+ if(typeof attr === 'function') {
+ callback = attr;
+ attr = undefined;
+ }
+
+ fs.exists(path, function(exists) {
+ if(exists && !overwrite)
+ return callback(false);
+
+ fs.stat(path, function(err, stat) {
+ if(exists &&stat.isDirectory()) {
+ return callback(false);
+ }
+
+ var folder = pth.dirname(path);
+ fs.exists(folder, function(exists) {
+ if(!exists)
+ mkdirSync(folder);
+
+ fs.open(path, 'w', 438, function(err, fd) {
+ if(err) {
+ fs.chmod(path, 438, function(err) {
+ fs.open(path, 'w', 438, function(err, fd) {
+ fs.write(fd, content, 0, content.length, 0, function(err, written, buffer) {
+ fs.close(fd, function(err) {
+ fs.chmod(path, attr || 438, function() {
+ callback(true);
+ })
+ });
+ });
+ });
+ })
+ } else {
+ if(fd) {
+ fs.write(fd, content, 0, content.length, 0, function(err, written, buffer) {
+ fs.close(fd, function(err) {
+ fs.chmod(path, attr || 438, function() {
+ callback(true);
+ })
+ });
+ });
+ } else {
+ fs.chmod(path, attr || 438, function() {
+ callback(true);
+ })
+ }
+ }
+ });
+ })
+ })
+ })
+ },
+
findFiles : function(/*String*/path) {
return findSync(path, true);
},
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/zipEntry.js
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/zipEntry.js b/node_modules/adm-zip/zipEntry.js
index 3da38f1..6b1309b 100644
--- a/node_modules/adm-zip/zipEntry.js
+++ b/node_modules/adm-zip/zipEntry.js
@@ -34,7 +34,11 @@ module.exports = function (/*Buffer*/input) {
return true;
}
- function decompress(/*Boolean*/async, /*Function*/callback) {
+ function decompress(/*Boolean*/async, /*Function*/callback, /*String*/pass) {
+ if(typeof callback === 'undefined' && typeof async === 'string') {
+ pass=async;
+ async=void 0;
+ }
if (_isDirectory) {
if (async && callback) {
callback(new Buffer(0), Utils.Errors.DIRECTORY_CONTENT_ERROR); //si added error.
@@ -43,6 +47,7 @@ module.exports = function (/*Buffer*/input) {
}
var compressedData = getCompressedDataFromZip();
+
if (compressedData.length == 0) {
if (async && callback) callback(compressedData, Utils.Errors.NO_DATA);//si added error.
return compressedData;
@@ -73,7 +78,7 @@ module.exports = function (/*Buffer*/input) {
} else {
inflater.inflateAsync(function(result) {
result.copy(data, 0);
- if (crc32OK(data)) {
+ if (!crc32OK(data)) {
if (callback) callback(data, Utils.Errors.BAD_CRC); //si added error
} else { //si added otherwise did not seem to return data.
if (callback) callback(data);
@@ -136,6 +141,57 @@ module.exports = function (/*Buffer*/input) {
}
}
+ function readUInt64LE(buffer, offset) {
+ return (buffer.readUInt32LE(offset + 4) << 4) + buffer.readUInt32LE(offset);
+ }
+
+ function parseExtra(data) {
+ var offset = 0;
+ var signature, size, part;
+ while(offset<data.length) {
+ signature = data.readUInt16LE(offset);
+ offset += 2;
+ size = data.readUInt16LE(offset);
+ offset += 2;
+ part = data.slice(offset, offset+size);
+ offset += size;
+ if(Constants.ID_ZIP64 === signature) {
+ parseZip64ExtendedInformation(part);
+ }
+ }
+ }
+
+ //Override header field values with values from the ZIP64 extra field
+ function parseZip64ExtendedInformation(data) {
+ var size, compressedSize, offset, diskNumStart;
+
+ if(data.length >= Constants.EF_ZIP64_SCOMP) {
+ size = readUInt64LE(data, Constants.EF_ZIP64_SUNCOMP);
+ if(_entryHeader.size === Constants.EF_ZIP64_OR_32) {
+ _entryHeader.size = size;
+ }
+ }
+ if(data.length >= Constants.EF_ZIP64_RHO) {
+ compressedSize = readUInt64LE(data, Constants.EF_ZIP64_SCOMP);
+ if(_entryHeader.compressedSize === Constants.EF_ZIP64_OR_32) {
+ _entryHeader.compressedSize = compressedSize;
+ }
+ }
+ if(data.length >= Constants.EF_ZIP64_DSN) {
+ offset = readUInt64LE(data, Constants.EF_ZIP64_RHO);
+ if(_entryHeader.offset === Constants.EF_ZIP64_OR_32) {
+ _entryHeader.offset = offset;
+ }
+ }
+ if(data.length >= Constants.EF_ZIP64_DSN+4) {
+ diskNumStart = data.readUInt32LE(Constants.EF_ZIP64_DSN);
+ if(_entryHeader.diskNumStart === Constants.EF_ZIP64_OR_16) {
+ _entryHeader.diskNumStart = diskNumStart;
+ }
+ }
+ }
+
+
return {
get entryName () { return _entryName.toString(); },
get rawEntryName() { return _entryName; },
@@ -150,6 +206,7 @@ module.exports = function (/*Buffer*/input) {
set extra (val) {
_extra = val;
_entryHeader.extraLength = val.length;
+ parseExtra(val);
},
get comment () { return _comment.toString(); },
@@ -180,14 +237,17 @@ module.exports = function (/*Buffer*/input) {
}
},
- getData : function() {
- return decompress(false, null);
+ getData : function(pass) {
+ return decompress(false, null, pass);
},
- getDataAsync : function(/*Function*/callback) {
- decompress(true, callback)
+ getDataAsync : function(/*Function*/callback, pass) {
+ decompress(true, callback, pass)
},
+ set attr(attr) { _entryHeader.attr = attr; },
+ get attr() { return _entryHeader.attr; },
+
set header(/*Buffer*/data) {
_entryHeader.loadFromBinary(data);
},
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/adm-zip/zipFile.js
----------------------------------------------------------------------
diff --git a/node_modules/adm-zip/zipFile.js b/node_modules/adm-zip/zipFile.js
index d7433b0..794afdb 100644
--- a/node_modules/adm-zip/zipFile.js
+++ b/node_modules/adm-zip/zipFile.js
@@ -53,7 +53,7 @@ module.exports = function(/*String|Buffer*/input, /*Number*/inputType) {
function readMainHeader() {
var i = inBuffer.length - Utils.Constants.ENDHDR, // END header size
n = Math.max(0, i - 0xFFFF), // 0xFFFF is the max zip file comment length
- endOffset = 0; // Start offset of the END header
+ endOffset = -1; // Start offset of the END header
for (i; i >= n; i--) {
if (inBuffer[i] != 0x50) continue; // quick check that the byte is 'P'
@@ -62,7 +62,7 @@ module.exports = function(/*String|Buffer*/input, /*Number*/inputType) {
break;
}
}
- if (!endOffset)
+ if (!~endOffset)
throw Utils.Errors.INVALID_FORMAT;
mainHeader.loadFromBinary(inBuffer.slice(endOffset, endOffset + Utils.Constants.ENDHDR));
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/index.js
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/index.js b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/index.js
index 7894527..e917d61 100644
--- a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/index.js
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/index.js
@@ -1,10 +1,34 @@
'use strict';
+var colorConvert = require('color-convert');
-function assembleStyles () {
+function wrapAnsi16(fn, offset) {
+ return function () {
+ var code = fn.apply(colorConvert, arguments);
+ return '\u001b[' + (code + offset) + 'm';
+ };
+}
+
+function wrapAnsi256(fn, offset) {
+ return function () {
+ var code = fn.apply(colorConvert, arguments);
+ return '\u001b[' + (38 + offset) + ';5;' + code + 'm';
+ };
+}
+
+function wrapAnsi16m(fn, offset) {
+ return function () {
+ var rgb = fn.apply(colorConvert, arguments);
+ return '\u001b[' + (38 + offset) + ';2;' +
+ rgb[0] + ';' + rgb[1] + ';' + rgb[2] + 'm';
+ };
+}
+
+function assembleStyles() {
var styles = {
- modifiers: {
+ modifier: {
reset: [0, 0],
- bold: [1, 22], // 21 isn't widely supported and 22 does the same thing
+ // 21 isn't widely supported and 22 does the same thing
+ bold: [1, 22],
dim: [2, 22],
italic: [3, 23],
underline: [4, 24],
@@ -12,7 +36,7 @@ function assembleStyles () {
hidden: [8, 28],
strikethrough: [9, 29]
},
- colors: {
+ color: {
black: [30, 39],
red: [31, 39],
green: [32, 39],
@@ -23,7 +47,7 @@ function assembleStyles () {
white: [37, 39],
gray: [90, 39]
},
- bgColors: {
+ bgColor: {
bgBlack: [40, 49],
bgRed: [41, 49],
bgGreen: [42, 49],
@@ -36,7 +60,7 @@ function assembleStyles () {
};
// fix humans
- styles.colors.grey = styles.colors.gray;
+ styles.color.grey = styles.color.gray;
Object.keys(styles).forEach(function (groupName) {
var group = styles[groupName];
@@ -56,6 +80,48 @@ function assembleStyles () {
});
});
+ function rgb2rgb(r, g, b) {
+ return [r, g, b];
+ }
+
+ styles.color.close = '\u001b[39m';
+ styles.bgColor.close = '\u001b[49m';
+
+ styles.color.ansi = {};
+ styles.color.ansi256 = {};
+ styles.color.ansi16m = {
+ rgb: wrapAnsi16m(rgb2rgb, 0)
+ };
+
+ styles.bgColor.ansi = {};
+ styles.bgColor.ansi256 = {};
+ styles.bgColor.ansi16m = {
+ rgb: wrapAnsi16m(rgb2rgb, 10)
+ };
+
+ for (var key in colorConvert) {
+ if (!colorConvert.hasOwnProperty(key) || typeof colorConvert[key] !== 'object') {
+ continue;
+ }
+
+ var suite = colorConvert[key];
+
+ if ('ansi16' in suite) {
+ styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
+ styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
+ }
+
+ if ('ansi256' in suite) {
+ styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);
+ styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);
+ }
+
+ if ('rgb' in suite) {
+ styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);
+ styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);
+ }
+ }
+
return styles;
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/CHANGELOG.md b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/CHANGELOG.md
new file mode 100644
index 0000000..0a7bce4
--- /dev/null
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/CHANGELOG.md
@@ -0,0 +1,54 @@
+# 1.0.0 - 2016-01-07
+
+- Removed: unused speed test
+- Added: Automatic routing between previously unsupported conversions
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Removed: `xxx2xxx()` and `xxx2xxxRaw()` functions
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Removed: `convert()` class
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Changed: all functions to lookup dictionary
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Changed: `ansi` to `ansi256`
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Fixed: argument grouping for functions requiring only one argument
+([#27](https://github.com/Qix-/color-convert/pull/27))
+
+# 0.6.0 - 2015-07-23
+
+- Added: methods to handle
+[ANSI](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) 16/256 colors:
+ - rgb2ansi16
+ - rgb2ansi
+ - hsl2ansi16
+ - hsl2ansi
+ - hsv2ansi16
+ - hsv2ansi
+ - hwb2ansi16
+ - hwb2ansi
+ - cmyk2ansi16
+ - cmyk2ansi
+ - keyword2ansi16
+ - keyword2ansi
+ - ansi162rgb
+ - ansi162hsl
+ - ansi162hsv
+ - ansi162hwb
+ - ansi162cmyk
+ - ansi162keyword
+ - ansi2rgb
+ - ansi2hsl
+ - ansi2hsv
+ - ansi2hwb
+ - ansi2cmyk
+ - ansi2keyword
+([#18](https://github.com/harthur/color-convert/pull/18))
+
+# 0.5.3 - 2015-06-02
+
+- Fixed: hsl2hsv does not return `NaN` anymore when using `[0,0,0]`
+([#15](https://github.com/harthur/color-convert/issues/15))
+
+---
+
+Check out commit logs for older releases
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/LICENSE
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/LICENSE b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/LICENSE
new file mode 100644
index 0000000..a8b08d4
--- /dev/null
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/LICENSE
@@ -0,0 +1,21 @@
+Copyright (c) 2011 Heather Arthur <fa...@gmail.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.
+
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/README.md
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/README.md b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/README.md
new file mode 100644
index 0000000..effe3f0
--- /dev/null
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/README.md
@@ -0,0 +1,62 @@
+# color-convert
+
+[![Build Status](https://travis-ci.org/MoOx/color-convert.svg?branch=master)](https://travis-ci.org/MoOx/color-convert)
+
+Color-convert is a color conversion library for JavaScript and node.
+It converts all ways between `rgb`, `hsl`, `hsv`, `hwb`, `cmyk`, `ansi`, `ansi16`, `hex` strings, and CSS `keyword`s:
+
+```js
+var convert = require('color-convert');
+
+convert.rgb.hsl(140, 200, 100); // [96, 48, 59]
+convert.keyword.rgb('blue'); // [0, 0, 255]
+```
+
+# Install
+
+```console
+$ npm install color-convert
+```
+
+# API
+
+Simply get the property of the _from_ and _to_ conversion that you're looking for.
+
+All functions have a rounded and unrounded variant. By default, return values are rounded. To get the unrounded (raw) results, simply tack on `.raw` to the function.
+
+```js
+var convert = require('color-convert');
+
+// Hex to LAB
+convert.hex.lab('DEADBF'); // [ 76, 21, -2 ]
+convert.hex.lab.raw('DEADBF'); // [ 75.56213190997677, 20.653827952644754, -2.290532499330533 ]
+
+// RGB to CMYK
+convert.rgb.cmyk(167, 255, 4); // [ 35, 0, 98, 0 ]
+convert.rgb.cmyk.raw(167, 255, 4); // [ 34.509803921568626, 0, 98.43137254901961, 0 ]
+```
+
+### Arrays
+All functions that accept multiple arguments also support passing an array.
+
+Not that this does **not** apply to functions that convert from a color that only requires one value (e.g. `keyword`, `ansi256`, `hex`, etc.)
+
+```js
+var convert = require('color-convert');
+
+convert.rgb.hex(123, 45, 67); // '7B2D43'
+convert.rgb.hex([123, 45, 67]); // '7B2D43'
+```
+
+## Routing
+
+Conversions that don't have an _explicitly_ defined conversion (in [conversions.js](conversions.js)), but can be converted by means of sub-conversions (e.g. XYZ -> **RGB** -> CMYK), are automatically routed together. This allows just about any color model supported by `color-convert` to be converted to any other model, so long as a sub-conversion path exists. This is also true for conversions requiring more than one step in between (e.g. LCH -> **LAB** -> **XYZ** -> **RGB** -> Hex).
+
+Keep in mind that extensive conversions _may_ result in a loss of precision, and exist only to be complete. For a list of "direct" (single-step) conversions, see [conversions.js](conversions.js).
+
+# Contribute
+
+If there is a new model you would like to support, or want to add a direct conversion between two existing models, please send us a pull request.
+
+# License
+Copyright © 2011-2016, Heather Arthur and Josh Junon. Licensed under the [MIT License](LICENSE).
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/conversions.js
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/conversions.js b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/conversions.js
new file mode 100644
index 0000000..d0aa959
--- /dev/null
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/conversions.js
@@ -0,0 +1,594 @@
+/* MIT license */
+var cssKeywords = require('./css-keywords');
+
+// NOTE: conversions should only return primitive values (i.e. arrays, or
+// values that give correct `typeof` results).
+// do not use box values types (i.e. Number(), String(), etc.)
+
+var reverseKeywords = {};
+for (var key in cssKeywords) {
+ if (cssKeywords.hasOwnProperty(key)) {
+ reverseKeywords[cssKeywords[key].join()] = key;
+ }
+}
+
+var convert = module.exports = {
+ rgb: {},
+ hsl: {},
+ hsv: {},
+ hwb: {},
+ cmyk: {},
+ xyz: {},
+ lab: {},
+ lch: {},
+ hex: {},
+ keyword: {},
+ ansi16: {},
+ ansi256: {}
+};
+
+convert.rgb.hsl = function (rgb) {
+ var r = rgb[0] / 255;
+ var g = rgb[1] / 255;
+ var b = rgb[2] / 255;
+ var min = Math.min(r, g, b);
+ var max = Math.max(r, g, b);
+ var delta = max - min;
+ var h;
+ var s;
+ var l;
+
+ if (max === min) {
+ h = 0;
+ } else if (r === max) {
+ h = (g - b) / delta;
+ } else if (g === max) {
+ h = 2 + (b - r) / delta;
+ } else if (b === max) {
+ h = 4 + (r - g) / delta;
+ }
+
+ h = Math.min(h * 60, 360);
+
+ if (h < 0) {
+ h += 360;
+ }
+
+ l = (min + max) / 2;
+
+ if (max === min) {
+ s = 0;
+ } else if (l <= 0.5) {
+ s = delta / (max + min);
+ } else {
+ s = delta / (2 - max - min);
+ }
+
+ return [h, s * 100, l * 100];
+};
+
+convert.rgb.hsv = function (rgb) {
+ var r = rgb[0];
+ var g = rgb[1];
+ var b = rgb[2];
+ var min = Math.min(r, g, b);
+ var max = Math.max(r, g, b);
+ var delta = max - min;
+ var h;
+ var s;
+ var v;
+
+ if (max === 0) {
+ s = 0;
+ } else {
+ s = (delta / max * 1000) / 10;
+ }
+
+ if (max === min) {
+ h = 0;
+ } else if (r === max) {
+ h = (g - b) / delta;
+ } else if (g === max) {
+ h = 2 + (b - r) / delta;
+ } else if (b === max) {
+ h = 4 + (r - g) / delta;
+ }
+
+ h = Math.min(h * 60, 360);
+
+ if (h < 0) {
+ h += 360;
+ }
+
+ v = ((max / 255) * 1000) / 10;
+
+ return [h, s, v];
+};
+
+convert.rgb.hwb = function (rgb) {
+ var r = rgb[0];
+ var g = rgb[1];
+ var b = rgb[2];
+ var h = convert.rgb.hsl(rgb)[0];
+ var w = 1 / 255 * Math.min(r, Math.min(g, b));
+
+ b = 1 - 1 / 255 * Math.max(r, Math.max(g, b));
+
+ return [h, w * 100, b * 100];
+};
+
+convert.rgb.cmyk = function (rgb) {
+ var r = rgb[0] / 255;
+ var g = rgb[1] / 255;
+ var b = rgb[2] / 255;
+ var c;
+ var m;
+ var y;
+ var k;
+
+ k = Math.min(1 - r, 1 - g, 1 - b);
+ c = (1 - r - k) / (1 - k) || 0;
+ m = (1 - g - k) / (1 - k) || 0;
+ y = (1 - b - k) / (1 - k) || 0;
+
+ return [c * 100, m * 100, y * 100, k * 100];
+};
+
+convert.rgb.keyword = function (rgb) {
+ return reverseKeywords[rgb.join()];
+};
+
+convert.keyword.rgb = function (keyword) {
+ return cssKeywords[keyword];
+};
+
+convert.rgb.xyz = function (rgb) {
+ var r = rgb[0] / 255;
+ var g = rgb[1] / 255;
+ var b = rgb[2] / 255;
+
+ // assume sRGB
+ r = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);
+ g = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);
+ b = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);
+
+ var x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);
+ var y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);
+ var z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);
+
+ return [x * 100, y * 100, z * 100];
+};
+
+convert.rgb.lab = function (rgb) {
+ var xyz = convert.rgb.xyz(rgb);
+ var x = xyz[0];
+ var y = xyz[1];
+ var z = xyz[2];
+ var l;
+ var a;
+ var b;
+
+ x /= 95.047;
+ y /= 100;
+ z /= 108.883;
+
+ x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);
+ y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);
+ z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);
+
+ l = (116 * y) - 16;
+ a = 500 * (x - y);
+ b = 200 * (y - z);
+
+ return [l, a, b];
+};
+
+convert.hsl.rgb = function (hsl) {
+ var h = hsl[0] / 360;
+ var s = hsl[1] / 100;
+ var l = hsl[2] / 100;
+ var t1;
+ var t2;
+ var t3;
+ var rgb;
+ var val;
+
+ if (s === 0) {
+ val = l * 255;
+ return [val, val, val];
+ }
+
+ if (l < 0.5) {
+ t2 = l * (1 + s);
+ } else {
+ t2 = l + s - l * s;
+ }
+
+ t1 = 2 * l - t2;
+
+ rgb = [0, 0, 0];
+ for (var i = 0; i < 3; i++) {
+ t3 = h + 1 / 3 * -(i - 1);
+ if (t3 < 0) {
+ t3++;
+ }
+ if (t3 > 1) {
+ t3--;
+ }
+
+ if (6 * t3 < 1) {
+ val = t1 + (t2 - t1) * 6 * t3;
+ } else if (2 * t3 < 1) {
+ val = t2;
+ } else if (3 * t3 < 2) {
+ val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
+ } else {
+ val = t1;
+ }
+
+ rgb[i] = val * 255;
+ }
+
+ return rgb;
+};
+
+convert.hsl.hsv = function (hsl) {
+ var h = hsl[0];
+ var s = hsl[1] / 100;
+ var l = hsl[2] / 100;
+ var sv;
+ var v;
+
+ if (l === 0) {
+ // no need to do calc on black
+ // also avoids divide by 0 error
+ return [0, 0, 0];
+ }
+
+ l *= 2;
+ s *= (l <= 1) ? l : 2 - l;
+ v = (l + s) / 2;
+ sv = (2 * s) / (l + s);
+
+ return [h, sv * 100, v * 100];
+};
+
+convert.hsv.rgb = function (hsv) {
+ var h = hsv[0] / 60;
+ var s = hsv[1] / 100;
+ var v = hsv[2] / 100;
+ var hi = Math.floor(h) % 6;
+
+ var f = h - Math.floor(h);
+ var p = 255 * v * (1 - s);
+ var q = 255 * v * (1 - (s * f));
+ var t = 255 * v * (1 - (s * (1 - f)));
+ v *= 255;
+
+ switch (hi) {
+ case 0:
+ return [v, t, p];
+ case 1:
+ return [q, v, p];
+ case 2:
+ return [p, v, t];
+ case 3:
+ return [p, q, v];
+ case 4:
+ return [t, p, v];
+ case 5:
+ return [v, p, q];
+ }
+};
+
+convert.hsv.hsl = function (hsv) {
+ var h = hsv[0];
+ var s = hsv[1] / 100;
+ var v = hsv[2] / 100;
+ var sl;
+ var l;
+
+ l = (2 - s) * v;
+ sl = s * v;
+ sl /= (l <= 1) ? l : 2 - l;
+ sl = sl || 0;
+ l /= 2;
+
+ return [h, sl * 100, l * 100];
+};
+
+// http://dev.w3.org/csswg/css-color/#hwb-to-rgb
+convert.hwb.rgb = function (hwb) {
+ var h = hwb[0] / 360;
+ var wh = hwb[1] / 100;
+ var bl = hwb[2] / 100;
+ var ratio = wh + bl;
+ var i;
+ var v;
+ var f;
+ var n;
+
+ // wh + bl cant be > 1
+ if (ratio > 1) {
+ wh /= ratio;
+ bl /= ratio;
+ }
+
+ i = Math.floor(6 * h);
+ v = 1 - bl;
+ f = 6 * h - i;
+
+ if ((i & 0x01) !== 0) {
+ f = 1 - f;
+ }
+
+ n = wh + f * (v - wh); // linear interpolation
+
+ var r;
+ var g;
+ var b;
+ switch (i) {
+ default:
+ case 6:
+ case 0: r = v; g = n; b = wh; break;
+ case 1: r = n; g = v; b = wh; break;
+ case 2: r = wh; g = v; b = n; break;
+ case 3: r = wh; g = n; b = v; break;
+ case 4: r = n; g = wh; b = v; break;
+ case 5: r = v; g = wh; b = n; break;
+ }
+
+ return [r * 255, g * 255, b * 255];
+};
+
+convert.cmyk.rgb = function (cmyk) {
+ var c = cmyk[0] / 100;
+ var m = cmyk[1] / 100;
+ var y = cmyk[2] / 100;
+ var k = cmyk[3] / 100;
+ var r;
+ var g;
+ var b;
+
+ r = 1 - Math.min(1, c * (1 - k) + k);
+ g = 1 - Math.min(1, m * (1 - k) + k);
+ b = 1 - Math.min(1, y * (1 - k) + k);
+
+ return [r * 255, g * 255, b * 255];
+};
+
+convert.xyz.rgb = function (xyz) {
+ var x = xyz[0] / 100;
+ var y = xyz[1] / 100;
+ var z = xyz[2] / 100;
+ var r;
+ var g;
+ var b;
+
+ r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);
+ g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);
+ b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);
+
+ // assume sRGB
+ r = r > 0.0031308
+ ? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)
+ : r *= 12.92;
+
+ g = g > 0.0031308
+ ? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)
+ : g *= 12.92;
+
+ b = b > 0.0031308
+ ? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)
+ : b *= 12.92;
+
+ r = Math.min(Math.max(0, r), 1);
+ g = Math.min(Math.max(0, g), 1);
+ b = Math.min(Math.max(0, b), 1);
+
+ return [r * 255, g * 255, b * 255];
+};
+
+convert.xyz.lab = function (xyz) {
+ var x = xyz[0];
+ var y = xyz[1];
+ var z = xyz[2];
+ var l;
+ var a;
+ var b;
+
+ x /= 95.047;
+ y /= 100;
+ z /= 108.883;
+
+ x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);
+ y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);
+ z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);
+
+ l = (116 * y) - 16;
+ a = 500 * (x - y);
+ b = 200 * (y - z);
+
+ return [l, a, b];
+};
+
+convert.lab.xyz = function (lab) {
+ var l = lab[0];
+ var a = lab[1];
+ var b = lab[2];
+ var x;
+ var y;
+ var z;
+ var y2;
+
+ if (l <= 8) {
+ y = (l * 100) / 903.3;
+ y2 = (7.787 * (y / 100)) + (16 / 116);
+ } else {
+ y = 100 * Math.pow((l + 16) / 116, 3);
+ y2 = Math.pow(y / 100, 1 / 3);
+ }
+
+ x = x / 95.047 <= 0.008856
+ ? x = (95.047 * ((a / 500) + y2 - (16 / 116))) / 7.787
+ : 95.047 * Math.pow((a / 500) + y2, 3);
+ z = z / 108.883 <= 0.008859
+ ? z = (108.883 * (y2 - (b / 200) - (16 / 116))) / 7.787
+ : 108.883 * Math.pow(y2 - (b / 200), 3);
+
+ return [x, y, z];
+};
+
+convert.lab.lch = function (lab) {
+ var l = lab[0];
+ var a = lab[1];
+ var b = lab[2];
+ var hr;
+ var h;
+ var c;
+
+ hr = Math.atan2(b, a);
+ h = hr * 360 / 2 / Math.PI;
+
+ if (h < 0) {
+ h += 360;
+ }
+
+ c = Math.sqrt(a * a + b * b);
+
+ return [l, c, h];
+};
+
+convert.lch.lab = function (lch) {
+ var l = lch[0];
+ var c = lch[1];
+ var h = lch[2];
+ var a;
+ var b;
+ var hr;
+
+ hr = h / 360 * 2 * Math.PI;
+ a = c * Math.cos(hr);
+ b = c * Math.sin(hr);
+
+ return [l, a, b];
+};
+
+convert.rgb.ansi16 = function (args) {
+ var r = args[0];
+ var g = args[1];
+ var b = args[2];
+ var value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization
+
+ value = Math.round(value / 50);
+
+ if (value === 0) {
+ return 30;
+ }
+
+ var ansi = 30
+ + ((Math.round(b / 255) << 2)
+ | (Math.round(g / 255) << 1)
+ | Math.round(r / 255));
+
+ if (value === 2) {
+ ansi += 60;
+ }
+
+ return ansi;
+};
+
+convert.hsv.ansi16 = function (args) {
+ // optimization here; we already know the value and don't need to get
+ // it converted for us.
+ return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);
+};
+
+convert.rgb.ansi256 = function (args) {
+ var r = args[0];
+ var g = args[1];
+ var b = args[2];
+
+ // we use the extended greyscale palette here, with the exception of
+ // black and white. normal palette only has 4 greyscale shades.
+ if (r === g && g === b) {
+ if (r < 8) {
+ return 16;
+ }
+
+ if (r > 248) {
+ return 231;
+ }
+
+ return Math.round(((r - 8) / 247) * 24) + 232;
+ }
+
+ var ansi = 16
+ + (36 * Math.round(r / 255 * 5))
+ + (6 * Math.round(g / 255 * 5))
+ + Math.round(b / 255 * 5);
+
+ return ansi;
+};
+
+convert.ansi16.rgb = function (args) {
+ var color = args % 10;
+
+ // handle greyscale
+ if (color === 0 || color === 7) {
+ if (args > 50) {
+ color += 3.5;
+ }
+
+ color = color / 10.5 * 255;
+
+ return [color, color, color];
+ }
+
+ var mult = (~~(args > 50) + 1) * 0.5;
+ var r = ((color & 1) * mult) * 255;
+ var g = (((color >> 1) & 1) * mult) * 255;
+ var b = (((color >> 2) & 1) * mult) * 255;
+
+ return [r, g, b];
+};
+
+convert.ansi256.rgb = function (args) {
+ // handle greyscale
+ if (args >= 232) {
+ var c = (args - 232) * 10 + 8;
+ return [c, c, c];
+ }
+
+ args -= 16;
+
+ var rem;
+ var r = Math.floor(args / 36) / 5 * 255;
+ var g = Math.floor((rem = args % 36) / 6) / 5 * 255;
+ var b = (rem % 6) / 5 * 255;
+
+ return [r, g, b];
+};
+
+convert.rgb.hex = function (args) {
+ var integer = ((Math.round(args[0]) & 0xFF) << 16)
+ + ((Math.round(args[1]) & 0xFF) << 8)
+ + (Math.round(args[2]) & 0xFF);
+
+ var string = integer.toString(16).toUpperCase();
+ return '000000'.substring(string.length) + string;
+};
+
+convert.hex.rgb = function (args) {
+ var match = args.toString(16).match(/[a-f0-9]{6}/i);
+ if (!match) {
+ return [0, 0, 0];
+ }
+
+ var integer = parseInt(match[0], 16);
+ var r = (integer >> 16) & 0xFF;
+ var g = (integer >> 8) & 0xFF;
+ var b = integer & 0xFF;
+
+ return [r, g, b];
+};
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/css-keywords.js
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/css-keywords.js b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/css-keywords.js
new file mode 100644
index 0000000..495ca56
--- /dev/null
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/css-keywords.js
@@ -0,0 +1,151 @@
+module.exports = {
+ aliceblue: [240, 248, 255],
+ antiquewhite: [250, 235, 215],
+ aqua: [0, 255, 255],
+ aquamarine: [127, 255, 212],
+ azure: [240, 255, 255],
+ beige: [245, 245, 220],
+ bisque: [255, 228, 196],
+ black: [0, 0, 0],
+ blanchedalmond: [255, 235, 205],
+ blue: [0, 0, 255],
+ blueviolet: [138, 43, 226],
+ brown: [165, 42, 42],
+ burlywood: [222, 184, 135],
+ cadetblue: [95, 158, 160],
+ chartreuse: [127, 255, 0],
+ chocolate: [210, 105, 30],
+ coral: [255, 127, 80],
+ cornflowerblue: [100, 149, 237],
+ cornsilk: [255, 248, 220],
+ crimson: [220, 20, 60],
+ cyan: [0, 255, 255],
+ darkblue: [0, 0, 139],
+ darkcyan: [0, 139, 139],
+ darkgoldenrod: [184, 134, 11],
+ darkgray: [169, 169, 169],
+ darkgreen: [0, 100, 0],
+ darkgrey: [169, 169, 169],
+ darkkhaki: [189, 183, 107],
+ darkmagenta: [139, 0, 139],
+ darkolivegreen: [85, 107, 47],
+ darkorange: [255, 140, 0],
+ darkorchid: [153, 50, 204],
+ darkred: [139, 0, 0],
+ darksalmon: [233, 150, 122],
+ darkseagreen: [143, 188, 143],
+ darkslateblue: [72, 61, 139],
+ darkslategray: [47, 79, 79],
+ darkslategrey: [47, 79, 79],
+ darkturquoise: [0, 206, 209],
+ darkviolet: [148, 0, 211],
+ deeppink: [255, 20, 147],
+ deepskyblue: [0, 191, 255],
+ dimgray: [105, 105, 105],
+ dimgrey: [105, 105, 105],
+ dodgerblue: [30, 144, 255],
+ firebrick: [178, 34, 34],
+ floralwhite: [255, 250, 240],
+ forestgreen: [34, 139, 34],
+ fuchsia: [255, 0, 255],
+ gainsboro: [220, 220, 220],
+ ghostwhite: [248, 248, 255],
+ gold: [255, 215, 0],
+ goldenrod: [218, 165, 32],
+ gray: [128, 128, 128],
+ green: [0, 128, 0],
+ greenyellow: [173, 255, 47],
+ grey: [128, 128, 128],
+ honeydew: [240, 255, 240],
+ hotpink: [255, 105, 180],
+ indianred: [205, 92, 92],
+ indigo: [75, 0, 130],
+ ivory: [255, 255, 240],
+ khaki: [240, 230, 140],
+ lavender: [230, 230, 250],
+ lavenderblush: [255, 240, 245],
+ lawngreen: [124, 252, 0],
+ lemonchiffon: [255, 250, 205],
+ lightblue: [173, 216, 230],
+ lightcoral: [240, 128, 128],
+ lightcyan: [224, 255, 255],
+ lightgoldenrodyellow: [250, 250, 210],
+ lightgray: [211, 211, 211],
+ lightgreen: [144, 238, 144],
+ lightgrey: [211, 211, 211],
+ lightpink: [255, 182, 193],
+ lightsalmon: [255, 160, 122],
+ lightseagreen: [32, 178, 170],
+ lightskyblue: [135, 206, 250],
+ lightslategray: [119, 136, 153],
+ lightslategrey: [119, 136, 153],
+ lightsteelblue: [176, 196, 222],
+ lightyellow: [255, 255, 224],
+ lime: [0, 255, 0],
+ limegreen: [50, 205, 50],
+ linen: [250, 240, 230],
+ magenta: [255, 0, 255],
+ maroon: [128, 0, 0],
+ mediumaquamarine: [102, 205, 170],
+ mediumblue: [0, 0, 205],
+ mediumorchid: [186, 85, 211],
+ mediumpurple: [147, 112, 219],
+ mediumseagreen: [60, 179, 113],
+ mediumslateblue: [123, 104, 238],
+ mediumspringgreen: [0, 250, 154],
+ mediumturquoise: [72, 209, 204],
+ mediumvioletred: [199, 21, 133],
+ midnightblue: [25, 25, 112],
+ mintcream: [245, 255, 250],
+ mistyrose: [255, 228, 225],
+ moccasin: [255, 228, 181],
+ navajowhite: [255, 222, 173],
+ navy: [0, 0, 128],
+ oldlace: [253, 245, 230],
+ olive: [128, 128, 0],
+ olivedrab: [107, 142, 35],
+ orange: [255, 165, 0],
+ orangered: [255, 69, 0],
+ orchid: [218, 112, 214],
+ palegoldenrod: [238, 232, 170],
+ palegreen: [152, 251, 152],
+ paleturquoise: [175, 238, 238],
+ palevioletred: [219, 112, 147],
+ papayawhip: [255, 239, 213],
+ peachpuff: [255, 218, 185],
+ peru: [205, 133, 63],
+ pink: [255, 192, 203],
+ plum: [221, 160, 221],
+ powderblue: [176, 224, 230],
+ purple: [128, 0, 128],
+ rebeccapurple: [102, 51, 153],
+ red: [255, 0, 0],
+ rosybrown: [188, 143, 143],
+ royalblue: [65, 105, 225],
+ saddlebrown: [139, 69, 19],
+ salmon: [250, 128, 114],
+ sandybrown: [244, 164, 96],
+ seagreen: [46, 139, 87],
+ seashell: [255, 245, 238],
+ sienna: [160, 82, 45],
+ silver: [192, 192, 192],
+ skyblue: [135, 206, 235],
+ slateblue: [106, 90, 205],
+ slategray: [112, 128, 144],
+ slategrey: [112, 128, 144],
+ snow: [255, 250, 250],
+ springgreen: [0, 255, 127],
+ steelblue: [70, 130, 180],
+ tan: [210, 180, 140],
+ teal: [0, 128, 128],
+ thistle: [216, 191, 216],
+ tomato: [255, 99, 71],
+ turquoise: [64, 224, 208],
+ violet: [238, 130, 238],
+ wheat: [245, 222, 179],
+ white: [255, 255, 255],
+ whitesmoke: [245, 245, 245],
+ yellow: [255, 255, 0],
+ yellowgreen: [154, 205, 50]
+};
+
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/index.js
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/index.js b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/index.js
new file mode 100644
index 0000000..b3418f6
--- /dev/null
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/index.js
@@ -0,0 +1,75 @@
+var conversions = require('./conversions');
+var route = require('./route');
+
+var convert = {};
+
+var models = Object.keys(conversions);
+
+function wrapRaw(fn) {
+ var wrappedFn = function (args) {
+ if (args === undefined || args === null) {
+ return args;
+ }
+
+ if (arguments.length > 1) {
+ args = Array.prototype.slice.call(arguments);
+ }
+
+ return fn(args);
+ };
+
+ // preserve .conversion property if there is one
+ if ('conversion' in fn) {
+ wrappedFn.conversion = fn.conversion;
+ }
+
+ return wrappedFn;
+}
+
+function wrapRounded(fn) {
+ var wrappedFn = function (args) {
+ if (args === undefined || args === null) {
+ return args;
+ }
+
+ if (arguments.length > 1) {
+ args = Array.prototype.slice.call(arguments);
+ }
+
+ var result = fn(args);
+
+ // we're assuming the result is an array here.
+ // see notice in conversions.js; don't use box types
+ // in conversion functions.
+ if (typeof result === 'object') {
+ for (var len = result.length, i = 0; i < len; i++) {
+ result[i] = Math.round(result[i]);
+ }
+ }
+
+ return result;
+ };
+
+ // preserve .conversion property if there is one
+ if ('conversion' in fn) {
+ wrappedFn.conversion = fn.conversion;
+ }
+
+ return wrappedFn;
+}
+
+models.forEach(function (fromModel) {
+ convert[fromModel] = {};
+
+ var routes = route(fromModel);
+ var routeModels = Object.keys(routes);
+
+ routeModels.forEach(function (toModel) {
+ var fn = routes[toModel];
+
+ convert[fromModel][toModel] = wrapRounded(fn);
+ convert[fromModel][toModel].raw = wrapRaw(fn);
+ });
+});
+
+module.exports = convert;
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/012b9d3b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json
new file mode 100644
index 0000000..fab11d7
--- /dev/null
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json
@@ -0,0 +1,84 @@
+{
+ "name": "color-convert",
+ "description": "Plain color conversion functions",
+ "version": "1.0.0",
+ "author": {
+ "name": "Heather Arthur",
+ "email": "fayearthur@gmail.com"
+ },
+ "license": "MIT",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/qix-/color-convert.git"
+ },
+ "scripts": {
+ "pretest": "xo",
+ "test": "node test/basic.js"
+ },
+ "keywords": [
+ "color",
+ "colour",
+ "convert",
+ "converter",
+ "conversion",
+ "rgb",
+ "hsl",
+ "hsv",
+ "hwb",
+ "cmyk",
+ "ansi",
+ "ansi16"
+ ],
+ "files": [
+ "index.js",
+ "conversions.js",
+ "css-keywords.js",
+ "route.js"
+ ],
+ "xo": {
+ "rules": {
+ "default-case": 0,
+ "no-inline-comments": 0,
+ "operator-linebreak": 0
+ }
+ },
+ "devDependencies": {
+ "chalk": "^1.1.1",
+ "xo": "^0.11.2"
+ },
+ "gitHead": "31cd56dc3d34ae332cc83d90bd4f925baf5bd982",
+ "bugs": {
+ "url": "https://github.com/qix-/color-convert/issues"
+ },
+ "homepage": "https://github.com/qix-/color-convert#readme",
+ "_id": "color-convert@1.0.0",
+ "_shasum": "3c26fcd885d272d45beacf6e41baba75c89a8579",
+ "_from": "color-convert@>=1.0.0 <2.0.0",
+ "_npmVersion": "3.3.6",
+ "_nodeVersion": "4.1.1",
+ "_npmUser": {
+ "name": "qix",
+ "email": "i.am.qix@gmail.com"
+ },
+ "dist": {
+ "shasum": "3c26fcd885d272d45beacf6e41baba75c89a8579",
+ "tarball": "http://registry.npmjs.org/color-convert/-/color-convert-1.0.0.tgz"
+ },
+ "maintainers": [
+ {
+ "name": "harth",
+ "email": "fayearthur@gmail.com"
+ },
+ {
+ "name": "moox",
+ "email": "m@moox.io"
+ },
+ {
+ "name": "qix",
+ "email": "i.am.qix@gmail.com"
+ }
+ ],
+ "directories": {},
+ "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.0.0.tgz",
+ "readme": "ERROR: No README data found!"
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org