cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jso...@apache.org
Subject [18/51] [partial] CB-7087 Retire blackberry10/ directory
Date Mon, 07 Jul 2014 21:43:24 GMT
http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/read/node_modules/mute-stream/test/basic.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/read/node_modules/mute-stream/test/basic.js b/blackberry10/node_modules/prompt/node_modules/read/node_modules/mute-stream/test/basic.js
deleted file mode 100644
index 41f9e10..0000000
--- a/blackberry10/node_modules/prompt/node_modules/read/node_modules/mute-stream/test/basic.js
+++ /dev/null
@@ -1,207 +0,0 @@
-var Stream = require('stream')
-var tap = require('tap')
-var MS = require('../mute.js')
-
-// some marker objects
-var END = {}
-var PAUSE = {}
-var RESUME = {}
-
-function PassThrough () {
-  Stream.call(this)
-  this.readable = this.writable = true
-}
-
-PassThrough.prototype = Object.create(Stream.prototype, {
-  constructor: {
-    value: PassThrough
-  },
-  write: {
-    value: function (c) {
-      this.emit('data', c)
-      return true
-    }
-  },
-  end: {
-    value: function (c) {
-      if (c) this.write(c)
-      this.emit('end')
-    }
-  },
-  pause: {
-    value: function () {
-      this.emit('pause')
-    }
-  },
-  resume: {
-    value: function () {
-      this.emit('resume')
-    }
-  }
-})
-
-tap.test('incoming', function (t) {
-  var ms = new MS
-  var str = new PassThrough
-  str.pipe(ms)
-
-  var expect = ['foo', 'boo', END]
-  ms.on('data', function (c) {
-    t.equal(c, expect.shift())
-  })
-  ms.on('end', function () {
-    t.equal(END, expect.shift())
-    t.end()
-  })
-  str.write('foo')
-  ms.mute()
-  str.write('bar')
-  ms.unmute()
-  str.write('boo')
-  ms.mute()
-  str.write('blaz')
-  str.end('grelb')
-})
-
-tap.test('outgoing', function (t) {
-  var ms = new MS
-  var str = new PassThrough
-  ms.pipe(str)
-
-  var expect = ['foo', 'boo', END]
-  str.on('data', function (c) {
-    t.equal(c, expect.shift())
-  })
-  str.on('end', function () {
-    t.equal(END, expect.shift())
-    t.end()
-  })
-
-  ms.write('foo')
-  ms.mute()
-  ms.write('bar')
-  ms.unmute()
-  ms.write('boo')
-  ms.mute()
-  ms.write('blaz')
-  ms.end('grelb')
-})
-
-tap.test('isTTY', function (t) {
-  var str = new PassThrough
-  str.isTTY = true
-  str.columns=80
-  str.rows=24
-
-  var ms = new MS
-  t.equal(ms.isTTY, false)
-  t.equal(ms.columns, undefined)
-  t.equal(ms.rows, undefined)
-  ms.pipe(str)
-  t.equal(ms.isTTY, true)
-  t.equal(ms.columns, 80)
-  t.equal(ms.rows, 24)
-  str.isTTY = false
-  t.equal(ms.isTTY, false)
-  t.equal(ms.columns, 80)
-  t.equal(ms.rows, 24)
-  str.isTTY = true
-  t.equal(ms.isTTY, true)
-  t.equal(ms.columns, 80)
-  t.equal(ms.rows, 24)
-  ms.isTTY = false
-  t.equal(ms.isTTY, false)
-  t.equal(ms.columns, 80)
-  t.equal(ms.rows, 24)
-
-  ms = new MS
-  t.equal(ms.isTTY, false)
-  str.pipe(ms)
-  t.equal(ms.isTTY, true)
-  str.isTTY = false
-  t.equal(ms.isTTY, false)
-  str.isTTY = true
-  t.equal(ms.isTTY, true)
-  ms.isTTY = false
-  t.equal(ms.isTTY, false)
-
-  t.end()
-})
-
-tap.test('pause/resume incoming', function (t) {
-  var str = new PassThrough
-  var ms = new MS
-  str.on('pause', function () {
-    t.equal(PAUSE, expect.shift())
-  })
-  str.on('resume', function () {
-    t.equal(RESUME, expect.shift())
-  })
-  var expect = [PAUSE, RESUME, PAUSE, RESUME]
-  str.pipe(ms)
-  ms.pause()
-  ms.resume()
-  ms.pause()
-  ms.resume()
-  t.equal(expect.length, 0, 'saw all events')
-  t.end()
-})
-
-tap.test('replace with *', function (t) {
-  var str = new PassThrough
-  var ms = new MS({replace: '*'})
-  str.pipe(ms)
-  var expect = ['foo', '*****', 'bar', '***', 'baz', 'boo', '**', '****']
-
-  ms.on('data', function (c) {
-    t.equal(c, expect.shift())
-  })
-
-  str.write('foo')
-  ms.mute()
-  str.write('12345')
-  ms.unmute()
-  str.write('bar')
-  ms.mute()
-  str.write('baz')
-  ms.unmute()
-  str.write('baz')
-  str.write('boo')
-  ms.mute()
-  str.write('xy')
-  str.write('xyzΩ')
-
-  t.equal(expect.length, 0)
-  t.end()
-})
-
-tap.test('replace with ~YARG~', function (t) {
-  var str = new PassThrough
-  var ms = new MS({replace: '~YARG~'})
-  str.pipe(ms)
-  var expect = ['foo', '~YARG~~YARG~~YARG~~YARG~~YARG~', 'bar',
-                '~YARG~~YARG~~YARG~', 'baz', 'boo', '~YARG~~YARG~',
-                '~YARG~~YARG~~YARG~~YARG~']
-
-  ms.on('data', function (c) {
-    t.equal(c, expect.shift())
-  })
-
-  // also throw some unicode in there, just for good measure.
-  str.write('foo')
-  ms.mute()
-  str.write('ΩΩ')
-  ms.unmute()
-  str.write('bar')
-  ms.mute()
-  str.write('Ω')
-  ms.unmute()
-  str.write('baz')
-  str.write('boo')
-  ms.mute()
-  str.write('Ω')
-  str.write('ΩΩ')
-
-  t.equal(expect.length, 0)
-  t.end()
-})

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/read/package.json
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/read/package.json b/blackberry10/node_modules/prompt/node_modules/read/package.json
deleted file mode 100644
index ce285ad..0000000
--- a/blackberry10/node_modules/prompt/node_modules/read/package.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
-  "name": "read",
-  "version": "1.0.5",
-  "main": "lib/read.js",
-  "dependencies": {
-    "mute-stream": "~0.0.4"
-  },
-  "devDependencies": {
-    "tap": "*"
-  },
-  "engines": {
-    "node": ">=0.8"
-  },
-  "author": {
-    "name": "Isaac Z. Schlueter",
-    "email": "i@izs.me",
-    "url": "http://blog.izs.me/"
-  },
-  "description": "read(1) for node programs",
-  "repository": {
-    "type": "git",
-    "url": "git://github.com/isaacs/read.git"
-  },
-  "license": "BSD",
-  "scripts": {
-    "test": "tap test/*.js"
-  },
-  "readme": "## read\n\nFor reading user input from stdin.\n\nSimilar to the `readline` builtin's `question()` method, but with a\nfew more features.\n\n## USAGE\n\n```javascript\nvar read = require(\"read\")\nread(options, callback)\n```\n\nThe callback gets called with either the user input, or the default\nspecified, or an error, as `callback(error, result, isDefault)`\nnode style.\n\n## OPTIONS\n\nEvery option is optional.\n\n* `prompt` What to write to stdout before reading input.\n* `silent` Don't echo the output as the user types it.\n* `replace` Replace silenced characters with the supplied character value.\n* `timeout` Number of ms to wait for user input before giving up.\n* `default` The default value if the user enters nothing.\n* `edit` Allow the user to edit the default value.\n* `terminal` Treat the output as a TTY, whether it is or not.\n* `input` Readable stream to get input data from. (default `process.stdin`)\n* `output` Writeable stream to write prompts to. (defau
 lt: `process.stdout`)\n\nIf silent is true, and the input is a TTY, then read will set raw\nmode, and read character by character.\n\n## COMPATIBILITY\n\nThis module works sort of with node 0.6.  It does not work with node\nversions less than 0.6.  It is best on node 0.8.\n\nOn node version 0.6, it will remove all listeners on the input\nstream's `data` and `keypress` events, because the readline module did\nnot fully clean up after itself in that version of node, and did not\nmake it possible to clean up after it in a way that has no potential\nfor side effects.\n\nAdditionally, some of the readline options (like `terminal`) will not\nfunction in versions of node before 0.8, because they were not\nimplemented in the builtin readline module.\n\n## CONTRIBUTING\n\nPatches welcome.\n",
-  "readmeFilename": "README.md",
-  "bugs": {
-    "url": "https://github.com/isaacs/read/issues"
-  },
-  "_id": "read@1.0.5",
-  "_from": "read@1.0.x"
-}

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/read/rs.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/read/rs.js b/blackberry10/node_modules/prompt/node_modules/read/rs.js
deleted file mode 100644
index d9f7f48..0000000
--- a/blackberry10/node_modules/prompt/node_modules/read/rs.js
+++ /dev/null
@@ -1,4 +0,0 @@
-var read = require('read');
-read({ silent: true, prompt: 'stars: ' }, function(er, data) {
-  console.log(er, data)
-})

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/read/test/basic.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/read/test/basic.js b/blackberry10/node_modules/prompt/node_modules/read/test/basic.js
deleted file mode 100644
index f0926f3..0000000
--- a/blackberry10/node_modules/prompt/node_modules/read/test/basic.js
+++ /dev/null
@@ -1,60 +0,0 @@
-var tap = require('tap')
-var read = require('../lib/read.js')
-
-if (process.argv[2] === 'child') {
-  return child()
-}
-
-var CLOSE = 'close'
-if (process.version.match(/^v0\.6/)) {
-  CLOSE = 'exit'
-}
-
-var spawn = require('child_process').spawn
-
-tap.test('basic', function (t) {
-  var child = spawn(process.execPath, [__filename, 'child'])
-  var output = ''
-  var write = child.stdin.write.bind(child.stdin)
-  child.stdout.on('data', function (c) {
-    console.error('data %s', c)
-    output += c
-    if (output.match(/Username: \(test-user\) $/)) {
-      process.nextTick(write.bind(null, 'a user\n'))
-    } else if (output.match(/Password: \(<default hidden>\) $/)) {
-      process.nextTick(write.bind(null, 'a password\n'))
-    } else if (output.match(/Password again: \(<default hidden>\) $/)) {
-      process.nextTick(write.bind(null, 'a password\n'))
-    } else {
-      console.error('prompts done, output=%j', output)
-    }
-  })
-
-  var result = ''
-  child.stderr.on('data', function (c) {
-    result += c
-    console.error('result %j', c.toString())
-  })
-
-  child.on(CLOSE, function () {
-    result = JSON.parse(result)
-    t.same(result, {"user":"a user","pass":"a password","verify":"a password","passMatch":true})
-    t.equal(output, 'Username: (test-user) Password: (<default hidden>) Password again: (<default hidden>) ')
-    t.end()
-  })
-})
-
-function child () {
-  read({prompt: "Username: ", default: "test-user" }, function (er, user) {
-    read({prompt: "Password: ", default: "test-pass", silent: true }, function (er, pass) {
-      read({prompt: "Password again: ", default: "test-pass", silent: true }, function (er, pass2) {
-        console.error(JSON.stringify({user: user,
-                       pass: pass,
-                       verify: pass2,
-                       passMatch: (pass === pass2)}))
-        if (process.stdin.unref)
-          process.stdin.unref()
-      })
-    })
-  })
-}

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/read/test/defaults.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/read/test/defaults.js b/blackberry10/node_modules/prompt/node_modules/read/test/defaults.js
deleted file mode 100644
index e3d2ac7..0000000
--- a/blackberry10/node_modules/prompt/node_modules/read/test/defaults.js
+++ /dev/null
@@ -1,60 +0,0 @@
-var tap = require('tap')
-var read = require('../lib/read.js')
-
-if (process.argv[2] === 'child') {
-  return child()
-}
-
-var CLOSE = 'close'
-if (process.version.match(/^v0\.6/)) {
-  CLOSE = 'exit'
-}
-
-var spawn = require('child_process').spawn
-
-tap.test('defaults', function (t) {
-  var child = spawn(process.execPath, [__filename, 'child'])
-  var output = ''
-  var write = child.stdin.write.bind(child.stdin)
-  child.stdout.on('data', function (c) {
-    console.error('data %s', c)
-    output += c
-    if (output.match(/Username: \(test-user\) $/)) {
-      process.nextTick(write.bind(null, '\n'))
-    } else if (output.match(/Password: \(<default hidden>\) $/)) {
-      process.nextTick(write.bind(null, '\n'))
-    } else if (output.match(/Password again: \(<default hidden>\) $/)) {
-      process.nextTick(write.bind(null, '\n'))
-    } else {
-      console.error('prompts done, output=%j', output)
-    }
-  })
-
-  var result = ''
-  child.stderr.on('data', function (c) {
-    result += c
-    console.error('result %j', c.toString())
-  })
-
-  child.on(CLOSE, function () {
-    result = JSON.parse(result)
-    t.same(result, {"user":"test-user","pass":"test-pass","verify":"test-pass","passMatch":true})
-    t.equal(output, 'Username: (test-user) Password: (<default hidden>) Password again: (<default hidden>) ')
-    t.end()
-  })
-})
-
-function child () {
-  read({prompt: "Username: ", default: "test-user" }, function (er, user) {
-    read({prompt: "Password: ", default: "test-pass", silent: true }, function (er, pass) {
-      read({prompt: "Password again: ", default: "test-pass", silent: true }, function (er, pass2) {
-        console.error(JSON.stringify({user: user,
-                       pass: pass,
-                       verify: pass2,
-                       passMatch: (pass === pass2)}))
-        if (process.stdin.unref)
-          process.stdin.unref()
-      })
-    })
-  })
-}

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/read/test/many.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/read/test/many.js b/blackberry10/node_modules/prompt/node_modules/read/test/many.js
deleted file mode 100644
index 6a2f87b..0000000
--- a/blackberry10/node_modules/prompt/node_modules/read/test/many.js
+++ /dev/null
@@ -1,83 +0,0 @@
-var tap = require('tap')
-var read = require('../lib/read.js')
-
-var CLOSE = 'close'
-if (process.version.match(/^v0\.6/)) {
-  CLOSE = 'exit'
-}
-
-if (process.argv[2] === 'child') {
-  return child()
-}
-
-var spawn = require('child_process').spawn
-function child () {
-  read({prompt:'1'}, function (er, r1) {if (er) throw er
-  read({prompt:'2'}, function (er, r2) {if (er) throw er
-  read({prompt:'3'}, function (er, r3) {if (er) throw er
-  read({prompt:'4'}, function (er, r4) {if (er) throw er
-  read({prompt:'5'}, function (er, r5) {if (er) throw er
-  read({prompt:'6'}, function (er, r6) {if (er) throw er
-  read({prompt:'7'}, function (er, r7) {if (er) throw er
-  read({prompt:'8'}, function (er, r8) {if (er) throw er
-  read({prompt:'9'}, function (er, r9) {if (er) throw er
-  read({prompt:'10'}, function (er, r10) {if (er) throw er
-  read({prompt:'11'}, function (er, r11) {if (er) throw er
-  read({prompt:'12'}, function (er, r12) {if (er) throw er
-  read({prompt:'13'}, function (er, r13) {if (er) throw er
-  read({prompt:'14'}, function (er, r14) {if (er) throw er
-  read({prompt:'15'}, function (er, r15) {if (er) throw er
-  read({prompt:'16'}, function (er, r16) {if (er) throw er
-  read({prompt:'17'}, function (er, r17) {if (er) throw er
-  read({prompt:'18'}, function (er, r18) {if (er) throw er
-    console.log(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10,
-                r11, r12, r13, r14, r15, r16, r17, r18)
-    if (process.stdin.unref)
-      process.stdin.unref()
-  })})})})})})})})})})})})})})})})})})
-}
-
-tap.test('many reads', function (t) {
-  var child = spawn(process.execPath, [__filename, 'child'])
-  var n = 0
-  var output = ''
-  var expect = '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ' +
-               '16 17 18 1 2 3 4 5 6 7 8 9 10 11 12 ' +
-               '13 14 15 16 17 18\n'
-  var write = child.stdin.write.bind(child.stdin)
-  var answers =
-      [ '1\n',
-        '2\n',
-        '3\n',
-        '4\n',
-        '5\n',
-        '6\n',
-        '7\n',
-        '8\n',
-        '9\n',
-        '10\n',
-        '11\n',
-        '12\n',
-        '13\n',
-        '14\n',
-        '15\n',
-        '16\n',
-        '17\n',
-        '18\n' ]
-  child.stdout.on('data', function (c) {
-    n++;
-    output += c
-    if (answers.length) {
-      write(answers.shift())
-    }
-  })
-  child.stderr.on('data', function (c) {
-    output += c
-    console.error('' + c)
-  })
-  child.on(CLOSE, function (c) {
-    t.equal(output, expect)
-    t.equal(n, 19)
-    t.end()
-  })
-})

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/revalidator/.npmignore
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/revalidator/.npmignore b/blackberry10/node_modules/prompt/node_modules/revalidator/.npmignore
deleted file mode 100644
index 5171c54..0000000
--- a/blackberry10/node_modules/prompt/node_modules/revalidator/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-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/revalidator/.travis.yml
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/revalidator/.travis.yml b/blackberry10/node_modules/prompt/node_modules/revalidator/.travis.yml
deleted file mode 100644
index c958222..0000000
--- a/blackberry10/node_modules/prompt/node_modules/revalidator/.travis.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-language: node_js
-node_js:
-  - 0.4
-  - 0.6
-  - 0.7
-
-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/revalidator/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/revalidator/CHANGELOG.md b/blackberry10/node_modules/prompt/node_modules/revalidator/CHANGELOG.md
deleted file mode 100644
index 8befb22..0000000
--- a/blackberry10/node_modules/prompt/node_modules/revalidator/CHANGELOG.md
+++ /dev/null
@@ -1,25 +0,0 @@
-
-0.1.3 / 2012-10-17
-==================
-
-  * Fixed case problem with types
-
-0.1.2 / 2012-06-27
-==================
-
-  * Added host-name String format
-  * Added support for additionalProperties
-  * Added few default validation messages for formats
-
-0.1.1 / 2012-04-16
-==================
-
-  * Added default and custom error message support
-  * Added suport for conform function
-  * Updated date-time format
-
-0.1.0 / 2011-11-09
-=================
-
-  * Initial release
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/revalidator/LICENSE
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/revalidator/LICENSE b/blackberry10/node_modules/prompt/node_modules/revalidator/LICENSE
deleted file mode 100644
index a83d179..0000000
--- a/blackberry10/node_modules/prompt/node_modules/revalidator/LICENSE
+++ /dev/null
@@ -1,179 +0,0 @@
-
-                              Apache License
-                        Version 2.0, January 2004
-                     http://www.apache.org/licenses/
-
-TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-1. Definitions.
-
-   "License" shall mean the terms and conditions for use, reproduction,
-   and distribution as defined by Sections 1 through 9 of this document.
-
-   "Licensor" shall mean the copyright owner or entity authorized by
-   the copyright owner that is granting the License.
-
-   "Legal Entity" shall mean the union of the acting entity and all
-   other entities that control, are controlled by, or are under common
-   control with that entity. For the purposes of this definition,
-   "control" means (i) the power, direct or indirect, to cause the
-   direction or management of such entity, whether by contract or
-   otherwise, or (ii) ownership of fifty percent (50%) or more of the
-   outstanding shares, or (iii) beneficial ownership of such entity.
-
-   "You" (or "Your") shall mean an individual or Legal Entity
-   exercising permissions granted by this License.
-
-   "Source" form shall mean the preferred form for making modifications,
-   including but not limited to software source code, documentation
-   source, and configuration files.
-
-   "Object" form shall mean any form resulting from mechanical
-   transformation or translation of a Source form, including but
-   not limited to compiled object code, generated documentation,
-   and conversions to other media types.
-
-   "Work" shall mean the work of authorship, whether in Source or
-   Object form, made available under the License, as indicated by a
-   copyright notice that is included in or attached to the work
-   (an example is provided in the Appendix below).
-
-   "Derivative Works" shall mean any work, whether in Source or Object
-   form, that is based on (or derived from) the Work and for which the
-   editorial revisions, annotations, elaborations, or other modifications
-   represent, as a whole, an original work of authorship. For the purposes
-   of this License, Derivative Works shall not include works that remain
-   separable from, or merely link (or bind by name) to the interfaces of,
-   the Work and Derivative Works thereof.
-
-   "Contribution" shall mean any work of authorship, including
-   the original version of the Work and any modifications or additions
-   to that Work or Derivative Works thereof, that is intentionally
-   submitted to Licensor for inclusion in the Work by the copyright owner
-   or by an individual or Legal Entity authorized to submit on behalf of
-   the copyright owner. For the purposes of this definition, "submitted"
-   means any form of electronic, verbal, or written communication sent
-   to the Licensor or its representatives, including but not limited to
-   communication on electronic mailing lists, source code control systems,
-   and issue tracking systems that are managed by, or on behalf of, the
-   Licensor for the purpose of discussing and improving the Work, but
-   excluding communication that is conspicuously marked or otherwise
-   designated in writing by the copyright owner as "Not a Contribution."
-
-   "Contributor" shall mean Licensor and any individual or Legal Entity
-   on behalf of whom a Contribution has been received by Licensor and
-   subsequently incorporated within the Work.
-
-2. Grant of Copyright License. Subject to the terms and conditions of
-   this License, each Contributor hereby grants to You a perpetual,
-   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-   copyright license to reproduce, prepare Derivative Works of,
-   publicly display, publicly perform, sublicense, and distribute the
-   Work and such Derivative Works in Source or Object form.
-
-3. Grant of Patent License. Subject to the terms and conditions of
-   this License, each Contributor hereby grants to You a perpetual,
-   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-   (except as stated in this section) patent license to make, have made,
-   use, offer to sell, sell, import, and otherwise transfer the Work,
-   where such license applies only to those patent claims licensable
-   by such Contributor that are necessarily infringed by their
-   Contribution(s) alone or by combination of their Contribution(s)
-   with the Work to which such Contribution(s) was submitted. If You
-   institute patent litigation against any entity (including a
-   cross-claim or counterclaim in a lawsuit) alleging that the Work
-   or a Contribution incorporated within the Work constitutes direct
-   or contributory patent infringement, then any patent licenses
-   granted to You under this License for that Work shall terminate
-   as of the date such litigation is filed.
-
-4. Redistribution. You may reproduce and distribute copies of the
-   Work or Derivative Works thereof in any medium, with or without
-   modifications, and in Source or Object form, provided that You
-   meet the following conditions:
-
-   (a) You must give any other recipients of the Work or
-       Derivative Works a copy of this License; and
-
-   (b) You must cause any modified files to carry prominent notices
-       stating that You changed the files; and
-
-   (c) You must retain, in the Source form of any Derivative Works
-       that You distribute, all copyright, patent, trademark, and
-       attribution notices from the Source form of the Work,
-       excluding those notices that do not pertain to any part of
-       the Derivative Works; and
-
-   (d) If the Work includes a "NOTICE" text file as part of its
-       distribution, then any Derivative Works that You distribute must
-       include a readable copy of the attribution notices contained
-       within such NOTICE file, excluding those notices that do not
-       pertain to any part of the Derivative Works, in at least one
-       of the following places: within a NOTICE text file distributed
-       as part of the Derivative Works; within the Source form or
-       documentation, if provided along with the Derivative Works; or,
-       within a display generated by the Derivative Works, if and
-       wherever such third-party notices normally appear. The contents
-       of the NOTICE file are for informational purposes only and
-       do not modify the License. You may add Your own attribution
-       notices within Derivative Works that You distribute, alongside
-       or as an addendum to the NOTICE text from the Work, provided
-       that such additional attribution notices cannot be construed
-       as modifying the License.
-
-   You may add Your own copyright statement to Your modifications and
-   may provide additional or different license terms and conditions
-   for use, reproduction, or distribution of Your modifications, or
-   for any such Derivative Works as a whole, provided Your use,
-   reproduction, and distribution of the Work otherwise complies with
-   the conditions stated in this License.
-
-5. Submission of Contributions. Unless You explicitly state otherwise,
-   any Contribution intentionally submitted for inclusion in the Work
-   by You to the Licensor shall be under the terms and conditions of
-   this License, without any additional terms or conditions.
-   Notwithstanding the above, nothing herein shall supersede or modify
-   the terms of any separate license agreement you may have executed
-   with Licensor regarding such Contributions.
-
-6. Trademarks. This License does not grant permission to use the trade
-   names, trademarks, service marks, or product names of the Licensor,
-   except as required for reasonable and customary use in describing the
-   origin of the Work and reproducing the content of the NOTICE file.
-
-7. Disclaimer of Warranty. Unless required by applicable law or
-   agreed to in writing, Licensor provides the Work (and each
-   Contributor provides its Contributions) on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-   implied, including, without limitation, any warranties or conditions
-   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-   PARTICULAR PURPOSE. You are solely responsible for determining the
-   appropriateness of using or redistributing the Work and assume any
-   risks associated with Your exercise of permissions under this License.
-
-8. Limitation of Liability. In no event and under no legal theory,
-   whether in tort (including negligence), contract, or otherwise,
-   unless required by applicable law (such as deliberate and grossly
-   negligent acts) or agreed to in writing, shall any Contributor be
-   liable to You for damages, including any direct, indirect, special,
-   incidental, or consequential damages of any character arising as a
-   result of this License or out of the use or inability to use the
-   Work (including but not limited to damages for loss of goodwill,
-   work stoppage, computer failure or malfunction, or any and all
-   other commercial damages or losses), even if such Contributor
-   has been advised of the possibility of such damages.
-
-9. Accepting Warranty or Additional Liability. While redistributing
-   the Work or Derivative Works thereof, You may choose to offer,
-   and charge a fee for, acceptance of support, warranty, indemnity,
-   or other liability obligations and/or rights consistent with this
-   License. However, in accepting such obligations, You may act only
-   on Your own behalf and on Your sole responsibility, not on behalf
-   of any other Contributor, and only if You agree to indemnify,
-   defend, and hold each Contributor harmless for any liability
-   incurred by, or claims asserted against, such Contributor by reason
-   of your accepting any such warranty or additional liability.
-
-END OF TERMS AND CONDITIONS
-
-Copyright (c) 2009-2010 Alexis Sellier, Charlie Robbins, Nodejitsu Inc.

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/revalidator/README.md
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/revalidator/README.md b/blackberry10/node_modules/prompt/node_modules/revalidator/README.md
deleted file mode 100644
index 89cbdb4..0000000
--- a/blackberry10/node_modules/prompt/node_modules/revalidator/README.md
+++ /dev/null
@@ -1,287 +0,0 @@
-# revalidator [![Build Status](https://secure.travis-ci.org/flatiron/revalidator.png)](http://travis-ci.org/flatiron/revalidator)
-
-A cross-browser / node.js validator used by resourceful and flatiron.
-
-## Example
-The core of `revalidator` is simple and succinct: `revalidator.validate(obj, schema)`: 
- 
-``` js
-  var revalidator = require('revalidator');
-  
-  console.dir(revalidator.validate(someObject, {
-    properties: {
-      url: {
-        description: 'the url the object should be stored at',
-        type: 'string',
-        pattern: '^/[^#%&*{}\\:<>?\/+]+$',
-        required: true
-      },
-      challenge: {
-        description: 'a means of protecting data (insufficient for production, used as example)',
-        type: 'string',
-        minLength: 5
-      },
-      body: {
-        description: 'what to store at the url',
-        type: 'any',
-        default: null
-      }
-    }
-  }));
-```
-
-This will return with a value indicating if the `obj` conforms to the `schema`. If it does not, a descriptive object will be returned containing the errors encountered with validation.
-
-``` js
-  {
-    valid: true // or false
-    errors: [/* Array of errors if valid is false */]
-  }
-```
-
-In the browser, the validation function is exposed on `window.validate` by simply including `revalidator.js`.
-
-## Installation
-
-### Installing npm (node package manager)
-``` bash
-  $ curl http://npmjs.org/install.sh | sh
-```
-
-### Installing revalidator
-``` bash 
-  $ [sudo] npm install revalidator
-```
-
-## Usage
-
-`revalidator` takes json-schema as input to validate objects.
-
-### revalidator.validate (obj, schema, options)
-
-This will return with a value indicating if the `obj` conforms to the `schema`. If it does not, a descriptive object will be returned containing the errors encountered with validation.
-
-``` js
-{
-  valid: true // or false
-  errors: [/* Array of errors if valid is false */]
-}
-```
-
-#### Available Options
-
-* __validateFormats__: Enforce format constraints (_default true_)
-* __validateFormatsStrict__: When `validateFormats` is _true_ treat unrecognized formats as validation errors (_default false_)
-* __validateFormatExtensions__: When `validateFormats` is _true_ also validate formats defined in `validate.formatExtensions` (_default true_)
-* __cast__: Enforce casting of some types (for integers/numbers are only supported) when it's possible, e.g. `"42" => 42`, but `"forty2" => "forty2"` for the `integer` type.
-
-### Schema
-For a property an `value` is that which is given as input for validation where as an `expected value` is the value of the below fields
-
-#### required
-If true, the value should not be empty
-
-```js
-{ required: true }
-```
-
-#### type
-The `type of value` should be equal to the expected value
-
-```js
-{ type: 'string' }
-{ type: 'number' }
-{ type: 'integer' }
-{ type: 'array' }
-{ type: 'boolean' }
-{ type: 'object' }
-{ type: 'null' }
-{ type: 'any' }
-{ type: ['boolean', 'string'] }
-```
-
-#### pattern
-The expected value regex needs to be satisfied by the value
-
-```js
-{ pattern: /^[a-z]+$/ }
-```
-
-#### maxLength
-The length of value must be greater than or equal to expected value
-
-```js
-{ maxLength: 8 }
-```
-
-#### minLength
-The length of value must be lesser than or equal to expected value
-
-```js
-{ minLength: 8 }
-```
-
-#### minimum
-Value must be greater than or equal to the expected value
-
-```js
-{ minimum: 10 }
-```
-
-#### maximum
-Value must be lesser than or equal to the expected value
-
-```js
-{ maximum: 10 }
-```
-
-#### exclusiveMinimum
-Value must be greater than expected value
-
-```js
-{ exclusiveMinimum: 9 }
-```
-
-### exclusiveMaximum
-Value must be lesser than expected value
-
-```js
-{ exclusiveMaximum: 11 }
-```
-
-#### divisibleBy
-Value must be divisible by expected value
-
-```js
-{ divisibleBy: 5 }
-{ divisibleBy: 0.5 }
-```
-
-#### minItems
-Value must contain more then expected value number of items
-
-```js
-{ minItems: 2 }
-```
-
-#### maxItems
-Value must contains less then expected value number of items
-
-```js
-{ maxItems: 5 }
-```
-
-#### uniqueItems
-Value must hold a unique set of values
-
-```js
-{ uniqueItems: true }
-```
-
-#### enum
-Value must be present in the array of expected value
-
-```js
-{ enum: ['month', 'year'] }
-```
-
-#### format
-Value must be a valid format
-
-```js
-{ format: 'url' }
-{ format: 'email' }
-{ format: 'ip-address' }
-{ format: 'ipv6' }
-{ format: 'date-time' }
-{ format: 'date' }
-{ format: 'time' }
-{ format: 'color' }
-{ format: 'host-name' }
-{ format: 'utc-millisec' }
-{ format: 'regex' }
-```
-
-#### conform
-Value must conform to constraint denoted by expected value
-
-```js
-{ conform: function (v) {
-    if (v%3==1) return true;
-    return false;
-  }
-}
-```
-
-#### dependencies
-Value is valid only if the dependent value is valid
-
-```js
-{
-  town: { required: true, dependencies: 'country' },
-  country: { maxLength: 3, required: true }
-}
-```
-
-### Nested Schema
-We also allow nested schema
-
-```js
-{
-  properties: {
-    title: {
-      type: 'string',
-      maxLength: 140,
-      required: true
-    },
-    author: {
-      type: 'object',
-      required: true,
-      properties: {
-        name: {
-          type: 'string',
-          required: true
-        },
-        email: {
-          type: 'string',
-          format: 'email'
-        }
-      }
-    }
-  }
-}
-```
-
-### Custom Messages
-We also allow custom message for different constraints
-
-```js
-{
-  type: 'string',
-  format: 'url'
-  messages: {
-    type: 'Not a string type',
-    format: 'Expected format is a url'
-  }
-```
-
-```js
-{
-  conform: function () { ... },
-  message: 'This can be used as a global message'
-}
-```
-
-## Tests
-All tests are written with [vows][0] and should be run with [npm][1]:
-
-``` bash
-  $ npm test
-```
-
-#### Author: [Charlie Robbins](http://nodejitsu.com), [Alexis Sellier](http://cloudhead.io)
-#### Contributors: [Fedor Indutny](http://github.com/indutny), [Bradley Meck](http://github.com/bmeck), [Laurie Harper](http://laurie.holoweb.net/)
-#### License: Apache 2.0
-
-[0]: http://vowsjs.org
-[1]: http://npmjs.org

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/revalidator/lib/revalidator.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/revalidator/lib/revalidator.js b/blackberry10/node_modules/prompt/node_modules/revalidator/lib/revalidator.js
deleted file mode 100644
index fb00dff..0000000
--- a/blackberry10/node_modules/prompt/node_modules/revalidator/lib/revalidator.js
+++ /dev/null
@@ -1,422 +0,0 @@
-(function (exports) {
-  exports.validate = validate;
-  exports.mixin = mixin;
-
-  //
-  // ### function validate (object, schema, options)
-  // #### {Object} object the object to validate.
-  // #### {Object} schema (optional) the JSON Schema to validate against.
-  // #### {Object} options (optional) options controlling the validation
-  //      process. See {@link #validate.defaults) for details.
-  // Validate <code>object</code> against a JSON Schema.
-  // If <code>object</code> is self-describing (i.e. has a
-  // <code>$schema</code> property), it will also be validated
-  // against the referenced schema. [TODO]: This behaviour bay be
-  // suppressed by setting the {@link #validate.options.???}
-  // option to <code>???</code>.[/TODO]
-  //
-  // If <code>schema</code> is not specified, and <code>object</code>
-  // is not self-describing, validation always passes.
-  //
-  // <strong>Note:</strong> in order to pass options but no schema,
-  // <code>schema</code> <em>must</em> be specified in the call to
-  // <code>validate()</code>; otherwise, <code>options</code> will
-  // be interpreted as the schema. <code>schema</code> may be passed
-  // as <code>null</code>, <code>undefinded</code>, or the empty object
-  // (<code>{}</code>) in this case.
-  //
-  function validate(object, schema, options) {
-    options = mixin({}, options, validate.defaults);
-    var errors = [];
-
-    validateObject(object, schema, options, errors);
-
-    //
-    // TODO: self-described validation
-    // if (! options.selfDescribing) { ... }
-    //
-
-    return {
-      valid: !(errors.length),
-      errors: errors
-    };
-  };
-
-  /**
-   * Default validation options. Defaults can be overridden by
-   * passing an 'options' hash to {@link #validate}. They can
-   * also be set globally be changing the values in
-   * <code>validate.defaults</code> directly.
-   */
-  validate.defaults = {
-      /**
-       * <p>
-       * Enforce 'format' constraints.
-       * </p><p>
-       * <em>Default: <code>true</code></em>
-       * </p>
-       */
-      validateFormats: true,
-      /**
-       * <p>
-       * When {@link #validateFormats} is <code>true</code>,
-       * treat unrecognized formats as validation errors.
-       * </p><p>
-       * <em>Default: <code>false</code></em>
-       * </p>
-       *
-       * @see validation.formats for default supported formats.
-       */
-      validateFormatsStrict: false,
-      /**
-       * <p>
-       * When {@link #validateFormats} is <code>true</code>,
-       * also validate formats defined in {@link #validate.formatExtensions}.
-       * </p><p>
-       * <em>Default: <code>true</code></em>
-       * </p>
-       */
-      validateFormatExtensions: true
-  };
-
-  /**
-   * Default messages to include with validation errors.
-   */
-  validate.messages = {
-      required:         "is required",
-      minLength:        "is too short (minimum is %{expected} characters)",
-      maxLength:        "is too long (maximum is %{expected} characters)",
-      pattern:          "invalid input",
-      minimum:          "must be greater than or equal to %{expected}",
-      maximum:          "must be less than or equal to %{expected}",
-      exclusiveMinimum: "must be greater than %{expected}",
-      exclusiveMaximum: "must be less than %{expected}",
-      divisibleBy:      "must be divisible by %{expected}",
-      minItems:         "must contain more than %{expected} items",
-      maxItems:         "must contain less than %{expected} items",
-      uniqueItems:      "must hold a unique set of values",
-      format:           "is not a valid %{expected}",
-      conform:          "must conform to given constraint",
-      type:             "must be of %{expected} type"
-  };
-  validate.messages['enum'] = "must be present in given enumerator";
-
-  /**
-   *
-   */
-  validate.formats = {
-    'email':          /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i,
-    'ip-address':     /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,
-    'ipv6':           /^([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}$/,
-    'date-time':      /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:.\d{1,3})?Z$/,
-    'date':           /^\d{4}-\d{2}-\d{2}$/,
-    'time':           /^\d{2}:\d{2}:\d{2}$/,
-    'color':          /^#[a-z0-9]{6}|#[a-z0-9]{3}|(?:rgb\(\s*(?:[+-]?\d+%?)\s*,\s*(?:[+-]?\d+%?)\s*,\s*(?:[+-]?\d+%?)\s*\))aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow$/i,
-    //'style':        (not supported)
-    //'phone':        (not supported)
-    //'uri':          (not supported)
-    'host-name':      /^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z]|[A-Za-z][A-Za-z0-9\-]*[A-Za-z0-9])/,
-    'utc-millisec':   {
-      test: function (value) {
-        return typeof(value) === 'number' && value >= 0;
-      }
-    },
-    'regex':          {
-      test: function (value) {
-        try { new RegExp(value) }
-        catch (e) { return false }
-
-        return true;
-      }
-    }
-  };
-
-  /**
-   *
-   */
-  validate.formatExtensions = {
-    'url': /^(https?|ftp|git):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\u
 F900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i
-  };
-
-  function mixin(obj) {
-    var sources = Array.prototype.slice.call(arguments, 1);
-    while (sources.length) {
-      var source = sources.shift();
-      if (!source) { continue }
-
-      if (typeof(source) !== 'object') {
-        throw new TypeError('mixin non-object');
-      }
-
-      for (var p in source) {
-        if (source.hasOwnProperty(p)) {
-          obj[p] = source[p];
-        }
-      }
-    }
-
-    return obj;
-  };
-
-  function validateObject(object, schema, options, errors) {
-    var props, allProps = Object.keys(object),
-        visitedProps = [];
-
-    // see 5.2
-    if (schema.properties) {
-      props = schema.properties;
-      for (var p in props) {
-        if (props.hasOwnProperty(p)) {
-          visitedProps.push(p);
-          validateProperty(object, object[p], p, props[p], options, errors);
-        }
-      }
-    }
-
-    // see 5.3
-    if (schema.patternProperties) {
-      props = schema.patternProperties;
-      for (var p in props) {
-        if (props.hasOwnProperty(p)) {
-          var re = new RegExp(p);
-
-          // Find all object properties that are matching `re`
-          for (var k in object) {
-            if (object.hasOwnProperty(k)) {
-              visitedProps.push(k);
-              if (re.exec(k) !== null) {
-                validateProperty(object, object[k], p, props[p], options, errors);
-              }
-            }
-          }
-        }
-      }
-    }
-
-    // see 5.4
-    if (undefined !== schema.additionalProperties) {
-      var i, l;
-
-      var unvisitedProps = allProps.filter(function(k){
-        return -1 === visitedProps.indexOf(k);
-      });
-
-      // Prevent additional properties; each unvisited property is therefore an error
-      if (schema.additionalProperties === false && unvisitedProps.length > 0) {
-        for (i = 0, l = unvisitedProps.length; i < l; i++) {
-          error("additionalProperties", unvisitedProps[i], object[unvisitedProps[i]], false, errors);
-        }
-      }
-      // additionalProperties is a schema and validate unvisited properties against that schema
-      else if (typeof schema.additionalProperties == "object" && unvisitedProps.length > 0) {
-        for (i = 0, l = unvisitedProps.length; i < l; i++) {
-          validateProperty(object, object[unvisitedProps[i]], unvisitedProps[i], schema.unvisitedProperties, options, errors);
-        }
-      }
-    }
-
-  };
-
-  function validateProperty(object, value, property, schema, options, errors) {
-    var format,
-        valid,
-        spec,
-        type;
-
-    function constrain(name, value, assert) {
-      if (schema[name] !== undefined && !assert(value, schema[name])) {
-        error(name, property, value, schema, errors);
-      }
-    }
-
-    if (value === undefined || value === '') {
-      if (schema.required && schema.type !== 'any') {
-        return error('required', property, undefined, schema, errors);
-      } else {
-        return;
-      }
-    }
-
-    if (options.cast) {
-      if (('integer' === schema.type || 'number' === schema.type) && value == +value) {
-        value = +value;
-      }
-
-      if ('boolean' === schema.type) {
-        if ('true' === value || '1' === value || 1 === value) {
-          value = true;
-        }
-
-        if ('false' === value || '0' === value || 0 === value) {
-          value = false;
-        }
-      }
-    }
-
-    if (schema.format && options.validateFormats) {
-      format = schema.format;
-
-      if (options.validateFormatExtensions) { spec = validate.formatExtensions[format] }
-      if (!spec) { spec = validate.formats[format] }
-      if (!spec) {
-        if (options.validateFormatsStrict) {
-          return error('format', property, value, schema, errors);
-        }
-      }
-      else {
-        if (!spec.test(value)) {
-          return error('format', property, value, schema, errors);
-        }
-      }
-    }
-
-    if (schema['enum'] && schema['enum'].indexOf(value) === -1) {
-      error('enum', property, value, schema, errors);
-    }
-
-    // Dependencies (see 5.8)
-    if (typeof schema.dependencies === 'string' &&
-        object[schema.dependencies] === undefined) {
-      error('dependencies', property, null, schema, errors);
-    }
-
-    if (isArray(schema.dependencies)) {
-      for (var i = 0, l = schema.dependencies.length; i < l; i++) {
-        if (object[schema.dependencies[i]] === undefined) {
-          error('dependencies', property, null, schema, errors);
-        }
-      }
-    }
-
-    if (typeof schema.dependencies === 'object') {
-      validateObject(object, schema.dependencies, options, errors);
-    }
-
-    checkType(value, schema.type, function(err, type) {
-      if (err) return error('type', property, typeof value, schema, errors);
-
-      constrain('conform', value, function (a, e) { return e(a, object) });
-
-      switch (type || (isArray(value) ? 'array' : typeof value)) {
-        case 'string':
-          constrain('minLength', value.length, function (a, e) { return a >= e });
-          constrain('maxLength', value.length, function (a, e) { return a <= e });
-          constrain('pattern',   value,        function (a, e) {
-            e = typeof e === 'string'
-              ? e = new RegExp(e)
-              : e;
-            return e.test(a)
-          });
-          break;
-        case 'integer':
-        case 'number':
-          constrain('minimum',     value, function (a, e) { return a >= e });
-          constrain('maximum',     value, function (a, e) { return a <= e });
-          constrain('exclusiveMinimum', value, function (a, e) { return a > e });
-          constrain('exclusiveMaximum', value, function (a, e) { return a < e });
-          constrain('divisibleBy', value, function (a, e) {
-            var multiplier = Math.max((a - Math.floor(a)).toString().length - 2, (e - Math.floor(e)).toString().length - 2);
-            multiplier = multiplier > 0 ? Math.pow(10, multiplier) : 1;
-            return (a * multiplier) % (e * multiplier) === 0
-          });
-          break;
-        case 'array':
-          constrain('items', value, function (a, e) {
-            for (var i = 0, l = a.length; i < l; i++) {
-              validateProperty(object, a[i], property, e, options, errors);
-            }
-            return true;
-          });
-          constrain('minItems', value, function (a, e) { return a.length >= e });
-          constrain('maxItems', value, function (a, e) { return a.length <= e });
-          constrain('uniqueItems', value, function (a) {
-            var h = {};
-
-            for (var i = 0, l = a.length; i < l; i++) {
-              var key = JSON.stringify(a[i]);
-              if (h[key]) return false;
-              h[key] = true;
-            }
-
-            return true;
-          });
-          break;
-        case 'object':
-          // Recursive validation
-          if (schema.properties || schema.patternProperties || schema.additionalProperties) {
-            validateObject(value, schema, options, errors);
-          }
-          break;
-      }
-    });
-  };
-
-  function checkType(val, type, callback) {
-    var result = false,
-        types = isArray(type) ? type : [type];
-
-    // No type - no check
-    if (type === undefined) return callback(null, type);
-
-    // Go through available types
-    // And fine first matching
-    for (var i = 0, l = types.length; i < l; i++) {
-      type = types[i].toLowerCase().trim();
-      if (type === 'string' ? typeof val === 'string' :
-          type === 'array' ? isArray(val) :
-          type === 'object' ? val && typeof val === 'object' &&
-                             !isArray(val) :
-          type === 'number' ? typeof val === 'number' :
-          type === 'integer' ? typeof val === 'number' && ~~val === val :
-          type === 'null' ? val === null :
-          type === 'boolean'? typeof val === 'boolean' :
-          type === 'date' ? isDate(val) :
-          type === 'any' ? typeof val !== 'undefined' : false) {
-        return callback(null, type);
-      }
-    };
-
-    callback(true);
-  };
-
-  function error(attribute, property, actual, schema, errors) {
-    var lookup = { expected: schema[attribute], attribute: attribute, property: property };
-    var message = schema.messages && schema.messages[attribute] || schema.message || validate.messages[attribute] || "no default message";
-    message = message.replace(/%\{([a-z]+)\}/ig, function (_, match) { return lookup[match.toLowerCase()] || ''; });
-    errors.push({
-      attribute: attribute,
-      property:  property,
-      expected:  schema[attribute],
-      actual:    actual,
-      message:   message
-    });
-  };
-
-  function isArray(value) {
-    var s = typeof value;
-    if (s === 'object') {
-      if (value) {
-        if (typeof value.length === 'number' &&
-           !(value.propertyIsEnumerable('length')) &&
-           typeof value.splice === 'function') {
-           return true;
-        }
-      }
-    }
-    return false;
-  }
-
-  function isDate(value) {
-    var s = typeof value;
-    if (s === 'object') {
-      if (value) {
-        if (typeof value.getTime === 'function') {
-          return true;
-        }
-      }
-    }
-
-    return false;
-  }
-
-})(typeof(window) === 'undefined' ? module.exports : (window.json = window.json || {}));

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/revalidator/package.json
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/revalidator/package.json b/blackberry10/node_modules/prompt/node_modules/revalidator/package.json
deleted file mode 100644
index 3f57acb..0000000
--- a/blackberry10/node_modules/prompt/node_modules/revalidator/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
-  "name": "revalidator",
-  "version": "0.1.6",
-  "description": "A cross-browser / node.js validator used by resourceful",
-  "author": {
-    "name": "Nodejitsu Inc.",
-    "email": "info@nodejitsu.com"
-  },
-  "maintainers": [
-    {
-      "name": "indexzero",
-      "email": "charlie@nodejitsu.com"
-    },
-    {
-      "name": "indutny",
-      "email": "fedor.indutny@gmail.com"
-    }
-  ],
-  "repository": {
-    "type": "git",
-    "url": "http://github.com/flatiron/revalidator.git"
-  },
-  "devDependencies": {
-    "vows": "0.7.0"
-  },
-  "main": "./lib/revalidator",
-  "scripts": {
-    "test": "vows test/*-test.js --spec"
-  },
-  "engines": {
-    "node": ">= 0.4.0"
-  },
-  "readme": "# revalidator [![Build Status](https://secure.travis-ci.org/flatiron/revalidator.png)](http://travis-ci.org/flatiron/revalidator)\n\nA cross-browser / node.js validator used by resourceful and flatiron.\n\n## Example\nThe core of `revalidator` is simple and succinct: `revalidator.validate(obj, schema)`: \n \n``` js\n  var revalidator = require('revalidator');\n  \n  console.dir(revalidator.validate(someObject, {\n    properties: {\n      url: {\n        description: 'the url the object should be stored at',\n        type: 'string',\n        pattern: '^/[^#%&*{}\\\\:<>?\\/+]+$',\n        required: true\n      },\n      challenge: {\n        description: 'a means of protecting data (insufficient for production, used as example)',\n        type: 'string',\n        minLength: 5\n      },\n      body: {\n        description: 'what to store at the url',\n        type: 'any',\n        default: null\n      }\n    }\n  }));\n```\n\nThis will return with a value indicating if the
  `obj` conforms to the `schema`. If it does not, a descriptive object will be returned containing the errors encountered with validation.\n\n``` js\n  {\n    valid: true // or false\n    errors: [/* Array of errors if valid is false */]\n  }\n```\n\nIn the browser, the validation function is exposed on `window.validate` by simply including `revalidator.js`.\n\n## Installation\n\n### Installing npm (node package manager)\n``` bash\n  $ curl http://npmjs.org/install.sh | sh\n```\n\n### Installing revalidator\n``` bash \n  $ [sudo] npm install revalidator\n```\n\n## Usage\n\n`revalidator` takes json-schema as input to validate objects.\n\n### revalidator.validate (obj, schema, options)\n\nThis will return with a value indicating if the `obj` conforms to the `schema`. If it does not, a descriptive object will be returned containing the errors encountered with validation.\n\n``` js\n{\n  valid: true // or false\n  errors: [/* Array of errors if valid is false */]\n}\n```\n\n#### Availabl
 e Options\n\n* __validateFormats__: Enforce format constraints (_default true_)\n* __validateFormatsStrict__: When `validateFormats` is _true_ treat unrecognized formats as validation errors (_default false_)\n* __validateFormatExtensions__: When `validateFormats` is _true_ also validate formats defined in `validate.formatExtensions` (_default true_)\n* __cast__: Enforce casting of some types (for integers/numbers are only supported) when it's possible, e.g. `\"42\" => 42`, but `\"forty2\" => \"forty2\"` for the `integer` type.\n\n### Schema\nFor a property an `value` is that which is given as input for validation where as an `expected value` is the value of the below fields\n\n#### required\nIf true, the value should not be empty\n\n```js\n{ required: true }\n```\n\n#### type\nThe `type of value` should be equal to the expected value\n\n```js\n{ type: 'string' }\n{ type: 'number' }\n{ type: 'integer' }\n{ type: 'array' }\n{ type: 'boolean' }\n{ type: 'object' }\n{ type: 'null' }\n{
  type: 'any' }\n{ type: ['boolean', 'string'] }\n```\n\n#### pattern\nThe expected value regex needs to be satisfied by the value\n\n```js\n{ pattern: /^[a-z]+$/ }\n```\n\n#### maxLength\nThe length of value must be greater than or equal to expected value\n\n```js\n{ maxLength: 8 }\n```\n\n#### minLength\nThe length of value must be lesser than or equal to expected value\n\n```js\n{ minLength: 8 }\n```\n\n#### minimum\nValue must be greater than or equal to the expected value\n\n```js\n{ minimum: 10 }\n```\n\n#### maximum\nValue must be lesser than or equal to the expected value\n\n```js\n{ maximum: 10 }\n```\n\n#### exclusiveMinimum\nValue must be greater than expected value\n\n```js\n{ exclusiveMinimum: 9 }\n```\n\n### exclusiveMaximum\nValue must be lesser than expected value\n\n```js\n{ exclusiveMaximum: 11 }\n```\n\n#### divisibleBy\nValue must be divisible by expected value\n\n```js\n{ divisibleBy: 5 }\n{ divisibleBy: 0.5 }\n```\n\n#### minItems\nValue must contain more then e
 xpected value number of items\n\n```js\n{ minItems: 2 }\n```\n\n#### maxItems\nValue must contains less then expected value number of items\n\n```js\n{ maxItems: 5 }\n```\n\n#### uniqueItems\nValue must hold a unique set of values\n\n```js\n{ uniqueItems: true }\n```\n\n#### enum\nValue must be present in the array of expected value\n\n```js\n{ enum: ['month', 'year'] }\n```\n\n#### format\nValue must be a valid format\n\n```js\n{ format: 'url' }\n{ format: 'email' }\n{ format: 'ip-address' }\n{ format: 'ipv6' }\n{ format: 'date-time' }\n{ format: 'date' }\n{ format: 'time' }\n{ format: 'color' }\n{ format: 'host-name' }\n{ format: 'utc-millisec' }\n{ format: 'regex' }\n```\n\n#### conform\nValue must conform to constraint denoted by expected value\n\n```js\n{ conform: function (v) {\n    if (v%3==1) return true;\n    return false;\n  }\n}\n```\n\n#### dependencies\nValue is valid only if the dependent value is valid\n\n```js\n{\n  town: { required: true, dependencies: 'country' },\
 n  country: { maxLength: 3, required: true }\n}\n```\n\n### Nested Schema\nWe also allow nested schema\n\n```js\n{\n  properties: {\n    title: {\n      type: 'string',\n      maxLength: 140,\n      required: true\n    },\n    author: {\n      type: 'object',\n      required: true,\n      properties: {\n        name: {\n          type: 'string',\n          required: true\n        },\n        email: {\n          type: 'string',\n          format: 'email'\n        }\n      }\n    }\n  }\n}\n```\n\n### Custom Messages\nWe also allow custom message for different constraints\n\n```js\n{\n  type: 'string',\n  format: 'url'\n  messages: {\n    type: 'Not a string type',\n    format: 'Expected format is a url'\n  }\n```\n\n```js\n{\n  conform: function () { ... },\n  message: 'This can be used as a global message'\n}\n```\n\n## Tests\nAll tests are written with [vows][0] and should be run with [npm][1]:\n\n``` bash\n  $ npm test\n```\n\n#### Author: [Charlie Robbins](http://nodejitsu.com), 
 [Alexis Sellier](http://cloudhead.io)\n#### Contributors: [Fedor Indutny](http://github.com/indutny), [Bradley Meck](http://github.com/bmeck), [Laurie Harper](http://laurie.holoweb.net/)\n#### License: Apache 2.0\n\n[0]: http://vowsjs.org\n[1]: http://npmjs.org\n",
-  "readmeFilename": "README.md",
-  "bugs": {
-    "url": "https://github.com/flatiron/revalidator/issues"
-  },
-  "_id": "revalidator@0.1.6",
-  "_from": "revalidator@0.1.x"
-}

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/revalidator/test/validator-test.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/revalidator/test/validator-test.js b/blackberry10/node_modules/prompt/node_modules/revalidator/test/validator-test.js
deleted file mode 100644
index 900715d..0000000
--- a/blackberry10/node_modules/prompt/node_modules/revalidator/test/validator-test.js
+++ /dev/null
@@ -1,404 +0,0 @@
-var assert = require('assert'),
-    vows = require('vows'),
-    revalidator = require('../lib/revalidator');
-
-function clone(object) {
-  return Object.keys(object).reduce(function (obj, k) {
-    obj[k] = object[k];
-    return obj;
-  }, {});
-};
-
-
-function assertInvalid(res) {
-  assert.isObject(res);
-  assert.strictEqual(res.valid, false);
-}
-
-function assertValid(res) {
-  assert.isObject(res);
-  assert.strictEqual(res.valid, true);
-}
-
-function assertHasError(attr, field) {
-  return function (res) {
-    assert.notEqual(res.errors.length, 0);
-    assert.ok(res.errors.some(function (e) {
-      return e.attribute === attr && (field ? e.property === field : true);
-    }));
-  };
-}
-
-function assertHasErrorMsg(attr, msg) {
-  return function (res) {
-    assert.notEqual(res.errors.length, 0);
-    assert.ok(res.errors.some(function (e) {
-      return e.attribute === attr && e.message === msg;
-    }));
-  };
-}
-
-function assertValidates(passingValue, failingValue, attributes) {
-  var schema = {
-    name: 'Resource',
-    properties: { field: {} }
-  };
-
-  var failing;
-
-  if (!attributes) {
-    attributes = failingValue;
-    failing = false;
-  } else {
-    failing = true;
-  }
-
-  var attr = Object.keys(attributes)[0];
-  revalidator.mixin(schema.properties.field, attributes);
-
-  var result = {
-    "when the object conforms": {
-      topic: function () {
-        return revalidator.validate({ field: passingValue }, schema);
-      },
-      "return an object with `valid` set to true": assertValid
-    }
-  };
-
-  if (failing) {
-    result["when the object does not conform"] ={
-      topic: function () {
-        return revalidator.validate({ field: failingValue }, schema);
-      },
-      "return an object with `valid` set to false": assertInvalid,
-      "and an error concerning the attribute":      assertHasError(Object.keys(attributes)[0], 'field')
-    };
-  };
-
-  return result;
-}
-
-vows.describe('revalidator', {
-  "Validating": {
-    "with <type>:'string'":       assertValidates ('hello',   42,        { type: "string" }),
-    "with <type>:'number'":       assertValidates (42,       'hello',    { type: "number" }),
-    "with <type>:'integer'":      assertValidates (42,        42.5,      { type: "integer" }),
-    "with <type>:'array'":        assertValidates ([4, 2],   'hi',       { type: "array" }),
-    "with <type>:'object'":       assertValidates ({},        [],        { type: "object" }),
-    "with <type>:'boolean'":      assertValidates (false,     42,        { type: "boolean" }),
-    "with <types>:bool,num":      assertValidates (false,     'hello',   { type: ["boolean", "number"] }),
-    "with <types>:bool,num":      assertValidates (544,       null,      { type: ["boolean", "number"] }),
-    "with <type>:'null'":         assertValidates (null,      false,     { type: "null" }),
-    "with <type>:'any'":          assertValidates (9,                    { type: "any" }),
-    "with <type>:'date'":         assertValidates (new Date(), 'hello',  { type: "date" }),
-    "with <pattern>":             assertValidates ("kaboom", "42",       { pattern: /^[a-z]+$/ }),
-    "with <maxLength>":           assertValidates ("boom",   "kaboom",   { maxLength: 4 }),
-    "with <minLength>":           assertValidates ("kaboom", "boom",     { minLength: 6 }),
-    "with <minimum>":             assertValidates ( 512,      43,        { minimum:   473 }),
-    "with <maximum>":             assertValidates ( 512,      1949,      { maximum:   678 }),
-    "with <divisibleBy>":         assertValidates ( 10,       9,         { divisibleBy: 5 }),
-    "with <divisibleBy> decimal": assertValidates ( 0.2,      0.009,     { divisibleBy: 0.01 }),
-    "with <enum>":                assertValidates ("orange",  "cigar",   { enum: ["orange", "apple", "pear"] }),
-    "with <format>:'url'":        assertValidates ('http://test.com/', 'hello', { format: 'url' }),
-    "with <dependencies>": {
-      topic: {
-        properties: {
-          town:    { dependencies: "country" },
-          country: { }
-        }
-      },
-      "when the object conforms": {
-        topic: function (schema) {
-          return revalidator.validate({ town: "luna", country: "moon" }, schema);
-        },
-        "return an object with `valid` set to true": assertValid
-      },
-      "when the object does not conform": {
-        topic: function (schema) {
-          return revalidator.validate({ town: "luna" }, schema);
-        },
-        "return an object with `valid` set to false": assertInvalid,
-        "and an error concerning the attribute":      assertHasError('dependencies')
-      }
-    },
-    "with <dependencies> as array": {
-      topic: {
-        properties: {
-          town:    { dependencies: ["country", "planet"] },
-          country: { },
-          planet: { }
-        }
-      },
-      "when the object conforms": {
-        topic: function (schema) {
-          return revalidator.validate({ town: "luna", country: "moon", planet: "mars" }, schema);
-        },
-        "return an object with `valid` set to true": assertValid
-      },
-      "when the object does not conform": {
-        topic: function (schema) {
-          return revalidator.validate({ town: "luna", planet: "mars" }, schema);
-        },
-        "return an object with `valid` set to false": assertInvalid,
-        "and an error concerning the attribute":      assertHasError('dependencies')
-      }
-    },
-    "with <dependencies> as schema": {
-      topic: {
-        properties: {
-          town:    {
-            type: 'string',
-            dependencies: {
-              properties: { x: { type: "number" } }
-            }
-          },
-          country: { }
-        }
-      },
-      "when the object conforms": {
-        topic: function (schema) {
-          return revalidator.validate({ town: "luna", x: 1 }, schema);
-        },
-        "return an object with `valid` set to true": assertValid,
-      },
-      "when the object does not conform": {
-        topic: function (schema) {
-          return revalidator.validate({ town: "luna", x: 'no' }, schema);
-        },
-        "return an object with `valid` set to false": assertInvalid
-      }
-    },
-    "with <type>:'integer' and": {
-      "<minimum> constraints":      assertValidates ( 512,      43,        { minimum:   473, type: 'integer' }),
-      "<maximum> constraints":      assertValidates ( 512,      1949,      { maximum:   678, type: 'integer' }),
-      "<divisibleBy> constraints":  assertValidates ( 10,       9,         { divisibleBy: 5, type: 'integer' })
-    },
-    "with <additionalProperties>:false": {
-      topic: {
-        properties: {
-          town: { type: 'string' }
-        },
-        additionalProperties: false
-      },
-      "when the object conforms": {
-        topic: function (schema) {
-          return revalidator.validate({ town: "luna" }, schema);
-        },
-        "return an object with `valid` set to true": assertValid
-      },
-      "when the object does not conform": {
-        topic: function (schema) {
-          return revalidator.validate({ town: "luna", area: 'park' }, schema);
-        },
-        "return an object with `valid` set to false": assertInvalid
-      }
-    }
-  }
-}).addBatch({
-  "A schema": {
-    topic: {
-      name: 'Article',
-      properties: {
-        title: {
-          type: 'string',
-          maxLength: 140,
-          conditions: {
-            optional: function () {
-              return !this.published;
-            }
-          }
-        },
-        date: { type: 'string', format: 'date', messages: { format: "must be a valid %{expected} and nothing else" } },
-        body: { type: 'string' },
-        tags: {
-          type: 'array',
-          uniqueItems: true,
-          minItems: 2,
-          items: {
-            type: 'string',
-            pattern: /[a-z ]+/
-          }
-        },
-        tuple: {
-          type: 'array',
-          minItems: 2,
-          maxItems: 2,
-          items: {
-            type: ['string', 'number']
-          }
-        },
-        author:    { type: 'string', pattern: /^[\w ]+$/i, required: true, messages: { required: "is essential for survival" } },
-        published: { type: 'boolean', 'default': false },
-        category:  { type: 'string' },
-        palindrome: {type: 'string', conform: function(val) {
-          return val == val.split("").reverse().join(""); }
-        },
-        name: { type: 'string', default: '', conform: function(val, data) {
-          return (val === data.author); }
-        }
-      },
-      patternProperties: {
-        '^_': {
-          type: 'boolean', default: false
-        }
-      }
-    },
-    "and an object": {
-      topic: {
-        title:    'Gimme some Gurus',
-        date:     '2012-02-04',
-        body:     "And I will pwn your codex.",
-        tags:     ['energy drinks', 'code'],
-        tuple:    ['string0', 103],
-        author:   'cloudhead',
-        published: true,
-        category: 'misc',
-        palindrome: 'dennis sinned',
-        name: 'cloudhead',
-        _flag: true
-      },
-      "can be validated with `revalidator.validate`": {
-        "and if it conforms": {
-          topic: function (object, schema) {
-            return revalidator.validate(object, schema);
-          },
-          "return an object with the `valid` property set to true": assertValid,
-          "return an object with the `errors` property as an empty array": function (res) {
-            assert.isArray(res.errors);
-            assert.isEmpty(res.errors);
-          }
-        },
-        "and if it has a missing required property": {
-          topic: function (object, schema) {
-            object = clone(object);
-            delete object.author;
-            return revalidator.validate(object, schema);
-          },
-          "return an object with `valid` set to false":       assertInvalid,
-          "and an error concerning the 'required' attribute": assertHasError('required'),
-          "and the error message defined":                    assertHasErrorMsg('required', "is essential for survival")
-        },
-        "and if it has a missing non-required property": {
-          topic: function (object, schema) {
-            object = clone(object);
-            delete object.category;
-            return revalidator.validate(object, schema);
-          },
-          "return an object with `valid` set to false":       assertValid
-        },
-        "and if it has a incorrect pattern property": {
-          topic: function (object, schema) {
-            object = clone(object);
-            object._additionalFlag = 'text';
-            return revalidator.validate(object, schema);
-          },
-          "return an object with `valid` set to false":       assertInvalid
-        },
-        "and if it has a incorrect unique array property": {
-          topic: function (object, schema) {
-            object = clone(object);
-            object.tags = ['a', 'a'];
-            return revalidator.validate(object, schema);
-          },
-          "return an object with `valid` set to false":       assertInvalid
-        },
-        "and if it has a incorrect array property (wrong values)": {
-          topic: function (object, schema) {
-            object = clone(object);
-            object.tags = ['a', '____'];
-            return revalidator.validate(object, schema);
-          },
-          "return an object with `valid` set to false":       assertInvalid
-        },
-        "and if it has a incorrect array property (< minItems)": {
-          topic: function (object, schema) {
-            object = clone(object);
-            object.tags = ['x'];
-            return revalidator.validate(object, schema);
-          },
-          "return an object with `valid` set to false":       assertInvalid
-        },
-        "and if it has a incorrect format (date)": {
-          topic: function (object, schema) {
-            object = clone(object);
-            object.date = 'bad date';
-            return revalidator.validate(object, schema);
-          },
-          "return an object with `valid` set to false":       assertInvalid,
-          "and the error message defined":                    assertHasErrorMsg('format', "must be a valid date and nothing else")
-        },
-        "and if it is not a palindrome (conform function)": {
-          topic: function (object, schema) {
-            object = clone(object);
-            object.palindrome = 'bad palindrome';
-            return revalidator.validate(object, schema);
-          },
-          "return an object with `valid` set to false":       assertInvalid
-        },
-        "and if it didn't validate a pattern": {
-          topic: function (object, schema) {
-            object = clone(object);
-            object.author = 'email@address.com';
-            return revalidator.validate(object, schema);
-          },
-          "return an object with `valid` set to false":      assertInvalid,
-          "and an error concerning the 'pattern' attribute": assertHasError('pattern')
-        },
-      }
-    },
-    "with <cast> option": {
-      topic: {
-        properties: {
-          answer: { type: "integer" },
-          is_ready: { type: "boolean" }
-        }
-      },
-      "and <integer> property": {
-        "is castable string": {
-          topic: function (schema) {
-            return revalidator.validate({ answer: "42" }, schema, { cast: true });
-          },
-          "return an object with `valid` set to true": assertValid
-        },
-        "is uncastable string": {
-          topic: function (schema) {
-            return revalidator.validate({ answer: "forty2" }, schema, { cast: true });
-          },
-          "return an object with `valid` set to false": assertInvalid
-        }
-      },
-      "and <boolean> property": {
-        "is castable 'true/false' string": {
-          topic: function (schema) {
-            return revalidator.validate({ is_ready: "true" }, schema, { cast: true });
-          },
-          "return an object with `valid` set to true": assertValid
-        },
-        "is castable '1/0' string": {
-          topic: function (schema) {
-            return revalidator.validate({ is_ready: "1" }, schema, { cast: true });
-          },
-          "return an object with `valid` set to true": assertValid
-        },
-        "is castable `1/0` integer": {
-          topic: function (schema) {
-            return revalidator.validate({ is_ready: 1 }, schema, { cast: true });
-          },
-          "return an object with `valid` set to true": assertValid
-        },
-        "is uncastable string": {
-          topic: function (schema) {
-            return revalidator.validate({ is_ready: "not yet" }, schema, { cast: true });
-          },
-          "return an object with `valid` set to false": assertInvalid
-        },
-        "is uncastable number": {
-          topic: function (schema) {
-            return revalidator.validate({ is_ready: 42 }, schema, { cast: true });
-          },
-          "return an object with `valid` set to false": assertInvalid
-        }
-      }
-    }
-  }
-}).export(module);

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/.npmignore
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/.npmignore b/blackberry10/node_modules/prompt/node_modules/utile/.npmignore
deleted file mode 100644
index 8d8bfd5..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/.npmignore
+++ /dev/null
@@ -1,4 +0,0 @@
-node_modules
-npm-debug.log
-*.swp
-*.swo

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/.travis.yml
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/.travis.yml b/blackberry10/node_modules/prompt/node_modules/utile/.travis.yml
deleted file mode 100644
index 88cf1f3..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/.travis.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-language: node_js
-node_js:
-  - 0.6
-  - 0.8
-
-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/utile/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/CHANGELOG.md b/blackberry10/node_modules/prompt/node_modules/utile/CHANGELOG.md
deleted file mode 100644
index b4e427a..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/CHANGELOG.md
+++ /dev/null
@@ -1,16 +0,0 @@
-
-0.1.5 / 2012-09-18
-==================
-
-  * Fixed problem with underscore values in camelToUnderscore
-
-0.1.4 / 2012-07-26
-==================
-
-  * Made use of inflect for camel to underscore conversion
-
-0.1.3 / 2012-07-25
-==================
-
-  * Added camel to underscore conversion and vice-versa
-

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/LICENSE
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/LICENSE b/blackberry10/node_modules/prompt/node_modules/utile/LICENSE
deleted file mode 100644
index 56217ca..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2010 Nodejitsu Inc.
-
-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/utile/README.md
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/README.md b/blackberry10/node_modules/prompt/node_modules/utile/README.md
deleted file mode 100644
index 451b1fc..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/README.md
+++ /dev/null
@@ -1,87 +0,0 @@
-# utile [![Build Status](https://secure.travis-ci.org/flatiron/utile.png)](http://travis-ci.org/flatiron/utile)
-
-A drop-in replacement for `util` with some additional advantageous functions
-
-## Motivation
-Javascript 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:
-
-```
-$ node
-> var util = require('util');
-> util.
-(...)
-
-util.debug                 util.error                 util.exec                  util.inherits              util.inspect
-util.log                   util.p                     util.print                 util.pump                  util.puts
-```
-
-When one considers their own utility library, why ever bother requiring `util` again? That is the approach taken by this module. To compare:
-
-```
-$ node
-> var utile = require('./lib')
-> utile.
-(...)
-
-utile.async                 utile.capitalize            utile.clone                 utile.cpr                   utile.createPath            utile.debug
-utile.each                  utile.error                 utile.exec                  utile.file                  utile.filter                utile.find
-utile.inherits              utile.log                   utile.mixin                 utile.mkdirp                utile.p                     utile.path
-utile.print                 utile.pump                  utile.puts                  utile.randomString          utile.requireDir            uile.requireDirLazy
-utile.rimraf
-```
-
-As 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._
-
-## Methods
-The `utile` modules exposes some simple utility methods:
-
-* `.each(obj, iterator)`: Iterate over the keys of an object.
-* `.mixin(target [source0, source1, ...])`: Copies enumerable properties from `source0 ... sourceN` onto `target` and returns the resulting object.
-* `.clone(obj)`: Shallow clones the specified object.
-* `.capitalize(str)`: Capitalizes the specified `str`.
-* `.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.
-* `.filter(obj, test)`: return an object with the properties that `test` returns true on.
-* `.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.
-* `.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)`.
-* `.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)`.
-* `.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.
-
-## Packaged Dependencies
-In 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
-
-* `.async`: [Async utilities for node and the browser][0]
-* `.inflect`: [Customizable inflections for node.js][6]
-* `.mkdirp`: [Recursively mkdir, like mkdir -p, but in node.js][1]
-* `.rimraf`: [A rm -rf util for nodejs][2]
-* `.cpr`: [Asynchronous recursive file copying with Node.js][3]
-
-## Installation
-
-### Installing npm (node package manager)
-```
-  curl http://npmjs.org/install.sh | sh
-```
-
-### Installing utile
-```
-  [sudo] npm install utile
-```
-
-## Tests
-All tests are written with [vows][4] and should be run with [npm][5]:
-
-``` bash
-  $ npm test
-```
-
-#### Author: [Nodejitsu Inc.](http://www.nodejitsu.com)
-#### Contributors: [Charlie Robbins](http://github.com/indexzero), [Dominic Tarr](http://github.com/dominictarr)
-#### License: MIT
-
-[0]: https://github.com/caolan/async
-[1]: https://github.com/substack/node-mkdirp
-[2]: https://github.com/isaacs/rimraf
-[3]: https://github.com/avianflu/ncp
-[4]: https://vowsjs.org
-[5]: https://npmjs.org
-[6]: https://github.com/pksunkara/inflect

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/lib/args.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/lib/args.js b/blackberry10/node_modules/prompt/node_modules/utile/lib/args.js
deleted file mode 100644
index 34f1c11..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/lib/args.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * args.js: function argument parsing helper utility
- *
- * (C) 2012, Nodejitsu Inc.
- * MIT LICENSE
- *
- */
-
-var utile = require('./index');
-
-//
-// ### function args(_args)
-// #### _args {Arguments} Original function arguments
-//
-// Top-level method will accept a javascript "arguments" object (the actual keyword
-// "arguments" inside any scope), and attempt to return back an intelligent object
-// representing the functions arguments
-//
-module.exports = function (_args) {
-  var args = utile.rargs(_args),
-      _cb;
-
-  //
-  // Find and define the first argument
-  //
-  Object.defineProperty(args, 'first', { value: args[0] });
-
-  //
-  // Find and define any callback
-  //
-  _cb = args[args.length - 1] || args[args.length];
-  if (typeof _cb === "function") {
-    Object.defineProperty(args, 'callback', { value: _cb });
-    Object.defineProperty(args, 'cb', { value: _cb });
-    args.pop();
-  }
-
-  //
-  // Find and define the last argument
-  //
-  if (args.length) {
-    Object.defineProperty(args, 'last', { value: args[args.length - 1] });
-  }
-
-  return args;
-};

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/a6733a83/blackberry10/node_modules/prompt/node_modules/utile/lib/base64.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/lib/base64.js b/blackberry10/node_modules/prompt/node_modules/utile/lib/base64.js
deleted file mode 100644
index 1de7a76..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/lib/base64.js
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * base64.js: An extremely simple implementation of base64 encoding / decoding using node.js Buffers
- *
- * (C) 2010, Nodejitsu Inc.
- *
- */
-
-var base64 = exports;
-
-//
-// ### function encode (unencoded)
-// #### @unencoded {string} The string to base64 encode
-// Encodes the specified string to base64 using node.js Buffers.
-//
-base64.encode = function (unencoded) {
-  var encoded;
-
-  try {
-    encoded = new Buffer(unencoded || '').toString('base64');
-  }
-  catch (ex) {
-    return null;
-  }
-
-  return encoded;
-};
-
-//
-// ### function decode (encoded)
-// #### @encoded {string} The string to base64 decode
-// Decodes the specified string from base64 using node.js Buffers.
-//
-base64.decode = function (encoded) {
-  var decoded;
-
-  try {
-    decoded = new Buffer(encoded || '', 'base64').toString('utf8');
-  }
-  catch (ex) {
-    return null;
-  }
-
-  return decoded;
-};
\ 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/lib/file.js
----------------------------------------------------------------------
diff --git a/blackberry10/node_modules/prompt/node_modules/utile/lib/file.js b/blackberry10/node_modules/prompt/node_modules/utile/lib/file.js
deleted file mode 100644
index 4641878..0000000
--- a/blackberry10/node_modules/prompt/node_modules/utile/lib/file.js
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * file.js: Simple utilities for working with the file system.
- *
- * (C) 2011, Nodejitsu Inc.
- * MIT LICENSE
- *
- */
-
-var fs = require('fs');
-
-exports.readJson = exports.readJSON = function (file, callback) {
-  if (typeof callback !== 'function') {
-    throw new Error('utile.file.readJson needs a callback');
-  }
-
-  fs.readFile(file, 'utf-8', function (err, data) {
-    if (err) {
-      return callback(err);
-    }
-
-    try {
-      var json = JSON.parse(data);
-      callback(null, json);
-    }
-    catch (err) {
-      return callback(err);
-    }
-  });
-};
-
-exports.readJsonSync = exports.readJSONSync = function (file) {
-  return JSON.parse(fs.readFileSync(file, 'utf-8'));
-};


Mime
View raw message