fsevents 1.0.11 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fsevents might be problematic. Click here for more details.

Files changed (641) hide show
  1. package/.npmignore +1 -3
  2. package/.travis.yml +7 -5
  3. package/ISSUE_TEMPLATE.md +8 -0
  4. package/build/.target.mk +49 -0
  5. package/build/Makefile +352 -0
  6. package/build/action_after_build.target.mk +32 -0
  7. package/build/binding.Makefile +6 -0
  8. package/build/fse.target.mk +169 -0
  9. package/build/gyp-mac-tool +612 -0
  10. package/fsevents.cc +2 -2
  11. package/lib/binding/Release/node-v11-darwin-x64/fse.node +0 -0
  12. package/lib/binding/Release/node-v46-darwin-x64/fse.node +0 -0
  13. package/lib/binding/Release/node-v47-darwin-x64/fse.node +0 -0
  14. package/lib/binding/Release/node-v48-darwin-x64/fse.node +0 -0
  15. package/node_modules/{aws4/node_modules/lru-cache/node_modules/pseudomap → abbrev}/LICENSE +0 -0
  16. package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → abbrev}/README.md +0 -0
  17. package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → abbrev}/abbrev.js +0 -0
  18. package/node_modules/abbrev/package.json +90 -0
  19. package/node_modules/{lodash.repeat/LICENSE → ansi-regex/license} +5 -7
  20. package/node_modules/ansi-regex/package.json +47 -21
  21. package/node_modules/{lodash.padstart/LICENSE → ansi-styles/license} +5 -7
  22. package/node_modules/ansi-styles/package.json +44 -19
  23. package/node_modules/aproba/LICENSE +14 -0
  24. package/node_modules/aproba/README.md +59 -0
  25. package/node_modules/aproba/index.js +62 -0
  26. package/node_modules/aproba/package.json +96 -0
  27. package/node_modules/are-we-there-yet/package.json +31 -6
  28. package/node_modules/asn1/package.json +31 -5
  29. package/node_modules/assert-plus/package.json +33 -8
  30. package/node_modules/{node-uuid/LICENSE.md → asynckit/LICENSE} +1 -1
  31. package/node_modules/asynckit/README.md +233 -0
  32. package/node_modules/asynckit/bench.js +76 -0
  33. package/node_modules/asynckit/index.js +6 -0
  34. package/node_modules/asynckit/lib/abort.js +29 -0
  35. package/node_modules/asynckit/lib/async.js +34 -0
  36. package/node_modules/asynckit/lib/defer.js +26 -0
  37. package/node_modules/asynckit/lib/iterate.js +75 -0
  38. package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  39. package/node_modules/asynckit/lib/readable_parallel.js +25 -0
  40. package/node_modules/asynckit/lib/readable_serial.js +25 -0
  41. package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  42. package/node_modules/asynckit/lib/state.js +37 -0
  43. package/node_modules/asynckit/lib/streamify.js +141 -0
  44. package/node_modules/asynckit/lib/terminator.js +29 -0
  45. package/node_modules/asynckit/package.json +126 -0
  46. package/node_modules/asynckit/parallel.js +43 -0
  47. package/node_modules/asynckit/serial.js +17 -0
  48. package/node_modules/asynckit/serialOrdered.js +75 -0
  49. package/node_modules/asynckit/stream.js +21 -0
  50. package/node_modules/aws-sign2/package.json +31 -5
  51. package/node_modules/aws4/README.md +9 -0
  52. package/node_modules/aws4/aws4.js +9 -4
  53. package/node_modules/aws4/lru.js +96 -0
  54. package/node_modules/aws4/package.json +79 -56
  55. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion → balanced-match}/.npmignore +2 -0
  56. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/LICENSE.md +0 -0
  57. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/README.md +5 -3
  58. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/index.js +9 -1
  59. package/node_modules/balanced-match/package.json +110 -0
  60. package/node_modules/bcrypt-pbkdf/README.md +39 -0
  61. package/node_modules/bcrypt-pbkdf/index.js +559 -0
  62. package/node_modules/bcrypt-pbkdf/package.json +72 -0
  63. package/node_modules/block-stream/package.json +47 -14
  64. package/node_modules/boom/package.json +30 -4
  65. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/README.md +0 -0
  66. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/index.js +10 -0
  67. package/node_modules/brace-expansion/package.json +112 -0
  68. package/node_modules/buffer-shims/index.js +108 -0
  69. package/node_modules/buffer-shims/license.md +19 -0
  70. package/node_modules/buffer-shims/package.json +86 -0
  71. package/node_modules/buffer-shims/readme.md +21 -0
  72. package/node_modules/caseless/package.json +34 -8
  73. package/node_modules/{lodash.pad/LICENSE → chalk/license} +5 -7
  74. package/node_modules/chalk/node_modules/supports-color/index.js +50 -0
  75. package/node_modules/chalk/node_modules/supports-color/license +21 -0
  76. package/node_modules/chalk/node_modules/supports-color/package.json +113 -0
  77. package/node_modules/chalk/node_modules/supports-color/readme.md +36 -0
  78. package/node_modules/chalk/package.json +47 -22
  79. package/node_modules/code-point-at/index.js +32 -0
  80. package/node_modules/code-point-at/license +21 -0
  81. package/node_modules/code-point-at/package.json +106 -0
  82. package/node_modules/code-point-at/readme.md +32 -0
  83. package/node_modules/combined-stream/package.json +31 -5
  84. package/node_modules/commander/History.md +261 -0
  85. package/node_modules/commander/LICENSE +22 -0
  86. package/node_modules/commander/package.json +32 -6
  87. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/.travis.yml +0 -0
  88. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/LICENSE +0 -0
  89. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/README.markdown +0 -0
  90. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/example/map.js +0 -0
  91. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/index.js +0 -0
  92. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/package.json +47 -21
  93. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/test/map.js +0 -0
  94. package/node_modules/console-control-strings/LICENSE +13 -0
  95. package/node_modules/console-control-strings/README.md +145 -0
  96. package/node_modules/console-control-strings/README.md~ +140 -0
  97. package/node_modules/console-control-strings/index.js +125 -0
  98. package/node_modules/console-control-strings/package.json +96 -0
  99. package/node_modules/core-util-is/package.json +38 -11
  100. package/node_modules/cryptiles/package.json +30 -4
  101. package/node_modules/dashdash/CHANGES.md +364 -0
  102. package/node_modules/dashdash/LICENSE.txt +24 -0
  103. package/node_modules/dashdash/etc/dashdash.bash_completion.in +4 -3
  104. package/node_modules/dashdash/lib/dashdash.js +34 -1
  105. package/node_modules/dashdash/node_modules/assert-plus/package.json +33 -8
  106. package/node_modules/dashdash/package.json +49 -23
  107. package/node_modules/debug/package.json +36 -10
  108. package/node_modules/deep-extend/CHANGELOG.md +21 -0
  109. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → deep-extend}/LICENSE +3 -1
  110. package/node_modules/deep-extend/package.json +40 -15
  111. package/node_modules/delayed-stream/package.json +31 -5
  112. package/node_modules/delegates/package.json +31 -6
  113. package/node_modules/ecc-jsbn/package.json +33 -7
  114. package/node_modules/escape-string-regexp/license +21 -0
  115. package/node_modules/escape-string-regexp/package.json +37 -12
  116. package/node_modules/extend/package.json +32 -6
  117. package/node_modules/extsprintf/package.json +30 -5
  118. package/node_modules/forever-agent/package.json +31 -5
  119. package/node_modules/form-data/README.md +7 -8
  120. package/node_modules/form-data/lib/browser.js +1 -1
  121. package/node_modules/form-data/lib/form_data.js +101 -72
  122. package/node_modules/form-data/lib/populate.js +6 -5
  123. package/node_modules/form-data/package.json +80 -47
  124. package/node_modules/fs.realpath/LICENSE +43 -0
  125. package/node_modules/fs.realpath/README.md +33 -0
  126. package/node_modules/fs.realpath/index.js +66 -0
  127. package/node_modules/fs.realpath/old.js +303 -0
  128. package/node_modules/fs.realpath/package.json +94 -0
  129. package/node_modules/fstream/.travis.yml +4 -4
  130. package/node_modules/fstream/lib/collect.js +2 -0
  131. package/node_modules/fstream/package.json +46 -16
  132. package/node_modules/fstream-ignore/package.json +54 -18
  133. package/node_modules/gauge/CHANGELOG.md +145 -0
  134. package/node_modules/gauge/README.md +321 -88
  135. package/node_modules/gauge/base-theme.js +14 -0
  136. package/node_modules/gauge/error.js +24 -0
  137. package/node_modules/gauge/has-color.js +12 -0
  138. package/node_modules/gauge/index.js +230 -0
  139. package/node_modules/gauge/package.json +82 -27
  140. package/node_modules/gauge/plumbing.js +47 -0
  141. package/node_modules/gauge/process.js +3 -0
  142. package/node_modules/gauge/progress-bar.js +29 -219
  143. package/node_modules/gauge/render-template.js +181 -0
  144. package/node_modules/gauge/set-immediate.js +7 -0
  145. package/node_modules/gauge/set-interval.js +3 -0
  146. package/node_modules/gauge/spin.js +5 -0
  147. package/node_modules/gauge/template-item.js +73 -0
  148. package/node_modules/gauge/theme-set.js +115 -0
  149. package/node_modules/gauge/themes.js +54 -0
  150. package/node_modules/gauge/wide-truncate.js +25 -0
  151. package/node_modules/generate-function/package.json +32 -6
  152. package/node_modules/generate-object-property/package.json +30 -4
  153. package/node_modules/getpass/.npmignore +8 -0
  154. package/node_modules/getpass/.travis.yml +9 -0
  155. package/node_modules/getpass/LICENSE +18 -0
  156. package/node_modules/getpass/README.md +32 -0
  157. package/node_modules/getpass/lib/index.js +123 -0
  158. package/node_modules/getpass/node_modules/assert-plus/AUTHORS +6 -0
  159. package/node_modules/getpass/node_modules/assert-plus/CHANGES.md +14 -0
  160. package/node_modules/getpass/node_modules/assert-plus/README.md +162 -0
  161. package/node_modules/getpass/node_modules/assert-plus/assert.js +211 -0
  162. package/node_modules/getpass/node_modules/assert-plus/package.json +115 -0
  163. package/node_modules/getpass/package.json +90 -0
  164. package/node_modules/{aws4/node_modules/lru-cache/node_modules/yallist → glob}/LICENSE +0 -0
  165. package/node_modules/{rimraf/node_modules/glob → glob}/README.md +3 -0
  166. package/node_modules/glob/changelog.md +67 -0
  167. package/node_modules/{rimraf/node_modules/glob → glob}/common.js +6 -1
  168. package/node_modules/{rimraf/node_modules/glob → glob}/glob.js +25 -15
  169. package/node_modules/glob/package.json +111 -0
  170. package/node_modules/{rimraf/node_modules/glob → glob}/sync.js +31 -12
  171. package/node_modules/graceful-fs/LICENSE +15 -0
  172. package/node_modules/graceful-fs/README.md +83 -3
  173. package/node_modules/graceful-fs/graceful-fs.js +23 -14
  174. package/node_modules/graceful-fs/package.json +50 -24
  175. package/node_modules/graceful-fs/polyfills.js +99 -21
  176. package/node_modules/graceful-readlink/package.json +30 -4
  177. package/node_modules/har-validator/LICENSE +13 -0
  178. package/node_modules/har-validator/package.json +32 -6
  179. package/node_modules/has-ansi/license +21 -0
  180. package/node_modules/has-ansi/package.json +45 -19
  181. package/node_modules/has-unicode/index.js +3 -8
  182. package/node_modules/has-unicode/package.json +50 -18
  183. package/node_modules/hawk/package.json +34 -8
  184. package/node_modules/hoek/package.json +30 -4
  185. package/node_modules/http-signature/package.json +30 -4
  186. package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/LICENSE +0 -0
  187. package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/README.md +0 -0
  188. package/node_modules/inflight/inflight.js +54 -0
  189. package/node_modules/inflight/package.json +105 -0
  190. package/node_modules/inherits/inherits.js +7 -1
  191. package/node_modules/inherits/package.json +53 -26
  192. package/node_modules/{node-pre-gyp/node_modules/nopt → ini}/LICENSE +0 -0
  193. package/node_modules/ini/package.json +32 -7
  194. package/node_modules/is-fullwidth-code-point/index.js +46 -0
  195. package/node_modules/is-fullwidth-code-point/license +21 -0
  196. package/node_modules/is-fullwidth-code-point/package.json +108 -0
  197. package/node_modules/is-fullwidth-code-point/readme.md +39 -0
  198. package/node_modules/is-my-json-valid/index.js +10 -0
  199. package/node_modules/is-my-json-valid/package.json +52 -19
  200. package/node_modules/is-my-json-valid/test/misc.js +24 -0
  201. package/node_modules/is-property/package.json +35 -9
  202. package/node_modules/is-typedarray/package.json +32 -6
  203. package/node_modules/isarray/package.json +44 -17
  204. package/node_modules/isstream/package.json +35 -9
  205. package/node_modules/jodid25519/package.json +33 -7
  206. package/node_modules/jsbn/package.json +30 -4
  207. package/node_modules/json-schema/lib/links.js +17 -3
  208. package/node_modules/json-schema/lib/validate.js +18 -5
  209. package/node_modules/json-schema/package.json +44 -12
  210. package/node_modules/json-stringify-safe/package.json +34 -8
  211. package/node_modules/jsonpointer/LICENSE.md +21 -0
  212. package/node_modules/jsonpointer/README.md +17 -10
  213. package/node_modules/jsonpointer/jsonpointer.js +73 -56
  214. package/node_modules/jsonpointer/package.json +57 -18
  215. package/node_modules/jsprim/CHANGES.md +9 -0
  216. package/node_modules/jsprim/README.md +13 -4
  217. package/node_modules/jsprim/lib/jsprim.js +12 -2
  218. package/node_modules/jsprim/package.json +44 -14
  219. package/node_modules/mime-db/HISTORY.md +55 -0
  220. package/node_modules/mime-db/db.json +139 -2
  221. package/node_modules/mime-db/package.json +56 -27
  222. package/node_modules/mime-types/HISTORY.md +19 -0
  223. package/node_modules/mime-types/index.js +8 -8
  224. package/node_modules/mime-types/package.json +48 -19
  225. package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → minimatch}/LICENSE +0 -0
  226. package/node_modules/{fstream-ignore/node_modules/minimatch → minimatch}/README.md +2 -9
  227. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch → minimatch}/minimatch.js +34 -23
  228. package/node_modules/minimatch/package.json +98 -0
  229. package/node_modules/minimist/package.json +24 -16
  230. package/node_modules/mkdirp/package.json +25 -15
  231. package/node_modules/ms/History.md +66 -0
  232. package/node_modules/ms/package.json +29 -3
  233. package/node_modules/node-pre-gyp/CHANGELOG.md +37 -0
  234. package/node_modules/node-pre-gyp/README.md +34 -30
  235. package/node_modules/node-pre-gyp/appveyor.yml +20 -10
  236. package/node_modules/node-pre-gyp/lib/install.js +42 -8
  237. package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +2 -0
  238. package/node_modules/node-pre-gyp/lib/testbinary.js +9 -9
  239. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +172 -0
  240. package/node_modules/node-pre-gyp/package.json +55 -57
  241. package/node_modules/{ansi → nopt}/.npmignore +0 -0
  242. package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/.travis.yml +0 -0
  243. package/node_modules/{rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → nopt}/LICENSE +0 -0
  244. package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/README.md +0 -0
  245. package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/bin/nopt.js +0 -0
  246. package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/examples/my-program.js +0 -0
  247. package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/lib/nopt.js +0 -0
  248. package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/package.json +32 -6
  249. package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/test/basic.js +0 -0
  250. package/node_modules/npmlog/CHANGELOG.md +45 -0
  251. package/node_modules/npmlog/README.md +23 -2
  252. package/node_modules/npmlog/log.js +109 -58
  253. package/node_modules/npmlog/package.json +54 -20
  254. package/node_modules/number-is-nan/index.js +4 -0
  255. package/node_modules/number-is-nan/license +21 -0
  256. package/node_modules/number-is-nan/package.json +103 -0
  257. package/node_modules/number-is-nan/readme.md +28 -0
  258. package/node_modules/oauth-sign/package.json +47 -15
  259. package/node_modules/object-assign/index.js +83 -0
  260. package/node_modules/object-assign/license +21 -0
  261. package/node_modules/object-assign/package.json +114 -0
  262. package/node_modules/object-assign/readme.md +56 -0
  263. package/node_modules/{rimraf/node_modules/glob/node_modules/once/node_modules/wrappy → once}/LICENSE +0 -0
  264. package/node_modules/once/README.md +28 -0
  265. package/node_modules/once/once.js +21 -0
  266. package/node_modules/once/package.json +47 -16
  267. package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/index.js +5 -5
  268. package/node_modules/path-is-absolute/license +21 -0
  269. package/node_modules/path-is-absolute/package.json +111 -0
  270. package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/readme.md +19 -11
  271. package/node_modules/pinkie/license +21 -0
  272. package/node_modules/pinkie/package.json +35 -10
  273. package/node_modules/pinkie-promise/index.js +1 -1
  274. package/node_modules/pinkie-promise/license +21 -0
  275. package/node_modules/pinkie-promise/package.json +46 -16
  276. package/node_modules/process-nextick-args/index.js +31 -8
  277. package/node_modules/process-nextick-args/package.json +44 -13
  278. package/node_modules/punycode/LICENSE-MIT.txt +20 -0
  279. package/node_modules/punycode/README.md +176 -0
  280. package/node_modules/punycode/package.json +127 -0
  281. package/node_modules/punycode/punycode.js +533 -0
  282. package/node_modules/qs/.eslintrc +15 -13
  283. package/node_modules/qs/CHANGELOG.md +34 -0
  284. package/node_modules/qs/README.md +66 -3
  285. package/node_modules/qs/dist/qs.js +196 -97
  286. package/node_modules/qs/lib/formats.js +18 -0
  287. package/node_modules/qs/lib/index.js +6 -4
  288. package/node_modules/qs/lib/parse.js +48 -46
  289. package/node_modules/qs/lib/stringify.js +90 -33
  290. package/node_modules/qs/lib/utils.js +28 -10
  291. package/node_modules/qs/package.json +57 -24
  292. package/node_modules/qs/test/.eslintrc +9 -0
  293. package/node_modules/qs/test/index.js +2 -0
  294. package/node_modules/qs/test/parse.js +100 -34
  295. package/node_modules/qs/test/stringify.js +315 -12
  296. package/node_modules/qs/test/utils.js +13 -0
  297. package/node_modules/rc/node_modules/minimist/package.json +40 -14
  298. package/node_modules/rc/package.json +34 -9
  299. package/node_modules/readable-stream/.npmignore +5 -1
  300. package/node_modules/readable-stream/.travis.yml +4 -7
  301. package/node_modules/readable-stream/README.md +6 -2
  302. package/node_modules/readable-stream/lib/_stream_readable.js +173 -112
  303. package/node_modules/readable-stream/lib/_stream_transform.js +9 -7
  304. package/node_modules/readable-stream/lib/_stream_writable.js +57 -19
  305. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
  306. package/node_modules/readable-stream/package.json +59 -22
  307. package/node_modules/readable-stream/readable.js +4 -0
  308. package/node_modules/request/CHANGELOG.md +93 -24
  309. package/node_modules/request/README.md +12 -8
  310. package/node_modules/request/index.js +8 -8
  311. package/node_modules/request/lib/auth.js +1 -1
  312. package/node_modules/request/lib/helpers.js +7 -16
  313. package/node_modules/request/lib/multipart.js +1 -1
  314. package/node_modules/request/lib/oauth.js +1 -1
  315. package/node_modules/request/lib/redirect.js +5 -1
  316. package/node_modules/request/package.json +79 -38
  317. package/node_modules/request/request.js +140 -84
  318. package/node_modules/rimraf/package.json +44 -19
  319. package/node_modules/rimraf/rimraf.js +12 -4
  320. package/node_modules/semver/README.md +31 -8
  321. package/node_modules/semver/package.json +48 -14
  322. package/node_modules/semver/range.bnf +1 -1
  323. package/node_modules/semver/semver.js +21 -6
  324. package/node_modules/set-blocking/CHANGELOG.md +26 -0
  325. package/node_modules/set-blocking/LICENSE.txt +14 -0
  326. package/node_modules/set-blocking/README.md +31 -0
  327. package/node_modules/set-blocking/index.js +7 -0
  328. package/node_modules/set-blocking/package.json +106 -0
  329. package/node_modules/signal-exit/CHANGELOG.md +27 -0
  330. package/node_modules/signal-exit/LICENSE.txt +16 -0
  331. package/node_modules/signal-exit/README.md +40 -0
  332. package/node_modules/signal-exit/index.js +157 -0
  333. package/node_modules/signal-exit/package.json +106 -0
  334. package/node_modules/signal-exit/signals.js +53 -0
  335. package/node_modules/sntp/package.json +32 -6
  336. package/node_modules/sshpk/.travis.yml +3 -3
  337. package/node_modules/sshpk/README.md +237 -7
  338. package/node_modules/sshpk/bin/sshpk-conv +20 -2
  339. package/node_modules/sshpk/bin/sshpk-sign +16 -1
  340. package/node_modules/sshpk/lib/certificate.js +291 -0
  341. package/node_modules/sshpk/lib/errors.js +27 -1
  342. package/node_modules/sshpk/lib/fingerprint.js +28 -7
  343. package/node_modules/sshpk/lib/formats/auto.js +8 -8
  344. package/node_modules/sshpk/lib/formats/openssh-cert.js +289 -0
  345. package/node_modules/sshpk/lib/formats/pem.js +41 -7
  346. package/node_modules/sshpk/lib/formats/pkcs1.js +4 -4
  347. package/node_modules/sshpk/lib/formats/pkcs8.js +6 -11
  348. package/node_modules/sshpk/lib/formats/rfc4253.js +2 -2
  349. package/node_modules/sshpk/lib/formats/ssh-private.js +143 -20
  350. package/node_modules/sshpk/lib/formats/ssh.js +2 -2
  351. package/node_modules/sshpk/lib/formats/x509-pem.js +77 -0
  352. package/node_modules/sshpk/lib/formats/x509.js +484 -0
  353. package/node_modules/sshpk/lib/identity.js +255 -0
  354. package/node_modules/sshpk/lib/index.js +14 -1
  355. package/node_modules/sshpk/lib/key.js +21 -17
  356. package/node_modules/sshpk/lib/private-key.js +19 -12
  357. package/node_modules/sshpk/lib/signature.js +14 -6
  358. package/node_modules/sshpk/lib/ssh-buffer.js +24 -0
  359. package/node_modules/sshpk/lib/utils.js +82 -1
  360. package/node_modules/sshpk/node_modules/assert-plus/AUTHORS +6 -0
  361. package/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +14 -0
  362. package/node_modules/sshpk/node_modules/assert-plus/README.md +162 -0
  363. package/node_modules/sshpk/node_modules/assert-plus/assert.js +211 -0
  364. package/node_modules/sshpk/node_modules/assert-plus/package.json +115 -0
  365. package/node_modules/sshpk/package.json +63 -35
  366. package/node_modules/string-width/index.js +37 -0
  367. package/node_modules/string-width/license +21 -0
  368. package/node_modules/string-width/package.json +124 -0
  369. package/node_modules/string-width/readme.md +42 -0
  370. package/node_modules/string_decoder/package.json +35 -8
  371. package/node_modules/stringstream/package.json +34 -8
  372. package/node_modules/strip-ansi/license +21 -0
  373. package/node_modules/strip-ansi/package.json +49 -22
  374. package/node_modules/strip-json-comments/license +21 -0
  375. package/node_modules/strip-json-comments/package.json +43 -17
  376. package/node_modules/supports-color/cli.js +28 -0
  377. package/node_modules/supports-color/index.js +2 -20
  378. package/node_modules/supports-color/package.json +61 -36
  379. package/node_modules/supports-color/readme.md +14 -6
  380. package/node_modules/tar/package.json +31 -5
  381. package/node_modules/tar-pack/README.md +4 -1
  382. package/node_modules/tar-pack/index.js +17 -12
  383. package/node_modules/tar-pack/node_modules/once/LICENSE +15 -0
  384. package/node_modules/{rimraf/node_modules/glob → tar-pack}/node_modules/once/README.md +0 -0
  385. package/node_modules/{rimraf/node_modules/glob → tar-pack}/node_modules/once/once.js +0 -0
  386. package/node_modules/{rimraf/node_modules/glob → tar-pack}/node_modules/once/package.json +34 -9
  387. package/node_modules/tar-pack/node_modules/readable-stream/.npmignore +8 -0
  388. package/node_modules/tar-pack/node_modules/readable-stream/.travis.yml +49 -0
  389. package/node_modules/tar-pack/node_modules/readable-stream/LICENSE +18 -0
  390. package/node_modules/tar-pack/node_modules/readable-stream/README.md +36 -0
  391. package/node_modules/tar-pack/node_modules/readable-stream/doc/stream.md +2015 -0
  392. package/node_modules/tar-pack/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  393. package/node_modules/tar-pack/node_modules/readable-stream/duplex.js +1 -0
  394. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
  395. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
  396. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_readable.js +937 -0
  397. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_transform.js +180 -0
  398. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_writable.js +526 -0
  399. package/node_modules/tar-pack/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
  400. package/node_modules/tar-pack/node_modules/readable-stream/package.json +125 -0
  401. package/node_modules/tar-pack/node_modules/readable-stream/passthrough.js +1 -0
  402. package/node_modules/tar-pack/node_modules/readable-stream/readable.js +16 -0
  403. package/node_modules/tar-pack/node_modules/readable-stream/transform.js +1 -0
  404. package/node_modules/tar-pack/node_modules/readable-stream/writable.js +1 -0
  405. package/node_modules/tar-pack/package.json +54 -20
  406. package/node_modules/tar-pack/test/index.js +43 -1
  407. package/node_modules/tough-cookie/LICENSE +27 -0
  408. package/node_modules/tough-cookie/README.md +17 -3
  409. package/node_modules/tough-cookie/lib/cookie.js +6 -12
  410. package/node_modules/tough-cookie/package.json +62 -30
  411. package/node_modules/tunnel-agent/package.json +46 -13
  412. package/node_modules/tweetnacl/AUTHORS.md +28 -0
  413. package/node_modules/tweetnacl/CHANGELOG.md +40 -0
  414. package/node_modules/tweetnacl/LICENSE +24 -0
  415. package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +20 -0
  416. package/node_modules/tweetnacl/README.md +33 -19
  417. package/node_modules/tweetnacl/nacl-fast.min.js +2 -2
  418. package/node_modules/tweetnacl/nacl.d.ts +98 -0
  419. package/node_modules/tweetnacl/nacl.min.js +1 -1
  420. package/node_modules/tweetnacl/package.json +44 -17
  421. package/node_modules/uid-number/package.json +32 -7
  422. package/node_modules/util-deprecate/package.json +37 -10
  423. package/node_modules/uuid/.npmignore +8 -0
  424. package/node_modules/uuid/.travis.yml +5 -0
  425. package/node_modules/uuid/AUTHORS +5 -0
  426. package/node_modules/uuid/HISTORY.md +28 -0
  427. package/node_modules/{lodash.padend/LICENSE → uuid/LICENSE.md} +1 -3
  428. package/node_modules/uuid/README.md +132 -0
  429. package/node_modules/{node-uuid → uuid}/bin/uuid +0 -0
  430. package/node_modules/uuid/index.js +8 -0
  431. package/node_modules/uuid/lib/bytesToUuid.js +23 -0
  432. package/node_modules/uuid/lib/rng-browser.js +33 -0
  433. package/node_modules/uuid/lib/rng.js +10 -0
  434. package/node_modules/uuid/package.json +122 -0
  435. package/node_modules/uuid/test/mocha.opts +3 -0
  436. package/node_modules/uuid/test/test.js +96 -0
  437. package/node_modules/uuid/v1.js +103 -0
  438. package/node_modules/uuid/v4.js +29 -0
  439. package/node_modules/verror/package.json +30 -5
  440. package/node_modules/wide-align/.npmignore +5 -0
  441. package/node_modules/wide-align/LICENSE +14 -0
  442. package/node_modules/wide-align/README.md +47 -0
  443. package/node_modules/wide-align/align.js +65 -0
  444. package/node_modules/wide-align/package.json +93 -0
  445. package/node_modules/wide-align/test/align.js +37 -0
  446. package/node_modules/wrappy/package.json +55 -16
  447. package/node_modules/xtend/package.json +45 -19
  448. package/package.json +3 -3
  449. package/node_modules/ansi/.jshintrc +0 -4
  450. package/node_modules/ansi/History.md +0 -23
  451. package/node_modules/ansi/LICENSE +0 -24
  452. package/node_modules/ansi/README.md +0 -98
  453. package/node_modules/ansi/examples/beep/index.js +0 -16
  454. package/node_modules/ansi/examples/clear/index.js +0 -15
  455. package/node_modules/ansi/examples/cursorPosition.js +0 -32
  456. package/node_modules/ansi/examples/progress/index.js +0 -87
  457. package/node_modules/ansi/lib/ansi.js +0 -405
  458. package/node_modules/ansi/lib/newlines.js +0 -71
  459. package/node_modules/ansi/package.json +0 -69
  460. package/node_modules/async/README.md +0 -1877
  461. package/node_modules/async/dist/async.js +0 -1265
  462. package/node_modules/async/dist/async.min.js +0 -2
  463. package/node_modules/async/lib/async.js +0 -1265
  464. package/node_modules/async/package.json +0 -131
  465. package/node_modules/aws4/node_modules/lru-cache/README.md +0 -142
  466. package/node_modules/aws4/node_modules/lru-cache/lib/lru-cache.js +0 -469
  467. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/README.md +0 -60
  468. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/map.js +0 -9
  469. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/package.json +0 -60
  470. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/pseudomap.js +0 -113
  471. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/test/basic.js +0 -86
  472. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.npmignore +0 -4
  473. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.travis.yml +0 -7
  474. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/CONTRIBUTING.md +0 -4
  475. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/README.md +0 -204
  476. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/package.json +0 -60
  477. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/test/basic.js +0 -188
  478. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/yallist.js +0 -360
  479. package/node_modules/aws4/node_modules/lru-cache/package.json +0 -78
  480. package/node_modules/bl/.jshintrc +0 -59
  481. package/node_modules/bl/.npmignore +0 -1
  482. package/node_modules/bl/.travis.yml +0 -13
  483. package/node_modules/bl/LICENSE.md +0 -13
  484. package/node_modules/bl/README.md +0 -200
  485. package/node_modules/bl/bl.js +0 -227
  486. package/node_modules/bl/package.json +0 -72
  487. package/node_modules/bl/test/test.js +0 -571
  488. package/node_modules/block-stream/bench/block-stream-pause.js +0 -70
  489. package/node_modules/block-stream/bench/block-stream.js +0 -68
  490. package/node_modules/block-stream/bench/dropper-pause.js +0 -70
  491. package/node_modules/block-stream/bench/dropper.js +0 -68
  492. package/node_modules/block-stream/test/basic.js +0 -27
  493. package/node_modules/block-stream/test/nopad-thorough.js +0 -68
  494. package/node_modules/block-stream/test/nopad.js +0 -57
  495. package/node_modules/block-stream/test/pause-resume.js +0 -73
  496. package/node_modules/block-stream/test/thorough.js +0 -68
  497. package/node_modules/block-stream/test/two-stream.js +0 -59
  498. package/node_modules/form-data/.dockerignore +0 -7
  499. package/node_modules/form-data/.editorconfig +0 -10
  500. package/node_modules/form-data/.eslintignore +0 -1
  501. package/node_modules/form-data/.eslintrc +0 -64
  502. package/node_modules/form-data/wercker.yml +0 -36
  503. package/node_modules/fstream-ignore/.npmignore +0 -1
  504. package/node_modules/fstream-ignore/example/basic.js +0 -13
  505. package/node_modules/fstream-ignore/node_modules/minimatch/minimatch.js +0 -912
  506. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
  507. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -191
  508. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
  509. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +0 -3
  510. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
  511. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +0 -89
  512. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
  513. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +0 -80
  514. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
  515. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +0 -91
  516. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -86
  517. package/node_modules/fstream-ignore/node_modules/minimatch/package.json +0 -67
  518. package/node_modules/fstream-ignore/test/.ignore +0 -2
  519. package/node_modules/fstream-ignore/test/.npmignore +0 -1
  520. package/node_modules/fstream-ignore/test/00-setup.js +0 -71
  521. package/node_modules/fstream-ignore/test/basic.js +0 -28
  522. package/node_modules/fstream-ignore/test/common.js +0 -40
  523. package/node_modules/fstream-ignore/test/ignore-most.js +0 -41
  524. package/node_modules/fstream-ignore/test/nested-ignores.js +0 -51
  525. package/node_modules/fstream-ignore/test/read-file-order.js +0 -81
  526. package/node_modules/fstream-ignore/test/unignore-child.js +0 -38
  527. package/node_modules/fstream-ignore/test/zz-cleanup.js +0 -10
  528. package/node_modules/gauge/.npmignore +0 -32
  529. package/node_modules/gauge/example.png +0 -0
  530. package/node_modules/gauge/test/progress-bar.js +0 -176
  531. package/node_modules/has-unicode/.npmignore +0 -32
  532. package/node_modules/has-unicode/test/index.js +0 -26
  533. package/node_modules/inherits/test.js +0 -25
  534. package/node_modules/jsonpointer/.travis.yml +0 -10
  535. package/node_modules/jsonpointer/test.js +0 -98
  536. package/node_modules/lodash.pad/README.md +0 -18
  537. package/node_modules/lodash.pad/index.js +0 -296
  538. package/node_modules/lodash.pad/package.json +0 -91
  539. package/node_modules/lodash.padend/README.md +0 -18
  540. package/node_modules/lodash.padend/index.js +0 -285
  541. package/node_modules/lodash.padend/package.json +0 -91
  542. package/node_modules/lodash.padstart/README.md +0 -18
  543. package/node_modules/lodash.padstart/index.js +0 -285
  544. package/node_modules/lodash.padstart/package.json +0 -91
  545. package/node_modules/lodash.repeat/README.md +0 -18
  546. package/node_modules/lodash.repeat/index.js +0 -215
  547. package/node_modules/lodash.repeat/package.json +0 -92
  548. package/node_modules/lodash.tostring/LICENSE +0 -23
  549. package/node_modules/lodash.tostring/README.md +0 -18
  550. package/node_modules/lodash.tostring/index.js +0 -164
  551. package/node_modules/lodash.tostring/package.json +0 -91
  552. package/node_modules/node-pre-gyp/node_modules/nopt/.npmignore +0 -1
  553. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.npmignore +0 -4
  554. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.travis.yml +0 -5
  555. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md +0 -3
  556. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/package.json +0 -56
  557. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/test.js +0 -47
  558. package/node_modules/node-uuid/.npmignore +0 -4
  559. package/node_modules/node-uuid/README.md +0 -254
  560. package/node_modules/node-uuid/benchmark/README.md +0 -53
  561. package/node_modules/node-uuid/benchmark/bench.gnu +0 -174
  562. package/node_modules/node-uuid/benchmark/bench.sh +0 -34
  563. package/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
  564. package/node_modules/node-uuid/benchmark/benchmark.js +0 -84
  565. package/node_modules/node-uuid/bower.json +0 -23
  566. package/node_modules/node-uuid/component.json +0 -25
  567. package/node_modules/node-uuid/package.json +0 -87
  568. package/node_modules/node-uuid/test/compare_v1.js +0 -63
  569. package/node_modules/node-uuid/test/test.html +0 -17
  570. package/node_modules/node-uuid/test/test.js +0 -231
  571. package/node_modules/node-uuid/uuid.js +0 -272
  572. package/node_modules/npmlog/.nyc_output/64996.json +0 -1
  573. package/node_modules/npmlog/.nyc_output/64998.json +0 -1
  574. package/node_modules/npmlog/.nyc_output/65000.json +0 -1
  575. package/node_modules/npmlog/.travis.yml +0 -14
  576. package/node_modules/npmlog/example.js +0 -39
  577. package/node_modules/npmlog/test/basic.js +0 -235
  578. package/node_modules/npmlog/test/progress.js +0 -131
  579. package/node_modules/oauth-sign/test.js +0 -89
  580. package/node_modules/qs/.npmignore +0 -18
  581. package/node_modules/qs/.travis.yml +0 -69
  582. package/node_modules/qs/bower.json +0 -22
  583. package/node_modules/qs/component.json +0 -15
  584. package/node_modules/readable-stream/.zuul.yml +0 -1
  585. package/node_modules/readable-stream/doc/stream.markdown +0 -1760
  586. package/node_modules/request/.eslintrc +0 -45
  587. package/node_modules/request/.npmignore +0 -6
  588. package/node_modules/request/.travis.yml +0 -15
  589. package/node_modules/request/CONTRIBUTING.md +0 -44
  590. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +0 -17
  591. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js +0 -44
  592. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +0 -36
  593. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +0 -59
  594. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +0 -51
  595. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +0 -33
  596. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +0 -68
  597. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +0 -97
  598. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +0 -16
  599. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +0 -42
  600. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +0 -1
  601. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
  602. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +0 -59
  603. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +0 -25
  604. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +0 -216
  605. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +0 -3
  606. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -122
  607. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
  608. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
  609. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +0 -3
  610. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +0 -21
  611. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
  612. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
  613. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +0 -50
  614. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +0 -80
  615. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
  616. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +0 -4
  617. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +0 -62
  618. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +0 -6
  619. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +0 -13
  620. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +0 -39
  621. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -86
  622. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +0 -67
  623. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +0 -36
  624. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +0 -59
  625. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +0 -51
  626. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +0 -33
  627. package/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +0 -79
  628. package/node_modules/rimraf/node_modules/glob/package.json +0 -85
  629. package/node_modules/semver/.npmignore +0 -4
  630. package/node_modules/semver/.travis.yml +0 -5
  631. package/node_modules/semver/test/big-numbers.js +0 -31
  632. package/node_modules/semver/test/clean.js +0 -29
  633. package/node_modules/semver/test/gtr.js +0 -173
  634. package/node_modules/semver/test/index.js +0 -698
  635. package/node_modules/semver/test/ltr.js +0 -181
  636. package/node_modules/semver/test/major-minor-patch.js +0 -72
  637. package/node_modules/tunnel-agent/.jshintrc +0 -5
  638. package/node_modules/tweetnacl/COPYING.txt +0 -9
  639. package/node_modules/wrappy/test/basic.js +0 -51
  640. package/test/fsevents.js +0 -27
  641. package/test/function.js +0 -93
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Vsevolod Strukchinsky <floatdrop@gmail.com> (github.com/floatdrop)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -1,23 +1,49 @@
1
1
  {
2
- "_from": "pinkie@^2.0.0",
2
+ "_args": [
3
+ [
4
+ {
5
+ "raw": "pinkie@^2.0.0",
6
+ "scope": null,
7
+ "escapedName": "pinkie",
8
+ "name": "pinkie",
9
+ "rawSpec": "^2.0.0",
10
+ "spec": ">=2.0.0 <3.0.0",
11
+ "type": "range"
12
+ },
13
+ "/Users/eshanker/Code/fsevents/node_modules/pinkie-promise"
14
+ ]
15
+ ],
16
+ "_from": "pinkie@>=2.0.0 <3.0.0",
3
17
  "_id": "pinkie@2.0.4",
18
+ "_inCache": true,
4
19
  "_location": "/pinkie",
5
20
  "_nodeVersion": "4.2.4",
6
21
  "_npmUser": {
7
- "email": "floatdrop@gmail.com",
8
- "name": "floatdrop"
22
+ "name": "floatdrop",
23
+ "email": "floatdrop@gmail.com"
9
24
  },
10
25
  "_npmVersion": "2.14.12",
11
26
  "_phantomChildren": {},
27
+ "_requested": {
28
+ "raw": "pinkie@^2.0.0",
29
+ "scope": null,
30
+ "escapedName": "pinkie",
31
+ "name": "pinkie",
32
+ "rawSpec": "^2.0.0",
33
+ "spec": ">=2.0.0 <3.0.0",
34
+ "type": "range"
35
+ },
12
36
  "_requiredBy": [
13
37
  "/pinkie-promise"
14
38
  ],
15
39
  "_resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
16
40
  "_shasum": "72556b80cfa0d48a974e80e77248e80ed4f7f870",
17
41
  "_shrinkwrap": null,
42
+ "_spec": "pinkie@^2.0.0",
43
+ "_where": "/Users/eshanker/Code/fsevents/node_modules/pinkie-promise",
18
44
  "author": {
19
- "email": "floatdrop@gmail.com",
20
45
  "name": "Vsevolod Strukchinsky",
46
+ "email": "floatdrop@gmail.com",
21
47
  "url": "github.com/floatdrop"
22
48
  },
23
49
  "bugs": {
@@ -36,7 +62,7 @@
36
62
  "directories": {},
37
63
  "dist": {
38
64
  "shasum": "72556b80cfa0d48a974e80e77248e80ed4f7f870",
39
- "tarball": "http://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz"
65
+ "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz"
40
66
  },
41
67
  "engines": {
42
68
  "node": ">=0.10.0"
@@ -47,10 +73,10 @@
47
73
  "gitHead": "8d4a92447a5c62bff9f89756caeb4c9c8770579b",
48
74
  "homepage": "https://github.com/floatdrop/pinkie",
49
75
  "keywords": [
50
- "es2015",
51
- "es6",
52
76
  "promise",
53
- "promises"
77
+ "promises",
78
+ "es2015",
79
+ "es6"
54
80
  ],
55
81
  "license": "MIT",
56
82
  "maintainers": [
@@ -61,8 +87,7 @@
61
87
  ],
62
88
  "name": "pinkie",
63
89
  "optionalDependencies": {},
64
- "readme": "<h1 align=\"center\">\n\t<br>\n\t<img width=\"256\" src=\"media/logo.png\" alt=\"pinkie\">\n\t<br>\n\t<br>\n</h1>\n\n> Itty bitty little widdle twinkie pinkie [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation\n\n[![Build Status](https://travis-ci.org/floatdrop/pinkie.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie) [![Coverage Status](https://coveralls.io/repos/floatdrop/pinkie/badge.svg?branch=master&service=github)](https://coveralls.io/github/floatdrop/pinkie?branch=master)\n\nThere are [tons of Promise implementations](https://github.com/promises-aplus/promises-spec/blob/master/implementations.md#standalone) out there, but all of them focus on browser compatibility and are often bloated with functionality.\n\nThis module is an exact Promise specification polyfill (like [native-promise-only](https://github.com/getify/native-promise-only)), but in Node.js land (it should be browserify-able though).\n\n\n## Install\n\n```\n$ npm install --save pinkie\n```\n\n\n## Usage\n\n```js\nvar fs = require('fs');\nvar Promise = require('pinkie');\n\nnew Promise(function (resolve, reject) {\n\tfs.readFile('foo.json', 'utf8', function (err, data) {\n\t\tif (err) {\n\t\t\treject(err);\n\t\t\treturn;\n\t\t}\n\n\t\tresolve(data);\n\t});\n});\n//=> Promise\n```\n\n\n### API\n\n`pinkie` exports bare [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation and polyfills [Node.js rejection events](https://nodejs.org/api/process.html#process_event_unhandledrejection). In case you forgot:\n\n#### new Promise(executor)\n\nReturns new instance of `Promise`.\n\n##### executor\n\n*Required* \nType: `function`\n\nFunction with two arguments `resolve` and `reject`. The first argument fulfills the promise, the second argument rejects it.\n\n#### pinkie.all(promises)\n\nReturns a promise that resolves when all of the promises in the `promises` Array argument have resolved.\n\n#### pinkie.race(promises)\n\nReturns a promise that resolves or rejects as soon as one of the promises in the `promises` Array resolves or rejects, with the value or reason from that promise.\n\n#### pinkie.reject(reason)\n\nReturns a Promise object that is rejected with the given `reason`.\n\n#### pinkie.resolve(value)\n\nReturns a Promise object that is resolved with the given `value`. If the `value` is a thenable (i.e. has a then method), the returned promise will \"follow\" that thenable, adopting its eventual state; otherwise the returned promise will be fulfilled with the `value`.\n\n\n## Related\n\n- [pinkie-promise](https://github.com/floatdrop/pinkie-promise) - Returns the native Promise or this module\n\n\n## License\n\nMIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)\n",
65
- "readmeFilename": "readme.md",
90
+ "readme": "ERROR: No README data found!",
66
91
  "repository": {
67
92
  "type": "git",
68
93
  "url": "git+https://github.com/floatdrop/pinkie.git"
@@ -1,3 +1,3 @@
1
1
  'use strict';
2
2
 
3
- module.exports = global.Promise || require('pinkie');
3
+ module.exports = typeof Promise === 'function' ? Promise : require('pinkie');
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Vsevolod Strukchinsky <floatdrop@gmail.com> (github.com/floatdrop)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -1,23 +1,53 @@
1
1
  {
2
- "_from": "pinkie-promise@^2.0.0",
3
- "_id": "pinkie-promise@2.0.0",
2
+ "_args": [
3
+ [
4
+ {
5
+ "raw": "pinkie-promise@^2.0.0",
6
+ "scope": null,
7
+ "escapedName": "pinkie-promise",
8
+ "name": "pinkie-promise",
9
+ "rawSpec": "^2.0.0",
10
+ "spec": ">=2.0.0 <3.0.0",
11
+ "type": "range"
12
+ },
13
+ "/Users/eshanker/Code/fsevents/node_modules/har-validator"
14
+ ]
15
+ ],
16
+ "_from": "pinkie-promise@>=2.0.0 <3.0.0",
17
+ "_id": "pinkie-promise@2.0.1",
18
+ "_inCache": true,
4
19
  "_location": "/pinkie-promise",
5
- "_nodeVersion": "4.2.0",
20
+ "_nodeVersion": "4.4.1",
21
+ "_npmOperationalInternal": {
22
+ "host": "packages-16-east.internal.npmjs.com",
23
+ "tmp": "tmp/pinkie-promise-2.0.1.tgz_1460309839126_0.3422858319245279"
24
+ },
6
25
  "_npmUser": {
7
- "email": "floatdrop@gmail.com",
8
- "name": "floatdrop"
26
+ "name": "floatdrop",
27
+ "email": "floatdrop@gmail.com"
9
28
  },
10
- "_npmVersion": "2.14.7",
29
+ "_npmVersion": "2.14.20",
11
30
  "_phantomChildren": {},
31
+ "_requested": {
32
+ "raw": "pinkie-promise@^2.0.0",
33
+ "scope": null,
34
+ "escapedName": "pinkie-promise",
35
+ "name": "pinkie-promise",
36
+ "rawSpec": "^2.0.0",
37
+ "spec": ">=2.0.0 <3.0.0",
38
+ "type": "range"
39
+ },
12
40
  "_requiredBy": [
13
41
  "/har-validator"
14
42
  ],
15
- "_resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.0.tgz",
16
- "_shasum": "4c83538de1f6e660c29e0a13446844f7a7e88259",
43
+ "_resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
44
+ "_shasum": "2135d6dfa7a358c069ac9b178776288228450ffa",
17
45
  "_shrinkwrap": null,
46
+ "_spec": "pinkie-promise@^2.0.0",
47
+ "_where": "/Users/eshanker/Code/fsevents/node_modules/har-validator",
18
48
  "author": {
19
- "email": "floatdrop@gmail.com",
20
49
  "name": "Vsevolod Strukchinsky",
50
+ "email": "floatdrop@gmail.com",
21
51
  "url": "github.com/floatdrop"
22
52
  },
23
53
  "bugs": {
@@ -32,8 +62,8 @@
32
62
  },
33
63
  "directories": {},
34
64
  "dist": {
35
- "shasum": "4c83538de1f6e660c29e0a13446844f7a7e88259",
36
- "tarball": "http://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.0.tgz"
65
+ "shasum": "2135d6dfa7a358c069ac9b178776288228450ffa",
66
+ "tarball": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz"
37
67
  },
38
68
  "engines": {
39
69
  "node": ">=0.10.0"
@@ -41,15 +71,15 @@
41
71
  "files": [
42
72
  "index.js"
43
73
  ],
44
- "gitHead": "f90fcae9838bcae7ae1ae4ebc9b29f11e5db4980",
74
+ "gitHead": "4a936c09c34ad591a25db93f1216d242de0d6184",
45
75
  "homepage": "https://github.com/floatdrop/pinkie-promise",
46
76
  "keywords": [
77
+ "promise",
78
+ "promises",
47
79
  "es2015",
48
80
  "es6",
49
81
  "polyfill",
50
- "ponyfill",
51
- "promise",
52
- "promises"
82
+ "ponyfill"
53
83
  ],
54
84
  "license": "MIT",
55
85
  "maintainers": [
@@ -68,5 +98,5 @@
68
98
  "scripts": {
69
99
  "test": "mocha"
70
100
  },
71
- "version": "2.0.0"
101
+ "version": "2.0.1"
72
102
  }
@@ -8,13 +8,36 @@ if (!process.version ||
8
8
  module.exports = process.nextTick;
9
9
  }
10
10
 
11
- function nextTick(fn) {
12
- var args = new Array(arguments.length - 1);
13
- var i = 0;
14
- while (i < args.length) {
15
- args[i++] = arguments[i];
11
+ function nextTick(fn, arg1, arg2, arg3) {
12
+ if (typeof fn !== 'function') {
13
+ throw new TypeError('"callback" argument must be a function');
14
+ }
15
+ var len = arguments.length;
16
+ var args, i;
17
+ switch (len) {
18
+ case 0:
19
+ case 1:
20
+ return process.nextTick(fn);
21
+ case 2:
22
+ return process.nextTick(function afterTickOne() {
23
+ fn.call(null, arg1);
24
+ });
25
+ case 3:
26
+ return process.nextTick(function afterTickTwo() {
27
+ fn.call(null, arg1, arg2);
28
+ });
29
+ case 4:
30
+ return process.nextTick(function afterTickThree() {
31
+ fn.call(null, arg1, arg2, arg3);
32
+ });
33
+ default:
34
+ args = new Array(len - 1);
35
+ i = 0;
36
+ while (i < args.length) {
37
+ args[i++] = arguments[i];
38
+ }
39
+ return process.nextTick(function afterTick() {
40
+ fn.apply(null, args);
41
+ });
16
42
  }
17
- process.nextTick(function afterTick() {
18
- fn.apply(null, args);
19
- });
20
43
  }
@@ -1,20 +1,51 @@
1
1
  {
2
- "_from": "process-nextick-args@~1.0.6",
3
- "_id": "process-nextick-args@1.0.6",
2
+ "_args": [
3
+ [
4
+ {
5
+ "raw": "process-nextick-args@~1.0.6",
6
+ "scope": null,
7
+ "escapedName": "process-nextick-args",
8
+ "name": "process-nextick-args",
9
+ "rawSpec": "~1.0.6",
10
+ "spec": ">=1.0.6 <1.1.0",
11
+ "type": "range"
12
+ },
13
+ "/Users/eshanker/Code/fsevents/node_modules/readable-stream"
14
+ ]
15
+ ],
16
+ "_from": "process-nextick-args@>=1.0.6 <1.1.0",
17
+ "_id": "process-nextick-args@1.0.7",
18
+ "_inCache": true,
4
19
  "_location": "/process-nextick-args",
5
- "_nodeVersion": "4.1.1",
20
+ "_nodeVersion": "5.11.0",
21
+ "_npmOperationalInternal": {
22
+ "host": "packages-12-west.internal.npmjs.com",
23
+ "tmp": "tmp/process-nextick-args-1.0.7.tgz_1462394251778_0.36989671061746776"
24
+ },
6
25
  "_npmUser": {
7
- "email": "calvin.metcalf@gmail.com",
8
- "name": "cwmma"
26
+ "name": "cwmma",
27
+ "email": "calvin.metcalf@gmail.com"
9
28
  },
10
- "_npmVersion": "2.14.4",
29
+ "_npmVersion": "3.8.6",
11
30
  "_phantomChildren": {},
31
+ "_requested": {
32
+ "raw": "process-nextick-args@~1.0.6",
33
+ "scope": null,
34
+ "escapedName": "process-nextick-args",
35
+ "name": "process-nextick-args",
36
+ "rawSpec": "~1.0.6",
37
+ "spec": ">=1.0.6 <1.1.0",
38
+ "type": "range"
39
+ },
12
40
  "_requiredBy": [
13
- "/readable-stream"
41
+ "/readable-stream",
42
+ "/tar-pack/readable-stream"
14
43
  ],
15
- "_resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.6.tgz",
16
- "_shasum": "0f96b001cea90b12592ce566edb97ec11e69bd05",
44
+ "_resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
45
+ "_shasum": "150e20b756590ad3f91093f25a4f2ad8bff30ba3",
17
46
  "_shrinkwrap": null,
47
+ "_spec": "process-nextick-args@~1.0.6",
48
+ "_where": "/Users/eshanker/Code/fsevents/node_modules/readable-stream",
18
49
  "author": "",
19
50
  "bugs": {
20
51
  "url": "https://github.com/calvinmetcalf/process-nextick-args/issues"
@@ -26,10 +57,10 @@
26
57
  },
27
58
  "directories": {},
28
59
  "dist": {
29
- "shasum": "0f96b001cea90b12592ce566edb97ec11e69bd05",
30
- "tarball": "http://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.6.tgz"
60
+ "shasum": "150e20b756590ad3f91093f25a4f2ad8bff30ba3",
61
+ "tarball": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz"
31
62
  },
32
- "gitHead": "e85787b05a8c3c1adb714f332d822e9162699c78",
63
+ "gitHead": "5c00899ab01dd32f93ad4b5743da33da91404f39",
33
64
  "homepage": "https://github.com/calvinmetcalf/process-nextick-args",
34
65
  "license": "MIT",
35
66
  "main": "index.js",
@@ -49,5 +80,5 @@
49
80
  "scripts": {
50
81
  "test": "node test.js"
51
82
  },
52
- "version": "1.0.6"
83
+ "version": "1.0.7"
53
84
  }
@@ -0,0 +1,20 @@
1
+ Copyright Mathias Bynens <https://mathiasbynens.be/>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,176 @@
1
+ # Punycode.js [![Build status](https://travis-ci.org/bestiejs/punycode.js.svg?branch=master)](https://travis-ci.org/bestiejs/punycode.js) [![Code coverage status](http://img.shields.io/coveralls/bestiejs/punycode.js/master.svg)](https://coveralls.io/r/bestiejs/punycode.js) [![Dependency status](https://gemnasium.com/bestiejs/punycode.js.svg)](https://gemnasium.com/bestiejs/punycode.js)
2
+
3
+ A robust Punycode converter that fully complies to [RFC 3492](https://tools.ietf.org/html/rfc3492) and [RFC 5891](https://tools.ietf.org/html/rfc5891), and works on nearly all JavaScript platforms.
4
+
5
+ This JavaScript library is the result of comparing, optimizing and documenting different open-source implementations of the Punycode algorithm:
6
+
7
+ * [The C example code from RFC 3492](https://tools.ietf.org/html/rfc3492#appendix-C)
8
+ * [`punycode.c` by _Markus W. Scherer_ (IBM)](http://opensource.apple.com/source/ICU/ICU-400.42/icuSources/common/punycode.c)
9
+ * [`punycode.c` by _Ben Noordhuis_](https://github.com/bnoordhuis/punycode/blob/master/punycode.c)
10
+ * [JavaScript implementation by _some_](http://stackoverflow.com/questions/183485/can-anyone-recommend-a-good-free-javascript-for-punycode-to-unicode-conversion/301287#301287)
11
+ * [`punycode.js` by _Ben Noordhuis_](https://github.com/joyent/node/blob/426298c8c1c0d5b5224ac3658c41e7c2a3fe9377/lib/punycode.js) (note: [not fully compliant](https://github.com/joyent/node/issues/2072))
12
+
13
+ This project is [bundled](https://github.com/joyent/node/blob/master/lib/punycode.js) with [Node.js v0.6.2+](https://github.com/joyent/node/compare/975f1930b1...61e796decc) and [io.js v1.0.0+](https://github.com/iojs/io.js/blob/v1.x/lib/punycode.js).
14
+
15
+ ## Installation
16
+
17
+ Via [npm](https://www.npmjs.com/) (only required for Node.js releases older than v0.6.2):
18
+
19
+ ```bash
20
+ npm install punycode
21
+ ```
22
+
23
+ Via [Bower](http://bower.io/):
24
+
25
+ ```bash
26
+ bower install punycode
27
+ ```
28
+
29
+ Via [Component](https://github.com/component/component):
30
+
31
+ ```bash
32
+ component install bestiejs/punycode.js
33
+ ```
34
+
35
+ In a browser:
36
+
37
+ ```html
38
+ <script src="punycode.js"></script>
39
+ ```
40
+
41
+ In [Node.js](https://nodejs.org/), [io.js](https://iojs.org/), [Narwhal](http://narwhaljs.org/), and [RingoJS](http://ringojs.org/):
42
+
43
+ ```js
44
+ var punycode = require('punycode');
45
+ ```
46
+
47
+ In [Rhino](http://www.mozilla.org/rhino/):
48
+
49
+ ```js
50
+ load('punycode.js');
51
+ ```
52
+
53
+ Using an AMD loader like [RequireJS](http://requirejs.org/):
54
+
55
+ ```js
56
+ require(
57
+ {
58
+ 'paths': {
59
+ 'punycode': 'path/to/punycode'
60
+ }
61
+ },
62
+ ['punycode'],
63
+ function(punycode) {
64
+ console.log(punycode);
65
+ }
66
+ );
67
+ ```
68
+
69
+ ## API
70
+
71
+ ### `punycode.decode(string)`
72
+
73
+ Converts a Punycode string of ASCII symbols to a string of Unicode symbols.
74
+
75
+ ```js
76
+ // decode domain name parts
77
+ punycode.decode('maana-pta'); // 'mañana'
78
+ punycode.decode('--dqo34k'); // '☃-⌘'
79
+ ```
80
+
81
+ ### `punycode.encode(string)`
82
+
83
+ Converts a string of Unicode symbols to a Punycode string of ASCII symbols.
84
+
85
+ ```js
86
+ // encode domain name parts
87
+ punycode.encode('mañana'); // 'maana-pta'
88
+ punycode.encode('☃-⌘'); // '--dqo34k'
89
+ ```
90
+
91
+ ### `punycode.toUnicode(input)`
92
+
93
+ Converts a Punycode string representing a domain name or an email address to Unicode. Only the Punycoded parts of the input will be converted, i.e. it doesn’t matter if you call it on a string that has already been converted to Unicode.
94
+
95
+ ```js
96
+ // decode domain names
97
+ punycode.toUnicode('xn--maana-pta.com');
98
+ // → 'mañana.com'
99
+ punycode.toUnicode('xn----dqo34k.com');
100
+ // → '☃-⌘.com'
101
+
102
+ // decode email addresses
103
+ punycode.toUnicode('джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq');
104
+ // → 'джумла@джpумлатест.bрфa'
105
+ ```
106
+
107
+ ### `punycode.toASCII(input)`
108
+
109
+ Converts a lowercased Unicode string representing a domain name or an email address to Punycode. Only the non-ASCII parts of the input will be converted, i.e. it doesn’t matter if you call it with a domain that’s already in ASCII.
110
+
111
+ ```js
112
+ // encode domain names
113
+ punycode.toASCII('mañana.com');
114
+ // → 'xn--maana-pta.com'
115
+ punycode.toASCII('☃-⌘.com');
116
+ // → 'xn----dqo34k.com'
117
+
118
+ // encode email addresses
119
+ punycode.toASCII('джумла@джpумлатест.bрфa');
120
+ // → 'джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq'
121
+ ```
122
+
123
+ ### `punycode.ucs2`
124
+
125
+ #### `punycode.ucs2.decode(string)`
126
+
127
+ Creates an array containing the numeric code point values of each Unicode symbol in the string. While [JavaScript uses UCS-2 internally](https://mathiasbynens.be/notes/javascript-encoding), this function will convert a pair of surrogate halves (each of which UCS-2 exposes as separate characters) into a single code point, matching UTF-16.
128
+
129
+ ```js
130
+ punycode.ucs2.decode('abc');
131
+ // → [0x61, 0x62, 0x63]
132
+ // surrogate pair for U+1D306 TETRAGRAM FOR CENTRE:
133
+ punycode.ucs2.decode('\uD834\uDF06');
134
+ // → [0x1D306]
135
+ ```
136
+
137
+ #### `punycode.ucs2.encode(codePoints)`
138
+
139
+ Creates a string based on an array of numeric code point values.
140
+
141
+ ```js
142
+ punycode.ucs2.encode([0x61, 0x62, 0x63]);
143
+ // → 'abc'
144
+ punycode.ucs2.encode([0x1D306]);
145
+ // → '\uD834\uDF06'
146
+ ```
147
+
148
+ ### `punycode.version`
149
+
150
+ A string representing the current Punycode.js version number.
151
+
152
+ ## Unit tests & code coverage
153
+
154
+ After cloning this repository, run `npm install --dev` to install the dependencies needed for Punycode.js development and testing. You may want to install Istanbul _globally_ using `npm install istanbul -g`.
155
+
156
+ Once that’s done, you can run the unit tests in Node using `npm test` or `node tests/tests.js`. To run the tests in Rhino, Ringo, Narwhal, PhantomJS, and web browsers as well, use `grunt test`.
157
+
158
+ To generate the code coverage report, use `grunt cover`.
159
+
160
+ Feel free to fork if you see possible improvements!
161
+
162
+ ## Author
163
+
164
+ | [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
165
+ |---|
166
+ | [Mathias Bynens](https://mathiasbynens.be/) |
167
+
168
+ ## Contributors
169
+
170
+ | [![twitter/jdalton](https://gravatar.com/avatar/299a3d891ff1920b69c364d061007043?s=70)](https://twitter.com/jdalton "Follow @jdalton on Twitter") |
171
+ |---|
172
+ | [John-David Dalton](http://allyoucanleet.com/) |
173
+
174
+ ## License
175
+
176
+ Punycode.js is available under the [MIT](https://mths.be/mit) license.