forked from github/cordova-android
CB-12697 Updated checked-in node_modules
This commit is contained in:
parent
af31c83ec1
commit
5a7590397d
34
node_modules/big-integer/BigInteger.js
generated
vendored
34
node_modules/big-integer/BigInteger.js
generated
vendored
@ -118,7 +118,7 @@ var bigInt = (function (undefined) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
BigInteger.prototype.add = function (v) {
|
BigInteger.prototype.add = function (v) {
|
||||||
var value, n = parseValue(v);
|
var n = parseValue(v);
|
||||||
if (this.sign !== n.sign) {
|
if (this.sign !== n.sign) {
|
||||||
return this.subtract(n.negate());
|
return this.subtract(n.negate());
|
||||||
}
|
}
|
||||||
@ -177,7 +177,7 @@ var bigInt = (function (undefined) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function subtractAny(a, b, sign) {
|
function subtractAny(a, b, sign) {
|
||||||
var value, isSmall;
|
var value;
|
||||||
if (compareAbs(a, b) >= 0) {
|
if (compareAbs(a, b) >= 0) {
|
||||||
value = subtract(a,b);
|
value = subtract(a,b);
|
||||||
} else {
|
} else {
|
||||||
@ -326,7 +326,7 @@ var bigInt = (function (undefined) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
BigInteger.prototype.multiply = function (v) {
|
BigInteger.prototype.multiply = function (v) {
|
||||||
var value, n = parseValue(v),
|
var n = parseValue(v),
|
||||||
a = this.value, b = n.value,
|
a = this.value, b = n.value,
|
||||||
sign = this.sign !== n.sign,
|
sign = this.sign !== n.sign,
|
||||||
abs;
|
abs;
|
||||||
@ -842,7 +842,8 @@ var bigInt = (function (undefined) {
|
|||||||
return t.negate();
|
return t.negate();
|
||||||
}
|
}
|
||||||
return t;
|
return t;
|
||||||
}
|
};
|
||||||
|
|
||||||
SmallInteger.prototype.modInv = BigInteger.prototype.modInv;
|
SmallInteger.prototype.modInv = BigInteger.prototype.modInv;
|
||||||
|
|
||||||
BigInteger.prototype.next = function () {
|
BigInteger.prototype.next = function () {
|
||||||
@ -1036,8 +1037,7 @@ var bigInt = (function (undefined) {
|
|||||||
return low.add(typeof result === "number" ? new SmallInteger(result) : new BigInteger(result, false));
|
return low.add(typeof result === "number" ? new SmallInteger(result) : new BigInteger(result, false));
|
||||||
}
|
}
|
||||||
var parseBase = function (text, base) {
|
var parseBase = function (text, base) {
|
||||||
var val = Integer[0], pow = Integer[1],
|
var length = text.length;
|
||||||
length = text.length;
|
|
||||||
if (2 <= base && base <= 36) {
|
if (2 <= base && base <= 36) {
|
||||||
if (length <= LOG_MAX_INT / Math.log(base)) {
|
if (length <= LOG_MAX_INT / Math.log(base)) {
|
||||||
return new SmallInteger(parseInt(text, base));
|
return new SmallInteger(parseInt(text, base));
|
||||||
@ -1059,13 +1059,17 @@ var bigInt = (function (undefined) {
|
|||||||
}
|
}
|
||||||
else throw new Error(c + " is not a valid character");
|
else throw new Error(c + " is not a valid character");
|
||||||
}
|
}
|
||||||
digits.reverse();
|
return parseBaseFromArray(digits, base, isNegative);
|
||||||
for (i = 0; i < digits.length; i++) {
|
};
|
||||||
|
|
||||||
|
function parseBaseFromArray(digits, base, isNegative) {
|
||||||
|
var val = Integer[0], pow = Integer[1], i;
|
||||||
|
for (i = digits.length - 1; i >= 0; i--) {
|
||||||
val = val.add(digits[i].times(pow));
|
val = val.add(digits[i].times(pow));
|
||||||
pow = pow.times(base);
|
pow = pow.times(base);
|
||||||
}
|
}
|
||||||
return isNegative ? val.negate() : val;
|
return isNegative ? val.negate() : val;
|
||||||
};
|
}
|
||||||
|
|
||||||
function stringify(digit) {
|
function stringify(digit) {
|
||||||
var v = digit.value;
|
var v = digit.value;
|
||||||
@ -1209,6 +1213,11 @@ var bigInt = (function (undefined) {
|
|||||||
Integer.lcm = lcm;
|
Integer.lcm = lcm;
|
||||||
Integer.isInstance = function (x) { return x instanceof BigInteger || x instanceof SmallInteger; };
|
Integer.isInstance = function (x) { return x instanceof BigInteger || x instanceof SmallInteger; };
|
||||||
Integer.randBetween = randBetween;
|
Integer.randBetween = randBetween;
|
||||||
|
|
||||||
|
Integer.fromArray = function (digits, base, isNegative) {
|
||||||
|
return parseBaseFromArray(digits.map(parseValue), parseValue(base || 10), isNegative);
|
||||||
|
};
|
||||||
|
|
||||||
return Integer;
|
return Integer;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
@ -1216,3 +1225,10 @@ var bigInt = (function (undefined) {
|
|||||||
if (typeof module !== "undefined" && module.hasOwnProperty("exports")) {
|
if (typeof module !== "undefined" && module.hasOwnProperty("exports")) {
|
||||||
module.exports = bigInt;
|
module.exports = bigInt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//amd check
|
||||||
|
if ( typeof define === "function" && define.amd ) {
|
||||||
|
define( "big-integer", [], function() {
|
||||||
|
return bigInt;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
2
node_modules/big-integer/BigInteger.min.js
generated
vendored
2
node_modules/big-integer/BigInteger.min.js
generated
vendored
File diff suppressed because one or more lines are too long
7
node_modules/big-integer/README.md
generated
vendored
7
node_modules/big-integer/README.md
generated
vendored
@ -421,6 +421,13 @@ Performs the bitwise XOR operation. The operands are treated as if they were rep
|
|||||||
|
|
||||||
### Static Methods
|
### Static Methods
|
||||||
|
|
||||||
|
#### `fromArray(digits, base = 10, isNegative?)`
|
||||||
|
|
||||||
|
Constructs a bigInt from an array of digits in base `base`. The optional `isNegative` flag will make the number negative.
|
||||||
|
|
||||||
|
- `bigInt.fromArray([1, 2, 3, 4, 5], 10)` => `12345`
|
||||||
|
- `bigInt.fromArray([1, 0, 0], 2, true)` => `-4`
|
||||||
|
|
||||||
#### `gcd(a, b)`
|
#### `gcd(a, b)`
|
||||||
|
|
||||||
Finds the greatest common denominator of `a` and `b`.
|
Finds the greatest common denominator of `a` and `b`.
|
||||||
|
20
node_modules/big-integer/package.json
generated
vendored
20
node_modules/big-integer/package.json
generated
vendored
@ -14,13 +14,13 @@
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
"_from": "big-integer@>=1.6.7 <2.0.0",
|
"_from": "big-integer@>=1.6.7 <2.0.0",
|
||||||
"_id": "big-integer@1.6.19",
|
"_id": "big-integer@1.6.22",
|
||||||
"_inCache": true,
|
"_inCache": true,
|
||||||
"_location": "/big-integer",
|
"_location": "/big-integer",
|
||||||
"_nodeVersion": "6.9.4",
|
"_nodeVersion": "6.9.4",
|
||||||
"_npmOperationalInternal": {
|
"_npmOperationalInternal": {
|
||||||
"host": "packages-12-west.internal.npmjs.com",
|
"host": "packages-12-west.internal.npmjs.com",
|
||||||
"tmp": "tmp/big-integer-1.6.19.tgz_1491096256363_0.04815615131519735"
|
"tmp": "tmp/big-integer-1.6.22.tgz_1493091323169_0.5048394540790468"
|
||||||
},
|
},
|
||||||
"_npmUser": {
|
"_npmUser": {
|
||||||
"name": "peterolson",
|
"name": "peterolson",
|
||||||
@ -40,8 +40,8 @@
|
|||||||
"_requiredBy": [
|
"_requiredBy": [
|
||||||
"/bplist-parser"
|
"/bplist-parser"
|
||||||
],
|
],
|
||||||
"_resolved": "http://registry.npmjs.org/big-integer/-/big-integer-1.6.19.tgz",
|
"_resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.22.tgz",
|
||||||
"_shasum": "4a5e915e3188c8708f254b356196f28542acc1e0",
|
"_shasum": "487c95fce886022ea48ff5f19e388932df46dd2e",
|
||||||
"_shrinkwrap": null,
|
"_shrinkwrap": null,
|
||||||
"_spec": "big-integer@^1.6.7",
|
"_spec": "big-integer@^1.6.7",
|
||||||
"_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/bplist-parser",
|
"_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/bplist-parser",
|
||||||
@ -63,17 +63,18 @@
|
|||||||
"karma": "^0.13.3",
|
"karma": "^0.13.3",
|
||||||
"karma-coverage": "^0.4.2",
|
"karma-coverage": "^0.4.2",
|
||||||
"karma-jasmine": "^0.3.6",
|
"karma-jasmine": "^0.3.6",
|
||||||
"karma-phantomjs-launcher": "~0.1"
|
"karma-phantomjs-launcher": "~0.1",
|
||||||
|
"uglifyjs": "^2.4.10"
|
||||||
},
|
},
|
||||||
"directories": {},
|
"directories": {},
|
||||||
"dist": {
|
"dist": {
|
||||||
"shasum": "4a5e915e3188c8708f254b356196f28542acc1e0",
|
"shasum": "487c95fce886022ea48ff5f19e388932df46dd2e",
|
||||||
"tarball": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.19.tgz"
|
"tarball": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.22.tgz"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.6"
|
"node": ">=0.6"
|
||||||
},
|
},
|
||||||
"gitHead": "f0f751478d6623a84a5ed9618d94937829bbd015",
|
"gitHead": "40483b881b4380931e5af6f2f8a161b6caa71690",
|
||||||
"homepage": "https://github.com/peterolson/BigInteger.js#readme",
|
"homepage": "https://github.com/peterolson/BigInteger.js#readme",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"math",
|
"math",
|
||||||
@ -102,7 +103,8 @@
|
|||||||
"url": "git+ssh://git@github.com/peterolson/BigInteger.js.git"
|
"url": "git+ssh://git@github.com/peterolson/BigInteger.js.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"minify": "uglifyjs BigInteger.js -o BigInteger.min.js",
|
||||||
"test": "karma start my.conf.js"
|
"test": "karma start my.conf.js"
|
||||||
},
|
},
|
||||||
"version": "1.6.19"
|
"version": "1.6.22"
|
||||||
}
|
}
|
||||||
|
1
node_modules/brace-expansion/README.md
generated
vendored
1
node_modules/brace-expansion/README.md
generated
vendored
@ -5,6 +5,7 @@ as known from sh/bash, in JavaScript.
|
|||||||
|
|
||||||
[](http://travis-ci.org/juliangruber/brace-expansion)
|
[](http://travis-ci.org/juliangruber/brace-expansion)
|
||||||
[](https://www.npmjs.org/package/brace-expansion)
|
[](https://www.npmjs.org/package/brace-expansion)
|
||||||
|
[](https://greenkeeper.io/)
|
||||||
|
|
||||||
[](https://ci.testling.com/juliangruber/brace-expansion)
|
[](https://ci.testling.com/juliangruber/brace-expansion)
|
||||||
|
|
||||||
|
2
node_modules/brace-expansion/index.js
generated
vendored
2
node_modules/brace-expansion/index.js
generated
vendored
@ -106,7 +106,7 @@ function expand(str, isTop) {
|
|||||||
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
||||||
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
||||||
var isSequence = isNumericSequence || isAlphaSequence;
|
var isSequence = isNumericSequence || isAlphaSequence;
|
||||||
var isOptions = /^(.*,)+(.+)?$/.test(m.body);
|
var isOptions = m.body.indexOf(',') >= 0;
|
||||||
if (!isSequence && !isOptions) {
|
if (!isSequence && !isOptions) {
|
||||||
// {a},b}
|
// {a},b}
|
||||||
if (m.post.match(/,.*\}/)) {
|
if (m.post.match(/,.*\}/)) {
|
||||||
|
24
node_modules/brace-expansion/package.json
generated
vendored
24
node_modules/brace-expansion/package.json
generated
vendored
@ -14,19 +14,19 @@
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
"_from": "brace-expansion@>=1.0.0 <2.0.0",
|
"_from": "brace-expansion@>=1.0.0 <2.0.0",
|
||||||
"_id": "brace-expansion@1.1.6",
|
"_id": "brace-expansion@1.1.7",
|
||||||
"_inCache": true,
|
"_inCache": true,
|
||||||
"_location": "/brace-expansion",
|
"_location": "/brace-expansion",
|
||||||
"_nodeVersion": "4.4.7",
|
"_nodeVersion": "7.8.0",
|
||||||
"_npmOperationalInternal": {
|
"_npmOperationalInternal": {
|
||||||
"host": "packages-16-east.internal.npmjs.com",
|
"host": "packages-12-west.internal.npmjs.com",
|
||||||
"tmp": "tmp/brace-expansion-1.1.6.tgz_1469047715600_0.9362958471756428"
|
"tmp": "tmp/brace-expansion-1.1.7.tgz_1491552830231_0.7213963181711733"
|
||||||
},
|
},
|
||||||
"_npmUser": {
|
"_npmUser": {
|
||||||
"name": "juliangruber",
|
"name": "juliangruber",
|
||||||
"email": "julian@juliangruber.com"
|
"email": "julian@juliangruber.com"
|
||||||
},
|
},
|
||||||
"_npmVersion": "2.15.8",
|
"_npmVersion": "4.2.0",
|
||||||
"_phantomChildren": {},
|
"_phantomChildren": {},
|
||||||
"_requested": {
|
"_requested": {
|
||||||
"raw": "brace-expansion@^1.0.0",
|
"raw": "brace-expansion@^1.0.0",
|
||||||
@ -40,8 +40,8 @@
|
|||||||
"_requiredBy": [
|
"_requiredBy": [
|
||||||
"/minimatch"
|
"/minimatch"
|
||||||
],
|
],
|
||||||
"_resolved": "http://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.6.tgz",
|
"_resolved": "http://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz",
|
||||||
"_shasum": "7197d7eaa9b87e648390ea61fc66c84427420df9",
|
"_shasum": "3effc3c50e000531fb720eaff80f0ae8ef23cf59",
|
||||||
"_shrinkwrap": null,
|
"_shrinkwrap": null,
|
||||||
"_spec": "brace-expansion@^1.0.0",
|
"_spec": "brace-expansion@^1.0.0",
|
||||||
"_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/minimatch",
|
"_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/minimatch",
|
||||||
@ -59,14 +59,15 @@
|
|||||||
},
|
},
|
||||||
"description": "Brace expansion as known from sh/bash",
|
"description": "Brace expansion as known from sh/bash",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"matcha": "^0.7.0",
|
||||||
"tape": "^4.6.0"
|
"tape": "^4.6.0"
|
||||||
},
|
},
|
||||||
"directories": {},
|
"directories": {},
|
||||||
"dist": {
|
"dist": {
|
||||||
"shasum": "7197d7eaa9b87e648390ea61fc66c84427420df9",
|
"shasum": "3effc3c50e000531fb720eaff80f0ae8ef23cf59",
|
||||||
"tarball": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.6.tgz"
|
"tarball": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz"
|
||||||
},
|
},
|
||||||
"gitHead": "791262fa06625e9c5594cde529a21d82086af5f2",
|
"gitHead": "892512024872ca7680554be90f6e8ce065053372",
|
||||||
"homepage": "https://github.com/juliangruber/brace-expansion",
|
"homepage": "https://github.com/juliangruber/brace-expansion",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -89,6 +90,7 @@
|
|||||||
"url": "git://github.com/juliangruber/brace-expansion.git"
|
"url": "git://github.com/juliangruber/brace-expansion.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"bench": "matcha test/perf/bench.js",
|
||||||
"gentest": "bash test/generate.sh",
|
"gentest": "bash test/generate.sh",
|
||||||
"test": "tape test/*.js"
|
"test": "tape test/*.js"
|
||||||
},
|
},
|
||||||
@ -108,5 +110,5 @@
|
|||||||
"android-browser/4.2..latest"
|
"android-browser/4.2..latest"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"version": "1.1.6"
|
"version": "1.1.7"
|
||||||
}
|
}
|
||||||
|
7
node_modules/cordova-common/RELEASENOTES.md
generated
vendored
7
node_modules/cordova-common/RELEASENOTES.md
generated
vendored
@ -20,6 +20,13 @@
|
|||||||
-->
|
-->
|
||||||
# Cordova-common Release Notes
|
# Cordova-common Release Notes
|
||||||
|
|
||||||
|
### 2.0.2 (Apr 14, 2017)
|
||||||
|
* [CB-11233](https://issues.apache.org/jira/browse/CB-11233) - Support installing frameworks into 'Embedded Binaries' section of the Xcode project
|
||||||
|
* [CB-10438](https://issues.apache.org/jira/browse/CB-10438) - Install correct dependency version. Removed shell.remove, added pkg.json to dependency tests 1-3, and updated install.js (.replace) to fix tests in uninstall.spec.js and update to workw with jasmine 2.0
|
||||||
|
* [CB-11120](https://issues.apache.org/jira/browse/CB-11120) - Allow short/display name in config.xml
|
||||||
|
* [CB-11346](https://issues.apache.org/jira/browse/CB-11346) - Remove known platforms check
|
||||||
|
* [CB-11977](https://issues.apache.org/jira/browse/CB-11977) - updated engines and enginescript for common, fetch, and serve
|
||||||
|
|
||||||
### 2.0.1 (Mar 09, 2017)
|
### 2.0.1 (Mar 09, 2017)
|
||||||
* [CB-12557](https://issues.apache.org/jira/browse/CB-12557) add both stdout and stderr properties to the error object passed to superspawn reject handler.
|
* [CB-12557](https://issues.apache.org/jira/browse/CB-12557) add both stdout and stderr properties to the error object passed to superspawn reject handler.
|
||||||
|
|
||||||
|
27
node_modules/cordova-common/package.json
generated
vendored
27
node_modules/cordova-common/package.json
generated
vendored
@ -14,19 +14,19 @@
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
"_from": "cordova-common@>=2.0.1 <3.0.0",
|
"_from": "cordova-common@>=2.0.1 <3.0.0",
|
||||||
"_id": "cordova-common@2.0.1",
|
"_id": "cordova-common@2.0.2",
|
||||||
"_inCache": true,
|
"_inCache": true,
|
||||||
"_location": "/cordova-common",
|
"_location": "/cordova-common",
|
||||||
"_nodeVersion": "6.9.4",
|
"_nodeVersion": "4.7.3",
|
||||||
"_npmOperationalInternal": {
|
"_npmOperationalInternal": {
|
||||||
"host": "packages-18-east.internal.npmjs.com",
|
"host": "packages-12-west.internal.npmjs.com",
|
||||||
"tmp": "tmp/cordova-common-2.0.1.tgz_1489432932737_0.5238456283695996"
|
"tmp": "tmp/cordova-common-2.0.2.tgz_1492453798445_0.6290795875247568"
|
||||||
},
|
},
|
||||||
"_npmUser": {
|
"_npmUser": {
|
||||||
"name": "filmaj",
|
"name": "shazron",
|
||||||
"email": "maj.fil@gmail.com"
|
"email": "shazron@gmail.com"
|
||||||
},
|
},
|
||||||
"_npmVersion": "3.10.10",
|
"_npmVersion": "2.15.11",
|
||||||
"_phantomChildren": {},
|
"_phantomChildren": {},
|
||||||
"_requested": {
|
"_requested": {
|
||||||
"raw": "cordova-common@^2.0.1",
|
"raw": "cordova-common@^2.0.1",
|
||||||
@ -40,8 +40,8 @@
|
|||||||
"_requiredBy": [
|
"_requiredBy": [
|
||||||
"/"
|
"/"
|
||||||
],
|
],
|
||||||
"_resolved": "http://registry.npmjs.org/cordova-common/-/cordova-common-2.0.1.tgz",
|
"_resolved": "http://registry.npmjs.org/cordova-common/-/cordova-common-2.0.2.tgz",
|
||||||
"_shasum": "99af318d7cb8988047cfe37bb9f25ea881d52815",
|
"_shasum": "57467976b8afd5e0bd0a13111b66a420441601cb",
|
||||||
"_shrinkwrap": null,
|
"_shrinkwrap": null,
|
||||||
"_spec": "cordova-common@^2.0.1",
|
"_spec": "cordova-common@^2.0.1",
|
||||||
"_where": "/Users/steveng/repo/cordova/cordova-android",
|
"_where": "/Users/steveng/repo/cordova/cordova-android",
|
||||||
@ -78,11 +78,12 @@
|
|||||||
},
|
},
|
||||||
"directories": {},
|
"directories": {},
|
||||||
"dist": {
|
"dist": {
|
||||||
"shasum": "99af318d7cb8988047cfe37bb9f25ea881d52815",
|
"shasum": "57467976b8afd5e0bd0a13111b66a420441601cb",
|
||||||
"tarball": "https://registry.npmjs.org/cordova-common/-/cordova-common-2.0.1.tgz"
|
"tarball": "https://registry.npmjs.org/cordova-common/-/cordova-common-2.0.2.tgz"
|
||||||
},
|
},
|
||||||
|
"engineStrict": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.9.9"
|
"node": ">=4.0.0"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"main": "cordova-common.js",
|
"main": "cordova-common.js",
|
||||||
@ -129,5 +130,5 @@
|
|||||||
"jshint": "jshint src && jshint spec",
|
"jshint": "jshint src && jshint spec",
|
||||||
"test": "npm run jshint && npm run jasmine"
|
"test": "npm run jshint && npm run jasmine"
|
||||||
},
|
},
|
||||||
"version": "2.0.1"
|
"version": "2.0.2"
|
||||||
}
|
}
|
||||||
|
10
node_modules/cordova-common/src/ConfigParser/ConfigParser.js
generated
vendored
10
node_modules/cordova-common/src/ConfigParser/ConfigParser.js
generated
vendored
@ -116,6 +116,16 @@ ConfigParser.prototype = {
|
|||||||
var el = findOrCreate(this.doc, 'name');
|
var el = findOrCreate(this.doc, 'name');
|
||||||
el.text = name;
|
el.text = name;
|
||||||
},
|
},
|
||||||
|
shortName: function() {
|
||||||
|
return this.doc.find('name').attrib['short'] || this.name();
|
||||||
|
},
|
||||||
|
setShortName: function(shortname) {
|
||||||
|
var el = findOrCreate(this.doc, 'name');
|
||||||
|
if (!el.text) {
|
||||||
|
el.text = shortname;
|
||||||
|
}
|
||||||
|
el.attrib['short'] = shortname;
|
||||||
|
},
|
||||||
description: function() {
|
description: function() {
|
||||||
return getNodeTextSafe(this.doc.find('description'));
|
return getNodeTextSafe(this.doc.find('description'));
|
||||||
},
|
},
|
||||||
|
2
node_modules/cordova-common/src/PluginInfo/PluginInfo.js
generated
vendored
2
node_modules/cordova-common/src/PluginInfo/PluginInfo.js
generated
vendored
@ -108,6 +108,7 @@ function PluginInfo(dirname) {
|
|||||||
function _parseDependency(tag) {
|
function _parseDependency(tag) {
|
||||||
var dep =
|
var dep =
|
||||||
{ id : tag.attrib.id
|
{ id : tag.attrib.id
|
||||||
|
, version: tag.attrib.version || ''
|
||||||
, url : tag.attrib.url || ''
|
, url : tag.attrib.url || ''
|
||||||
, subdir : tag.attrib.subdir || ''
|
, subdir : tag.attrib.subdir || ''
|
||||||
, commit : tag.attrib.commit
|
, commit : tag.attrib.commit
|
||||||
@ -318,6 +319,7 @@ function PluginInfo(dirname) {
|
|||||||
type: el.attrib.type,
|
type: el.attrib.type,
|
||||||
parent: el.attrib.parent,
|
parent: el.attrib.parent,
|
||||||
custom: isStrTrue(el.attrib.custom),
|
custom: isStrTrue(el.attrib.custom),
|
||||||
|
embed: isStrTrue(el.attrib.embed),
|
||||||
src: el.attrib.src,
|
src: el.attrib.src,
|
||||||
spec: el.attrib.spec,
|
spec: el.attrib.spec,
|
||||||
weak: isStrTrue(el.attrib.weak),
|
weak: isStrTrue(el.attrib.weak),
|
||||||
|
1
node_modules/cordova-common/src/events.js
generated
vendored
1
node_modules/cordova-common/src/events.js
generated
vendored
@ -20,6 +20,7 @@
|
|||||||
var EventEmitter = require('events').EventEmitter;
|
var EventEmitter = require('events').EventEmitter;
|
||||||
|
|
||||||
var INSTANCE = new EventEmitter();
|
var INSTANCE = new EventEmitter();
|
||||||
|
INSTANCE.setMaxListeners(20);
|
||||||
var EVENTS_RECEIVER;
|
var EVENTS_RECEIVER;
|
||||||
|
|
||||||
module.exports = INSTANCE;
|
module.exports = INSTANCE;
|
||||||
|
Loading…
Reference in New Issue
Block a user