You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2017/03/28 05:25:41 UTC
[9/9] android commit: CB-12609: checking in updated node_modules
CB-12609: checking in updated node_modules
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/a8af103f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/a8af103f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/a8af103f
Branch: refs/heads/master
Commit: a8af103ff4501709afd13fcc581f059fd4da2570
Parents: 0df50c3
Author: Steve Gill <st...@gmail.com>
Authored: Mon Mar 27 22:23:09 2017 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Mon Mar 27 22:23:09 2017 -0700
----------------------------------------------------------------------
node_modules/abbrev/abbrev.js | 1 -
node_modules/abbrev/package.json | 31 +-
node_modules/ansi/package.json | 1 -
node_modules/balanced-match/package.json | 1 -
node_modules/base64-js/package.json | 1 -
node_modules/big-integer/LICENSE | 24 +
node_modules/big-integer/package.json | 6 +-
node_modules/bplist-parser/package.json | 1 -
node_modules/brace-expansion/package.json | 1 -
node_modules/concat-map/package.json | 1 -
node_modules/cordova-common/package.json | 6 +-
.../cordova-registry-mapper/package.json | 1 -
node_modules/elementtree/.travis.yml | 6 +-
node_modules/elementtree/CHANGES.md | 2 +-
node_modules/elementtree/package.json | 54 +-
node_modules/elementtree/tests/data/bom-xml.xml | 17 +
node_modules/elementtree/tests/test-simple.js | 9 +
node_modules/glob/package.json | 4 +-
node_modules/inflight/package.json | 2 -
node_modules/inherits/package.json | 6 +-
node_modules/lodash/package.json | 1 -
node_modules/minimatch/package.json | 5 +-
node_modules/nopt/package.json | 4 +-
node_modules/once/package.json | 5 +-
node_modules/os-homedir/package.json | 1 -
node_modules/os-tmpdir/package.json | 1 -
node_modules/osenv/package.json | 6 +-
node_modules/path-is-absolute/package.json | 2 -
node_modules/plist/package.json | 1 -
node_modules/properties-parser/package.json | 1 -
node_modules/pseudomap/LICENSE | 15 -
node_modules/pseudomap/README.md | 60 -
node_modules/pseudomap/map.js | 9 -
node_modules/pseudomap/package.json | 85 -
node_modules/pseudomap/pseudomap.js | 113 -
node_modules/pseudomap/test/basic.js | 86 -
node_modules/q/CHANGES.md | 6 +
node_modules/q/LICENSE | 2 +-
node_modules/q/README.md | 19 +-
node_modules/q/package.json | 30 +-
node_modules/q/q.js | 53 +-
node_modules/sax/AUTHORS | 9 -
node_modules/sax/LICENSE | 64 +-
node_modules/sax/LICENSE-W3C.html | 188 +
node_modules/sax/README.md | 105 +-
node_modules/sax/examples/big-not-pretty.xml | 8002 ------------------
node_modules/sax/examples/example.js | 41 -
node_modules/sax/examples/get-products.js | 58 -
node_modules/sax/examples/hello-world.js | 4 -
node_modules/sax/examples/not-pretty.xml | 8 -
node_modules/sax/examples/pretty-print.js | 74 -
node_modules/sax/examples/shopping.xml | 2 -
node_modules/sax/examples/strict.dtd | 870 --
node_modules/sax/examples/switch-bench.js | 45 -
node_modules/sax/examples/test.html | 15 -
node_modules/sax/examples/test.xml | 1254 ---
node_modules/sax/lib/sax.js | 2385 ++++--
node_modules/sax/package.json | 65 +-
node_modules/sax/test/buffer-overrun.js | 25 -
node_modules/sax/test/cdata-chunked.js | 11 -
node_modules/sax/test/cdata-end-split.js | 15 -
node_modules/sax/test/cdata-fake-end.js | 28 -
node_modules/sax/test/cdata-multiple.js | 15 -
node_modules/sax/test/cdata.js | 10 -
node_modules/sax/test/index.js | 86 -
node_modules/sax/test/issue-23.js | 43 -
node_modules/sax/test/issue-30.js | 24 -
node_modules/sax/test/issue-35.js | 15 -
node_modules/sax/test/issue-47.js | 13 -
node_modules/sax/test/issue-49.js | 31 -
node_modules/sax/test/parser-position.js | 28 -
node_modules/sax/test/script.js | 12 -
.../sax/test/self-closing-child-strict.js | 40 -
node_modules/sax/test/self-closing-child.js | 40 -
node_modules/sax/test/self-closing-tag.js | 25 -
node_modules/sax/test/stray-ending.js | 17 -
.../sax/test/trailing-non-whitespace.js | 17 -
node_modules/sax/test/unquoted.js | 17 -
node_modules/sax/test/xmlns-issue-41.js | 67 -
node_modules/sax/test/xmlns-rebinding.js | 59 -
node_modules/sax/test/xmlns-strict.js | 71 -
node_modules/sax/test/xmlns-unbound.js | 15 -
.../test/xmlns-xml-default-prefix-attribute.js | 35 -
.../sax/test/xmlns-xml-default-prefix.js | 20 -
.../sax/test/xmlns-xml-default-redefine.js | 40 -
node_modules/semver/package.json | 1 -
node_modules/shelljs/package.json | 1 -
node_modules/underscore/package.json | 4 +-
node_modules/unorm/package.json | 1 -
node_modules/util-deprecate/package.json | 1 -
node_modules/wrappy/package.json | 1 -
node_modules/xmlbuilder/package.json | 1 -
node_modules/xmldom/package.json | 6 +-
node_modules/yallist/LICENSE | 15 -
node_modules/yallist/README.md | 204 -
node_modules/yallist/iterator.js | 7 -
node_modules/yallist/package.json | 96 -
node_modules/yallist/yallist.js | 370 -
98 files changed, 1986 insertions(+), 13410 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/abbrev/abbrev.js
----------------------------------------------------------------------
diff --git a/node_modules/abbrev/abbrev.js b/node_modules/abbrev/abbrev.js
index 69cfeac..7b1dc5d 100644
--- a/node_modules/abbrev/abbrev.js
+++ b/node_modules/abbrev/abbrev.js
@@ -1,4 +1,3 @@
-
module.exports = exports = abbrev.abbrev = abbrev
abbrev.monkeyPatch = monkeyPatch
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/abbrev/package.json
----------------------------------------------------------------------
diff --git a/node_modules/abbrev/package.json b/node_modules/abbrev/package.json
index e997ac0..f7e5da3 100644
--- a/node_modules/abbrev/package.json
+++ b/node_modules/abbrev/package.json
@@ -14,20 +14,19 @@
]
],
"_from": "abbrev@>=1.0.0 <2.0.0",
- "_id": "abbrev@1.0.9",
+ "_id": "abbrev@1.1.0",
"_inCache": true,
- "_installable": true,
"_location": "/abbrev",
- "_nodeVersion": "4.4.4",
+ "_nodeVersion": "8.0.0-pre",
"_npmOperationalInternal": {
- "host": "packages-16-east.internal.npmjs.com",
- "tmp": "tmp/abbrev-1.0.9.tgz_1466016055839_0.7825860097073019"
+ "host": "packages-12-west.internal.npmjs.com",
+ "tmp": "tmp/abbrev-1.1.0.tgz_1487054000015_0.9229173036292195"
},
"_npmUser": {
"name": "isaacs",
"email": "i@izs.me"
},
- "_npmVersion": "3.9.1",
+ "_npmVersion": "4.3.0",
"_phantomChildren": {},
"_requested": {
"raw": "abbrev@1",
@@ -39,11 +38,10 @@
"type": "range"
},
"_requiredBy": [
- "/istanbul",
"/nopt"
],
- "_resolved": "http://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz",
- "_shasum": "91b4792588a7738c25f35dd6f63752a2f8776135",
+ "_resolved": "http://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz",
+ "_shasum": "d0554c2256636e2f56e7c2e5ad183f859428d81f",
"_shrinkwrap": null,
"_spec": "abbrev@1",
"_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/nopt",
@@ -57,17 +55,17 @@
"dependencies": {},
"description": "Like ruby's abbrev module, but in js",
"devDependencies": {
- "tap": "^5.7.2"
+ "tap": "^10.1"
},
"directories": {},
"dist": {
- "shasum": "91b4792588a7738c25f35dd6f63752a2f8776135",
- "tarball": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz"
+ "shasum": "d0554c2256636e2f56e7c2e5ad183f859428d81f",
+ "tarball": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz"
},
"files": [
"abbrev.js"
],
- "gitHead": "c386cd9dbb1d8d7581718c54d4ba944cc9298d6f",
+ "gitHead": "7136d4d95449dc44115d4f78b80ec907724f64e0",
"homepage": "https://github.com/isaacs/abbrev-js#readme",
"license": "ISC",
"main": "abbrev.js",
@@ -85,7 +83,10 @@
"url": "git+ssh://git@github.com/isaacs/abbrev-js.git"
},
"scripts": {
- "test": "tap test.js --cov"
+ "postpublish": "git push origin --all; git push origin --tags",
+ "postversion": "npm publish",
+ "preversion": "npm test",
+ "test": "tap test.js --100"
},
- "version": "1.0.9"
+ "version": "1.1.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/ansi/package.json
----------------------------------------------------------------------
diff --git a/node_modules/ansi/package.json b/node_modules/ansi/package.json
index 5569642..d136949 100644
--- a/node_modules/ansi/package.json
+++ b/node_modules/ansi/package.json
@@ -16,7 +16,6 @@
"_from": "ansi@>=0.3.1 <0.4.0",
"_id": "ansi@0.3.1",
"_inCache": true,
- "_installable": true,
"_location": "/ansi",
"_nodeVersion": "5.3.0",
"_npmUser": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/balanced-match/package.json
----------------------------------------------------------------------
diff --git a/node_modules/balanced-match/package.json b/node_modules/balanced-match/package.json
index 25e4fa8..11da31f 100644
--- a/node_modules/balanced-match/package.json
+++ b/node_modules/balanced-match/package.json
@@ -16,7 +16,6 @@
"_from": "balanced-match@>=0.4.1 <0.5.0",
"_id": "balanced-match@0.4.2",
"_inCache": true,
- "_installable": true,
"_location": "/balanced-match",
"_nodeVersion": "4.4.7",
"_npmOperationalInternal": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/base64-js/package.json
----------------------------------------------------------------------
diff --git a/node_modules/base64-js/package.json b/node_modules/base64-js/package.json
index 61922bf..8d2a77f 100644
--- a/node_modules/base64-js/package.json
+++ b/node_modules/base64-js/package.json
@@ -16,7 +16,6 @@
"_from": "base64-js@0.0.8",
"_id": "base64-js@0.0.8",
"_inCache": true,
- "_installable": true,
"_location": "/base64-js",
"_nodeVersion": "0.10.35",
"_npmUser": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/big-integer/LICENSE
----------------------------------------------------------------------
diff --git a/node_modules/big-integer/LICENSE b/node_modules/big-integer/LICENSE
new file mode 100644
index 0000000..cf1ab25
--- /dev/null
+++ b/node_modules/big-integer/LICENSE
@@ -0,0 +1,24 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+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 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.
+
+For more information, please refer to <http://unlicense.org>
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/big-integer/package.json
----------------------------------------------------------------------
diff --git a/node_modules/big-integer/package.json b/node_modules/big-integer/package.json
index 2d7ad6f..d2b080c 100644
--- a/node_modules/big-integer/package.json
+++ b/node_modules/big-integer/package.json
@@ -10,7 +10,7 @@
"spec": ">=1.6.7 <2.0.0",
"type": "range"
},
- "/Users/maj/src/cordova-android/node_modules/bplist-parser"
+ "/Users/steveng/repo/cordova/cordova-android/node_modules/bplist-parser"
]
],
"_from": "big-integer@>=1.6.7 <2.0.0",
@@ -40,11 +40,11 @@
"_requiredBy": [
"/bplist-parser"
],
- "_resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.17.tgz",
+ "_resolved": "http://registry.npmjs.org/big-integer/-/big-integer-1.6.17.tgz",
"_shasum": "f0dcf5109a949e42a993ee3e8fb2070452817b51",
"_shrinkwrap": null,
"_spec": "big-integer@^1.6.7",
- "_where": "/Users/maj/src/cordova-android/node_modules/bplist-parser",
+ "_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/bplist-parser",
"author": {
"name": "Peter Olson",
"email": "peter.e.c.olson+npm@gmail.com"
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/bplist-parser/package.json
----------------------------------------------------------------------
diff --git a/node_modules/bplist-parser/package.json b/node_modules/bplist-parser/package.json
index 8865539..3b567db 100644
--- a/node_modules/bplist-parser/package.json
+++ b/node_modules/bplist-parser/package.json
@@ -16,7 +16,6 @@
"_from": "bplist-parser@>=0.1.0 <0.2.0",
"_id": "bplist-parser@0.1.1",
"_inCache": true,
- "_installable": true,
"_location": "/bplist-parser",
"_nodeVersion": "5.1.0",
"_npmUser": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/brace-expansion/package.json
----------------------------------------------------------------------
diff --git a/node_modules/brace-expansion/package.json b/node_modules/brace-expansion/package.json
index 33a4d08..ad7edb5 100644
--- a/node_modules/brace-expansion/package.json
+++ b/node_modules/brace-expansion/package.json
@@ -16,7 +16,6 @@
"_from": "brace-expansion@>=1.0.0 <2.0.0",
"_id": "brace-expansion@1.1.6",
"_inCache": true,
- "_installable": true,
"_location": "/brace-expansion",
"_nodeVersion": "4.4.7",
"_npmOperationalInternal": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/concat-map/package.json
----------------------------------------------------------------------
diff --git a/node_modules/concat-map/package.json b/node_modules/concat-map/package.json
index fcb5849..9bdd311 100644
--- a/node_modules/concat-map/package.json
+++ b/node_modules/concat-map/package.json
@@ -16,7 +16,6 @@
"_from": "concat-map@0.0.1",
"_id": "concat-map@0.0.1",
"_inCache": true,
- "_installable": true,
"_location": "/concat-map",
"_npmUser": {
"name": "substack",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/cordova-common/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-common/package.json b/node_modules/cordova-common/package.json
index 388d201..a7c3d8b 100644
--- a/node_modules/cordova-common/package.json
+++ b/node_modules/cordova-common/package.json
@@ -10,7 +10,7 @@
"spec": ">=2.0.1 <3.0.0",
"type": "range"
},
- "/Users/maj/src/cordova-android"
+ "/Users/steveng/repo/cordova/cordova-android"
]
],
"_from": "cordova-common@>=2.0.1 <3.0.0",
@@ -40,11 +40,11 @@
"_requiredBy": [
"/"
],
- "_resolved": "file:tools/cordova-common-2.0.1.tgz",
+ "_resolved": "http://registry.npmjs.org/cordova-common/-/cordova-common-2.0.1.tgz",
"_shasum": "99af318d7cb8988047cfe37bb9f25ea881d52815",
"_shrinkwrap": null,
"_spec": "cordova-common@^2.0.1",
- "_where": "/Users/maj/src/cordova-android",
+ "_where": "/Users/steveng/repo/cordova/cordova-android",
"author": {
"name": "Apache Software Foundation"
},
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/cordova-registry-mapper/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-registry-mapper/package.json b/node_modules/cordova-registry-mapper/package.json
index f835196..e1b9437 100644
--- a/node_modules/cordova-registry-mapper/package.json
+++ b/node_modules/cordova-registry-mapper/package.json
@@ -16,7 +16,6 @@
"_from": "cordova-registry-mapper@>=1.1.8 <2.0.0",
"_id": "cordova-registry-mapper@1.1.15",
"_inCache": true,
- "_installable": true,
"_location": "/cordova-registry-mapper",
"_nodeVersion": "5.4.1",
"_npmUser": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/elementtree/.travis.yml
----------------------------------------------------------------------
diff --git a/node_modules/elementtree/.travis.yml b/node_modules/elementtree/.travis.yml
index 6f27c96..1ab2652 100644
--- a/node_modules/elementtree/.travis.yml
+++ b/node_modules/elementtree/.travis.yml
@@ -1,7 +1,11 @@
language: node_js
+sudo: false
node_js:
- - 0.6
+ - "0.10"
+ - "0.11"
+ - "0.12"
+ - "iojs"
script: make test
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/elementtree/CHANGES.md
----------------------------------------------------------------------
diff --git a/node_modules/elementtree/CHANGES.md b/node_modules/elementtree/CHANGES.md
index 50d415d..08fdb1f 100644
--- a/node_modules/elementtree/CHANGES.md
+++ b/node_modules/elementtree/CHANGES.md
@@ -1,4 +1,4 @@
-elementtree v0.1.6 (in development)
+elementtree v0.1.6 - 2014-02-06
* Add support for CData elements. (#14)
[hermannpencole]
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/elementtree/package.json
----------------------------------------------------------------------
diff --git a/node_modules/elementtree/package.json b/node_modules/elementtree/package.json
index 5a8ff65..9d973b6 100644
--- a/node_modules/elementtree/package.json
+++ b/node_modules/elementtree/package.json
@@ -14,15 +14,19 @@
]
],
"_from": "elementtree@>=0.1.6 <0.2.0",
- "_id": "elementtree@0.1.6",
+ "_id": "elementtree@0.1.7",
"_inCache": true,
- "_installable": true,
"_location": "/elementtree",
+ "_nodeVersion": "4.5.0",
+ "_npmOperationalInternal": {
+ "host": "packages-12-west.internal.npmjs.com",
+ "tmp": "tmp/elementtree-0.1.7.tgz_1485230431723_0.19623595383018255"
+ },
"_npmUser": {
- "name": "rphillips",
- "email": "ryan@trolocsis.com"
+ "name": "mburns",
+ "email": "michael@mirwin.net"
},
- "_npmVersion": "1.3.24",
+ "_npmVersion": "2.15.9",
"_phantomChildren": {},
"_requested": {
"raw": "elementtree@^0.1.6",
@@ -37,8 +41,8 @@
"/",
"/cordova-common"
],
- "_resolved": "http://registry.npmjs.org/elementtree/-/elementtree-0.1.6.tgz",
- "_shasum": "2ac4c46ea30516c8c4cbdb5e3ac7418e592de20c",
+ "_resolved": "http://registry.npmjs.org/elementtree/-/elementtree-0.1.7.tgz",
+ "_shasum": "9ac91be6e52fb6e6244c4e54a4ac3ed8ae8e29c0",
"_shrinkwrap": null,
"_spec": "elementtree@^0.1.6",
"_where": "/Users/steveng/repo/cordova/cordova-android",
@@ -59,7 +63,7 @@
}
],
"dependencies": {
- "sax": "0.3.5"
+ "sax": "1.1.4"
},
"description": "XML Serialization and Parsing module based on Python's ElementTree.",
"devDependencies": {
@@ -69,12 +73,13 @@
"lib": "lib"
},
"dist": {
- "shasum": "2ac4c46ea30516c8c4cbdb5e3ac7418e592de20c",
- "tarball": "https://registry.npmjs.org/elementtree/-/elementtree-0.1.6.tgz"
+ "shasum": "9ac91be6e52fb6e6244c4e54a4ac3ed8ae8e29c0",
+ "tarball": "https://registry.npmjs.org/elementtree/-/elementtree-0.1.7.tgz"
},
"engines": {
"node": ">= 0.4.0"
},
+ "gitHead": "1e9496379f6a1072e2b817f51a296f7cd9f07e43",
"homepage": "https://github.com/racker/node-elementtree",
"keywords": [
"xml",
@@ -83,15 +88,30 @@
"seralization",
"elementtree"
],
- "licenses": [
- {
- "type": "Apache",
- "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
- }
- ],
+ "license": "Apache-2.0",
"main": "lib/elementtree.js",
"maintainers": [
{
+ "name": "jirwin",
+ "email": "justin.gallardo@gmail.com"
+ },
+ {
+ "name": "kami",
+ "email": "tomaz+npm@tomaz.me"
+ },
+ {
+ "name": "mburns",
+ "email": "michael@mirwin.net"
+ },
+ {
+ "name": "pquerna",
+ "email": "pquerna@apache.org"
+ },
+ {
+ "name": "rchiniquy",
+ "email": "robert.chiniquy@gmail.com"
+ },
+ {
"name": "rphillips",
"email": "ryan@trolocsis.com"
}
@@ -106,5 +126,5 @@
"scripts": {
"test": "make test"
},
- "version": "0.1.6"
+ "version": "0.1.7"
}
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/elementtree/tests/data/bom-xml.xml
----------------------------------------------------------------------
diff --git a/node_modules/elementtree/tests/data/bom-xml.xml b/node_modules/elementtree/tests/data/bom-xml.xml
new file mode 100644
index 0000000..122cce6
--- /dev/null
+++ b/node_modules/elementtree/tests/data/bom-xml.xml
@@ -0,0 +1,17 @@
+\ufeff<?xml version="1.0"?>
+<container name="test_container_1" xmlns:android="http://schemas.android.com/apk/res/android">
+ <object>dd
+ <name>test_object_1</name>
+ <hash>4281c348eaf83e70ddce0e07221c3d28</hash>
+ <bytes android:type="cool">14</bytes>
+ <content_type>application/octetstream</content_type>
+ <last_modified>2009-02-03T05:26:32.612278</last_modified>
+ </object>
+ <object>
+ <name>test_object_2</name>
+ <hash>b039efe731ad111bc1b0ef221c3849d0</hash>
+ <bytes android:type="lame">64</bytes>
+ <content_type>application/octetstream</content_type>
+ <last_modified>2009-02-03T05:26:32.612278</last_modified>
+ </object>
+</container>
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/elementtree/tests/test-simple.js
----------------------------------------------------------------------
diff --git a/node_modules/elementtree/tests/test-simple.js b/node_modules/elementtree/tests/test-simple.js
index 1fc04b8..629a208 100644
--- a/node_modules/elementtree/tests/test-simple.js
+++ b/node_modules/elementtree/tests/test-simple.js
@@ -337,3 +337,12 @@ exports['test_cdata_write'] = function(test, assert) {
test.finish();
};
+
+exports['test_read_bom'] = function(test, assert) {
+ var file = readFile('bom-xml.xml');
+ var etree = et.parse(file);
+
+ // If parse finished, test was successful
+
+ test.finish();
+};
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/glob/package.json
----------------------------------------------------------------------
diff --git a/node_modules/glob/package.json b/node_modules/glob/package.json
index 2823a1c..556d695 100644
--- a/node_modules/glob/package.json
+++ b/node_modules/glob/package.json
@@ -16,7 +16,6 @@
"_from": "glob@>=5.0.13 <6.0.0",
"_id": "glob@5.0.15",
"_inCache": true,
- "_installable": true,
"_location": "/glob",
"_nodeVersion": "4.0.0",
"_npmUser": {
@@ -35,8 +34,7 @@
"type": "range"
},
"_requiredBy": [
- "/cordova-common",
- "/istanbul"
+ "/cordova-common"
],
"_resolved": "http://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
"_shasum": "1bc936b9e02f4a603fcc222ecf7633d30b8b93b1",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/inflight/package.json
----------------------------------------------------------------------
diff --git a/node_modules/inflight/package.json b/node_modules/inflight/package.json
index 2d30258..4b7e9e0 100644
--- a/node_modules/inflight/package.json
+++ b/node_modules/inflight/package.json
@@ -16,7 +16,6 @@
"_from": "inflight@>=1.0.4 <2.0.0",
"_id": "inflight@1.0.6",
"_inCache": true,
- "_installable": true,
"_location": "/inflight",
"_nodeVersion": "6.5.0",
"_npmOperationalInternal": {
@@ -39,7 +38,6 @@
"type": "range"
},
"_requiredBy": [
- "/cli/glob",
"/glob"
],
"_resolved": "http://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/inherits/package.json
----------------------------------------------------------------------
diff --git a/node_modules/inherits/package.json b/node_modules/inherits/package.json
index 740569d..d90363b 100644
--- a/node_modules/inherits/package.json
+++ b/node_modules/inherits/package.json
@@ -16,7 +16,6 @@
"_from": "inherits@>=2.0.0 <3.0.0",
"_id": "inherits@2.0.3",
"_inCache": true,
- "_installable": true,
"_location": "/inherits",
"_nodeVersion": "6.5.0",
"_npmOperationalInternal": {
@@ -39,10 +38,7 @@
"type": "range"
},
"_requiredBy": [
- "/cli/glob",
- "/fileset/glob",
- "/glob",
- "/readable-stream"
+ "/glob"
],
"_resolved": "http://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"_shasum": "633c2c83e3da42a502f52466022480f4208261de",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/lodash/package.json
----------------------------------------------------------------------
diff --git a/node_modules/lodash/package.json b/node_modules/lodash/package.json
index 2c01326..6db3cf0 100644
--- a/node_modules/lodash/package.json
+++ b/node_modules/lodash/package.json
@@ -16,7 +16,6 @@
"_from": "lodash@>=3.5.0 <4.0.0",
"_id": "lodash@3.10.1",
"_inCache": true,
- "_installable": true,
"_location": "/lodash",
"_nodeVersion": "0.12.5",
"_npmUser": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/minimatch/package.json
----------------------------------------------------------------------
diff --git a/node_modules/minimatch/package.json b/node_modules/minimatch/package.json
index 43a6853..b257735 100644
--- a/node_modules/minimatch/package.json
+++ b/node_modules/minimatch/package.json
@@ -16,7 +16,6 @@
"_from": "minimatch@>=3.0.0 <4.0.0",
"_id": "minimatch@3.0.3",
"_inCache": true,
- "_installable": true,
"_location": "/minimatch",
"_nodeVersion": "4.4.4",
"_npmOperationalInternal": {
@@ -39,10 +38,8 @@
"type": "range"
},
"_requiredBy": [
- "/cli/glob",
"/cordova-common",
- "/glob",
- "/jshint"
+ "/glob"
],
"_resolved": "http://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz",
"_shasum": "2a4e4090b96b2db06a9d7df01055a62a77c9b774",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/nopt/package.json
----------------------------------------------------------------------
diff --git a/node_modules/nopt/package.json b/node_modules/nopt/package.json
index 4a99438..1b05aa1 100644
--- a/node_modules/nopt/package.json
+++ b/node_modules/nopt/package.json
@@ -16,7 +16,6 @@
"_from": "nopt@>=3.0.1 <4.0.0",
"_id": "nopt@3.0.6",
"_inCache": true,
- "_installable": true,
"_location": "/nopt",
"_nodeVersion": "4.2.1",
"_npmUser": {
@@ -35,8 +34,7 @@
"type": "range"
},
"_requiredBy": [
- "/",
- "/istanbul"
+ "/"
],
"_resolved": "http://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
"_shasum": "c6465dbf08abcd4db359317f79ac68a646b28ff9",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/once/package.json
----------------------------------------------------------------------
diff --git a/node_modules/once/package.json b/node_modules/once/package.json
index 3754795..1106c2f 100644
--- a/node_modules/once/package.json
+++ b/node_modules/once/package.json
@@ -16,7 +16,6 @@
"_from": "once@>=1.3.0 <2.0.0",
"_id": "once@1.4.0",
"_inCache": true,
- "_installable": true,
"_location": "/once",
"_nodeVersion": "6.5.0",
"_npmOperationalInternal": {
@@ -39,10 +38,8 @@
"type": "range"
},
"_requiredBy": [
- "/cli/glob",
"/glob",
- "/inflight",
- "/istanbul"
+ "/inflight"
],
"_resolved": "http://registry.npmjs.org/once/-/once-1.4.0.tgz",
"_shasum": "583b1aa775961d4b113ac17d9c50baef9dd76bd1",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/os-homedir/package.json
----------------------------------------------------------------------
diff --git a/node_modules/os-homedir/package.json b/node_modules/os-homedir/package.json
index 8f7e04a..f6146d5 100644
--- a/node_modules/os-homedir/package.json
+++ b/node_modules/os-homedir/package.json
@@ -16,7 +16,6 @@
"_from": "os-homedir@>=1.0.0 <2.0.0",
"_id": "os-homedir@1.0.2",
"_inCache": true,
- "_installable": true,
"_location": "/os-homedir",
"_nodeVersion": "6.6.0",
"_npmOperationalInternal": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/os-tmpdir/package.json
----------------------------------------------------------------------
diff --git a/node_modules/os-tmpdir/package.json b/node_modules/os-tmpdir/package.json
index 6b3203b..7f81416 100644
--- a/node_modules/os-tmpdir/package.json
+++ b/node_modules/os-tmpdir/package.json
@@ -16,7 +16,6 @@
"_from": "os-tmpdir@>=1.0.0 <2.0.0",
"_id": "os-tmpdir@1.0.2",
"_inCache": true,
- "_installable": true,
"_location": "/os-tmpdir",
"_nodeVersion": "6.6.0",
"_npmOperationalInternal": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/osenv/package.json
----------------------------------------------------------------------
diff --git a/node_modules/osenv/package.json b/node_modules/osenv/package.json
index 54f8817..741ebce 100644
--- a/node_modules/osenv/package.json
+++ b/node_modules/osenv/package.json
@@ -10,7 +10,7 @@
"spec": ">=0.1.3 <0.2.0",
"type": "range"
},
- "/Users/maj/src/cordova-android/node_modules/cordova-common"
+ "/Users/steveng/repo/cordova/cordova-android/node_modules/cordova-common"
]
],
"_from": "osenv@>=0.1.3 <0.2.0",
@@ -40,11 +40,11 @@
"_requiredBy": [
"/cordova-common"
],
- "_resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz",
+ "_resolved": "http://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz",
"_shasum": "42fe6d5953df06c8064be6f176c3d05aaaa34644",
"_shrinkwrap": null,
"_spec": "osenv@^0.1.3",
- "_where": "/Users/maj/src/cordova-android/node_modules/cordova-common",
+ "_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/cordova-common",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/path-is-absolute/package.json
----------------------------------------------------------------------
diff --git a/node_modules/path-is-absolute/package.json b/node_modules/path-is-absolute/package.json
index 0225c39..ee5a71f 100644
--- a/node_modules/path-is-absolute/package.json
+++ b/node_modules/path-is-absolute/package.json
@@ -16,7 +16,6 @@
"_from": "path-is-absolute@>=1.0.0 <2.0.0",
"_id": "path-is-absolute@1.0.1",
"_inCache": true,
- "_installable": true,
"_location": "/path-is-absolute",
"_nodeVersion": "6.6.0",
"_npmOperationalInternal": {
@@ -39,7 +38,6 @@
"type": "range"
},
"_requiredBy": [
- "/cli/glob",
"/glob"
],
"_resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/plist/package.json
----------------------------------------------------------------------
diff --git a/node_modules/plist/package.json b/node_modules/plist/package.json
index 9dd0f04..1e02de3 100644
--- a/node_modules/plist/package.json
+++ b/node_modules/plist/package.json
@@ -16,7 +16,6 @@
"_from": "plist@>=1.2.0 <2.0.0",
"_id": "plist@1.2.0",
"_inCache": true,
- "_installable": true,
"_location": "/plist",
"_nodeVersion": "5.0.0",
"_npmUser": {
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/properties-parser/package.json
----------------------------------------------------------------------
diff --git a/node_modules/properties-parser/package.json b/node_modules/properties-parser/package.json
index 9c3acab..80840b5 100644
--- a/node_modules/properties-parser/package.json
+++ b/node_modules/properties-parser/package.json
@@ -16,7 +16,6 @@
"_from": "properties-parser@>=0.2.3 <0.3.0",
"_id": "properties-parser@0.2.3",
"_inCache": true,
- "_installable": true,
"_location": "/properties-parser",
"_npmUser": {
"name": "xavi",
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/pseudomap/LICENSE
----------------------------------------------------------------------
diff --git a/node_modules/pseudomap/LICENSE b/node_modules/pseudomap/LICENSE
deleted file mode 100644
index 19129e3..0000000
--- a/node_modules/pseudomap/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-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.
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/pseudomap/README.md
----------------------------------------------------------------------
diff --git a/node_modules/pseudomap/README.md b/node_modules/pseudomap/README.md
deleted file mode 100644
index 778bf01..0000000
--- a/node_modules/pseudomap/README.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# pseudomap
-
-A thing that is a lot like ES6 `Map`, but without iterators, for use
-in environments where `for..of` syntax and `Map` are not available.
-
-If you need iterators, or just in general a more faithful polyfill to
-ES6 Maps, check out [es6-map](http://npm.im/es6-map).
-
-If you are in an environment where `Map` is supported, then that will
-be returned instead, unless `process.env.TEST_PSEUDOMAP` is set.
-
-You can use any value as keys, and any value as data. Setting again
-with the identical key will overwrite the previous value.
-
-Internally, data is stored on an `Object.create(null)` style object.
-The key is coerced to a string to generate the key on the internal
-data-bag object. The original key used is stored along with the data.
-
-In the event of a stringified-key collision, a new key is generated by
-appending an increasing number to the stringified-key until finding
-either the intended key or an empty spot.
-
-Note that because object traversal order of plain objects is not
-guaranteed to be identical to insertion order, the insertion order
-guarantee of `Map.prototype.forEach` is not guaranteed in this
-implementation. However, in all versions of Node.js and V8 where this
-module works, `forEach` does traverse data in insertion order.
-
-## API
-
-Most of the [Map
-API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map),
-with the following exceptions:
-
-1. A `Map` object is not an iterator.
-2. `values`, `keys`, and `entries` methods are not implemented,
- because they return iterators.
-3. The argument to the constructor can be an Array of `[key, value]`
- pairs, or a `Map` or `PseudoMap` object. But, since iterators
- aren't used, passing any plain-old iterator won't initialize the
- map properly.
-
-## USAGE
-
-Use just like a regular ES6 Map.
-
-```javascript
-var PseudoMap = require('pseudomap')
-
-// optionally provide a pseudomap, or an array of [key,value] pairs
-// as the argument to initialize the map with
-var myMap = new PseudoMap()
-
-myMap.set(1, 'number 1')
-myMap.set('1', 'string 1')
-var akey = {}
-var bkey = {}
-myMap.set(akey, { some: 'data' })
-myMap.set(bkey, { some: 'other data' })
-```
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/pseudomap/map.js
----------------------------------------------------------------------
diff --git a/node_modules/pseudomap/map.js b/node_modules/pseudomap/map.js
deleted file mode 100644
index 7db1599..0000000
--- a/node_modules/pseudomap/map.js
+++ /dev/null
@@ -1,9 +0,0 @@
-if (process.env.npm_package_name === 'pseudomap' &&
- process.env.npm_lifecycle_script === 'test')
- process.env.TEST_PSEUDOMAP = 'true'
-
-if (typeof Map === 'function' && !process.env.TEST_PSEUDOMAP) {
- module.exports = Map
-} else {
- module.exports = require('./pseudomap')
-}
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/pseudomap/package.json
----------------------------------------------------------------------
diff --git a/node_modules/pseudomap/package.json b/node_modules/pseudomap/package.json
deleted file mode 100644
index df0511d..0000000
--- a/node_modules/pseudomap/package.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "_args": [
- [
- {
- "raw": "pseudomap@^1.0.1",
- "scope": null,
- "escapedName": "pseudomap",
- "name": "pseudomap",
- "rawSpec": "^1.0.1",
- "spec": ">=1.0.1 <2.0.0",
- "type": "range"
- },
- "/Users/maj/src/cordova-android/node_modules/lru-cache"
- ]
- ],
- "_from": "pseudomap@>=1.0.1 <2.0.0",
- "_id": "pseudomap@1.0.2",
- "_inCache": true,
- "_location": "/pseudomap",
- "_nodeVersion": "4.0.0",
- "_npmUser": {
- "name": "isaacs",
- "email": "i@izs.me"
- },
- "_npmVersion": "3.3.2",
- "_phantomChildren": {},
- "_requested": {
- "raw": "pseudomap@^1.0.1",
- "scope": null,
- "escapedName": "pseudomap",
- "name": "pseudomap",
- "rawSpec": "^1.0.1",
- "spec": ">=1.0.1 <2.0.0",
- "type": "range"
- },
- "_requiredBy": [
- "/lru-cache"
- ],
- "_resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
- "_shasum": "f052a28da70e618917ef0a8ac34c1ae5a68286b3",
- "_shrinkwrap": null,
- "_spec": "pseudomap@^1.0.1",
- "_where": "/Users/maj/src/cordova-android/node_modules/lru-cache",
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "i@izs.me",
- "url": "http://blog.izs.me/"
- },
- "bugs": {
- "url": "https://github.com/isaacs/pseudomap/issues"
- },
- "dependencies": {},
- "description": "A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.",
- "devDependencies": {
- "tap": "^2.3.1"
- },
- "directories": {
- "test": "test"
- },
- "dist": {
- "shasum": "f052a28da70e618917ef0a8ac34c1ae5a68286b3",
- "tarball": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz"
- },
- "gitHead": "b6dc728207a0321ede6479e34506d3e0e13a940b",
- "homepage": "https://github.com/isaacs/pseudomap#readme",
- "license": "ISC",
- "main": "map.js",
- "maintainers": [
- {
- "name": "isaacs",
- "email": "i@izs.me"
- }
- ],
- "name": "pseudomap",
- "optionalDependencies": {},
- "readme": "ERROR: No README data found!",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/isaacs/pseudomap.git"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "version": "1.0.2"
-}
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/pseudomap/pseudomap.js
----------------------------------------------------------------------
diff --git a/node_modules/pseudomap/pseudomap.js b/node_modules/pseudomap/pseudomap.js
deleted file mode 100644
index 25a21d8..0000000
--- a/node_modules/pseudomap/pseudomap.js
+++ /dev/null
@@ -1,113 +0,0 @@
-var hasOwnProperty = Object.prototype.hasOwnProperty
-
-module.exports = PseudoMap
-
-function PseudoMap (set) {
- if (!(this instanceof PseudoMap)) // whyyyyyyy
- throw new TypeError("Constructor PseudoMap requires 'new'")
-
- this.clear()
-
- if (set) {
- if ((set instanceof PseudoMap) ||
- (typeof Map === 'function' && set instanceof Map))
- set.forEach(function (value, key) {
- this.set(key, value)
- }, this)
- else if (Array.isArray(set))
- set.forEach(function (kv) {
- this.set(kv[0], kv[1])
- }, this)
- else
- throw new TypeError('invalid argument')
- }
-}
-
-PseudoMap.prototype.forEach = function (fn, thisp) {
- thisp = thisp || this
- Object.keys(this._data).forEach(function (k) {
- if (k !== 'size')
- fn.call(thisp, this._data[k].value, this._data[k].key)
- }, this)
-}
-
-PseudoMap.prototype.has = function (k) {
- return !!find(this._data, k)
-}
-
-PseudoMap.prototype.get = function (k) {
- var res = find(this._data, k)
- return res && res.value
-}
-
-PseudoMap.prototype.set = function (k, v) {
- set(this._data, k, v)
-}
-
-PseudoMap.prototype.delete = function (k) {
- var res = find(this._data, k)
- if (res) {
- delete this._data[res._index]
- this._data.size--
- }
-}
-
-PseudoMap.prototype.clear = function () {
- var data = Object.create(null)
- data.size = 0
-
- Object.defineProperty(this, '_data', {
- value: data,
- enumerable: false,
- configurable: true,
- writable: false
- })
-}
-
-Object.defineProperty(PseudoMap.prototype, 'size', {
- get: function () {
- return this._data.size
- },
- set: function (n) {},
- enumerable: true,
- configurable: true
-})
-
-PseudoMap.prototype.values =
-PseudoMap.prototype.keys =
-PseudoMap.prototype.entries = function () {
- throw new Error('iterators are not implemented in this version')
-}
-
-// Either identical, or both NaN
-function same (a, b) {
- return a === b || a !== a && b !== b
-}
-
-function Entry (k, v, i) {
- this.key = k
- this.value = v
- this._index = i
-}
-
-function find (data, k) {
- for (var i = 0, s = '_' + k, key = s;
- hasOwnProperty.call(data, key);
- key = s + i++) {
- if (same(data[key].key, k))
- return data[key]
- }
-}
-
-function set (data, k, v) {
- for (var i = 0, s = '_' + k, key = s;
- hasOwnProperty.call(data, key);
- key = s + i++) {
- if (same(data[key].key, k)) {
- data[key].value = v
- return
- }
- }
- data.size++
- data[key] = new Entry(k, v, key)
-}
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/pseudomap/test/basic.js
----------------------------------------------------------------------
diff --git a/node_modules/pseudomap/test/basic.js b/node_modules/pseudomap/test/basic.js
deleted file mode 100644
index 4378e45..0000000
--- a/node_modules/pseudomap/test/basic.js
+++ /dev/null
@@ -1,86 +0,0 @@
-var t = require('tap')
-
-process.env.TEST_PSEUDOMAP = 'true'
-
-var PM = require('../')
-runTests(PM)
-
-// if possible, verify that Map also behaves the same way
-if (typeof Map === 'function')
- runTests(Map)
-
-
-function runTests (Map) {
- t.throws(Map)
-
- var m = new Map()
-
- t.equal(m.size, 0)
-
- m.set(1, '1 string')
- t.equal(m.get(1), '1 string')
- t.equal(m.size, 1)
- m.size = 1000
- t.equal(m.size, 1)
- m.size = 0
- t.equal(m.size, 1)
-
- m = new Map([[1, 'number 1'], ['1', 'string 1']])
- t.equal(m.get(1), 'number 1')
- t.equal(m.get('1'), 'string 1')
- t.equal(m.size, 2)
-
- m = new Map(m)
- t.equal(m.get(1), 'number 1')
- t.equal(m.get('1'), 'string 1')
- t.equal(m.size, 2)
-
- var akey = {}
- var bkey = {}
- m.set(akey, { some: 'data' })
- m.set(bkey, { some: 'other data' })
- t.same(m.get(akey), { some: 'data' })
- t.same(m.get(bkey), { some: 'other data' })
- t.equal(m.size, 4)
-
- var x = /x/
- var y = /x/
- m.set(x, 'x regex')
- m.set(y, 'y regex')
- t.equal(m.get(x), 'x regex')
- m.set(x, 'x again')
- t.equal(m.get(x), 'x again')
- t.equal(m.size, 6)
-
- m.set(NaN, 'not a number')
- t.equal(m.get(NaN), 'not a number')
- m.set(NaN, 'it is a ' + typeof NaN)
- t.equal(m.get(NaN), 'it is a number')
- m.set('NaN', 'stringie nan')
- t.equal(m.get(NaN), 'it is a number')
- t.equal(m.get('NaN'), 'stringie nan')
- t.equal(m.size, 8)
-
- m.delete(NaN)
- t.equal(m.get(NaN), undefined)
- t.equal(m.size, 7)
-
- var expect = [
- { value: 'number 1', key: 1 },
- { value: 'string 1', key: '1' },
- { value: { some: 'data' }, key: {} },
- { value: { some: 'other data' }, key: {} },
- { value: 'x again', key: /x/ },
- { value: 'y regex', key: /x/ },
- { value: 'stringie nan', key: 'NaN' }
- ]
- var actual = []
-
- m.forEach(function (value, key) {
- actual.push({ value: value, key: key })
- })
- t.same(actual, expect)
-
- m.clear()
- t.equal(m.size, 0)
-}
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/q/CHANGES.md
----------------------------------------------------------------------
diff --git a/node_modules/q/CHANGES.md b/node_modules/q/CHANGES.md
index cd351fd..2d845a3 100644
--- a/node_modules/q/CHANGES.md
+++ b/node_modules/q/CHANGES.md
@@ -1,3 +1,9 @@
+## 1.5.0
+
+ - Q.any gives an error message from the last rejected promise
+ - Throw if callback supplied to "finally" is invalid (@grahamrhay)
+ - Long stack trace improvements, can now construct long stack traces
+ across rethrows.
## 1.4.1
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/q/LICENSE
----------------------------------------------------------------------
diff --git a/node_modules/q/LICENSE b/node_modules/q/LICENSE
index 8a706b5..9ce1ea5 100644
--- a/node_modules/q/LICENSE
+++ b/node_modules/q/LICENSE
@@ -1,4 +1,4 @@
-Copyright 2009\u20132014 Kristopher Michael Kowal. All rights reserved.
+Copyright 2009\u20132017 Kristopher Michael Kowal. All rights reserved.
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
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/q/README.md
----------------------------------------------------------------------
diff --git a/node_modules/q/README.md b/node_modules/q/README.md
index 9065bfa..d2f57a6 100644
--- a/node_modules/q/README.md
+++ b/node_modules/q/README.md
@@ -1,17 +1,10 @@
-[](http://travis-ci.org/kriskowal/q)
+[](http://travis-ci.org/kriskowal/q)
+[](https://cdnjs.com/libraries/q.js)
<a href="http://promises-aplus.github.com/promises-spec">
- <img src="http://kriskowal.github.io/q/q.png"
- align="right" alt="Q logo" />
+ <img src="http://kriskowal.github.io/q/q.png" align="right" alt="Q logo" />
</a>
-*This is Q version 1, from the `v1` branch in Git. This documentation applies to
-the latest of both the version 1 and version 0.9 release trains. These releases
-are stable. There will be no further releases of 0.9 after 0.9.7 which is nearly
-equivalent to version 1.0.0. All further releases of `q@~1.0` will be backward
-compatible. The version 2 release train introduces significant and
-backward-incompatible changes and is experimental at this time.*
-
If a function cannot return a value or throw an exception without
blocking, it can return a promise instead. A promise is an object
that represents the return value or the thrown exception that the
@@ -80,7 +73,7 @@ The Q module can be loaded as:
the [q](https://npmjs.org/package/q) package
- An AMD module
- A [component](https://github.com/component/component) as ``microjs/q``
-- Using [bower](http://bower.io/) as `q#1.0.1`
+- Using [bower](http://bower.io/) as `q#^1.4.1`
- Using [NuGet](http://nuget.org/) as [Q](https://nuget.org/packages/q)
Q can exchange promises with jQuery, Dojo, When.js, WinJS, and more.
@@ -386,7 +379,7 @@ return funcs.reduce(Q.when, Q(initialVal));
### Handling Errors
-One sometimes-unintuive aspect of promises is that if you throw an
+One sometimes-unintuitive aspect of promises is that if you throw an
exception in the fulfillment handler, it will not be caught by the error
handler.
@@ -876,6 +869,6 @@ You can view the results of the Q test suite [in your browser][tests]!
## License
-Copyright 2009\u20132015 Kristopher Michael Kowal and contributors
+Copyright 2009\u20132017 Kristopher Michael Kowal and contributors
MIT License (enclosed)
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/q/package.json
----------------------------------------------------------------------
diff --git a/node_modules/q/package.json b/node_modules/q/package.json
index f9fedc3..bbe89dc 100644
--- a/node_modules/q/package.json
+++ b/node_modules/q/package.json
@@ -14,16 +14,19 @@
]
],
"_from": "q@>=1.4.1 <2.0.0",
- "_id": "q@1.4.1",
+ "_id": "q@1.5.0",
"_inCache": true,
- "_installable": true,
"_location": "/q",
- "_nodeVersion": "1.8.1",
+ "_nodeVersion": "6.9.5",
+ "_npmOperationalInternal": {
+ "host": "packages-18-east.internal.npmjs.com",
+ "tmp": "tmp/q-1.5.0.tgz_1490148893963_0.4695124195422977"
+ },
"_npmUser": {
"name": "kriskowal",
"email": "kris.kowal@cixar.com"
},
- "_npmVersion": "2.8.3",
+ "_npmVersion": "3.10.10",
"_phantomChildren": {},
"_requested": {
"raw": "q@^1.4.1",
@@ -38,8 +41,8 @@
"/",
"/cordova-common"
],
- "_resolved": "http://registry.npmjs.org/q/-/q-1.4.1.tgz",
- "_shasum": "55705bcd93c5f3673530c2c2cbc0c2b3addc286e",
+ "_resolved": "http://registry.npmjs.org/q/-/q-1.5.0.tgz",
+ "_shasum": "dd01bac9d06d30e6f219aecb8253ee9ebdc308f1",
"_shrinkwrap": null,
"_spec": "q@^1.4.1",
"_where": "/Users/steveng/repo/cordova/cordova-android",
@@ -85,8 +88,8 @@
"test": "./spec"
},
"dist": {
- "shasum": "55705bcd93c5f3673530c2c2cbc0c2b3addc286e",
- "tarball": "https://registry.npmjs.org/q/-/q-1.4.1.tgz"
+ "shasum": "dd01bac9d06d30e6f219aecb8253ee9ebdc308f1",
+ "tarball": "https://registry.npmjs.org/q/-/q-1.5.0.tgz"
},
"engines": {
"node": ">=0.6.0",
@@ -97,7 +100,7 @@
"q.js",
"queue.js"
],
- "gitHead": "d373079d3620152e3d60e82f27265a09ee0e81bd",
+ "gitHead": "4fecabe07ff9f3683a3d4548e7f81c2aba693326",
"homepage": "https://github.com/kriskowal/q",
"keywords": [
"q",
@@ -113,10 +116,7 @@
"browser",
"node"
],
- "license": {
- "type": "MIT",
- "url": "http://github.com/kriskowal/q/raw/master/LICENSE"
- },
+ "license": "MIT",
"main": "q.js",
"maintainers": [
{
@@ -148,8 +148,8 @@
"lint": "jshint q.js",
"minify": "grunt",
"prepublish": "grunt",
- "test": "jasmine-node spec && promises-aplus-tests spec/aplus-adapter",
+ "test": "npm ls -s && jasmine-node spec && promises-aplus-tests spec/aplus-adapter && npm run -s lint",
"test-browser": "opener spec/q-spec.html"
},
- "version": "1.4.1"
+ "version": "1.5.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/q/q.js
----------------------------------------------------------------------
diff --git a/node_modules/q/q.js b/node_modules/q/q.js
index cf5339e..14dc24a 100644
--- a/node_modules/q/q.js
+++ b/node_modules/q/q.js
@@ -1,8 +1,8 @@
// vim:ts=4:sts=4:sw=4:
/*!
*
- * Copyright 2009-2012 Kris Kowal under the terms of the MIT
- * license found at http://github.com/kriskowal/q/raw/master/LICENSE
+ * Copyright 2009-2017 Kris Kowal under the terms of the MIT
+ * license found at https://github.com/kriskowal/q/blob/v1/LICENSE
*
* With parts by Tyler Close
* Copyright 2007-2009 Tyler Close under the terms of the MIT X license found
@@ -190,7 +190,7 @@ var nextTick =(function () {
// `setTimeout`. In this case `setImmediate` is preferred because
// it is faster. Browserify's `process.toString()` yields
// "[object Object]", while in a real Node environment
- // `process.nextTick()` yields "[object process]".
+ // `process.toString()` yields "[object process]".
isNodeJS = true;
requestTick = function () {
@@ -327,6 +327,11 @@ var object_create = Object.create || function (prototype) {
return new Type();
};
+var object_defineProperty = Object.defineProperty || function (obj, prop, descriptor) {
+ obj[prop] = descriptor.value;
+ return obj;
+};
+
var object_hasOwnProperty = uncurryThis(Object.prototype.hasOwnProperty);
var object_keys = Object.keys || function (object) {
@@ -377,19 +382,20 @@ function makeStackTraceLong(error, promise) {
promise.stack &&
typeof error === "object" &&
error !== null &&
- error.stack &&
- error.stack.indexOf(STACK_JUMP_SEPARATOR) === -1
+ error.stack
) {
var stacks = [];
for (var p = promise; !!p; p = p.source) {
- if (p.stack) {
+ if (p.stack && (!error.__minimumStackCounter__ || error.__minimumStackCounter__ > p.stackCounter)) {
+ object_defineProperty(error, "__minimumStackCounter__", {value: p.stackCounter, configurable: true});
stacks.unshift(p.stack);
}
}
stacks.unshift(error.stack);
var concatedStacks = stacks.join("\n" + STACK_JUMP_SEPARATOR + "\n");
- error.stack = filterStackString(concatedStacks);
+ var stack = filterStackString(concatedStacks);
+ object_defineProperty(error, "stack", {value: stack, configurable: true});
}
}
@@ -516,6 +522,14 @@ Q.nextTick = nextTick;
*/
Q.longStackSupport = false;
+/**
+ * The counter is used to determine the stopping point for building
+ * long stack traces. In makeStackTraceLong we walk backwards through
+ * the linked list of promises, only stacks which were created before
+ * the rejection are concatenated.
+ */
+var longStackCounter = 1;
+
// enable long stacks if Q_DEBUG is set
if (typeof process === "object" && process && process.env && process.env.Q_DEBUG) {
Q.longStackSupport = true;
@@ -588,6 +602,7 @@ function defer() {
// At the same time, cut off the first line; it's always just
// "[object Promise]\n", as per the `toString`.
promise.stack = e.stack.substring(e.stack.indexOf("\n") + 1);
+ promise.stackCounter = longStackCounter++;
}
}
@@ -597,7 +612,12 @@ function defer() {
function become(newPromise) {
resolvedPromise = newPromise;
- promise.source = newPromise;
+
+ if (Q.longStackSupport && hasStacks) {
+ // Only hold a reference to the new promise if long stacks
+ // are enabled to reduce memory usage
+ promise.source = newPromise;
+ }
array_reduce(messages, function (undefined, message) {
Q.nextTick(function () {
@@ -725,7 +745,7 @@ Promise.prototype.join = function (that) {
// TODO: "===" should be Object.is or equiv
return x;
} else {
- throw new Error("Can't join: not the same: " + x + " " + y);
+ throw new Error("Q can't join: not the same: " + x + " " + y);
}
});
};
@@ -1622,13 +1642,12 @@ function any(promises) {
function onFulfilled(result) {
deferred.resolve(result);
}
- function onRejected() {
+ function onRejected(err) {
pendingCount--;
if (pendingCount === 0) {
- deferred.reject(new Error(
- "Can't get fulfillment value from any promise, all " +
- "promises were rejected."
- ));
+ err.message = ("Q can't get fulfillment value from any promise, all " +
+ "promises were rejected. Last error message: " + err.message);
+ deferred.reject(err);
}
}
function onProgress(progress) {
@@ -1752,6 +1771,9 @@ Q["finally"] = function (object, callback) {
Promise.prototype.fin = // XXX legacy
Promise.prototype["finally"] = function (callback) {
+ if (!callback || typeof callback.apply !== "function") {
+ throw new Error("Q can't apply finally callback");
+ }
callback = Q(callback);
return this.then(function (value) {
return callback.fcall().then(function () {
@@ -1915,6 +1937,9 @@ Promise.prototype.nfcall = function (/*...args*/) {
*/
Q.nfbind =
Q.denodeify = function (callback /*...args*/) {
+ if (callback === undefined) {
+ throw new Error("Q can't wrap an undefined function");
+ }
var baseArgs = array_slice(arguments, 1);
return function () {
var nodeArgs = baseArgs.concat(array_slice(arguments));
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/sax/AUTHORS
----------------------------------------------------------------------
diff --git a/node_modules/sax/AUTHORS b/node_modules/sax/AUTHORS
deleted file mode 100644
index 26d8659..0000000
--- a/node_modules/sax/AUTHORS
+++ /dev/null
@@ -1,9 +0,0 @@
-# contributors sorted by whether or not they're me.
-Isaac Z. Schlueter <i...@izs.me>
-Stein Martin Hustad <st...@hustad.com>
-Mikeal Rogers <mi...@gmail.com>
-Laurie Harper <la...@holoweb.net>
-Jann Horn <ja...@Jann-PC.fritz.box>
-Elijah Insua <tm...@gmail.com>
-Henry Rawas <he...@schakra.com>
-Justin Makeig <jm...@makeig.com>
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/sax/LICENSE
----------------------------------------------------------------------
diff --git a/node_modules/sax/LICENSE b/node_modules/sax/LICENSE
index 05a4010..ccffa08 100644
--- a/node_modules/sax/LICENSE
+++ b/node_modules/sax/LICENSE
@@ -1,23 +1,41 @@
-Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
-All rights reserved.
-
-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.
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+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.
+
+====
+
+`String.fromCodePoint` by Mathias Bynens used according to terms of MIT
+License, as follows:
+
+ Copyright Mathias Bynens <https://mathiasbynens.be/>
+
+ 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-android/blob/a8af103f/node_modules/sax/LICENSE-W3C.html
----------------------------------------------------------------------
diff --git a/node_modules/sax/LICENSE-W3C.html b/node_modules/sax/LICENSE-W3C.html
new file mode 100644
index 0000000..a611e3f
--- /dev/null
+++ b/node_modules/sax/LICENSE-W3C.html
@@ -0,0 +1,188 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="generator" content="HTML Tidy for Mac OS X (vers 31 October 2006 - Apple Inc. build 13), see www.w3.org" /><title>W3C Software Notice and License</title><link rel="stylesheet" href="/2008/site/css/minimum" type="text/css" media="handheld, all" /><style type="text/css" media="print, screen and (min-width: 481px)" xml:space="preserve">
+ @import url("/2008/site/css/advanced");
+</style><link href="/2008/site/css/minimum" rel="stylesheet" type="text/css" media="handheld, only screen and (max-device-width: 480px)" /><meta name="viewport" content="width=device-width" /><link rel="stylesheet" href="/2008/site/css/print" type="text/css" media="print" /><link rel="shortcut icon" href="/2008/site/images/favicon.ico" type="image/x-icon" /></head><body id="www-w3-org" class="w3c_public"><div id="w3c_container">
+
+
+
+ <div id="w3c_mast">
+ <h1 class="logo">
+ <a tabindex="2" accesskey="1" href="/"><img src="/2008/site/images/logo-w3c-mobile-lg" width="90" height="53" alt="W3C" /></a>
+ <span class="alt-logo">W3C</span>
+ </h1>
+
+ <div id="w3c_nav">
+
+
+
+ <form action="/Help/search" method="get" enctype="application/x-www-form-urlencoded"><div class="w3c_sec_nav"><!-- --></div><ul class="main_nav"><li class="first-item">
+ <a href="/standards/">Standards</a>
+ </li><li>
+ <a href="/participate/">Participate</a>
+ </li><li>
+ <a href="/Consortium/membership">Membership</a>
+ </li><li class="last-item">
+ <a href="/Consortium/">About W3C</a>
+ </li><li class="search-item">
+ <div id="search-form">
+ <input tabindex="3" class="text" name="q" value="" title="Search" type="text" />
+ <button id="search-submit" name="search-submit" type="submit"><img class="submit" src="/2008/site/images/search-button" alt="Search" width="21" height="17" /></button>
+ </div>
+ </li></ul></form>
+ </div>
+
+ </div>
+
+
+ <div id="w3c_main">
+ <div id="w3c_logo_shadow" class="w3c_leftCol">
+ <img height="32" alt="" src="/2008/site/images/logo-shadow" />
+ </div>
+
+ <div class="w3c_leftCol"><h2 class="offscreen">Site Navigation</h2>
+ <h3 class="category"><span class="ribbon"><a href="/Consortium/Legal/ipr-notice.html" title="Up to Policies and Legal Information">Policies and Legal Information <img src="/2008/site/images/header-link" alt="Header link" width="13" height="13" class="header-link" /></a></span></h3>
+ <ul class="theme">
+ <li><a href="/Consortium/Legal/2008/04-testsuite-copyright.html">Licenses for W3C Test Suites</a></li>
+ <li><a href="/2004/10/27-testcases.html">Policies for Contribution of Test Cases to W3C</a></li>
+ <li><a href="/Consortium/Legal/IPR-FAQ-20000620.html">Intellectual Rights FAQ</a></li>
+ <li><a href="/Consortium/Legal/privacy-statement-20000612.html">W3C Privacy Statements</a></li>
+ <li><a href="/Consortium/Legal/2002/copyright-documents-20021231.html">W3C Document License</a></li>
+ <li><a href="/Consortium/Legal/2002/trademarks-20021231.html">W3C Trademarks and Generic Terms</a></li>
+ <li><a href="/Consortium/Legal/2002/trademark-license-20021231.html">W3C® Trademark and Service Mark License</a></li>
+ <li><a class="current">W3C Software Notice and License</a></li>
+ <li><a href="/Consortium/Legal/2002/collaborators-agreement-20021231.html">W3C Invited Expert and Collaborators Agreement</a></li>
+ <li><a href="/Consortium/Persistence.html">W3C URI Persistence Policy</a></li>
+ <li><a href="/1999/10/21-mirroring-policy.html">Mirroring the W3C Site</a></li>
+ <li><a href="/Consortium/Legal/2006/08-copyright-translations.html">Translations of the Copyright Notice</a></li>
+ </ul>
+ <br /></div>
+ <div class="w3c_mainCol">
+ <div id="w3c_crumbs">
+ <div id="w3c_crumbs_frame">
+ <ul class="bct"> <!-- .bct / Breadcrumbs -->
+ <li class="skip"><a tabindex="1" accesskey="2" title="Skip to content (e.g., when browsing via audio)" href="#w3c_content_body">Skip</a></li>
+ <li><a href="/">W3C</a> <span class="cr">»</span> </li>
+ <li><a href="/Consortium/">About W3C</a> <span class="cr">»</span> </li>
+ <li><a href="/Consortium/facts.html">Facts About W3C</a> <span class="cr">»</span> </li>
+ <li><a href="/Consortium/Legal/ipr-notice.html">Policies and Legal Information</a> <span class="cr">»</span> </li>
+ <li class="current">W3C Software Notice and License</li>
+ </ul>
+ </div>
+ </div>
+ <h1 class="title">W3C Software Notice and License</h1>
+ <div id="w3c_content_body">
+ <div class="line">
+ <p class="intro tPadding">This work (and included software, documentation such as READMEs, or other
+related items) is being provided by the copyright holders under the following
+license.</p>
+<h2>License</h2>
+
+ <p class="tPadding">
+By obtaining, using and/or copying this work, you (the licensee)
+agree that you have read, understood, and will comply with the following
+terms and conditions.</p>
+
+ <p>Permission to copy, modify, and distribute this software and its
+documentation, with or without modification, for any purpose and without
+fee or royalty is hereby granted, provided that you include the following on
+ALL copies of the software and documentation or portions thereof, including
+modifications:</p>
+
+ <ul class="show_items"><li>The full text of this NOTICE in a location viewable to users of the
+ redistributed or derivative work.</li><li>Any pre-existing intellectual property disclaimers, notices, or terms
+ and conditions. If none exist, the <a href="copyright-software-short-notice-20021231.html">W3C Software Short
+ Notice</a> should be included (hypertext is preferred, text is permitted)
+ within the body of any redistributed or derivative code.</li><li>Notice of any changes or modifications to the files, including the date
+ changes were made. (We recommend you provide URIs to the location from
+ which the code is derived.)</li></ul>
+
+<h2>Disclaimers</h2>
+
+ <p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS
+MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
+PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE
+ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
+
+ <p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
+DOCUMENTATION.</p>
+
+ <p>The name and trademarks of copyright holders may NOT be used in
+advertising or publicity pertaining to the software without specific, written
+prior permission. Title to copyright in this software and any associated
+documentation will at all times remain with copyright holders.</p>
+
+ <h2>Notes</h2>
+
+ <p>This version: http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231</p>
+
+ <p>This formulation of W3C's notice and license became active on December 31
+2002. This version removes the copyright ownership notice such that this
+license can be used with materials other than those owned by the W3C,
+reflects that ERCIM is now a host of the W3C, includes references to this
+specific dated version of the license, and removes the ambiguous grant of
+"use". Otherwise, this version is the same as the <a href="http://www.w3.org/Consortium/Legal/copyright-software-19980720">previous
+version</a> and is written so as to preserve the <a href="http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses">Free
+Software Foundation's assessment of GPL compatibility</a> and <a href="http://www.opensource.org/licenses/W3C.php">OSI's certification</a>
+under the <a href="http://www.opensource.org/docs/definition.php">Open Source
+Definition</a>.</p>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+
+ </div><div id="w3c_footer">
+ <div id="w3c_footer-inner">
+ <h2 class="offscreen">Footer Navigation</h2>
+ <div class="w3c_footer-nav">
+ <h3>Navigation</h3>
+ <ul class="footer_top_nav"><li>
+ <a href="/">Home</a>
+ </li><li>
+ <a href="/standards/">Standards</a>
+ </li><li>
+ <a href="/participate/">Participate</a>
+ </li><li>
+ <a href="/Consortium/membership">Membership</a>
+ </li><li class="last-item">
+ <a href="/Consortium/">About W3C</a>
+ </li></ul>
+ </div>
+ <div class="w3c_footer-nav">
+ <h3>Contact W3C</h3>
+ <ul class="footer_bottom_nav"><li>
+ <a href="/Consortium/contact">Contact</a>
+ </li><li>
+ <a accesskey="0" href="/Help/">Help and FAQ</a>
+ </li><li>
+ <a href="/Consortium/sponsor/">Sponsor / Donate</a>
+ </li><li>
+ <a href="/Consortium/siteindex">Site Map</a>
+ </li><li>
+ <address id="w3c_signature">
+ <a href="http://lists.w3.org/Archives/Public/site-comments/">Feedback</a></address>
+ </li></ul>
+ </div>
+ <div class="w3c_footer-nav">
+ <h3>W3C Updates</h3>
+ <ul class="footer_follow_nav"><li>
+ <a href="http://twitter.com/W3C" title="Follow W3C on Twitter">
+ <img src="/2008/site/images/twitter-bird" alt="Twitter" width="78" height="83" class="social-icon" />
+ </a>
+ <a href="http://identi.ca/w3c" title="See W3C on Identica">
+ <img src="/2008/site/images/identica-logo" alt="Identica" width="91" height="83" class="social-icon" />
+ </a>
+ </li></ul>
+ </div>
+ <p class="copyright">Copyright © 2012 W3C <sup>®</sup> (<a href="http://www.csail.mit.edu/">
+ <acronym title="Massachusetts Institute of Technology">MIT</acronym>
+ </a>, <a href="http://www.ercim.org/">
+ <acronym title="European Research Consortium for Informatics and Mathematics"> ERCIM</acronym>
+ </a>, <a href="http://www.keio.ac.jp/">Keio</a>) <a href="/Consortium/Legal/ipr-notice">Usage policies apply</a>.</p>
+ </div>
+ </div><!-- Generated from data/scripts.php, ../../smarty/{scripts.tpl} --><!-- At the bottom for performance reasons --><div id="w3c_scripts">
+ <script type="text/javascript" src="/2008/site/js/main" xml:space="preserve"><!-- --></script>
+ </div></body></html>
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a8af103f/node_modules/sax/README.md
----------------------------------------------------------------------
diff --git a/node_modules/sax/README.md b/node_modules/sax/README.md
index 9c63dc4..91a0314 100644
--- a/node_modules/sax/README.md
+++ b/node_modules/sax/README.md
@@ -9,7 +9,7 @@ the browser or other CommonJS implementations.
* A very simple tool to parse through an XML string.
* A stepping stone to a streaming HTML parser.
-* A handy way to deal with RSS and other mostly-ok-but-kinda-broken XML
+* A handy way to deal with RSS and other mostly-ok-but-kinda-broken XML
docs.
## What This Is (probably) Not
@@ -23,7 +23,7 @@ the browser or other CommonJS implementations.
implementations are in Java and do a lot more than this does.
* An XML Validator - It does a little validation when in strict mode, but
not much.
-* A Schema-Aware XSD Thing - Schemas are an exercise in fetishistic
+* A Schema-Aware XSD Thing - Schemas are an exercise in fetishistic
masochism.
* A DTD-aware Thing - Fetching DTDs is a much bigger job.
@@ -41,48 +41,49 @@ through unmolested.
## Usage
- var sax = require("./lib/sax"),
- strict = true, // set to false for html-mode
- parser = sax.parser(strict);
-
- parser.onerror = function (e) {
- // an error happened.
- };
- parser.ontext = function (t) {
- // got some text. t is the string of text.
- };
- parser.onopentag = function (node) {
- // opened a tag. node has "name" and "attributes"
- };
- parser.onattribute = function (attr) {
- // an attribute. attr has "name" and "value"
- };
- parser.onend = function () {
- // parser stream is done, and ready to have more stuff written to it.
- };
-
- parser.write('<xml>Hello, <who name="world">world</who>!</xml>').close();
-
- // stream usage
- // takes the same options as the parser
- var saxStream = require("sax").createStream(strict, options)
- saxStream.on("error", function (e) {
- // unhandled errors will throw, since this is a proper node
- // event emitter.
- console.error("error!", e)
- // clear the error
- this._parser.error = null
- this._parser.resume()
- })
- saxStream.on("opentag", function (node) {
- // same object as above
- })
- // pipe is supported, and it's readable/writable
- // same chunks coming in also go out.
- fs.createReadStream("file.xml")
- .pipe(saxStream)
- .pipe(fs.createReadStream("file-copy.xml"))
-
+```javascript
+var sax = require("./lib/sax"),
+ strict = true, // set to false for html-mode
+ parser = sax.parser(strict);
+
+parser.onerror = function (e) {
+ // an error happened.
+};
+parser.ontext = function (t) {
+ // got some text. t is the string of text.
+};
+parser.onopentag = function (node) {
+ // opened a tag. node has "name" and "attributes"
+};
+parser.onattribute = function (attr) {
+ // an attribute. attr has "name" and "value"
+};
+parser.onend = function () {
+ // parser stream is done, and ready to have more stuff written to it.
+};
+
+parser.write('<xml>Hello, <who name="world">world</who>!</xml>').close();
+
+// stream usage
+// takes the same options as the parser
+var saxStream = require("sax").createStream(strict, options)
+saxStream.on("error", function (e) {
+ // unhandled errors will throw, since this is a proper node
+ // event emitter.
+ console.error("error!", e)
+ // clear the error
+ this._parser.error = null
+ this._parser.resume()
+})
+saxStream.on("opentag", function (node) {
+ // same object as above
+})
+// pipe is supported, and it's readable/writable
+// same chunks coming in also go out.
+fs.createReadStream("file.xml")
+ .pipe(saxStream)
+ .pipe(fs.createWriteStream("file-copy.xml"))
+```
## Arguments
@@ -98,9 +99,13 @@ Settings supported:
* `trim` - Boolean. Whether or not to trim text and comment nodes.
* `normalize` - Boolean. If true, then turn any whitespace into a single
space.
-* `lowercasetags` - Boolean. If true, then lowercase tags in loose mode,
- rather than uppercasing them.
+* `lowercase` - Boolean. If true, then lowercase tag names and attribute names
+ in loose mode, rather than uppercasing them.
* `xmlns` - Boolean. If true, then namespaces are supported.
+* `position` - Boolean. If false, then don't track line/col/position.
+* `strictEntities` - Boolean. If true, only parse [predefined XML
+ entities](http://www.w3.org/TR/REC-xml/#sec-predefined-ent)
+ (`&`, `'`, `>`, `<`, and `"`)
## Methods
@@ -164,7 +169,7 @@ might go away at some point. SAX isn't intended to be used to parse SGML,
after all.
`opentag` - An opening tag. Argument: object with `name` and `attributes`.
-In non-strict mode, tag names are uppercased, unless the `lowercasetags`
+In non-strict mode, tag names are uppercased, unless the `lowercase`
option is set. If the `xmlns` option is set, then it will contain
namespace binding information on the `ns` member, and will have a
`local`, `prefix`, and `uri` member.
@@ -174,8 +179,10 @@ parent closes. In strict mode, well-formedness is enforced. Note that
self-closing tags will have `closeTag` emitted immediately after `openTag`.
Argument: tag name.
-`attribute` - An attribute node. Argument: object with `name` and `value`,
-and also namespace information if the `xmlns` option flag is set.
+`attribute` - An attribute node. Argument: object with `name` and `value`.
+In non-strict mode, attribute names are uppercased, unless the `lowercase`
+option is set. If the `xmlns` option is set, it will also contains namespace
+information.
`comment` - A comment node. Argument: the string of the comment.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org