You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by js...@apache.org on 2014/07/07 23:43:21 UTC

[15/51] [partial] CB-7087 Retire blackberry10/ directory

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/node_modules/rimraf/test/test-sync.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/node_modules/rimraf/test/test-sync.js b/blackberry10/node_modules/prompt/node_modules/utile/node_modules/rimraf/test/test-sync.js
deleted file mode 100644
index eb71f10..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/node_modules/rimraf/test/test-sync.js
+++ /dev/null
@@ -1,3 +0,0 @@
-var rimraf = require("../rimraf")
-  , path = require("path")
-rimraf.sync(path.join(__dirname, "target"))

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/package.json
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/package.json b/blackberry10/node_modules/prompt/node_modules/utile/package.json
deleted file mode 100644
index 16a81bd..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/package.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
-  "name": "utile",
-  "description": "A drop-in replacement for `util` with some additional advantageous functions",
-  "version": "0.2.1",
-  "author": {
-    "name": "Nodejitsu Inc.",
-    "email": "info@nodejitsu.com"
-  },
-  "maintainers": [
-    {
-      "name": "indexzero",
-      "email": "charlie@nodejitsu.com"
-    }
-  ],
-  "repository": {
-    "type": "git",
-    "url": "http://github.com/flatiron/utile.git"
-  },
-  "dependencies": {
-    "async": "~0.2.9",
-    "deep-equal": "*",
-    "i": "0.3.x",
-    "mkdirp": "0.x.x",
-    "ncp": "0.4.x",
-    "rimraf": "2.x.x"
-  },
-  "devDependencies": {
-    "vows": "0.7.x"
-  },
-  "scripts": {
-    "test": "vows --spec"
-  },
-  "main": "./lib/index",
-  "engines": {
-    "node": ">= 0.6.4"
-  },
-  "readme": "# utile [![Build Status](https://secure.travis-ci.org/flatiron/utile.png)](http://travis-ci.org/flatiron/utile)\n\nA drop-in replacement for `util` with some additional advantageous functions\n\n## Motivation\nJavascript is definitely a \"batteries not included language\" when compared to languages like Ruby or Python. Node.js has a simple utility library which exposes some basic (but important) functionality:\n\n```\n$ node\n> var util = require('util');\n> util.\n(...)\n\nutil.debug                 util.error                 util.exec                  util.inherits              util.inspect\nutil.log                   util.p                     util.print                 util.pump                  util.puts\n```\n\nWhen one considers their own utility library, why ever bother requiring `util` again? That is the approach taken by this module. To compare:\n\n```\n$ node\n> var utile = require('./lib')\n> utile.\n(...)\n\nutile.async                 utile.capitalize     
        utile.clone                 utile.cpr                   utile.createPath            utile.debug\nutile.each                  utile.error                 utile.exec                  utile.file                  utile.filter                utile.find\nutile.inherits              utile.log                   utile.mixin                 utile.mkdirp                utile.p                     utile.path\nutile.print                 utile.pump                  utile.puts                  utile.randomString          utile.requireDir            uile.requireDirLazy\nutile.rimraf\n```\n\nAs you can see all of the original methods from `util` are there, but there are several new methods specific to `utile`. A note about implementation: _no node.js native modules are modified by utile, it simply copies those methods._\n\n## Methods\nThe `utile` modules exposes some simple utility methods:\n\n* `.each(obj, iterator)`: Iterate over the keys of an object.\n* `.mixin(target [source0, source1, 
 ...])`: Copies enumerable properties from `source0 ... sourceN` onto `target` and returns the resulting object.\n* `.clone(obj)`: Shallow clones the specified object.\n* `.capitalize(str)`: Capitalizes the specified `str`.\n* `.randomString(length)`: randomString returns a pseudo-random ASCII string (subset) the return value is a string of length ⌈bits/6⌉ of characters from the base64 alphabet.\n* `.filter(obj, test)`: return an object with the properties that `test` returns true on.\n* `.args(arguments)`: Converts function arguments into actual array with special `callback`, `cb`, `array`, and `last` properties. Also supports *optional* argument contracts. See [the example](https://github.com/flatiron/utile/blob/master/examples/utile-args.js) for more details.\n* `.requireDir(directory)`: Requires all files and directories from `directory`, returning an object with keys being filenames (without trailing `.js`) and respective values being return values of `require(filename)`.\n*
  `.requireDirLazy(directory)`: Lazily requires all files and directories from `directory`, returning an object with keys being filenames (without trailing `.js`) and respective values (getters) being return values of `require(filename)`.\n* `.format([string] text, [array] formats, [array] replacements)`: Replace `formats` in `text` with `replacements`. This will fall back to the original `util.format` command if it is called improperly.\n\n## Packaged Dependencies\nIn addition to the methods that are built-in, utile includes a number of commonly used dependencies to reduce the number of includes in your package.json. These modules _are not eagerly loaded to be respectful of startup time,_ but instead are lazy-loaded getters on the `utile` object\n\n* `.async`: [Async utilities for node and the browser][0]\n* `.inflect`: [Customizable inflections for node.js][6]\n* `.mkdirp`: [Recursively mkdir, like mkdir -p, but in node.js][1]\n* `.rimraf`: [A rm -rf util for nodejs][2]\n* `.cpr`: 
 [Asynchronous recursive file copying with Node.js][3]\n\n## Installation\n\n### Installing npm (node package manager)\n```\n  curl http://npmjs.org/install.sh | sh\n```\n\n### Installing utile\n```\n  [sudo] npm install utile\n```\n\n## Tests\nAll tests are written with [vows][4] and should be run with [npm][5]:\n\n``` bash\n  $ npm test\n```\n\n#### Author: [Nodejitsu Inc.](http://www.nodejitsu.com)\n#### Contributors: [Charlie Robbins](http://github.com/indexzero), [Dominic Tarr](http://github.com/dominictarr)\n#### License: MIT\n\n[0]: https://github.com/caolan/async\n[1]: https://github.com/substack/node-mkdirp\n[2]: https://github.com/isaacs/rimraf\n[3]: https://github.com/avianflu/ncp\n[4]: https://vowsjs.org\n[5]: https://npmjs.org\n[6]: https://github.com/pksunkara/inflect\n",
-  "readmeFilename": "README.md",
-  "bugs": {
-    "url": "https://github.com/flatiron/utile/issues"
-  },
-  "_id": "utile@0.2.1",
-  "_from": "utile@0.2.x"
-}

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/file-test.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/file-test.js b/blackberry10/node_modules/prompt/node_modules/utile/test/file-test.js
deleted file mode 100644
index 93ea089..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/file-test.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * file-test.js: Tests for `utile.file` module.
- *
- * (C) 2011, Nodejitsu Inc.
- * MIT LICENSE
- *
- */
-
-var assert = require('assert'),
-    path = require('path'),
-    vows = require('vows'),
-    macros = require('./helpers/macros'),
-    utile = require('../');
-
-var fixture = path.join(__dirname, 'fixtures', 'read-json-file', 'config.json');
-
-vows.describe('utile/file').addBatch({
-  'When using utile': {
-    'the `.file.readJson()` function': {
-      topic: function () {
-        utile.file.readJson(fixture, this.callback);
-      },
-      'should return correct JSON structure': macros.assertReadCorrectJson
-    },
-    'the `.file.readJsonSync()` function': {
-      topic: utile.file.readJsonSync(fixture),
-      'should return correct JSON structure': macros.assertReadCorrectJson
-    }
-  }
-}).export(module);
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/read-json-file/config.json
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/read-json-file/config.json b/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/read-json-file/config.json
deleted file mode 100644
index e12a106..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/read-json-file/config.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
-  "hello": "World",
-  "I am": ["the utile module"],
-  "thisMakesMe": {
-    "really": 1337,
-    "right?": true
-  }
-}
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/require-directory/directory/index.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/require-directory/directory/index.js b/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/require-directory/directory/index.js
deleted file mode 100644
index 1afb489..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/require-directory/directory/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-exports.me = 'directory/index.js';
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/require-directory/helloWorld.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/require-directory/helloWorld.js b/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/require-directory/helloWorld.js
deleted file mode 100644
index 1c842ec..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/fixtures/require-directory/helloWorld.js
+++ /dev/null
@@ -1,2 +0,0 @@
-exports.me = 'helloWorld.js';
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/format-test.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/format-test.js b/blackberry10/node_modules/prompt/node_modules/utile/test/format-test.js
deleted file mode 100644
index fb1a2b7..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/format-test.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * format-test.js: Tests for `utile.format` module.
- *
- * (C) 2011, Nodejitsu Inc.
- * MIT LICENSE
- *
- */
-
-var vows = require('vows'),
-    assert = require('assert'),
-    utile = require('../lib');
-
-vows.describe('utile/format').addBatch({
-
-  'Should use the original `util.format` if there are no custom parameters to replace.': function() {
-    assert.equal(utile.format('%s %s %s', 'test', 'test2', 'test3'), 'test test2 test3');
-  },
-
-  'Should use `utile.format` if custom parameters are provided.': function() {
-    assert.equal(utile.format('%a %b %c', [
-      '%a',
-      '%b',
-      '%c'
-    ], [
-      'test',
-      'test2',
-      'test3'
-    ]), 'test test2 test3');
-  }
-
-}).export(module);

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/function-args-test.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/function-args-test.js b/blackberry10/node_modules/prompt/node_modules/utile/test/function-args-test.js
deleted file mode 100644
index b2852eb..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/function-args-test.js
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * function-args-test.js: Tests for `args` method
- *
- * (C) 2012, Nodejitsu Inc.
- * MIT LICENSE
- *
- */
-
-var assert = require('assert'),
-    path = require('path'),
-    vows = require('vows'),
-    macros = require('./helpers/macros'),
-    utile = require('../');
-
-vows.describe('utile/args').addBatch({
-  'When using utile': {
-    'the `args` function': {
-      topic: utile,
-      'should be a function': function (_utile) {
-        assert.isFunction(_utile.args);
-      },
-    }
-  },
-  'utile.rargs()': {
-    'with no arguments': {
-      topic: utile.rargs(),
-      'should return an empty object': function (result) {
-        assert.isArray(result);
-        assert.lengthOf(result, 0);
-      }
-    },
-    'with simple arguments': {
-      topic: function () {
-        return (function () {
-          return utile.rargs(arguments);
-        })('a', 'b', 'c');
-      },
-      'should return an array with three items': function (result) {
-        assert.isArray(result);
-        assert.equal(3, result.length);
-        assert.equal(result[0], 'a');
-        assert.equal(result[1], 'b');
-        assert.equal(result[2], 'c');
-      }
-    },
-    'with a simple slice': {
-      topic: function () {
-        return (function () {
-          return utile.rargs(arguments, 1);
-        })('a', 'b', 'c');
-      },
-      'should return an array with three items': function (result) {
-        assert.isArray(result);
-        assert.equal(2, result.length);
-        assert.equal(result[0], 'b');
-        assert.equal(result[1], 'c');
-      }
-    }
-  },
-  'utile.args()': {
-    'with no arguments': {
-      topic: utile.args(),
-      'should return an empty Array': function (result) {
-        assert.isUndefined(result.callback);
-        assert.isArray(result);
-        assert.lengthOf(result, 0);
-      }
-    },
-    'with simple arguments': {
-      topic: function () {
-        return (function () {
-          return utile.args(arguments);
-        })('a', 'b', 'c', function () {
-          return 'ok';
-        });
-      },
-      'should return an array with three items': function (result) {
-        assert.isArray(result);
-        assert.equal(3, result.length);
-        assert.equal(result[0], 'a');
-        assert.equal(result[1], 'b');
-        assert.equal(result[2], 'c');
-
-        //
-        // Ensure that the Array returned
-        // by `utile.args()` enumerates correctly
-        //
-        var length = 0;
-        result.forEach(function (item) {
-          length++;
-        });
-
-        assert.equal(length, 3);
-      },
-      'should return lookup helpers': function (result) {
-        assert.isArray(result);
-        assert.equal(result.first, 'a');
-        assert.equal(result.last, 'c');
-        assert.isFunction(result.callback);
-        assert.isFunction(result.cb);
-      }
-    }
-  }
-}).export(module);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/helpers/macros.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/helpers/macros.js b/blackberry10/node_modules/prompt/node_modules/utile/test/helpers/macros.js
deleted file mode 100644
index 66f386d..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/helpers/macros.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * macros.js: Test macros for `utile` module.
- *
- * (C) 2011, Nodejitsu Inc.
- * MIT LICENSE
- *
- */
-
-var assert = require('assert'),
-    utile = require('../../lib');
-
-var macros = exports;
-
-macros.assertReadCorrectJson = function (obj) {
-  assert.isObject(obj);
-  utile.deepEqual(obj, {
-    hello: 'World',
-    'I am': ['the utile module'],
-    thisMakesMe: {
-      really: 1337,
-      'right?': true
-    }
-  });
-};
-
-macros.assertDirectoryRequired = function (obj) {
-  assert.isObject(obj);
-  utile.deepEqual(obj, {
-    directory: {
-      me: 'directory/index.js'
-    },
-    helloWorld: {
-      me: 'helloWorld.js'
-    }
-  });
-};
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/random-string-test.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/random-string-test.js b/blackberry10/node_modules/prompt/node_modules/utile/test/random-string-test.js
deleted file mode 100644
index c21af3f..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/random-string-test.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * common-test.js : testing common.js for expected functionality
- *
- * (C) 2011, Nodejitsu Inc.
- *
- */
-
-var assert = require('assert'),
-    vows = require('vows'),
-    utile = require('../lib');
-
-vows.describe('utile/randomString').addBatch({
-  "When using utile": {
-    "the randomString() function": {
-      topic: function () {
-        return utile.randomString();
-      },
-      "should return 16 characters that are actually random by default": function (random) {
-        assert.isString(random);
-        assert.lengthOf(random, 16);
-        assert.notEqual(random, utile.randomString());
-      },
-      "when you can asked for different length strings": {
-        topic: function () {
-          return [utile.randomString(4), utile.randomString(128)];
-        },
-        "where they actually are of length 4, 128": function (strings) {
-          assert.isArray(strings);
-          assert.lengthOf(strings,2);
-          assert.isString(strings[0]);
-          assert.isString(strings[1]);
-          assert.lengthOf(strings[0], 4);
-          assert.lengthOf(strings[1], 128);
-          assert.notEqual(strings[0], strings[1].substr(0,4));
-        }
-      }
-    }
-  }
-}).export(module);

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/require-directory-test.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/require-directory-test.js b/blackberry10/node_modules/prompt/node_modules/utile/test/require-directory-test.js
deleted file mode 100644
index ce7ea83..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/require-directory-test.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * require-directory-test.js: Tests for `requireDir` and `requireDirLazy`
- * methods.
- *
- * (C) 2011, Nodejitsu Inc.
- * MIT LICENSE
- *
- */
-
-var assert = require('assert'),
-    path = require('path'),
-    vows = require('vows'),
-    macros = require('./helpers/macros'),
-    utile = require('../');
-
-var requireFixtures = path.join(__dirname, 'fixtures', 'require-directory');
-
-vows.describe('utile/require-directory').addBatch({
-  'When using utile': {
-    'the `requireDir()` function': {
-      topic: utile.requireDir(requireFixtures),
-      'should contain all wanted modules': macros.assertDirectoryRequired
-    },
-    'the `requireDirLazy()` function': {
-      topic: utile.requireDirLazy(requireFixtures),
-      'all properties should be getters': function (obj) {
-        assert.isObject(obj);
-        assert.isTrue(!!Object.getOwnPropertyDescriptor(obj, 'directory').get);
-        assert.isTrue(!!Object.getOwnPropertyDescriptor(obj, 'helloWorld').get);
-      },
-      'should contain all wanted modules': macros.assertDirectoryRequired
-    }
-  }
-}).export(module);
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/test/utile-test.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/test/utile-test.js b/blackberry10/node_modules/prompt/node_modules/utile/test/utile-test.js
deleted file mode 100644
index 7dd5b0f..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/test/utile-test.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * utile-test.js: Tests for `utile` module.
- *
- * (C) 2011, Nodejitsu Inc.
- * MIT LICENSE
- *
- */
-
-var assert = require('assert'),
-    vows = require('vows'),
-    utile = require('../lib');
-
-var obj1, obj2;
-
-obj1 = {
-  foo: true,
-  bar: {
-    bar1: true,
-    bar2: 'bar2'
-  }
-};
-
-obj2 = {
-  baz: true,
-  buzz: 'buzz'
-};
-
-Object.defineProperties(obj2, {
-
-  'bazz': {
-    get: function() {
-      return 'bazz';
-    },
-
-    set: function() {
-      return 'bazz';
-    }
-  },
-
-  'wat': {
-    set: function() {
-      return 'wat';
-    }
-  }
-
-});
-
-vows.describe('utile').addBatch({
-  "When using utile": {
-    "it should have the same methods as the `util` module": function () {
-      Object.keys(require('util')).forEach(function (fn) {
-        assert.isFunction(utile[fn]);
-      });
-    },
-    "it should have the correct methods defined": function () {
-      assert.isFunction(utile.mixin);
-      assert.isFunction(utile.clone);
-      assert.isFunction(utile.rimraf);
-      assert.isFunction(utile.mkdirp);
-      assert.isFunction(utile.cpr);
-    },
-    "the mixin() method": function () {
-      var mixed = utile.mixin({}, obj1, obj2);
-      assert.isTrue(mixed.foo);
-      assert.isObject(mixed.bar);
-      assert.isTrue(mixed.baz);
-      assert.isString(mixed.buzz);
-      assert.isTrue(!!Object.getOwnPropertyDescriptor(mixed, 'bazz').get);
-      assert.isTrue(!!Object.getOwnPropertyDescriptor(mixed, 'bazz').set);
-      assert.isTrue(!!Object.getOwnPropertyDescriptor(mixed, 'wat').set);
-      assert.isString(mixed.bazz);
-    },
-    "the clone() method": function () {
-      var clone = utile.clone(obj1);
-      assert.isTrue(clone.foo);
-      assert.isObject(clone.bar);
-      assert.notStrictEqual(obj1, clone);
-    },
-    "the createPath() method": function () {
-      var x = {},
-          r = Math.random();
-
-      utile.createPath(x, ['a','b','c'], r)
-      assert.equal(x.a.b.c, r)
-    },
-    "the capitalize() method": function () {
-      assert.isFunction(utile.capitalize);
-      assert.equal(utile.capitalize('bullet'), 'Bullet');
-      assert.equal(utile.capitalize('bullet_train'), 'BulletTrain');
-    },
-    "the escapeRegExp() method": function () {
-      var ans = "\\/path\\/to\\/resource\\.html\\?search=query";
-      assert.isFunction(utile.escapeRegExp);
-      assert.equal(utile.escapeRegExp('/path/to/resource.html?search=query'), ans);
-    },
-    "the underscoreToCamel() method": function () {
-      var obj = utile.underscoreToCamel({
-        key_with_underscore: {
-          andNested: 'values',
-          several: [1, 2, 3],
-          nested_underscores: true
-        },
-        just_one: 'underscore'
-      });
-
-      assert.isObject(obj.keyWithUnderscore);
-      assert.isString(obj.justOne);
-      assert.isTrue(obj.keyWithUnderscore.nestedUnderscores);
-    },
-    "the camelToUnderscore() method": function () {
-      var obj = utile.camelToUnderscore({
-        keyWithCamel: {
-          andNested: 'values',
-          several: [1, 2, 3],
-          nestedCamel: true
-        },
-        justOne: 'camel'
-      });
-
-      assert.isObject(obj.key_with_camel);
-      assert.isString(obj.just_one);
-      assert.isTrue(obj.key_with_camel.nested_camel);
-    }
-  }
-}).export(module);
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/.npmignore
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/.npmignore b/blackberry10/node_modules/prompt/node_modules/winston/.npmignore
deleted file mode 100644
index 2c5c40a..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/.npmignore
+++ /dev/null
@@ -1,6 +0,0 @@
-test/*.log
-test/fixtures/*.json
-test/fixtures/logs/*.log
-node_modules/
-node_modules/*
-npm-debug.log
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/.travis.yml
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/.travis.yml b/blackberry10/node_modules/prompt/node_modules/winston/.travis.yml
deleted file mode 100644
index b250521..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/.travis.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-language: node_js
-node_js:
-  - 0.4
-  - 0.6
-branches:
-  only:
-    - master
-notifications:
-  email:
-    - travis@nodejitsu.com
-  irc: "irc.freenode.org#nodejitsu"
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/LICENSE
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/LICENSE b/blackberry10/node_modules/prompt/node_modules/winston/LICENSE
deleted file mode 100644
index 948d80d..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2010 Charlie Robbins
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/README.md
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/README.md b/blackberry10/node_modules/prompt/node_modules/winston/README.md
deleted file mode 100644
index 2fc4798..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/README.md
+++ /dev/null
@@ -1,790 +0,0 @@
-# winston [![Build Status](https://secure.travis-ci.org/flatiron/winston.png)](http://travis-ci.org/flatiron/winston)
-
-A multi-transport async logging library for node.js. <span style="font-size:28px; font-weight:bold;">&quot;CHILL WINSTON! ... I put it in the logs.&quot;</span>
-
-## Motivation
-Winston is designed to be a simple and universal logging library with support for multiple transports. A transport is essentially a storage device for your logs. Each instance of a winston logger can have multiple transports configured at different levels. For example, one may want error logs to be stored in a persistent remote location (like a database), but all logs output to the console or a local file.
-
-There also seemed to be a lot of logging libraries out there that coupled their implementation of logging (i.e. how the logs are stored / indexed) to the API that they exposed to the programmer. This library aims to decouple those parts of the process to make it more flexible and extensible.
-
-## Usage
-There are two different ways to use winston: directly via the default logger, or by instantiating your own Logger. The former is merely intended to be a convenient shared logger to use throughout your application if you so choose.
-
-* [Logging](#logging)
-  * [Using the Default Logger](#using-the-default-logger)
-  * [Instantiating your own Logger](#instantiating-your-own-logger)
-  * [Logging with Metadata](#logging-with-metadata)
-* [Transports](https://github.com/flatiron/winston/blob/master/docs/transports.md)
-* [Profiling](#profiling)
-* [Streaming Logs](#streaming-logs)
-* [Querying Logs](#querying-logs)  
-* [Exceptions](#exceptions)
-  * [Handling Uncaught Exceptions with winston](#handling-uncaught-exceptions-with-winston)
-  * [To Exit or Not to Exit](#to-exit-or-not-to-exit)
-* [Logging Levels](#logging-levels)
-  * [Using Logging Levels](#using-logging-levels)
-  * [Using Custom Logging Levels](#using-custom-logging-levels)
-* [Further Reading](#further-reading)
-  * [Events and Callbacks in Winston](#events-and-callbacks-in-winston)
-  * [Working with multiple Loggers in winston](#working-with-multiple-loggers-in-winston)
-  * [Using winston in a CLI tool](#using-winston-in-a-cli-tool)
-  * [Extending another object with Logging](#extending-another-object-with-logging)
-  * [Adding Custom Transports](#adding-custom-transports)
-
-## Logging
-
-### Using the Default Logger
-The default logger is accessible through the winston module directly. Any method that you could call on an instance of a logger is available on the default logger:
-
-``` js
-  var winston = require('winston');
-
-  winston.log('info', 'Hello distributed log files!');
-  winston.info('Hello again distributed logs');
-```
-
-By default, only the Console transport is set on the default logger. You can add or remove transports via the add() and remove() methods:
-
-``` js
-  winston.add(winston.transports.File, { filename: 'somefile.log' });
-  winston.remove(winston.transports.Console);
-```
-
-For more documenation about working with each individual transport supported by Winston see the "Working with Transports" section below.
-
-### Instantiating your own Logger
-If you would prefer to manage the object lifetime of loggers you are free to instantiate them yourself:
-
-``` js
-  var logger = new (winston.Logger)({
-    transports: [
-      new (winston.transports.Console)(),
-      new (winston.transports.File)({ filename: 'somefile.log' })
-    ]
-  });
-```
-
-You can work with this logger in the same way that you work with the default logger:
-
-``` js
-  //
-  // Logging
-  //
-  logger.log('info', 'Hello distributed log files!');
-  logger.info('Hello again distributed logs');
-
-  //
-  // Adding / Removing Transports
-  //   (Yes It's chainable)
-  //
-  logger.add(winston.transports.File)
-        .remove(winston.transports.Console);
-```
-
-### Logging with Metadata
-In addition to logging string messages, winston will also optionally log additional JSON metadata objects. Adding metadata is simple:
-
-``` js
-  winston.log('info', 'Test Log Message', { anything: 'This is metadata' });
-```
-
-The way these objects is stored varies from transport to transport (to best support the storage mechanisms offered). Here's a quick summary of how each transports handles metadata:
-
-1. __Console:__ Logged via util.inspect(meta)
-2. __File:__ Logged via util.inspect(meta)
-
-## Profiling
-In addition to logging messages and metadata, winston also has a simple profiling mechanism implemented for any logger:
-
-``` js
-  //
-  // Start profile of 'test'
-  // Remark: Consider using Date.now() with async operations
-  //
-  winston.profile('test');
-
-  setTimeout(function () {
-    //
-    // Stop profile of 'test'. Logging will now take place:
-    //   "17 Jan 21:00:00 - info: test duration=1000ms"
-    //
-    winston.profile('test');
-  }, 1000);
-```
-
-All profile messages are set to the 'info' by default and both message and metadata are optional There are no plans in the Roadmap to make this configurable, but I'm open to suggestions / issues.
-
-
-## Querying Logs
-Winston supports querying of logs with Loggly-like options.
-Specifically: `File`, `Couchdb`, `Redis`, `Loggly`, `Nssocket`, and `Http`.
-
-``` js
-  var options = {
-    from: new Date - 24 * 60 * 60 * 1000,
-    until: new Date
-  };
-
-  //
-  // Find items logged between today and yesterday.
-  //
-  winston.query(options, function (err, results) {
-    if (err) {
-      throw err;
-    }
-    
-    console.log(results);
-  });
-```
-
-## Streaming Logs
-Streaming allows you to stream your logs back from your chosen transport.
-
-``` js
-  //
-  // Start at the end.
-  //
-  winston.stream({ start: -1 }).on('log', function(log) {
-    console.log(log);
-  });
-```
-
-## Exceptions
-
-### Handling Uncaught Exceptions with winston
-
-With `winston`, it is possible to catch and log `uncaughtException` events from your process. There are two distinct ways of enabling this functionality either through the default winston logger or your own logger instance.
-
-If you want to use this feature with the default logger simply call `.handleExceptions()` with a transport instance.
-
-``` js
-  //
-  // You can add a separate exception logger by passing it to `.handleExceptions`
-  //
-  winston.handleExceptions(new winston.transports.File({ filename: 'path/to/exceptions.log' }))
-
-  //
-  // Alternatively you can set `.handleExceptions` to true when adding transports to winston
-  //
-  winston.add(winston.transports.File, {
-    filename: 'path/to/all-logs.log',
-    handleExceptions: true
-  });
-```
-
-### To Exit or Not to Exit
-
-by default, winston will exit after logging an uncaughtException. if this is not the behavior you want,
-set `exitOnError = false`
-
-``` js
-  var logger = new (winston.Logger)({ exitOnError: false });
-
-  //
-  // or, like this:
-  //
-  logger.exitOnError = false;
-```
-
-When working with custom logger instances, you can pass in separate transports to the `exceptionHandlers` property or set `.handleExceptions` on any transport.
-
-Example 1
-
-``` js
-  var logger = new (winston.Logger)({
-    transports: [
-      new winston.transports.File({ filename: 'path/to/all-logs.log' })
-    ]
-    exceptionHandlers: [
-      new winston.transports.File({ filename: 'path/to/exceptions.log' })
-    ]
-  });
-```
-
-Example 2
-
-```
-var logger = new winston.Logger({
-  transports: [
-    new winston.transports.Console({
-      handleExceptions: true,
-      json: true
-    })
-  ],
-  exitOnError: false
-});
-```
-
-The `exitOnError` option can also be a function to prevent exit on only certain types of errors:
-
-``` js
-  function ignoreEpipe(err) {
-    return err.code !== 'EPIPE';
-  }
-
-  var logger = new (winston.Logger)({ exitOnError: ignoreEpipe });
-
-  //
-  // or, like this:
-  //
-  logger.exitOnError = ignoreEpipe;
-```
-
-## Logging Levels
-
-### Using Logging Levels
-Setting the level for your logging message can be accomplished in one of two ways. You can pass a string representing the logging level to the log() method or use the level specified methods defined on every winston Logger.
-
-``` js
-  //
-  // Any logger instance
-  //
-  logger.log('info', "127.0.0.1 - there's no place like home");
-  logger.log('warn', "127.0.0.1 - there's no place like home");
-  logger.log('error', "127.0.0.1 - there's no place like home");
-  logger.info("127.0.0.1 - there's no place like home");
-  logger.warn("127.0.0.1 - there's no place like home");
-  logger.error("127.0.0.1 - there's no place like home");
-
-  //
-  // Default logger
-  //
-  winston.log('info', "127.0.0.1 - there's no place like home");
-  winston.info("127.0.0.1 - there's no place like home");
-```
-
-Winston allows you to set a `level` on each transport that specifies the level of messages this transport should log. For example, you could log only errors to the console, with the full logs in a file:
-
-``` js
-  var logger = new (winston.Logger)({
-    transports: [
-      new (winston.transports.Console)({ level: 'error' }),
-      new (winston.transports.File)({ filename: 'somefile.log' })
-    ]
-  });
-```
-
-As of 0.2.0, winston supports customizable logging levels, defaulting to [npm][0] style logging levels. Changing logging levels is easy:
-
-``` js
-  //
-  // Change levels on the default winston logger
-  //
-  winston.setLevels(winston.config.syslog.levels);
-
-  //
-  // Change levels on an instance of a logger
-  //
-  logger.setLevels(winston.config.syslog.levels);
-```
-
-Calling `.setLevels` on a logger will remove all of the previous helper methods for the old levels and define helper methods for the new levels. Thus, you should be careful about the logging statements you use when changing levels. For example, if you ran this code after changing to the syslog levels:
-
-``` js
-  //
-  // Logger does not have 'silly' defined since that level is not in the syslog levels
-  //
-  logger.silly('some silly message');
-```
-
-### Using Custom Logging Levels
-In addition to the predefined `npm` and `syslog` levels available in Winston, you can also choose to define your own:
-
-``` js
-  var myCustomLevels = {
-    levels: {
-      foo: 0,
-      bar: 1,
-      baz: 2,
-      foobar: 3
-    },
-    colors: {
-      foo: 'blue',
-      bar: 'green',
-      baz: 'yellow',
-      foobar: 'red'
-    }
-  };
-
-  var customLevelLogger = new (winston.Logger)({ levels: myCustomLevels.levels });
-  customLevelLogger.foobar('some foobar level-ed message');
-```
-
-Although there is slight repetition in this data structure, it enables simple encapsulation if you not to have colors. If you do wish to have colors, in addition to passing the levels to the Logger itself, you must make winston aware of them:
-
-``` js
-  //
-  // Make winston aware of these colors
-  //
-  winston.addColors(myCustomLevels.colors);
-```
-
-This enables transports with the 'colorize' option set to appropriately color the output of custom levels.
-
-## Further Reading
-
-### Events and Callbacks in Winston
-Each instance of winston.Logger is also an instance of an [EventEmitter][1]. A log event will be raised each time a transport successfully logs a message:
-
-``` js
-  logger.on('logging', function (transport, level, msg, meta) {
-    // [msg] and [meta] have now been logged at [level] to [transport]
-  });
-
-  logger.info('CHILL WINSTON!', { seriously: true });
-```
-
-It is also worth mentioning that the logger also emits an 'error' event which you should handle or suppress if you don't want unhandled exceptions:
-
-``` js
-  //
-  // Handle errors
-  //
-  logger.on('error', function (err) { /* Do Something */ });
-
-  //
-  // Or just suppress them.
-  //
-  logger.emitErrs = false;
-```
-
-Every logging method described in the previous section also takes an optional callback which will be called only when all of the transports have logged the specified message.
-
-``` js
-  logger.info('CHILL WINSTON!', { seriously: true }, function (err, level, msg, meta) {
-    // [msg] and [meta] have now been logged at [level] to **every** transport.
-  });
-```
-
-### Working with multiple Loggers in winston
-
-Often in larger, more complex applications it is necessary to have multiple logger instances with different settings. Each logger is responsible for a different feature area (or category). This is exposed in `winston` in two ways: through `winston.loggers` and instances of `winston.Container`. In fact, `winston.loggers` is just a predefined instance of `winston.Container`:
-
-``` js
-  var winston = require('winston');
-
-  //
-  // Configure the logger for `category1`
-  //
-  winston.loggers.add('category1', {
-    console: {
-      level: 'silly',
-      colorize: 'true'
-    },
-    file: {
-      filename: '/path/to/some/file'
-    }
-  });
-
-  //
-  // Configure the logger for `category2`
-  //
-  winston.loggers.add('category2', {
-    couchdb: {
-      host: '127.0.0.1',
-      port: 5984
-    }
-  });
-```
-
-Now that your loggers are setup you can require winston _in any file in your application_ and access these pre-configured loggers:
-
-``` js
-  var winston = require('winston');
-
-  //
-  // Grab your preconfigured logger
-  //
-  var category1 = winston.loggers.get('category1');
-
-  category1.info('logging from your IoC container-based logger');
-```
-
-If you prefer to manage the `Container` yourself you can simply instantiate one:
-
-``` js
-  var winston = require('winston'),
-      container = new winston.Container();
-
-  container.add('category1', {
-    console: {
-      level: 'silly',
-      colorize: 'true'
-    },
-    file: {
-      filename: '/path/to/some/file'
-    }
-  });
-```
-
-### Sharing transports between Loggers in winston
-
-``` js
-  var winston = require('winston');
-
-  //
-  // Setup transports to be shared across all loggers
-  // in three ways:
-  //
-  // 1. By setting it on the default Container
-  // 2. By passing `transports` into the constructor function of winston.Container
-  // 3. By passing `transports` into the `.get()` or `.add()` methods
-  //
-
-  //
-  // 1. By setting it on the default Container
-  //
-  winston.loggers.options.transports = [
-    // Setup your shared transports here
-  ];
-
-  //
-  // 2. By passing `transports` into the constructor function of winston.Container
-  //
-  var container = new winston.Container({
-    transports: [
-      // Setup your shared transports here
-    ]
-  });
-
-  //
-  // 3. By passing `transports` into the `.get()` or `.add()` methods
-  //
-  winston.loggers.add('some-category', {
-    transports: [
-      // Setup your shared transports here
-    ]
-  });
-
-  container.add('some-category', {
-    transports: [
-      // Setup your shared transports here
-    ]
-  });
-```
-
-### Using winston in a CLI tool
-A common use-case for logging is output to a CLI tool. Winston has a special helper method which will pretty print output from your CLI tool. Here's an example from the [require-analyzer][2] written by [Nodejitsu][3]:
-
-```
-  info:   require-analyzer starting in /Users/Charlie/Nodejitsu/require-analyzer
-  info:   Found existing dependencies
-  data:   {
-  data:     colors: '0.x.x',
-  data:     eyes: '0.1.x',
-  data:     findit: '0.0.x',
-  data:     npm: '1.0.x',
-  data:     optimist: '0.2.x',
-  data:     semver: '1.0.x',
-  data:     winston: '0.2.x'
-  data:   }
-  info:   Analyzing dependencies...
-  info:   Done analyzing raw dependencies
-  info:   Retrieved packages from npm
-  warn:   No additional dependencies found
-```
-
-Configuring output for this style is easy, just use the `.cli()` method on `winston` or an instance of `winston.Logger`:
-
-``` js
-  var winston = require('winston');
-
-  //
-  // Configure CLI output on the default logger
-  //
-  winston.cli();
-
-  //
-  // Configure CLI on an instance of winston.Logger
-  //
-  var logger = new winston.Logger({
-    transports: [
-      new (winston.transports.Console)()
-    ]
-  });
-
-  logger.cli();
-```
-
-### Extending another object with Logging
-Often in a given code base with lots of Loggers it is useful to add logging methods a different object so that these methods can be called with less syntax. Winston exposes this functionality via the 'extend' method:
-
-``` js
-  var myObject = {};
-
-  logger.extend(myObject);
-
-  //
-  // You can now call logger methods on 'myObject'
-  //
-  myObject.info('127.0.0.1 - there's no place like home');
-```
-
-## Working with Transports
-Right now there are four transports supported by winston core. If you have a transport you would like to add either open an issue or fork and submit a pull request. Commits are welcome, but I'll give you extra street cred if you __add tests too :D__
-   
-1. __Console:__ Output to the terminal
-2. __Files:__ Append to a file
-3. __Loggly:__ Log to Logging-as-a-Service platform Loggly
-
-### Console Transport
-``` js
-  winston.add(winston.transports.Console, options)
-```
-
-The Console transport takes two simple options:
-
-* __level:__ Level of messages that this transport should log (default 'info').
-* __silent:__ Boolean flag indicating whether to suppress output (default false).
-* __colorize:__ Boolean flag indicating if we should colorize output (default false).
-* __timestamp:__ Boolean flag indicating if we should prepend output with timestamps (default false). If function is specified, its return value will be used instead of timestamps.
-
-*Metadata:* Logged via util.inspect(meta);
-
-### File Transport
-``` js
-  winston.add(winston.transports.File, options)
-```
-
-The File transport should really be the 'Stream' transport since it will accept any [WritableStream][14]. It is named such because it will also accept filenames via the 'filename' option:
-
-* __level:__ Level of messages that this transport should log.
-* __silent:__ Boolean flag indicating whether to suppress output.
-* __colorize:__ Boolean flag indicating if we should colorize output.
-* __timestamp:__ Boolean flag indicating if we should prepend output with timestamps (default true). If function is specified, its return value will be used instead of timestamps.
-* __filename:__ The filename of the logfile to write output to.
-* __maxsize:__ Max size in bytes of the logfile, if the size is exceeded then a new file is created.
-* __maxFiles:__ Limit the number of files created when the size of the logfile is exceeded.
-* __stream:__ The WriteableStream to write output to.
-* __json:__ If true, messages will be logged as JSON (default true).
-
-*Metadata:* Logged via util.inspect(meta);
-
-### Loggly Transport
-``` js
-  var Loggly = require('winston-loggly').Loggly
-  winston.add(Loggly, options);
-```
-
-The Loggly transport is based on [Nodejitsu's][5] [node-loggly][6] implementation of the [Loggly][7] API. If you haven't heard of Loggly before, you should probably read their [value proposition][8]. The Loggly transport takes the following options. Either 'inputToken' or 'inputName' is required:
-
-* __level:__ Level of messages that this transport should log. 
-* __subdomain:__ The subdomain of your Loggly account. *[required]*
-* __auth__: The authentication information for your Loggly account. *[required with inputName]*
-* __inputName:__ The name of the input this instance should log to.
-* __inputToken:__ The input token of the input this instance should log to.
-* __json:__ If true, messages will be sent to Loggly as JSON.
-
-*Metadata:* Logged in suggested [Loggly format][2]
-
-### Riak Transport
-As of `0.3.0` the Riak transport has been broken out into a new module: [winston-riak][17]. Using it is just as easy:
-
-``` js
-  var Riak = require('winston-riak').Riak;
-  winston.add(Riak, options);
-```
-
-In addition to the options accepted by the [riak-js][3] [client][4], the Riak transport also accepts the following options. It is worth noting that the riak-js debug option is set to *false* by default:
-
-* __level:__ Level of messages that this transport should log.
-* __bucket:__ The name of the Riak bucket you wish your logs to be in or a function to generate bucket names dynamically.
-
-``` js
-  // Use a single bucket for all your logs
-  var singleBucketTransport = new (Riak)({ bucket: 'some-logs-go-here' });
-  
-  // Generate a dynamic bucket based on the date and level
-  var dynamicBucketTransport = new (Riak)({
-    bucket: function (level, msg, meta, now) {
-      var d = new Date(now);
-      return level + [d.getDate(), d.getMonth(), d.getFullYear()].join('-');
-    }
-  });
-```
-
-*Metadata:* Logged as JSON literal in Riak
-
-### MongoDB Transport
-As of `0.3.0` the MongoDB transport has been broken out into a new module: [winston-mongodb][16]. Using it is just as easy:
-
-``` js
-  var MongoDB = require('winston-mongodb').MongoDB;
-  winston.add(MongoDB, options);
-```
-
-The MongoDB transport takes the following options. 'db' is required:
-
-* __level:__ Level of messages that this transport should log. 
-* __silent:__ Boolean flag indicating whether to suppress output.
-* __db:__ The name of the database you want to log to. *[required]*
-* __collection__: The name of the collection you want to store log messages in, defaults to 'log'.
-* __safe:__ Boolean indicating if you want eventual consistency on your log messages, if set to true it requires an extra round trip to the server to ensure the write was committed, defaults to true.
-* __host:__ The host running MongoDB, defaults to localhost.
-* __port:__ The port on the host that MongoDB is running on, defaults to MongoDB's default port.
-
-*Metadata:* Logged as a native JSON object.
-
-### SimpleDB Transport
-
-The [winston-simpledb][18] transport is just as easy:
-
-``` js
-  var SimpleDB = require('winston-simpledb').SimpleDB;
-  winston.add(SimpleDB, options);
-```
-
-The SimpleDB transport takes the following options. All items marked with an asterisk are required:
-
-* __awsAccessKey__:* your AWS Access Key
-* __secretAccessKey__:* your AWS Secret Access Key
-* __awsAccountId__:* your AWS Account Id
-* __domainName__:* a string or function that returns the domain name to log to
-* __region__:* the region your domain resides in
-* __itemName__: a string ('uuid', 'epoch', 'timestamp') or function that returns the item name to log
-
-*Metadata:* Logged as a native JSON object to the 'meta' attribute of the item.
-
-### Mail Transport
-
-The [winston-mail][19] is an email transport:
-
-``` js
-  var Mail = require('winston-mail').Mail;
-  winston.add(Mail, options);
-```
-
-The Mail transport uses [emailjs](https://github.com/eleith/emailjs) behind the scenes.  Options are the following:
-
-* __to:__ The address(es) you want to send to. *[required]*
-* __from:__ The address you want to send from. (default: `winston@[server-host-name]`)
-* __host:__ SMTP server hostname (default: localhost)
-* __port:__ SMTP port (default: 587 or 25)
-* __username__ User for server auth
-* __password__ Password for server auth
-* __ssl:__ Use SSL (boolean or object { key, ca, cert })
-* __tls:__ Boolean (if true, use starttls)
-* __level:__ Level of messages that this transport should log. 
-* __silent:__ Boolean flag indicating whether to suppress output.
-
-*Metadata:* Stringified as JSON in email.
-
-### Amazon SNS (Simple Notification System) Transport
-
-The [winston-sns][21] transport uses amazon SNS to send emails, texts, or a bunch of other notifications.
-
-``` js
-  require('winston-sns').SNS;
-  winston.add(winston.transports.SNS, options);
-```
-
-Options:
-
-* __aws_key:__ Your Amazon Web Services Key. *[required]*
-* __aws_secret:__ Your Amazon Web Services Secret. *[required]*
-* __subscriber:__ Subscriber number - found in your SNS AWS Console, after clicking on a topic. Same as AWS Account ID. *[required]*
-* __topic_arn:__ Also found in SNS AWS Console - listed under a topic as Topic ARN. *[required]*
-* __region:__ AWS Region to use. Can be one of: `us-east-1`,`us-west-1`,`eu-west-1`,`ap-southeast-1`,`ap-northeast-1`,`us-gov-west-1`,`sa-east-1`. (default: `us-east-1`)
-* __subject:__ Subject for notifications. (default: "Winston Error Report")
-* __message:__ Message of notifications. Uses placeholders for level (%l), error message (%e), and metadata (%m). (default: "Level '%l' Error:\n%e\n\nMetadata:\n%m")
-* __level:__ lowest level this transport will log. (default: `info`)
-
-### Graylog2 Transport
-
-[winston-graylog2][22] is a Graylog2 transport:
-
-``` js
-  var Graylog2 = require('winston-graylog2').Graylog2;
-  winston.add(Graylog2, options);
-```
-
-The Graylog2 transport connects to a Graylog2 server over UDP using the following options:
-
-* __level:__ Level of messages this transport should log. (default: info)
-* __silent:__ Boolean flag indicating whether to suppress output. (default: false)
-
-* __graylogHost:__ IP address or hostname of the graylog2 server. (default: localhost)
-* __graylogPort:__ Port to send messages to on the graylog2 server. (default: 12201)
-* __graylogHostname:__ The hostname associated with graylog2 messages. (default: require('os').hostname())
-* __graylogFacility:__ The graylog2 facility to send log messages.. (default: nodejs)
-
-*Metadata:* Stringified as JSON in the full message GELF field.
-
-### Adding Custom Transports
-Adding a custom transport (say for one of the datastore on the Roadmap) is actually pretty easy. All you need to do is accept a couple of options, set a name, implement a log() method, and add it to the set of transports exposed by winston.
-
-``` js
-  var util = require('util'),
-      winston = require('winston');
-
-  var CustomLogger = winston.transports.CustomerLogger = function (options) {
-    //
-    // Name this logger
-    //
-    this.name = 'customLogger';
-
-    //
-    // Set the level from your options
-    //
-    this.level = options.level || 'info';
-
-    //
-    // Configure your storage backing as you see fit
-    //
-  };
-
-  //
-  // Inherit from `winston.Transport` so you can take advantage
-  // of the base functionality and `.handleExceptions()`.
-  //
-  util.inherits(CustomLogger, winston.Transport);
-
-  CustomLogger.prototype.log = function (level, msg, meta, callback) {
-    //
-    // Store this message and metadata, maybe use some custom logic
-    // then callback indicating success.
-    //
-    callback(null, true);
-  };
-```
-
-### Inspirations
-1. [npm][0]
-2. [log.js][4]
-3. [socket.io][5]
-4. [node-rlog][6]
-5. [BigBrother][7]
-6. [Loggly][8]
-
-## Installation
-
-### Installing npm (node package manager)
-```
-  curl http://npmjs.org/install.sh | sh
-```
-
-### Installing winston
-```
-  [sudo] npm install winston
-```
-
-## Run Tests
-All of the winston tests are written in [vows][9], and designed to be run with npm. 
-
-``` bash
-  $ npm test
-```
-
-#### Author: [Charlie Robbins](http://twitter.com/indexzero)
-#### Contributors: [Matthew Bergman](http://github.com/fotoverite), [Marak Squires](http://github.com/marak)
-
-[0]: https://github.com/isaacs/npm/blob/master/lib/utils/log.js
-[1]: http://nodejs.org/docs/v0.3.5/api/events.html#events.EventEmitter
-[2]: http://github.com/nodejitsu/require-analyzer
-[3]: http://nodejitsu.com
-[4]: https://github.com/visionmedia/log.js
-[5]: http://socket.io
-[6]: https://github.com/jbrisbin/node-rlog
-[7]: https://github.com/feisty/BigBrother
-[8]: http://loggly.com
-[9]: http://vowsjs.org

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/docs/transports.md
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/docs/transports.md b/blackberry10/node_modules/prompt/node_modules/winston/docs/transports.md
deleted file mode 100644
index 5930ad4..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/docs/transports.md
+++ /dev/null
@@ -1,342 +0,0 @@
-# Winston Transports
-
-In `winston` a transport a transport is essentially a storage device for your logs. Each instance of a winston logger can have multiple transports configured at different levels. For example, one may want error logs to be stored in a persistent remote location (like a database), but all logs output to the console or a local file.
-
-There are several [core transports](#winston-core) included in `winston`, which leverage the built-in networking and file I/O offered by node.js core. In addition, there are [third-party transports which are supported by the winston core team](#winston-more). And last (but not least) there are [additional transports written by members of the community](#additional-transports).
-
-* **[Winston Core](#winston-core)**
-  * [Console](#console-transport)
-  * [File](#file-transport)
-  * [Http](#http-transport)
-  * [Webhook](#webhook-transport)
-
-* **[Winston More](#winston-more)**
-  * [CouchDB](#couchdb-transport)
-  * [Loggly](#loggly-transport)
-  * [MongoDB](#mongodb-transport)
-  * [Redis](#redis-transport)
-  * [Riak](#riak-transport)
-  
-* **[Additional Transports](#additional-transports)**
-  * [SimpleDB](#simpledb-transport)
-  * [Mail](#mail-transport)
-  * [Amazon SNS](#amazon-sns-simple-notification-system-transport)
-  * [Graylog2](#graylog2-transport)
-
-## Winston Core
-
-There are several core transports included in `winston`, which leverage the built-in networking and file I/O offered by node.js core.  
-
-* [Console](#console-transport)
-* [File](#file-transport)
-* [Http](#http-transport)
-* [Webhook](#webhook-transport)
-
-### Console Transport
-
-``` js
-  winston.add(winston.transports.Console, options)
-```
-
-The Console transport takes two simple options:
-
-* __level:__ Level of messages that this transport should log (default 'debug').
-* __silent:__ Boolean flag indicating whether to suppress output (default false).
-* __colorize:__ Boolean flag indicating if we should colorize output (default false).
-* __timestamp:__ Boolean flag indicating if we should prepend output with timestamps (default false). If function is specified, its return value will be used instead of timestamps.
-
-*Metadata:* Logged via util.inspect(meta);
-
-### File Transport
-
-``` js
-  winston.add(winston.transports.File, options)
-```
-
-The File transport should really be the 'Stream' transport since it will accept any [WritableStream][0]. It is named such because it will also accept filenames via the 'filename' option:
-
-* __level:__ Level of messages that this transport should log.
-* __silent:__ Boolean flag indicating whether to suppress output.
-* __colorize:__ Boolean flag indicating if we should colorize output.
-* __timestamp:__ Boolean flag indicating if we should prepend output with timestamps (default false). If function is specified, its return value will be used instead of timestamps.
-* __filename:__ The filename of the logfile to write output to.
-* __maxsize:__ Max size in bytes of the logfile, if the size is exceeded then a new file is created.
-* __maxFiles:__ Limit the number of files created when the size of the logfile is exceeded.
-* __stream:__ The WriteableStream to write output to.
-* __json:__ If true, messages will be logged as JSON (default true).
-
-*Metadata:* Logged via util.inspect(meta);
-
-### Http Transport
-
-``` js
-  winston.add(winston.transports.Http, options)
-```
-
-The `Http` transport is a generic way to log, query, and stream logs from an arbitrary Http endpoint, preferably [winstond][1]. It takes options that are passed to the node.js `http` or `https` request:
-
-* __host:__ (Default: **localhost**) Remote host of the HTTP logging endpoint
-* __port:__ (Default: **80 or 443**) Remote port of the HTTP logging endpoint
-* __path:__ (Default: **/**) Remote URI of the HTTP logging endpoint 
-* __auth:__ (Default: **None**) An object representing the `username` and `password` for HTTP Basic Auth
-* __ssl:__ (Default: **false**) Value indicating if we should us HTTPS
-
-## Winston More
-
-Starting with `winston@0.3.0` an effort was made to remove any transport which added additional dependencies to `winston`. At the time there were several transports already in `winston` which will **always be supported by the winston core team.**
-
-* [CouchDB](#couchdb-transport)
-* [Redis](#redis-transport)
-* [MongoDB](#mongodb-transport)
-* [Riak](#riak-transport)
-* [Loggly](#loggly-transport)
-
-### CouchDB Transport
-
-_As of `winston@0.6.0` the CouchDB transport has been broken out into a new module: [winston-couchdb][2]._
-
-``` js
-  winston.add(winston.transports.Couchdb, options)
-```
-
-The `Couchdb` will place your logs in a remote CouchDB database. It will also create a [Design Document][3], `_design/Logs` for later querying and streaming your logs from CouchDB. The transport takes the following options:
-
-* __host:__ (Default: **localhost**) Remote host of the HTTP logging endpoint
-* __port:__ (Default: **5984**) Remote port of the HTTP logging endpoint
-* __db:__ (Default: **winston**) Remote URI of the HTTP logging endpoint 
-* __auth:__ (Default: **None**) An object representing the `username` and `password` for HTTP Basic Auth
-* __ssl:__ (Default: **false**) Value indicating if we should us HTTPS
-
-### Redis Transport
-
-``` js
-  winston.add(winston.transports.Redis, options)
-```
-
-This transport accepts the options accepted by the [node-redis][4] client:
-
-* __host:__ (Default **localhost**) Remote host of the Redis server
-* __port:__ (Default **6379**) Port the Redis server is running on.
-* __auth:__ (Default **None**) Password set on the Redis server
-
-In addition to these, the Redis transport also accepts the following options.
-
-* __length:__ (Default **200**) Number of log messages to store.
-* __container:__ (Default **winston**) Name of the Redis container you wish your logs to be in.
-* __channel:__ (Default **None**) Name of the Redis channel to stream logs from. 
-
-*Metadata:* Logged as JSON literal in Redis
-
-### Loggly Transport
-
-_As of `winston@0.6.0` the Loggly transport has been broken out into a new module: [winston-loggly][5]._
-
-``` js
-  winston.add(winston.transports.Loggly, options);
-```
-
-The Loggly transport is based on [Nodejitsu's][6] [node-loggly][7] implementation of the [Loggly][8] API. If you haven't heard of Loggly before, you should probably read their [value proposition][9]. The Loggly transport takes the following options. Either 'inputToken' or 'inputName' is required:
-
-* __level:__ Level of messages that this transport should log.
-* __subdomain:__ The subdomain of your Loggly account. *[required]*
-* __auth__: The authentication information for your Loggly account. *[required with inputName]*
-* __inputName:__ The name of the input this instance should log to.
-* __inputToken:__ The input token of the input this instance should log to.
-* __json:__ If true, messages will be sent to Loggly as JSON.
-
-*Metadata:* Logged in suggested [Loggly format][10]
-
-### Riak Transport
-
-_As of `winston@0.3.0` the Riak transport has been broken out into a new module: [winston-riak][11]._ Using it is just as easy:
-
-``` js
-  var Riak = require('winston-riak').Riak;
-  winston.add(Riak, options);
-```
-
-In addition to the options accepted by the [riak-js][12] [client][13], the Riak transport also accepts the following options. It is worth noting that the riak-js debug option is set to *false* by default:
-
-* __level:__ Level of messages that this transport should log.
-* __bucket:__ The name of the Riak bucket you wish your logs to be in or a function to generate bucket names dynamically.
-
-``` js
-  // Use a single bucket for all your logs
-  var singleBucketTransport = new (Riak)({ bucket: 'some-logs-go-here' });
-
-  // Generate a dynamic bucket based on the date and level
-  var dynamicBucketTransport = new (Riak)({
-    bucket: function (level, msg, meta, now) {
-      var d = new Date(now);
-      return level + [d.getDate(), d.getMonth(), d.getFullYear()].join('-');
-    }
-  });
-```
-
-*Metadata:* Logged as JSON literal in Riak
-
-### MongoDB Transport
-
-As of `winston@0.3.0` the MongoDB transport has been broken out into a new module: [winston-mongodb][14]. Using it is just as easy:
-
-``` js
-  var MongoDB = require('winston-mongodb').MongoDB;
-  winston.add(MongoDB, options);
-```
-
-The MongoDB transport takes the following options. 'db' is required:
-
-* __level:__ Level of messages that this transport should log.
-* __silent:__ Boolean flag indicating whether to suppress output.
-* __db:__ The name of the database you want to log to. *[required]*
-* __collection__: The name of the collection you want to store log messages in, defaults to 'log'.
-* __safe:__ Boolean indicating if you want eventual consistency on your log messages, if set to true it requires an extra round trip to the server to ensure the write was committed, defaults to true.
-* __host:__ The host running MongoDB, defaults to localhost.
-* __port:__ The port on the host that MongoDB is running on, defaults to MongoDB's default port.
-
-*Metadata:* Logged as a native JSON object.
-
-## Additional Transports
-
-The community has truly embraced `winston`; there are over **23** winston transports and over half of them are maintained by authors external to the winston core team. If you want to check them all out, just search `npm`:
-
-``` bash
-  $ npm search winston
-```
-
-**If you have an issue using one of these modules you should contact the module author directly**
-
-### SimpleDB Transport
-
-The [winston-simpledb][15] transport is just as easy:
-
-``` js
-  var SimpleDB = require('winston-simpledb').SimpleDB;
-  winston.add(SimpleDB, options);
-```
-
-The SimpleDB transport takes the following options. All items marked with an asterisk are required:
-
-* __awsAccessKey__:* your AWS Access Key
-* __secretAccessKey__:* your AWS Secret Access Key
-* __awsAccountId__:* your AWS Account Id
-* __domainName__:* a string or function that returns the domain name to log to
-* __region__:* the region your domain resides in
-* __itemName__: a string ('uuid', 'epoch', 'timestamp') or function that returns the item name to log
-
-*Metadata:* Logged as a native JSON object to the 'meta' attribute of the item.
-
-### Mail Transport
-
-The [winston-mail][16] is an email transport:
-
-``` js
-  var Mail = require('winston-mail').Mail;
-  winston.add(Mail, options);
-```
-
-The Mail transport uses [node-mail][17] behind the scenes.  Options are the following, `to` and `host` are required:
-
-* __to:__ The address(es) you want to send to. *[required]*
-* __from:__ The address you want to send from. (default: `winston@[server-host-name]`)
-* __host:__ SMTP server hostname
-* __port:__ SMTP port (default: 587 or 25)
-* __secure:__ Use secure
-* __username__ User for server auth
-* __password__ Password for server auth
-* __level:__ Level of messages that this transport should log.
-* __silent:__ Boolean flag indicating whether to suppress output.
-
-*Metadata:* Stringified as JSON in email.
-
-### Amazon SNS (Simple Notification System) Transport
-
-The [winston-sns][18] transport uses amazon SNS to send emails, texts, or a bunch of other notifications.
-
-``` js
-  require('winston-sns').SNS;
-  winston.add(winston.transports.SNS, options);
-```
-
-Options:
-
-* __aws_key:__ Your Amazon Web Services Key. *[required]*
-* __aws_secret:__ Your Amazon Web Services Secret. *[required]*
-* __subscriber:__ Subscriber number - found in your SNS AWS Console, after clicking on a topic. Same as AWS Account ID. *[required]*
-* __topic_arn:__ Also found in SNS AWS Console - listed under a topic as Topic ARN. *[required]*
-* __region:__ AWS Region to use. Can be one of: `us-east-1`,`us-west-1`,`eu-west-1`,`ap-southeast-1`,`ap-northeast-1`,`us-gov-west-1`,`sa-east-1`. (default: `us-east-1`)
-* __subject:__ Subject for notifications. (default: "Winston Error Report")
-* __message:__ Message of notifications. Uses placeholders for level (%l), error message (%e), and metadata (%m). (default: "Level '%l' Error:\n%e\n\nMetadata:\n%m")
-* __level:__ lowest level this transport will log. (default: `info`)
-
-### Graylog2 Transport
-
-[winston-graylog2][19] is a Graylog2 transport:
-
-``` js
-  var Graylog2 = require('winston-graylog2').Graylog2;
-  winston.add(Graylog2, options);
-```
-
-The Graylog2 transport connects to a Graylog2 server over UDP using the following options:
-
-* __level:__ Level of messages this transport should log. (default: info)
-* __silent:__ Boolean flag indicating whether to suppress output. (default: false)
-
-* __graylogHost:__ IP address or hostname of the graylog2 server. (default: localhost)
-* __graylogPort:__ Port to send messages to on the graylog2 server. (default: 12201)
-* __graylogHostname:__ The hostname associated with graylog2 messages. (default: require('os').hostname())
-* __graylogFacility:__ The graylog2 facility to send log messages.. (default: nodejs)
-
-*Metadata:* Stringified as JSON in the full message GELF field.
-
-## Find more Transports
-
-``` bash
-  $ npm search winston
-  (...)
-  winston-amon         Winston transport for Amon logging                            =zoramite             
-  winston-amqp         An AMQP transport for winston                                 =kr1sp1n              
-  winston-couchdb      a couchdb transport for winston                               =alz               
-  winston-express      Express middleware to let you use winston from the browser.   =regality             
-  winston-graylog2     A graylog2 transport for winston                              =smithclay            
-  winston-hbase        A HBase transport for winston                                 =ddude                
-  winston-loggly       A Loggly transport for winston                                =indexzero            
-  winston-mail         A mail transport for winston                                  =wavded               
-  winston-mail2        A mail transport for winston                                  =ivolo                
-  winston-mongodb      A MongoDB transport for winston                               =indexzero            
-  winston-nodemail     A mail transport for winston                                  =reinpk               
-  winston-nssocket     nssocket transport for winston                                =mmalecki             
-  winston-papertrail   A Papertrail transport for winston                            =kenperkins           
-  winston-redis        A fixed-length Redis transport for winston                    =indexzero            
-  winston-riak         A Riak transport for winston                                  =indexzero            
-  winston-scribe       A scribe transport for winston                                =wnoronha             
-  winston-simpledb     A Winston transport for Amazon SimpleDB                       =chilts               
-  winston-skywriter    A Windows Azure table storage transport for winston           =pofallon             
-  winston-sns          A Simple Notification System Transport for winston            =jesseditson
-  winston-syslog       A syslog transport for winston                                =indexzero            
-  winston-syslog-ain2  An ain2 based syslog transport for winston                    =lamtha               
-  winston-winlog       Windows Event Log logger for Winston                          =jfromaniello         
-  winston-zmq          A 0MQ transport for winston                                   =dhendo
-```
-
-[0]: http://nodejs.org/docs/v0.3.5/api/streams.html#writable_Stream
-[1]: https://github.com/flatiron/winstond
-[2]: https://github.com/indexzero/winston-couchdb
-[3]: http://guide.couchdb.org/draft/design.html
-[4]: https://github.com/mranney/node_redis
-[5]: https://github.com/indexzero/winston-loggly
-[6]: http://nodejitsu.com
-[7]: https://github.com/nodejitsu/node-loggly
-[8]: http://loggly.com
-[9]: http://www.loggly.com/product/
-[10]: http://wiki.loggly.com/loggingfromcode
-[11]: https://github.com/indexzero/winston-riak
-[12]: http://riakjs.org
-[13]: https://github.com/frank06/riak-js/blob/master/src/http_client.coffee#L10
-[14]: http://github.com/indexzero/winston-mongodb
-[15]: http://github.com/appsattic/winston-simpledb
-[16]: http://github.com/wavded/winston-mail
-[17]: https://github.com/weaver/node-mail
-[18]: https://github.com/jesseditson/winston-sns
-[19]: https://github.com/flite/winston-graylog2

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/examples/couchdb.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/examples/couchdb.js b/blackberry10/node_modules/prompt/node_modules/winston/examples/couchdb.js
deleted file mode 100644
index ce2d960..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/examples/couchdb.js
+++ /dev/null
@@ -1,18 +0,0 @@
-var winston = require('../lib/winston');
-
-//
-// Create a new winston logger instance with two tranports: Console, and Couchdb
-//
-//
-// The Console transport will simply output to the console screen
-// The Couchdb tranport will perform an HTTP POST request to the specified CouchDB instance
-//
-var logger = new (winston.Logger)({
-  transports: [
-    new (winston.transports.Console)(),
-    new (winston.transports.Couchdb)({ 'host': 'localhost', 'db': 'logs' })
-    // if you need auth do this: new (winston.transports.Couchdb)({ 'user': 'admin', 'pass': 'admin', 'host': 'localhost', 'db': 'logs' })
-  ]
-});
-
-logger.log('info', 'Hello webhook log files!', { 'foo': 'bar' });

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/examples/exception.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/examples/exception.js b/blackberry10/node_modules/prompt/node_modules/winston/examples/exception.js
deleted file mode 100644
index 99f605b..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/examples/exception.js
+++ /dev/null
@@ -1,4 +0,0 @@
-var winston = require('../');
-winston.handleExceptions(new winston.transports.Console({ colorize: true, json: true }));
-
-throw new Error('Hello, winston!');

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/examples/raw-mode.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/examples/raw-mode.js b/blackberry10/node_modules/prompt/node_modules/winston/examples/raw-mode.js
deleted file mode 100644
index 89e070d..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/examples/raw-mode.js
+++ /dev/null
@@ -1,10 +0,0 @@
-var winston = require('../lib/winston');
-
-var logger = new (winston.Logger)({
-  transports: [
-    new (winston.transports.Console)({ raw: true }),
-  ]
-});
-
-logger.log('info', 'Hello, this is a raw logging event',   { 'foo': 'bar' });
-logger.log('info', 'Hello, this is a raw logging event 2', { 'foo': 'bar' });

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/examples/webhook-post.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/examples/webhook-post.js b/blackberry10/node_modules/prompt/node_modules/winston/examples/webhook-post.js
deleted file mode 100644
index 0fa1c8d..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/examples/webhook-post.js
+++ /dev/null
@@ -1,17 +0,0 @@
-var winston = require('../lib/winston');
-
-//
-// Create a new winston logger instance with two tranports: Console, and Webhook
-//
-//
-// The Console transport will simply output to the console screen
-// The Webhook tranports will perform an HTTP POST request to an abritrary end-point ( for post/recieve webhooks )
-//
-var logger = new (winston.Logger)({
-  transports: [
-    new (winston.transports.Console)(),
-    new (winston.transports.Webhook)({ 'host': 'localhost', 'port': 8080, 'path': '/collectdata' })
-  ]
-});
-
-logger.log('info', 'Hello webhook log files!', { 'foo': 'bar' });

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/lib/winston.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/lib/winston.js b/blackberry10/node_modules/prompt/node_modules/winston/lib/winston.js
deleted file mode 100644
index b8fea28..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/lib/winston.js
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- * winston.js: Top-level include defining Winston.
- *
- * (C) 2010 Charlie Robbins
- * MIT LICENCE
- *
- */
-
-var winston = exports;
-
-//
-// Expose version using `pkginfo`
-//
-require('pkginfo')(module, 'version');
-
-//
-// Include transports defined by default by winston
-//
-winston.transports = require('./winston/transports');
-
-//
-// Expose utility methods
-//
-var common             = require('./winston/common');
-winston.hash           = common.hash;
-winston.clone          = common.clone;
-winston.longestElement = common.longestElement;
-winston.exception      = require('./winston/exception');
-winston.config         = require('./winston/config');
-winston.addColors      = winston.config.addColors;
-
-//
-// Expose core Logging-related prototypes.
-//
-winston.Container      = require('./winston/container').Container;
-winston.Logger         = require('./winston/logger').Logger;
-winston.Transport      = require('./winston/transports/transport').Transport;
-
-//
-// We create and expose a default `Container` to `winston.loggers` so that the
-// programmer may manage multiple `winston.Logger` instances without any additional overhead.
-//
-// ### some-file1.js
-//
-//     var logger = require('winston').loggers.get('something');
-//
-// ### some-file2.js
-//
-//     var logger = require('winston').loggers.get('something');
-//
-winston.loggers = new winston.Container();
-
-//
-// We create and expose a 'defaultLogger' so that the programmer may do the
-// following without the need to create an instance of winston.Logger directly:
-//
-//     var winston = require('winston');
-//     winston.log('info', 'some message');
-//     winston.error('some error');
-//
-var defaultLogger = new winston.Logger({
-  transports: [new winston.transports.Console()]
-});
-
-//
-// Pass through the target methods onto `winston.
-//
-var methods = [
-  'log',
-  'query',
-  'stream',
-  'add',
-  'remove',
-  'profile',
-  'startTimer',
-  'extend',
-  'cli',
-  'handleExceptions',
-  'unhandleExceptions'
-];
-common.setLevels(winston, null, defaultLogger.levels);
-methods.forEach(function (method) {
-  winston[method] = function () {
-    return defaultLogger[method].apply(defaultLogger, arguments);
-  };
-});
-
-//
-// ### function cli ()
-// Configures the default winston logger to have the
-// settings for command-line interfaces: no timestamp,
-// colors enabled, padded output, and additional levels.
-//
-winston.cli = function () {
-  winston.padLevels = true;
-  common.setLevels(winston, defaultLogger.levels, winston.config.cli.levels);
-  defaultLogger.setLevels(winston.config.cli.levels);
-  winston.config.addColors(winston.config.cli.colors);
-
-  if (defaultLogger.transports.console) {
-    defaultLogger.transports.console.colorize = true;
-    defaultLogger.transports.console.timestamp = false;
-  }
-
-  return winston;
-};
-
-//
-// ### function setLevels (target)
-// #### @target {Object} Target levels to use
-// Sets the `target` levels specified on the default winston logger.
-//
-winston.setLevels = function (target) {
-  common.setLevels(winston, defaultLogger.levels, target);
-  defaultLogger.setLevels(target);
-};
-
-//
-// Define getters / setters for appropriate properties of the
-// default logger which need to be exposed by winston.
-//
-['emitErrs', 'exitOnError', 'padLevels', 'level', 'levelLength', 'stripColors'].forEach(function (prop) {
-  Object.defineProperty(winston, prop, {
-    get: function () {
-      return defaultLogger[prop];
-    },
-    set: function (val) {
-      defaultLogger[prop] = val;
-    }
-  });
-});
-
-//
-// @default {Object}
-// The default transports and exceptionHandlers for
-// the default winston logger.
-//
-Object.defineProperty(winston, 'default', {
-  get: function () {
-    return {
-      transports: defaultLogger.transports,
-      exceptionHandlers: defaultLogger.exceptionHandlers
-    };
-  }
-});

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/lib/winston/common.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/lib/winston/common.js b/blackberry10/node_modules/prompt/node_modules/winston/lib/winston/common.js
deleted file mode 100644
index c67a878..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/lib/winston/common.js
+++ /dev/null
@@ -1,259 +0,0 @@
-/*
- * common.js: Internal helper and utility functions for winston
- *
- * (C) 2010 Charlie Robbins
- * MIT LICENCE
- *
- */
-
-var util = require('util'),
-    crypto = require('crypto'),
-    cycle = require('cycle'),
-    config = require('./config');
-
-//
-// ### function setLevels (target, past, current)
-// #### @target {Object} Object on which to set levels.
-// #### @past {Object} Previous levels set on target.
-// #### @current {Object} Current levels to set on target.
-// Create functions on the target objects for each level
-// in current.levels. If past is defined, remove functions
-// for each of those levels.
-//
-exports.setLevels = function (target, past, current, isDefault) {
-  if (past) {
-    Object.keys(past).forEach(function (level) {
-      delete target[level];
-    });
-  }
-
-  target.levels = current || config.npm.levels;
-  if (target.padLevels) {
-    target.levelLength = exports.longestElement(Object.keys(target.levels));
-  }
-
-  //
-  //  Define prototype methods for each log level
-  //  e.g. target.log('info', msg) <=> target.info(msg)
-  //
-  Object.keys(target.levels).forEach(function (level) {
-    target[level] = function (msg) {
-      var args     = Array.prototype.slice.call(arguments),
-          callback = typeof args[args.length - 1] === 'function' || !args[args.length - 1] ? args.pop() : null,
-          meta     = args.length === 2 ? args.pop() : null;
-
-      return target.log(level, msg, meta, callback);
-    };
-  });
-
-  return target;
-};
-
-//
-// ### function longestElement
-// #### @xs {Array} Array to calculate against
-// Returns the longest element in the `xs` array.
-//
-exports.longestElement = function (xs) {
-  return Math.max.apply(
-    null,
-    xs.map(function (x) { return x.length; })
-  );
-};
-
-//
-// ### function clone (obj)
-// #### @obj {Object} Object to clone.
-// Helper method for deep cloning pure JSON objects
-// i.e. JSON objects that are either literals or objects (no Arrays, etc)
-//
-exports.clone = function (obj) {
-  // we only need to clone refrence types (Object)
-  if (!(obj instanceof Object)) {
-    return obj;
-  }
-  else if (obj instanceof Date) {
-    return obj;
-  }
-
-  var copy = {};
-  for (var i in obj) {
-    if (Array.isArray(obj[i])) {
-      copy[i] = obj[i].slice(0);
-    }
-    else if (obj[i] instanceof Buffer) {
-        copy[i] = obj[i].slice(0);
-    }
-    else if (typeof obj[i] != 'function') {
-      copy[i] = obj[i] instanceof Object ? exports.clone(obj[i]) : obj[i];
-    }
-  }
-
-  return copy;
-};
-
-//
-// ### function log (options)
-// #### @options {Object} All information about the log serialization.
-// Generic logging function for returning timestamped strings
-// with the following options:
-//
-//    {
-//      level:     'level to add to serialized message',
-//      message:   'message to serialize',
-//      meta:      'additional logging metadata to serialize',
-//      colorize:  false, // Colorizes output (only if `.json` is false)
-//      timestamp: true   // Adds a timestamp to the serialized message
-//    }
-//
-exports.log = function (options) {
-  var timestampFn = typeof options.timestamp === 'function'
-                  ? options.timestamp
-                  : exports.timestamp,
-      timestamp   = options.timestamp ? timestampFn() : null,
-      meta        = options.meta ? exports.clone(cycle.decycle(options.meta)) : null,
-      output;
-
-  //
-  // raw mode is intended for outputing winston as streaming JSON to STDOUT
-  //
-  if (options.raw) {
-    if (typeof meta !== 'object' && meta != null) {
-      meta = { meta: meta };
-    }
-    output         = exports.clone(meta) || {};
-    output.level   = options.level;
-    output.message = options.message.stripColors;
-    return JSON.stringify(output);
-  }
-
-  //
-  // json mode is intended for pretty printing multi-line json to the terminal
-  //
-  if (options.json) {
-    if (typeof meta !== 'object' && meta != null) {
-      meta = { meta: meta };
-    }
-
-    output         = exports.clone(meta) || {};
-    output.level   = options.level;
-    output.message = options.message;
-
-    if (timestamp) {
-      output.timestamp = timestamp;
-    }
-
-    if (typeof options.stringify === 'function') {
-      return options.stringify(output);
-    }
-
-    return JSON.stringify(output, function (key, value) {
-      return value instanceof Buffer
-        ? value.toString('base64')
-        : value;
-    });
-  }
-
-  output = timestamp ? timestamp + ' - ' : '';
-  output += options.colorize ? config.colorize(options.level) : options.level;
-  output += (': ' + options.message);
-
-  if (meta) {
-    if (typeof meta !== 'object') {
-      output += ' ' + meta;
-    }
-    else if (Object.keys(meta).length > 0) {
-      output += ' ' + (options.prettyPrint ? ('\n' + util.inspect(meta, false, null, options.colorize)) : exports.serialize(meta));
-    }
-  }
-
-  return output;
-};
-
-exports.capitalize = function (str) {
-  return str && str[0].toUpperCase() + str.slice(1);
-};
-
-//
-// ### function hash (str)
-// #### @str {string} String to hash.
-// Utility function for creating unique ids
-// e.g. Profiling incoming HTTP requests on the same tick
-//
-exports.hash = function (str) {
-  return crypto.createHash('sha1').update(str).digest('hex');
-};
-
-//
-// ### function pad (n)
-// Returns a padded string if `n < 10`.
-//
-exports.pad = function (n) {
-  return n < 10 ? '0' + n.toString(10) : n.toString(10);
-};
-
-//
-// ### function timestamp ()
-// Returns a timestamp string for the current time.
-//
-exports.timestamp = function () {
-  return new Date().toISOString();
-};
-
-//
-// ### function serialize (obj, key)
-// #### @obj {Object|literal} Object to serialize
-// #### @key {string} **Optional** Optional key represented by obj in a larger object
-// Performs simple comma-separated, `key=value` serialization for Loggly when
-// logging to non-JSON inputs.
-//
-exports.serialize = function (obj, key) {
-  if (obj === null) {
-    obj = 'null';
-  }
-  else if (obj === undefined) {
-    obj = 'undefined';
-  }
-  else if (obj === false) {
-    obj = 'false';
-  }
-
-  if (typeof obj !== 'object') {
-    return key ? key + '=' + obj : obj;
-  }
-
-  if (obj instanceof Buffer) {
-    return key ? key + '=' + obj.toString('base64') : obj.toString('base64');
-  }
-
-  var msg = '',
-      keys = Object.keys(obj),
-      length = keys.length;
-
-  for (var i = 0; i < length; i++) {
-    if (Array.isArray(obj[keys[i]])) {
-      msg += keys[i] + '=[';
-
-      for (var j = 0, l = obj[keys[i]].length; j < l; j++) {
-        msg += exports.serialize(obj[keys[i]][j]);
-        if (j < l - 1) {
-          msg += ', ';
-        }
-      }
-
-      msg += ']';
-    }
-    else if (obj[keys[i]] instanceof Date) {
-      msg += keys[i] + '=' + obj[keys[i]];
-    }
-    else {
-      msg += exports.serialize(obj[keys[i]], keys[i]);
-    }
-
-    if (i < length - 1) {
-      msg += ', ';
-    }
-  }
-
-  return msg;
-};

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/winston/lib/winston/config.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/winston/lib/winston/config.js b/blackberry10/node_modules/prompt/node_modules/winston/lib/winston/config.js
deleted file mode 100644
index a466086..0000000
--- a/blackberry10/node_modules/prompt/node_modules/winston/lib/winston/config.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * config.js: Default settings for all levels that winston knows about
- *
- * (C) 2010 Charlie Robbins
- * MIT LICENCE
- *
- */
-
-var colors = require('colors');
-
-var config = exports,
-    allColors = exports.allColors = {};
-
-config.addColors = function (colors) {
-  mixin(allColors, colors);
-};
-
-config.colorize = function (level) {
-  return level[allColors[level]];
-};
-
-//
-// Export config sets
-//
-config.cli    = require('./config/cli-config');
-config.npm    = require('./config/npm-config');
-config.syslog = require('./config/syslog-config');
-
-//
-// Add colors for pre-defined config sets
-//
-config.addColors(config.npm.colors);
-config.addColors(config.syslog.colors);
-
-function mixin (target) {
-  var args = Array.prototype.slice.call(arguments, 1);
-
-  args.forEach(function (a) {
-    var keys = Object.keys(a);
-    for (var i = 0; i < keys.length; i++) {
-      target[keys[i]] = a[keys[i]];
-    }
-  });
-  return target;
-};
\ No newline at end of file