fsevents 1.0.17 → 1.1.2

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 (604) hide show
  1. package/.travis.yml +7 -9
  2. package/build/.target.mk +6 -2
  3. package/build/Makefile +6 -6
  4. package/build/Release/.deps/Release/.node.d +1 -0
  5. package/build/Release/.deps/Release/fse.node.d +1 -0
  6. package/build/Release/.deps/Release/obj.target/action_after_build.stamp.d +1 -0
  7. package/build/Release/.deps/Release/obj.target/fse/fsevents.o.d +65 -0
  8. package/build/Release/.deps/Users/eshanker/Code/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node.d +1 -0
  9. package/build/Release/.node +0 -0
  10. package/build/Release/fse.node +0 -0
  11. package/build/Release/obj.target/action_after_build.stamp +0 -0
  12. package/build/Release/obj.target/fse/fsevents.o +0 -0
  13. package/build/action_after_build.target.mk +4 -4
  14. package/build/fse.target.mk +22 -12
  15. package/build/gyp-mac-tool +1 -2
  16. package/build/stage/v1.1.2/fse-v1.1.2-node-v48-darwin-x64.tar.gz +0 -0
  17. package/fsevents.js +3 -0
  18. package/install.js +7 -0
  19. package/lib/binding/Release/node-v48-darwin-x64/fse.node +0 -0
  20. package/lib/binding/Release/node-v57-darwin-x64/fse.node +0 -0
  21. package/node_modules/abbrev/abbrev.js +0 -1
  22. package/node_modules/abbrev/package.json +24 -57
  23. package/node_modules/ajv/.tonic_example.js +20 -0
  24. package/node_modules/{generate-object-property → ajv}/LICENSE +6 -5
  25. package/node_modules/ajv/README.md +1213 -0
  26. package/node_modules/ajv/dist/ajv.bundle.js +8023 -0
  27. package/node_modules/ajv/dist/ajv.min.js +6 -0
  28. package/node_modules/ajv/dist/ajv.min.js.map +1 -0
  29. package/node_modules/ajv/dist/nodent.min.js +8 -0
  30. package/node_modules/ajv/dist/regenerator.min.js +32 -0
  31. package/node_modules/ajv/lib/ajv.d.ts +284 -0
  32. package/node_modules/ajv/lib/ajv.js +420 -0
  33. package/node_modules/ajv/lib/async.js +218 -0
  34. package/node_modules/ajv/lib/cache.js +26 -0
  35. package/node_modules/ajv/lib/compile/_rules.js +28 -0
  36. package/node_modules/ajv/lib/compile/equal.js +45 -0
  37. package/node_modules/ajv/lib/compile/formats.js +164 -0
  38. package/node_modules/ajv/lib/compile/index.js +390 -0
  39. package/node_modules/ajv/lib/compile/resolve.js +267 -0
  40. package/node_modules/ajv/lib/compile/rules.js +40 -0
  41. package/node_modules/ajv/lib/compile/schema_obj.js +9 -0
  42. package/node_modules/ajv/lib/compile/ucs2length.js +20 -0
  43. package/node_modules/ajv/lib/compile/util.js +257 -0
  44. package/node_modules/ajv/lib/compile/validation_error.js +14 -0
  45. package/node_modules/ajv/lib/dot/_limit.jst +49 -0
  46. package/node_modules/ajv/lib/dot/_limitItems.jst +10 -0
  47. package/node_modules/ajv/lib/dot/_limitLength.jst +10 -0
  48. package/node_modules/ajv/lib/dot/_limitProperties.jst +10 -0
  49. package/node_modules/ajv/lib/dot/allOf.jst +34 -0
  50. package/node_modules/ajv/lib/dot/anyOf.jst +48 -0
  51. package/node_modules/ajv/lib/dot/coerce.def +61 -0
  52. package/node_modules/ajv/lib/dot/custom.jst +184 -0
  53. package/node_modules/ajv/lib/dot/defaults.def +32 -0
  54. package/node_modules/ajv/lib/dot/definitions.def +182 -0
  55. package/node_modules/ajv/lib/dot/dependencies.jst +69 -0
  56. package/node_modules/ajv/lib/dot/enum.jst +30 -0
  57. package/node_modules/ajv/lib/dot/errors.def +185 -0
  58. package/node_modules/ajv/lib/dot/format.jst +100 -0
  59. package/node_modules/ajv/lib/dot/items.jst +101 -0
  60. package/node_modules/ajv/lib/dot/missing.def +34 -0
  61. package/node_modules/ajv/lib/dot/multipleOf.jst +20 -0
  62. package/node_modules/ajv/lib/dot/not.jst +43 -0
  63. package/node_modules/ajv/lib/dot/oneOf.jst +44 -0
  64. package/node_modules/ajv/lib/dot/pattern.jst +14 -0
  65. package/node_modules/ajv/lib/dot/properties.jst +319 -0
  66. package/node_modules/ajv/lib/dot/ref.jst +86 -0
  67. package/node_modules/ajv/lib/dot/required.jst +96 -0
  68. package/node_modules/ajv/lib/dot/uniqueItems.jst +38 -0
  69. package/node_modules/ajv/lib/dot/v5/_formatLimit.jst +116 -0
  70. package/node_modules/ajv/lib/dot/v5/constant.jst +10 -0
  71. package/node_modules/ajv/lib/dot/v5/patternRequired.jst +28 -0
  72. package/node_modules/ajv/lib/dot/v5/switch.jst +73 -0
  73. package/node_modules/ajv/lib/dot/validate.jst +210 -0
  74. package/node_modules/ajv/lib/dotjs/README.md +3 -0
  75. package/node_modules/ajv/lib/dotjs/_formatLimit.js +176 -0
  76. package/node_modules/ajv/lib/dotjs/_limit.js +124 -0
  77. package/node_modules/ajv/lib/dotjs/_limitItems.js +76 -0
  78. package/node_modules/ajv/lib/dotjs/_limitLength.js +81 -0
  79. package/node_modules/ajv/lib/dotjs/_limitProperties.js +76 -0
  80. package/node_modules/ajv/lib/dotjs/allOf.js +43 -0
  81. package/node_modules/ajv/lib/dotjs/anyOf.js +65 -0
  82. package/node_modules/ajv/lib/dotjs/constant.js +52 -0
  83. package/node_modules/ajv/lib/dotjs/custom.js +220 -0
  84. package/node_modules/ajv/lib/dotjs/dependencies.js +147 -0
  85. package/node_modules/ajv/lib/dotjs/enum.js +65 -0
  86. package/node_modules/ajv/lib/dotjs/format.js +138 -0
  87. package/node_modules/ajv/lib/dotjs/items.js +144 -0
  88. package/node_modules/ajv/lib/dotjs/multipleOf.js +76 -0
  89. package/node_modules/ajv/lib/dotjs/not.js +83 -0
  90. package/node_modules/ajv/lib/dotjs/oneOf.js +76 -0
  91. package/node_modules/ajv/lib/dotjs/pattern.js +74 -0
  92. package/node_modules/ajv/lib/dotjs/patternRequired.js +51 -0
  93. package/node_modules/ajv/lib/dotjs/properties.js +445 -0
  94. package/node_modules/ajv/lib/dotjs/ref.js +119 -0
  95. package/node_modules/ajv/lib/dotjs/required.js +249 -0
  96. package/node_modules/ajv/lib/dotjs/switch.js +128 -0
  97. package/node_modules/ajv/lib/dotjs/uniqueItems.js +71 -0
  98. package/node_modules/ajv/lib/dotjs/validate.js +375 -0
  99. package/node_modules/ajv/lib/keyword.js +129 -0
  100. package/node_modules/ajv/lib/refs/json-schema-draft-04.json +150 -0
  101. package/node_modules/ajv/lib/refs/json-schema-v5.json +328 -0
  102. package/node_modules/ajv/lib/v5.js +52 -0
  103. package/node_modules/ajv/package.json +132 -0
  104. package/node_modules/ajv/scripts/.eslintrc.yml +3 -0
  105. package/node_modules/ajv/scripts/bundle.js +54 -0
  106. package/node_modules/ajv/scripts/compile-dots.js +73 -0
  107. package/node_modules/ajv/scripts/info +10 -0
  108. package/node_modules/ajv/scripts/prepare-tests +9 -0
  109. package/node_modules/ajv/scripts/travis-gh-pages +23 -0
  110. package/node_modules/ansi-regex/index.js +1 -1
  111. package/node_modules/ansi-regex/package.json +42 -54
  112. package/node_modules/ansi-regex/readme.md +10 -2
  113. package/node_modules/aproba/README.md +33 -3
  114. package/node_modules/aproba/index.js +71 -30
  115. package/node_modules/aproba/package.json +22 -55
  116. package/node_modules/are-we-there-yet/CHANGES.md +12 -0
  117. package/node_modules/are-we-there-yet/CHANGES.md~ +27 -0
  118. package/node_modules/are-we-there-yet/README.md +4 -3
  119. package/node_modules/are-we-there-yet/package.json +28 -54
  120. package/node_modules/asn1/package.json +16 -48
  121. package/node_modules/assert-plus/package.json +15 -47
  122. package/node_modules/asynckit/package.json +15 -49
  123. package/node_modules/aws-sign2/package.json +15 -45
  124. package/node_modules/aws4/aws4.js +15 -6
  125. package/node_modules/aws4/package.json +18 -53
  126. package/node_modules/balanced-match/package.json +15 -49
  127. package/node_modules/bcrypt-pbkdf/index.js +1 -4
  128. package/node_modules/bcrypt-pbkdf/package.json +20 -54
  129. package/node_modules/block-stream/package.json +15 -49
  130. package/node_modules/boom/package.json +15 -54
  131. package/node_modules/brace-expansion/README.md +1 -0
  132. package/node_modules/brace-expansion/index.js +1 -1
  133. package/node_modules/brace-expansion/package.json +20 -56
  134. package/node_modules/buffer-shims/package.json +15 -51
  135. package/node_modules/caseless/index.js +1 -0
  136. package/node_modules/caseless/package.json +19 -58
  137. package/node_modules/caseless/test.js +27 -0
  138. package/node_modules/co/History.md +172 -0
  139. package/node_modules/{commander → co}/LICENSE +1 -1
  140. package/node_modules/co/Readme.md +212 -0
  141. package/node_modules/co/index.js +237 -0
  142. package/node_modules/co/package.json +67 -0
  143. package/node_modules/code-point-at/package.json +15 -50
  144. package/node_modules/combined-stream/package.json +15 -58
  145. package/node_modules/concat-map/package.json +13 -41
  146. package/node_modules/console-control-strings/package.json +15 -50
  147. package/node_modules/core-util-is/package.json +15 -47
  148. package/node_modules/cryptiles/package.json +15 -49
  149. package/node_modules/dashdash/node_modules/assert-plus/package.json +15 -47
  150. package/node_modules/dashdash/package.json +15 -72
  151. package/node_modules/debug/.coveralls.yml +1 -0
  152. package/node_modules/debug/.eslintrc +11 -0
  153. package/node_modules/debug/.npmignore +3 -0
  154. package/node_modules/debug/.travis.yml +14 -0
  155. package/node_modules/debug/CHANGELOG.md +357 -0
  156. package/node_modules/debug/LICENSE +19 -0
  157. package/node_modules/debug/Makefile +28 -14
  158. package/node_modules/debug/README.md +312 -0
  159. package/node_modules/debug/component.json +4 -4
  160. package/node_modules/debug/karma.conf.js +70 -0
  161. package/node_modules/debug/node.js +1 -209
  162. package/node_modules/debug/package.json +41 -58
  163. package/node_modules/debug/{browser.js → src/browser.js} +29 -12
  164. package/node_modules/debug/{debug.js → src/debug.js} +42 -37
  165. package/node_modules/debug/src/index.js +10 -0
  166. package/node_modules/debug/src/node.js +246 -0
  167. package/node_modules/deep-extend/README.md +1 -1
  168. package/node_modules/deep-extend/lib/deep-extend.js +2 -2
  169. package/node_modules/deep-extend/package.json +22 -48
  170. package/node_modules/delayed-stream/package.json +15 -49
  171. package/node_modules/delegates/package.json +15 -50
  172. package/node_modules/ecc-jsbn/package.json +21 -45
  173. package/node_modules/extend/.eslintrc +10 -185
  174. package/node_modules/extend/.jscs.json +75 -4
  175. package/node_modules/extend/.travis.yml +154 -19
  176. package/node_modules/extend/CHANGELOG.md +8 -0
  177. package/node_modules/extend/README.md +20 -1
  178. package/node_modules/extend/index.js +8 -8
  179. package/node_modules/extend/package.json +26 -56
  180. package/node_modules/extsprintf/package.json +12 -43
  181. package/node_modules/forever-agent/package.json +16 -53
  182. package/node_modules/form-data/README.md +4 -4
  183. package/node_modules/form-data/lib/form_data.js +4 -0
  184. package/node_modules/form-data/package.json +18 -64
  185. package/node_modules/fs.realpath/package.json +15 -49
  186. package/node_modules/fstream/lib/reader.js +4 -4
  187. package/node_modules/fstream/lib/writer.js +2 -2
  188. package/node_modules/fstream/package.json +19 -67
  189. package/node_modules/fstream-ignore/package.json +15 -57
  190. package/node_modules/gauge/CHANGELOG.md +15 -0
  191. package/node_modules/gauge/index.js +9 -6
  192. package/node_modules/gauge/package.json +18 -53
  193. package/node_modules/gauge/plumbing.js +1 -0
  194. package/node_modules/getpass/node_modules/assert-plus/package.json +15 -47
  195. package/node_modules/getpass/package.json +19 -58
  196. package/node_modules/glob/glob.js +0 -2
  197. package/node_modules/glob/package.json +19 -53
  198. package/node_modules/graceful-fs/package.json +15 -49
  199. package/node_modules/har-schema/LICENSE +13 -0
  200. package/node_modules/har-schema/README.md +49 -0
  201. package/node_modules/har-schema/lib/afterRequest.json +29 -0
  202. package/node_modules/har-schema/lib/beforeRequest.json +29 -0
  203. package/node_modules/har-schema/lib/browser.json +19 -0
  204. package/node_modules/har-schema/lib/cache.json +20 -0
  205. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/content.json +1 -0
  206. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/cookie.json +1 -0
  207. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/creator.json +1 -0
  208. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/entry.json +5 -4
  209. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/har.json +2 -1
  210. package/node_modules/har-schema/lib/header.json +19 -0
  211. package/node_modules/har-schema/lib/index.js +22 -0
  212. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/log.json +5 -4
  213. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/page.json +2 -1
  214. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/pageTimings.json +1 -0
  215. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/postData.json +1 -0
  216. package/node_modules/{har-validator/lib/schemas/record.json → har-schema/lib/query.json} +1 -0
  217. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/request.json +5 -4
  218. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/response.json +4 -3
  219. package/node_modules/{har-validator/lib/schemas → har-schema/lib}/timings.json +1 -0
  220. package/node_modules/har-schema/package.json +87 -0
  221. package/node_modules/har-validator/README.md +31 -265
  222. package/node_modules/har-validator/lib/browser/async.js +96 -0
  223. package/node_modules/har-validator/lib/browser/error.js +15 -0
  224. package/node_modules/har-validator/lib/browser/promise.js +93 -0
  225. package/node_modules/har-validator/lib/node4/async.js +136 -0
  226. package/node_modules/har-validator/lib/node4/error.js +22 -0
  227. package/node_modules/har-validator/lib/node4/promise.js +132 -0
  228. package/node_modules/har-validator/lib/node6/async.js +133 -0
  229. package/node_modules/har-validator/lib/node6/error.js +22 -0
  230. package/node_modules/har-validator/lib/node6/promise.js +130 -0
  231. package/node_modules/har-validator/lib/node7/async.js +133 -0
  232. package/node_modules/har-validator/lib/node7/error.js +22 -0
  233. package/node_modules/har-validator/lib/node7/promise.js +130 -0
  234. package/node_modules/har-validator/package.json +54 -72
  235. package/node_modules/har-validator/src/async.js +96 -0
  236. package/node_modules/har-validator/src/error.js +15 -0
  237. package/node_modules/har-validator/src/promise.js +93 -0
  238. package/node_modules/has-unicode/package.json +15 -50
  239. package/node_modules/hawk/package.json +15 -45
  240. package/node_modules/hoek/package.json +15 -55
  241. package/node_modules/http-signature/package.json +15 -53
  242. package/node_modules/inflight/package.json +15 -61
  243. package/node_modules/inherits/package.json +15 -58
  244. package/node_modules/ini/package.json +15 -45
  245. package/node_modules/is-fullwidth-code-point/package.json +16 -46
  246. package/node_modules/is-typedarray/package.json +15 -45
  247. package/node_modules/isarray/package.json +15 -46
  248. package/node_modules/isstream/package.json +15 -46
  249. package/node_modules/jodid25519/package.json +16 -44
  250. package/node_modules/jsbn/index.js +8 -9
  251. package/node_modules/jsbn/package.json +21 -54
  252. package/node_modules/json-schema/package.json +13 -41
  253. package/node_modules/{generate-function → json-stable-stringify}/.npmignore +0 -0
  254. package/node_modules/{generate-object-property → json-stable-stringify}/.travis.yml +1 -0
  255. package/node_modules/{ms → json-stable-stringify}/LICENSE +1 -3
  256. package/node_modules/json-stable-stringify/example/key_cmp.js +7 -0
  257. package/node_modules/json-stable-stringify/example/nested.js +3 -0
  258. package/node_modules/json-stable-stringify/example/str.js +3 -0
  259. package/node_modules/json-stable-stringify/example/value_cmp.js +7 -0
  260. package/node_modules/json-stable-stringify/index.js +84 -0
  261. package/node_modules/json-stable-stringify/package.json +75 -0
  262. package/node_modules/json-stable-stringify/readme.markdown +130 -0
  263. package/node_modules/json-stable-stringify/test/cmp.js +11 -0
  264. package/node_modules/json-stable-stringify/test/nested.js +35 -0
  265. package/node_modules/json-stable-stringify/test/replacer.js +74 -0
  266. package/node_modules/json-stable-stringify/test/space.js +59 -0
  267. package/node_modules/json-stable-stringify/test/str.js +32 -0
  268. package/node_modules/json-stable-stringify/test/to-json.js +20 -0
  269. package/node_modules/json-stringify-safe/package.json +15 -50
  270. package/node_modules/jsonify/README.markdown +34 -0
  271. package/node_modules/jsonify/index.js +2 -0
  272. package/node_modules/jsonify/lib/parse.js +273 -0
  273. package/node_modules/jsonify/lib/stringify.js +154 -0
  274. package/node_modules/jsonify/package.json +60 -0
  275. package/node_modules/jsonify/test/parse.js +16 -0
  276. package/node_modules/jsonify/test/stringify.js +15 -0
  277. package/node_modules/jsprim/CHANGES.md +4 -0
  278. package/node_modules/jsprim/README.md +55 -0
  279. package/node_modules/jsprim/lib/jsprim.js +248 -1
  280. package/node_modules/jsprim/node_modules/assert-plus/AUTHORS +6 -0
  281. package/node_modules/jsprim/node_modules/assert-plus/CHANGES.md +14 -0
  282. package/node_modules/jsprim/node_modules/assert-plus/README.md +162 -0
  283. package/node_modules/jsprim/node_modules/assert-plus/assert.js +211 -0
  284. package/node_modules/jsprim/node_modules/assert-plus/package.json +83 -0
  285. package/node_modules/jsprim/package.json +22 -57
  286. package/node_modules/mime-db/HISTORY.md +37 -0
  287. package/node_modules/mime-db/db.json +95 -2
  288. package/node_modules/mime-db/package.json +26 -64
  289. package/node_modules/mime-types/HISTORY.md +13 -0
  290. package/node_modules/mime-types/README.md +10 -5
  291. package/node_modules/mime-types/index.js +1 -1
  292. package/node_modules/mime-types/package.json +24 -66
  293. package/node_modules/minimatch/package.json +24 -58
  294. package/node_modules/minimist/package.json +12 -41
  295. package/node_modules/mkdirp/package.json +15 -47
  296. package/node_modules/ms/index.js +50 -23
  297. package/node_modules/{graceful-readlink/LICENSE → ms/license.md} +1 -2
  298. package/node_modules/ms/package.json +49 -61
  299. package/node_modules/ms/readme.md +51 -0
  300. package/node_modules/node-pre-gyp/CHANGELOG.md +19 -0
  301. package/node_modules/node-pre-gyp/README.md +12 -1
  302. package/node_modules/node-pre-gyp/appveyor.yml +1 -6
  303. package/node_modules/node-pre-gyp/cloudformation/travis.template +73 -0
  304. package/node_modules/node-pre-gyp/contributing.md +10 -0
  305. package/node_modules/node-pre-gyp/lib/install.js +5 -47
  306. package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +1 -1
  307. package/node_modules/node-pre-gyp/lib/testbinary.js +8 -2
  308. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +124 -0
  309. package/node_modules/node-pre-gyp/package.json +30 -80
  310. package/node_modules/node-pre-gyp/template-name.diff +12 -0
  311. package/node_modules/nopt/.travis.yml +3 -4
  312. package/node_modules/nopt/CHANGELOG.md +58 -0
  313. package/node_modules/nopt/README.md +28 -26
  314. package/node_modules/nopt/lib/nopt.js +50 -29
  315. package/node_modules/nopt/package.json +22 -59
  316. package/node_modules/nopt/test/basic.js +36 -6
  317. package/node_modules/npmlog/CHANGELOG.md +5 -1
  318. package/node_modules/npmlog/log.js +2 -0
  319. package/node_modules/npmlog/package.json +21 -67
  320. package/node_modules/number-is-nan/package.json +15 -50
  321. package/node_modules/oauth-sign/package.json +15 -56
  322. package/node_modules/object-assign/index.js +11 -4
  323. package/node_modules/object-assign/package.json +23 -62
  324. package/node_modules/object-assign/readme.md +8 -3
  325. package/node_modules/once/package.json +15 -49
  326. package/node_modules/os-homedir/index.js +24 -0
  327. package/node_modules/{ansi-styles → os-homedir}/license +0 -0
  328. package/node_modules/os-homedir/package.json +74 -0
  329. package/node_modules/os-homedir/readme.md +31 -0
  330. package/node_modules/os-tmpdir/index.js +25 -0
  331. package/node_modules/{chalk → os-tmpdir}/license +0 -0
  332. package/node_modules/os-tmpdir/package.json +74 -0
  333. package/node_modules/os-tmpdir/readme.md +32 -0
  334. package/node_modules/osenv/.npmignore +13 -0
  335. package/node_modules/osenv/.travis.yml +9 -0
  336. package/node_modules/{tar-pack/node_modules/once → osenv}/LICENSE +0 -0
  337. package/node_modules/osenv/README.md +63 -0
  338. package/node_modules/osenv/osenv.js +72 -0
  339. package/node_modules/osenv/package.json +68 -0
  340. package/node_modules/osenv/test/unix.js +71 -0
  341. package/node_modules/osenv/test/windows.js +74 -0
  342. package/node_modules/osenv/x.tap +39 -0
  343. package/node_modules/path-is-absolute/package.json +15 -50
  344. package/node_modules/performance-now/.npmignore +1 -0
  345. package/node_modules/performance-now/.tm_properties +7 -0
  346. package/node_modules/{generate-function → performance-now}/.travis.yml +1 -0
  347. package/node_modules/performance-now/Makefile +25 -0
  348. package/node_modules/performance-now/README.md +30 -0
  349. package/node_modules/performance-now/lib/performance-now.js +32 -0
  350. package/node_modules/performance-now/license.txt +7 -0
  351. package/node_modules/performance-now/package.json +58 -0
  352. package/node_modules/performance-now/src/performance-now.coffee +15 -0
  353. package/node_modules/performance-now/test/mocha.opts +3 -0
  354. package/node_modules/performance-now/test/performance-now.coffee +38 -0
  355. package/node_modules/process-nextick-args/package.json +15 -51
  356. package/node_modules/punycode/package.json +14 -49
  357. package/node_modules/qs/.eslintrc +6 -7
  358. package/node_modules/qs/.jscs.json +176 -0
  359. package/node_modules/qs/CHANGELOG.md +31 -0
  360. package/node_modules/qs/README.md +44 -2
  361. package/node_modules/qs/dist/qs.js +54 -31
  362. package/node_modules/qs/lib/index.js +0 -0
  363. package/node_modules/qs/lib/parse.js +14 -13
  364. package/node_modules/qs/lib/stringify.js +36 -16
  365. package/node_modules/qs/lib/utils.js +4 -2
  366. package/node_modules/qs/package.json +24 -66
  367. package/node_modules/qs/test/.eslintrc +3 -1
  368. package/node_modules/qs/test/parse.js +66 -6
  369. package/node_modules/qs/test/stringify.js +30 -1
  370. package/node_modules/qs/test/utils.js +0 -0
  371. package/node_modules/rc/lib/utils.js +2 -1
  372. package/node_modules/rc/node_modules/minimist/package.json +15 -46
  373. package/node_modules/rc/package.json +19 -50
  374. package/node_modules/rc/test/nested-env-vars.js +31 -21
  375. package/node_modules/readable-stream/.travis.yml +2 -2
  376. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  377. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  378. package/node_modules/readable-stream/LICENSE +29 -0
  379. package/node_modules/readable-stream/README.md +20 -3
  380. package/node_modules/readable-stream/duplex-browser.js +1 -0
  381. package/node_modules/readable-stream/duplex.js +1 -1
  382. package/node_modules/readable-stream/lib/_stream_readable.js +7 -13
  383. package/node_modules/readable-stream/lib/_stream_writable.js +18 -28
  384. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  385. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  386. package/node_modules/readable-stream/package.json +25 -67
  387. package/node_modules/readable-stream/passthrough.js +1 -1
  388. package/node_modules/{tar-pack/node_modules/readable-stream/readable.js → readable-stream/readable-browser.js} +1 -10
  389. package/node_modules/readable-stream/readable.js +17 -14
  390. package/node_modules/readable-stream/transform.js +1 -1
  391. package/node_modules/readable-stream/writable-browser.js +1 -0
  392. package/node_modules/readable-stream/writable.js +8 -1
  393. package/node_modules/request/CHANGELOG.md +23 -11
  394. package/node_modules/request/README.md +36 -19
  395. package/node_modules/request/lib/helpers.js +2 -1
  396. package/node_modules/request/lib/multipart.js +2 -1
  397. package/node_modules/request/lib/oauth.js +2 -1
  398. package/node_modules/request/package.json +30 -74
  399. package/node_modules/request/request.js +106 -16
  400. package/node_modules/rimraf/bin.js +13 -3
  401. package/node_modules/rimraf/package.json +19 -55
  402. package/node_modules/rimraf/rimraf.js +22 -2
  403. package/node_modules/safe-buffer/.travis.yml +7 -0
  404. package/node_modules/{is-property → safe-buffer}/LICENSE +1 -2
  405. package/node_modules/safe-buffer/README.md +581 -0
  406. package/node_modules/safe-buffer/browser.js +1 -0
  407. package/node_modules/safe-buffer/index.js +58 -0
  408. package/node_modules/safe-buffer/package.json +64 -0
  409. package/node_modules/safe-buffer/test.js +99 -0
  410. package/node_modules/semver/package.json +15 -54
  411. package/node_modules/set-blocking/package.json +15 -50
  412. package/node_modules/signal-exit/package.json +15 -54
  413. package/node_modules/sntp/package.json +16 -45
  414. package/node_modules/sshpk/README.md +38 -6
  415. package/node_modules/sshpk/lib/certificate.js +88 -2
  416. package/node_modules/sshpk/lib/dhe.js +101 -2
  417. package/node_modules/sshpk/lib/formats/openssh-cert.js +34 -1
  418. package/node_modules/sshpk/lib/formats/x509.js +247 -5
  419. package/node_modules/sshpk/lib/identity.js +24 -2
  420. package/node_modules/sshpk/lib/index.js +1 -0
  421. package/node_modules/sshpk/lib/key.js +6 -2
  422. package/node_modules/sshpk/lib/private-key.js +25 -1
  423. package/node_modules/sshpk/lib/signature.js +76 -8
  424. package/node_modules/sshpk/node_modules/assert-plus/package.json +15 -47
  425. package/node_modules/sshpk/package.json +21 -53
  426. package/node_modules/string-width/package.json +15 -50
  427. package/node_modules/string_decoder/LICENSE +48 -20
  428. package/node_modules/string_decoder/README.md +25 -4
  429. package/node_modules/string_decoder/lib/string_decoder.js +272 -0
  430. package/node_modules/string_decoder/package.json +24 -55
  431. package/node_modules/stringstream/package.json +15 -48
  432. package/node_modules/strip-ansi/package.json +27 -50
  433. package/node_modules/strip-json-comments/index.js +70 -0
  434. package/node_modules/strip-json-comments/package.json +25 -62
  435. package/node_modules/strip-json-comments/readme.md +12 -28
  436. package/node_modules/tar/package.json +15 -58
  437. package/node_modules/tar-pack/package.json +28 -79
  438. package/node_modules/tough-cookie/package.json +15 -57
  439. package/node_modules/tunnel-agent/index.js +5 -4
  440. package/node_modules/tunnel-agent/package.json +22 -66
  441. package/node_modules/tweetnacl/package.json +16 -50
  442. package/node_modules/uid-number/package.json +16 -46
  443. package/node_modules/util-deprecate/package.json +15 -48
  444. package/node_modules/uuid/package.json +15 -58
  445. package/node_modules/verror/package.json +12 -41
  446. package/node_modules/wide-align/package.json +25 -51
  447. package/node_modules/wrappy/package.json +15 -54
  448. package/package.json +5 -4
  449. package/node_modules/ansi-styles/index.js +0 -65
  450. package/node_modules/ansi-styles/package.json +0 -114
  451. package/node_modules/ansi-styles/readme.md +0 -86
  452. package/node_modules/are-we-there-yet/.npmignore +0 -5
  453. package/node_modules/are-we-there-yet/test/lib/test-event.js +0 -29
  454. package/node_modules/are-we-there-yet/test/tracker.js +0 -57
  455. package/node_modules/are-we-there-yet/test/trackergroup.js +0 -96
  456. package/node_modules/are-we-there-yet/test/trackerstream.js +0 -51
  457. package/node_modules/chalk/index.js +0 -116
  458. package/node_modules/chalk/node_modules/supports-color/index.js +0 -50
  459. package/node_modules/chalk/node_modules/supports-color/license +0 -21
  460. package/node_modules/chalk/node_modules/supports-color/package.json +0 -113
  461. package/node_modules/chalk/node_modules/supports-color/readme.md +0 -36
  462. package/node_modules/chalk/package.json +0 -140
  463. package/node_modules/chalk/readme.md +0 -213
  464. package/node_modules/commander/History.md +0 -261
  465. package/node_modules/commander/Readme.md +0 -351
  466. package/node_modules/commander/index.js +0 -1110
  467. package/node_modules/commander/package.json +0 -104
  468. package/node_modules/debug/.jshintrc +0 -3
  469. package/node_modules/debug/History.md +0 -195
  470. package/node_modules/debug/Readme.md +0 -188
  471. package/node_modules/debug/bower.json +0 -28
  472. package/node_modules/escape-string-regexp/index.js +0 -11
  473. package/node_modules/escape-string-regexp/license +0 -21
  474. package/node_modules/escape-string-regexp/package.json +0 -109
  475. package/node_modules/escape-string-regexp/readme.md +0 -27
  476. package/node_modules/generate-function/README.md +0 -72
  477. package/node_modules/generate-function/example.js +0 -27
  478. package/node_modules/generate-function/index.js +0 -61
  479. package/node_modules/generate-function/package.json +0 -87
  480. package/node_modules/generate-function/test.js +0 -33
  481. package/node_modules/generate-object-property/.npmignore +0 -1
  482. package/node_modules/generate-object-property/README.md +0 -19
  483. package/node_modules/generate-object-property/index.js +0 -12
  484. package/node_modules/generate-object-property/package.json +0 -84
  485. package/node_modules/generate-object-property/test.js +0 -12
  486. package/node_modules/graceful-readlink/.npmignore +0 -3
  487. package/node_modules/graceful-readlink/.travis.yml +0 -5
  488. package/node_modules/graceful-readlink/README.md +0 -17
  489. package/node_modules/graceful-readlink/index.js +0 -12
  490. package/node_modules/graceful-readlink/package.json +0 -83
  491. package/node_modules/har-validator/bin/har-validator +0 -56
  492. package/node_modules/har-validator/lib/async.js +0 -14
  493. package/node_modules/har-validator/lib/error.js +0 -10
  494. package/node_modules/har-validator/lib/index.js +0 -22
  495. package/node_modules/har-validator/lib/runner.js +0 -29
  496. package/node_modules/har-validator/lib/schemas/cache.json +0 -13
  497. package/node_modules/har-validator/lib/schemas/cacheEntry.json +0 -31
  498. package/node_modules/har-validator/lib/schemas/index.js +0 -49
  499. package/node_modules/has-ansi/index.js +0 -4
  500. package/node_modules/has-ansi/license +0 -21
  501. package/node_modules/has-ansi/package.json +0 -118
  502. package/node_modules/has-ansi/readme.md +0 -36
  503. package/node_modules/is-my-json-valid/.npmignore +0 -2
  504. package/node_modules/is-my-json-valid/.travis.yml +0 -3
  505. package/node_modules/is-my-json-valid/LICENSE +0 -21
  506. package/node_modules/is-my-json-valid/README.md +0 -173
  507. package/node_modules/is-my-json-valid/example.js +0 -18
  508. package/node_modules/is-my-json-valid/formats.js +0 -14
  509. package/node_modules/is-my-json-valid/index.js +0 -594
  510. package/node_modules/is-my-json-valid/package.json +0 -116
  511. package/node_modules/is-my-json-valid/require.js +0 -12
  512. package/node_modules/is-my-json-valid/test/fixtures/cosmic.js +0 -84
  513. package/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +0 -82
  514. package/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +0 -88
  515. package/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +0 -112
  516. package/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +0 -68
  517. package/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +0 -107
  518. package/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +0 -49
  519. package/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +0 -32
  520. package/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +0 -113
  521. package/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +0 -72
  522. package/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +0 -143
  523. package/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +0 -46
  524. package/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +0 -28
  525. package/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +0 -28
  526. package/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +0 -28
  527. package/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +0 -42
  528. package/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +0 -28
  529. package/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +0 -28
  530. package/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +0 -28
  531. package/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +0 -42
  532. package/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +0 -96
  533. package/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +0 -96
  534. package/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +0 -18
  535. package/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +0 -18
  536. package/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +0 -68
  537. package/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +0 -23
  538. package/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +0 -110
  539. package/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +0 -92
  540. package/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +0 -128
  541. package/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +0 -74
  542. package/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +0 -39
  543. package/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +0 -330
  544. package/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +0 -79
  545. package/node_modules/is-my-json-valid/test/json-schema.js +0 -23
  546. package/node_modules/is-my-json-valid/test/misc.js +0 -471
  547. package/node_modules/is-property/.npmignore +0 -17
  548. package/node_modules/is-property/README.md +0 -28
  549. package/node_modules/is-property/is-property.js +0 -5
  550. package/node_modules/is-property/package.json +0 -92
  551. package/node_modules/jsonpointer/LICENSE.md +0 -21
  552. package/node_modules/jsonpointer/README.md +0 -39
  553. package/node_modules/jsonpointer/jsonpointer.js +0 -93
  554. package/node_modules/jsonpointer/package.json +0 -112
  555. package/node_modules/ms/.npmignore +0 -5
  556. package/node_modules/ms/History.md +0 -66
  557. package/node_modules/ms/README.md +0 -35
  558. package/node_modules/pinkie/index.js +0 -292
  559. package/node_modules/pinkie/license +0 -21
  560. package/node_modules/pinkie/package.json +0 -100
  561. package/node_modules/pinkie/readme.md +0 -83
  562. package/node_modules/pinkie-promise/index.js +0 -3
  563. package/node_modules/pinkie-promise/license +0 -21
  564. package/node_modules/pinkie-promise/package.json +0 -102
  565. package/node_modules/pinkie-promise/readme.md +0 -28
  566. package/node_modules/qs/CONTRIBUTING.md +0 -1
  567. package/node_modules/string_decoder/index.js +0 -221
  568. package/node_modules/strip-json-comments/cli.js +0 -41
  569. package/node_modules/strip-json-comments/strip-json-comments.js +0 -73
  570. package/node_modules/supports-color/cli.js +0 -28
  571. package/node_modules/supports-color/index.js +0 -32
  572. package/node_modules/supports-color/package.json +0 -112
  573. package/node_modules/supports-color/readme.md +0 -44
  574. package/node_modules/tar-pack/node_modules/once/README.md +0 -51
  575. package/node_modules/tar-pack/node_modules/once/once.js +0 -21
  576. package/node_modules/tar-pack/node_modules/once/package.json +0 -96
  577. package/node_modules/tar-pack/node_modules/readable-stream/.npmignore +0 -8
  578. package/node_modules/tar-pack/node_modules/readable-stream/.travis.yml +0 -49
  579. package/node_modules/tar-pack/node_modules/readable-stream/LICENSE +0 -18
  580. package/node_modules/tar-pack/node_modules/readable-stream/README.md +0 -36
  581. package/node_modules/tar-pack/node_modules/readable-stream/doc/stream.md +0 -2015
  582. package/node_modules/tar-pack/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
  583. package/node_modules/tar-pack/node_modules/readable-stream/duplex.js +0 -1
  584. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_duplex.js +0 -75
  585. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_passthrough.js +0 -26
  586. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_readable.js +0 -937
  587. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_transform.js +0 -180
  588. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_writable.js +0 -526
  589. package/node_modules/tar-pack/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -64
  590. package/node_modules/tar-pack/node_modules/readable-stream/package.json +0 -125
  591. package/node_modules/tar-pack/node_modules/readable-stream/passthrough.js +0 -1
  592. package/node_modules/tar-pack/node_modules/readable-stream/transform.js +0 -1
  593. package/node_modules/tar-pack/node_modules/readable-stream/writable.js +0 -1
  594. package/node_modules/wide-align/.npmignore +0 -5
  595. package/node_modules/wide-align/test/align.js +0 -37
  596. package/node_modules/xtend/.jshintrc +0 -30
  597. package/node_modules/xtend/.npmignore +0 -1
  598. package/node_modules/xtend/LICENCE +0 -19
  599. package/node_modules/xtend/Makefile +0 -4
  600. package/node_modules/xtend/README.md +0 -32
  601. package/node_modules/xtend/immutable.js +0 -19
  602. package/node_modules/xtend/mutable.js +0 -17
  603. package/node_modules/xtend/package.json +0 -117
  604. package/node_modules/xtend/test.js +0 -83
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then
6
+ git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qE '\.md$|^LICENSE$|travis-gh-pages$' && {
7
+ rm -rf ../gh-pages
8
+ git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/epoberezkin/ajv.git ../gh-pages
9
+ mkdir -p ../gh-pages/_source
10
+ cp *.md ../gh-pages/_source
11
+ cp LICENSE ../gh-pages/_source
12
+ currentDir=$(pwd)
13
+ cd ../gh-pages
14
+ $currentDir/node_modules/.bin/gh-pages-generator
15
+ # remove logo from README
16
+ sed -i -E "s/<img[^>]+ajv_logo[^>]+>//" index.md
17
+ git config user.email "$GIT_USER_EMAIL"
18
+ git config user.name "$GIT_USER_NAME"
19
+ git add .
20
+ git commit -am "updated by travis build #$TRAVIS_BUILD_NUMBER"
21
+ git push --quiet origin gh-pages > /dev/null 2>&1
22
+ }
23
+ fi
@@ -1,4 +1,4 @@
1
1
  'use strict';
2
2
  module.exports = function () {
3
- return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
3
+ return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g;
4
4
  };
@@ -1,64 +1,42 @@
1
1
  {
2
2
  "_args": [
3
3
  [
4
- {
5
- "raw": "ansi-regex@^2.0.0",
6
- "scope": null,
7
- "escapedName": "ansi-regex",
8
- "name": "ansi-regex",
9
- "rawSpec": "^2.0.0",
10
- "spec": ">=2.0.0 <3.0.0",
11
- "type": "range"
12
- },
13
- "/Users/eshanker/Code/fsevents/node_modules/strip-ansi"
4
+ "ansi-regex@2.1.1",
5
+ "/Users/eshanker/Code/fsevents"
14
6
  ]
15
7
  ],
16
- "_from": "ansi-regex@>=2.0.0 <3.0.0",
17
- "_id": "ansi-regex@2.0.0",
18
- "_inCache": true,
8
+ "_from": "ansi-regex@2.1.1",
9
+ "_id": "ansi-regex@2.1.1",
10
+ "_inBundle": false,
11
+ "_integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
19
12
  "_location": "/ansi-regex",
20
- "_nodeVersion": "0.12.5",
21
- "_npmUser": {
22
- "name": "sindresorhus",
23
- "email": "sindresorhus@gmail.com"
24
- },
25
- "_npmVersion": "2.11.2",
26
13
  "_phantomChildren": {},
27
14
  "_requested": {
28
- "raw": "ansi-regex@^2.0.0",
29
- "scope": null,
30
- "escapedName": "ansi-regex",
15
+ "type": "version",
16
+ "registry": true,
17
+ "raw": "ansi-regex@2.1.1",
31
18
  "name": "ansi-regex",
32
- "rawSpec": "^2.0.0",
33
- "spec": ">=2.0.0 <3.0.0",
34
- "type": "range"
19
+ "escapedName": "ansi-regex",
20
+ "rawSpec": "2.1.1",
21
+ "saveSpec": null,
22
+ "fetchSpec": "2.1.1"
35
23
  },
36
- "_requiredBy": [
37
- "/has-ansi",
38
- "/strip-ansi"
39
- ],
40
- "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz",
41
- "_shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
42
- "_shrinkwrap": null,
43
- "_spec": "ansi-regex@^2.0.0",
44
- "_where": "/Users/eshanker/Code/fsevents/node_modules/strip-ansi",
24
+ "_requiredBy": [],
25
+ "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
26
+ "_spec": "2.1.1",
27
+ "_where": "/Users/eshanker/Code/fsevents",
45
28
  "author": {
46
29
  "name": "Sindre Sorhus",
47
30
  "email": "sindresorhus@gmail.com",
48
31
  "url": "sindresorhus.com"
49
32
  },
50
33
  "bugs": {
51
- "url": "https://github.com/sindresorhus/ansi-regex/issues"
34
+ "url": "https://github.com/chalk/ansi-regex/issues"
52
35
  },
53
- "dependencies": {},
54
36
  "description": "Regular expression for matching ANSI escape codes",
55
37
  "devDependencies": {
56
- "mocha": "*"
57
- },
58
- "directories": {},
59
- "dist": {
60
- "shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
61
- "tarball": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz"
38
+ "ava": "0.17.0",
39
+ "xo": "0.16.0"
62
40
  },
63
41
  "engines": {
64
42
  "node": ">=0.10.0"
@@ -66,8 +44,7 @@
66
44
  "files": [
67
45
  "index.js"
68
46
  ],
69
- "gitHead": "57c3f2941a73079fa8b081e02a522e3d29913e2f",
70
- "homepage": "https://github.com/sindresorhus/ansi-regex",
47
+ "homepage": "https://github.com/chalk/ansi-regex#readme",
71
48
  "keywords": [
72
49
  "ansi",
73
50
  "styles",
@@ -98,24 +75,35 @@
98
75
  "license": "MIT",
99
76
  "maintainers": [
100
77
  {
101
- "name": "sindresorhus",
102
- "email": "sindresorhus@gmail.com"
78
+ "name": "Sindre Sorhus",
79
+ "email": "sindresorhus@gmail.com",
80
+ "url": "sindresorhus.com"
81
+ },
82
+ {
83
+ "name": "Joshua Appelman",
84
+ "email": "jappelman@xebia.com",
85
+ "url": "jbnicolai.com"
103
86
  },
104
87
  {
105
- "name": "jbnicolai",
106
- "email": "jappelman@xebia.com"
88
+ "name": "JD Ballard",
89
+ "email": "i.am.qix@gmail.com",
90
+ "url": "github.com/qix-"
107
91
  }
108
92
  ],
109
93
  "name": "ansi-regex",
110
- "optionalDependencies": {},
111
- "readme": "ERROR: No README data found!",
112
94
  "repository": {
113
95
  "type": "git",
114
- "url": "git+https://github.com/sindresorhus/ansi-regex.git"
96
+ "url": "git+https://github.com/chalk/ansi-regex.git"
115
97
  },
116
98
  "scripts": {
117
- "test": "mocha test/test.js",
118
- "view-supported": "node test/viewCodes.js"
99
+ "test": "xo && ava --verbose",
100
+ "view-supported": "node fixtures/view-codes.js"
119
101
  },
120
- "version": "2.0.0"
102
+ "version": "2.1.1",
103
+ "xo": {
104
+ "rules": {
105
+ "guard-for-in": 0,
106
+ "no-loop-func": 0
107
+ }
108
+ }
121
109
  }
@@ -1,4 +1,4 @@
1
- # ansi-regex [![Build Status](https://travis-ci.org/sindresorhus/ansi-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-regex)
1
+ # ansi-regex [![Build Status](https://travis-ci.org/chalk/ansi-regex.svg?branch=master)](https://travis-ci.org/chalk/ansi-regex)
2
2
 
3
3
  > Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)
4
4
 
@@ -13,7 +13,7 @@ $ npm install --save ansi-regex
13
13
  ## Usage
14
14
 
15
15
  ```js
16
- var ansiRegex = require('ansi-regex');
16
+ const ansiRegex = require('ansi-regex');
17
17
 
18
18
  ansiRegex().test('\u001b[4mcake\u001b[0m');
19
19
  //=> true
@@ -25,6 +25,14 @@ ansiRegex().test('cake');
25
25
  //=> ['\u001b[4m', '\u001b[0m']
26
26
  ```
27
27
 
28
+ ## FAQ
29
+
30
+ ### Why do you test for codes not in the ECMA 48 standard?
31
+
32
+ Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. If I recall correctly, we test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them.
33
+
34
+ On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out.
35
+
28
36
 
29
37
  ## License
30
38
 
@@ -29,7 +29,8 @@ N | typeof == number
29
29
  F | typeof == function
30
30
  O | typeof == object and not type A and not type E
31
31
  B | typeof == boolean
32
- E | instanceof Error OR null
32
+ E | instanceof Error OR null **(special: see below)**
33
+ Z | == null
33
34
 
34
35
  Validation failures throw one of three exception types, distinguished by a
35
36
  `code` property of `EMISSINGARG`, `EINVALIDTYPE` or `ETOOMANYARGS`.
@@ -37,8 +38,37 @@ Validation failures throw one of three exception types, distinguished by a
37
38
  If you pass in an invalid type then it will throw with a code of
38
39
  `EUNKNOWNTYPE`.
39
40
 
40
- If an error argument is found and is not null then the remaining arguments
41
- will not be validated.
41
+ If an **error** argument is found and is not null then the remaining
42
+ arguments are optional. That is, if you say `ESO` then that's like using a
43
+ non-magical `E` in: `E|ESO|ZSO`.
44
+
45
+ ### But I have optional arguments?!
46
+
47
+ You can provide more than one signature by separating them with pipes `|`.
48
+ If any signature matches the arguments then they'll be considered valid.
49
+
50
+ So for example, say you wanted to write a signature for
51
+ `fs.createWriteStream`. The docs for it describe it thusly:
52
+
53
+ ```
54
+ fs.createWriteStream(path[, options])
55
+ ```
56
+
57
+ This would be a signature of `SO|S`. That is, a string and and object, or
58
+ just a string.
59
+
60
+ Now, if you read the full `fs` docs, you'll see that actually path can ALSO
61
+ be a buffer. And options can be a string, that is:
62
+ ```
63
+ path <String> | <Buffer>
64
+ options <String> | <Object>
65
+ ```
66
+
67
+ To reproduce this you have to fully enumerate all of the possible
68
+ combinations and that implies a signature of `SO|SS|OO|OS|S|O`. The
69
+ awkwardness is a feature: It reminds you of the complexity you're adding to
70
+ your API when you do this sort of thing.
71
+
42
72
 
43
73
  ### Why this exists
44
74
 
@@ -1,36 +1,64 @@
1
1
  'use strict'
2
2
 
3
3
  function isArguments (thingy) {
4
- return typeof thingy === 'object' && thingy.hasOwnProperty('callee')
4
+ return thingy != null && typeof thingy === 'object' && thingy.hasOwnProperty('callee')
5
5
  }
6
6
 
7
7
  var types = {
8
- '*': ['any', function () { return true }],
9
- A: ['array', function (thingy) { return Array.isArray(thingy) || isArguments(thingy) }],
10
- S: ['string', function (thingy) { return typeof thingy === 'string' }],
11
- N: ['number', function (thingy) { return typeof thingy === 'number' }],
12
- F: ['function', function (thingy) { return typeof thingy === 'function' }],
13
- O: ['object', function (thingy) { return typeof thingy === 'object' && !types.A[1](thingy) && !types.E[1](thingy) }],
14
- B: ['boolean', function (thingy) { return typeof thingy === 'boolean' }],
15
- E: ['error', function (thingy) { return thingy instanceof Error }]
16
- }
17
-
18
- var validate = module.exports = function (schema, args) {
19
- if (!schema) throw missingRequiredArg(0, 'schema')
8
+ '*': {label: 'any', check: function () { return true }},
9
+ A: {label: 'array', check: function (thingy) { return Array.isArray(thingy) || isArguments(thingy) }},
10
+ S: {label: 'string', check: function (thingy) { return typeof thingy === 'string' }},
11
+ N: {label: 'number', check: function (thingy) { return typeof thingy === 'number' }},
12
+ F: {label: 'function', check: function (thingy) { return typeof thingy === 'function' }},
13
+ O: {label: 'object', check: function (thingy) { return typeof thingy === 'object' && thingy != null && !types.A.check(thingy) && !types.E.check(thingy) }},
14
+ B: {label: 'boolean', check: function (thingy) { return typeof thingy === 'boolean' }},
15
+ E: {label: 'error', check: function (thingy) { return thingy instanceof Error }},
16
+ Z: {label: 'null', check: function (thingy) { return thingy == null }}
17
+ }
18
+
19
+ var validate = module.exports = function (rawSchemas, args) {
20
+ if (arguments.length !== 2) throw wrongNumberOfArgs(['SA'], arguments.length)
21
+ if (!rawSchemas) throw missingRequiredArg(0, 'rawSchemas')
20
22
  if (!args) throw missingRequiredArg(1, 'args')
21
- if (!types.S[1](schema)) throw invalidType(0, 'string', schema)
22
- if (!types.A[1](args)) throw invalidType(1, 'array', args)
23
- for (var ii = 0; ii < schema.length; ++ii) {
24
- var type = schema[ii]
25
- if (!types[type]) throw unknownType(ii, type)
26
- var typeLabel = types[type][0]
27
- var typeCheck = types[type][1]
28
- if (type === 'E' && args[ii] == null) continue
29
- if (args[ii] == null) throw missingRequiredArg(ii)
30
- if (!typeCheck(args[ii])) throw invalidType(ii, typeLabel, args[ii])
31
- if (type === 'E') return
23
+ if (!types.S.check(rawSchemas)) throw invalidType(0, ['string'], rawSchemas)
24
+ if (!types.A.check(args)) throw invalidType(1, ['array'], args)
25
+ var schemas = rawSchemas.split('|')
26
+ var arity = {}
27
+ function addSchema (schema) {
28
+ var group = arity[schema.length] = arity[schema.length] || []
29
+ if (group.indexOf(schema) === -1) group.push(schema)
30
+ }
31
+ schemas.forEach(function (schema) {
32
+ for (var ii = 0; ii < schema.length; ++ii) {
33
+ var type = schema[ii]
34
+ if (!types[type]) throw unknownType(ii, type)
35
+ }
36
+ if (/E.*E/.test(schema)) throw moreThanOneError(schema)
37
+ addSchema(schema)
38
+ if (/E/.test(schema)) {
39
+ addSchema(schema.replace(/E.*$/, 'E'))
40
+ addSchema(schema.replace(/E/, 'Z'))
41
+ if (schema.length === 1) addSchema('')
42
+ }
43
+ })
44
+ var matching = arity[args.length]
45
+ if (!matching) {
46
+ throw wrongNumberOfArgs(Object.keys(arity), args.length)
47
+ }
48
+ for (var ii = 0; ii < args.length; ++ii) {
49
+ var newMatching = matching.filter(function (schema) {
50
+ var type = schema[ii]
51
+ var typeCheck = types[type].check
52
+ return typeCheck(args[ii])
53
+ })
54
+ if (!newMatching.length) {
55
+ var labels = matching.map(function (schema) {
56
+ return types[schema[ii]].label
57
+ }).filter(function (schema) { return schema != null })
58
+ throw invalidType(ii, labels, args[ii])
59
+ }
60
+ matching = newMatching
32
61
  }
33
- if (schema.length < args.length) throw tooManyArgs(schema.length, args.length)
34
62
  }
35
63
 
36
64
  function missingRequiredArg (num) {
@@ -41,17 +69,30 @@ function unknownType (num, type) {
41
69
  return newException('EUNKNOWNTYPE', 'Unknown type ' + type + ' in argument #' + (num + 1))
42
70
  }
43
71
 
44
- function invalidType (num, expectedType, value) {
72
+ function invalidType (num, expectedTypes, value) {
45
73
  var valueType
46
74
  Object.keys(types).forEach(function (typeCode) {
47
- if (types[typeCode][1](value)) valueType = types[typeCode][0]
75
+ if (types[typeCode].check(value)) valueType = types[typeCode].label
48
76
  })
49
77
  return newException('EINVALIDTYPE', 'Argument #' + (num + 1) + ': Expected ' +
50
- expectedType + ' but got ' + valueType)
78
+ englishList(expectedTypes) + ' but got ' + valueType)
79
+ }
80
+
81
+ function englishList (list) {
82
+ return list.join(', ').replace(/, ([^,]+)$/, ' or $1')
83
+ }
84
+
85
+ function wrongNumberOfArgs (expected, got) {
86
+ var english = englishList(expected)
87
+ var args = expected.every(function (ex) { return ex.length === 1 })
88
+ ? 'argument'
89
+ : 'arguments'
90
+ return newException('EWRONGARGCOUNT', 'Expected ' + english + ' ' + args + ' but got ' + got)
51
91
  }
52
92
 
53
- function tooManyArgs (expected, got) {
54
- return newException('ETOOMANYARGS', 'Too many arguments, expected ' + expected + ' and got ' + got)
93
+ function moreThanOneError (schema) {
94
+ return newException('ETOOMANYERRORTYPES',
95
+ 'Only one error type per argument signature is allowed, more than one found in "' + schema + '"')
55
96
  }
56
97
 
57
98
  function newException (code, msg) {
@@ -1,50 +1,30 @@
1
1
  {
2
2
  "_args": [
3
3
  [
4
- {
5
- "raw": "aproba@^1.0.3",
6
- "scope": null,
7
- "escapedName": "aproba",
8
- "name": "aproba",
9
- "rawSpec": "^1.0.3",
10
- "spec": ">=1.0.3 <2.0.0",
11
- "type": "range"
12
- },
13
- "/Users/eshanker/Code/fsevents/node_modules/gauge"
4
+ "aproba@1.1.1",
5
+ "/Users/eshanker/Code/fsevents"
14
6
  ]
15
7
  ],
16
- "_from": "aproba@>=1.0.3 <2.0.0",
17
- "_id": "aproba@1.0.4",
18
- "_inCache": true,
8
+ "_from": "aproba@1.1.1",
9
+ "_id": "aproba@1.1.1",
10
+ "_inBundle": false,
11
+ "_integrity": "sha1-ldNgDwdxCqDpKYxyatXs8urLq6s=",
19
12
  "_location": "/aproba",
20
- "_nodeVersion": "4.4.0",
21
- "_npmOperationalInternal": {
22
- "host": "packages-12-west.internal.npmjs.com",
23
- "tmp": "tmp/aproba-1.0.4.tgz_1466718885402_0.5348939662799239"
24
- },
25
- "_npmUser": {
26
- "name": "iarna",
27
- "email": "me@re-becca.org"
28
- },
29
- "_npmVersion": "3.10.2",
30
13
  "_phantomChildren": {},
31
14
  "_requested": {
32
- "raw": "aproba@^1.0.3",
33
- "scope": null,
34
- "escapedName": "aproba",
15
+ "type": "version",
16
+ "registry": true,
17
+ "raw": "aproba@1.1.1",
35
18
  "name": "aproba",
36
- "rawSpec": "^1.0.3",
37
- "spec": ">=1.0.3 <2.0.0",
38
- "type": "range"
39
- },
40
- "_requiredBy": [
41
- "/gauge"
42
- ],
43
- "_resolved": "https://registry.npmjs.org/aproba/-/aproba-1.0.4.tgz",
44
- "_shasum": "2713680775e7614c8ba186c065d4e2e52d1072c0",
45
- "_shrinkwrap": null,
46
- "_spec": "aproba@^1.0.3",
47
- "_where": "/Users/eshanker/Code/fsevents/node_modules/gauge",
19
+ "escapedName": "aproba",
20
+ "rawSpec": "1.1.1",
21
+ "saveSpec": null,
22
+ "fetchSpec": "1.1.1"
23
+ },
24
+ "_requiredBy": [],
25
+ "_resolved": "https://registry.npmjs.org/aproba/-/aproba-1.1.1.tgz",
26
+ "_spec": "1.1.1",
27
+ "_where": "/Users/eshanker/Code/fsevents",
48
28
  "author": {
49
29
  "name": "Rebecca Turner",
50
30
  "email": "me@re-becca.org"
@@ -55,20 +35,15 @@
55
35
  "dependencies": {},
56
36
  "description": "A rediculously light-weight argument validator",
57
37
  "devDependencies": {
58
- "standard": "^7.1.2",
59
- "tap": "^5.7.3"
38
+ "standard": "^8.6.0",
39
+ "tap": "^10.0.2"
60
40
  },
61
41
  "directories": {
62
42
  "test": "test"
63
43
  },
64
- "dist": {
65
- "shasum": "2713680775e7614c8ba186c065d4e2e52d1072c0",
66
- "tarball": "https://registry.npmjs.org/aproba/-/aproba-1.0.4.tgz"
67
- },
68
44
  "files": [
69
45
  "index.js"
70
46
  ],
71
- "gitHead": "c6c8f82d519b9ec3816f20f23a9101083c022200",
72
47
  "homepage": "https://github.com/iarna/aproba",
73
48
  "keywords": [
74
49
  "argument",
@@ -76,21 +51,13 @@
76
51
  ],
77
52
  "license": "ISC",
78
53
  "main": "index.js",
79
- "maintainers": [
80
- {
81
- "name": "iarna",
82
- "email": "me@re-becca.org"
83
- }
84
- ],
85
54
  "name": "aproba",
86
- "optionalDependencies": {},
87
- "readme": "ERROR: No README data found!",
88
55
  "repository": {
89
56
  "type": "git",
90
57
  "url": "git+https://github.com/iarna/aproba.git"
91
58
  },
92
59
  "scripts": {
93
- "test": "standard && tap test/*.js"
60
+ "test": "standard && tap -j3 test/*.js"
94
61
  },
95
- "version": "1.0.4"
62
+ "version": "1.1.1"
96
63
  }
@@ -1,5 +1,17 @@
1
1
  Hi, figured we could actually use a changelog now:
2
2
 
3
+ ## 1.1.4 2017-04-21
4
+
5
+ * Fix typo in package.json
6
+
7
+ ## 1.1.3 2017-04-21
8
+
9
+ * Improve documentation and limit files included in the distribution.
10
+
11
+ ## 1.1.2 2016-03-15
12
+
13
+ * Add tracker group cycle detection and tests for it
14
+
3
15
  ## 1.1.1 2016-01-29
4
16
 
5
17
  * Fix a typo in stream completion tracker
@@ -0,0 +1,27 @@
1
+ Hi, figured we could actually use a changelog now:
2
+
3
+ ## 1.1.3 2017-04-21
4
+
5
+ * Improve documentation and limit files included in the distribution.
6
+
7
+ ## 1.1.2 2016-03-15
8
+
9
+ * Add tracker group cycle detection and tests for it
10
+
11
+ ## 1.1.1 2016-01-29
12
+
13
+ * Fix a typo in stream completion tracker
14
+
15
+ ## 1.1.0 2016-01-29
16
+
17
+ * Rewrote completion percent computation to be low impact– no more walking a
18
+ tree of completion groups every time we need this info. Previously, with
19
+ medium sized tree of completion groups, even a relatively modest number of
20
+ calls to the top level `completed()` method would result in absurd numbers
21
+ of calls overall as it walked down the tree. We now, instead, keep track as
22
+ we bubble up changes, so the computation is limited to when data changes and
23
+ to the depth of that one branch, instead of _every_ node. (Plus, we were already
24
+ incurring _this_ cost, since we already bubbled out changes.)
25
+ * Moved different tracker types out to their own files.
26
+ * Made tests test for TOO MANY events too.
27
+ * Standarized the source code formatting
@@ -42,15 +42,16 @@ fs.stat("file", function(er, stat) {
42
42
  Shared Methods
43
43
  ==============
44
44
 
45
- All tracker objects described below have the following methods, they, along
46
- with the event comprise the interface for consumers of tracker objects.
47
-
48
45
  * var completed = tracker.completed()
49
46
 
47
+ Implemented in: `Tracker`, `TrackerGroup`, `TrackerStream`
48
+
50
49
  Returns the ratio of completed work to work to be done. Range of 0 to 1.
51
50
 
52
51
  * tracker.finish()
53
52
 
53
+ Implemented in: `Tracker`, `TrackerGroup`
54
+
54
55
  Marks the tracker as completed. With a TrackerGroup this marks all of its
55
56
  components as completed.
56
57