CB-12697 Updated checked-in node_modules

This commit is contained in:
Steve Gill
2017-04-24 21:56:28 -07:00
parent e13e15d3e9
commit cadea2f6c3
12 changed files with 101 additions and 52 deletions
+7
View File
@@ -20,6 +20,13 @@
-->
# 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)
* [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.
+14 -13
View File
@@ -14,19 +14,19 @@
]
],
"_from": "cordova-common@>=2.0.1 <3.0.0",
"_id": "cordova-common@2.0.1",
"_id": "cordova-common@2.0.2",
"_inCache": true,
"_location": "/cordova-common",
"_nodeVersion": "6.9.4",
"_nodeVersion": "4.7.3",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/cordova-common-2.0.1.tgz_1489432932737_0.5238456283695996"
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/cordova-common-2.0.2.tgz_1492453798445_0.6290795875247568"
},
"_npmUser": {
"name": "filmaj",
"email": "maj.fil@gmail.com"
"name": "shazron",
"email": "shazron@gmail.com"
},
"_npmVersion": "3.10.10",
"_npmVersion": "2.15.11",
"_phantomChildren": {},
"_requested": {
"raw": "cordova-common@^2.0.1",
@@ -40,8 +40,8 @@
"_requiredBy": [
"/"
],
"_resolved": "http://registry.npmjs.org/cordova-common/-/cordova-common-2.0.1.tgz",
"_shasum": "99af318d7cb8988047cfe37bb9f25ea881d52815",
"_resolved": "http://registry.npmjs.org/cordova-common/-/cordova-common-2.0.2.tgz",
"_shasum": "57467976b8afd5e0bd0a13111b66a420441601cb",
"_shrinkwrap": null,
"_spec": "cordova-common@^2.0.1",
"_where": "/Users/steveng/repo/cordova/cordova-android",
@@ -78,11 +78,12 @@
},
"directories": {},
"dist": {
"shasum": "99af318d7cb8988047cfe37bb9f25ea881d52815",
"tarball": "https://registry.npmjs.org/cordova-common/-/cordova-common-2.0.1.tgz"
"shasum": "57467976b8afd5e0bd0a13111b66a420441601cb",
"tarball": "https://registry.npmjs.org/cordova-common/-/cordova-common-2.0.2.tgz"
},
"engineStrict": true,
"engines": {
"node": ">=0.9.9"
"node": ">=4.0.0"
},
"license": "Apache-2.0",
"main": "cordova-common.js",
@@ -129,5 +130,5 @@
"jshint": "jshint src && jshint spec",
"test": "npm run jshint && npm run jasmine"
},
"version": "2.0.1"
"version": "2.0.2"
}
+10
View File
@@ -116,6 +116,16 @@ ConfigParser.prototype = {
var el = findOrCreate(this.doc, '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() {
return getNodeTextSafe(this.doc.find('description'));
},
+2
View File
@@ -108,6 +108,7 @@ function PluginInfo(dirname) {
function _parseDependency(tag) {
var dep =
{ id : tag.attrib.id
, version: tag.attrib.version || ''
, url : tag.attrib.url || ''
, subdir : tag.attrib.subdir || ''
, commit : tag.attrib.commit
@@ -318,6 +319,7 @@ function PluginInfo(dirname) {
type: el.attrib.type,
parent: el.attrib.parent,
custom: isStrTrue(el.attrib.custom),
embed: isStrTrue(el.attrib.embed),
src: el.attrib.src,
spec: el.attrib.spec,
weak: isStrTrue(el.attrib.weak),
+1
View File
@@ -20,6 +20,7 @@
var EventEmitter = require('events').EventEmitter;
var INSTANCE = new EventEmitter();
INSTANCE.setMaxListeners(20);
var EVENTS_RECEIVER;
module.exports = INSTANCE;