brwy_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3467) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +8 -0
  4. data/lib/brwy_rails/middleware.rb +54 -0
  5. data/lib/brwy_rails/railtie.rb +21 -0
  6. data/lib/brwy_rails/runner.rb +75 -0
  7. data/lib/brwy_rails/version.rb +3 -0
  8. data/lib/brwy_rails.rb +5 -0
  9. data/lib/tasks/bywy_rails_tasks.rake +17 -0
  10. data/test/brwy_rails_test.rb +7 -0
  11. data/test/dummy/README.rdoc +28 -0
  12. data/test/dummy/Rakefile +6 -0
  13. data/test/dummy/app/assets/javascripts/application.js +1 -0
  14. data/test/dummy/app/assets/javascripts/sub.js +1 -0
  15. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  16. data/test/dummy/app/controllers/application_controller.rb +5 -0
  17. data/test/dummy/app/controllers/home_controller.rb +4 -0
  18. data/test/dummy/app/helpers/application_helper.rb +2 -0
  19. data/test/dummy/app/views/home/index.html +1 -0
  20. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  21. data/test/dummy/bin/bundle +3 -0
  22. data/test/dummy/bin/rails +4 -0
  23. data/test/dummy/bin/rake +4 -0
  24. data/test/dummy/bin/setup +29 -0
  25. data/test/dummy/config/application.rb +22 -0
  26. data/test/dummy/config/boot.rb +5 -0
  27. data/test/dummy/config/database.yml +25 -0
  28. data/test/dummy/config/environment.rb +5 -0
  29. data/test/dummy/config/environments/development.rb +42 -0
  30. data/test/dummy/config/environments/production.rb +79 -0
  31. data/test/dummy/config/environments/test.rb +42 -0
  32. data/test/dummy/config/initializers/assets.rb +11 -0
  33. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  34. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  35. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  36. data/test/dummy/config/initializers/inflections.rb +16 -0
  37. data/test/dummy/config/initializers/mime_types.rb +4 -0
  38. data/test/dummy/config/initializers/session_store.rb +3 -0
  39. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/test/dummy/config/locales/en.yml +23 -0
  41. data/test/dummy/config/routes.rb +56 -0
  42. data/test/dummy/config/secrets.yml +22 -0
  43. data/test/dummy/config.ru +4 -0
  44. data/test/dummy/db/development.sqlite3 +0 -0
  45. data/test/dummy/log/development.log +1367 -0
  46. data/test/dummy/log/production.log +0 -0
  47. data/test/dummy/node_modules/JSONStream/LICENSE.APACHE2 +15 -0
  48. data/test/dummy/node_modules/JSONStream/LICENSE.MIT +24 -0
  49. data/test/dummy/node_modules/JSONStream/examples/all_docs.js +13 -0
  50. data/test/dummy/node_modules/JSONStream/index.js +209 -0
  51. data/test/dummy/node_modules/JSONStream/package.json +104 -0
  52. data/test/dummy/node_modules/JSONStream/readme.markdown +188 -0
  53. data/test/dummy/node_modules/JSONStream/test/bool.js +41 -0
  54. data/test/dummy/node_modules/JSONStream/test/browser.js +18 -0
  55. data/test/dummy/node_modules/JSONStream/test/destroy_missing.js +27 -0
  56. data/test/dummy/node_modules/JSONStream/test/disabled/doubledot1.js +29 -0
  57. data/test/dummy/node_modules/JSONStream/test/disabled/doubledot2.js +29 -0
  58. data/test/dummy/node_modules/JSONStream/test/empty.js +44 -0
  59. data/test/dummy/node_modules/JSONStream/test/fixtures/all_npm.json +4030 -0
  60. data/test/dummy/node_modules/JSONStream/test/fixtures/couch_sample.json +18 -0
  61. data/test/dummy/node_modules/JSONStream/test/fixtures/depth.json +15 -0
  62. data/test/dummy/node_modules/JSONStream/test/fn.js +39 -0
  63. data/test/dummy/node_modules/JSONStream/test/gen.js +135 -0
  64. data/test/dummy/node_modules/JSONStream/test/issues.js +20 -0
  65. data/test/dummy/node_modules/JSONStream/test/keys.js +85 -0
  66. data/test/dummy/node_modules/JSONStream/test/map.js +40 -0
  67. data/test/dummy/node_modules/JSONStream/test/multiple_objects.js +36 -0
  68. data/test/dummy/node_modules/JSONStream/test/multiple_objects_error.js +29 -0
  69. data/test/dummy/node_modules/JSONStream/test/null.js +28 -0
  70. data/test/dummy/node_modules/JSONStream/test/parsejson.js +28 -0
  71. data/test/dummy/node_modules/JSONStream/test/stringify.js +41 -0
  72. data/test/dummy/node_modules/JSONStream/test/stringify_object.js +47 -0
  73. data/test/dummy/node_modules/JSONStream/test/test.js +35 -0
  74. data/test/dummy/node_modules/JSONStream/test/test2.js +29 -0
  75. data/test/dummy/node_modules/JSONStream/test/two-ways.js +41 -0
  76. data/test/dummy/node_modules/acorn/AUTHORS +38 -0
  77. data/test/dummy/node_modules/acorn/LICENSE +19 -0
  78. data/test/dummy/node_modules/acorn/README.md +377 -0
  79. data/test/dummy/node_modules/acorn/bin/acorn +54 -0
  80. data/test/dummy/node_modules/acorn/bin/build-acorn.js +51 -0
  81. data/test/dummy/node_modules/acorn/bin/generate-identifier-regex.js +47 -0
  82. data/test/dummy/node_modules/acorn/bin/prepublish.sh +2 -0
  83. data/test/dummy/node_modules/acorn/bin/update_authors.sh +6 -0
  84. data/test/dummy/node_modules/acorn/bin/without_eval +48 -0
  85. data/test/dummy/node_modules/acorn/dist/acorn.js +4014 -0
  86. data/test/dummy/node_modules/acorn/dist/acorn_csp.js +3985 -0
  87. data/test/dummy/node_modules/acorn/dist/acorn_loose.js +1298 -0
  88. data/test/dummy/node_modules/acorn/dist/walk.js +342 -0
  89. data/test/dummy/node_modules/acorn/package.json +194 -0
  90. data/test/dummy/node_modules/acorn/src/expression.js +697 -0
  91. data/test/dummy/node_modules/acorn/src/identifier.js +129 -0
  92. data/test/dummy/node_modules/acorn/src/index.js +75 -0
  93. data/test/dummy/node_modules/acorn/src/location.js +68 -0
  94. data/test/dummy/node_modules/acorn/src/loose/acorn_loose.js +0 -0
  95. data/test/dummy/node_modules/acorn/src/loose/expression.js +511 -0
  96. data/test/dummy/node_modules/acorn/src/loose/index.js +50 -0
  97. data/test/dummy/node_modules/acorn/src/loose/parseutil.js +126 -0
  98. data/test/dummy/node_modules/acorn/src/loose/state.js +17 -0
  99. data/test/dummy/node_modules/acorn/src/loose/statement.js +419 -0
  100. data/test/dummy/node_modules/acorn/src/loose/tokenize.js +108 -0
  101. data/test/dummy/node_modules/acorn/src/lval.js +213 -0
  102. data/test/dummy/node_modules/acorn/src/node.js +70 -0
  103. data/test/dummy/node_modules/acorn/src/options.js +119 -0
  104. data/test/dummy/node_modules/acorn/src/parseutil.js +89 -0
  105. data/test/dummy/node_modules/acorn/src/state.js +78 -0
  106. data/test/dummy/node_modules/acorn/src/statement.js +594 -0
  107. data/test/dummy/node_modules/acorn/src/tokencontext.js +107 -0
  108. data/test/dummy/node_modules/acorn/src/tokenize.js +672 -0
  109. data/test/dummy/node_modules/acorn/src/tokentype.js +142 -0
  110. data/test/dummy/node_modules/acorn/src/util.js +9 -0
  111. data/test/dummy/node_modules/acorn/src/walk/index.js +291 -0
  112. data/test/dummy/node_modules/acorn/src/whitespace.js +12 -0
  113. data/test/dummy/node_modules/anymatch/LICENSE +15 -0
  114. data/test/dummy/node_modules/anymatch/README.md +91 -0
  115. data/test/dummy/node_modules/anymatch/index.js +64 -0
  116. data/test/dummy/node_modules/anymatch/package.json +96 -0
  117. data/test/dummy/node_modules/arr-diff/LICENSE +21 -0
  118. data/test/dummy/node_modules/arr-diff/README.md +74 -0
  119. data/test/dummy/node_modules/arr-diff/index.js +58 -0
  120. data/test/dummy/node_modules/arr-diff/package.json +111 -0
  121. data/test/dummy/node_modules/arr-flatten/LICENSE +21 -0
  122. data/test/dummy/node_modules/arr-flatten/README.md +73 -0
  123. data/test/dummy/node_modules/arr-flatten/index.js +27 -0
  124. data/test/dummy/node_modules/arr-flatten/package.json +100 -0
  125. data/test/dummy/node_modules/array-filter/README.md +54 -0
  126. data/test/dummy/node_modules/array-filter/index.js +19 -0
  127. data/test/dummy/node_modules/array-filter/package.json +96 -0
  128. data/test/dummy/node_modules/array-filter/test/filter.js +12 -0
  129. data/test/dummy/node_modules/array-filter/test/holes.js +12 -0
  130. data/test/dummy/node_modules/array-map/LICENSE +18 -0
  131. data/test/dummy/node_modules/array-map/example/map.js +5 -0
  132. data/test/dummy/node_modules/array-map/index.js +11 -0
  133. data/test/dummy/node_modules/array-map/package.json +100 -0
  134. data/test/dummy/node_modules/array-map/readme.markdown +46 -0
  135. data/test/dummy/node_modules/array-map/test/map.js +77 -0
  136. data/test/dummy/node_modules/array-reduce/LICENSE +18 -0
  137. data/test/dummy/node_modules/array-reduce/example/sum.js +4 -0
  138. data/test/dummy/node_modules/array-reduce/index.js +18 -0
  139. data/test/dummy/node_modules/array-reduce/package.json +99 -0
  140. data/test/dummy/node_modules/array-reduce/readme.markdown +46 -0
  141. data/test/dummy/node_modules/array-reduce/test/reduce.js +85 -0
  142. data/test/dummy/node_modules/array-unique/LICENSE +21 -0
  143. data/test/dummy/node_modules/array-unique/README.md +51 -0
  144. data/test/dummy/node_modules/array-unique/index.js +28 -0
  145. data/test/dummy/node_modules/array-unique/package.json +86 -0
  146. data/test/dummy/node_modules/arrify/index.js +8 -0
  147. data/test/dummy/node_modules/arrify/license +21 -0
  148. data/test/dummy/node_modules/arrify/package.json +89 -0
  149. data/test/dummy/node_modules/arrify/readme.md +36 -0
  150. data/test/dummy/node_modules/asn1.js/README.md +100 -0
  151. data/test/dummy/node_modules/asn1.js/lib/asn1/api.js +59 -0
  152. data/test/dummy/node_modules/asn1.js/lib/asn1/base/buffer.js +116 -0
  153. data/test/dummy/node_modules/asn1.js/lib/asn1/base/index.js +6 -0
  154. data/test/dummy/node_modules/asn1.js/lib/asn1/base/node.js +621 -0
  155. data/test/dummy/node_modules/asn1.js/lib/asn1/base/reporter.js +102 -0
  156. data/test/dummy/node_modules/asn1.js/lib/asn1/constants/der.js +42 -0
  157. data/test/dummy/node_modules/asn1.js/lib/asn1/constants/index.js +19 -0
  158. data/test/dummy/node_modules/asn1.js/lib/asn1/decoders/der.js +321 -0
  159. data/test/dummy/node_modules/asn1.js/lib/asn1/decoders/index.js +4 -0
  160. data/test/dummy/node_modules/asn1.js/lib/asn1/decoders/pem.js +50 -0
  161. data/test/dummy/node_modules/asn1.js/lib/asn1/encoders/der.js +294 -0
  162. data/test/dummy/node_modules/asn1.js/lib/asn1/encoders/index.js +4 -0
  163. data/test/dummy/node_modules/asn1.js/lib/asn1/encoders/pem.js +23 -0
  164. data/test/dummy/node_modules/asn1.js/lib/asn1.js +9 -0
  165. data/test/dummy/node_modules/asn1.js/package.json +89 -0
  166. data/test/dummy/node_modules/asn1.js/rfc/2560/index.js +149 -0
  167. data/test/dummy/node_modules/asn1.js/rfc/2560/package.json +27 -0
  168. data/test/dummy/node_modules/asn1.js/rfc/2560/test/basic-test.js +50 -0
  169. data/test/dummy/node_modules/asn1.js/rfc/5280/index.js +878 -0
  170. data/test/dummy/node_modules/asn1.js/rfc/5280/package.json +24 -0
  171. data/test/dummy/node_modules/asn1.js/rfc/5280/test/basic-test.js +105 -0
  172. data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert1.crt +0 -0
  173. data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert2.crt +0 -0
  174. data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert3.crt +0 -0
  175. data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert4.crt +0 -0
  176. data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert5.crt +0 -0
  177. data/test/dummy/node_modules/asn1.js/rfc/5280/test/fixtures/cert6.crt +0 -0
  178. data/test/dummy/node_modules/asn1.js/test/der-decode-test.js +149 -0
  179. data/test/dummy/node_modules/asn1.js/test/der-encode-test.js +133 -0
  180. data/test/dummy/node_modules/asn1.js/test/error-test.js +222 -0
  181. data/test/dummy/node_modules/asn1.js/test/fixtures.js +7 -0
  182. data/test/dummy/node_modules/asn1.js/test/pem-test.js +54 -0
  183. data/test/dummy/node_modules/asn1.js/test/ping-pong-test.js +170 -0
  184. data/test/dummy/node_modules/asn1.js/test/use-test.js +128 -0
  185. data/test/dummy/node_modules/assert/LICENSE +18 -0
  186. data/test/dummy/node_modules/assert/README.md +64 -0
  187. data/test/dummy/node_modules/assert/assert.js +359 -0
  188. data/test/dummy/node_modules/assert/package.json +80 -0
  189. data/test/dummy/node_modules/assert/test.js +343 -0
  190. data/test/dummy/node_modules/ast-types/LICENSE +20 -0
  191. data/test/dummy/node_modules/ast-types/README.md +489 -0
  192. data/test/dummy/node_modules/ast-types/def/babel.js +105 -0
  193. data/test/dummy/node_modules/ast-types/def/core.js +367 -0
  194. data/test/dummy/node_modules/ast-types/def/e4x.js +84 -0
  195. data/test/dummy/node_modules/ast-types/def/es6.js +217 -0
  196. data/test/dummy/node_modules/ast-types/def/es7.js +36 -0
  197. data/test/dummy/node_modules/ast-types/def/esprima.js +96 -0
  198. data/test/dummy/node_modules/ast-types/def/flow.js +269 -0
  199. data/test/dummy/node_modules/ast-types/def/jsx.js +100 -0
  200. data/test/dummy/node_modules/ast-types/def/mozilla.js +49 -0
  201. data/test/dummy/node_modules/ast-types/lib/equiv.js +184 -0
  202. data/test/dummy/node_modules/ast-types/lib/node-path.js +474 -0
  203. data/test/dummy/node_modules/ast-types/lib/path-visitor.js +419 -0
  204. data/test/dummy/node_modules/ast-types/lib/path.js +366 -0
  205. data/test/dummy/node_modules/ast-types/lib/scope.js +330 -0
  206. data/test/dummy/node_modules/ast-types/lib/shared.js +41 -0
  207. data/test/dummy/node_modules/ast-types/lib/types.js +828 -0
  208. data/test/dummy/node_modules/ast-types/main.js +34 -0
  209. data/test/dummy/node_modules/ast-types/package.json +100 -0
  210. data/test/dummy/node_modules/astw/LICENSE +18 -0
  211. data/test/dummy/node_modules/astw/example/types.js +8 -0
  212. data/test/dummy/node_modules/astw/index.js +51 -0
  213. data/test/dummy/node_modules/astw/package.json +96 -0
  214. data/test/dummy/node_modules/astw/readme.markdown +52 -0
  215. data/test/dummy/node_modules/astw/test/json.js +13 -0
  216. data/test/dummy/node_modules/astw/test/parent.js +25 -0
  217. data/test/dummy/node_modules/async-each/CHANGELOG.md +23 -0
  218. data/test/dummy/node_modules/async-each/README.md +64 -0
  219. data/test/dummy/node_modules/async-each/bower.json +22 -0
  220. data/test/dummy/node_modules/async-each/component.json +18 -0
  221. data/test/dummy/node_modules/async-each/index.js +38 -0
  222. data/test/dummy/node_modules/async-each/package.json +89 -0
  223. data/test/dummy/node_modules/async-each/test.js +13 -0
  224. data/test/dummy/node_modules/balanced-match/LICENSE.md +21 -0
  225. data/test/dummy/node_modules/balanced-match/Makefile +6 -0
  226. data/test/dummy/node_modules/balanced-match/README.md +89 -0
  227. data/test/dummy/node_modules/balanced-match/example.js +5 -0
  228. data/test/dummy/node_modules/balanced-match/index.js +50 -0
  229. data/test/dummy/node_modules/balanced-match/package.json +98 -0
  230. data/test/dummy/node_modules/balanced-match/test/balanced.js +84 -0
  231. data/test/dummy/node_modules/base64-js/LICENSE.MIT +21 -0
  232. data/test/dummy/node_modules/base64-js/README.md +31 -0
  233. data/test/dummy/node_modules/base64-js/base64js.min.js +1 -0
  234. data/test/dummy/node_modules/base64-js/bower.json +33 -0
  235. data/test/dummy/node_modules/base64-js/lib/b64.js +109 -0
  236. data/test/dummy/node_modules/base64-js/package.json +87 -0
  237. data/test/dummy/node_modules/base64-js/test/big-data.js +24 -0
  238. data/test/dummy/node_modules/base64-js/test/convert.js +47 -0
  239. data/test/dummy/node_modules/base64-js/test/url-safe.js +18 -0
  240. data/test/dummy/node_modules/binary-extensions/binary-extensions.json +188 -0
  241. data/test/dummy/node_modules/binary-extensions/license +21 -0
  242. data/test/dummy/node_modules/binary-extensions/package.json +104 -0
  243. data/test/dummy/node_modules/binary-extensions/readme.md +33 -0
  244. data/test/dummy/node_modules/bn.js/README.md +219 -0
  245. data/test/dummy/node_modules/bn.js/lib/bn.js +3419 -0
  246. data/test/dummy/node_modules/bn.js/package.json +104 -0
  247. data/test/dummy/node_modules/bn.js/test/arithmetic-test.js +635 -0
  248. data/test/dummy/node_modules/bn.js/test/binary-test.js +228 -0
  249. data/test/dummy/node_modules/bn.js/test/constructor-test.js +149 -0
  250. data/test/dummy/node_modules/bn.js/test/fixtures.js +264 -0
  251. data/test/dummy/node_modules/bn.js/test/pummel/dh-group-test.js +23 -0
  252. data/test/dummy/node_modules/bn.js/test/red-test.js +263 -0
  253. data/test/dummy/node_modules/bn.js/test/utils-test.js +345 -0
  254. data/test/dummy/node_modules/bn.js/util/genCombMulTo.js +65 -0
  255. data/test/dummy/node_modules/bn.js/util/genCombMulTo10.js +64 -0
  256. data/test/dummy/node_modules/brace-expansion/README.md +122 -0
  257. data/test/dummy/node_modules/brace-expansion/example.js +8 -0
  258. data/test/dummy/node_modules/brace-expansion/index.js +191 -0
  259. data/test/dummy/node_modules/brace-expansion/package.json +105 -0
  260. data/test/dummy/node_modules/braces/LICENSE +21 -0
  261. data/test/dummy/node_modules/braces/README.md +248 -0
  262. data/test/dummy/node_modules/braces/index.js +399 -0
  263. data/test/dummy/node_modules/braces/package.json +149 -0
  264. data/test/dummy/node_modules/brorand/README.md +26 -0
  265. data/test/dummy/node_modules/brorand/index.js +57 -0
  266. data/test/dummy/node_modules/brorand/package.json +81 -0
  267. data/test/dummy/node_modules/brorand/test/api-test.js +8 -0
  268. data/test/dummy/node_modules/browser-pack/LICENSE +18 -0
  269. data/test/dummy/node_modules/browser-pack/_prelude.js +1 -0
  270. data/test/dummy/node_modules/browser-pack/bin/cmd.js +4 -0
  271. data/test/dummy/node_modules/browser-pack/bin/prepublish.js +8 -0
  272. data/test/dummy/node_modules/browser-pack/example/input.json +13 -0
  273. data/test/dummy/node_modules/browser-pack/example/output.js +1 -0
  274. data/test/dummy/node_modules/browser-pack/example/sourcemap/input.json +15 -0
  275. data/test/dummy/node_modules/browser-pack/example/sourcemap/output.js +6 -0
  276. data/test/dummy/node_modules/browser-pack/index.js +121 -0
  277. data/test/dummy/node_modules/browser-pack/package.json +120 -0
  278. data/test/dummy/node_modules/browser-pack/prelude.js +44 -0
  279. data/test/dummy/node_modules/browser-pack/readme.markdown +96 -0
  280. data/test/dummy/node_modules/browser-pack/test/comment.js +33 -0
  281. data/test/dummy/node_modules/browser-pack/test/empty.js +33 -0
  282. data/test/dummy/node_modules/browser-pack/test/not_found.js +34 -0
  283. data/test/dummy/node_modules/browser-pack/test/only_execute_entries.js +26 -0
  284. data/test/dummy/node_modules/browser-pack/test/order.js +38 -0
  285. data/test/dummy/node_modules/browser-pack/test/pack.js +28 -0
  286. data/test/dummy/node_modules/browser-pack/test/raw.js +32 -0
  287. data/test/dummy/node_modules/browser-pack/test/source-maps-existing.js +59 -0
  288. data/test/dummy/node_modules/browser-pack/test/source-maps.js +195 -0
  289. data/test/dummy/node_modules/browser-pack/test/this.js +24 -0
  290. data/test/dummy/node_modules/browser-pack/test/unicode.js +32 -0
  291. data/test/dummy/node_modules/browser-resolve/LICENSE +21 -0
  292. data/test/dummy/node_modules/browser-resolve/README.md +141 -0
  293. data/test/dummy/node_modules/browser-resolve/empty.js +0 -0
  294. data/test/dummy/node_modules/browser-resolve/index.js +340 -0
  295. data/test/dummy/node_modules/browser-resolve/package.json +89 -0
  296. data/test/dummy/node_modules/browserify/LICENSE +63 -0
  297. data/test/dummy/node_modules/browserify/bin/advanced.txt +100 -0
  298. data/test/dummy/node_modules/browserify/bin/args.js +266 -0
  299. data/test/dummy/node_modules/browserify/bin/cmd.js +74 -0
  300. data/test/dummy/node_modules/browserify/bin/usage.txt +34 -0
  301. data/test/dummy/node_modules/browserify/changelog.markdown +1161 -0
  302. data/test/dummy/node_modules/browserify/example/api/browser/bar.js +1 -0
  303. data/test/dummy/node_modules/browserify/example/api/browser/foo.js +5 -0
  304. data/test/dummy/node_modules/browserify/example/api/browser/main.js +2 -0
  305. data/test/dummy/node_modules/browserify/example/api/build.js +4 -0
  306. data/test/dummy/node_modules/browserify/example/multiple_bundles/beep.js +2 -0
  307. data/test/dummy/node_modules/browserify/example/multiple_bundles/boop.js +2 -0
  308. data/test/dummy/node_modules/browserify/example/multiple_bundles/build.sh +4 -0
  309. data/test/dummy/node_modules/browserify/example/multiple_bundles/robot.js +1 -0
  310. data/test/dummy/node_modules/browserify/example/multiple_bundles/static/beep.html +2 -0
  311. data/test/dummy/node_modules/browserify/example/multiple_bundles/static/boop.html +2 -0
  312. data/test/dummy/node_modules/browserify/example/source_maps/build.js +13 -0
  313. data/test/dummy/node_modules/browserify/example/source_maps/build.sh +4 -0
  314. data/test/dummy/node_modules/browserify/example/source_maps/index.html +11 -0
  315. data/test/dummy/node_modules/browserify/example/source_maps/js/build/bundle.js +28 -0
  316. data/test/dummy/node_modules/browserify/example/source_maps/js/foo.js +7 -0
  317. data/test/dummy/node_modules/browserify/example/source_maps/js/main.js +4 -0
  318. data/test/dummy/node_modules/browserify/example/source_maps/js/wunder/bar.js +8 -0
  319. data/test/dummy/node_modules/browserify/index.js +804 -0
  320. data/test/dummy/node_modules/browserify/lib/_empty.js +0 -0
  321. data/test/dummy/node_modules/browserify/lib/builtins.js +38 -0
  322. data/test/dummy/node_modules/browserify/package.json +185 -0
  323. data/test/dummy/node_modules/browserify/readme.markdown +786 -0
  324. data/test/dummy/node_modules/browserify/test/args.js +72 -0
  325. data/test/dummy/node_modules/browserify/test/array/one.js +1 -0
  326. data/test/dummy/node_modules/browserify/test/array/three.js +1 -0
  327. data/test/dummy/node_modules/browserify/test/array/two.js +1 -0
  328. data/test/dummy/node_modules/browserify/test/array.js +74 -0
  329. data/test/dummy/node_modules/browserify/test/backbone.js +23 -0
  330. data/test/dummy/node_modules/browserify/test/bare/main.js +7 -0
  331. data/test/dummy/node_modules/browserify/test/bare.js +70 -0
  332. data/test/dummy/node_modules/browserify/test/bare_shebang.js +37 -0
  333. data/test/dummy/node_modules/browserify/test/bin.js +31 -0
  334. data/test/dummy/node_modules/browserify/test/bin_entry.js +31 -0
  335. data/test/dummy/node_modules/browserify/test/bin_tr_error/main.js +1 -0
  336. data/test/dummy/node_modules/browserify/test/bin_tr_error/tr.js +12 -0
  337. data/test/dummy/node_modules/browserify/test/bin_tr_error.js +23 -0
  338. data/test/dummy/node_modules/browserify/test/bom/hello.js +1 -0
  339. data/test/dummy/node_modules/browserify/test/bom.js +19 -0
  340. data/test/dummy/node_modules/browserify/test/browser_field_file/package.json +5 -0
  341. data/test/dummy/node_modules/browserify/test/browser_field_file/wow.js +1 -0
  342. data/test/dummy/node_modules/browserify/test/browser_field_file.js +13 -0
  343. data/test/dummy/node_modules/browserify/test/browser_field_resolve/a/main.js +1 -0
  344. data/test/dummy/node_modules/browserify/test/browser_field_resolve/a/package.json +5 -0
  345. data/test/dummy/node_modules/browserify/test/browser_field_resolve/b/main.js +1 -0
  346. data/test/dummy/node_modules/browserify/test/browser_field_resolve/b/package.json +5 -0
  347. data/test/dummy/node_modules/browserify/test/browser_field_resolve/b/x.js +1 -0
  348. data/test/dummy/node_modules/browserify/test/browser_field_resolve/c/main.js +1 -0
  349. data/test/dummy/node_modules/browserify/test/browser_field_resolve/c/package.json +5 -0
  350. data/test/dummy/node_modules/browserify/test/browser_field_resolve/c/x.js +1 -0
  351. data/test/dummy/node_modules/browserify/test/browser_field_resolve/d/main.js +1 -0
  352. data/test/dummy/node_modules/browserify/test/browser_field_resolve/d/package.json +5 -0
  353. data/test/dummy/node_modules/browserify/test/browser_field_resolve/d/x.js +1 -0
  354. data/test/dummy/node_modules/browserify/test/browser_field_resolve/e/main.js +1 -0
  355. data/test/dummy/node_modules/browserify/test/browser_field_resolve/e/package.json +5 -0
  356. data/test/dummy/node_modules/browserify/test/browser_field_resolve/e/x.js +1 -0
  357. data/test/dummy/node_modules/browserify/test/browser_field_resolve/f/main.js +1 -0
  358. data/test/dummy/node_modules/browserify/test/browser_field_resolve/f/package.json +5 -0
  359. data/test/dummy/node_modules/browserify/test/browser_field_resolve/f/x.js +1 -0
  360. data/test/dummy/node_modules/browserify/test/browser_field_resolve/g/main.js +2 -0
  361. data/test/dummy/node_modules/browserify/test/browser_field_resolve/g/package.json +5 -0
  362. data/test/dummy/node_modules/browserify/test/browser_field_resolve/g/x.js +1 -0
  363. data/test/dummy/node_modules/browserify/test/browser_field_resolve/h/main.js +2 -0
  364. data/test/dummy/node_modules/browserify/test/browser_field_resolve/h/package.json +5 -0
  365. data/test/dummy/node_modules/browserify/test/browser_field_resolve/h/x.js +1 -0
  366. data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/browser.js +1 -0
  367. data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/main.js +2 -0
  368. data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/package.json +5 -0
  369. data/test/dummy/node_modules/browserify/test/browser_field_resolve/i/x.js +1 -0
  370. data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/browser.js +1 -0
  371. data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/main.js +2 -0
  372. data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/package.json +5 -0
  373. data/test/dummy/node_modules/browserify/test/browser_field_resolve/j/x.js +1 -0
  374. data/test/dummy/node_modules/browserify/test/browser_field_resolve/k/main.js +2 -0
  375. data/test/dummy/node_modules/browserify/test/browser_field_resolve/k/node_modules/x/hey.js +1 -0
  376. data/test/dummy/node_modules/browserify/test/browser_field_resolve/k/node_modules/x/package.json +5 -0
  377. data/test/dummy/node_modules/browserify/test/browser_field_resolve/l/main.js +2 -0
  378. data/test/dummy/node_modules/browserify/test/browser_field_resolve/l/node_modules/x/hey.js +1 -0
  379. data/test/dummy/node_modules/browserify/test/browser_field_resolve/l/node_modules/x/package.json +5 -0
  380. data/test/dummy/node_modules/browserify/test/browser_field_resolve.js +124 -0
  381. data/test/dummy/node_modules/browserify/test/buffer.js +142 -0
  382. data/test/dummy/node_modules/browserify/test/bundle-bundle-external/bar.js +2 -0
  383. data/test/dummy/node_modules/browserify/test/bundle-bundle-external/baz.js +3 -0
  384. data/test/dummy/node_modules/browserify/test/bundle-bundle-external/foo.js +5 -0
  385. data/test/dummy/node_modules/browserify/test/bundle-bundle-external.js +31 -0
  386. data/test/dummy/node_modules/browserify/test/bundle-stream.js +18 -0
  387. data/test/dummy/node_modules/browserify/test/bundle.js +33 -0
  388. data/test/dummy/node_modules/browserify/test/bundle_external/boop.js +4 -0
  389. data/test/dummy/node_modules/browserify/test/bundle_external/main.js +4 -0
  390. data/test/dummy/node_modules/browserify/test/bundle_external/robot.js +1 -0
  391. data/test/dummy/node_modules/browserify/test/bundle_external.js +26 -0
  392. data/test/dummy/node_modules/browserify/test/bundle_external_global.js +24 -0
  393. data/test/dummy/node_modules/browserify/test/bundle_sourcemap.js +32 -0
  394. data/test/dummy/node_modules/browserify/test/catch/main.js +1 -0
  395. data/test/dummy/node_modules/browserify/test/catch.js +22 -0
  396. data/test/dummy/node_modules/browserify/test/circular/a.js +3 -0
  397. data/test/dummy/node_modules/browserify/test/circular/b.js +1 -0
  398. data/test/dummy/node_modules/browserify/test/circular/main.js +1 -0
  399. data/test/dummy/node_modules/browserify/test/circular.js +34 -0
  400. data/test/dummy/node_modules/browserify/test/coffee_bin/main.coffee +2 -0
  401. data/test/dummy/node_modules/browserify/test/coffee_bin/x.coffee +1 -0
  402. data/test/dummy/node_modules/browserify/test/coffee_bin.js +36 -0
  403. data/test/dummy/node_modules/browserify/test/coffeeify/main.coffee +2 -0
  404. data/test/dummy/node_modules/browserify/test/coffeeify.js +19 -0
  405. data/test/dummy/node_modules/browserify/test/comment/main.js +2 -0
  406. data/test/dummy/node_modules/browserify/test/comment.js +16 -0
  407. data/test/dummy/node_modules/browserify/test/constants.js +18 -0
  408. data/test/dummy/node_modules/browserify/test/crypto.js +39 -0
  409. data/test/dummy/node_modules/browserify/test/crypto_ig.js +39 -0
  410. data/test/dummy/node_modules/browserify/test/cycle/README.md +16 -0
  411. data/test/dummy/node_modules/browserify/test/cycle/entry.js +15 -0
  412. data/test/dummy/node_modules/browserify/test/cycle/mod1/a.js +1 -0
  413. data/test/dummy/node_modules/browserify/test/cycle/mod1/b.js +1 -0
  414. data/test/dummy/node_modules/browserify/test/cycle/mod2/a.js +1 -0
  415. data/test/dummy/node_modules/browserify/test/cycle/mod2/b.js +1 -0
  416. data/test/dummy/node_modules/browserify/test/cycle.js +13 -0
  417. data/test/dummy/node_modules/browserify/test/debug_standalone/x.js +1 -0
  418. data/test/dummy/node_modules/browserify/test/debug_standalone.js +64 -0
  419. data/test/dummy/node_modules/browserify/test/dedupe-deps.js +43 -0
  420. data/test/dummy/node_modules/browserify/test/dedupe-nomap.js +64 -0
  421. data/test/dummy/node_modules/browserify/test/delay/diverted.js +1 -0
  422. data/test/dummy/node_modules/browserify/test/delay/main.js +1 -0
  423. data/test/dummy/node_modules/browserify/test/delay.js +24 -0
  424. data/test/dummy/node_modules/browserify/test/dep.js +25 -0
  425. data/test/dummy/node_modules/browserify/test/dollar/dollar/index.js +7 -0
  426. data/test/dummy/node_modules/browserify/test/dollar.js +17 -0
  427. data/test/dummy/node_modules/browserify/test/double_buffer/explicit.js +1 -0
  428. data/test/dummy/node_modules/browserify/test/double_buffer/implicit.js +1 -0
  429. data/test/dummy/node_modules/browserify/test/double_buffer/main.js +4 -0
  430. data/test/dummy/node_modules/browserify/test/double_buffer.js +14 -0
  431. data/test/dummy/node_modules/browserify/test/double_bundle.js +24 -0
  432. data/test/dummy/node_modules/browserify/test/double_bundle_error/main.js +1 -0
  433. data/test/dummy/node_modules/browserify/test/double_bundle_error/needs_three.js +1 -0
  434. data/test/dummy/node_modules/browserify/test/double_bundle_error/one.js +1 -0
  435. data/test/dummy/node_modules/browserify/test/double_bundle_error/package.json +5 -0
  436. data/test/dummy/node_modules/browserify/test/double_bundle_error/three.js +3 -0
  437. data/test/dummy/node_modules/browserify/test/double_bundle_error/two.js +1 -0
  438. data/test/dummy/node_modules/browserify/test/double_bundle_error.js +17 -0
  439. data/test/dummy/node_modules/browserify/test/double_bundle_json/a.json +1 -0
  440. data/test/dummy/node_modules/browserify/test/double_bundle_json/b.json +1 -0
  441. data/test/dummy/node_modules/browserify/test/double_bundle_json/index.js +5 -0
  442. data/test/dummy/node_modules/browserify/test/double_bundle_json.js +37 -0
  443. data/test/dummy/node_modules/browserify/test/double_bundle_parallel.js +33 -0
  444. data/test/dummy/node_modules/browserify/test/double_bundle_parallel_cache.js +35 -0
  445. data/test/dummy/node_modules/browserify/test/dup/foo-dup.js +4 -0
  446. data/test/dummy/node_modules/browserify/test/dup/foo.js +4 -0
  447. data/test/dummy/node_modules/browserify/test/dup/index.js +5 -0
  448. data/test/dummy/node_modules/browserify/test/entry/main.js +1 -0
  449. data/test/dummy/node_modules/browserify/test/entry/needs_three.js +1 -0
  450. data/test/dummy/node_modules/browserify/test/entry/one.js +1 -0
  451. data/test/dummy/node_modules/browserify/test/entry/package.json +5 -0
  452. data/test/dummy/node_modules/browserify/test/entry/three.js +1 -0
  453. data/test/dummy/node_modules/browserify/test/entry/two.js +1 -0
  454. data/test/dummy/node_modules/browserify/test/entry.js +42 -0
  455. data/test/dummy/node_modules/browserify/test/entry_exec/fail.js +1 -0
  456. data/test/dummy/node_modules/browserify/test/entry_exec/main.js +1 -0
  457. data/test/dummy/node_modules/browserify/test/entry_exec.js +15 -0
  458. data/test/dummy/node_modules/browserify/test/entry_expose/main.js +2 -0
  459. data/test/dummy/node_modules/browserify/test/entry_expose.js +19 -0
  460. data/test/dummy/node_modules/browserify/test/entry_relative.js +44 -0
  461. data/test/dummy/node_modules/browserify/test/error_code/src.js +2 -0
  462. data/test/dummy/node_modules/browserify/test/error_code.js +24 -0
  463. data/test/dummy/node_modules/browserify/test/export/entry.js +1 -0
  464. data/test/dummy/node_modules/browserify/test/export.js +35 -0
  465. data/test/dummy/node_modules/browserify/test/external/main.js +2 -0
  466. data/test/dummy/node_modules/browserify/test/external/x.js +3 -0
  467. data/test/dummy/node_modules/browserify/test/external.js +20 -0
  468. data/test/dummy/node_modules/browserify/test/external_args/main.js +10 -0
  469. data/test/dummy/node_modules/browserify/test/external_shim/bundle1.js +1 -0
  470. data/test/dummy/node_modules/browserify/test/external_shim/bundle2.js +1 -0
  471. data/test/dummy/node_modules/browserify/test/external_shim/package.json +5 -0
  472. data/test/dummy/node_modules/browserify/test/external_shim/shim.js +0 -0
  473. data/test/dummy/node_modules/browserify/test/external_shim.js +27 -0
  474. data/test/dummy/node_modules/browserify/test/externalize/beep.js +2 -0
  475. data/test/dummy/node_modules/browserify/test/externalize/boop.js +2 -0
  476. data/test/dummy/node_modules/browserify/test/externalize/robot.js +1 -0
  477. data/test/dummy/node_modules/browserify/test/externalize.js +59 -0
  478. data/test/dummy/node_modules/browserify/test/fake/fake_fs.js +1 -0
  479. data/test/dummy/node_modules/browserify/test/fake/main.js +2 -0
  480. data/test/dummy/node_modules/browserify/test/fake.js +15 -0
  481. data/test/dummy/node_modules/browserify/test/field/miss.js +1 -0
  482. data/test/dummy/node_modules/browserify/test/field/node_modules/z-miss/browser.js +1 -0
  483. data/test/dummy/node_modules/browserify/test/field/node_modules/z-miss/main.js +1 -0
  484. data/test/dummy/node_modules/browserify/test/field/node_modules/z-miss/package.json +4 -0
  485. data/test/dummy/node_modules/browserify/test/field/node_modules/z-object/browser.js +1 -0
  486. data/test/dummy/node_modules/browserify/test/field/node_modules/z-object/main.js +1 -0
  487. data/test/dummy/node_modules/browserify/test/field/node_modules/z-object/package.json +4 -0
  488. data/test/dummy/node_modules/browserify/test/field/node_modules/z-string/browser.js +1 -0
  489. data/test/dummy/node_modules/browserify/test/field/node_modules/z-string/main.js +1 -0
  490. data/test/dummy/node_modules/browserify/test/field/node_modules/z-string/package.json +4 -0
  491. data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/browser/a.js +1 -0
  492. data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/browser/b.js +1 -0
  493. data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/main.js +1 -0
  494. data/test/dummy/node_modules/browserify/test/field/node_modules/z-sub/package.json +4 -0
  495. data/test/dummy/node_modules/browserify/test/field/object.js +1 -0
  496. data/test/dummy/node_modules/browserify/test/field/string.js +1 -0
  497. data/test/dummy/node_modules/browserify/test/field/sub.js +1 -0
  498. data/test/dummy/node_modules/browserify/test/field.js +72 -0
  499. data/test/dummy/node_modules/browserify/test/file_event.js +33 -0
  500. data/test/dummy/node_modules/browserify/test/five_bundle.js +30 -0
  501. data/test/dummy/node_modules/browserify/test/full_paths.js +58 -0
  502. data/test/dummy/node_modules/browserify/test/glob/a.js +6 -0
  503. data/test/dummy/node_modules/browserify/test/glob/b.js +5 -0
  504. data/test/dummy/node_modules/browserify/test/glob/lib/z.js +1 -0
  505. data/test/dummy/node_modules/browserify/test/glob/vendor/x.js +1 -0
  506. data/test/dummy/node_modules/browserify/test/glob/vendor/y.js +1 -0
  507. data/test/dummy/node_modules/browserify/test/glob.js +29 -0
  508. data/test/dummy/node_modules/browserify/test/global/buffer.js +2 -0
  509. data/test/dummy/node_modules/browserify/test/global/filename.js +2 -0
  510. data/test/dummy/node_modules/browserify/test/global/main.js +2 -0
  511. data/test/dummy/node_modules/browserify/test/global/node_modules/aaa/index.js +2 -0
  512. data/test/dummy/node_modules/browserify/test/global/node_modules/robot/index.js +1 -0
  513. data/test/dummy/node_modules/browserify/test/global/node_modules/robot/lib/beep.js +2 -0
  514. data/test/dummy/node_modules/browserify/test/global/tick.js +3 -0
  515. data/test/dummy/node_modules/browserify/test/global.js +90 -0
  516. data/test/dummy/node_modules/browserify/test/global_coffeeify.js +19 -0
  517. data/test/dummy/node_modules/browserify/test/global_noparse.js +101 -0
  518. data/test/dummy/node_modules/browserify/test/global_recorder/main.js +1 -0
  519. data/test/dummy/node_modules/browserify/test/global_recorder.js +22 -0
  520. data/test/dummy/node_modules/browserify/test/hash/foo/other.js +1 -0
  521. data/test/dummy/node_modules/browserify/test/hash/foo/two.js +2 -0
  522. data/test/dummy/node_modules/browserify/test/hash/main.js +2 -0
  523. data/test/dummy/node_modules/browserify/test/hash/one.js +2 -0
  524. data/test/dummy/node_modules/browserify/test/hash/other.js +1 -0
  525. data/test/dummy/node_modules/browserify/test/hash.js +15 -0
  526. data/test/dummy/node_modules/browserify/test/hash_instance_context/main.js +17 -0
  527. data/test/dummy/node_modules/browserify/test/hash_instance_context/one/dir/f.js +3 -0
  528. data/test/dummy/node_modules/browserify/test/hash_instance_context/one/dir/g.js +2 -0
  529. data/test/dummy/node_modules/browserify/test/hash_instance_context/one/f.js +3 -0
  530. data/test/dummy/node_modules/browserify/test/hash_instance_context/one/g.js +2 -0
  531. data/test/dummy/node_modules/browserify/test/hash_instance_context/three/dir/f.js +3 -0
  532. data/test/dummy/node_modules/browserify/test/hash_instance_context/three/dir/g.js +2 -0
  533. data/test/dummy/node_modules/browserify/test/hash_instance_context/three/dir/h.js +2 -0
  534. data/test/dummy/node_modules/browserify/test/hash_instance_context/three/f.js +3 -0
  535. data/test/dummy/node_modules/browserify/test/hash_instance_context/three/g.js +2 -0
  536. data/test/dummy/node_modules/browserify/test/hash_instance_context/three/h.js +2 -0
  537. data/test/dummy/node_modules/browserify/test/hash_instance_context/two/dir/f.js +3 -0
  538. data/test/dummy/node_modules/browserify/test/hash_instance_context/two/dir/g.js +2 -0
  539. data/test/dummy/node_modules/browserify/test/hash_instance_context/two/dir/h.js +2 -0
  540. data/test/dummy/node_modules/browserify/test/hash_instance_context/two/f.js +3 -0
  541. data/test/dummy/node_modules/browserify/test/hash_instance_context/two/g.js +2 -0
  542. data/test/dummy/node_modules/browserify/test/hash_instance_context/two/h.js +2 -0
  543. data/test/dummy/node_modules/browserify/test/hash_instance_context.js +25 -0
  544. data/test/dummy/node_modules/browserify/test/identical/main.js +6 -0
  545. data/test/dummy/node_modules/browserify/test/identical/x.js +2 -0
  546. data/test/dummy/node_modules/browserify/test/identical/y.js +2 -0
  547. data/test/dummy/node_modules/browserify/test/identical.js +19 -0
  548. data/test/dummy/node_modules/browserify/test/identical_different/main.js +6 -0
  549. data/test/dummy/node_modules/browserify/test/identical_different/node_modules/op/index.js +3 -0
  550. data/test/dummy/node_modules/browserify/test/identical_different/wow/node_modules/op/index.js +3 -0
  551. data/test/dummy/node_modules/browserify/test/identical_different/wow/y.js +3 -0
  552. data/test/dummy/node_modules/browserify/test/identical_different/x.js +3 -0
  553. data/test/dummy/node_modules/browserify/test/identical_different.js +19 -0
  554. data/test/dummy/node_modules/browserify/test/ignore/by-id.js +3 -0
  555. data/test/dummy/node_modules/browserify/test/ignore/by-relative.js +5 -0
  556. data/test/dummy/node_modules/browserify/test/ignore/double-skip/index.js +1 -0
  557. data/test/dummy/node_modules/browserify/test/ignore/double-skip/skip.js +5 -0
  558. data/test/dummy/node_modules/browserify/test/ignore/double-skip.js +2 -0
  559. data/test/dummy/node_modules/browserify/test/ignore/ignored/skip.js +1 -0
  560. data/test/dummy/node_modules/browserify/test/ignore/main.js +1 -0
  561. data/test/dummy/node_modules/browserify/test/ignore/relative/index.js +1 -0
  562. data/test/dummy/node_modules/browserify/test/ignore/skip.js +1 -0
  563. data/test/dummy/node_modules/browserify/test/ignore.js +72 -0
  564. data/test/dummy/node_modules/browserify/test/ignore_browser_field/main.js +2 -0
  565. data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/a/browser.js +1 -0
  566. data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/a/main.js +1 -0
  567. data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/a/package.json +6 -0
  568. data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/browser-x.js +1 -0
  569. data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/main.js +1 -0
  570. data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/package.json +8 -0
  571. data/test/dummy/node_modules/browserify/test/ignore_browser_field/node_modules/b/x.js +1 -0
  572. data/test/dummy/node_modules/browserify/test/ignore_browser_field.js +21 -0
  573. data/test/dummy/node_modules/browserify/test/ignore_missing/main.js +1 -0
  574. data/test/dummy/node_modules/browserify/test/ignore_missing.js +41 -0
  575. data/test/dummy/node_modules/browserify/test/json/beep.json +4 -0
  576. data/test/dummy/node_modules/browserify/test/json/evil-chars.json +3 -0
  577. data/test/dummy/node_modules/browserify/test/json/evil.js +2 -0
  578. data/test/dummy/node_modules/browserify/test/json/main.js +2 -0
  579. data/test/dummy/node_modules/browserify/test/json.js +44 -0
  580. data/test/dummy/node_modules/browserify/test/leak.js +57 -0
  581. data/test/dummy/node_modules/browserify/test/maxlisteners/main.js +3 -0
  582. data/test/dummy/node_modules/browserify/test/maxlisteners.js +13 -0
  583. data/test/dummy/node_modules/browserify/test/multi_bundle/_prelude.js +1 -0
  584. data/test/dummy/node_modules/browserify/test/multi_bundle/a.js +3 -0
  585. data/test/dummy/node_modules/browserify/test/multi_bundle/b.js +5 -0
  586. data/test/dummy/node_modules/browserify/test/multi_bundle/c.js +4 -0
  587. data/test/dummy/node_modules/browserify/test/multi_bundle.js +86 -0
  588. data/test/dummy/node_modules/browserify/test/multi_bundle_unique.js +56 -0
  589. data/test/dummy/node_modules/browserify/test/multi_entry/a.js +2 -0
  590. data/test/dummy/node_modules/browserify/test/multi_entry/b.js +2 -0
  591. data/test/dummy/node_modules/browserify/test/multi_entry/c.js +2 -0
  592. data/test/dummy/node_modules/browserify/test/multi_entry.js +121 -0
  593. data/test/dummy/node_modules/browserify/test/multi_entry_cross_require/a.js +8 -0
  594. data/test/dummy/node_modules/browserify/test/multi_entry_cross_require/c.js +7 -0
  595. data/test/dummy/node_modules/browserify/test/multi_entry_cross_require/lib/b.js +5 -0
  596. data/test/dummy/node_modules/browserify/test/multi_entry_cross_require.js +92 -0
  597. data/test/dummy/node_modules/browserify/test/multi_require/a.js +3 -0
  598. data/test/dummy/node_modules/browserify/test/multi_require/main.js +4 -0
  599. data/test/dummy/node_modules/browserify/test/multi_require.js +18 -0
  600. data/test/dummy/node_modules/browserify/test/multi_symlink/main.js +2 -0
  601. data/test/dummy/node_modules/browserify/test/multi_symlink/x.js +1 -0
  602. data/test/dummy/node_modules/browserify/test/multi_symlink.js +13 -0
  603. data/test/dummy/node_modules/browserify/test/no_builtins/extra/fs.js +1 -0
  604. data/test/dummy/node_modules/browserify/test/no_builtins/extra/tls.js +1 -0
  605. data/test/dummy/node_modules/browserify/test/no_builtins/main.js +4 -0
  606. data/test/dummy/node_modules/browserify/test/no_builtins/x.txt +1 -0
  607. data/test/dummy/node_modules/browserify/test/no_builtins.js +63 -0
  608. data/test/dummy/node_modules/browserify/test/node_modules/beep/index.js +1 -0
  609. data/test/dummy/node_modules/browserify/test/node_modules/plugin-foo/index.js +9 -0
  610. data/test/dummy/node_modules/browserify/test/node_modules/tr/index.js +8 -0
  611. data/test/dummy/node_modules/browserify/test/noparse/a.js +4 -0
  612. data/test/dummy/node_modules/browserify/test/noparse/b.js +5 -0
  613. data/test/dummy/node_modules/browserify/test/noparse/dir1/1.js +4 -0
  614. data/test/dummy/node_modules/browserify/test/noparse/dir1/dir2/2.js +3 -0
  615. data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/lib/beep.js +4 -0
  616. data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/lib/boop.js +3 -0
  617. data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/main.js +4 -0
  618. data/test/dummy/node_modules/browserify/test/noparse/node_modules/robot/package.json +3 -0
  619. data/test/dummy/node_modules/browserify/test/noparse.js +31 -0
  620. data/test/dummy/node_modules/browserify/test/pack.js +33 -0
  621. data/test/dummy/node_modules/browserify/test/paths/main.js +3 -0
  622. data/test/dummy/node_modules/browserify/test/paths/x/aaa/index.js +1 -0
  623. data/test/dummy/node_modules/browserify/test/paths/x/ccc/index.js +1 -0
  624. data/test/dummy/node_modules/browserify/test/paths/y/bbb/index.js +1 -0
  625. data/test/dummy/node_modules/browserify/test/paths/y/ccc/index.js +1 -0
  626. data/test/dummy/node_modules/browserify/test/paths.js +32 -0
  627. data/test/dummy/node_modules/browserify/test/paths_transform.js +76 -0
  628. data/test/dummy/node_modules/browserify/test/pipeline_deps/bar.js +3 -0
  629. data/test/dummy/node_modules/browserify/test/pipeline_deps/foo.js +5 -0
  630. data/test/dummy/node_modules/browserify/test/pipeline_deps/main.js +2 -0
  631. data/test/dummy/node_modules/browserify/test/pipeline_deps/xyz.js +2 -0
  632. data/test/dummy/node_modules/browserify/test/pipeline_deps.js +22 -0
  633. data/test/dummy/node_modules/browserify/test/pkg/main.js +1 -0
  634. data/test/dummy/node_modules/browserify/test/pkg/package.json +1 -0
  635. data/test/dummy/node_modules/browserify/test/pkg.js +20 -0
  636. data/test/dummy/node_modules/browserify/test/pkg_event/main.js +1 -0
  637. data/test/dummy/node_modules/browserify/test/pkg_event/package.json +3 -0
  638. data/test/dummy/node_modules/browserify/test/pkg_event.js +31 -0
  639. data/test/dummy/node_modules/browserify/test/plugin/main.js +1 -0
  640. data/test/dummy/node_modules/browserify/test/plugin.js +28 -0
  641. data/test/dummy/node_modules/browserify/test/process/main.js +3 -0
  642. data/test/dummy/node_modules/browserify/test/process/one.js +1 -0
  643. data/test/dummy/node_modules/browserify/test/process/two.js +1 -0
  644. data/test/dummy/node_modules/browserify/test/process.js +21 -0
  645. data/test/dummy/node_modules/browserify/test/relative_dedupe/a/a.js +3 -0
  646. data/test/dummy/node_modules/browserify/test/relative_dedupe/a/b.js +3 -0
  647. data/test/dummy/node_modules/browserify/test/relative_dedupe/a/index.js +4 -0
  648. data/test/dummy/node_modules/browserify/test/relative_dedupe/b/a.js +3 -0
  649. data/test/dummy/node_modules/browserify/test/relative_dedupe/b/b.js +3 -0
  650. data/test/dummy/node_modules/browserify/test/relative_dedupe/b/index.js +4 -0
  651. data/test/dummy/node_modules/browserify/test/relative_dedupe/index.js +4 -0
  652. data/test/dummy/node_modules/browserify/test/relative_dedupe/main.js +5 -0
  653. data/test/dummy/node_modules/browserify/test/relative_dedupe.js +17 -0
  654. data/test/dummy/node_modules/browserify/test/require_cache.js +19 -0
  655. data/test/dummy/node_modules/browserify/test/require_expose/main.js +1 -0
  656. data/test/dummy/node_modules/browserify/test/require_expose/some_dep.js +1 -0
  657. data/test/dummy/node_modules/browserify/test/require_expose.js +53 -0
  658. data/test/dummy/node_modules/browserify/test/reset.js +31 -0
  659. data/test/dummy/node_modules/browserify/test/resolve_exposed/main.js +2 -0
  660. data/test/dummy/node_modules/browserify/test/resolve_exposed/x.js +1 -0
  661. data/test/dummy/node_modules/browserify/test/resolve_exposed.js +20 -0
  662. data/test/dummy/node_modules/browserify/test/retarget.js +25 -0
  663. data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/app.js +22 -0
  664. data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/arbitrary.js +6 -0
  665. data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/lazy.js +9 -0
  666. data/test/dummy/node_modules/browserify/test/reverse_multi_bundle/shared.js +6 -0
  667. data/test/dummy/node_modules/browserify/test/reverse_multi_bundle.js +47 -0
  668. data/test/dummy/node_modules/browserify/test/shared_symlink/app/index.js +1 -0
  669. data/test/dummy/node_modules/browserify/test/shared_symlink/app/node_modules/foo/index.js +1 -0
  670. data/test/dummy/node_modules/browserify/test/shared_symlink/main.js +1 -0
  671. data/test/dummy/node_modules/browserify/test/shared_symlink/shared/index.js +1 -0
  672. data/test/dummy/node_modules/browserify/test/shared_symlink.js +16 -0
  673. data/test/dummy/node_modules/browserify/test/shebang/foo.js +2 -0
  674. data/test/dummy/node_modules/browserify/test/shebang/main.js +4 -0
  675. data/test/dummy/node_modules/browserify/test/shebang.js +11 -0
  676. data/test/dummy/node_modules/browserify/test/standalone/main.js +3 -0
  677. data/test/dummy/node_modules/browserify/test/standalone/one.js +1 -0
  678. data/test/dummy/node_modules/browserify/test/standalone/two.js +1 -0
  679. data/test/dummy/node_modules/browserify/test/standalone.js +85 -0
  680. data/test/dummy/node_modules/browserify/test/standalone_events.js +19 -0
  681. data/test/dummy/node_modules/browserify/test/standalone_sourcemap.js +55 -0
  682. data/test/dummy/node_modules/browserify/test/stdin.js +35 -0
  683. data/test/dummy/node_modules/browserify/test/stream/bar.js +1 -0
  684. data/test/dummy/node_modules/browserify/test/stream/foo.js +1 -0
  685. data/test/dummy/node_modules/browserify/test/stream/main.js +2 -0
  686. data/test/dummy/node_modules/browserify/test/stream.js +15 -0
  687. data/test/dummy/node_modules/browserify/test/stream_file.js +29 -0
  688. data/test/dummy/node_modules/browserify/test/subdep/index.js +1 -0
  689. data/test/dummy/node_modules/browserify/test/subdep/package.json +6 -0
  690. data/test/dummy/node_modules/browserify/test/subdep.js +16 -0
  691. data/test/dummy/node_modules/browserify/test/symlink_dedupe/main.js +6 -0
  692. data/test/dummy/node_modules/browserify/test/symlink_dedupe/one/f.js +3 -0
  693. data/test/dummy/node_modules/browserify/test/symlink_dedupe/one/g.js +2 -0
  694. data/test/dummy/node_modules/browserify/test/symlink_dedupe.js +16 -0
  695. data/test/dummy/node_modules/browserify/test/syntax_cache/invalid.js +2 -0
  696. data/test/dummy/node_modules/browserify/test/syntax_cache/valid.js +2 -0
  697. data/test/dummy/node_modules/browserify/test/syntax_cache.js +47 -0
  698. data/test/dummy/node_modules/browserify/test/tr/f.js +2 -0
  699. data/test/dummy/node_modules/browserify/test/tr/main.js +9 -0
  700. data/test/dummy/node_modules/browserify/test/tr/package.json +5 -0
  701. data/test/dummy/node_modules/browserify/test/tr/subdir/g.js +1 -0
  702. data/test/dummy/node_modules/browserify/test/tr.js +28 -0
  703. data/test/dummy/node_modules/browserify/test/tr_args/main.js +1 -0
  704. data/test/dummy/node_modules/browserify/test/tr_args/tr.js +12 -0
  705. data/test/dummy/node_modules/browserify/test/tr_args.js +24 -0
  706. data/test/dummy/node_modules/browserify/test/tr_error.js +33 -0
  707. data/test/dummy/node_modules/browserify/test/tr_flags.js +36 -0
  708. data/test/dummy/node_modules/browserify/test/tr_global/main.js +1 -0
  709. data/test/dummy/node_modules/browserify/test/tr_global/node_modules/tr/index.js +8 -0
  710. data/test/dummy/node_modules/browserify/test/tr_global/node_modules/x/index.js +1 -0
  711. data/test/dummy/node_modules/browserify/test/tr_global/node_modules/x/node_modules/tr/index.js +8 -0
  712. data/test/dummy/node_modules/browserify/test/tr_global.js +17 -0
  713. data/test/dummy/node_modules/browserify/test/tr_no_entry/main.js +1 -0
  714. data/test/dummy/node_modules/browserify/test/tr_no_entry.js +20 -0
  715. data/test/dummy/node_modules/browserify/test/tr_once/main.js +1 -0
  716. data/test/dummy/node_modules/browserify/test/tr_once.js +21 -0
  717. data/test/dummy/node_modules/browserify/test/tr_order/replace_aaa.js +10 -0
  718. data/test/dummy/node_modules/browserify/test/tr_order/replace_bbb.js +11 -0
  719. data/test/dummy/node_modules/browserify/test/tr_order.js +23 -0
  720. data/test/dummy/node_modules/browserify/test/tr_symlink/a-module/index.js +1 -0
  721. data/test/dummy/node_modules/browserify/test/tr_symlink/app/main.js +6 -0
  722. data/test/dummy/node_modules/browserify/test/tr_symlink/app/package.json +5 -0
  723. data/test/dummy/node_modules/browserify/test/tr_symlink/b-module/ext.js +1 -0
  724. data/test/dummy/node_modules/browserify/test/tr_symlink/b-module/index.js +2 -0
  725. data/test/dummy/node_modules/browserify/test/tr_symlink.js +27 -0
  726. data/test/dummy/node_modules/browserify/test/unicode/main.js +1 -0
  727. data/test/dummy/node_modules/browserify/test/unicode/one.js +1 -0
  728. data/test/dummy/node_modules/browserify/test/unicode/two.js +1 -0
  729. data/test/dummy/node_modules/browserify/test/unicode.js +19 -0
  730. data/test/dummy/node_modules/browserify/test/util.js +62 -0
  731. data/test/dummy/node_modules/browserify/test/yield/f.js +5 -0
  732. data/test/dummy/node_modules/browserify/test/yield/main.js +4 -0
  733. data/test/dummy/node_modules/browserify/test/yield.js +20 -0
  734. data/test/dummy/node_modules/browserify-aes/LICENSE +21 -0
  735. data/test/dummy/node_modules/browserify-aes/aes.js +177 -0
  736. data/test/dummy/node_modules/browserify-aes/authCipher.js +97 -0
  737. data/test/dummy/node_modules/browserify-aes/browser.js +11 -0
  738. data/test/dummy/node_modules/browserify-aes/decrypter.js +137 -0
  739. data/test/dummy/node_modules/browserify-aes/encrypter.js +122 -0
  740. data/test/dummy/node_modules/browserify-aes/ghash.js +98 -0
  741. data/test/dummy/node_modules/browserify-aes/index.js +7 -0
  742. data/test/dummy/node_modules/browserify-aes/modes/cbc.js +17 -0
  743. data/test/dummy/node_modules/browserify-aes/modes/cfb.js +31 -0
  744. data/test/dummy/node_modules/browserify-aes/modes/cfb1.js +34 -0
  745. data/test/dummy/node_modules/browserify-aes/modes/cfb8.js +15 -0
  746. data/test/dummy/node_modules/browserify-aes/modes/ctr.js +31 -0
  747. data/test/dummy/node_modules/browserify-aes/modes/ecb.js +6 -0
  748. data/test/dummy/node_modules/browserify-aes/modes/ofb.js +16 -0
  749. data/test/dummy/node_modules/browserify-aes/modes.js +171 -0
  750. data/test/dummy/node_modules/browserify-aes/package.json +104 -0
  751. data/test/dummy/node_modules/browserify-aes/populateFixtures.js +25 -0
  752. data/test/dummy/node_modules/browserify-aes/readme.md +18 -0
  753. data/test/dummy/node_modules/browserify-aes/streamCipher.js +25 -0
  754. data/test/dummy/node_modules/browserify-cipher/browser.js +73 -0
  755. data/test/dummy/node_modules/browserify-cipher/index.js +7 -0
  756. data/test/dummy/node_modules/browserify-cipher/package.json +81 -0
  757. data/test/dummy/node_modules/browserify-cipher/readme.md +7 -0
  758. data/test/dummy/node_modules/browserify-cipher/test.js +55 -0
  759. data/test/dummy/node_modules/browserify-des/index.js +43 -0
  760. data/test/dummy/node_modules/browserify-des/modes.js +24 -0
  761. data/test/dummy/node_modules/browserify-des/package.json +80 -0
  762. data/test/dummy/node_modules/browserify-des/readme.md +4 -0
  763. data/test/dummy/node_modules/browserify-des/test.js +48 -0
  764. data/test/dummy/node_modules/browserify-rsa/LICENSE +21 -0
  765. data/test/dummy/node_modules/browserify-rsa/index.js +40 -0
  766. data/test/dummy/node_modules/browserify-rsa/package.json +97 -0
  767. data/test/dummy/node_modules/browserify-rsa/readme.md +10 -0
  768. data/test/dummy/node_modules/browserify-rsa/test.js +53 -0
  769. data/test/dummy/node_modules/browserify-sign/LICENSE +13 -0
  770. data/test/dummy/node_modules/browserify-sign/README.md +4 -0
  771. data/test/dummy/node_modules/browserify-sign/algos.js +72 -0
  772. data/test/dummy/node_modules/browserify-sign/algos.json +15 -0
  773. data/test/dummy/node_modules/browserify-sign/browser.js +103 -0
  774. data/test/dummy/node_modules/browserify-sign/curves.js +12 -0
  775. data/test/dummy/node_modules/browserify-sign/ec.param +3 -0
  776. data/test/dummy/node_modules/browserify-sign/index.js +7 -0
  777. data/test/dummy/node_modules/browserify-sign/package.json +100 -0
  778. data/test/dummy/node_modules/browserify-sign/sign.js +185 -0
  779. data/test/dummy/node_modules/browserify-sign/verify.js +103 -0
  780. data/test/dummy/node_modules/browserify-zlib/README.md +22 -0
  781. data/test/dummy/node_modules/browserify-zlib/package.json +94 -0
  782. data/test/dummy/node_modules/browserify-zlib/src/binding.js +236 -0
  783. data/test/dummy/node_modules/browserify-zlib/src/index.js +610 -0
  784. data/test/dummy/node_modules/browserify-zlib/test/fixtures/elipses.txt +1 -0
  785. data/test/dummy/node_modules/browserify-zlib/test/fixtures/empty.txt +1 -0
  786. data/test/dummy/node_modules/browserify-zlib/test/fixtures/person.jpg +0 -0
  787. data/test/dummy/node_modules/browserify-zlib/test/ignored/test-zlib-dictionary-fail.js +48 -0
  788. data/test/dummy/node_modules/browserify-zlib/test/ignored/test-zlib-dictionary.js +95 -0
  789. data/test/dummy/node_modules/browserify-zlib/test/ignored/test-zlib-params.js +33 -0
  790. data/test/dummy/node_modules/browserify-zlib/test/package.json +7 -0
  791. data/test/dummy/node_modules/browserify-zlib/test/test-zlib-close-after-write.js +35 -0
  792. data/test/dummy/node_modules/browserify-zlib/test/test-zlib-convenience-methods.js +70 -0
  793. data/test/dummy/node_modules/browserify-zlib/test/test-zlib-from-string.js +89 -0
  794. data/test/dummy/node_modules/browserify-zlib/test/test-zlib-invalid-input.js +62 -0
  795. data/test/dummy/node_modules/browserify-zlib/test/test-zlib-random-byte-pipes.js +176 -0
  796. data/test/dummy/node_modules/browserify-zlib/test/test-zlib-write-after-flush.js +55 -0
  797. data/test/dummy/node_modules/browserify-zlib/test/test-zlib-zero-byte.js +41 -0
  798. data/test/dummy/node_modules/browserify-zlib/test/test-zlib.js +206 -0
  799. data/test/dummy/node_modules/buffer/LICENSE +21 -0
  800. data/test/dummy/node_modules/buffer/README.md +379 -0
  801. data/test/dummy/node_modules/buffer/bin/download-node-tests.js +107 -0
  802. data/test/dummy/node_modules/buffer/bin/test.js +41 -0
  803. data/test/dummy/node_modules/buffer/bin/zuul-es5.yml +12 -0
  804. data/test/dummy/node_modules/buffer/bin/zuul-es6.yml +10 -0
  805. data/test/dummy/node_modules/buffer/index.js +1711 -0
  806. data/test/dummy/node_modules/buffer/node_modules/isarray/Makefile +6 -0
  807. data/test/dummy/node_modules/buffer/node_modules/isarray/README.md +60 -0
  808. data/test/dummy/node_modules/buffer/node_modules/isarray/component.json +19 -0
  809. data/test/dummy/node_modules/buffer/node_modules/isarray/index.js +5 -0
  810. data/test/dummy/node_modules/buffer/node_modules/isarray/package.json +96 -0
  811. data/test/dummy/node_modules/buffer/node_modules/isarray/test.js +20 -0
  812. data/test/dummy/node_modules/buffer/package.json +134 -0
  813. data/test/dummy/node_modules/buffer/test/_polyfill.js +150 -0
  814. data/test/dummy/node_modules/buffer/test/base64.js +47 -0
  815. data/test/dummy/node_modules/buffer/test/basic.js +85 -0
  816. data/test/dummy/node_modules/buffer/test/compare.js +59 -0
  817. data/test/dummy/node_modules/buffer/test/constructor.js +193 -0
  818. data/test/dummy/node_modules/buffer/test/from-string.js +132 -0
  819. data/test/dummy/node_modules/buffer/test/is-buffer.js +22 -0
  820. data/test/dummy/node_modules/buffer/test/methods.js +127 -0
  821. data/test/dummy/node_modules/buffer/test/node/test-buffer-alloc.js +1449 -0
  822. data/test/dummy/node_modules/buffer/test/node/test-buffer-arraybuffer.js +112 -0
  823. data/test/dummy/node_modules/buffer/test/node/test-buffer-ascii.js +28 -0
  824. data/test/dummy/node_modules/buffer/test/node/test-buffer-bad-overload.js +18 -0
  825. data/test/dummy/node_modules/buffer/test/node/test-buffer-bytelength.js +89 -0
  826. data/test/dummy/node_modules/buffer/test/node/test-buffer-compare-offset.js +66 -0
  827. data/test/dummy/node_modules/buffer/test/node/test-buffer-concat.js +40 -0
  828. data/test/dummy/node_modules/buffer/test/node/test-buffer-fill.js +244 -0
  829. data/test/dummy/node_modules/buffer/test/node/test-buffer-includes.js +261 -0
  830. data/test/dummy/node_modules/buffer/test/node/test-buffer-indexof.js +287 -0
  831. data/test/dummy/node_modules/buffer/test/node/test-buffer-inheritance.js +42 -0
  832. data/test/dummy/node_modules/buffer/test/node/test-buffer-inspect.js +41 -0
  833. data/test/dummy/node_modules/buffer/test/node/test-buffer-iterator.js +65 -0
  834. data/test/dummy/node_modules/buffer/test/node/test-buffer-safe-unsafe.js +27 -0
  835. data/test/dummy/node_modules/buffer/test/node/test-buffer-slow.js +59 -0
  836. data/test/dummy/node_modules/buffer/test/node/test-buffer-swap.js +63 -0
  837. data/test/dummy/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js +35 -0
  838. data/test/dummy/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js +22 -0
  839. data/test/dummy/node_modules/buffer/test/node/test-buffer.js +1446 -0
  840. data/test/dummy/node_modules/buffer/test/slice.js +37 -0
  841. data/test/dummy/node_modules/buffer/test/static.js +17 -0
  842. data/test/dummy/node_modules/buffer/test/to-string.js +233 -0
  843. data/test/dummy/node_modules/buffer/test/write.js +131 -0
  844. data/test/dummy/node_modules/buffer/test/write_infinity.js +45 -0
  845. data/test/dummy/node_modules/buffer-xor/LICENSE +21 -0
  846. data/test/dummy/node_modules/buffer-xor/README.md +41 -0
  847. data/test/dummy/node_modules/buffer-xor/index.js +10 -0
  848. data/test/dummy/node_modules/buffer-xor/inline.js +1 -0
  849. data/test/dummy/node_modules/buffer-xor/inplace.js +9 -0
  850. data/test/dummy/node_modules/buffer-xor/package.json +88 -0
  851. data/test/dummy/node_modules/buffer-xor/test/fixtures.json +23 -0
  852. data/test/dummy/node_modules/buffer-xor/test/index.js +38 -0
  853. data/test/dummy/node_modules/builtin-status-codes/browser.js +63 -0
  854. data/test/dummy/node_modules/builtin-status-codes/build.js +8 -0
  855. data/test/dummy/node_modules/builtin-status-codes/index.js +3 -0
  856. data/test/dummy/node_modules/builtin-status-codes/license +21 -0
  857. data/test/dummy/node_modules/builtin-status-codes/package.json +95 -0
  858. data/test/dummy/node_modules/builtin-status-codes/readme.md +31 -0
  859. data/test/dummy/node_modules/chokidar/CHANGELOG.md +240 -0
  860. data/test/dummy/node_modules/chokidar/README.md +285 -0
  861. data/test/dummy/node_modules/chokidar/index.js +686 -0
  862. data/test/dummy/node_modules/chokidar/lib/fsevents-handler.js +361 -0
  863. data/test/dummy/node_modules/chokidar/lib/nodefs-handler.js +481 -0
  864. data/test/dummy/node_modules/chokidar/package.json +113 -0
  865. data/test/dummy/node_modules/cipher-base/index.js +90 -0
  866. data/test/dummy/node_modules/cipher-base/package.json +83 -0
  867. data/test/dummy/node_modules/cipher-base/readme.md +17 -0
  868. data/test/dummy/node_modules/cipher-base/test.js +108 -0
  869. data/test/dummy/node_modules/combine-source-map/LICENSE +23 -0
  870. data/test/dummy/node_modules/combine-source-map/README.md +111 -0
  871. data/test/dummy/node_modules/combine-source-map/example/two-files-short.js +26 -0
  872. data/test/dummy/node_modules/combine-source-map/example/two-files.js +46 -0
  873. data/test/dummy/node_modules/combine-source-map/index.js +153 -0
  874. data/test/dummy/node_modules/combine-source-map/lib/mappings-from-map.js +30 -0
  875. data/test/dummy/node_modules/combine-source-map/lib/path-is-absolute.js +20 -0
  876. data/test/dummy/node_modules/combine-source-map/lib/path-is-absolute.license +21 -0
  877. data/test/dummy/node_modules/combine-source-map/package.json +102 -0
  878. data/test/dummy/node_modules/combine-source-map/test/combine-source-map.js +347 -0
  879. data/test/dummy/node_modules/concat-map/LICENSE +18 -0
  880. data/test/dummy/node_modules/concat-map/README.markdown +62 -0
  881. data/test/dummy/node_modules/concat-map/example/map.js +6 -0
  882. data/test/dummy/node_modules/concat-map/index.js +13 -0
  883. data/test/dummy/node_modules/concat-map/package.json +109 -0
  884. data/test/dummy/node_modules/concat-map/test/map.js +39 -0
  885. data/test/dummy/node_modules/concat-stream/LICENSE +24 -0
  886. data/test/dummy/node_modules/concat-stream/index.js +136 -0
  887. data/test/dummy/node_modules/concat-stream/node_modules/isarray/Makefile +6 -0
  888. data/test/dummy/node_modules/concat-stream/node_modules/isarray/README.md +60 -0
  889. data/test/dummy/node_modules/concat-stream/node_modules/isarray/component.json +19 -0
  890. data/test/dummy/node_modules/concat-stream/node_modules/isarray/index.js +5 -0
  891. data/test/dummy/node_modules/concat-stream/node_modules/isarray/package.json +96 -0
  892. data/test/dummy/node_modules/concat-stream/node_modules/isarray/test.js +20 -0
  893. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/LICENSE +18 -0
  894. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/README.md +36 -0
  895. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/doc/stream.markdown +1760 -0
  896. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  897. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/duplex.js +1 -0
  898. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
  899. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
  900. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js +880 -0
  901. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js +180 -0
  902. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js +516 -0
  903. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/package.json +105 -0
  904. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/passthrough.js +1 -0
  905. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/readable.js +12 -0
  906. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/transform.js +1 -0
  907. data/test/dummy/node_modules/concat-stream/node_modules/readable-stream/writable.js +1 -0
  908. data/test/dummy/node_modules/concat-stream/package.json +114 -0
  909. data/test/dummy/node_modules/concat-stream/readme.md +100 -0
  910. data/test/dummy/node_modules/console-browserify/LICENCE +19 -0
  911. data/test/dummy/node_modules/console-browserify/README.md +33 -0
  912. data/test/dummy/node_modules/console-browserify/index.js +86 -0
  913. data/test/dummy/node_modules/console-browserify/package.json +114 -0
  914. data/test/dummy/node_modules/console-browserify/test/index.js +67 -0
  915. data/test/dummy/node_modules/console-browserify/test/static/index.html +12 -0
  916. data/test/dummy/node_modules/console-browserify/test/static/test-adapter.js +53 -0
  917. data/test/dummy/node_modules/constants-browserify/README.md +54 -0
  918. data/test/dummy/node_modules/constants-browserify/build.sh +1 -0
  919. data/test/dummy/node_modules/constants-browserify/constants.json +209 -0
  920. data/test/dummy/node_modules/constants-browserify/package.json +86 -0
  921. data/test/dummy/node_modules/constants-browserify/test.js +18 -0
  922. data/test/dummy/node_modules/convert-source-map/LICENSE +23 -0
  923. data/test/dummy/node_modules/convert-source-map/README.md +121 -0
  924. data/test/dummy/node_modules/convert-source-map/example/comment-to-json.js +15 -0
  925. data/test/dummy/node_modules/convert-source-map/index.js +156 -0
  926. data/test/dummy/node_modules/convert-source-map/package.json +87 -0
  927. data/test/dummy/node_modules/convert-source-map/test/comment-regex.js +138 -0
  928. data/test/dummy/node_modules/convert-source-map/test/convert-source-map.js +207 -0
  929. data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css +14 -0
  930. data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment-inline.css +14 -0
  931. data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment.css +14 -0
  932. data/test/dummy/node_modules/convert-source-map/test/fixtures/map-file-comment.css.map +6 -0
  933. data/test/dummy/node_modules/convert-source-map/test/map-file-comment.js +70 -0
  934. data/test/dummy/node_modules/core-util-is/LICENSE +19 -0
  935. data/test/dummy/node_modules/core-util-is/README.md +3 -0
  936. data/test/dummy/node_modules/core-util-is/float.patch +604 -0
  937. data/test/dummy/node_modules/core-util-is/lib/util.js +107 -0
  938. data/test/dummy/node_modules/core-util-is/package.json +89 -0
  939. data/test/dummy/node_modules/core-util-is/test.js +68 -0
  940. data/test/dummy/node_modules/create-ecdh/browser.js +122 -0
  941. data/test/dummy/node_modules/create-ecdh/index.js +3 -0
  942. data/test/dummy/node_modules/create-ecdh/package.json +100 -0
  943. data/test/dummy/node_modules/create-ecdh/readme.md +4 -0
  944. data/test/dummy/node_modules/create-hash/browser.js +52 -0
  945. data/test/dummy/node_modules/create-hash/helpers.js +34 -0
  946. data/test/dummy/node_modules/create-hash/index.js +1 -0
  947. data/test/dummy/node_modules/create-hash/md5.js +156 -0
  948. data/test/dummy/node_modules/create-hash/package.json +104 -0
  949. data/test/dummy/node_modules/create-hash/readme.md +19 -0
  950. data/test/dummy/node_modules/create-hash/test.js +39 -0
  951. data/test/dummy/node_modules/create-hmac/browser.js +68 -0
  952. data/test/dummy/node_modules/create-hmac/index.js +1 -0
  953. data/test/dummy/node_modules/create-hmac/package.json +99 -0
  954. data/test/dummy/node_modules/create-hmac/readme.md +19 -0
  955. data/test/dummy/node_modules/create-hmac/test.js +41 -0
  956. data/test/dummy/node_modules/crypto-browserify/LICENSE +24 -0
  957. data/test/dummy/node_modules/crypto-browserify/README.md +49 -0
  958. data/test/dummy/node_modules/crypto-browserify/example/bundle.js +637 -0
  959. data/test/dummy/node_modules/crypto-browserify/example/index.html +12 -0
  960. data/test/dummy/node_modules/crypto-browserify/example/test.js +4 -0
  961. data/test/dummy/node_modules/crypto-browserify/index.js +77 -0
  962. data/test/dummy/node_modules/crypto-browserify/package.json +114 -0
  963. data/test/dummy/node_modules/crypto-browserify/test/aes.js +49 -0
  964. data/test/dummy/node_modules/crypto-browserify/test/create-hash.js +50 -0
  965. data/test/dummy/node_modules/crypto-browserify/test/create-hmac.js +50 -0
  966. data/test/dummy/node_modules/crypto-browserify/test/dh.js +49 -0
  967. data/test/dummy/node_modules/crypto-browserify/test/ecdh.js +61 -0
  968. data/test/dummy/node_modules/crypto-browserify/test/index.js +18 -0
  969. data/test/dummy/node_modules/crypto-browserify/test/node/dh.js +51 -0
  970. data/test/dummy/node_modules/crypto-browserify/test/pbkdf2.js +21 -0
  971. data/test/dummy/node_modules/crypto-browserify/test/public-encrypt.js +36 -0
  972. data/test/dummy/node_modules/crypto-browserify/test/random-bytes.js +60 -0
  973. data/test/dummy/node_modules/crypto-browserify/test/sign.js +59 -0
  974. data/test/dummy/node_modules/date-now/LICENCE +19 -0
  975. data/test/dummy/node_modules/date-now/README.md +45 -0
  976. data/test/dummy/node_modules/date-now/index.js +5 -0
  977. data/test/dummy/node_modules/date-now/package.json +115 -0
  978. data/test/dummy/node_modules/date-now/seed.js +16 -0
  979. data/test/dummy/node_modules/date-now/test/index.js +28 -0
  980. data/test/dummy/node_modules/date-now/test/static/index.html +10 -0
  981. data/test/dummy/node_modules/defined/LICENSE +18 -0
  982. data/test/dummy/node_modules/defined/example/defined.js +4 -0
  983. data/test/dummy/node_modules/defined/index.js +5 -0
  984. data/test/dummy/node_modules/defined/package.json +116 -0
  985. data/test/dummy/node_modules/defined/readme.markdown +53 -0
  986. data/test/dummy/node_modules/defined/test/def.js +22 -0
  987. data/test/dummy/node_modules/defined/test/falsy.js +9 -0
  988. data/test/dummy/node_modules/deps-sort/LICENSE +18 -0
  989. data/test/dummy/node_modules/deps-sort/bin/cmd.js +10 -0
  990. data/test/dummy/node_modules/deps-sort/example/sort.js +6 -0
  991. data/test/dummy/node_modules/deps-sort/index.js +122 -0
  992. data/test/dummy/node_modules/deps-sort/package.json +97 -0
  993. data/test/dummy/node_modules/deps-sort/readme.markdown +83 -0
  994. data/test/dummy/node_modules/deps-sort/test/dedupe-deps-of-deps.js +71 -0
  995. data/test/dummy/node_modules/deps-sort/test/dedupe.js +39 -0
  996. data/test/dummy/node_modules/deps-sort/test/dedupe_index.js +56 -0
  997. data/test/dummy/node_modules/deps-sort/test/dedupe_undef.js +37 -0
  998. data/test/dummy/node_modules/deps-sort/test/expose.js +38 -0
  999. data/test/dummy/node_modules/deps-sort/test/expose_str.js +44 -0
  1000. data/test/dummy/node_modules/deps-sort/test/indexed.js +38 -0
  1001. data/test/dummy/node_modules/deps-sort/test/sort.js +23 -0
  1002. data/test/dummy/node_modules/des.js/README.md +26 -0
  1003. data/test/dummy/node_modules/des.js/lib/des/cbc.js +65 -0
  1004. data/test/dummy/node_modules/des.js/lib/des/cipher.js +141 -0
  1005. data/test/dummy/node_modules/des.js/lib/des/des.js +143 -0
  1006. data/test/dummy/node_modules/des.js/lib/des/ede.js +55 -0
  1007. data/test/dummy/node_modules/des.js/lib/des/utils.js +256 -0
  1008. data/test/dummy/node_modules/des.js/lib/des.js +7 -0
  1009. data/test/dummy/node_modules/des.js/package.json +85 -0
  1010. data/test/dummy/node_modules/des.js/test/cbc-test.js +73 -0
  1011. data/test/dummy/node_modules/des.js/test/des-test.js +139 -0
  1012. data/test/dummy/node_modules/des.js/test/ede-test.js +73 -0
  1013. data/test/dummy/node_modules/des.js/test/fixtures.js +5 -0
  1014. data/test/dummy/node_modules/des.js/test/utils-test.js +169 -0
  1015. data/test/dummy/node_modules/detective/LICENSE +18 -0
  1016. data/test/dummy/node_modules/detective/bench/detect.js +7 -0
  1017. data/test/dummy/node_modules/detective/bench/esprima_v_acorn.txt +18 -0
  1018. data/test/dummy/node_modules/detective/example/strings.js +6 -0
  1019. data/test/dummy/node_modules/detective/example/strings_src.js +3 -0
  1020. data/test/dummy/node_modules/detective/index.js +71 -0
  1021. data/test/dummy/node_modules/detective/package.json +88 -0
  1022. data/test/dummy/node_modules/detective/readme.markdown +80 -0
  1023. data/test/dummy/node_modules/detective/test/both.js +26 -0
  1024. data/test/dummy/node_modules/detective/test/chained.js +9 -0
  1025. data/test/dummy/node_modules/detective/test/complicated.js +56 -0
  1026. data/test/dummy/node_modules/detective/test/es6-module.js +9 -0
  1027. data/test/dummy/node_modules/detective/test/files/both.js +4 -0
  1028. data/test/dummy/node_modules/detective/test/files/chained.js +5 -0
  1029. data/test/dummy/node_modules/detective/test/files/es6-module.js +5 -0
  1030. data/test/dummy/node_modules/detective/test/files/generators.js +5 -0
  1031. data/test/dummy/node_modules/detective/test/files/isrequire.js +14 -0
  1032. data/test/dummy/node_modules/detective/test/files/nested.js +22 -0
  1033. data/test/dummy/node_modules/detective/test/files/shebang.js +5 -0
  1034. data/test/dummy/node_modules/detective/test/files/sparse-array.js +3 -0
  1035. data/test/dummy/node_modules/detective/test/files/strings.js +13 -0
  1036. data/test/dummy/node_modules/detective/test/files/word.js +13 -0
  1037. data/test/dummy/node_modules/detective/test/files/yield.js +4 -0
  1038. data/test/dummy/node_modules/detective/test/generators.js +9 -0
  1039. data/test/dummy/node_modules/detective/test/isrequire.js +20 -0
  1040. data/test/dummy/node_modules/detective/test/nested.js +9 -0
  1041. data/test/dummy/node_modules/detective/test/noargs.js +26 -0
  1042. data/test/dummy/node_modules/detective/test/parseopts.js +62 -0
  1043. data/test/dummy/node_modules/detective/test/return.js +9 -0
  1044. data/test/dummy/node_modules/detective/test/shebang.js +9 -0
  1045. data/test/dummy/node_modules/detective/test/sparse-array.js +14 -0
  1046. data/test/dummy/node_modules/detective/test/strings.js +9 -0
  1047. data/test/dummy/node_modules/detective/test/word.js +12 -0
  1048. data/test/dummy/node_modules/detective/test/yield.js +9 -0
  1049. data/test/dummy/node_modules/diffie-hellman/browser.js +42 -0
  1050. data/test/dummy/node_modules/diffie-hellman/index.js +10 -0
  1051. data/test/dummy/node_modules/diffie-hellman/lib/dh.js +164 -0
  1052. data/test/dummy/node_modules/diffie-hellman/lib/generatePrime.js +105 -0
  1053. data/test/dummy/node_modules/diffie-hellman/lib/primes.json +34 -0
  1054. data/test/dummy/node_modules/diffie-hellman/package.json +101 -0
  1055. data/test/dummy/node_modules/diffie-hellman/readme.md +4 -0
  1056. data/test/dummy/node_modules/domain-browser/HISTORY.md +42 -0
  1057. data/test/dummy/node_modules/domain-browser/LICENSE.md +23 -0
  1058. data/test/dummy/node_modules/domain-browser/README.md +111 -0
  1059. data/test/dummy/node_modules/domain-browser/index.js +69 -0
  1060. data/test/dummy/node_modules/domain-browser/package.json +173 -0
  1061. data/test/dummy/node_modules/domain-browser/test.js +100 -0
  1062. data/test/dummy/node_modules/duplexer2/LICENSE.md +26 -0
  1063. data/test/dummy/node_modules/duplexer2/README.md +115 -0
  1064. data/test/dummy/node_modules/duplexer2/index.js +76 -0
  1065. data/test/dummy/node_modules/duplexer2/package.json +97 -0
  1066. data/test/dummy/node_modules/elliptic/README.md +170 -0
  1067. data/test/dummy/node_modules/elliptic/lib/elliptic/curve/base.js +351 -0
  1068. data/test/dummy/node_modules/elliptic/lib/elliptic/curve/edwards.js +410 -0
  1069. data/test/dummy/node_modules/elliptic/lib/elliptic/curve/index.js +8 -0
  1070. data/test/dummy/node_modules/elliptic/lib/elliptic/curve/mont.js +176 -0
  1071. data/test/dummy/node_modules/elliptic/lib/elliptic/curve/short.js +909 -0
  1072. data/test/dummy/node_modules/elliptic/lib/elliptic/curves.js +205 -0
  1073. data/test/dummy/node_modules/elliptic/lib/elliptic/ec/index.js +222 -0
  1074. data/test/dummy/node_modules/elliptic/lib/elliptic/ec/key.js +107 -0
  1075. data/test/dummy/node_modules/elliptic/lib/elliptic/ec/signature.js +135 -0
  1076. data/test/dummy/node_modules/elliptic/lib/elliptic/eddsa/index.js +118 -0
  1077. data/test/dummy/node_modules/elliptic/lib/elliptic/eddsa/key.js +96 -0
  1078. data/test/dummy/node_modules/elliptic/lib/elliptic/eddsa/signature.js +66 -0
  1079. data/test/dummy/node_modules/elliptic/lib/elliptic/hmac-drbg.js +114 -0
  1080. data/test/dummy/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js +780 -0
  1081. data/test/dummy/node_modules/elliptic/lib/elliptic/utils.js +173 -0
  1082. data/test/dummy/node_modules/elliptic/lib/elliptic.js +14 -0
  1083. data/test/dummy/node_modules/elliptic/package.json +99 -0
  1084. data/test/dummy/node_modules/esmangle-evaluator/README.md +24 -0
  1085. data/test/dummy/node_modules/esmangle-evaluator/common.js +58 -0
  1086. data/test/dummy/node_modules/esmangle-evaluator/evaluator.js +364 -0
  1087. data/test/dummy/node_modules/esmangle-evaluator/package.json +73 -0
  1088. data/test/dummy/node_modules/esprima/ChangeLog +170 -0
  1089. data/test/dummy/node_modules/esprima/LICENSE.BSD +21 -0
  1090. data/test/dummy/node_modules/esprima/README.md +27 -0
  1091. data/test/dummy/node_modules/esprima/bin/esparse.js +126 -0
  1092. data/test/dummy/node_modules/esprima/bin/esvalidate.js +199 -0
  1093. data/test/dummy/node_modules/esprima/esprima.js +5739 -0
  1094. data/test/dummy/node_modules/esprima/package.json +145 -0
  1095. data/test/dummy/node_modules/events/History.md +38 -0
  1096. data/test/dummy/node_modules/events/LICENSE +22 -0
  1097. data/test/dummy/node_modules/events/Readme.md +19 -0
  1098. data/test/dummy/node_modules/events/events.js +298 -0
  1099. data/test/dummy/node_modules/events/package.json +91 -0
  1100. data/test/dummy/node_modules/events/tests/add-listeners.js +63 -0
  1101. data/test/dummy/node_modules/events/tests/check-listener-leaks.js +86 -0
  1102. data/test/dummy/node_modules/events/tests/common.js +42 -0
  1103. data/test/dummy/node_modules/events/tests/index.js +25 -0
  1104. data/test/dummy/node_modules/events/tests/legacy-compat.js +18 -0
  1105. data/test/dummy/node_modules/events/tests/listener-count.js +36 -0
  1106. data/test/dummy/node_modules/events/tests/listeners-side-effects.js +55 -0
  1107. data/test/dummy/node_modules/events/tests/listeners.js +51 -0
  1108. data/test/dummy/node_modules/events/tests/max-listeners.js +50 -0
  1109. data/test/dummy/node_modules/events/tests/modify-in-emit.js +76 -0
  1110. data/test/dummy/node_modules/events/tests/num-args.js +44 -0
  1111. data/test/dummy/node_modules/events/tests/once.js +59 -0
  1112. data/test/dummy/node_modules/events/tests/remove-all-listeners.js +80 -0
  1113. data/test/dummy/node_modules/events/tests/remove-listeners.js +84 -0
  1114. data/test/dummy/node_modules/events/tests/set-max-listeners-side-effects.js +29 -0
  1115. data/test/dummy/node_modules/events/tests/subclass.js +51 -0
  1116. data/test/dummy/node_modules/evp_bytestokey/index.js +68 -0
  1117. data/test/dummy/node_modules/evp_bytestokey/package.json +84 -0
  1118. data/test/dummy/node_modules/evp_bytestokey/readme.md +13 -0
  1119. data/test/dummy/node_modules/evp_bytestokey/test.js +19 -0
  1120. data/test/dummy/node_modules/expand-brackets/LICENSE +21 -0
  1121. data/test/dummy/node_modules/expand-brackets/README.md +107 -0
  1122. data/test/dummy/node_modules/expand-brackets/index.js +163 -0
  1123. data/test/dummy/node_modules/expand-brackets/package.json +128 -0
  1124. data/test/dummy/node_modules/expand-range/LICENSE +24 -0
  1125. data/test/dummy/node_modules/expand-range/README.md +107 -0
  1126. data/test/dummy/node_modules/expand-range/index.js +43 -0
  1127. data/test/dummy/node_modules/expand-range/package.json +107 -0
  1128. data/test/dummy/node_modules/extglob/LICENSE +21 -0
  1129. data/test/dummy/node_modules/extglob/README.md +88 -0
  1130. data/test/dummy/node_modules/extglob/index.js +178 -0
  1131. data/test/dummy/node_modules/extglob/package.json +108 -0
  1132. data/test/dummy/node_modules/falafel/example/array.js +14 -0
  1133. data/test/dummy/node_modules/falafel/example/keyword.js +16 -0
  1134. data/test/dummy/node_modules/falafel/example/prompt.js +49 -0
  1135. data/test/dummy/node_modules/falafel/index.js +79 -0
  1136. data/test/dummy/node_modules/falafel/package.json +137 -0
  1137. data/test/dummy/node_modules/falafel/readme.markdown +122 -0
  1138. data/test/dummy/node_modules/falafel/test/array.js +35 -0
  1139. data/test/dummy/node_modules/falafel/test/async.js +42 -0
  1140. data/test/dummy/node_modules/falafel/test/bin/run.js +5 -0
  1141. data/test/dummy/node_modules/falafel/test/custom-parser.js +42 -0
  1142. data/test/dummy/node_modules/falafel/test/es6.js +15 -0
  1143. data/test/dummy/node_modules/falafel/test/for.js +30 -0
  1144. data/test/dummy/node_modules/falafel/test/inspect.js +36 -0
  1145. data/test/dummy/node_modules/falafel/test/opts.js +134 -0
  1146. data/test/dummy/node_modules/falafel/test/parent.js +33 -0
  1147. data/test/dummy/node_modules/filename-regex/README.md +51 -0
  1148. data/test/dummy/node_modules/filename-regex/index.js +10 -0
  1149. data/test/dummy/node_modules/filename-regex/package.json +92 -0
  1150. data/test/dummy/node_modules/fill-range/LICENSE +21 -0
  1151. data/test/dummy/node_modules/fill-range/README.md +290 -0
  1152. data/test/dummy/node_modules/fill-range/index.js +408 -0
  1153. data/test/dummy/node_modules/fill-range/package.json +123 -0
  1154. data/test/dummy/node_modules/for-in/LICENSE +21 -0
  1155. data/test/dummy/node_modules/for-in/README.md +74 -0
  1156. data/test/dummy/node_modules/for-in/index.js +16 -0
  1157. data/test/dummy/node_modules/for-in/package.json +119 -0
  1158. data/test/dummy/node_modules/for-own/LICENSE +21 -0
  1159. data/test/dummy/node_modules/for-own/README.md +52 -0
  1160. data/test/dummy/node_modules/for-own/index.js +19 -0
  1161. data/test/dummy/node_modules/for-own/package.json +120 -0
  1162. data/test/dummy/node_modules/foreach/LICENSE +24 -0
  1163. data/test/dummy/node_modules/foreach/Makefile +11 -0
  1164. data/test/dummy/node_modules/foreach/Readme.md +30 -0
  1165. data/test/dummy/node_modules/foreach/component.json +11 -0
  1166. data/test/dummy/node_modules/foreach/index.js +22 -0
  1167. data/test/dummy/node_modules/foreach/package.json +109 -0
  1168. data/test/dummy/node_modules/foreach/test.js +153 -0
  1169. data/test/dummy/node_modules/fsevents/LICENSE +22 -0
  1170. data/test/dummy/node_modules/fsevents/Readme.md +78 -0
  1171. data/test/dummy/node_modules/fsevents/binding.gyp +29 -0
  1172. data/test/dummy/node_modules/fsevents/fsevents.cc +102 -0
  1173. data/test/dummy/node_modules/fsevents/fsevents.js +105 -0
  1174. data/test/dummy/node_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node +0 -0
  1175. data/test/dummy/node_modules/fsevents/node_modules/ansi/History.md +23 -0
  1176. data/test/dummy/node_modules/fsevents/node_modules/ansi/LICENSE +24 -0
  1177. data/test/dummy/node_modules/fsevents/node_modules/ansi/README.md +98 -0
  1178. data/test/dummy/node_modules/fsevents/node_modules/ansi/examples/beep/index.js +16 -0
  1179. data/test/dummy/node_modules/fsevents/node_modules/ansi/examples/clear/index.js +15 -0
  1180. data/test/dummy/node_modules/fsevents/node_modules/ansi/examples/cursorPosition.js +32 -0
  1181. data/test/dummy/node_modules/fsevents/node_modules/ansi/examples/progress/index.js +87 -0
  1182. data/test/dummy/node_modules/fsevents/node_modules/ansi/lib/ansi.js +405 -0
  1183. data/test/dummy/node_modules/fsevents/node_modules/ansi/lib/newlines.js +71 -0
  1184. data/test/dummy/node_modules/fsevents/node_modules/ansi/package.json +69 -0
  1185. data/test/dummy/node_modules/fsevents/node_modules/ansi-regex/index.js +4 -0
  1186. data/test/dummy/node_modules/fsevents/node_modules/ansi-regex/package.json +95 -0
  1187. data/test/dummy/node_modules/fsevents/node_modules/ansi-regex/readme.md +31 -0
  1188. data/test/dummy/node_modules/fsevents/node_modules/ansi-styles/index.js +65 -0
  1189. data/test/dummy/node_modules/fsevents/node_modules/ansi-styles/package.json +89 -0
  1190. data/test/dummy/node_modules/fsevents/node_modules/ansi-styles/readme.md +86 -0
  1191. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/CHANGES.md +19 -0
  1192. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/LICENSE +5 -0
  1193. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/README.md +194 -0
  1194. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/index.js +4 -0
  1195. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/package.json +65 -0
  1196. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/test/lib/test-event.js +29 -0
  1197. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/test/tracker.js +57 -0
  1198. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/test/trackergroup.js +96 -0
  1199. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/test/trackerstream.js +51 -0
  1200. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/tracker-base.js +11 -0
  1201. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/tracker-group.js +107 -0
  1202. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/tracker-stream.js +35 -0
  1203. data/test/dummy/node_modules/fsevents/node_modules/are-we-there-yet/tracker.js +30 -0
  1204. data/test/dummy/node_modules/fsevents/node_modules/asn1/LICENSE +19 -0
  1205. data/test/dummy/node_modules/fsevents/node_modules/asn1/README.md +50 -0
  1206. data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/errors.js +13 -0
  1207. data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/index.js +27 -0
  1208. data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/reader.js +261 -0
  1209. data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/types.js +36 -0
  1210. data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/ber/writer.js +316 -0
  1211. data/test/dummy/node_modules/fsevents/node_modules/asn1/lib/index.js +20 -0
  1212. data/test/dummy/node_modules/fsevents/node_modules/asn1/package.json +72 -0
  1213. data/test/dummy/node_modules/fsevents/node_modules/asn1/tst/ber/reader.test.js +208 -0
  1214. data/test/dummy/node_modules/fsevents/node_modules/asn1/tst/ber/writer.test.js +370 -0
  1215. data/test/dummy/node_modules/fsevents/node_modules/assert-plus/AUTHORS +6 -0
  1216. data/test/dummy/node_modules/fsevents/node_modules/assert-plus/CHANGES.md +8 -0
  1217. data/test/dummy/node_modules/fsevents/node_modules/assert-plus/README.md +155 -0
  1218. data/test/dummy/node_modules/fsevents/node_modules/assert-plus/assert.js +206 -0
  1219. data/test/dummy/node_modules/fsevents/node_modules/assert-plus/package.json +90 -0
  1220. data/test/dummy/node_modules/fsevents/node_modules/async/README.md +1877 -0
  1221. data/test/dummy/node_modules/fsevents/node_modules/async/dist/async.js +1265 -0
  1222. data/test/dummy/node_modules/fsevents/node_modules/async/dist/async.min.js +2 -0
  1223. data/test/dummy/node_modules/fsevents/node_modules/async/lib/async.js +1265 -0
  1224. data/test/dummy/node_modules/fsevents/node_modules/async/package.json +131 -0
  1225. data/test/dummy/node_modules/fsevents/node_modules/aws-sign2/LICENSE +55 -0
  1226. data/test/dummy/node_modules/fsevents/node_modules/aws-sign2/README.md +4 -0
  1227. data/test/dummy/node_modules/fsevents/node_modules/aws-sign2/index.js +212 -0
  1228. data/test/dummy/node_modules/fsevents/node_modules/aws-sign2/package.json +55 -0
  1229. data/test/dummy/node_modules/fsevents/node_modules/aws4/LICENSE +19 -0
  1230. data/test/dummy/node_modules/fsevents/node_modules/aws4/README.md +514 -0
  1231. data/test/dummy/node_modules/fsevents/node_modules/aws4/aws4.js +318 -0
  1232. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/README.md +142 -0
  1233. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/lib/lru-cache.js +469 -0
  1234. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/LICENSE +15 -0
  1235. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/README.md +60 -0
  1236. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/map.js +9 -0
  1237. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/package.json +60 -0
  1238. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/pseudomap.js +113 -0
  1239. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/test/basic.js +86 -0
  1240. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/CONTRIBUTING.md +4 -0
  1241. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/LICENSE +15 -0
  1242. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/README.md +204 -0
  1243. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/package.json +60 -0
  1244. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/test/basic.js +188 -0
  1245. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/yallist.js +360 -0
  1246. data/test/dummy/node_modules/fsevents/node_modules/aws4/node_modules/lru-cache/package.json +78 -0
  1247. data/test/dummy/node_modules/fsevents/node_modules/aws4/package.json +117 -0
  1248. data/test/dummy/node_modules/fsevents/node_modules/bl/LICENSE.md +13 -0
  1249. data/test/dummy/node_modules/fsevents/node_modules/bl/README.md +200 -0
  1250. data/test/dummy/node_modules/fsevents/node_modules/bl/bl.js +227 -0
  1251. data/test/dummy/node_modules/fsevents/node_modules/bl/package.json +72 -0
  1252. data/test/dummy/node_modules/fsevents/node_modules/bl/test/test.js +571 -0
  1253. data/test/dummy/node_modules/fsevents/node_modules/block-stream/LICENCE +25 -0
  1254. data/test/dummy/node_modules/fsevents/node_modules/block-stream/LICENSE +15 -0
  1255. data/test/dummy/node_modules/fsevents/node_modules/block-stream/README.md +14 -0
  1256. data/test/dummy/node_modules/fsevents/node_modules/block-stream/bench/block-stream-pause.js +70 -0
  1257. data/test/dummy/node_modules/fsevents/node_modules/block-stream/bench/block-stream.js +68 -0
  1258. data/test/dummy/node_modules/fsevents/node_modules/block-stream/bench/dropper-pause.js +70 -0
  1259. data/test/dummy/node_modules/fsevents/node_modules/block-stream/bench/dropper.js +68 -0
  1260. data/test/dummy/node_modules/fsevents/node_modules/block-stream/block-stream.js +209 -0
  1261. data/test/dummy/node_modules/fsevents/node_modules/block-stream/package.json +62 -0
  1262. data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/basic.js +27 -0
  1263. data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/nopad-thorough.js +68 -0
  1264. data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/nopad.js +57 -0
  1265. data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/pause-resume.js +73 -0
  1266. data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/thorough.js +68 -0
  1267. data/test/dummy/node_modules/fsevents/node_modules/block-stream/test/two-stream.js +59 -0
  1268. data/test/dummy/node_modules/fsevents/node_modules/boom/CONTRIBUTING.md +1 -0
  1269. data/test/dummy/node_modules/fsevents/node_modules/boom/LICENSE +28 -0
  1270. data/test/dummy/node_modules/fsevents/node_modules/boom/README.md +652 -0
  1271. data/test/dummy/node_modules/fsevents/node_modules/boom/images/boom.png +0 -0
  1272. data/test/dummy/node_modules/fsevents/node_modules/boom/lib/index.js +318 -0
  1273. data/test/dummy/node_modules/fsevents/node_modules/boom/package.json +72 -0
  1274. data/test/dummy/node_modules/fsevents/node_modules/boom/test/index.js +654 -0
  1275. data/test/dummy/node_modules/fsevents/node_modules/caseless/LICENSE +28 -0
  1276. data/test/dummy/node_modules/fsevents/node_modules/caseless/README.md +45 -0
  1277. data/test/dummy/node_modules/fsevents/node_modules/caseless/index.js +66 -0
  1278. data/test/dummy/node_modules/fsevents/node_modules/caseless/package.json +70 -0
  1279. data/test/dummy/node_modules/fsevents/node_modules/caseless/test.js +40 -0
  1280. data/test/dummy/node_modules/fsevents/node_modules/chalk/index.js +116 -0
  1281. data/test/dummy/node_modules/fsevents/node_modules/chalk/package.json +115 -0
  1282. data/test/dummy/node_modules/fsevents/node_modules/chalk/readme.md +213 -0
  1283. data/test/dummy/node_modules/fsevents/node_modules/combined-stream/License +19 -0
  1284. data/test/dummy/node_modules/fsevents/node_modules/combined-stream/Readme.md +138 -0
  1285. data/test/dummy/node_modules/fsevents/node_modules/combined-stream/lib/combined_stream.js +188 -0
  1286. data/test/dummy/node_modules/fsevents/node_modules/combined-stream/package.json +75 -0
  1287. data/test/dummy/node_modules/fsevents/node_modules/commander/Readme.md +351 -0
  1288. data/test/dummy/node_modules/fsevents/node_modules/commander/index.js +1110 -0
  1289. data/test/dummy/node_modules/fsevents/node_modules/commander/package.json +78 -0
  1290. data/test/dummy/node_modules/fsevents/node_modules/core-util-is/LICENSE +19 -0
  1291. data/test/dummy/node_modules/fsevents/node_modules/core-util-is/README.md +3 -0
  1292. data/test/dummy/node_modules/fsevents/node_modules/core-util-is/float.patch +604 -0
  1293. data/test/dummy/node_modules/fsevents/node_modules/core-util-is/lib/util.js +107 -0
  1294. data/test/dummy/node_modules/fsevents/node_modules/core-util-is/package.json +68 -0
  1295. data/test/dummy/node_modules/fsevents/node_modules/core-util-is/test.js +68 -0
  1296. data/test/dummy/node_modules/fsevents/node_modules/cryptiles/LICENSE +28 -0
  1297. data/test/dummy/node_modules/fsevents/node_modules/cryptiles/README.md +16 -0
  1298. data/test/dummy/node_modules/fsevents/node_modules/cryptiles/lib/index.js +68 -0
  1299. data/test/dummy/node_modules/fsevents/node_modules/cryptiles/package.json +68 -0
  1300. data/test/dummy/node_modules/fsevents/node_modules/cryptiles/test/index.js +102 -0
  1301. data/test/dummy/node_modules/fsevents/node_modules/dashdash/README.md +574 -0
  1302. data/test/dummy/node_modules/fsevents/node_modules/dashdash/etc/dashdash.bash_completion.in +388 -0
  1303. data/test/dummy/node_modules/fsevents/node_modules/dashdash/lib/dashdash.js +1022 -0
  1304. data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/AUTHORS +6 -0
  1305. data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/CHANGES.md +14 -0
  1306. data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/README.md +162 -0
  1307. data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/assert.js +211 -0
  1308. data/test/dummy/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus/package.json +90 -0
  1309. data/test/dummy/node_modules/fsevents/node_modules/dashdash/package.json +99 -0
  1310. data/test/dummy/node_modules/fsevents/node_modules/debug/History.md +195 -0
  1311. data/test/dummy/node_modules/fsevents/node_modules/debug/Makefile +36 -0
  1312. data/test/dummy/node_modules/fsevents/node_modules/debug/Readme.md +188 -0
  1313. data/test/dummy/node_modules/fsevents/node_modules/debug/bower.json +28 -0
  1314. data/test/dummy/node_modules/fsevents/node_modules/debug/browser.js +168 -0
  1315. data/test/dummy/node_modules/fsevents/node_modules/debug/component.json +19 -0
  1316. data/test/dummy/node_modules/fsevents/node_modules/debug/debug.js +197 -0
  1317. data/test/dummy/node_modules/fsevents/node_modules/debug/node.js +209 -0
  1318. data/test/dummy/node_modules/fsevents/node_modules/debug/package.json +80 -0
  1319. data/test/dummy/node_modules/fsevents/node_modules/deep-extend/README.md +90 -0
  1320. data/test/dummy/node_modules/fsevents/node_modules/deep-extend/index.js +1 -0
  1321. data/test/dummy/node_modules/fsevents/node_modules/deep-extend/lib/deep-extend.js +144 -0
  1322. data/test/dummy/node_modules/fsevents/node_modules/deep-extend/package.json +95 -0
  1323. data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/License +19 -0
  1324. data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/Makefile +7 -0
  1325. data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/Readme.md +141 -0
  1326. data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  1327. data/test/dummy/node_modules/fsevents/node_modules/delayed-stream/package.json +71 -0
  1328. data/test/dummy/node_modules/fsevents/node_modules/delegates/History.md +22 -0
  1329. data/test/dummy/node_modules/fsevents/node_modules/delegates/License +20 -0
  1330. data/test/dummy/node_modules/fsevents/node_modules/delegates/Makefile +8 -0
  1331. data/test/dummy/node_modules/fsevents/node_modules/delegates/Readme.md +94 -0
  1332. data/test/dummy/node_modules/fsevents/node_modules/delegates/index.js +121 -0
  1333. data/test/dummy/node_modules/fsevents/node_modules/delegates/package.json +59 -0
  1334. data/test/dummy/node_modules/fsevents/node_modules/delegates/test/index.js +94 -0
  1335. data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/LICENSE +21 -0
  1336. data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/README.md +8 -0
  1337. data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/index.js +57 -0
  1338. data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/lib/LICENSE-jsbn +40 -0
  1339. data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/lib/ec.js +561 -0
  1340. data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/lib/sec.js +170 -0
  1341. data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/package.json +64 -0
  1342. data/test/dummy/node_modules/fsevents/node_modules/ecc-jsbn/test.js +14 -0
  1343. data/test/dummy/node_modules/fsevents/node_modules/escape-string-regexp/index.js +11 -0
  1344. data/test/dummy/node_modules/fsevents/node_modules/escape-string-regexp/package.json +84 -0
  1345. data/test/dummy/node_modules/fsevents/node_modules/escape-string-regexp/readme.md +27 -0
  1346. data/test/dummy/node_modules/fsevents/node_modules/extend/CHANGELOG.md +69 -0
  1347. data/test/dummy/node_modules/fsevents/node_modules/extend/LICENSE +23 -0
  1348. data/test/dummy/node_modules/fsevents/node_modules/extend/README.md +62 -0
  1349. data/test/dummy/node_modules/fsevents/node_modules/extend/component.json +32 -0
  1350. data/test/dummy/node_modules/fsevents/node_modules/extend/index.js +86 -0
  1351. data/test/dummy/node_modules/fsevents/node_modules/extend/package.json +80 -0
  1352. data/test/dummy/node_modules/fsevents/node_modules/extsprintf/LICENSE +19 -0
  1353. data/test/dummy/node_modules/fsevents/node_modules/extsprintf/Makefile +23 -0
  1354. data/test/dummy/node_modules/fsevents/node_modules/extsprintf/Makefile.deps +39 -0
  1355. data/test/dummy/node_modules/fsevents/node_modules/extsprintf/Makefile.targ +285 -0
  1356. data/test/dummy/node_modules/fsevents/node_modules/extsprintf/README.md +39 -0
  1357. data/test/dummy/node_modules/fsevents/node_modules/extsprintf/examples/simple.js +2 -0
  1358. data/test/dummy/node_modules/fsevents/node_modules/extsprintf/jsl.node.conf +137 -0
  1359. data/test/dummy/node_modules/fsevents/node_modules/extsprintf/lib/extsprintf.js +166 -0
  1360. data/test/dummy/node_modules/fsevents/node_modules/extsprintf/package.json +49 -0
  1361. data/test/dummy/node_modules/fsevents/node_modules/forever-agent/LICENSE +55 -0
  1362. data/test/dummy/node_modules/fsevents/node_modules/forever-agent/README.md +4 -0
  1363. data/test/dummy/node_modules/fsevents/node_modules/forever-agent/index.js +138 -0
  1364. data/test/dummy/node_modules/fsevents/node_modules/forever-agent/package.json +62 -0
  1365. data/test/dummy/node_modules/fsevents/node_modules/form-data/License +19 -0
  1366. data/test/dummy/node_modules/fsevents/node_modules/form-data/README.md +218 -0
  1367. data/test/dummy/node_modules/fsevents/node_modules/form-data/lib/browser.js +2 -0
  1368. data/test/dummy/node_modules/fsevents/node_modules/form-data/lib/form_data.js +411 -0
  1369. data/test/dummy/node_modules/fsevents/node_modules/form-data/lib/populate.js +9 -0
  1370. data/test/dummy/node_modules/fsevents/node_modules/form-data/package.json +112 -0
  1371. data/test/dummy/node_modules/fsevents/node_modules/form-data/wercker.yml +36 -0
  1372. data/test/dummy/node_modules/fsevents/node_modules/fstream/LICENSE +15 -0
  1373. data/test/dummy/node_modules/fsevents/node_modules/fstream/README.md +76 -0
  1374. data/test/dummy/node_modules/fsevents/node_modules/fstream/examples/filter-pipe.js +134 -0
  1375. data/test/dummy/node_modules/fsevents/node_modules/fstream/examples/pipe.js +118 -0
  1376. data/test/dummy/node_modules/fsevents/node_modules/fstream/examples/reader.js +68 -0
  1377. data/test/dummy/node_modules/fsevents/node_modules/fstream/examples/symlink-write.js +27 -0
  1378. data/test/dummy/node_modules/fsevents/node_modules/fstream/fstream.js +35 -0
  1379. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/abstract.js +85 -0
  1380. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/collect.js +68 -0
  1381. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/dir-reader.js +252 -0
  1382. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/dir-writer.js +174 -0
  1383. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/file-reader.js +150 -0
  1384. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/file-writer.js +107 -0
  1385. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/get-type.js +33 -0
  1386. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/link-reader.js +53 -0
  1387. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/link-writer.js +95 -0
  1388. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/proxy-reader.js +95 -0
  1389. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/proxy-writer.js +111 -0
  1390. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/reader.js +255 -0
  1391. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/socket-reader.js +36 -0
  1392. data/test/dummy/node_modules/fsevents/node_modules/fstream/lib/writer.js +390 -0
  1393. data/test/dummy/node_modules/fsevents/node_modules/fstream/package.json +80 -0
  1394. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/LICENSE +15 -0
  1395. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/README.md +22 -0
  1396. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/example/basic.js +13 -0
  1397. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/ignore.js +275 -0
  1398. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/README.md +216 -0
  1399. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/minimatch.js +912 -0
  1400. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/README.md +122 -0
  1401. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
  1402. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
  1403. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +21 -0
  1404. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
  1405. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +89 -0
  1406. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
  1407. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +50 -0
  1408. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +80 -0
  1409. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +84 -0
  1410. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
  1411. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
  1412. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
  1413. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
  1414. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +91 -0
  1415. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
  1416. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +86 -0
  1417. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/node_modules/minimatch/package.json +67 -0
  1418. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/package.json +68 -0
  1419. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/00-setup.js +71 -0
  1420. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/basic.js +28 -0
  1421. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/common.js +40 -0
  1422. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/ignore-most.js +41 -0
  1423. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/nested-ignores.js +51 -0
  1424. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/read-file-order.js +81 -0
  1425. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/unignore-child.js +38 -0
  1426. data/test/dummy/node_modules/fsevents/node_modules/fstream-ignore/test/zz-cleanup.js +10 -0
  1427. data/test/dummy/node_modules/fsevents/node_modules/gauge/LICENSE +13 -0
  1428. data/test/dummy/node_modules/fsevents/node_modules/gauge/README.md +166 -0
  1429. data/test/dummy/node_modules/fsevents/node_modules/gauge/example.png +0 -0
  1430. data/test/dummy/node_modules/fsevents/node_modules/gauge/package.json +72 -0
  1431. data/test/dummy/node_modules/fsevents/node_modules/gauge/progress-bar.js +225 -0
  1432. data/test/dummy/node_modules/fsevents/node_modules/gauge/test/progress-bar.js +176 -0
  1433. data/test/dummy/node_modules/fsevents/node_modules/generate-function/README.md +72 -0
  1434. data/test/dummy/node_modules/fsevents/node_modules/generate-function/example.js +27 -0
  1435. data/test/dummy/node_modules/fsevents/node_modules/generate-function/index.js +61 -0
  1436. data/test/dummy/node_modules/fsevents/node_modules/generate-function/package.json +61 -0
  1437. data/test/dummy/node_modules/fsevents/node_modules/generate-function/test.js +33 -0
  1438. data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/LICENSE +21 -0
  1439. data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/README.md +19 -0
  1440. data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/index.js +12 -0
  1441. data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/package.json +58 -0
  1442. data/test/dummy/node_modules/fsevents/node_modules/generate-object-property/test.js +12 -0
  1443. data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/README.md +53 -0
  1444. data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/fs.js +21 -0
  1445. data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/graceful-fs.js +253 -0
  1446. data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/legacy-streams.js +118 -0
  1447. data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/package.json +85 -0
  1448. data/test/dummy/node_modules/fsevents/node_modules/graceful-fs/polyfills.js +252 -0
  1449. data/test/dummy/node_modules/fsevents/node_modules/graceful-readlink/LICENSE +22 -0
  1450. data/test/dummy/node_modules/fsevents/node_modules/graceful-readlink/README.md +17 -0
  1451. data/test/dummy/node_modules/fsevents/node_modules/graceful-readlink/index.js +12 -0
  1452. data/test/dummy/node_modules/fsevents/node_modules/graceful-readlink/package.json +57 -0
  1453. data/test/dummy/node_modules/fsevents/node_modules/har-validator/README.md +309 -0
  1454. data/test/dummy/node_modules/fsevents/node_modules/har-validator/bin/har-validator +56 -0
  1455. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/async.js +14 -0
  1456. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/error.js +10 -0
  1457. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/index.js +22 -0
  1458. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/runner.js +29 -0
  1459. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/cache.json +13 -0
  1460. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/cacheEntry.json +31 -0
  1461. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/content.json +27 -0
  1462. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/cookie.json +34 -0
  1463. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/creator.json +18 -0
  1464. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/entry.json +51 -0
  1465. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/har.json +11 -0
  1466. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/index.js +49 -0
  1467. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/log.json +34 -0
  1468. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/page.json +30 -0
  1469. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/pageTimings.json +16 -0
  1470. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/postData.json +41 -0
  1471. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/record.json +18 -0
  1472. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/request.json +55 -0
  1473. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/response.json +52 -0
  1474. data/test/dummy/node_modules/fsevents/node_modules/har-validator/lib/schemas/timings.json +40 -0
  1475. data/test/dummy/node_modules/fsevents/node_modules/har-validator/package.json +94 -0
  1476. data/test/dummy/node_modules/fsevents/node_modules/has-ansi/index.js +4 -0
  1477. data/test/dummy/node_modules/fsevents/node_modules/has-ansi/package.json +92 -0
  1478. data/test/dummy/node_modules/fsevents/node_modules/has-ansi/readme.md +36 -0
  1479. data/test/dummy/node_modules/fsevents/node_modules/has-unicode/LICENSE +14 -0
  1480. data/test/dummy/node_modules/fsevents/node_modules/has-unicode/README.md +43 -0
  1481. data/test/dummy/node_modules/fsevents/node_modules/has-unicode/index.js +21 -0
  1482. data/test/dummy/node_modules/fsevents/node_modules/has-unicode/package.json +62 -0
  1483. data/test/dummy/node_modules/fsevents/node_modules/has-unicode/test/index.js +26 -0
  1484. data/test/dummy/node_modules/fsevents/node_modules/hawk/LICENSE +28 -0
  1485. data/test/dummy/node_modules/fsevents/node_modules/hawk/README.md +634 -0
  1486. data/test/dummy/node_modules/fsevents/node_modules/hawk/bower.json +24 -0
  1487. data/test/dummy/node_modules/fsevents/node_modules/hawk/component.json +19 -0
  1488. data/test/dummy/node_modules/fsevents/node_modules/hawk/dist/client.js +343 -0
  1489. data/test/dummy/node_modules/fsevents/node_modules/hawk/example/usage.js +78 -0
  1490. data/test/dummy/node_modules/fsevents/node_modules/hawk/images/hawk.png +0 -0
  1491. data/test/dummy/node_modules/fsevents/node_modules/hawk/images/logo.png +0 -0
  1492. data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/browser.js +637 -0
  1493. data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/client.js +369 -0
  1494. data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/crypto.js +126 -0
  1495. data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/index.js +15 -0
  1496. data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/server.js +548 -0
  1497. data/test/dummy/node_modules/fsevents/node_modules/hawk/lib/utils.js +184 -0
  1498. data/test/dummy/node_modules/fsevents/node_modules/hawk/package.json +75 -0
  1499. data/test/dummy/node_modules/fsevents/node_modules/hawk/test/browser.js +1492 -0
  1500. data/test/dummy/node_modules/fsevents/node_modules/hawk/test/client.js +440 -0
  1501. data/test/dummy/node_modules/fsevents/node_modules/hawk/test/crypto.js +70 -0
  1502. data/test/dummy/node_modules/fsevents/node_modules/hawk/test/index.js +378 -0
  1503. data/test/dummy/node_modules/fsevents/node_modules/hawk/test/readme.js +95 -0
  1504. data/test/dummy/node_modules/fsevents/node_modules/hawk/test/server.js +1329 -0
  1505. data/test/dummy/node_modules/fsevents/node_modules/hawk/test/uri.js +838 -0
  1506. data/test/dummy/node_modules/fsevents/node_modules/hawk/test/utils.js +149 -0
  1507. data/test/dummy/node_modules/fsevents/node_modules/hoek/CONTRIBUTING.md +1 -0
  1508. data/test/dummy/node_modules/fsevents/node_modules/hoek/LICENSE +31 -0
  1509. data/test/dummy/node_modules/fsevents/node_modules/hoek/README.md +584 -0
  1510. data/test/dummy/node_modules/fsevents/node_modules/hoek/images/hoek.png +0 -0
  1511. data/test/dummy/node_modules/fsevents/node_modules/hoek/lib/escape.js +132 -0
  1512. data/test/dummy/node_modules/fsevents/node_modules/hoek/lib/index.js +993 -0
  1513. data/test/dummy/node_modules/fsevents/node_modules/hoek/package.json +70 -0
  1514. data/test/dummy/node_modules/fsevents/node_modules/hoek/test/escaper.js +88 -0
  1515. data/test/dummy/node_modules/fsevents/node_modules/hoek/test/index.js +2513 -0
  1516. data/test/dummy/node_modules/fsevents/node_modules/hoek/test/modules/ignore.txt +0 -0
  1517. data/test/dummy/node_modules/fsevents/node_modules/hoek/test/modules/test1.js +1 -0
  1518. data/test/dummy/node_modules/fsevents/node_modules/hoek/test/modules/test2.js +1 -0
  1519. data/test/dummy/node_modules/fsevents/node_modules/hoek/test/modules/test3.js +1 -0
  1520. data/test/dummy/node_modules/fsevents/node_modules/http-signature/CHANGES.md +46 -0
  1521. data/test/dummy/node_modules/fsevents/node_modules/http-signature/LICENSE +18 -0
  1522. data/test/dummy/node_modules/fsevents/node_modules/http-signature/README.md +79 -0
  1523. data/test/dummy/node_modules/fsevents/node_modules/http-signature/http_signing.md +363 -0
  1524. data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/index.js +29 -0
  1525. data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/parser.js +318 -0
  1526. data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/signer.js +399 -0
  1527. data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/utils.js +112 -0
  1528. data/test/dummy/node_modules/fsevents/node_modules/http-signature/lib/verify.js +88 -0
  1529. data/test/dummy/node_modules/fsevents/node_modules/http-signature/package.json +90 -0
  1530. data/test/dummy/node_modules/fsevents/node_modules/inherits/LICENSE +16 -0
  1531. data/test/dummy/node_modules/fsevents/node_modules/inherits/README.md +42 -0
  1532. data/test/dummy/node_modules/fsevents/node_modules/inherits/inherits.js +1 -0
  1533. data/test/dummy/node_modules/fsevents/node_modules/inherits/inherits_browser.js +23 -0
  1534. data/test/dummy/node_modules/fsevents/node_modules/inherits/package.json +81 -0
  1535. data/test/dummy/node_modules/fsevents/node_modules/inherits/test.js +25 -0
  1536. data/test/dummy/node_modules/fsevents/node_modules/ini/README.md +102 -0
  1537. data/test/dummy/node_modules/fsevents/node_modules/ini/ini.js +190 -0
  1538. data/test/dummy/node_modules/fsevents/node_modules/ini/package.json +64 -0
  1539. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/LICENSE +21 -0
  1540. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/README.md +173 -0
  1541. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/example.js +18 -0
  1542. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/formats.js +14 -0
  1543. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/index.js +584 -0
  1544. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/package.json +83 -0
  1545. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/require.js +12 -0
  1546. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/fixtures/cosmic.js +84 -0
  1547. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +82 -0
  1548. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +88 -0
  1549. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +112 -0
  1550. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +68 -0
  1551. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +107 -0
  1552. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +49 -0
  1553. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +32 -0
  1554. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +113 -0
  1555. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +72 -0
  1556. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +143 -0
  1557. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +46 -0
  1558. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +28 -0
  1559. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +28 -0
  1560. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +28 -0
  1561. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +42 -0
  1562. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +28 -0
  1563. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +28 -0
  1564. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +28 -0
  1565. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +42 -0
  1566. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +96 -0
  1567. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +96 -0
  1568. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +18 -0
  1569. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +18 -0
  1570. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +68 -0
  1571. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +23 -0
  1572. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +110 -0
  1573. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +92 -0
  1574. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +128 -0
  1575. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +74 -0
  1576. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +39 -0
  1577. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +330 -0
  1578. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +79 -0
  1579. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/json-schema.js +23 -0
  1580. data/test/dummy/node_modules/fsevents/node_modules/is-my-json-valid/test/misc.js +447 -0
  1581. data/test/dummy/node_modules/fsevents/node_modules/is-property/LICENSE +22 -0
  1582. data/test/dummy/node_modules/fsevents/node_modules/is-property/README.md +28 -0
  1583. data/test/dummy/node_modules/fsevents/node_modules/is-property/is-property.js +5 -0
  1584. data/test/dummy/node_modules/fsevents/node_modules/is-property/package.json +66 -0
  1585. data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/LICENSE.md +18 -0
  1586. data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/README.md +16 -0
  1587. data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/index.js +41 -0
  1588. data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/package.json +64 -0
  1589. data/test/dummy/node_modules/fsevents/node_modules/is-typedarray/test.js +34 -0
  1590. data/test/dummy/node_modules/fsevents/node_modules/isarray/Makefile +6 -0
  1591. data/test/dummy/node_modules/fsevents/node_modules/isarray/README.md +60 -0
  1592. data/test/dummy/node_modules/fsevents/node_modules/isarray/component.json +19 -0
  1593. data/test/dummy/node_modules/fsevents/node_modules/isarray/index.js +5 -0
  1594. data/test/dummy/node_modules/fsevents/node_modules/isarray/package.json +78 -0
  1595. data/test/dummy/node_modules/fsevents/node_modules/isarray/test.js +20 -0
  1596. data/test/dummy/node_modules/fsevents/node_modules/isstream/LICENSE.md +11 -0
  1597. data/test/dummy/node_modules/fsevents/node_modules/isstream/README.md +66 -0
  1598. data/test/dummy/node_modules/fsevents/node_modules/isstream/isstream.js +27 -0
  1599. data/test/dummy/node_modules/fsevents/node_modules/isstream/package.json +67 -0
  1600. data/test/dummy/node_modules/fsevents/node_modules/isstream/test.js +168 -0
  1601. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/AUTHORS.md +3 -0
  1602. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/LICENSE +23 -0
  1603. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/README.md +51 -0
  1604. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/almond.0 +42 -0
  1605. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/almond.1 +13 -0
  1606. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/index.js +35 -0
  1607. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/jsdoc.json +19 -0
  1608. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/core.js +481 -0
  1609. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/curve255.js +221 -0
  1610. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/dh.js +111 -0
  1611. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/eddsa.js +573 -0
  1612. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/lib/utils.js +198 -0
  1613. data/test/dummy/node_modules/fsevents/node_modules/jodid25519/package.json +78 -0
  1614. data/test/dummy/node_modules/fsevents/node_modules/jsbn/LICENSE +40 -0
  1615. data/test/dummy/node_modules/fsevents/node_modules/jsbn/README.md +175 -0
  1616. data/test/dummy/node_modules/fsevents/node_modules/jsbn/example.html +12 -0
  1617. data/test/dummy/node_modules/fsevents/node_modules/jsbn/example.js +3 -0
  1618. data/test/dummy/node_modules/fsevents/node_modules/jsbn/index.js +1358 -0
  1619. data/test/dummy/node_modules/fsevents/node_modules/jsbn/package.json +61 -0
  1620. data/test/dummy/node_modules/fsevents/node_modules/json-schema/README.md +5 -0
  1621. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-00/hyper-schema +68 -0
  1622. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-00/json-ref +26 -0
  1623. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-00/links +33 -0
  1624. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-00/schema +155 -0
  1625. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-01/hyper-schema +68 -0
  1626. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-01/json-ref +26 -0
  1627. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-01/links +33 -0
  1628. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-01/schema +155 -0
  1629. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-02/hyper-schema +68 -0
  1630. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-02/json-ref +26 -0
  1631. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-02/links +35 -0
  1632. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-02/schema +166 -0
  1633. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/address +20 -0
  1634. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/calendar +53 -0
  1635. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/card +105 -0
  1636. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/geo +8 -0
  1637. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/examples/interfaces +23 -0
  1638. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/hyper-schema +60 -0
  1639. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/json-ref +26 -0
  1640. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/links +35 -0
  1641. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-03/schema +174 -0
  1642. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-04/hyper-schema +60 -0
  1643. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-04/links +41 -0
  1644. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-04/schema +189 -0
  1645. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-zyp-json-schema-03.xml +1120 -0
  1646. data/test/dummy/node_modules/fsevents/node_modules/json-schema/draft-zyp-json-schema-04.xml +1072 -0
  1647. data/test/dummy/node_modules/fsevents/node_modules/json-schema/lib/links.js +52 -0
  1648. data/test/dummy/node_modules/fsevents/node_modules/json-schema/lib/validate.js +260 -0
  1649. data/test/dummy/node_modules/fsevents/node_modules/json-schema/package.json +68 -0
  1650. data/test/dummy/node_modules/fsevents/node_modules/json-schema/test/tests.js +95 -0
  1651. data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/CHANGELOG.md +14 -0
  1652. data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/LICENSE +15 -0
  1653. data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/Makefile +35 -0
  1654. data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/README.md +52 -0
  1655. data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/package.json +76 -0
  1656. data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/stringify.js +27 -0
  1657. data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/test/mocha.opts +2 -0
  1658. data/test/dummy/node_modules/fsevents/node_modules/json-stringify-safe/test/stringify_test.js +246 -0
  1659. data/test/dummy/node_modules/fsevents/node_modules/jsonpointer/README.md +32 -0
  1660. data/test/dummy/node_modules/fsevents/node_modules/jsonpointer/jsonpointer.js +76 -0
  1661. data/test/dummy/node_modules/fsevents/node_modules/jsonpointer/package.json +73 -0
  1662. data/test/dummy/node_modules/fsevents/node_modules/jsonpointer/test.js +98 -0
  1663. data/test/dummy/node_modules/fsevents/node_modules/jsprim/CHANGES.md +30 -0
  1664. data/test/dummy/node_modules/fsevents/node_modules/jsprim/LICENSE +19 -0
  1665. data/test/dummy/node_modules/fsevents/node_modules/jsprim/README.md +228 -0
  1666. data/test/dummy/node_modules/fsevents/node_modules/jsprim/lib/jsprim.js +478 -0
  1667. data/test/dummy/node_modules/fsevents/node_modules/jsprim/package.json +55 -0
  1668. data/test/dummy/node_modules/fsevents/node_modules/lodash.pad/LICENSE +23 -0
  1669. data/test/dummy/node_modules/fsevents/node_modules/lodash.pad/README.md +18 -0
  1670. data/test/dummy/node_modules/fsevents/node_modules/lodash.pad/index.js +296 -0
  1671. data/test/dummy/node_modules/fsevents/node_modules/lodash.pad/package.json +91 -0
  1672. data/test/dummy/node_modules/fsevents/node_modules/lodash.padend/LICENSE +23 -0
  1673. data/test/dummy/node_modules/fsevents/node_modules/lodash.padend/README.md +18 -0
  1674. data/test/dummy/node_modules/fsevents/node_modules/lodash.padend/index.js +285 -0
  1675. data/test/dummy/node_modules/fsevents/node_modules/lodash.padend/package.json +91 -0
  1676. data/test/dummy/node_modules/fsevents/node_modules/lodash.padstart/LICENSE +23 -0
  1677. data/test/dummy/node_modules/fsevents/node_modules/lodash.padstart/README.md +18 -0
  1678. data/test/dummy/node_modules/fsevents/node_modules/lodash.padstart/index.js +285 -0
  1679. data/test/dummy/node_modules/fsevents/node_modules/lodash.padstart/package.json +91 -0
  1680. data/test/dummy/node_modules/fsevents/node_modules/lodash.repeat/LICENSE +23 -0
  1681. data/test/dummy/node_modules/fsevents/node_modules/lodash.repeat/README.md +18 -0
  1682. data/test/dummy/node_modules/fsevents/node_modules/lodash.repeat/index.js +215 -0
  1683. data/test/dummy/node_modules/fsevents/node_modules/lodash.repeat/package.json +92 -0
  1684. data/test/dummy/node_modules/fsevents/node_modules/lodash.tostring/LICENSE +23 -0
  1685. data/test/dummy/node_modules/fsevents/node_modules/lodash.tostring/README.md +18 -0
  1686. data/test/dummy/node_modules/fsevents/node_modules/lodash.tostring/index.js +164 -0
  1687. data/test/dummy/node_modules/fsevents/node_modules/lodash.tostring/package.json +91 -0
  1688. data/test/dummy/node_modules/fsevents/node_modules/mime-db/HISTORY.md +320 -0
  1689. data/test/dummy/node_modules/fsevents/node_modules/mime-db/LICENSE +22 -0
  1690. data/test/dummy/node_modules/fsevents/node_modules/mime-db/README.md +82 -0
  1691. data/test/dummy/node_modules/fsevents/node_modules/mime-db/db.json +6575 -0
  1692. data/test/dummy/node_modules/fsevents/node_modules/mime-db/index.js +11 -0
  1693. data/test/dummy/node_modules/fsevents/node_modules/mime-db/package.json +108 -0
  1694. data/test/dummy/node_modules/fsevents/node_modules/mime-types/HISTORY.md +191 -0
  1695. data/test/dummy/node_modules/fsevents/node_modules/mime-types/LICENSE +23 -0
  1696. data/test/dummy/node_modules/fsevents/node_modules/mime-types/README.md +103 -0
  1697. data/test/dummy/node_modules/fsevents/node_modules/mime-types/index.js +188 -0
  1698. data/test/dummy/node_modules/fsevents/node_modules/mime-types/package.json +98 -0
  1699. data/test/dummy/node_modules/fsevents/node_modules/minimist/LICENSE +18 -0
  1700. data/test/dummy/node_modules/fsevents/node_modules/minimist/example/parse.js +2 -0
  1701. data/test/dummy/node_modules/fsevents/node_modules/minimist/index.js +187 -0
  1702. data/test/dummy/node_modules/fsevents/node_modules/minimist/package.json +93 -0
  1703. data/test/dummy/node_modules/fsevents/node_modules/minimist/readme.markdown +73 -0
  1704. data/test/dummy/node_modules/fsevents/node_modules/minimist/test/dash.js +24 -0
  1705. data/test/dummy/node_modules/fsevents/node_modules/minimist/test/default_bool.js +20 -0
  1706. data/test/dummy/node_modules/fsevents/node_modules/minimist/test/dotted.js +16 -0
  1707. data/test/dummy/node_modules/fsevents/node_modules/minimist/test/long.js +31 -0
  1708. data/test/dummy/node_modules/fsevents/node_modules/minimist/test/parse.js +318 -0
  1709. data/test/dummy/node_modules/fsevents/node_modules/minimist/test/parse_modified.js +9 -0
  1710. data/test/dummy/node_modules/fsevents/node_modules/minimist/test/short.js +67 -0
  1711. data/test/dummy/node_modules/fsevents/node_modules/minimist/test/whitespace.js +8 -0
  1712. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/LICENSE +21 -0
  1713. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/bin/cmd.js +33 -0
  1714. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/bin/usage.txt +12 -0
  1715. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/examples/pow.js +6 -0
  1716. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/index.js +98 -0
  1717. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/package.json +86 -0
  1718. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/readme.markdown +100 -0
  1719. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/chmod.js +41 -0
  1720. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/clobber.js +38 -0
  1721. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/mkdirp.js +28 -0
  1722. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/opts_fs.js +29 -0
  1723. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/opts_fs_sync.js +27 -0
  1724. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/perm.js +32 -0
  1725. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/perm_sync.js +36 -0
  1726. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/race.js +37 -0
  1727. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/rel.js +32 -0
  1728. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/return.js +25 -0
  1729. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/return_sync.js +24 -0
  1730. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/root.js +19 -0
  1731. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/sync.js +32 -0
  1732. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/umask.js +28 -0
  1733. data/test/dummy/node_modules/fsevents/node_modules/mkdirp/test/umask_sync.js +32 -0
  1734. data/test/dummy/node_modules/fsevents/node_modules/ms/LICENSE +20 -0
  1735. data/test/dummy/node_modules/fsevents/node_modules/ms/README.md +35 -0
  1736. data/test/dummy/node_modules/fsevents/node_modules/ms/index.js +125 -0
  1737. data/test/dummy/node_modules/fsevents/node_modules/ms/package.json +56 -0
  1738. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/CHANGELOG.md +302 -0
  1739. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/LICENSE +27 -0
  1740. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/README.md +570 -0
  1741. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/appveyor.yml +30 -0
  1742. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp +131 -0
  1743. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd +2 -0
  1744. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/build.js +43 -0
  1745. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/clean.js +23 -0
  1746. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/configure.js +48 -0
  1747. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/info.js +40 -0
  1748. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/install.js +205 -0
  1749. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js +192 -0
  1750. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/package.js +46 -0
  1751. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/pre-binding.js +25 -0
  1752. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/publish.js +77 -0
  1753. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/rebuild.js +13 -0
  1754. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/reinstall.js +13 -0
  1755. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/reveal.js +31 -0
  1756. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/testbinary.js +73 -0
  1757. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/testpackage.js +49 -0
  1758. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/unpublish.js +41 -0
  1759. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +1190 -0
  1760. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js +87 -0
  1761. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/handle_gyp_opts.js +94 -0
  1762. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html +26 -0
  1763. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json +9 -0
  1764. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/s3_setup.js +27 -0
  1765. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js +308 -0
  1766. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/LICENSE +15 -0
  1767. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/README.md +211 -0
  1768. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/bin/nopt.js +54 -0
  1769. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/examples/my-program.js +30 -0
  1770. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/lib/nopt.js +415 -0
  1771. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md +3 -0
  1772. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/LICENSE +15 -0
  1773. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/README.md +23 -0
  1774. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/abbrev.js +62 -0
  1775. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/package.json +56 -0
  1776. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/test.js +47 -0
  1777. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/package.json +70 -0
  1778. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/node_modules/nopt/test/basic.js +273 -0
  1779. data/test/dummy/node_modules/fsevents/node_modules/node-pre-gyp/package.json +139 -0
  1780. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/LICENSE.md +21 -0
  1781. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/README.md +254 -0
  1782. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/README.md +53 -0
  1783. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/bench.gnu +174 -0
  1784. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/bench.sh +34 -0
  1785. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/benchmark-native.c +34 -0
  1786. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/benchmark/benchmark.js +84 -0
  1787. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/bin/uuid +26 -0
  1788. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/bower.json +23 -0
  1789. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/component.json +25 -0
  1790. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/package.json +87 -0
  1791. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/test/compare_v1.js +63 -0
  1792. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/test/test.html +17 -0
  1793. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/test/test.js +231 -0
  1794. data/test/dummy/node_modules/fsevents/node_modules/node-uuid/uuid.js +272 -0
  1795. data/test/dummy/node_modules/fsevents/node_modules/npmlog/LICENSE +15 -0
  1796. data/test/dummy/node_modules/fsevents/node_modules/npmlog/README.md +195 -0
  1797. data/test/dummy/node_modules/fsevents/node_modules/npmlog/example.js +39 -0
  1798. data/test/dummy/node_modules/fsevents/node_modules/npmlog/log.js +251 -0
  1799. data/test/dummy/node_modules/fsevents/node_modules/npmlog/package.json +74 -0
  1800. data/test/dummy/node_modules/fsevents/node_modules/npmlog/test/basic.js +235 -0
  1801. data/test/dummy/node_modules/fsevents/node_modules/npmlog/test/progress.js +131 -0
  1802. data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/LICENSE +55 -0
  1803. data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/README.md +4 -0
  1804. data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/index.js +136 -0
  1805. data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/package.json +66 -0
  1806. data/test/dummy/node_modules/fsevents/node_modules/oauth-sign/test.js +89 -0
  1807. data/test/dummy/node_modules/fsevents/node_modules/once/README.md +51 -0
  1808. data/test/dummy/node_modules/fsevents/node_modules/once/once.js +21 -0
  1809. data/test/dummy/node_modules/fsevents/node_modules/once/package.json +70 -0
  1810. data/test/dummy/node_modules/fsevents/node_modules/pinkie/index.js +292 -0
  1811. data/test/dummy/node_modules/fsevents/node_modules/pinkie/package.json +75 -0
  1812. data/test/dummy/node_modules/fsevents/node_modules/pinkie/readme.md +83 -0
  1813. data/test/dummy/node_modules/fsevents/node_modules/pinkie-promise/index.js +3 -0
  1814. data/test/dummy/node_modules/fsevents/node_modules/pinkie-promise/package.json +72 -0
  1815. data/test/dummy/node_modules/fsevents/node_modules/pinkie-promise/readme.md +28 -0
  1816. data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/index.js +20 -0
  1817. data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/license.md +19 -0
  1818. data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/package.json +53 -0
  1819. data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/readme.md +18 -0
  1820. data/test/dummy/node_modules/fsevents/node_modules/process-nextick-args/test.js +24 -0
  1821. data/test/dummy/node_modules/fsevents/node_modules/qs/CHANGELOG.md +110 -0
  1822. data/test/dummy/node_modules/fsevents/node_modules/qs/CONTRIBUTING.md +1 -0
  1823. data/test/dummy/node_modules/fsevents/node_modules/qs/LICENSE +28 -0
  1824. data/test/dummy/node_modules/fsevents/node_modules/qs/README.md +335 -0
  1825. data/test/dummy/node_modules/fsevents/node_modules/qs/bower.json +22 -0
  1826. data/test/dummy/node_modules/fsevents/node_modules/qs/component.json +15 -0
  1827. data/test/dummy/node_modules/fsevents/node_modules/qs/dist/qs.js +475 -0
  1828. data/test/dummy/node_modules/fsevents/node_modules/qs/lib/index.js +9 -0
  1829. data/test/dummy/node_modules/fsevents/node_modules/qs/lib/parse.js +164 -0
  1830. data/test/dummy/node_modules/fsevents/node_modules/qs/lib/stringify.js +130 -0
  1831. data/test/dummy/node_modules/fsevents/node_modules/qs/lib/utils.js +162 -0
  1832. data/test/dummy/node_modules/fsevents/node_modules/qs/package.json +88 -0
  1833. data/test/dummy/node_modules/fsevents/node_modules/qs/test/index.js +5 -0
  1834. data/test/dummy/node_modules/fsevents/node_modules/qs/test/parse.js +393 -0
  1835. data/test/dummy/node_modules/fsevents/node_modules/qs/test/stringify.js +235 -0
  1836. data/test/dummy/node_modules/fsevents/node_modules/qs/test/utils.js +9 -0
  1837. data/test/dummy/node_modules/fsevents/node_modules/rc/LICENSE.APACHE2 +15 -0
  1838. data/test/dummy/node_modules/fsevents/node_modules/rc/LICENSE.BSD +26 -0
  1839. data/test/dummy/node_modules/fsevents/node_modules/rc/LICENSE.MIT +24 -0
  1840. data/test/dummy/node_modules/fsevents/node_modules/rc/README.md +149 -0
  1841. data/test/dummy/node_modules/fsevents/node_modules/rc/browser.js +7 -0
  1842. data/test/dummy/node_modules/fsevents/node_modules/rc/index.js +60 -0
  1843. data/test/dummy/node_modules/fsevents/node_modules/rc/lib/utils.js +103 -0
  1844. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/LICENSE +18 -0
  1845. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/example/parse.js +2 -0
  1846. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/index.js +236 -0
  1847. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/package.json +79 -0
  1848. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/readme.markdown +91 -0
  1849. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/all_bool.js +32 -0
  1850. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/bool.js +166 -0
  1851. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/dash.js +31 -0
  1852. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/default_bool.js +35 -0
  1853. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/dotted.js +22 -0
  1854. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/kv_short.js +16 -0
  1855. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/long.js +31 -0
  1856. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/num.js +36 -0
  1857. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/parse.js +197 -0
  1858. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/parse_modified.js +9 -0
  1859. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/short.js +67 -0
  1860. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/stop_early.js +15 -0
  1861. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/unknown.js +102 -0
  1862. data/test/dummy/node_modules/fsevents/node_modules/rc/node_modules/minimist/test/whitespace.js +8 -0
  1863. data/test/dummy/node_modules/fsevents/node_modules/rc/package.json +71 -0
  1864. data/test/dummy/node_modules/fsevents/node_modules/rc/test/ini.js +16 -0
  1865. data/test/dummy/node_modules/fsevents/node_modules/rc/test/nested-env-vars.js +40 -0
  1866. data/test/dummy/node_modules/fsevents/node_modules/rc/test/test.js +59 -0
  1867. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/LICENSE +18 -0
  1868. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/README.md +36 -0
  1869. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/doc/stream.markdown +1760 -0
  1870. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  1871. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/duplex.js +1 -0
  1872. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
  1873. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
  1874. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_readable.js +880 -0
  1875. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_transform.js +180 -0
  1876. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/lib/_stream_writable.js +516 -0
  1877. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/package.json +89 -0
  1878. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/passthrough.js +1 -0
  1879. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/readable.js +12 -0
  1880. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/transform.js +1 -0
  1881. data/test/dummy/node_modules/fsevents/node_modules/readable-stream/writable.js +1 -0
  1882. data/test/dummy/node_modules/fsevents/node_modules/request/CHANGELOG.md +593 -0
  1883. data/test/dummy/node_modules/fsevents/node_modules/request/CONTRIBUTING.md +44 -0
  1884. data/test/dummy/node_modules/fsevents/node_modules/request/LICENSE +55 -0
  1885. data/test/dummy/node_modules/fsevents/node_modules/request/README.md +1094 -0
  1886. data/test/dummy/node_modules/fsevents/node_modules/request/index.js +156 -0
  1887. data/test/dummy/node_modules/fsevents/node_modules/request/lib/auth.js +168 -0
  1888. data/test/dummy/node_modules/fsevents/node_modules/request/lib/cookies.js +39 -0
  1889. data/test/dummy/node_modules/fsevents/node_modules/request/lib/getProxyFromURI.js +79 -0
  1890. data/test/dummy/node_modules/fsevents/node_modules/request/lib/har.js +215 -0
  1891. data/test/dummy/node_modules/fsevents/node_modules/request/lib/helpers.js +74 -0
  1892. data/test/dummy/node_modules/fsevents/node_modules/request/lib/multipart.js +112 -0
  1893. data/test/dummy/node_modules/fsevents/node_modules/request/lib/oauth.js +147 -0
  1894. data/test/dummy/node_modules/fsevents/node_modules/request/lib/querystring.js +51 -0
  1895. data/test/dummy/node_modules/fsevents/node_modules/request/lib/redirect.js +153 -0
  1896. data/test/dummy/node_modules/fsevents/node_modules/request/lib/tunnel.js +176 -0
  1897. data/test/dummy/node_modules/fsevents/node_modules/request/package.json +122 -0
  1898. data/test/dummy/node_modules/fsevents/node_modules/request/request.js +1419 -0
  1899. data/test/dummy/node_modules/fsevents/node_modules/rimraf/LICENSE +15 -0
  1900. data/test/dummy/node_modules/fsevents/node_modules/rimraf/README.md +101 -0
  1901. data/test/dummy/node_modules/fsevents/node_modules/rimraf/bin.js +40 -0
  1902. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/README.md +365 -0
  1903. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/common.js +235 -0
  1904. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/glob.js +782 -0
  1905. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/LICENSE +15 -0
  1906. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md +37 -0
  1907. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js +44 -0
  1908. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE +15 -0
  1909. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +36 -0
  1910. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +59 -0
  1911. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +51 -0
  1912. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +33 -0
  1913. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +68 -0
  1914. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +97 -0
  1915. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +16 -0
  1916. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +42 -0
  1917. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +1 -0
  1918. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
  1919. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +59 -0
  1920. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +25 -0
  1921. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +216 -0
  1922. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +912 -0
  1923. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +122 -0
  1924. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
  1925. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
  1926. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +21 -0
  1927. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
  1928. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +89 -0
  1929. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
  1930. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +50 -0
  1931. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +80 -0
  1932. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +84 -0
  1933. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
  1934. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
  1935. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
  1936. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
  1937. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +91 -0
  1938. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
  1939. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +86 -0
  1940. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +67 -0
  1941. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +51 -0
  1942. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +15 -0
  1943. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
  1944. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +59 -0
  1945. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
  1946. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
  1947. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +21 -0
  1948. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +71 -0
  1949. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/index.js +20 -0
  1950. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +79 -0
  1951. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/readme.md +51 -0
  1952. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/package.json +85 -0
  1953. data/test/dummy/node_modules/fsevents/node_modules/rimraf/node_modules/glob/sync.js +467 -0
  1954. data/test/dummy/node_modules/fsevents/node_modules/rimraf/package.json +76 -0
  1955. data/test/dummy/node_modules/fsevents/node_modules/rimraf/rimraf.js +335 -0
  1956. data/test/dummy/node_modules/fsevents/node_modules/semver/LICENSE +15 -0
  1957. data/test/dummy/node_modules/fsevents/node_modules/semver/README.md +327 -0
  1958. data/test/dummy/node_modules/fsevents/node_modules/semver/bin/semver +133 -0
  1959. data/test/dummy/node_modules/fsevents/node_modules/semver/package.json +60 -0
  1960. data/test/dummy/node_modules/fsevents/node_modules/semver/range.bnf +16 -0
  1961. data/test/dummy/node_modules/fsevents/node_modules/semver/semver.js +1188 -0
  1962. data/test/dummy/node_modules/fsevents/node_modules/semver/test/big-numbers.js +31 -0
  1963. data/test/dummy/node_modules/fsevents/node_modules/semver/test/clean.js +29 -0
  1964. data/test/dummy/node_modules/fsevents/node_modules/semver/test/gtr.js +173 -0
  1965. data/test/dummy/node_modules/fsevents/node_modules/semver/test/index.js +698 -0
  1966. data/test/dummy/node_modules/fsevents/node_modules/semver/test/ltr.js +181 -0
  1967. data/test/dummy/node_modules/fsevents/node_modules/semver/test/major-minor-patch.js +72 -0
  1968. data/test/dummy/node_modules/fsevents/node_modules/sntp/LICENSE +28 -0
  1969. data/test/dummy/node_modules/fsevents/node_modules/sntp/Makefile +9 -0
  1970. data/test/dummy/node_modules/fsevents/node_modules/sntp/README.md +68 -0
  1971. data/test/dummy/node_modules/fsevents/node_modules/sntp/examples/offset.js +16 -0
  1972. data/test/dummy/node_modules/fsevents/node_modules/sntp/examples/time.js +25 -0
  1973. data/test/dummy/node_modules/fsevents/node_modules/sntp/index.js +1 -0
  1974. data/test/dummy/node_modules/fsevents/node_modules/sntp/lib/index.js +412 -0
  1975. data/test/dummy/node_modules/fsevents/node_modules/sntp/package.json +72 -0
  1976. data/test/dummy/node_modules/fsevents/node_modules/sntp/test/index.js +435 -0
  1977. data/test/dummy/node_modules/fsevents/node_modules/sshpk/LICENSE +18 -0
  1978. data/test/dummy/node_modules/fsevents/node_modules/sshpk/README.md +436 -0
  1979. data/test/dummy/node_modules/fsevents/node_modules/sshpk/bin/sshpk-conv +183 -0
  1980. data/test/dummy/node_modules/fsevents/node_modules/sshpk/bin/sshpk-sign +176 -0
  1981. data/test/dummy/node_modules/fsevents/node_modules/sshpk/bin/sshpk-verify +166 -0
  1982. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/algs.js +168 -0
  1983. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/dhe.js +311 -0
  1984. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/ed-compat.js +96 -0
  1985. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/errors.js +58 -0
  1986. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/fingerprint.js +140 -0
  1987. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/auto.js +73 -0
  1988. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/pem.js +152 -0
  1989. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/pkcs1.js +320 -0
  1990. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/pkcs8.js +510 -0
  1991. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/rfc4253.js +146 -0
  1992. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/ssh-private.js +138 -0
  1993. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/formats/ssh.js +114 -0
  1994. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/index.js +25 -0
  1995. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/key.js +266 -0
  1996. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/private-key.js +224 -0
  1997. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/signature.js +237 -0
  1998. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/ssh-buffer.js +124 -0
  1999. data/test/dummy/node_modules/fsevents/node_modules/sshpk/lib/utils.js +207 -0
  2000. data/test/dummy/node_modules/fsevents/node_modules/sshpk/man/man1/sshpk-conv.1 +135 -0
  2001. data/test/dummy/node_modules/fsevents/node_modules/sshpk/man/man1/sshpk-sign.1 +81 -0
  2002. data/test/dummy/node_modules/fsevents/node_modules/sshpk/man/man1/sshpk-verify.1 +68 -0
  2003. data/test/dummy/node_modules/fsevents/node_modules/sshpk/package.json +107 -0
  2004. data/test/dummy/node_modules/fsevents/node_modules/string_decoder/LICENSE +20 -0
  2005. data/test/dummy/node_modules/fsevents/node_modules/string_decoder/README.md +7 -0
  2006. data/test/dummy/node_modules/fsevents/node_modules/string_decoder/index.js +221 -0
  2007. data/test/dummy/node_modules/fsevents/node_modules/string_decoder/package.json +61 -0
  2008. data/test/dummy/node_modules/fsevents/node_modules/stringstream/LICENSE.txt +22 -0
  2009. data/test/dummy/node_modules/fsevents/node_modules/stringstream/README.md +38 -0
  2010. data/test/dummy/node_modules/fsevents/node_modules/stringstream/example.js +27 -0
  2011. data/test/dummy/node_modules/fsevents/node_modules/stringstream/package.json +59 -0
  2012. data/test/dummy/node_modules/fsevents/node_modules/stringstream/stringstream.js +102 -0
  2013. data/test/dummy/node_modules/fsevents/node_modules/strip-ansi/index.js +6 -0
  2014. data/test/dummy/node_modules/fsevents/node_modules/strip-ansi/package.json +98 -0
  2015. data/test/dummy/node_modules/fsevents/node_modules/strip-ansi/readme.md +33 -0
  2016. data/test/dummy/node_modules/fsevents/node_modules/strip-json-comments/cli.js +41 -0
  2017. data/test/dummy/node_modules/fsevents/node_modules/strip-json-comments/package.json +86 -0
  2018. data/test/dummy/node_modules/fsevents/node_modules/strip-json-comments/readme.md +80 -0
  2019. data/test/dummy/node_modules/fsevents/node_modules/strip-json-comments/strip-json-comments.js +73 -0
  2020. data/test/dummy/node_modules/fsevents/node_modules/supports-color/index.js +50 -0
  2021. data/test/dummy/node_modules/fsevents/node_modules/supports-color/package.json +87 -0
  2022. data/test/dummy/node_modules/fsevents/node_modules/supports-color/readme.md +36 -0
  2023. data/test/dummy/node_modules/fsevents/node_modules/tar/LICENSE +12 -0
  2024. data/test/dummy/node_modules/fsevents/node_modules/tar/README.md +50 -0
  2025. data/test/dummy/node_modules/fsevents/node_modules/tar/examples/extracter.js +19 -0
  2026. data/test/dummy/node_modules/fsevents/node_modules/tar/examples/packer.js +24 -0
  2027. data/test/dummy/node_modules/fsevents/node_modules/tar/examples/reader.js +36 -0
  2028. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/buffer-entry.js +30 -0
  2029. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/entry-writer.js +169 -0
  2030. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/entry.js +220 -0
  2031. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/extended-header-writer.js +191 -0
  2032. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/extended-header.js +140 -0
  2033. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/extract.js +94 -0
  2034. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/global-header-writer.js +14 -0
  2035. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/header.js +385 -0
  2036. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/pack.js +236 -0
  2037. data/test/dummy/node_modules/fsevents/node_modules/tar/lib/parse.js +275 -0
  2038. data/test/dummy/node_modules/fsevents/node_modules/tar/package.json +77 -0
  2039. data/test/dummy/node_modules/fsevents/node_modules/tar/tar.js +173 -0
  2040. data/test/dummy/node_modules/fsevents/node_modules/tar/test/00-setup-fixtures.js +53 -0
  2041. data/test/dummy/node_modules/fsevents/node_modules/tar/test/cb-never-called-1.0.1.tgz +0 -0
  2042. data/test/dummy/node_modules/fsevents/node_modules/tar/test/dir-normalization.js +177 -0
  2043. data/test/dummy/node_modules/fsevents/node_modules/tar/test/dir-normalization.tar +0 -0
  2044. data/test/dummy/node_modules/fsevents/node_modules/tar/test/error-on-broken.js +33 -0
  2045. data/test/dummy/node_modules/fsevents/node_modules/tar/test/extract-move.js +132 -0
  2046. data/test/dummy/node_modules/fsevents/node_modules/tar/test/extract.js +367 -0
  2047. data/test/dummy/node_modules/fsevents/node_modules/tar/test/fixtures.tgz +0 -0
  2048. data/test/dummy/node_modules/fsevents/node_modules/tar/test/header.js +183 -0
  2049. data/test/dummy/node_modules/fsevents/node_modules/tar/test/pack-no-proprietary.js +886 -0
  2050. data/test/dummy/node_modules/fsevents/node_modules/tar/test/pack.js +952 -0
  2051. data/test/dummy/node_modules/fsevents/node_modules/tar/test/parse-discard.js +29 -0
  2052. data/test/dummy/node_modules/fsevents/node_modules/tar/test/parse.js +359 -0
  2053. data/test/dummy/node_modules/fsevents/node_modules/tar/test/zz-cleanup.js +20 -0
  2054. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/LICENSE +23 -0
  2055. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/README.md +81 -0
  2056. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/index.js +240 -0
  2057. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/package.json +75 -0
  2058. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/packed-file.txt +1 -0
  2059. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/packed.tar +0 -0
  2060. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/packed.tar.gz +0 -0
  2061. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/to-pack/bar.txt +1 -0
  2062. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/fixtures/to-pack/foo.txt +1 -0
  2063. data/test/dummy/node_modules/fsevents/node_modules/tar-pack/test/index.js +67 -0
  2064. data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/README.md +492 -0
  2065. data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/cookie.js +1342 -0
  2066. data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/memstore.js +170 -0
  2067. data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/pathMatch.js +61 -0
  2068. data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/permuteDomain.js +56 -0
  2069. data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/pubsuffix.js +98 -0
  2070. data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/lib/store.js +71 -0
  2071. data/test/dummy/node_modules/fsevents/node_modules/tough-cookie/package.json +103 -0
  2072. data/test/dummy/node_modules/fsevents/node_modules/tunnel-agent/LICENSE +55 -0
  2073. data/test/dummy/node_modules/fsevents/node_modules/tunnel-agent/README.md +4 -0
  2074. data/test/dummy/node_modules/fsevents/node_modules/tunnel-agent/index.js +243 -0
  2075. data/test/dummy/node_modules/fsevents/node_modules/tunnel-agent/package.json +67 -0
  2076. data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/CHANGELOG.md +181 -0
  2077. data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/COPYING.txt +9 -0
  2078. data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/README.md +445 -0
  2079. data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/nacl-fast.js +2388 -0
  2080. data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/nacl-fast.min.js +2 -0
  2081. data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/nacl.js +1175 -0
  2082. data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/nacl.min.js +1 -0
  2083. data/test/dummy/node_modules/fsevents/node_modules/tweetnacl/package.json +94 -0
  2084. data/test/dummy/node_modules/fsevents/node_modules/uid-number/LICENSE +15 -0
  2085. data/test/dummy/node_modules/fsevents/node_modules/uid-number/README.md +17 -0
  2086. data/test/dummy/node_modules/fsevents/node_modules/uid-number/get-uid-gid.js +24 -0
  2087. data/test/dummy/node_modules/fsevents/node_modules/uid-number/package.json +57 -0
  2088. data/test/dummy/node_modules/fsevents/node_modules/uid-number/uid-number.js +59 -0
  2089. data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/History.md +16 -0
  2090. data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/LICENSE +24 -0
  2091. data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/README.md +53 -0
  2092. data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/browser.js +67 -0
  2093. data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/node.js +6 -0
  2094. data/test/dummy/node_modules/fsevents/node_modules/util-deprecate/package.json +63 -0
  2095. data/test/dummy/node_modules/fsevents/node_modules/verror/LICENSE +19 -0
  2096. data/test/dummy/node_modules/fsevents/node_modules/verror/Makefile +35 -0
  2097. data/test/dummy/node_modules/fsevents/node_modules/verror/Makefile.targ +285 -0
  2098. data/test/dummy/node_modules/fsevents/node_modules/verror/README.md +120 -0
  2099. data/test/dummy/node_modules/fsevents/node_modules/verror/examples/levels-verror.js +36 -0
  2100. data/test/dummy/node_modules/fsevents/node_modules/verror/examples/levels-werror.js +34 -0
  2101. data/test/dummy/node_modules/fsevents/node_modules/verror/examples/varargs.js +6 -0
  2102. data/test/dummy/node_modules/fsevents/node_modules/verror/examples/verror.js +13 -0
  2103. data/test/dummy/node_modules/fsevents/node_modules/verror/examples/werror.js +14 -0
  2104. data/test/dummy/node_modules/fsevents/node_modules/verror/jsl.node.conf +139 -0
  2105. data/test/dummy/node_modules/fsevents/node_modules/verror/lib/verror.js +157 -0
  2106. data/test/dummy/node_modules/fsevents/node_modules/verror/package.json +53 -0
  2107. data/test/dummy/node_modules/fsevents/node_modules/verror/tests/tst.inherit.js +100 -0
  2108. data/test/dummy/node_modules/fsevents/node_modules/verror/tests/tst.verror.js +156 -0
  2109. data/test/dummy/node_modules/fsevents/node_modules/verror/tests/tst.werror.js +179 -0
  2110. data/test/dummy/node_modules/fsevents/node_modules/wrappy/LICENSE +15 -0
  2111. data/test/dummy/node_modules/fsevents/node_modules/wrappy/README.md +36 -0
  2112. data/test/dummy/node_modules/fsevents/node_modules/wrappy/package.json +59 -0
  2113. data/test/dummy/node_modules/fsevents/node_modules/wrappy/test/basic.js +51 -0
  2114. data/test/dummy/node_modules/fsevents/node_modules/wrappy/wrappy.js +33 -0
  2115. data/test/dummy/node_modules/fsevents/node_modules/xtend/LICENCE +19 -0
  2116. data/test/dummy/node_modules/fsevents/node_modules/xtend/Makefile +4 -0
  2117. data/test/dummy/node_modules/fsevents/node_modules/xtend/README.md +32 -0
  2118. data/test/dummy/node_modules/fsevents/node_modules/xtend/immutable.js +19 -0
  2119. data/test/dummy/node_modules/fsevents/node_modules/xtend/mutable.js +17 -0
  2120. data/test/dummy/node_modules/fsevents/node_modules/xtend/package.json +91 -0
  2121. data/test/dummy/node_modules/fsevents/node_modules/xtend/test.js +83 -0
  2122. data/test/dummy/node_modules/fsevents/package.json +119 -0
  2123. data/test/dummy/node_modules/fsevents/src/async.cc +43 -0
  2124. data/test/dummy/node_modules/fsevents/src/constants.cc +110 -0
  2125. data/test/dummy/node_modules/fsevents/src/locking.cc +27 -0
  2126. data/test/dummy/node_modules/fsevents/src/methods.cc +42 -0
  2127. data/test/dummy/node_modules/fsevents/src/storage.cc +27 -0
  2128. data/test/dummy/node_modules/fsevents/src/thread.cc +72 -0
  2129. data/test/dummy/node_modules/fsevents/test/fsevents.js +27 -0
  2130. data/test/dummy/node_modules/fsevents/test/function.js +93 -0
  2131. data/test/dummy/node_modules/function-bind/LICENSE +20 -0
  2132. data/test/dummy/node_modules/function-bind/README.md +48 -0
  2133. data/test/dummy/node_modules/function-bind/implementation.js +48 -0
  2134. data/test/dummy/node_modules/function-bind/index.js +3 -0
  2135. data/test/dummy/node_modules/function-bind/package.json +129 -0
  2136. data/test/dummy/node_modules/function-bind/test/index.js +250 -0
  2137. data/test/dummy/node_modules/glob/LICENSE +15 -0
  2138. data/test/dummy/node_modules/glob/README.md +377 -0
  2139. data/test/dummy/node_modules/glob/common.js +245 -0
  2140. data/test/dummy/node_modules/glob/glob.js +752 -0
  2141. data/test/dummy/node_modules/glob/package.json +98 -0
  2142. data/test/dummy/node_modules/glob/sync.js +460 -0
  2143. data/test/dummy/node_modules/glob-base/LICENSE +21 -0
  2144. data/test/dummy/node_modules/glob-base/README.md +158 -0
  2145. data/test/dummy/node_modules/glob-base/index.js +51 -0
  2146. data/test/dummy/node_modules/glob-base/package.json +108 -0
  2147. data/test/dummy/node_modules/glob-parent/LICENSE +15 -0
  2148. data/test/dummy/node_modules/glob-parent/README.md +43 -0
  2149. data/test/dummy/node_modules/glob-parent/index.js +10 -0
  2150. data/test/dummy/node_modules/glob-parent/package.json +86 -0
  2151. data/test/dummy/node_modules/glob-parent/test.js +28 -0
  2152. data/test/dummy/node_modules/graceful-fs/LICENSE +15 -0
  2153. data/test/dummy/node_modules/graceful-fs/README.md +53 -0
  2154. data/test/dummy/node_modules/graceful-fs/fs.js +21 -0
  2155. data/test/dummy/node_modules/graceful-fs/graceful-fs.js +253 -0
  2156. data/test/dummy/node_modules/graceful-fs/legacy-streams.js +118 -0
  2157. data/test/dummy/node_modules/graceful-fs/package.json +103 -0
  2158. data/test/dummy/node_modules/graceful-fs/polyfills.js +252 -0
  2159. data/test/dummy/node_modules/has/LICENSE-MIT +22 -0
  2160. data/test/dummy/node_modules/has/README.mkd +18 -0
  2161. data/test/dummy/node_modules/has/package.json +85 -0
  2162. data/test/dummy/node_modules/has/src/index.js +3 -0
  2163. data/test/dummy/node_modules/has/test/index.js +10 -0
  2164. data/test/dummy/node_modules/hash.js/README.md +28 -0
  2165. data/test/dummy/node_modules/hash.js/lib/hash/common.js +91 -0
  2166. data/test/dummy/node_modules/hash.js/lib/hash/hmac.js +48 -0
  2167. data/test/dummy/node_modules/hash.js/lib/hash/ripemd.js +144 -0
  2168. data/test/dummy/node_modules/hash.js/lib/hash/sha.js +564 -0
  2169. data/test/dummy/node_modules/hash.js/lib/hash/utils.js +257 -0
  2170. data/test/dummy/node_modules/hash.js/lib/hash.js +15 -0
  2171. data/test/dummy/node_modules/hash.js/package.json +82 -0
  2172. data/test/dummy/node_modules/hash.js/test/hash-test.js +119 -0
  2173. data/test/dummy/node_modules/hash.js/test/hmac-test.js +59 -0
  2174. data/test/dummy/node_modules/htmlescape/CHANGELOG.md +9 -0
  2175. data/test/dummy/node_modules/htmlescape/LICENSE +9 -0
  2176. data/test/dummy/node_modules/htmlescape/README.md +30 -0
  2177. data/test/dummy/node_modules/htmlescape/htmlescape.js +42 -0
  2178. data/test/dummy/node_modules/htmlescape/package.json +88 -0
  2179. data/test/dummy/node_modules/https-browserify/LICENSE +18 -0
  2180. data/test/dummy/node_modules/https-browserify/index.js +14 -0
  2181. data/test/dummy/node_modules/https-browserify/package.json +84 -0
  2182. data/test/dummy/node_modules/https-browserify/readme.markdown +22 -0
  2183. data/test/dummy/node_modules/ieee754/LICENSE +56 -0
  2184. data/test/dummy/node_modules/ieee754/README.md +47 -0
  2185. data/test/dummy/node_modules/ieee754/index.js +84 -0
  2186. data/test/dummy/node_modules/ieee754/package.json +93 -0
  2187. data/test/dummy/node_modules/ieee754/test/basic.js +23 -0
  2188. data/test/dummy/node_modules/indexof/Makefile +11 -0
  2189. data/test/dummy/node_modules/indexof/Readme.md +15 -0
  2190. data/test/dummy/node_modules/indexof/component.json +10 -0
  2191. data/test/dummy/node_modules/indexof/index.js +10 -0
  2192. data/test/dummy/node_modules/indexof/package.json +58 -0
  2193. data/test/dummy/node_modules/inflight/LICENSE +15 -0
  2194. data/test/dummy/node_modules/inflight/README.md +37 -0
  2195. data/test/dummy/node_modules/inflight/inflight.js +44 -0
  2196. data/test/dummy/node_modules/inflight/package.json +86 -0
  2197. data/test/dummy/node_modules/inflight/test.js +97 -0
  2198. data/test/dummy/node_modules/inherits/LICENSE +16 -0
  2199. data/test/dummy/node_modules/inherits/README.md +42 -0
  2200. data/test/dummy/node_modules/inherits/inherits.js +1 -0
  2201. data/test/dummy/node_modules/inherits/inherits_browser.js +23 -0
  2202. data/test/dummy/node_modules/inherits/package.json +102 -0
  2203. data/test/dummy/node_modules/inherits/test.js +25 -0
  2204. data/test/dummy/node_modules/inline-process-browser/index.js +37 -0
  2205. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/LICENSE +18 -0
  2206. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/README.md +15 -0
  2207. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/duplex.js +1 -0
  2208. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
  2209. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
  2210. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_readable.js +982 -0
  2211. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_transform.js +210 -0
  2212. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/lib/_stream_writable.js +386 -0
  2213. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/package.json +104 -0
  2214. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/passthrough.js +1 -0
  2215. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/readable.js +11 -0
  2216. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/transform.js +1 -0
  2217. data/test/dummy/node_modules/inline-process-browser/node_modules/readable-stream/writable.js +1 -0
  2218. data/test/dummy/node_modules/inline-process-browser/node_modules/through2/LICENSE +39 -0
  2219. data/test/dummy/node_modules/inline-process-browser/node_modules/through2/README.md +132 -0
  2220. data/test/dummy/node_modules/inline-process-browser/node_modules/through2/package.json +90 -0
  2221. data/test/dummy/node_modules/inline-process-browser/node_modules/through2/through2.js +96 -0
  2222. data/test/dummy/node_modules/inline-process-browser/package.json +88 -0
  2223. data/test/dummy/node_modules/inline-process-browser/readme.md +23 -0
  2224. data/test/dummy/node_modules/inline-source-map/LICENSE +23 -0
  2225. data/test/dummy/node_modules/inline-source-map/README.md +89 -0
  2226. data/test/dummy/node_modules/inline-source-map/example/foo-bar.js +8 -0
  2227. data/test/dummy/node_modules/inline-source-map/index.js +135 -0
  2228. data/test/dummy/node_modules/inline-source-map/package.json +103 -0
  2229. data/test/dummy/node_modules/inline-source-map/test/inline-source-map.js +342 -0
  2230. data/test/dummy/node_modules/inline-source-map/test/source-content.js +143 -0
  2231. data/test/dummy/node_modules/insert-module-globals/LICENSE +18 -0
  2232. data/test/dummy/node_modules/insert-module-globals/bench/results.txt +18 -0
  2233. data/test/dummy/node_modules/insert-module-globals/bench/run.sh +2 -0
  2234. data/test/dummy/node_modules/insert-module-globals/bin/cmd.js +26 -0
  2235. data/test/dummy/node_modules/insert-module-globals/example/files/foo/index.js +6 -0
  2236. data/test/dummy/node_modules/insert-module-globals/example/files/main.js +6 -0
  2237. data/test/dummy/node_modules/insert-module-globals/example/insert.js +12 -0
  2238. data/test/dummy/node_modules/insert-module-globals/index.js +170 -0
  2239. data/test/dummy/node_modules/insert-module-globals/package.json +108 -0
  2240. data/test/dummy/node_modules/insert-module-globals/readme.markdown +146 -0
  2241. data/test/dummy/node_modules/insert-module-globals/test/always/custom_globals_without_defaults.js +7 -0
  2242. data/test/dummy/node_modules/insert-module-globals/test/always/hidden_from_quick_test.js +1 -0
  2243. data/test/dummy/node_modules/insert-module-globals/test/always/main.js +10 -0
  2244. data/test/dummy/node_modules/insert-module-globals/test/always.js +105 -0
  2245. data/test/dummy/node_modules/insert-module-globals/test/global/filename.js +2 -0
  2246. data/test/dummy/node_modules/insert-module-globals/test/global/main.js +2 -0
  2247. data/test/dummy/node_modules/insert-module-globals/test/global.js +63 -0
  2248. data/test/dummy/node_modules/insert-module-globals/test/insert/buffer.js +1 -0
  2249. data/test/dummy/node_modules/insert-module-globals/test/insert/foo/buf.js +4 -0
  2250. data/test/dummy/node_modules/insert-module-globals/test/insert/foo/index.js +4 -0
  2251. data/test/dummy/node_modules/insert-module-globals/test/insert/main.js +4 -0
  2252. data/test/dummy/node_modules/insert-module-globals/test/insert.js +46 -0
  2253. data/test/dummy/node_modules/insert-module-globals/test/isbuffer/main.js +3 -0
  2254. data/test/dummy/node_modules/insert-module-globals/test/isbuffer.js +27 -0
  2255. data/test/dummy/node_modules/insert-module-globals/test/return/foo/index.js +4 -0
  2256. data/test/dummy/node_modules/insert-module-globals/test/return/main.js +6 -0
  2257. data/test/dummy/node_modules/insert-module-globals/test/return.js +27 -0
  2258. data/test/dummy/node_modules/insert-module-globals/test/sourcemap/main.js +3 -0
  2259. data/test/dummy/node_modules/insert-module-globals/test/sourcemap/main_es6.js +1 -0
  2260. data/test/dummy/node_modules/insert-module-globals/test/sourcemap.js +40 -0
  2261. data/test/dummy/node_modules/insert-module-globals/test/unprefix/hello.js +2 -0
  2262. data/test/dummy/node_modules/insert-module-globals/test/unprefix/main.js +3 -0
  2263. data/test/dummy/node_modules/insert-module-globals/test/unprefix.js +33 -0
  2264. data/test/dummy/node_modules/is-binary-path/index.js +12 -0
  2265. data/test/dummy/node_modules/is-binary-path/license +21 -0
  2266. data/test/dummy/node_modules/is-binary-path/package.json +102 -0
  2267. data/test/dummy/node_modules/is-binary-path/readme.md +34 -0
  2268. data/test/dummy/node_modules/is-buffer/LICENSE +21 -0
  2269. data/test/dummy/node_modules/is-buffer/README.md +49 -0
  2270. data/test/dummy/node_modules/is-buffer/index.js +17 -0
  2271. data/test/dummy/node_modules/is-buffer/package.json +108 -0
  2272. data/test/dummy/node_modules/is-buffer/test/basic.js +20 -0
  2273. data/test/dummy/node_modules/is-dotfile/LICENSE +21 -0
  2274. data/test/dummy/node_modules/is-dotfile/README.md +74 -0
  2275. data/test/dummy/node_modules/is-dotfile/index.js +15 -0
  2276. data/test/dummy/node_modules/is-dotfile/package.json +108 -0
  2277. data/test/dummy/node_modules/is-equal-shallow/LICENSE +21 -0
  2278. data/test/dummy/node_modules/is-equal-shallow/README.md +90 -0
  2279. data/test/dummy/node_modules/is-equal-shallow/index.js +27 -0
  2280. data/test/dummy/node_modules/is-equal-shallow/package.json +112 -0
  2281. data/test/dummy/node_modules/is-extendable/LICENSE +21 -0
  2282. data/test/dummy/node_modules/is-extendable/README.md +72 -0
  2283. data/test/dummy/node_modules/is-extendable/index.js +13 -0
  2284. data/test/dummy/node_modules/is-extendable/package.json +106 -0
  2285. data/test/dummy/node_modules/is-extglob/LICENSE +21 -0
  2286. data/test/dummy/node_modules/is-extglob/README.md +75 -0
  2287. data/test/dummy/node_modules/is-extglob/index.js +11 -0
  2288. data/test/dummy/node_modules/is-extglob/package.json +102 -0
  2289. data/test/dummy/node_modules/is-glob/LICENSE +21 -0
  2290. data/test/dummy/node_modules/is-glob/README.md +105 -0
  2291. data/test/dummy/node_modules/is-glob/index.js +14 -0
  2292. data/test/dummy/node_modules/is-glob/package.json +119 -0
  2293. data/test/dummy/node_modules/is-number/LICENSE +21 -0
  2294. data/test/dummy/node_modules/is-number/README.md +103 -0
  2295. data/test/dummy/node_modules/is-number/index.js +19 -0
  2296. data/test/dummy/node_modules/is-number/package.json +118 -0
  2297. data/test/dummy/node_modules/is-posix-bracket/LICENSE +21 -0
  2298. data/test/dummy/node_modules/is-posix-bracket/README.md +88 -0
  2299. data/test/dummy/node_modules/is-posix-bracket/index.js +10 -0
  2300. data/test/dummy/node_modules/is-posix-bracket/package.json +123 -0
  2301. data/test/dummy/node_modules/is-primitive/LICENSE +21 -0
  2302. data/test/dummy/node_modules/is-primitive/README.md +57 -0
  2303. data/test/dummy/node_modules/is-primitive/index.js +13 -0
  2304. data/test/dummy/node_modules/is-primitive/package.json +96 -0
  2305. data/test/dummy/node_modules/isarray/README.md +54 -0
  2306. data/test/dummy/node_modules/isarray/build/build.js +209 -0
  2307. data/test/dummy/node_modules/isarray/component.json +19 -0
  2308. data/test/dummy/node_modules/isarray/index.js +3 -0
  2309. data/test/dummy/node_modules/isarray/package.json +82 -0
  2310. data/test/dummy/node_modules/isobject/LICENSE +21 -0
  2311. data/test/dummy/node_modules/isobject/README.md +81 -0
  2312. data/test/dummy/node_modules/isobject/index.js +14 -0
  2313. data/test/dummy/node_modules/isobject/package.json +108 -0
  2314. data/test/dummy/node_modules/json-stable-stringify/LICENSE +18 -0
  2315. data/test/dummy/node_modules/json-stable-stringify/example/key_cmp.js +7 -0
  2316. data/test/dummy/node_modules/json-stable-stringify/example/nested.js +3 -0
  2317. data/test/dummy/node_modules/json-stable-stringify/example/str.js +3 -0
  2318. data/test/dummy/node_modules/json-stable-stringify/example/value_cmp.js +7 -0
  2319. data/test/dummy/node_modules/json-stable-stringify/index.js +50 -0
  2320. data/test/dummy/node_modules/json-stable-stringify/package.json +95 -0
  2321. data/test/dummy/node_modules/json-stable-stringify/readme.markdown +90 -0
  2322. data/test/dummy/node_modules/json-stable-stringify/test/cmp.js +11 -0
  2323. data/test/dummy/node_modules/json-stable-stringify/test/nested.js +8 -0
  2324. data/test/dummy/node_modules/json-stable-stringify/test/str.js +8 -0
  2325. data/test/dummy/node_modules/jsonify/README.markdown +34 -0
  2326. data/test/dummy/node_modules/jsonify/index.js +2 -0
  2327. data/test/dummy/node_modules/jsonify/lib/parse.js +273 -0
  2328. data/test/dummy/node_modules/jsonify/lib/stringify.js +154 -0
  2329. data/test/dummy/node_modules/jsonify/package.json +83 -0
  2330. data/test/dummy/node_modules/jsonify/test/parse.js +16 -0
  2331. data/test/dummy/node_modules/jsonify/test/stringify.js +15 -0
  2332. data/test/dummy/node_modules/jsonparse/LICENSE +24 -0
  2333. data/test/dummy/node_modules/jsonparse/README.markdown +11 -0
  2334. data/test/dummy/node_modules/jsonparse/bench.js +26 -0
  2335. data/test/dummy/node_modules/jsonparse/examples/twitterfeed.js +30 -0
  2336. data/test/dummy/node_modules/jsonparse/jsonparse.js +341 -0
  2337. data/test/dummy/node_modules/jsonparse/package.json +85 -0
  2338. data/test/dummy/node_modules/jsonparse/samplejson/basic.json +167 -0
  2339. data/test/dummy/node_modules/jsonparse/samplejson/basic2.json +180 -0
  2340. data/test/dummy/node_modules/jsonparse/test/boundary.js +110 -0
  2341. data/test/dummy/node_modules/jsonparse/test/offset.js +67 -0
  2342. data/test/dummy/node_modules/jsonparse/test/primitives.js +57 -0
  2343. data/test/dummy/node_modules/jsonparse/test/unvalid.js +15 -0
  2344. data/test/dummy/node_modules/jsonparse/test/utf8.js +38 -0
  2345. data/test/dummy/node_modules/kind-of/LICENSE +21 -0
  2346. data/test/dummy/node_modules/kind-of/README.md +237 -0
  2347. data/test/dummy/node_modules/kind-of/index.js +113 -0
  2348. data/test/dummy/node_modules/kind-of/package.json +127 -0
  2349. data/test/dummy/node_modules/labeled-stream-splicer/LICENSE +18 -0
  2350. data/test/dummy/node_modules/labeled-stream-splicer/example/browser/bar.js +3 -0
  2351. data/test/dummy/node_modules/labeled-stream-splicer/example/browser/foo.js +5 -0
  2352. data/test/dummy/node_modules/labeled-stream-splicer/example/browser/main.js +2 -0
  2353. data/test/dummy/node_modules/labeled-stream-splicer/example/browser/xyz.js +2 -0
  2354. data/test/dummy/node_modules/labeled-stream-splicer/example/bundle.js +16 -0
  2355. data/test/dummy/node_modules/labeled-stream-splicer/index.js +65 -0
  2356. data/test/dummy/node_modules/labeled-stream-splicer/package.json +90 -0
  2357. data/test/dummy/node_modules/labeled-stream-splicer/readme.markdown +124 -0
  2358. data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/bar.js +3 -0
  2359. data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/foo.js +5 -0
  2360. data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/main.js +2 -0
  2361. data/test/dummy/node_modules/labeled-stream-splicer/test/bundle/xyz.js +2 -0
  2362. data/test/dummy/node_modules/labeled-stream-splicer/test/bundle.js +27 -0
  2363. data/test/dummy/node_modules/lexical-scope/LICENSE +18 -0
  2364. data/test/dummy/node_modules/lexical-scope/bench/jquery.js +4 -0
  2365. data/test/dummy/node_modules/lexical-scope/bench/results.txt +15 -0
  2366. data/test/dummy/node_modules/lexical-scope/bench/run.js +7 -0
  2367. data/test/dummy/node_modules/lexical-scope/example/detect.js +6 -0
  2368. data/test/dummy/node_modules/lexical-scope/example/src.js +27 -0
  2369. data/test/dummy/node_modules/lexical-scope/index.js +194 -0
  2370. data/test/dummy/node_modules/lexical-scope/package.json +110 -0
  2371. data/test/dummy/node_modules/lexical-scope/readme.markdown +148 -0
  2372. data/test/dummy/node_modules/lexical-scope/test/argument.js +17 -0
  2373. data/test/dummy/node_modules/lexical-scope/test/assign_implicit.js +13 -0
  2374. data/test/dummy/node_modules/lexical-scope/test/detect.js +17 -0
  2375. data/test/dummy/node_modules/lexical-scope/test/files/argument.js +6 -0
  2376. data/test/dummy/node_modules/lexical-scope/test/files/assign_implicit.js +2 -0
  2377. data/test/dummy/node_modules/lexical-scope/test/files/buffer_call.js +1 -0
  2378. data/test/dummy/node_modules/lexical-scope/test/files/buffer_isbuffer.js +1 -0
  2379. data/test/dummy/node_modules/lexical-scope/test/files/buffer_var.js +1 -0
  2380. data/test/dummy/node_modules/lexical-scope/test/files/detect.js +32 -0
  2381. data/test/dummy/node_modules/lexical-scope/test/files/labels.js +11 -0
  2382. data/test/dummy/node_modules/lexical-scope/test/files/multiple-exports.js +6 -0
  2383. data/test/dummy/node_modules/lexical-scope/test/files/named_arg.js +6 -0
  2384. data/test/dummy/node_modules/lexical-scope/test/files/obj.js +1 -0
  2385. data/test/dummy/node_modules/lexical-scope/test/files/return_hash.js +5 -0
  2386. data/test/dummy/node_modules/lexical-scope/test/files/right_hand.js +2 -0
  2387. data/test/dummy/node_modules/lexical-scope/test/files/try_catch.js +7 -0
  2388. data/test/dummy/node_modules/lexical-scope/test/labels.js +13 -0
  2389. data/test/dummy/node_modules/lexical-scope/test/multiple-exports.js +18 -0
  2390. data/test/dummy/node_modules/lexical-scope/test/named_arg.js +17 -0
  2391. data/test/dummy/node_modules/lexical-scope/test/obj.js +16 -0
  2392. data/test/dummy/node_modules/lexical-scope/test/package.json +3 -0
  2393. data/test/dummy/node_modules/lexical-scope/test/props.js +41 -0
  2394. data/test/dummy/node_modules/lexical-scope/test/return_hash.js +13 -0
  2395. data/test/dummy/node_modules/lexical-scope/test/right_hand.js +16 -0
  2396. data/test/dummy/node_modules/lexical-scope/test/shebang.js +19 -0
  2397. data/test/dummy/node_modules/lexical-scope/test/try_catch.js +13 -0
  2398. data/test/dummy/node_modules/lodash.memoize/LICENSE.txt +22 -0
  2399. data/test/dummy/node_modules/lodash.memoize/README.md +20 -0
  2400. data/test/dummy/node_modules/lodash.memoize/index.js +167 -0
  2401. data/test/dummy/node_modules/lodash.memoize/package.json +121 -0
  2402. data/test/dummy/node_modules/micromatch/LICENSE +21 -0
  2403. data/test/dummy/node_modules/micromatch/README.md +616 -0
  2404. data/test/dummy/node_modules/micromatch/index.js +428 -0
  2405. data/test/dummy/node_modules/micromatch/lib/chars.js +67 -0
  2406. data/test/dummy/node_modules/micromatch/lib/expand.js +311 -0
  2407. data/test/dummy/node_modules/micromatch/lib/glob.js +193 -0
  2408. data/test/dummy/node_modules/micromatch/lib/utils.js +144 -0
  2409. data/test/dummy/node_modules/micromatch/package.json +164 -0
  2410. data/test/dummy/node_modules/miller-rabin/README.md +26 -0
  2411. data/test/dummy/node_modules/miller-rabin/bin/miller-rabin +29 -0
  2412. data/test/dummy/node_modules/miller-rabin/lib/mr.js +113 -0
  2413. data/test/dummy/node_modules/miller-rabin/package.json +89 -0
  2414. data/test/dummy/node_modules/miller-rabin/test/api-test.js +18 -0
  2415. data/test/dummy/node_modules/minimalistic-assert/index.js +11 -0
  2416. data/test/dummy/node_modules/minimalistic-assert/package.json +70 -0
  2417. data/test/dummy/node_modules/minimalistic-assert/readme.md +4 -0
  2418. data/test/dummy/node_modules/minimatch/LICENSE +15 -0
  2419. data/test/dummy/node_modules/minimatch/README.md +216 -0
  2420. data/test/dummy/node_modules/minimatch/minimatch.js +912 -0
  2421. data/test/dummy/node_modules/minimatch/package.json +85 -0
  2422. data/test/dummy/node_modules/minimist/LICENSE +18 -0
  2423. data/test/dummy/node_modules/minimist/example/parse.js +2 -0
  2424. data/test/dummy/node_modules/minimist/index.js +236 -0
  2425. data/test/dummy/node_modules/minimist/package.json +97 -0
  2426. data/test/dummy/node_modules/minimist/readme.markdown +91 -0
  2427. data/test/dummy/node_modules/minimist/test/all_bool.js +32 -0
  2428. data/test/dummy/node_modules/minimist/test/bool.js +166 -0
  2429. data/test/dummy/node_modules/minimist/test/dash.js +31 -0
  2430. data/test/dummy/node_modules/minimist/test/default_bool.js +35 -0
  2431. data/test/dummy/node_modules/minimist/test/dotted.js +22 -0
  2432. data/test/dummy/node_modules/minimist/test/kv_short.js +16 -0
  2433. data/test/dummy/node_modules/minimist/test/long.js +31 -0
  2434. data/test/dummy/node_modules/minimist/test/num.js +36 -0
  2435. data/test/dummy/node_modules/minimist/test/parse.js +197 -0
  2436. data/test/dummy/node_modules/minimist/test/parse_modified.js +9 -0
  2437. data/test/dummy/node_modules/minimist/test/short.js +67 -0
  2438. data/test/dummy/node_modules/minimist/test/stop_early.js +15 -0
  2439. data/test/dummy/node_modules/minimist/test/unknown.js +102 -0
  2440. data/test/dummy/node_modules/minimist/test/whitespace.js +8 -0
  2441. data/test/dummy/node_modules/module-deps/LICENSE +18 -0
  2442. data/test/dummy/node_modules/module-deps/bin/cmd.js +28 -0
  2443. data/test/dummy/node_modules/module-deps/bin/usage.txt +9 -0
  2444. data/test/dummy/node_modules/module-deps/example/deps.js +6 -0
  2445. data/test/dummy/node_modules/module-deps/example/files/bar.js +3 -0
  2446. data/test/dummy/node_modules/module-deps/example/files/foo.js +5 -0
  2447. data/test/dummy/node_modules/module-deps/example/files/main.js +2 -0
  2448. data/test/dummy/node_modules/module-deps/example/files/xyz.js +2 -0
  2449. data/test/dummy/node_modules/module-deps/index.js +562 -0
  2450. data/test/dummy/node_modules/module-deps/package.json +118 -0
  2451. data/test/dummy/node_modules/module-deps/readme.markdown +239 -0
  2452. data/test/dummy/node_modules/module-deps/test/bundle.js +23 -0
  2453. data/test/dummy/node_modules/module-deps/test/cache.js +50 -0
  2454. data/test/dummy/node_modules/module-deps/test/cache_expose.js +54 -0
  2455. data/test/dummy/node_modules/module-deps/test/cache_partial.js +47 -0
  2456. data/test/dummy/node_modules/module-deps/test/cache_partial_expose.js +104 -0
  2457. data/test/dummy/node_modules/module-deps/test/cycle/bar.js +3 -0
  2458. data/test/dummy/node_modules/module-deps/test/cycle/foo.js +4 -0
  2459. data/test/dummy/node_modules/module-deps/test/cycle/main.js +4 -0
  2460. data/test/dummy/node_modules/module-deps/test/cycle.js +19 -0
  2461. data/test/dummy/node_modules/module-deps/test/deps.js +49 -0
  2462. data/test/dummy/node_modules/module-deps/test/dotdot/abc/index.js +2 -0
  2463. data/test/dummy/node_modules/module-deps/test/dotdot/index.js +1 -0
  2464. data/test/dummy/node_modules/module-deps/test/dotdot.js +20 -0
  2465. data/test/dummy/node_modules/module-deps/test/expose/bar.js +1 -0
  2466. data/test/dummy/node_modules/module-deps/test/expose/foo.js +1 -0
  2467. data/test/dummy/node_modules/module-deps/test/expose/lib/abc.js +1 -0
  2468. data/test/dummy/node_modules/module-deps/test/expose/lib/xyz.js +2 -0
  2469. data/test/dummy/node_modules/module-deps/test/expose/main.js +3 -0
  2470. data/test/dummy/node_modules/module-deps/test/expose.js +41 -0
  2471. data/test/dummy/node_modules/module-deps/test/file_cache.js +58 -0
  2472. data/test/dummy/node_modules/module-deps/test/files/bar.js +3 -0
  2473. data/test/dummy/node_modules/module-deps/test/files/extra.js +1 -0
  2474. data/test/dummy/node_modules/module-deps/test/files/filterable.js +10 -0
  2475. data/test/dummy/node_modules/module-deps/test/files/foo.js +5 -0
  2476. data/test/dummy/node_modules/module-deps/test/files/main.js +2 -0
  2477. data/test/dummy/node_modules/module-deps/test/files/pkg_filter/one.js +1 -0
  2478. data/test/dummy/node_modules/module-deps/test/files/pkg_filter/package.json +3 -0
  2479. data/test/dummy/node_modules/module-deps/test/files/pkg_filter/test.js +1 -0
  2480. data/test/dummy/node_modules/module-deps/test/files/pkg_filter/two.js +1 -0
  2481. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/f.js +1 -0
  2482. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/main.js +7 -0
  2483. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/g/index.js +1 -0
  2484. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/g/node_modules/insert-ggg/index.js +8 -0
  2485. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/g/package.json +6 -0
  2486. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/insert-aaa/index.js +8 -0
  2487. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/insert-bbb/index.js +8 -0
  2488. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/m/index.js +3 -0
  2489. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/m/node_modules/insert-mmm/index.js +8 -0
  2490. data/test/dummy/node_modules/module-deps/test/files/tr_2dep_module/node_modules/m/package.json +6 -0
  2491. data/test/dummy/node_modules/module-deps/test/files/tr_global/main.js +1 -0
  2492. data/test/dummy/node_modules/module-deps/test/files/tr_global/package.json +5 -0
  2493. data/test/dummy/node_modules/module-deps/test/files/tr_module/f.js +1 -0
  2494. data/test/dummy/node_modules/module-deps/test/files/tr_module/index.js +8 -0
  2495. data/test/dummy/node_modules/module-deps/test/files/tr_module/main.js +8 -0
  2496. data/test/dummy/node_modules/module-deps/test/files/tr_module/package.json +5 -0
  2497. data/test/dummy/node_modules/module-deps/test/files/tr_module/xxx.js +8 -0
  2498. data/test/dummy/node_modules/module-deps/test/files/tr_no_entry/main.js +1 -0
  2499. data/test/dummy/node_modules/module-deps/test/files/tr_rel/package.json +5 -0
  2500. data/test/dummy/node_modules/module-deps/test/files/tr_rel/subdir/main.js +1 -0
  2501. data/test/dummy/node_modules/module-deps/test/files/tr_rel/xxx.js +8 -0
  2502. data/test/dummy/node_modules/module-deps/test/files/tr_sh/f.js +1 -0
  2503. data/test/dummy/node_modules/module-deps/test/files/tr_sh/main.js +7 -0
  2504. data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/g/index.js +1 -0
  2505. data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/g/package.json +6 -0
  2506. data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/g/tr_g.js +7 -0
  2507. data/test/dummy/node_modules/module-deps/test/files/tr_sh/node_modules/m/index.js +3 -0
  2508. data/test/dummy/node_modules/module-deps/test/files/tr_sh/tr_a.js +7 -0
  2509. data/test/dummy/node_modules/module-deps/test/files/tr_sh/tr_b.js +7 -0
  2510. data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/f.js +3 -0
  2511. data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/main.js +3 -0
  2512. data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/index.js +3 -0
  2513. data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/lib/decrement.js +1 -0
  2514. data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/node_modules/insert-ggg/index.js +8 -0
  2515. data/test/dummy/node_modules/module-deps/test/files/tr_whole_package/node_modules/algo/package.json +6 -0
  2516. data/test/dummy/node_modules/module-deps/test/files/unicode/bar.js +3 -0
  2517. data/test/dummy/node_modules/module-deps/test/files/unicode/foo.js +5 -0
  2518. data/test/dummy/node_modules/module-deps/test/files/unicode/main.js +2 -0
  2519. data/test/dummy/node_modules/module-deps/test/files/xyz.js +2 -0
  2520. data/test/dummy/node_modules/module-deps/test/filter.js +36 -0
  2521. data/test/dummy/node_modules/module-deps/test/ignore_missing/main.js +1 -0
  2522. data/test/dummy/node_modules/module-deps/test/ignore_missing/other.js +1 -0
  2523. data/test/dummy/node_modules/module-deps/test/ignore_missing.js +60 -0
  2524. data/test/dummy/node_modules/module-deps/test/ignore_missing_cache.js +52 -0
  2525. data/test/dummy/node_modules/module-deps/test/node_modules/insert-www/index.js +8 -0
  2526. data/test/dummy/node_modules/module-deps/test/noparse.js +43 -0
  2527. data/test/dummy/node_modules/module-deps/test/noparse_row.js +39 -0
  2528. data/test/dummy/node_modules/module-deps/test/pkg/main.js +2 -0
  2529. data/test/dummy/node_modules/module-deps/test/pkg/package.json +4 -0
  2530. data/test/dummy/node_modules/module-deps/test/pkg.js +20 -0
  2531. data/test/dummy/node_modules/module-deps/test/pkg_filter.js +26 -0
  2532. data/test/dummy/node_modules/module-deps/test/row_expose.js +24 -0
  2533. data/test/dummy/node_modules/module-deps/test/row_expose_name_is_file_transform.js +32 -0
  2534. data/test/dummy/node_modules/module-deps/test/row_expose_transform.js +31 -0
  2535. data/test/dummy/node_modules/module-deps/test/source.js +61 -0
  2536. data/test/dummy/node_modules/module-deps/test/tr_2dep_module.js +23 -0
  2537. data/test/dummy/node_modules/module-deps/test/tr_err.js +21 -0
  2538. data/test/dummy/node_modules/module-deps/test/tr_fn.js +32 -0
  2539. data/test/dummy/node_modules/module-deps/test/tr_global.js +29 -0
  2540. data/test/dummy/node_modules/module-deps/test/tr_module.js +23 -0
  2541. data/test/dummy/node_modules/module-deps/test/tr_no_entry.js +31 -0
  2542. data/test/dummy/node_modules/module-deps/test/tr_opts/main.js +1 -0
  2543. data/test/dummy/node_modules/module-deps/test/tr_opts/package.json +6 -0
  2544. data/test/dummy/node_modules/module-deps/test/tr_opts.js +21 -0
  2545. data/test/dummy/node_modules/module-deps/test/tr_rel.js +24 -0
  2546. data/test/dummy/node_modules/module-deps/test/tr_sh.js +23 -0
  2547. data/test/dummy/node_modules/module-deps/test/tr_whole_package.js +22 -0
  2548. data/test/dummy/node_modules/module-deps/test/tr_write/main.js +1 -0
  2549. data/test/dummy/node_modules/module-deps/test/tr_write.js +32 -0
  2550. data/test/dummy/node_modules/module-deps/test/undef_file.js +49 -0
  2551. data/test/dummy/node_modules/module-deps/test/unicode.js +49 -0
  2552. data/test/dummy/node_modules/nan/CHANGELOG.md +396 -0
  2553. data/test/dummy/node_modules/nan/LICENSE.md +13 -0
  2554. data/test/dummy/node_modules/nan/appveyor.yml +38 -0
  2555. data/test/dummy/node_modules/nan/doc/asyncworker.md +97 -0
  2556. data/test/dummy/node_modules/nan/doc/buffers.md +54 -0
  2557. data/test/dummy/node_modules/nan/doc/callback.md +52 -0
  2558. data/test/dummy/node_modules/nan/doc/converters.md +41 -0
  2559. data/test/dummy/node_modules/nan/doc/errors.md +226 -0
  2560. data/test/dummy/node_modules/nan/doc/maybe_types.md +512 -0
  2561. data/test/dummy/node_modules/nan/doc/methods.md +656 -0
  2562. data/test/dummy/node_modules/nan/doc/new.md +147 -0
  2563. data/test/dummy/node_modules/nan/doc/node_misc.md +63 -0
  2564. data/test/dummy/node_modules/nan/doc/object_wrappers.md +263 -0
  2565. data/test/dummy/node_modules/nan/doc/persistent.md +295 -0
  2566. data/test/dummy/node_modules/nan/doc/scopes.md +73 -0
  2567. data/test/dummy/node_modules/nan/doc/script.md +38 -0
  2568. data/test/dummy/node_modules/nan/doc/string_bytes.md +62 -0
  2569. data/test/dummy/node_modules/nan/doc/v8_internals.md +199 -0
  2570. data/test/dummy/node_modules/nan/doc/v8_misc.md +85 -0
  2571. data/test/dummy/node_modules/nan/include_dirs.js +1 -0
  2572. data/test/dummy/node_modules/nan/nan.h +2237 -0
  2573. data/test/dummy/node_modules/nan/nan_callbacks.h +88 -0
  2574. data/test/dummy/node_modules/nan/nan_callbacks_12_inl.h +512 -0
  2575. data/test/dummy/node_modules/nan/nan_callbacks_pre_12_inl.h +506 -0
  2576. data/test/dummy/node_modules/nan/nan_converters.h +64 -0
  2577. data/test/dummy/node_modules/nan/nan_converters_43_inl.h +42 -0
  2578. data/test/dummy/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
  2579. data/test/dummy/node_modules/nan/nan_implementation_12_inl.h +404 -0
  2580. data/test/dummy/node_modules/nan/nan_implementation_pre_12_inl.h +264 -0
  2581. data/test/dummy/node_modules/nan/nan_maybe_43_inl.h +231 -0
  2582. data/test/dummy/node_modules/nan/nan_maybe_pre_43_inl.h +303 -0
  2583. data/test/dummy/node_modules/nan/nan_new.h +340 -0
  2584. data/test/dummy/node_modules/nan/nan_object_wrap.h +155 -0
  2585. data/test/dummy/node_modules/nan/nan_persistent_12_inl.h +129 -0
  2586. data/test/dummy/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
  2587. data/test/dummy/node_modules/nan/nan_string_bytes.h +305 -0
  2588. data/test/dummy/node_modules/nan/nan_typedarray_contents.h +87 -0
  2589. data/test/dummy/node_modules/nan/nan_weak.h +422 -0
  2590. data/test/dummy/node_modules/nan/package.json +121 -0
  2591. data/test/dummy/node_modules/nan/tools/1to2.js +412 -0
  2592. data/test/dummy/node_modules/nan/tools/README.md +14 -0
  2593. data/test/dummy/node_modules/nan/tools/package.json +19 -0
  2594. data/test/dummy/node_modules/normalize-path/LICENSE +21 -0
  2595. data/test/dummy/node_modules/normalize-path/README.md +75 -0
  2596. data/test/dummy/node_modules/normalize-path/index.js +17 -0
  2597. data/test/dummy/node_modules/normalize-path/package.json +118 -0
  2598. data/test/dummy/node_modules/object-keys/CHANGELOG.md +203 -0
  2599. data/test/dummy/node_modules/object-keys/LICENSE +21 -0
  2600. data/test/dummy/node_modules/object-keys/README.md +76 -0
  2601. data/test/dummy/node_modules/object-keys/index.js +128 -0
  2602. data/test/dummy/node_modules/object-keys/isArguments.js +17 -0
  2603. data/test/dummy/node_modules/object-keys/package.json +141 -0
  2604. data/test/dummy/node_modules/object-keys/test/index.js +5 -0
  2605. data/test/dummy/node_modules/object.omit/LICENSE +21 -0
  2606. data/test/dummy/node_modules/object.omit/README.md +104 -0
  2607. data/test/dummy/node_modules/object.omit/index.js +40 -0
  2608. data/test/dummy/node_modules/object.omit/package.json +105 -0
  2609. data/test/dummy/node_modules/once/LICENSE +15 -0
  2610. data/test/dummy/node_modules/once/README.md +51 -0
  2611. data/test/dummy/node_modules/once/once.js +21 -0
  2612. data/test/dummy/node_modules/once/package.json +89 -0
  2613. data/test/dummy/node_modules/os-browserify/LICENSE +21 -0
  2614. data/test/dummy/node_modules/os-browserify/README.md +2 -0
  2615. data/test/dummy/node_modules/os-browserify/browser.js +45 -0
  2616. data/test/dummy/node_modules/os-browserify/main.js +1 -0
  2617. data/test/dummy/node_modules/os-browserify/package.json +67 -0
  2618. data/test/dummy/node_modules/outpipe/LICENSE +18 -0
  2619. data/test/dummy/node_modules/outpipe/bin/echo.js +2 -0
  2620. data/test/dummy/node_modules/outpipe/example/input/x.js +4 -0
  2621. data/test/dummy/node_modules/outpipe/example/input/y.js +5 -0
  2622. data/test/dummy/node_modules/outpipe/example/input/z.js +2 -0
  2623. data/test/dummy/node_modules/outpipe/example/watch.js +19 -0
  2624. data/test/dummy/node_modules/outpipe/index.js +34 -0
  2625. data/test/dummy/node_modules/outpipe/package.json +91 -0
  2626. data/test/dummy/node_modules/outpipe/readme.markdown +117 -0
  2627. data/test/dummy/node_modules/outpipe/test/cmd.js +19 -0
  2628. data/test/dummy/node_modules/outpipe/test/outfile.js +19 -0
  2629. data/test/dummy/node_modules/pako/Gruntfile.js +82 -0
  2630. data/test/dummy/node_modules/pako/HISTORY.md +69 -0
  2631. data/test/dummy/node_modules/pako/LICENSE +21 -0
  2632. data/test/dummy/node_modules/pako/README.md +175 -0
  2633. data/test/dummy/node_modules/pako/bower.json +23 -0
  2634. data/test/dummy/node_modules/pako/dist/pako.js +6433 -0
  2635. data/test/dummy/node_modules/pako/dist/pako.min.js +3 -0
  2636. data/test/dummy/node_modules/pako/dist/pako_deflate.js +3762 -0
  2637. data/test/dummy/node_modules/pako/dist/pako_deflate.min.js +2 -0
  2638. data/test/dummy/node_modules/pako/dist/pako_inflate.js +3071 -0
  2639. data/test/dummy/node_modules/pako/dist/pako_inflate.min.js +2 -0
  2640. data/test/dummy/node_modules/pako/doc/index.html +1639 -0
  2641. data/test/dummy/node_modules/pako/index.js +14 -0
  2642. data/test/dummy/node_modules/pako/lib/deflate.js +376 -0
  2643. data/test/dummy/node_modules/pako/lib/inflate.js +400 -0
  2644. data/test/dummy/node_modules/pako/lib/utils/common.js +102 -0
  2645. data/test/dummy/node_modules/pako/lib/utils/strings.js +185 -0
  2646. data/test/dummy/node_modules/pako/lib/zlib/adler32.js +32 -0
  2647. data/test/dummy/node_modules/pako/lib/zlib/constants.js +47 -0
  2648. data/test/dummy/node_modules/pako/lib/zlib/crc32.js +41 -0
  2649. data/test/dummy/node_modules/pako/lib/zlib/deflate.js +1765 -0
  2650. data/test/dummy/node_modules/pako/lib/zlib/gzheader.js +40 -0
  2651. data/test/dummy/node_modules/pako/lib/zlib/inffast.js +326 -0
  2652. data/test/dummy/node_modules/pako/lib/zlib/inflate.js +1503 -0
  2653. data/test/dummy/node_modules/pako/lib/zlib/inftrees.js +327 -0
  2654. data/test/dummy/node_modules/pako/lib/zlib/messages.js +13 -0
  2655. data/test/dummy/node_modules/pako/lib/zlib/trees.js +1199 -0
  2656. data/test/dummy/node_modules/pako/lib/zlib/zstream.js +29 -0
  2657. data/test/dummy/node_modules/pako/package.json +101 -0
  2658. data/test/dummy/node_modules/parents/LICENSE +18 -0
  2659. data/test/dummy/node_modules/parents/example/dirname.js +3 -0
  2660. data/test/dummy/node_modules/parents/example/win32.js +5 -0
  2661. data/test/dummy/node_modules/parents/index.js +48 -0
  2662. data/test/dummy/node_modules/parents/package.json +91 -0
  2663. data/test/dummy/node_modules/parents/readme.markdown +75 -0
  2664. data/test/dummy/node_modules/parents/test/dirname.js +20 -0
  2665. data/test/dummy/node_modules/parents/test/win32.js +34 -0
  2666. data/test/dummy/node_modules/parse-asn1/README.md +8 -0
  2667. data/test/dummy/node_modules/parse-asn1/aesid.json +13 -0
  2668. data/test/dummy/node_modules/parse-asn1/asn1.js +117 -0
  2669. data/test/dummy/node_modules/parse-asn1/fixProc.js +30 -0
  2670. data/test/dummy/node_modules/parse-asn1/index.js +101 -0
  2671. data/test/dummy/node_modules/parse-asn1/package.json +97 -0
  2672. data/test/dummy/node_modules/parse-asn1/test/1024.priv +16 -0
  2673. data/test/dummy/node_modules/parse-asn1/test/1024.pub +6 -0
  2674. data/test/dummy/node_modules/parse-asn1/test/dsa.1024.priv +18 -0
  2675. data/test/dummy/node_modules/parse-asn1/test/dsa.1024.pub +12 -0
  2676. data/test/dummy/node_modules/parse-asn1/test/dsa.2048.priv +20 -0
  2677. data/test/dummy/node_modules/parse-asn1/test/dsa.2048.pub +20 -0
  2678. data/test/dummy/node_modules/parse-asn1/test/ec.pass.priv +7 -0
  2679. data/test/dummy/node_modules/parse-asn1/test/ec.priv +5 -0
  2680. data/test/dummy/node_modules/parse-asn1/test/ec.pub +4 -0
  2681. data/test/dummy/node_modules/parse-asn1/test/index.js +92 -0
  2682. data/test/dummy/node_modules/parse-asn1/test/pass.1024.priv +18 -0
  2683. data/test/dummy/node_modules/parse-asn1/test/pass.1024.pub +6 -0
  2684. data/test/dummy/node_modules/parse-asn1/test/pass.dsa.1024.priv +11 -0
  2685. data/test/dummy/node_modules/parse-asn1/test/pass.dsa.1024.pub +12 -0
  2686. data/test/dummy/node_modules/parse-asn1/test/pass.rsa.1024.priv +18 -0
  2687. data/test/dummy/node_modules/parse-asn1/test/pass.rsa.1024.pub +6 -0
  2688. data/test/dummy/node_modules/parse-asn1/test/pass.rsa.2028.priv +30 -0
  2689. data/test/dummy/node_modules/parse-asn1/test/pass.rsa.2028.pub +9 -0
  2690. data/test/dummy/node_modules/parse-asn1/test/pass2.dsa.1024.priv +15 -0
  2691. data/test/dummy/node_modules/parse-asn1/test/pass2.dsa.1024.pub +12 -0
  2692. data/test/dummy/node_modules/parse-asn1/test/rsa.1024.priv +15 -0
  2693. data/test/dummy/node_modules/parse-asn1/test/rsa.1024.pub +5 -0
  2694. data/test/dummy/node_modules/parse-asn1/test/rsa.2028.priv +27 -0
  2695. data/test/dummy/node_modules/parse-asn1/test/rsa.2028.pub +8 -0
  2696. data/test/dummy/node_modules/parse-asn1/test/vector.js +7 -0
  2697. data/test/dummy/node_modules/parse-asn1/test/vector.priv +12 -0
  2698. data/test/dummy/node_modules/parse-asn1/test/vector2.priv +19 -0
  2699. data/test/dummy/node_modules/parse-glob/LICENSE +21 -0
  2700. data/test/dummy/node_modules/parse-glob/README.md +115 -0
  2701. data/test/dummy/node_modules/parse-glob/index.js +156 -0
  2702. data/test/dummy/node_modules/parse-glob/package.json +116 -0
  2703. data/test/dummy/node_modules/path-browserify/LICENSE +18 -0
  2704. data/test/dummy/node_modules/path-browserify/index.js +224 -0
  2705. data/test/dummy/node_modules/path-browserify/package.json +78 -0
  2706. data/test/dummy/node_modules/path-browserify/readme.markdown +3 -0
  2707. data/test/dummy/node_modules/path-is-absolute/index.js +20 -0
  2708. data/test/dummy/node_modules/path-is-absolute/license +21 -0
  2709. data/test/dummy/node_modules/path-is-absolute/package.json +98 -0
  2710. data/test/dummy/node_modules/path-is-absolute/readme.md +51 -0
  2711. data/test/dummy/node_modules/path-platform/LICENSE +3 -0
  2712. data/test/dummy/node_modules/path-platform/README.md +5 -0
  2713. data/test/dummy/node_modules/path-platform/package.json +79 -0
  2714. data/test/dummy/node_modules/path-platform/path.js +643 -0
  2715. data/test/dummy/node_modules/pbkdf2/LICENSE +21 -0
  2716. data/test/dummy/node_modules/pbkdf2/README.md +24 -0
  2717. data/test/dummy/node_modules/pbkdf2/async-shim.js +19 -0
  2718. data/test/dummy/node_modules/pbkdf2/browser.js +80 -0
  2719. data/test/dummy/node_modules/pbkdf2/index.js +92 -0
  2720. data/test/dummy/node_modules/pbkdf2/package.json +116 -0
  2721. data/test/dummy/node_modules/pbkdf2/test/fixtures.json +171 -0
  2722. data/test/dummy/node_modules/pbkdf2/test/index.html +13 -0
  2723. data/test/dummy/node_modules/pbkdf2/test/index.js +93 -0
  2724. data/test/dummy/node_modules/preserve/LICENSE +24 -0
  2725. data/test/dummy/node_modules/preserve/README.md +90 -0
  2726. data/test/dummy/node_modules/preserve/index.js +54 -0
  2727. data/test/dummy/node_modules/preserve/package.json +96 -0
  2728. data/test/dummy/node_modules/preserve/test.js +48 -0
  2729. data/test/dummy/node_modules/private/LICENSE +20 -0
  2730. data/test/dummy/node_modules/private/README.md +246 -0
  2731. data/test/dummy/node_modules/private/package.json +85 -0
  2732. data/test/dummy/node_modules/private/private.js +129 -0
  2733. data/test/dummy/node_modules/private/test/run.js +68 -0
  2734. data/test/dummy/node_modules/process/LICENSE +22 -0
  2735. data/test/dummy/node_modules/process/README.md +26 -0
  2736. data/test/dummy/node_modules/process/browser.js +91 -0
  2737. data/test/dummy/node_modules/process/index.js +2 -0
  2738. data/test/dummy/node_modules/process/package.json +87 -0
  2739. data/test/dummy/node_modules/process/test.js +66 -0
  2740. data/test/dummy/node_modules/process-nextick-args/index.js +20 -0
  2741. data/test/dummy/node_modules/process-nextick-args/license.md +19 -0
  2742. data/test/dummy/node_modules/process-nextick-args/package.json +73 -0
  2743. data/test/dummy/node_modules/process-nextick-args/readme.md +18 -0
  2744. data/test/dummy/node_modules/process-nextick-args/test.js +24 -0
  2745. data/test/dummy/node_modules/public-encrypt/browser.js +10 -0
  2746. data/test/dummy/node_modules/public-encrypt/index.js +18 -0
  2747. data/test/dummy/node_modules/public-encrypt/mgf.js +16 -0
  2748. data/test/dummy/node_modules/public-encrypt/package.json +97 -0
  2749. data/test/dummy/node_modules/public-encrypt/privateDecrypt.js +108 -0
  2750. data/test/dummy/node_modules/public-encrypt/publicEncrypt.js +95 -0
  2751. data/test/dummy/node_modules/public-encrypt/readme.md +6 -0
  2752. data/test/dummy/node_modules/public-encrypt/test/1024.priv +16 -0
  2753. data/test/dummy/node_modules/public-encrypt/test/1024.pub +6 -0
  2754. data/test/dummy/node_modules/public-encrypt/test/ec.pass.priv +7 -0
  2755. data/test/dummy/node_modules/public-encrypt/test/ec.priv +5 -0
  2756. data/test/dummy/node_modules/public-encrypt/test/ec.pub +4 -0
  2757. data/test/dummy/node_modules/public-encrypt/test/index.js +117 -0
  2758. data/test/dummy/node_modules/public-encrypt/test/nodeTests.js +51 -0
  2759. data/test/dummy/node_modules/public-encrypt/test/pass.1024.priv +18 -0
  2760. data/test/dummy/node_modules/public-encrypt/test/pass.1024.pub +6 -0
  2761. data/test/dummy/node_modules/public-encrypt/test/rsa.1024.priv +15 -0
  2762. data/test/dummy/node_modules/public-encrypt/test/rsa.1024.pub +5 -0
  2763. data/test/dummy/node_modules/public-encrypt/test/rsa.2028.priv +27 -0
  2764. data/test/dummy/node_modules/public-encrypt/test/rsa.2028.pub +8 -0
  2765. data/test/dummy/node_modules/public-encrypt/test/rsa.pass.priv +30 -0
  2766. data/test/dummy/node_modules/public-encrypt/test/rsa.pass.pub +9 -0
  2767. data/test/dummy/node_modules/public-encrypt/test/test_cert.pem +20 -0
  2768. data/test/dummy/node_modules/public-encrypt/test/test_key.pem +15 -0
  2769. data/test/dummy/node_modules/public-encrypt/test/test_rsa_privkey.pem +15 -0
  2770. data/test/dummy/node_modules/public-encrypt/test/test_rsa_privkey_encrypted.pem +18 -0
  2771. data/test/dummy/node_modules/public-encrypt/test/test_rsa_pubkey.pem +6 -0
  2772. data/test/dummy/node_modules/public-encrypt/withPublic.js +10 -0
  2773. data/test/dummy/node_modules/public-encrypt/xor.js +8 -0
  2774. data/test/dummy/node_modules/punycode/LICENSE-MIT.txt +20 -0
  2775. data/test/dummy/node_modules/punycode/README.md +176 -0
  2776. data/test/dummy/node_modules/punycode/package.json +119 -0
  2777. data/test/dummy/node_modules/punycode/punycode.js +533 -0
  2778. data/test/dummy/node_modules/querystring/History.md +20 -0
  2779. data/test/dummy/node_modules/querystring/License.md +19 -0
  2780. data/test/dummy/node_modules/querystring/Readme.md +15 -0
  2781. data/test/dummy/node_modules/querystring/decode.js +80 -0
  2782. data/test/dummy/node_modules/querystring/encode.js +64 -0
  2783. data/test/dummy/node_modules/querystring/index.js +4 -0
  2784. data/test/dummy/node_modules/querystring/package.json +122 -0
  2785. data/test/dummy/node_modules/querystring/test/common-index.js +3 -0
  2786. data/test/dummy/node_modules/querystring/test/index.js +210 -0
  2787. data/test/dummy/node_modules/querystring/test/tap-index.js +3 -0
  2788. data/test/dummy/node_modules/querystring-es3/History.md +20 -0
  2789. data/test/dummy/node_modules/querystring-es3/License.md +19 -0
  2790. data/test/dummy/node_modules/querystring-es3/Readme.md +15 -0
  2791. data/test/dummy/node_modules/querystring-es3/decode.js +84 -0
  2792. data/test/dummy/node_modules/querystring-es3/encode.js +85 -0
  2793. data/test/dummy/node_modules/querystring-es3/index.js +4 -0
  2794. data/test/dummy/node_modules/querystring-es3/package.json +124 -0
  2795. data/test/dummy/node_modules/querystring-es3/test/common-index.js +3 -0
  2796. data/test/dummy/node_modules/querystring-es3/test/index.js +210 -0
  2797. data/test/dummy/node_modules/querystring-es3/test/tap-index.js +3 -0
  2798. data/test/dummy/node_modules/randomatic/LICENSE +21 -0
  2799. data/test/dummy/node_modules/randomatic/README.md +132 -0
  2800. data/test/dummy/node_modules/randomatic/index.js +83 -0
  2801. data/test/dummy/node_modules/randomatic/package.json +108 -0
  2802. data/test/dummy/node_modules/randombytes/README.md +14 -0
  2803. data/test/dummy/node_modules/randombytes/browser.js +36 -0
  2804. data/test/dummy/node_modules/randombytes/index.js +1 -0
  2805. data/test/dummy/node_modules/randombytes/package.json +105 -0
  2806. data/test/dummy/node_modules/randombytes/test.js +56 -0
  2807. data/test/dummy/node_modules/read-only-stream/LICENSE +18 -0
  2808. data/test/dummy/node_modules/read-only-stream/example/main.js +3 -0
  2809. data/test/dummy/node_modules/read-only-stream/example/wrap.js +8 -0
  2810. data/test/dummy/node_modules/read-only-stream/index.js +30 -0
  2811. data/test/dummy/node_modules/read-only-stream/package.json +86 -0
  2812. data/test/dummy/node_modules/read-only-stream/readme.markdown +60 -0
  2813. data/test/dummy/node_modules/read-only-stream/test/error.js +15 -0
  2814. data/test/dummy/node_modules/read-only-stream/test/ro.js +22 -0
  2815. data/test/dummy/node_modules/read-only-stream/test/streams1.js +21 -0
  2816. data/test/dummy/node_modules/readable-stream/LICENSE +18 -0
  2817. data/test/dummy/node_modules/readable-stream/README.md +36 -0
  2818. data/test/dummy/node_modules/readable-stream/doc/stream.markdown +1761 -0
  2819. data/test/dummy/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  2820. data/test/dummy/node_modules/readable-stream/duplex.js +1 -0
  2821. data/test/dummy/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
  2822. data/test/dummy/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
  2823. data/test/dummy/node_modules/readable-stream/lib/_stream_readable.js +880 -0
  2824. data/test/dummy/node_modules/readable-stream/lib/_stream_transform.js +180 -0
  2825. data/test/dummy/node_modules/readable-stream/lib/_stream_writable.js +516 -0
  2826. data/test/dummy/node_modules/readable-stream/node_modules/isarray/Makefile +6 -0
  2827. data/test/dummy/node_modules/readable-stream/node_modules/isarray/README.md +60 -0
  2828. data/test/dummy/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
  2829. data/test/dummy/node_modules/readable-stream/node_modules/isarray/index.js +5 -0
  2830. data/test/dummy/node_modules/readable-stream/node_modules/isarray/package.json +96 -0
  2831. data/test/dummy/node_modules/readable-stream/node_modules/isarray/test.js +20 -0
  2832. data/test/dummy/node_modules/readable-stream/package.json +129 -0
  2833. data/test/dummy/node_modules/readable-stream/passthrough.js +1 -0
  2834. data/test/dummy/node_modules/readable-stream/readable.js +18 -0
  2835. data/test/dummy/node_modules/readable-stream/transform.js +1 -0
  2836. data/test/dummy/node_modules/readable-stream/writable.js +1 -0
  2837. data/test/dummy/node_modules/readdirp/LICENSE +18 -0
  2838. data/test/dummy/node_modules/readdirp/README.md +233 -0
  2839. data/test/dummy/node_modules/readdirp/examples/Readme.md +37 -0
  2840. data/test/dummy/node_modules/readdirp/examples/callback-api.js +10 -0
  2841. data/test/dummy/node_modules/readdirp/examples/grep.js +71 -0
  2842. data/test/dummy/node_modules/readdirp/examples/package.json +9 -0
  2843. data/test/dummy/node_modules/readdirp/examples/stream-api-pipe.js +19 -0
  2844. data/test/dummy/node_modules/readdirp/examples/stream-api.js +15 -0
  2845. data/test/dummy/node_modules/readdirp/node_modules/minimatch/LICENSE +15 -0
  2846. data/test/dummy/node_modules/readdirp/node_modules/minimatch/README.md +216 -0
  2847. data/test/dummy/node_modules/readdirp/node_modules/minimatch/browser.js +1159 -0
  2848. data/test/dummy/node_modules/readdirp/node_modules/minimatch/minimatch.js +912 -0
  2849. data/test/dummy/node_modules/readdirp/node_modules/minimatch/package.json +88 -0
  2850. data/test/dummy/node_modules/readdirp/package.json +101 -0
  2851. data/test/dummy/node_modules/readdirp/readdirp.js +288 -0
  2852. data/test/dummy/node_modules/readdirp/stream-api.js +100 -0
  2853. data/test/dummy/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1 +0 -0
  2854. data/test/dummy/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2 +0 -0
  2855. data/test/dummy/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3 +0 -0
  2856. data/test/dummy/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1 +0 -0
  2857. data/test/dummy/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1 +0 -0
  2858. data/test/dummy/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2 +0 -0
  2859. data/test/dummy/node_modules/readdirp/test/bed/root_file1.ext1 +0 -0
  2860. data/test/dummy/node_modules/readdirp/test/bed/root_file2.ext2 +0 -0
  2861. data/test/dummy/node_modules/readdirp/test/bed/root_file3.ext3 +0 -0
  2862. data/test/dummy/node_modules/readdirp/test/readdirp-stream.js +310 -0
  2863. data/test/dummy/node_modules/readdirp/test/readdirp.js +289 -0
  2864. data/test/dummy/node_modules/recast/LICENSE +20 -0
  2865. data/test/dummy/node_modules/recast/README.md +143 -0
  2866. data/test/dummy/node_modules/recast/example/add-braces +44 -0
  2867. data/test/dummy/node_modules/recast/example/generic-identity +17 -0
  2868. data/test/dummy/node_modules/recast/example/identity +8 -0
  2869. data/test/dummy/node_modules/recast/example/to-while +84 -0
  2870. data/test/dummy/node_modules/recast/lib/comments.js +351 -0
  2871. data/test/dummy/node_modules/recast/lib/fast-path.js +477 -0
  2872. data/test/dummy/node_modules/recast/lib/lines.js +878 -0
  2873. data/test/dummy/node_modules/recast/lib/mapping.js +277 -0
  2874. data/test/dummy/node_modules/recast/lib/options.js +95 -0
  2875. data/test/dummy/node_modules/recast/lib/parser.js +152 -0
  2876. data/test/dummy/node_modules/recast/lib/patcher.js +515 -0
  2877. data/test/dummy/node_modules/recast/lib/printer.js +1802 -0
  2878. data/test/dummy/node_modules/recast/lib/types.js +5 -0
  2879. data/test/dummy/node_modules/recast/lib/util.js +283 -0
  2880. data/test/dummy/node_modules/recast/main.js +99 -0
  2881. data/test/dummy/node_modules/recast/package.json +102 -0
  2882. data/test/dummy/node_modules/regex-cache/LICENSE +21 -0
  2883. data/test/dummy/node_modules/regex-cache/README.md +160 -0
  2884. data/test/dummy/node_modules/regex-cache/index.js +69 -0
  2885. data/test/dummy/node_modules/regex-cache/package.json +123 -0
  2886. data/test/dummy/node_modules/repeat-element/LICENSE +21 -0
  2887. data/test/dummy/node_modules/repeat-element/README.md +71 -0
  2888. data/test/dummy/node_modules/repeat-element/index.js +18 -0
  2889. data/test/dummy/node_modules/repeat-element/package.json +94 -0
  2890. data/test/dummy/node_modules/repeat-string/LICENSE +21 -0
  2891. data/test/dummy/node_modules/repeat-string/README.md +118 -0
  2892. data/test/dummy/node_modules/repeat-string/index.js +68 -0
  2893. data/test/dummy/node_modules/repeat-string/package.json +129 -0
  2894. data/test/dummy/node_modules/resolve/LICENSE +18 -0
  2895. data/test/dummy/node_modules/resolve/example/async.js +5 -0
  2896. data/test/dummy/node_modules/resolve/example/sync.js +3 -0
  2897. data/test/dummy/node_modules/resolve/index.js +5 -0
  2898. data/test/dummy/node_modules/resolve/lib/async.js +192 -0
  2899. data/test/dummy/node_modules/resolve/lib/caller.js +8 -0
  2900. data/test/dummy/node_modules/resolve/lib/core.js +4 -0
  2901. data/test/dummy/node_modules/resolve/lib/core.json +38 -0
  2902. data/test/dummy/node_modules/resolve/lib/node-modules-paths.js +38 -0
  2903. data/test/dummy/node_modules/resolve/lib/sync.js +81 -0
  2904. data/test/dummy/node_modules/resolve/package.json +84 -0
  2905. data/test/dummy/node_modules/resolve/readme.markdown +148 -0
  2906. data/test/dummy/node_modules/resolve/test/core.js +12 -0
  2907. data/test/dummy/node_modules/resolve/test/dotdot/abc/index.js +2 -0
  2908. data/test/dummy/node_modules/resolve/test/dotdot/index.js +1 -0
  2909. data/test/dummy/node_modules/resolve/test/dotdot.js +29 -0
  2910. data/test/dummy/node_modules/resolve/test/faulty_basedir.js +17 -0
  2911. data/test/dummy/node_modules/resolve/test/filter.js +18 -0
  2912. data/test/dummy/node_modules/resolve/test/filter_sync.js +15 -0
  2913. data/test/dummy/node_modules/resolve/test/mock.js +142 -0
  2914. data/test/dummy/node_modules/resolve/test/mock_sync.js +68 -0
  2915. data/test/dummy/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
  2916. data/test/dummy/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
  2917. data/test/dummy/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
  2918. data/test/dummy/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
  2919. data/test/dummy/node_modules/resolve/test/module_dir.js +56 -0
  2920. data/test/dummy/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
  2921. data/test/dummy/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
  2922. data/test/dummy/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
  2923. data/test/dummy/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
  2924. data/test/dummy/node_modules/resolve/test/node_path.js +48 -0
  2925. data/test/dummy/node_modules/resolve/test/nonstring.js +9 -0
  2926. data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  2927. data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/alt.js +0 -0
  2928. data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/deeper/ref.js +0 -0
  2929. data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/package.json +4 -0
  2930. data/test/dummy/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/ref.js +0 -0
  2931. data/test/dummy/node_modules/resolve/test/pathfilter.js +35 -0
  2932. data/test/dummy/node_modules/resolve/test/precedence/aaa/index.js +1 -0
  2933. data/test/dummy/node_modules/resolve/test/precedence/aaa/main.js +1 -0
  2934. data/test/dummy/node_modules/resolve/test/precedence/aaa.js +1 -0
  2935. data/test/dummy/node_modules/resolve/test/precedence/bbb/main.js +1 -0
  2936. data/test/dummy/node_modules/resolve/test/precedence/bbb.js +1 -0
  2937. data/test/dummy/node_modules/resolve/test/precedence.js +23 -0
  2938. data/test/dummy/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
  2939. data/test/dummy/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  2940. data/test/dummy/node_modules/resolve/test/resolver/baz/package.json +3 -0
  2941. data/test/dummy/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  2942. data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js +1 -0
  2943. data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/garply/package.json +3 -0
  2944. data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
  2945. data/test/dummy/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
  2946. data/test/dummy/node_modules/resolve/test/resolver/cup.coffee +1 -0
  2947. data/test/dummy/node_modules/resolve/test/resolver/foo.js +1 -0
  2948. data/test/dummy/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
  2949. data/test/dummy/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
  2950. data/test/dummy/node_modules/resolve/test/resolver/mug.coffee +0 -0
  2951. data/test/dummy/node_modules/resolve/test/resolver/mug.js +0 -0
  2952. data/test/dummy/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  2953. data/test/dummy/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  2954. data/test/dummy/node_modules/resolve/test/resolver/punycode/node_modules/punycode/index.js +0 -0
  2955. data/test/dummy/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
  2956. data/test/dummy/node_modules/resolve/test/resolver/without_basedir/main.js +6 -0
  2957. data/test/dummy/node_modules/resolve/test/resolver/without_basedir/node_modules/mymodule.js +1 -0
  2958. data/test/dummy/node_modules/resolve/test/resolver.js +281 -0
  2959. data/test/dummy/node_modules/resolve/test/resolver_sync.js +180 -0
  2960. data/test/dummy/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json +1 -0
  2961. data/test/dummy/node_modules/resolve/test/subdirs/node_modules/a/package.json +1 -0
  2962. data/test/dummy/node_modules/resolve/test/subdirs.js +13 -0
  2963. data/test/dummy/node_modules/ripemd160/CHANGELOG.md +36 -0
  2964. data/test/dummy/node_modules/ripemd160/README.md +100 -0
  2965. data/test/dummy/node_modules/ripemd160/lib/ripemd160.js +210 -0
  2966. data/test/dummy/node_modules/ripemd160/package.json +106 -0
  2967. data/test/dummy/node_modules/sha.js/LICENSE +22 -0
  2968. data/test/dummy/node_modules/sha.js/README.md +54 -0
  2969. data/test/dummy/node_modules/sha.js/bin.js +43 -0
  2970. data/test/dummy/node_modules/sha.js/hash.js +69 -0
  2971. data/test/dummy/node_modules/sha.js/hexpp.js +26 -0
  2972. data/test/dummy/node_modules/sha.js/index.js +15 -0
  2973. data/test/dummy/node_modules/sha.js/package.json +95 -0
  2974. data/test/dummy/node_modules/sha.js/sha.js +93 -0
  2975. data/test/dummy/node_modules/sha.js/sha1.js +98 -0
  2976. data/test/dummy/node_modules/sha.js/sha224.js +52 -0
  2977. data/test/dummy/node_modules/sha.js/sha256.js +134 -0
  2978. data/test/dummy/node_modules/sha.js/sha384.js +56 -0
  2979. data/test/dummy/node_modules/sha.js/sha512.js +259 -0
  2980. data/test/dummy/node_modules/sha.js/test/hash.js +86 -0
  2981. data/test/dummy/node_modules/sha.js/test/test.js +85 -0
  2982. data/test/dummy/node_modules/sha.js/test/vectors.js +76 -0
  2983. data/test/dummy/node_modules/shasum/LICENSE +22 -0
  2984. data/test/dummy/node_modules/shasum/README.md +15 -0
  2985. data/test/dummy/node_modules/shasum/browser.js +13 -0
  2986. data/test/dummy/node_modules/shasum/index.js +13 -0
  2987. data/test/dummy/node_modules/shasum/package.json +79 -0
  2988. data/test/dummy/node_modules/shasum/test/index.js +18 -0
  2989. data/test/dummy/node_modules/shell-quote/LICENSE +24 -0
  2990. data/test/dummy/node_modules/shell-quote/example/env.js +3 -0
  2991. data/test/dummy/node_modules/shell-quote/example/op.js +3 -0
  2992. data/test/dummy/node_modules/shell-quote/example/parse.js +3 -0
  2993. data/test/dummy/node_modules/shell-quote/example/quote.js +3 -0
  2994. data/test/dummy/node_modules/shell-quote/index.js +182 -0
  2995. data/test/dummy/node_modules/shell-quote/package.json +108 -0
  2996. data/test/dummy/node_modules/shell-quote/readme.markdown +128 -0
  2997. data/test/dummy/node_modules/shell-quote/test/env.js +39 -0
  2998. data/test/dummy/node_modules/shell-quote/test/env_fn.js +19 -0
  2999. data/test/dummy/node_modules/shell-quote/test/op.js +67 -0
  3000. data/test/dummy/node_modules/shell-quote/test/parse.js +23 -0
  3001. data/test/dummy/node_modules/shell-quote/test/quote.js +32 -0
  3002. data/test/dummy/node_modules/shell-quote/test/set.js +29 -0
  3003. data/test/dummy/node_modules/source-map/README.md +729 -0
  3004. data/test/dummy/node_modules/source-map/dist/source-map.debug.js +3006 -0
  3005. data/test/dummy/node_modules/source-map/dist/source-map.js +3005 -0
  3006. data/test/dummy/node_modules/source-map/dist/source-map.min.js +2 -0
  3007. data/test/dummy/node_modules/source-map/dist/source-map.min.js.map +1 -0
  3008. data/test/dummy/node_modules/source-map/lib/array-set.js +104 -0
  3009. data/test/dummy/node_modules/source-map/lib/base64-vlq.js +141 -0
  3010. data/test/dummy/node_modules/source-map/lib/base64.js +68 -0
  3011. data/test/dummy/node_modules/source-map/lib/binary-search.js +112 -0
  3012. data/test/dummy/node_modules/source-map/lib/mapping-list.js +80 -0
  3013. data/test/dummy/node_modules/source-map/lib/quick-sort.js +115 -0
  3014. data/test/dummy/node_modules/source-map/lib/source-map-consumer.js +1082 -0
  3015. data/test/dummy/node_modules/source-map/lib/source-map-generator.js +396 -0
  3016. data/test/dummy/node_modules/source-map/lib/source-node.js +408 -0
  3017. data/test/dummy/node_modules/source-map/lib/util.js +369 -0
  3018. data/test/dummy/node_modules/source-map/package.json +242 -0
  3019. data/test/dummy/node_modules/source-map/source-map.js +8 -0
  3020. data/test/dummy/node_modules/stream-browserify/LICENSE +18 -0
  3021. data/test/dummy/node_modules/stream-browserify/index.js +127 -0
  3022. data/test/dummy/node_modules/stream-browserify/package.json +110 -0
  3023. data/test/dummy/node_modules/stream-browserify/readme.markdown +25 -0
  3024. data/test/dummy/node_modules/stream-browserify/test/buf.js +32 -0
  3025. data/test/dummy/node_modules/stream-combiner2/LICENSE +22 -0
  3026. data/test/dummy/node_modules/stream-combiner2/README.md +37 -0
  3027. data/test/dummy/node_modules/stream-combiner2/index.js +68 -0
  3028. data/test/dummy/node_modules/stream-combiner2/package.json +79 -0
  3029. data/test/dummy/node_modules/stream-combiner2/test/index.js +98 -0
  3030. data/test/dummy/node_modules/stream-http/LICENSE +24 -0
  3031. data/test/dummy/node_modules/stream-http/README.md +124 -0
  3032. data/test/dummy/node_modules/stream-http/ie8-polyfill.js +168 -0
  3033. data/test/dummy/node_modules/stream-http/index.js +79 -0
  3034. data/test/dummy/node_modules/stream-http/lib/capability.js +40 -0
  3035. data/test/dummy/node_modules/stream-http/lib/request.js +278 -0
  3036. data/test/dummy/node_modules/stream-http/lib/response.js +178 -0
  3037. data/test/dummy/node_modules/stream-http/package.json +103 -0
  3038. data/test/dummy/node_modules/stream-http/test/browser/abort.js +55 -0
  3039. data/test/dummy/node_modules/stream-http/test/browser/auth.js +22 -0
  3040. data/test/dummy/node_modules/stream-http/test/browser/binary-streaming.js +71 -0
  3041. data/test/dummy/node_modules/stream-http/test/browser/binary.js +32 -0
  3042. data/test/dummy/node_modules/stream-http/test/browser/cookie.js +25 -0
  3043. data/test/dummy/node_modules/stream-http/test/browser/error.js.disabled +12 -0
  3044. data/test/dummy/node_modules/stream-http/test/browser/headers.js +75 -0
  3045. data/test/dummy/node_modules/stream-http/test/browser/lib/webworker-worker.js +20 -0
  3046. data/test/dummy/node_modules/stream-http/test/browser/package.json +5 -0
  3047. data/test/dummy/node_modules/stream-http/test/browser/post-binary.js +42 -0
  3048. data/test/dummy/node_modules/stream-http/test/browser/post-text.js +48 -0
  3049. data/test/dummy/node_modules/stream-http/test/browser/text-streaming.js +43 -0
  3050. data/test/dummy/node_modules/stream-http/test/browser/text.js +22 -0
  3051. data/test/dummy/node_modules/stream-http/test/browser/webworker.js +32 -0
  3052. data/test/dummy/node_modules/stream-http/test/node/http-browserify.js +133 -0
  3053. data/test/dummy/node_modules/stream-http/test/server/index.js +115 -0
  3054. data/test/dummy/node_modules/stream-http/test/server/static/basic.txt +19 -0
  3055. data/test/dummy/node_modules/stream-http/test/server/static/browserify.png +0 -0
  3056. data/test/dummy/node_modules/stream-http/test/server/static/test-polyfill.js +9 -0
  3057. data/test/dummy/node_modules/stream-splicer/LICENSE +18 -0
  3058. data/test/dummy/node_modules/stream-splicer/example/header.js +22 -0
  3059. data/test/dummy/node_modules/stream-splicer/index.js +196 -0
  3060. data/test/dummy/node_modules/stream-splicer/package.json +87 -0
  3061. data/test/dummy/node_modules/stream-splicer/readme.markdown +139 -0
  3062. data/test/dummy/node_modules/stream-splicer/test/combiner.js +31 -0
  3063. data/test/dummy/node_modules/stream-splicer/test/combiner_stream.js +29 -0
  3064. data/test/dummy/node_modules/stream-splicer/test/empty.js +17 -0
  3065. data/test/dummy/node_modules/stream-splicer/test/empty_no_data.js +13 -0
  3066. data/test/dummy/node_modules/stream-splicer/test/get.js +41 -0
  3067. data/test/dummy/node_modules/stream-splicer/test/multipush.js +31 -0
  3068. data/test/dummy/node_modules/stream-splicer/test/multiunshift.js +31 -0
  3069. data/test/dummy/node_modules/stream-splicer/test/nested.js +36 -0
  3070. data/test/dummy/node_modules/stream-splicer/test/nested_middle.js +42 -0
  3071. data/test/dummy/node_modules/stream-splicer/test/pop.js +46 -0
  3072. data/test/dummy/node_modules/stream-splicer/test/push.js +57 -0
  3073. data/test/dummy/node_modules/stream-splicer/test/shift.js +46 -0
  3074. data/test/dummy/node_modules/stream-splicer/test/splice.js +58 -0
  3075. data/test/dummy/node_modules/stream-splicer/test/unshift.js +46 -0
  3076. data/test/dummy/node_modules/string_decoder/LICENSE +20 -0
  3077. data/test/dummy/node_modules/string_decoder/README.md +7 -0
  3078. data/test/dummy/node_modules/string_decoder/index.js +221 -0
  3079. data/test/dummy/node_modules/string_decoder/package.json +83 -0
  3080. data/test/dummy/node_modules/subarg/LICENSE +18 -0
  3081. data/test/dummy/node_modules/subarg/example/show.js +3 -0
  3082. data/test/dummy/node_modules/subarg/index.js +35 -0
  3083. data/test/dummy/node_modules/subarg/package.json +105 -0
  3084. data/test/dummy/node_modules/subarg/readme.markdown +55 -0
  3085. data/test/dummy/node_modules/subarg/test/arg.js +31 -0
  3086. data/test/dummy/node_modules/subarg/test/recursive.js +24 -0
  3087. data/test/dummy/node_modules/syntax-error/LICENSE +18 -0
  3088. data/test/dummy/node_modules/syntax-error/example/check.js +12 -0
  3089. data/test/dummy/node_modules/syntax-error/example/src.js +9 -0
  3090. data/test/dummy/node_modules/syntax-error/index.js +59 -0
  3091. data/test/dummy/node_modules/syntax-error/node_modules/acorn/AUTHORS +43 -0
  3092. data/test/dummy/node_modules/syntax-error/node_modules/acorn/LICENSE +19 -0
  3093. data/test/dummy/node_modules/syntax-error/node_modules/acorn/README.md +396 -0
  3094. data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/acorn +71 -0
  3095. data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/build-acorn.js +82 -0
  3096. data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/generate-identifier-regex.js +47 -0
  3097. data/test/dummy/node_modules/syntax-error/node_modules/acorn/bin/update_authors.sh +6 -0
  3098. data/test/dummy/node_modules/syntax-error/node_modules/acorn/dist/acorn.js +3340 -0
  3099. data/test/dummy/node_modules/syntax-error/node_modules/acorn/dist/acorn_loose.js +1300 -0
  3100. data/test/dummy/node_modules/syntax-error/node_modules/acorn/dist/walk.js +377 -0
  3101. data/test/dummy/node_modules/syntax-error/node_modules/acorn/package.json +213 -0
  3102. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/bin/acorn.js +59 -0
  3103. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/expression.js +707 -0
  3104. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/identifier.js +90 -0
  3105. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/index.js +67 -0
  3106. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/location.js +24 -0
  3107. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/locutil.js +42 -0
  3108. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/acorn_loose.js +0 -0
  3109. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/expression.js +501 -0
  3110. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/index.js +50 -0
  3111. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/parseutil.js +1 -0
  3112. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/state.js +160 -0
  3113. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/statement.js +420 -0
  3114. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/loose/tokenize.js +108 -0
  3115. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/lval.js +215 -0
  3116. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/node.js +50 -0
  3117. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/options.js +121 -0
  3118. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/parseutil.js +102 -0
  3119. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/state.js +104 -0
  3120. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/statement.js +626 -0
  3121. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/tokencontext.js +109 -0
  3122. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/tokenize.js +682 -0
  3123. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/tokentype.js +147 -0
  3124. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/util.js +9 -0
  3125. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/walk/index.js +340 -0
  3126. data/test/dummy/node_modules/syntax-error/node_modules/acorn/src/whitespace.js +12 -0
  3127. data/test/dummy/node_modules/syntax-error/package.json +100 -0
  3128. data/test/dummy/node_modules/syntax-error/readme.markdown +87 -0
  3129. data/test/dummy/node_modules/syntax-error/test/check.js +17 -0
  3130. data/test/dummy/node_modules/syntax-error/test/html.js +16 -0
  3131. data/test/dummy/node_modules/syntax-error/test/ok.js +13 -0
  3132. data/test/dummy/node_modules/syntax-error/test/run.js +12 -0
  3133. data/test/dummy/node_modules/syntax-error/test/run2.js +12 -0
  3134. data/test/dummy/node_modules/syntax-error/test/shebang.js +13 -0
  3135. data/test/dummy/node_modules/syntax-error/test/sources/check.js +9 -0
  3136. data/test/dummy/node_modules/syntax-error/test/sources/ok.js +1 -0
  3137. data/test/dummy/node_modules/syntax-error/test/sources/run.js +1 -0
  3138. data/test/dummy/node_modules/syntax-error/test/sources/run2.js +3 -0
  3139. data/test/dummy/node_modules/syntax-error/test/sources/shebang.js +2 -0
  3140. data/test/dummy/node_modules/syntax-error/test/sources/yield.js +13 -0
  3141. data/test/dummy/node_modules/syntax-error/test/yield.js +13 -0
  3142. data/test/dummy/node_modules/through/LICENSE.APACHE2 +15 -0
  3143. data/test/dummy/node_modules/through/LICENSE.MIT +24 -0
  3144. data/test/dummy/node_modules/through/index.js +108 -0
  3145. data/test/dummy/node_modules/through/package.json +92 -0
  3146. data/test/dummy/node_modules/through/readme.markdown +64 -0
  3147. data/test/dummy/node_modules/through/test/async.js +28 -0
  3148. data/test/dummy/node_modules/through/test/auto-destroy.js +30 -0
  3149. data/test/dummy/node_modules/through/test/buffering.js +71 -0
  3150. data/test/dummy/node_modules/through/test/end.js +45 -0
  3151. data/test/dummy/node_modules/through/test/index.js +133 -0
  3152. data/test/dummy/node_modules/through2/LICENSE +39 -0
  3153. data/test/dummy/node_modules/through2/README.md +133 -0
  3154. data/test/dummy/node_modules/through2/node_modules/isarray/Makefile +6 -0
  3155. data/test/dummy/node_modules/through2/node_modules/isarray/README.md +60 -0
  3156. data/test/dummy/node_modules/through2/node_modules/isarray/component.json +19 -0
  3157. data/test/dummy/node_modules/through2/node_modules/isarray/index.js +5 -0
  3158. data/test/dummy/node_modules/through2/node_modules/isarray/package.json +96 -0
  3159. data/test/dummy/node_modules/through2/node_modules/isarray/test.js +20 -0
  3160. data/test/dummy/node_modules/through2/node_modules/readable-stream/LICENSE +18 -0
  3161. data/test/dummy/node_modules/through2/node_modules/readable-stream/README.md +36 -0
  3162. data/test/dummy/node_modules/through2/node_modules/readable-stream/doc/stream.markdown +1760 -0
  3163. data/test/dummy/node_modules/through2/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  3164. data/test/dummy/node_modules/through2/node_modules/readable-stream/duplex.js +1 -0
  3165. data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
  3166. data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
  3167. data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js +880 -0
  3168. data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js +180 -0
  3169. data/test/dummy/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js +516 -0
  3170. data/test/dummy/node_modules/through2/node_modules/readable-stream/package.json +105 -0
  3171. data/test/dummy/node_modules/through2/node_modules/readable-stream/passthrough.js +1 -0
  3172. data/test/dummy/node_modules/through2/node_modules/readable-stream/readable.js +12 -0
  3173. data/test/dummy/node_modules/through2/node_modules/readable-stream/transform.js +1 -0
  3174. data/test/dummy/node_modules/through2/node_modules/readable-stream/writable.js +1 -0
  3175. data/test/dummy/node_modules/through2/package.json +107 -0
  3176. data/test/dummy/node_modules/through2/through2.js +96 -0
  3177. data/test/dummy/node_modules/timers-browserify/CHANGELOG.md +58 -0
  3178. data/test/dummy/node_modules/timers-browserify/LICENSE.md +46 -0
  3179. data/test/dummy/node_modules/timers-browserify/README.md +40 -0
  3180. data/test/dummy/node_modules/timers-browserify/example/enroll/build.sh +3 -0
  3181. data/test/dummy/node_modules/timers-browserify/example/enroll/index.html +8 -0
  3182. data/test/dummy/node_modules/timers-browserify/example/enroll/js/browserify.js +233 -0
  3183. data/test/dummy/node_modules/timers-browserify/example/enroll/js/main.js +14 -0
  3184. data/test/dummy/node_modules/timers-browserify/example/enroll/server.js +11 -0
  3185. data/test/dummy/node_modules/timers-browserify/main.js +76 -0
  3186. data/test/dummy/node_modules/timers-browserify/package.json +126 -0
  3187. data/test/dummy/node_modules/to-arraybuffer/LICENSE +24 -0
  3188. data/test/dummy/node_modules/to-arraybuffer/README.md +27 -0
  3189. data/test/dummy/node_modules/to-arraybuffer/index.js +27 -0
  3190. data/test/dummy/node_modules/to-arraybuffer/package.json +85 -0
  3191. data/test/dummy/node_modules/to-arraybuffer/test.js +57 -0
  3192. data/test/dummy/node_modules/tty-browserify/LICENSE +18 -0
  3193. data/test/dummy/node_modules/tty-browserify/index.js +11 -0
  3194. data/test/dummy/node_modules/tty-browserify/package.json +78 -0
  3195. data/test/dummy/node_modules/tty-browserify/readme.markdown +1 -0
  3196. data/test/dummy/node_modules/typedarray/LICENSE +35 -0
  3197. data/test/dummy/node_modules/typedarray/example/tarray.js +4 -0
  3198. data/test/dummy/node_modules/typedarray/index.js +630 -0
  3199. data/test/dummy/node_modules/typedarray/package.json +105 -0
  3200. data/test/dummy/node_modules/typedarray/readme.markdown +61 -0
  3201. data/test/dummy/node_modules/typedarray/test/server/undef_globals.js +19 -0
  3202. data/test/dummy/node_modules/typedarray/test/tarray.js +10 -0
  3203. data/test/dummy/node_modules/umd/README.md +82 -0
  3204. data/test/dummy/node_modules/umd/bin/cli.js +43 -0
  3205. data/test/dummy/node_modules/umd/index.js +78 -0
  3206. data/test/dummy/node_modules/umd/package.json +95 -0
  3207. data/test/dummy/node_modules/unreachable-branch-transform/README.md +72 -0
  3208. data/test/dummy/node_modules/unreachable-branch-transform/index.js +59 -0
  3209. data/test/dummy/node_modules/unreachable-branch-transform/package.json +94 -0
  3210. data/test/dummy/node_modules/unreachable-branch-transform/unreachableBranchTransformer.js +97 -0
  3211. data/test/dummy/node_modules/url/LICENSE +21 -0
  3212. data/test/dummy/node_modules/url/README.md +108 -0
  3213. data/test/dummy/node_modules/url/node_modules/punycode/LICENSE-MIT.txt +20 -0
  3214. data/test/dummy/node_modules/url/node_modules/punycode/README.md +176 -0
  3215. data/test/dummy/node_modules/url/node_modules/punycode/package.json +107 -0
  3216. data/test/dummy/node_modules/url/node_modules/punycode/punycode.js +530 -0
  3217. data/test/dummy/node_modules/url/package.json +80 -0
  3218. data/test/dummy/node_modules/url/test.js +1599 -0
  3219. data/test/dummy/node_modules/url/url.js +732 -0
  3220. data/test/dummy/node_modules/url/util.js +16 -0
  3221. data/test/dummy/node_modules/util/LICENSE +18 -0
  3222. data/test/dummy/node_modules/util/README.md +15 -0
  3223. data/test/dummy/node_modules/util/package.json +81 -0
  3224. data/test/dummy/node_modules/util/support/isBuffer.js +3 -0
  3225. data/test/dummy/node_modules/util/support/isBufferBrowser.js +6 -0
  3226. data/test/dummy/node_modules/util/test/browser/inspect.js +41 -0
  3227. data/test/dummy/node_modules/util/test/browser/is.js +91 -0
  3228. data/test/dummy/node_modules/util/test/node/debug.js +86 -0
  3229. data/test/dummy/node_modules/util/test/node/format.js +77 -0
  3230. data/test/dummy/node_modules/util/test/node/inspect.js +195 -0
  3231. data/test/dummy/node_modules/util/test/node/log.js +58 -0
  3232. data/test/dummy/node_modules/util/test/node/util.js +83 -0
  3233. data/test/dummy/node_modules/util/util.js +586 -0
  3234. data/test/dummy/node_modules/util-deprecate/History.md +16 -0
  3235. data/test/dummy/node_modules/util-deprecate/LICENSE +24 -0
  3236. data/test/dummy/node_modules/util-deprecate/README.md +53 -0
  3237. data/test/dummy/node_modules/util-deprecate/browser.js +67 -0
  3238. data/test/dummy/node_modules/util-deprecate/node.js +6 -0
  3239. data/test/dummy/node_modules/util-deprecate/package.json +83 -0
  3240. data/test/dummy/node_modules/vm-browserify/LICENSE +18 -0
  3241. data/test/dummy/node_modules/vm-browserify/example/run/bundle.js +473 -0
  3242. data/test/dummy/node_modules/vm-browserify/example/run/entry.js +6 -0
  3243. data/test/dummy/node_modules/vm-browserify/example/run/index.html +9 -0
  3244. data/test/dummy/node_modules/vm-browserify/example/run/server.js +6 -0
  3245. data/test/dummy/node_modules/vm-browserify/index.js +138 -0
  3246. data/test/dummy/node_modules/vm-browserify/package.json +96 -0
  3247. data/test/dummy/node_modules/vm-browserify/readme.markdown +67 -0
  3248. data/test/dummy/node_modules/vm-browserify/test/vm.js +35 -0
  3249. data/test/dummy/node_modules/watchify/LICENSE +18 -0
  3250. data/test/dummy/node_modules/watchify/bin/args.js +16 -0
  3251. data/test/dummy/node_modules/watchify/bin/cmd.js +68 -0
  3252. data/test/dummy/node_modules/watchify/example/files/main.js +2 -0
  3253. data/test/dummy/node_modules/watchify/example/files/one.js +3 -0
  3254. data/test/dummy/node_modules/watchify/example/files/two.js +1 -0
  3255. data/test/dummy/node_modules/watchify/index.js +165 -0
  3256. data/test/dummy/node_modules/watchify/package.json +111 -0
  3257. data/test/dummy/node_modules/watchify/readme.markdown +226 -0
  3258. data/test/dummy/node_modules/watchify/test/api.js +44 -0
  3259. data/test/dummy/node_modules/watchify/test/api_brfs.js +53 -0
  3260. data/test/dummy/node_modules/watchify/test/api_ignore_watch.js +60 -0
  3261. data/test/dummy/node_modules/watchify/test/api_ignore_watch_default.js +60 -0
  3262. data/test/dummy/node_modules/watchify/test/api_ignore_watch_multiple.js +60 -0
  3263. data/test/dummy/node_modules/watchify/test/api_implicit_cache.js +44 -0
  3264. data/test/dummy/node_modules/watchify/test/bin.js +52 -0
  3265. data/test/dummy/node_modules/watchify/test/bin_brfs.js +62 -0
  3266. data/test/dummy/node_modules/watchify/test/bin_ignore_watch.js +71 -0
  3267. data/test/dummy/node_modules/watchify/test/bin_ignore_watch_default.js +71 -0
  3268. data/test/dummy/node_modules/watchify/test/bin_ignore_watch_multiple.js +72 -0
  3269. data/test/dummy/node_modules/watchify/test/bin_pipe.js +56 -0
  3270. data/test/dummy/node_modules/watchify/test/bin_plugins_pipelining_multiple_errors.js +56 -0
  3271. data/test/dummy/node_modules/watchify/test/bin_standalone.js +52 -0
  3272. data/test/dummy/node_modules/watchify/test/errors.js +56 -0
  3273. data/test/dummy/node_modules/watchify/test/errors_transform.js +83 -0
  3274. data/test/dummy/node_modules/watchify/test/expose.js +72 -0
  3275. data/test/dummy/node_modules/watchify/test/many.js +101 -0
  3276. data/test/dummy/node_modules/watchify/test/many_immediate.js +99 -0
  3277. data/test/dummy/node_modules/watchify/test/zzz.js +10 -0
  3278. data/test/dummy/node_modules/wrappy/LICENSE +15 -0
  3279. data/test/dummy/node_modules/wrappy/README.md +36 -0
  3280. data/test/dummy/node_modules/wrappy/package.json +78 -0
  3281. data/test/dummy/node_modules/wrappy/test/basic.js +51 -0
  3282. data/test/dummy/node_modules/wrappy/wrappy.js +33 -0
  3283. data/test/dummy/node_modules/xtend/LICENCE +19 -0
  3284. data/test/dummy/node_modules/xtend/Makefile +4 -0
  3285. data/test/dummy/node_modules/xtend/README.md +32 -0
  3286. data/test/dummy/node_modules/xtend/immutable.js +19 -0
  3287. data/test/dummy/node_modules/xtend/mutable.js +17 -0
  3288. data/test/dummy/node_modules/xtend/package.json +115 -0
  3289. data/test/dummy/node_modules/xtend/test.js +83 -0
  3290. data/test/dummy/package.json +16 -0
  3291. data/test/dummy/public/404.html +67 -0
  3292. data/test/dummy/public/422.html +67 -0
  3293. data/test/dummy/public/500.html +66 -0
  3294. data/test/dummy/public/favicon.ico +0 -0
  3295. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-o/-oGwsmoED7FhsnbNDNwcTTteQvlbz-1VlFE5r5SckBA.cache +1 -0
  3296. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-x/-xzgg23D0Fjd2URLPZsw-cz0moJJ_UTK91raBLnaTms.cache +0 -0
  3297. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0T/0T1MHI5D1uU0usyPDGnBbeYxhVQNi7xcOm_dcpVdDz0.cache +1 -0
  3298. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1C/1CTNbWEzOEeKLAM04HKSC0frL8DB--8V-u1Z1dwubis.cache +2 -0
  3299. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1G/1GMeThvFGAPkgFRVLS0A0aCcYeUjeQ812CErmw29lhc.cache +1 -0
  3300. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1W/1W_jC2izQTZB80Jz9cqI-ZA8Q5404rKo0rDiXT6pyr0.cache +1 -0
  3301. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1y/1yWAWPbnk7v_KFEcnQXR24rexLnBN3TKJmcHz9cUgtE.cache +0 -0
  3302. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1y/1ytTRlj_doPKSf37QpkQoaBPnCjViBRjQzn-K33N0RE.cache +1 -0
  3303. data/test/dummy/tmp/cache/assets/sprockets/v3.0/28/28AQEUK_z51aMqaQktotLgk1EJl_J0osXkBQG8nv734.cache +1 -0
  3304. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2F/2FXAncroIYCxLSOYXSLp-mhRrd92wPdqrAAajO_muW4.cache +1 -0
  3305. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2M/2M70sHX7UHiSdlFV1IwsyvgpkNutcGgqb8xSspO2Xwg.cache +0 -0
  3306. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2U/2UdeWj23mfTMDgZN83Pxds4ZJjkVyby2tEyidUxlcpg.cache +0 -0
  3307. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2q/2qTH4ROw7lpwRUwiQBnu9WRdMbgiDHkWr5QGBS4MZBE.cache +1 -0
  3308. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3f/3fIP3rRWCmy8nku15janoFvYjpSH-gxQh2kr0wJRfcU.cache +1 -0
  3309. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3h/3hNMHCANib7hGcZimVtw9fqlKba7j4zP91_IEFEUdno.cache +2 -0
  3310. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4I/4IHPxfLLqnhY36gdRmtSFkWYiawbn4uMxNPLP3xnQe8.cache +1 -0
  3311. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4e/4eTw2V8GjmBr-1wvLE9Zzh3XFtQI5hDMD9qX5QALOBY.cache +1 -0
  3312. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4o/4ombhIKJPpLS3j9K3oY7hKJ49pw_71dxQ8LgJNNgIFQ.cache +1 -0
  3313. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
  3314. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5le4DculpQJ2ycky3PMljl8ShEfd6Mx3OsZ6vZsgIto.cache +0 -0
  3315. data/test/dummy/tmp/cache/assets/sprockets/v3.0/62/62Kg2wvzJXu-q0ymvrItPrB9Q--CLLAC6SEjd6g74lc.cache +1 -0
  3316. data/test/dummy/tmp/cache/assets/sprockets/v3.0/67/677WI5Mqbdg3dwlTwugSiYu8x3M4mHBlgLKvsHP2Z7I.cache +0 -0
  3317. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6A/6AbdujJ_7IBtGrNb7o4tRAD4XhW7AUddARigLQlBaQw.cache +1 -0
  3318. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6Q/6Q-4g6-L2KWSZ3bmx0tggt1KhIwmZxHeJrchrwYg4AQ.cache +1 -0
  3319. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6v/6vZuEXThthctuw4_MrmwizfH1STATSfPDpm-h1hDHwM.cache +0 -0
  3320. data/test/dummy/tmp/cache/assets/sprockets/v3.0/70/707QxGBmtwkz0ax6G2zWTSk5KNbpkAuS5q-Jb9RC4aU.cache +1 -0
  3321. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7H/7HRIgBLpey9TZ4qe9CY89lER8HNhVB0cjlz5eZdu9CQ.cache +1 -0
  3322. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8J/8J0eNW8CIrQoMKXG9-CGEXyRUn6Gbre-KBS_kAIvS-U.cache +1 -0
  3323. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8N/8Nv07i91aaxvqlxXISKaZoBqHvcLCJBF8NUwd2VTdJk.cache +1 -0
  3324. data/test/dummy/tmp/cache/assets/sprockets/v3.0/B2/B2qFoFRh8kpMTC8gkv5N13NHJ3L9NV-0_vl3sC5-x_w.cache +1 -0
  3325. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BC/BCdR-E9OXnj9lwDHAlKUFySrv7YOFy_-_xXG1pOLUQ8.cache +0 -0
  3326. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BM/BMvp0d8hNLlz9IB2axdS80D7Di4-gaTIVN3mpKWdNQw.cache +1 -0
  3327. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BR/BRII8jYm88YaY_j67VxirVrD6yvF28TVkZbtMUhLGCg.cache +3 -0
  3328. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BZ/BZNOigM6frhiGdxZuB2w2S6E4OZMui6dyQyHG6lvrsY.cache +0 -0
  3329. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Bf/BfVd0Db3otlRlNy91JxVcKkQWwyHrO5e4KiMva5Fle8.cache +0 -0
  3330. data/test/dummy/tmp/cache/assets/sprockets/v3.0/C4/C4yiibIGgaeZAVb7MUEIZ7ReUuxiVhpaz3fjUixKPZ4.cache +0 -0
  3331. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CY/CYrZBmHdeD3suhCFCPZQ4mcIyLXhwZ_RjaO18hqt8RA.cache +1 -0
  3332. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cc/CcbURITLxEFw-Hj0MeKBtseGpehBoxrGuZsVC2aqvsI.cache +1 -0
  3333. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cg/CgCEnHXAmzJdqvpprhFloxCMIpf3GIbHBw8x7AP5QmA.cache +1 -0
  3334. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ch/Ch2bQFHkYziI9Erdkuj8uoPJyw0W2aA5prtYAqlccww.cache +1 -0
  3335. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -0
  3336. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dd/Dd5SNmaitiYv1i85eR4fMMn8U4eDZW8dLAdjlUoveVk.cache +1 -0
  3337. data/test/dummy/tmp/cache/assets/sprockets/v3.0/E3/E3PGV-EHbdgytztS6aIodaUxIjBKEozvhb7OWpyTHj0.cache +0 -0
  3338. data/test/dummy/tmp/cache/assets/sprockets/v3.0/E4/E4Qr2ISm83HFsIQnBi32nNUnOha1zu8GzgRdsENtN-E.cache +0 -0
  3339. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ED/EDMmqav5qwaX53k7p9wJnePjeZ7b_i5xHMAx8E2XoCU.cache +0 -0
  3340. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ED/ed-CxD158cujF_2SfTt-qNG6mXxO-lg5Bz8R3S4i3CM.cache +0 -0
  3341. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EE/EEC4W-d67sYYaXRuN_CPOlQPcQZh0lRDZ8v0eZ2HB5k.cache +1 -0
  3342. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ei/Ei9RwfAHDDbaTDnFp5UR9Wx3IaBLhEsJdAvcbxkuaMA.cache +2 -0
  3343. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Er/Erm-aKaNgB0tcsTKg0KvSuQoWAWxPBS36qtg8MwhLcQ.cache +0 -0
  3344. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Er/eR2wQCBaaOa9Bd18JSY0d7SaptjuAm7rC_GHxMvBR38.cache +0 -0
  3345. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FB/FBJvMbKJWr4fqIEI--QPdkwiP9cGgxCOcYuAAF0WlDM.cache +0 -0
  3346. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FH/FHsrfVlSPP0eySEDeUHcCzH7jK3zJy95BS7BXdMazuQ.cache +1 -0
  3347. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FX/FX-5pUWfGgoJd2h4XnifVCYWwG5jmENGfUV1cNMnQlQ.cache +1 -0
  3348. data/test/dummy/tmp/cache/assets/sprockets/v3.0/G1/G1LupDraM99hvtHYG7WE3Yx3Dq4soCOCjrYateZ5rkw.cache +1 -0
  3349. data/test/dummy/tmp/cache/assets/sprockets/v3.0/G3/G3IyzwSTT-PDJgNJQlycSbleR64OEGNaWCjEu94Mge4.cache +1 -0
  3350. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GO/GOGZJvK3DfVJrEpCxhQ8JKUqdX5MwyfUeXTghwiqgd4.cache +2 -0
  3351. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GR/GRl6HEX8FOaFQe4f85N5-eyzvpMZyzDm38oAi2PAftw.cache +1 -0
  3352. data/test/dummy/tmp/cache/assets/sprockets/v3.0/G_/G_xzVJE17FIAM5r-Z3Jm7ijeKBX6sxzivkxGN8WUaFE.cache +0 -0
  3353. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gp/GpwGZSYjuSCgh4VO8ZK1IqUsPj1xZfEaDEARe4yKJYs.cache +1 -0
  3354. data/test/dummy/tmp/cache/assets/sprockets/v3.0/H0/H0aw7dFi66LCe_sp6w6n2QLOeVk8YjkOADP2YoQ-RGw.cache +0 -0
  3355. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ii/Ii27XzcU3aygpprdhW83NjUzo1TTEoptuqipf5m3nj0.cache +0 -0
  3356. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JD/JDFa4nA6PyC0HzQ0m8DCZoLc_jA255lfwRhMVWeKSpc.cache +1 -0
  3357. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JN/JNWCNiollNBbP6M-3ahd4oqOZVJ6ASPH30lju91Ab9E.cache +0 -0
  3358. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JN/jNOmcfOJ3Aajda3krgNu-QaFM6roZYLoE6CVQT1Elm4.cache +0 -0
  3359. data/test/dummy/tmp/cache/assets/sprockets/v3.0/K3/K32DeLXUd7pGb8zNsSm-Q1t87CldA2zm05hDPD35CCg.cache +1 -0
  3360. data/test/dummy/tmp/cache/assets/sprockets/v3.0/K9/K9ZheMi0hi4DNLzmDMRnv9A_lOVz33kNImc16Now42o.cache +1 -0
  3361. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KO/KOegh_TQB4Tzdd3v-xqH93vGa3V74zHzwV4AVWb29t8.cache +1 -0
  3362. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kg/Kg-x5n8i2vJFjIlJjJOlCm4Q25v-4Od0h1YEdUhdGrw.cache +3 -0
  3363. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kr/KrkjbBFE0mqAZzcgFLIp0xZfLvyp0S33jjbAgImdEbA.cache +1 -0
  3364. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kr/krW6duuEvorLAsp1iSId4S6rAWNliU5R0SCgyWA6Hlg.cache +1 -0
  3365. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LR/LRl-827CKV2LMeOgp-1cCdNPsuTQeqY2d4zIcmaTbgc.cache +1 -0
  3366. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lg/Lgy-n6ZX0Jrs2S9jQvGXOcIkhg1wIQvADBBl7nt4IUM.cache +1 -0
  3367. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Md/Md4DjPjZ5AsWma7rKT6g_5PwT6KNvjqCI83wyWdivAY.cache +1 -0
  3368. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mn/MnjTyMnZ8hq48sK3kqeEV5HntHOzj5l9byZntXcymv0.cache +0 -0
  3369. data/test/dummy/tmp/cache/assets/sprockets/v3.0/My/My-gJn8h5jXtY1Apc8MKm2-HQyJ9bYzPVA2SsYFMlk4.cache +2 -0
  3370. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NK/NKF9odlZM3nINhAjq9aZ9t_Gaya8a0NAV7Lf9BLUWOI.cache +1 -0
  3371. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NV/NVTgol3wufMoq9DekcTmOC0kAlRjJEVjMje8Ad9TzKs.cache +0 -0
  3372. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NZ/NZWHq8mjbWIQjWtIS5ssE8XxECO0WWbxy77K_f71yJ0.cache +0 -0
  3373. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nn/NnUCa7jNYx9HCmEB7E7WPWT00DwaM4IYICy1Ju1jjcs.cache +1 -0
  3374. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OA/OApH3PYH-ibNr0BhsNDyI5GMepjx7m6VRi-AIm-mx_U.cache +1 -0
  3375. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
  3376. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Or/Ori7DoN_oUPJhv5ILW1Df8hnTZ16MmxZ5lauVX5QGBQ.cache +3 -0
  3377. data/test/dummy/tmp/cache/assets/sprockets/v3.0/P-/P-jLPpVIFLWWoJ1LwGDV0h1kE0-fMYmRBMX1JWNxsj0.cache +1 -0
  3378. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PV/PVtQYPUcj0hhzP900u1AdXBY7CneDNs1j_LFaSMbDf8.cache +1 -0
  3379. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PZ/PZobPcXCbpM9MJ8WnUyBrnPWkCTMPJuEKlePnEXm0v0.cache +3 -0
  3380. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pb/PbP8T5HsLnpAYmWRIsHnOuel85RJ5dAapBz1E7wyFPQ.cache +1 -0
  3381. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Py/PyAATStNO87RSWlrulPb8bkE1ZyCV2Klj8dsF3Lj-qw.cache +1 -0
  3382. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q6/Q63H6CMNHL_FTlto__Gx5ui5qR6LeEuMgri6tH46MxU.cache +0 -0
  3383. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QC/QCSYs1T2oBVcQgCi-uHpbQV4djrEXrWXJqlbrAsJ0U8.cache +1 -0
  3384. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QF/QFqhjGMviIEKNIXi5XNCW7bjzsQyZj-eC3aQXs86gAw.cache +0 -0
  3385. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QQ/QQiJnGn6sN0rLBn5t9fYVpx2vyEuz7zyyaw7VNeD9VQ.cache +1 -0
  3386. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qz/Qz_mGtVrxTgxlKmsfyA9PdtIyGXD8PTNm1x4qDGFhAk.cache +1 -0
  3387. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RW/RWJlNRqVXFEKiVu2YskLVphB4BcvQc6b1TJgp7i9JqQ.cache +1 -0
  3388. data/test/dummy/tmp/cache/assets/sprockets/v3.0/R_/R_cJA2DObH51sEin_bJSM8zoSIQPfaPcrq1slMF0TMc.cache +0 -0
  3389. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rm/RmzpcWhuAgqgWXDxHU2T0_ic-a8qNcu4Tyc2Zn7w9Xg.cache +1 -0
  3390. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ry/RylJg0JPQJXRr4twCMefa5PFOfdETIva1_3ZmUgOsEA.cache +3 -0
  3391. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sm/SmiulCacWOpHZ8xOwhiJduBGopLZ2vVY5V5m5EPcksQ.cache +1 -0
  3392. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TU/TUfbVHVTUUpiD3hYtN6S1Uw81rl7YUXSHuwh9-9PJ_8.cache +1 -0
  3393. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tp/Tpd6vyyM1vD5-9Ce-ePSh24_P4yLkUkC55bMsG5xjIQ.cache +1 -0
  3394. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tz/TzB2Z-l3FHDCsSTHhxBZcacEH2JV38DeeJDDNCXMgzg.cache +2 -0
  3395. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UA/UA-qkOf3H5oWyJsQi40wLTNgjFtFyv8U0nFDkKwkico.cache +1 -0
  3396. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UM/UMKVtYUkwZ27qFoNKuod6Y9I3rvdKhI-UERSCwSBZSI.cache +1 -0
  3397. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Vj/VjaurJ8UtnIDtVWJhegY2Eohw75HQ00nl-E4hdrtDtg.cache +2 -0
  3398. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ww/WwUhCL9cc-VXW-owoqL7uGiiIxPOl3PxtZ3-VOOtHPU.cache +0 -0
  3399. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Xh/XhQfyjbVraCPRWoGUpzQ67BacxPZrgdjezAVUIbZyiE.cache +0 -0
  3400. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YL/YL16HsDS7EotD-QHclLmmDdwVua5_8stL4UHL_S8Edw.cache +0 -0
  3401. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zs/Zs90wzhgMjvsuhGd93f0bARG16x5iHaN2P7Ri6gYDxI.cache +0 -0
  3402. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zv/ZvxoBbzc5ML9c2gNOUHuo_Yh_XCVDD6hdlQC4EOK08c.cache +2 -0
  3403. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_C/_CBvBsem1WftcNDXywJQTvacRKqSSCNaeLjxtMszXTw.cache +1 -0
  3404. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_T/_TWKvK8ZgHNO0wyZimjRvJujWlXeE3l_SzNv9h0ZS64.cache +1 -0
  3405. data/test/dummy/tmp/cache/assets/sprockets/v3.0/__/__gV64dNSJLa3_ku1f4nBdLvl2wdtUke7hQ-_3WZ3FA.cache +3 -0
  3406. data/test/dummy/tmp/cache/assets/sprockets/v3.0/a5/a5ifa3BpZrLxpQ1VOJ7XXyRt00NcM2r3viSERmC5TzU.cache +1 -0
  3407. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aF/aFASUWtaGG_6pgjH7mM2-0b57x1NJ5xVnuiCbkg-y4U.cache +1 -0
  3408. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ai/aicXEDbiX-HblesG9oy7Em8kya_wKzov8E6V3B5i5yE.cache +1 -0
  3409. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bH/bHfdlHn48CnO-0gvgn_2418PvVkMCtYJh9ePTAKIHW4.cache +3 -0
  3410. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bU/bU6D4LRdFumZVMG5Dh25kryxNiQ_qUMzChPQnwkR6gc.cache +1 -0
  3411. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cN/cNP8A30uBN8UbbwKzaAl_nAyT2uueRoHuqk8qSRelag.cache +0 -0
  3412. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dF/dF0Kzd__Y7Pj3kIjFV6j0_JRaAPoxftwwxMhF7mHfEM.cache +1 -0
  3413. data/test/dummy/tmp/cache/assets/sprockets/v3.0/e0/E094nc9b8pOh-uQ_w7-aIyKNwl0I4absnCnBkjRWhCg.cache +2 -0
  3414. data/test/dummy/tmp/cache/assets/sprockets/v3.0/e0/E0sRsnXfHcO2jE2-fAOLdcE9L9rr90hUK4NNABb9yns.cache +1 -0
  3415. data/test/dummy/tmp/cache/assets/sprockets/v3.0/e0/e0kERao1gQwBqMimluxGtYwm3ZLM0chstZnPIJa1yIg.cache +0 -0
  3416. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ey/eyCOrasesbHgtHvQ_0aH5iIM4O2SMWXWRTgOarUD2-U.cache +0 -0
  3417. data/test/dummy/tmp/cache/assets/sprockets/v3.0/f9/f9UxqJv7R-OWdlkaDwJnhUyXOZs360QA5LZofXD1k_4.cache +1 -0
  3418. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fj/fj8nNZVvl_-4vFqwHw-1R0qnYhj5Wrl8CF5xQ3XLlTM.cache +1 -0
  3419. data/test/dummy/tmp/cache/assets/sprockets/v3.0/h1/h1n1wPuR4vmcG_LWwZw1JFFj8pB_FO8ukitYCGYaNwA.cache +1 -0
  3420. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hr/hrT3s4KsN3XGw5KK1RPU2OM3SFbQm0_3-eG-H6Rw8PQ.cache +2 -0
  3421. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hs/hsFeX5jhqtYjKoACvbKZySbi31pV34OAYeIoNkwJnmQ.cache +0 -0
  3422. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kv/kvgE_VMBnJOTjQR2lW5JaEuyi5nq4zZh5sNo91aZgKo.cache +0 -0
  3423. data/test/dummy/tmp/cache/assets/sprockets/v3.0/l5/l5Xze7AlkL4jHn8VuPP9quYDvGn6zu6icAJ4Y5JoUvk.cache +1 -0
  3424. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lq/lqZ_GbiNP9bKepOfzlixV1DjyVbLK3gJ-vpr4auIo1s.cache +0 -0
  3425. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mB/mBzbEBpyOh63AWbplaLwXqpZrEyCNukOe_mrdgrRYv8.cache +1 -0
  3426. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mP/mPAo62vdIcJqthSbWd7uu9Lhc6iw3Pj6DW4FJVW9DTg.cache +1 -0
  3427. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mz/mzTl0oStlLeu8M8mKD2Z4AFiODBhxuhhEwmvkQMjJ08.cache +1 -0
  3428. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nO/nOt4q6V1_87ssVAW-m8C69Eh94D1KUAB9Y2wzugjLiU.cache +0 -0
  3429. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ns/nskEglj51iHgLa4OP6X8J2MFTFYQYbfd_q2XtE4lEl8.cache +1 -0
  3430. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oG/oGWcd1-UwcQ_o1WhfMgPOS2LSHHJpsdM47HAzzW6C1g.cache +2 -0
  3431. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oH/oH-xf1jGG4CDfcKXEYhXcVZFh0jVKrRUBi8FHBmvvt8.cache +1 -0
  3432. data/test/dummy/tmp/cache/assets/sprockets/v3.0/op/opx0JXoesV3avTZAsu7AOHd2DYaFLvCdf1JsrIV1wPA.cache +1 -0
  3433. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ox/oxjmRgM9onS8LyF5LBuUNfBKubL6B5YoDfFR0gOr28U.cache +3 -0
  3434. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pF/pFqWuHO8WYdWAvyfmTzV3s2UZ0n5iKWo4ApZkKN7edA.cache +1 -0
  3435. data/test/dummy/tmp/cache/assets/sprockets/v3.0/q5/q5pnTDF_y3yRL2BGVHTvyj0YOqoF0QVDRNiV285RCY4.cache +0 -0
  3436. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qI/qIyi5uni1Pz200-4stFdM3l8cEgrNsZWNLzXDLCl9eQ.cache +3 -0
  3437. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qb/QBkdwyB7zjwdZUj9sbBIOXVY04LbXdJlV8TBu3B-Olc.cache +1 -0
  3438. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qb/qbq8JkwipRuk5VXl0qoAAf47gVCBrrG88zqsfMlukaM.cache +0 -0
  3439. data/test/dummy/tmp/cache/assets/sprockets/v3.0/r4/r4NzIjLpPuYA_rdfKUv96ek1tSfqwCLgf1gYq7NZsEI.cache +0 -0
  3440. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rR/rR10ov9tKHLBylV4izJo6YuyoP0z5Q5NkI-Dm7VqsEY.cache +1 -0
  3441. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sB/Sb1lx6nwCyXjhouZu0dyxA_1G8Eycg7mY_Pb9oUi_0I.cache +0 -0
  3442. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sB/sBvb--C3JlNzvEBHStXpTyZbFGPXSGCYNuHgy0-ykvU.cache +1 -0
  3443. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sR/sRQIZqHpZKVOoPCOxxFzLe5f2_utSzB4s7Hfpm3dcRg.cache +1 -0
  3444. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sj/sjvi7CnvzGlBxEMhFCvIqksxGk63hjabDLz_BY9_OdA.cache +1 -0
  3445. data/test/dummy/tmp/cache/assets/sprockets/v3.0/t4/t4fcagjEnZvr4FqbN8NWQ0fN54Xql4w68LhX5UkbsG8.cache +1 -0
  3446. data/test/dummy/tmp/cache/assets/sprockets/v3.0/t5/t5OykmAd3cRqor0IR-ireyJfVAkxtiH5sK7xd6dNMAA.cache +1 -0
  3447. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uW/UWZGINKb14yUU5rrjm_s0cCCwrTIbkcklU3U28UZmSw.cache +1 -0
  3448. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uW/uWvI_8xvoF_n11od9qHySuJONzNnAhObsFvQpVwo-qM.cache +0 -0
  3449. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ue/ue7R-WZnj5LK5it5v8BtfFZoTuNIhLm7blvmf-rl__M.cache +0 -0
  3450. data/test/dummy/tmp/cache/assets/sprockets/v3.0/v2/v2PGvxFKaF5jLYBgjCWTo5cXupjO4cdfal1HMK0bPU0.cache +0 -0
  3451. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vI/vIJiFzpvwlUEdD9m1ICA8u4LqA2tFHtNSAQBWBfElTE.cache +1 -0
  3452. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vI/vIVnpzXv-OjJZQRIxrXL3XM-KL8scQB8y1wlOCZNaXE.cache +1 -0
  3453. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vI/vidEGcw2IvnQuDUCJWa-9MG87z1zA_30L9NzzVZhPWk.cache +1 -0
  3454. data/test/dummy/tmp/cache/assets/sprockets/v3.0/va/vaoKLTYGLHne0QKH4QJZjtUSYTKWMpIT83VgVeV1_fs.cache +0 -0
  3455. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vp/vpXStc2VTFJWy6rAuA9lbTLXEz2YxqsgLtx7Kg1Qe14.cache +2 -0
  3456. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wF/wFVGkMJ0wGwAwSBHDTd22b3R6zCsvpOHXfVDdNpOSxw.cache +0 -0
  3457. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wj/wj2pEMeqS73098tu8FGXM5qWkQ3qxdrPxeOHYypions.cache +1 -0
  3458. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wq/wqi8hbHyhhjFDnZiZzzAvpzJxSj2b0wsnPLp9CTFgGc.cache +1 -0
  3459. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xI/xIG5pl58VKvsIX8ryyQh1FowgxdEAGypI0klYMiVJeo.cache +0 -0
  3460. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yG/yGgJE8XGt2975Q1fHG9TfIuWv40au3QRmVfob7P1qkU.cache +1 -0
  3461. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yO/yOeZoI5mixFBK-adbMt2isNXxjM-0iGPuMv1owgaUdI.cache +0 -0
  3462. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yS/ySNeoxoSHQZ4H0K7Bf9gQ1d20t8NIi30To1s9OL-haA.cache +1 -0
  3463. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zI/zIbGJnyvo82IdqN3qeDlUhCkOWl-pQrNMkZNIdhRlkc.cache +1 -0
  3464. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zM/zMmNV8qLYtC5Kc4wv-ahWM_JnjWAUPw6eFv37DtOtB0.cache +1 -0
  3465. data/test/dummy/tmp/cache/brwy_rails/application.bundle.js +7 -0
  3466. data/test/test_helper.rb +20 -0
  3467. metadata +6994 -0
@@ -0,0 +1,3006 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define([], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["sourceMap"] = factory();
8
+ else
9
+ root["sourceMap"] = factory();
10
+ })(this, function() {
11
+ return /******/ (function(modules) { // webpackBootstrap
12
+ /******/ // The module cache
13
+ /******/ var installedModules = {};
14
+ /******/
15
+ /******/ // The require function
16
+ /******/ function __webpack_require__(moduleId) {
17
+ /******/
18
+ /******/ // Check if module is in cache
19
+ /******/ if(installedModules[moduleId])
20
+ /******/ return installedModules[moduleId].exports;
21
+ /******/
22
+ /******/ // Create a new module (and put it into the cache)
23
+ /******/ var module = installedModules[moduleId] = {
24
+ /******/ exports: {},
25
+ /******/ id: moduleId,
26
+ /******/ loaded: false
27
+ /******/ };
28
+ /******/
29
+ /******/ // Execute the module function
30
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
+ /******/
32
+ /******/ // Flag the module as loaded
33
+ /******/ module.loaded = true;
34
+ /******/
35
+ /******/ // Return the exports of the module
36
+ /******/ return module.exports;
37
+ /******/ }
38
+ /******/
39
+ /******/
40
+ /******/ // expose the modules object (__webpack_modules__)
41
+ /******/ __webpack_require__.m = modules;
42
+ /******/
43
+ /******/ // expose the module cache
44
+ /******/ __webpack_require__.c = installedModules;
45
+ /******/
46
+ /******/ // __webpack_public_path__
47
+ /******/ __webpack_require__.p = "";
48
+ /******/
49
+ /******/ // Load entry module and return exports
50
+ /******/ return __webpack_require__(0);
51
+ /******/ })
52
+ /************************************************************************/
53
+ /******/ ([
54
+ /* 0 */
55
+ /***/ function(module, exports, __webpack_require__) {
56
+
57
+ /*
58
+ * Copyright 2009-2011 Mozilla Foundation and contributors
59
+ * Licensed under the New BSD license. See LICENSE.txt or:
60
+ * http://opensource.org/licenses/BSD-3-Clause
61
+ */
62
+ exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;
63
+ exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer;
64
+ exports.SourceNode = __webpack_require__(10).SourceNode;
65
+
66
+
67
+ /***/ },
68
+ /* 1 */
69
+ /***/ function(module, exports, __webpack_require__) {
70
+
71
+ /* -*- Mode: js; js-indent-level: 2; -*- */
72
+ /*
73
+ * Copyright 2011 Mozilla Foundation and contributors
74
+ * Licensed under the New BSD license. See LICENSE or:
75
+ * http://opensource.org/licenses/BSD-3-Clause
76
+ */
77
+ {
78
+ var base64VLQ = __webpack_require__(2);
79
+ var util = __webpack_require__(4);
80
+ var ArraySet = __webpack_require__(5).ArraySet;
81
+ var MappingList = __webpack_require__(6).MappingList;
82
+
83
+ /**
84
+ * An instance of the SourceMapGenerator represents a source map which is
85
+ * being built incrementally. You may pass an object with the following
86
+ * properties:
87
+ *
88
+ * - file: The filename of the generated source.
89
+ * - sourceRoot: A root for all relative URLs in this source map.
90
+ */
91
+ function SourceMapGenerator(aArgs) {
92
+ if (!aArgs) {
93
+ aArgs = {};
94
+ }
95
+ this._file = util.getArg(aArgs, 'file', null);
96
+ this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);
97
+ this._skipValidation = util.getArg(aArgs, 'skipValidation', false);
98
+ this._sources = new ArraySet();
99
+ this._names = new ArraySet();
100
+ this._mappings = new MappingList();
101
+ this._sourcesContents = null;
102
+ }
103
+
104
+ SourceMapGenerator.prototype._version = 3;
105
+
106
+ /**
107
+ * Creates a new SourceMapGenerator based on a SourceMapConsumer
108
+ *
109
+ * @param aSourceMapConsumer The SourceMap.
110
+ */
111
+ SourceMapGenerator.fromSourceMap =
112
+ function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {
113
+ var sourceRoot = aSourceMapConsumer.sourceRoot;
114
+ var generator = new SourceMapGenerator({
115
+ file: aSourceMapConsumer.file,
116
+ sourceRoot: sourceRoot
117
+ });
118
+ aSourceMapConsumer.eachMapping(function (mapping) {
119
+ var newMapping = {
120
+ generated: {
121
+ line: mapping.generatedLine,
122
+ column: mapping.generatedColumn
123
+ }
124
+ };
125
+
126
+ if (mapping.source != null) {
127
+ newMapping.source = mapping.source;
128
+ if (sourceRoot != null) {
129
+ newMapping.source = util.relative(sourceRoot, newMapping.source);
130
+ }
131
+
132
+ newMapping.original = {
133
+ line: mapping.originalLine,
134
+ column: mapping.originalColumn
135
+ };
136
+
137
+ if (mapping.name != null) {
138
+ newMapping.name = mapping.name;
139
+ }
140
+ }
141
+
142
+ generator.addMapping(newMapping);
143
+ });
144
+ aSourceMapConsumer.sources.forEach(function (sourceFile) {
145
+ var content = aSourceMapConsumer.sourceContentFor(sourceFile);
146
+ if (content != null) {
147
+ generator.setSourceContent(sourceFile, content);
148
+ }
149
+ });
150
+ return generator;
151
+ };
152
+
153
+ /**
154
+ * Add a single mapping from original source line and column to the generated
155
+ * source's line and column for this source map being created. The mapping
156
+ * object should have the following properties:
157
+ *
158
+ * - generated: An object with the generated line and column positions.
159
+ * - original: An object with the original line and column positions.
160
+ * - source: The original source file (relative to the sourceRoot).
161
+ * - name: An optional original token name for this mapping.
162
+ */
163
+ SourceMapGenerator.prototype.addMapping =
164
+ function SourceMapGenerator_addMapping(aArgs) {
165
+ var generated = util.getArg(aArgs, 'generated');
166
+ var original = util.getArg(aArgs, 'original', null);
167
+ var source = util.getArg(aArgs, 'source', null);
168
+ var name = util.getArg(aArgs, 'name', null);
169
+
170
+ if (!this._skipValidation) {
171
+ this._validateMapping(generated, original, source, name);
172
+ }
173
+
174
+ if (source != null && !this._sources.has(source)) {
175
+ this._sources.add(source);
176
+ }
177
+
178
+ if (name != null && !this._names.has(name)) {
179
+ this._names.add(name);
180
+ }
181
+
182
+ this._mappings.add({
183
+ generatedLine: generated.line,
184
+ generatedColumn: generated.column,
185
+ originalLine: original != null && original.line,
186
+ originalColumn: original != null && original.column,
187
+ source: source,
188
+ name: name
189
+ });
190
+ };
191
+
192
+ /**
193
+ * Set the source content for a source file.
194
+ */
195
+ SourceMapGenerator.prototype.setSourceContent =
196
+ function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {
197
+ var source = aSourceFile;
198
+ if (this._sourceRoot != null) {
199
+ source = util.relative(this._sourceRoot, source);
200
+ }
201
+
202
+ if (aSourceContent != null) {
203
+ // Add the source content to the _sourcesContents map.
204
+ // Create a new _sourcesContents map if the property is null.
205
+ if (!this._sourcesContents) {
206
+ this._sourcesContents = {};
207
+ }
208
+ this._sourcesContents[util.toSetString(source)] = aSourceContent;
209
+ } else if (this._sourcesContents) {
210
+ // Remove the source file from the _sourcesContents map.
211
+ // If the _sourcesContents map is empty, set the property to null.
212
+ delete this._sourcesContents[util.toSetString(source)];
213
+ if (Object.keys(this._sourcesContents).length === 0) {
214
+ this._sourcesContents = null;
215
+ }
216
+ }
217
+ };
218
+
219
+ /**
220
+ * Applies the mappings of a sub-source-map for a specific source file to the
221
+ * source map being generated. Each mapping to the supplied source file is
222
+ * rewritten using the supplied source map. Note: The resolution for the
223
+ * resulting mappings is the minimium of this map and the supplied map.
224
+ *
225
+ * @param aSourceMapConsumer The source map to be applied.
226
+ * @param aSourceFile Optional. The filename of the source file.
227
+ * If omitted, SourceMapConsumer's file property will be used.
228
+ * @param aSourceMapPath Optional. The dirname of the path to the source map
229
+ * to be applied. If relative, it is relative to the SourceMapConsumer.
230
+ * This parameter is needed when the two source maps aren't in the same
231
+ * directory, and the source map to be applied contains relative source
232
+ * paths. If so, those relative source paths need to be rewritten
233
+ * relative to the SourceMapGenerator.
234
+ */
235
+ SourceMapGenerator.prototype.applySourceMap =
236
+ function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {
237
+ var sourceFile = aSourceFile;
238
+ // If aSourceFile is omitted, we will use the file property of the SourceMap
239
+ if (aSourceFile == null) {
240
+ if (aSourceMapConsumer.file == null) {
241
+ throw new Error(
242
+ 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' +
243
+ 'or the source map\'s "file" property. Both were omitted.'
244
+ );
245
+ }
246
+ sourceFile = aSourceMapConsumer.file;
247
+ }
248
+ var sourceRoot = this._sourceRoot;
249
+ // Make "sourceFile" relative if an absolute Url is passed.
250
+ if (sourceRoot != null) {
251
+ sourceFile = util.relative(sourceRoot, sourceFile);
252
+ }
253
+ // Applying the SourceMap can add and remove items from the sources and
254
+ // the names array.
255
+ var newSources = new ArraySet();
256
+ var newNames = new ArraySet();
257
+
258
+ // Find mappings for the "sourceFile"
259
+ this._mappings.unsortedForEach(function (mapping) {
260
+ if (mapping.source === sourceFile && mapping.originalLine != null) {
261
+ // Check if it can be mapped by the source map, then update the mapping.
262
+ var original = aSourceMapConsumer.originalPositionFor({
263
+ line: mapping.originalLine,
264
+ column: mapping.originalColumn
265
+ });
266
+ if (original.source != null) {
267
+ // Copy mapping
268
+ mapping.source = original.source;
269
+ if (aSourceMapPath != null) {
270
+ mapping.source = util.join(aSourceMapPath, mapping.source)
271
+ }
272
+ if (sourceRoot != null) {
273
+ mapping.source = util.relative(sourceRoot, mapping.source);
274
+ }
275
+ mapping.originalLine = original.line;
276
+ mapping.originalColumn = original.column;
277
+ if (original.name != null) {
278
+ mapping.name = original.name;
279
+ }
280
+ }
281
+ }
282
+
283
+ var source = mapping.source;
284
+ if (source != null && !newSources.has(source)) {
285
+ newSources.add(source);
286
+ }
287
+
288
+ var name = mapping.name;
289
+ if (name != null && !newNames.has(name)) {
290
+ newNames.add(name);
291
+ }
292
+
293
+ }, this);
294
+ this._sources = newSources;
295
+ this._names = newNames;
296
+
297
+ // Copy sourcesContents of applied map.
298
+ aSourceMapConsumer.sources.forEach(function (sourceFile) {
299
+ var content = aSourceMapConsumer.sourceContentFor(sourceFile);
300
+ if (content != null) {
301
+ if (aSourceMapPath != null) {
302
+ sourceFile = util.join(aSourceMapPath, sourceFile);
303
+ }
304
+ if (sourceRoot != null) {
305
+ sourceFile = util.relative(sourceRoot, sourceFile);
306
+ }
307
+ this.setSourceContent(sourceFile, content);
308
+ }
309
+ }, this);
310
+ };
311
+
312
+ /**
313
+ * A mapping can have one of the three levels of data:
314
+ *
315
+ * 1. Just the generated position.
316
+ * 2. The Generated position, original position, and original source.
317
+ * 3. Generated and original position, original source, as well as a name
318
+ * token.
319
+ *
320
+ * To maintain consistency, we validate that any new mapping being added falls
321
+ * in to one of these categories.
322
+ */
323
+ SourceMapGenerator.prototype._validateMapping =
324
+ function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,
325
+ aName) {
326
+ if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
327
+ && aGenerated.line > 0 && aGenerated.column >= 0
328
+ && !aOriginal && !aSource && !aName) {
329
+ // Case 1.
330
+ return;
331
+ }
332
+ else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
333
+ && aOriginal && 'line' in aOriginal && 'column' in aOriginal
334
+ && aGenerated.line > 0 && aGenerated.column >= 0
335
+ && aOriginal.line > 0 && aOriginal.column >= 0
336
+ && aSource) {
337
+ // Cases 2 and 3.
338
+ return;
339
+ }
340
+ else {
341
+ throw new Error('Invalid mapping: ' + JSON.stringify({
342
+ generated: aGenerated,
343
+ source: aSource,
344
+ original: aOriginal,
345
+ name: aName
346
+ }));
347
+ }
348
+ };
349
+
350
+ /**
351
+ * Serialize the accumulated mappings in to the stream of base 64 VLQs
352
+ * specified by the source map format.
353
+ */
354
+ SourceMapGenerator.prototype._serializeMappings =
355
+ function SourceMapGenerator_serializeMappings() {
356
+ var previousGeneratedColumn = 0;
357
+ var previousGeneratedLine = 1;
358
+ var previousOriginalColumn = 0;
359
+ var previousOriginalLine = 0;
360
+ var previousName = 0;
361
+ var previousSource = 0;
362
+ var result = '';
363
+ var mapping;
364
+ var nameIdx;
365
+ var sourceIdx;
366
+
367
+ var mappings = this._mappings.toArray();
368
+ for (var i = 0, len = mappings.length; i < len; i++) {
369
+ mapping = mappings[i];
370
+
371
+ if (mapping.generatedLine !== previousGeneratedLine) {
372
+ previousGeneratedColumn = 0;
373
+ while (mapping.generatedLine !== previousGeneratedLine) {
374
+ result += ';';
375
+ previousGeneratedLine++;
376
+ }
377
+ }
378
+ else {
379
+ if (i > 0) {
380
+ if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {
381
+ continue;
382
+ }
383
+ result += ',';
384
+ }
385
+ }
386
+
387
+ result += base64VLQ.encode(mapping.generatedColumn
388
+ - previousGeneratedColumn);
389
+ previousGeneratedColumn = mapping.generatedColumn;
390
+
391
+ if (mapping.source != null) {
392
+ sourceIdx = this._sources.indexOf(mapping.source);
393
+ result += base64VLQ.encode(sourceIdx - previousSource);
394
+ previousSource = sourceIdx;
395
+
396
+ // lines are stored 0-based in SourceMap spec version 3
397
+ result += base64VLQ.encode(mapping.originalLine - 1
398
+ - previousOriginalLine);
399
+ previousOriginalLine = mapping.originalLine - 1;
400
+
401
+ result += base64VLQ.encode(mapping.originalColumn
402
+ - previousOriginalColumn);
403
+ previousOriginalColumn = mapping.originalColumn;
404
+
405
+ if (mapping.name != null) {
406
+ nameIdx = this._names.indexOf(mapping.name);
407
+ result += base64VLQ.encode(nameIdx - previousName);
408
+ previousName = nameIdx;
409
+ }
410
+ }
411
+ }
412
+
413
+ return result;
414
+ };
415
+
416
+ SourceMapGenerator.prototype._generateSourcesContent =
417
+ function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {
418
+ return aSources.map(function (source) {
419
+ if (!this._sourcesContents) {
420
+ return null;
421
+ }
422
+ if (aSourceRoot != null) {
423
+ source = util.relative(aSourceRoot, source);
424
+ }
425
+ var key = util.toSetString(source);
426
+ return Object.prototype.hasOwnProperty.call(this._sourcesContents,
427
+ key)
428
+ ? this._sourcesContents[key]
429
+ : null;
430
+ }, this);
431
+ };
432
+
433
+ /**
434
+ * Externalize the source map.
435
+ */
436
+ SourceMapGenerator.prototype.toJSON =
437
+ function SourceMapGenerator_toJSON() {
438
+ var map = {
439
+ version: this._version,
440
+ sources: this._sources.toArray(),
441
+ names: this._names.toArray(),
442
+ mappings: this._serializeMappings()
443
+ };
444
+ if (this._file != null) {
445
+ map.file = this._file;
446
+ }
447
+ if (this._sourceRoot != null) {
448
+ map.sourceRoot = this._sourceRoot;
449
+ }
450
+ if (this._sourcesContents) {
451
+ map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);
452
+ }
453
+
454
+ return map;
455
+ };
456
+
457
+ /**
458
+ * Render the source map being generated to a string.
459
+ */
460
+ SourceMapGenerator.prototype.toString =
461
+ function SourceMapGenerator_toString() {
462
+ return JSON.stringify(this.toJSON());
463
+ };
464
+
465
+ exports.SourceMapGenerator = SourceMapGenerator;
466
+ }
467
+
468
+
469
+ /***/ },
470
+ /* 2 */
471
+ /***/ function(module, exports, __webpack_require__) {
472
+
473
+ /* -*- Mode: js; js-indent-level: 2; -*- */
474
+ /*
475
+ * Copyright 2011 Mozilla Foundation and contributors
476
+ * Licensed under the New BSD license. See LICENSE or:
477
+ * http://opensource.org/licenses/BSD-3-Clause
478
+ *
479
+ * Based on the Base 64 VLQ implementation in Closure Compiler:
480
+ * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java
481
+ *
482
+ * Copyright 2011 The Closure Compiler Authors. All rights reserved.
483
+ * Redistribution and use in source and binary forms, with or without
484
+ * modification, are permitted provided that the following conditions are
485
+ * met:
486
+ *
487
+ * * Redistributions of source code must retain the above copyright
488
+ * notice, this list of conditions and the following disclaimer.
489
+ * * Redistributions in binary form must reproduce the above
490
+ * copyright notice, this list of conditions and the following
491
+ * disclaimer in the documentation and/or other materials provided
492
+ * with the distribution.
493
+ * * Neither the name of Google Inc. nor the names of its
494
+ * contributors may be used to endorse or promote products derived
495
+ * from this software without specific prior written permission.
496
+ *
497
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
498
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
499
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
500
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
501
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
502
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
503
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
504
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
505
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
506
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
507
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
508
+ */
509
+ {
510
+ var base64 = __webpack_require__(3);
511
+
512
+ // A single base 64 digit can contain 6 bits of data. For the base 64 variable
513
+ // length quantities we use in the source map spec, the first bit is the sign,
514
+ // the next four bits are the actual value, and the 6th bit is the
515
+ // continuation bit. The continuation bit tells us whether there are more
516
+ // digits in this value following this digit.
517
+ //
518
+ // Continuation
519
+ // | Sign
520
+ // | |
521
+ // V V
522
+ // 101011
523
+
524
+ var VLQ_BASE_SHIFT = 5;
525
+
526
+ // binary: 100000
527
+ var VLQ_BASE = 1 << VLQ_BASE_SHIFT;
528
+
529
+ // binary: 011111
530
+ var VLQ_BASE_MASK = VLQ_BASE - 1;
531
+
532
+ // binary: 100000
533
+ var VLQ_CONTINUATION_BIT = VLQ_BASE;
534
+
535
+ /**
536
+ * Converts from a two-complement value to a value where the sign bit is
537
+ * placed in the least significant bit. For example, as decimals:
538
+ * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)
539
+ * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)
540
+ */
541
+ function toVLQSigned(aValue) {
542
+ return aValue < 0
543
+ ? ((-aValue) << 1) + 1
544
+ : (aValue << 1) + 0;
545
+ }
546
+
547
+ /**
548
+ * Converts to a two-complement value from a value where the sign bit is
549
+ * placed in the least significant bit. For example, as decimals:
550
+ * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1
551
+ * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2
552
+ */
553
+ function fromVLQSigned(aValue) {
554
+ var isNegative = (aValue & 1) === 1;
555
+ var shifted = aValue >> 1;
556
+ return isNegative
557
+ ? -shifted
558
+ : shifted;
559
+ }
560
+
561
+ /**
562
+ * Returns the base 64 VLQ encoded value.
563
+ */
564
+ exports.encode = function base64VLQ_encode(aValue) {
565
+ var encoded = "";
566
+ var digit;
567
+
568
+ var vlq = toVLQSigned(aValue);
569
+
570
+ do {
571
+ digit = vlq & VLQ_BASE_MASK;
572
+ vlq >>>= VLQ_BASE_SHIFT;
573
+ if (vlq > 0) {
574
+ // There are still more digits in this value, so we must make sure the
575
+ // continuation bit is marked.
576
+ digit |= VLQ_CONTINUATION_BIT;
577
+ }
578
+ encoded += base64.encode(digit);
579
+ } while (vlq > 0);
580
+
581
+ return encoded;
582
+ };
583
+
584
+ /**
585
+ * Decodes the next base 64 VLQ value from the given string and returns the
586
+ * value and the rest of the string via the out parameter.
587
+ */
588
+ exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
589
+ var strLen = aStr.length;
590
+ var result = 0;
591
+ var shift = 0;
592
+ var continuation, digit;
593
+
594
+ do {
595
+ if (aIndex >= strLen) {
596
+ throw new Error("Expected more digits in base 64 VLQ value.");
597
+ }
598
+
599
+ digit = base64.decode(aStr.charCodeAt(aIndex++));
600
+ if (digit === -1) {
601
+ throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1));
602
+ }
603
+
604
+ continuation = !!(digit & VLQ_CONTINUATION_BIT);
605
+ digit &= VLQ_BASE_MASK;
606
+ result = result + (digit << shift);
607
+ shift += VLQ_BASE_SHIFT;
608
+ } while (continuation);
609
+
610
+ aOutParam.value = fromVLQSigned(result);
611
+ aOutParam.rest = aIndex;
612
+ };
613
+ }
614
+
615
+
616
+ /***/ },
617
+ /* 3 */
618
+ /***/ function(module, exports) {
619
+
620
+ /* -*- Mode: js; js-indent-level: 2; -*- */
621
+ /*
622
+ * Copyright 2011 Mozilla Foundation and contributors
623
+ * Licensed under the New BSD license. See LICENSE or:
624
+ * http://opensource.org/licenses/BSD-3-Clause
625
+ */
626
+ {
627
+ var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');
628
+
629
+ /**
630
+ * Encode an integer in the range of 0 to 63 to a single base 64 digit.
631
+ */
632
+ exports.encode = function (number) {
633
+ if (0 <= number && number < intToCharMap.length) {
634
+ return intToCharMap[number];
635
+ }
636
+ throw new TypeError("Must be between 0 and 63: " + number);
637
+ };
638
+
639
+ /**
640
+ * Decode a single base 64 character code digit to an integer. Returns -1 on
641
+ * failure.
642
+ */
643
+ exports.decode = function (charCode) {
644
+ var bigA = 65; // 'A'
645
+ var bigZ = 90; // 'Z'
646
+
647
+ var littleA = 97; // 'a'
648
+ var littleZ = 122; // 'z'
649
+
650
+ var zero = 48; // '0'
651
+ var nine = 57; // '9'
652
+
653
+ var plus = 43; // '+'
654
+ var slash = 47; // '/'
655
+
656
+ var littleOffset = 26;
657
+ var numberOffset = 52;
658
+
659
+ // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ
660
+ if (bigA <= charCode && charCode <= bigZ) {
661
+ return (charCode - bigA);
662
+ }
663
+
664
+ // 26 - 51: abcdefghijklmnopqrstuvwxyz
665
+ if (littleA <= charCode && charCode <= littleZ) {
666
+ return (charCode - littleA + littleOffset);
667
+ }
668
+
669
+ // 52 - 61: 0123456789
670
+ if (zero <= charCode && charCode <= nine) {
671
+ return (charCode - zero + numberOffset);
672
+ }
673
+
674
+ // 62: +
675
+ if (charCode == plus) {
676
+ return 62;
677
+ }
678
+
679
+ // 63: /
680
+ if (charCode == slash) {
681
+ return 63;
682
+ }
683
+
684
+ // Invalid base64 digit.
685
+ return -1;
686
+ };
687
+ }
688
+
689
+
690
+ /***/ },
691
+ /* 4 */
692
+ /***/ function(module, exports) {
693
+
694
+ /* -*- Mode: js; js-indent-level: 2; -*- */
695
+ /*
696
+ * Copyright 2011 Mozilla Foundation and contributors
697
+ * Licensed under the New BSD license. See LICENSE or:
698
+ * http://opensource.org/licenses/BSD-3-Clause
699
+ */
700
+ {
701
+ /**
702
+ * This is a helper function for getting values from parameter/options
703
+ * objects.
704
+ *
705
+ * @param args The object we are extracting values from
706
+ * @param name The name of the property we are getting.
707
+ * @param defaultValue An optional value to return if the property is missing
708
+ * from the object. If this is not specified and the property is missing, an
709
+ * error will be thrown.
710
+ */
711
+ function getArg(aArgs, aName, aDefaultValue) {
712
+ if (aName in aArgs) {
713
+ return aArgs[aName];
714
+ } else if (arguments.length === 3) {
715
+ return aDefaultValue;
716
+ } else {
717
+ throw new Error('"' + aName + '" is a required argument.');
718
+ }
719
+ }
720
+ exports.getArg = getArg;
721
+
722
+ var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/;
723
+ var dataUrlRegexp = /^data:.+\,.+$/;
724
+
725
+ function urlParse(aUrl) {
726
+ var match = aUrl.match(urlRegexp);
727
+ if (!match) {
728
+ return null;
729
+ }
730
+ return {
731
+ scheme: match[1],
732
+ auth: match[2],
733
+ host: match[3],
734
+ port: match[4],
735
+ path: match[5]
736
+ };
737
+ }
738
+ exports.urlParse = urlParse;
739
+
740
+ function urlGenerate(aParsedUrl) {
741
+ var url = '';
742
+ if (aParsedUrl.scheme) {
743
+ url += aParsedUrl.scheme + ':';
744
+ }
745
+ url += '//';
746
+ if (aParsedUrl.auth) {
747
+ url += aParsedUrl.auth + '@';
748
+ }
749
+ if (aParsedUrl.host) {
750
+ url += aParsedUrl.host;
751
+ }
752
+ if (aParsedUrl.port) {
753
+ url += ":" + aParsedUrl.port
754
+ }
755
+ if (aParsedUrl.path) {
756
+ url += aParsedUrl.path;
757
+ }
758
+ return url;
759
+ }
760
+ exports.urlGenerate = urlGenerate;
761
+
762
+ /**
763
+ * Normalizes a path, or the path portion of a URL:
764
+ *
765
+ * - Replaces consequtive slashes with one slash.
766
+ * - Removes unnecessary '.' parts.
767
+ * - Removes unnecessary '<dir>/..' parts.
768
+ *
769
+ * Based on code in the Node.js 'path' core module.
770
+ *
771
+ * @param aPath The path or url to normalize.
772
+ */
773
+ function normalize(aPath) {
774
+ var path = aPath;
775
+ var url = urlParse(aPath);
776
+ if (url) {
777
+ if (!url.path) {
778
+ return aPath;
779
+ }
780
+ path = url.path;
781
+ }
782
+ var isAbsolute = exports.isAbsolute(path);
783
+
784
+ var parts = path.split(/\/+/);
785
+ for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
786
+ part = parts[i];
787
+ if (part === '.') {
788
+ parts.splice(i, 1);
789
+ } else if (part === '..') {
790
+ up++;
791
+ } else if (up > 0) {
792
+ if (part === '') {
793
+ // The first part is blank if the path is absolute. Trying to go
794
+ // above the root is a no-op. Therefore we can remove all '..' parts
795
+ // directly after the root.
796
+ parts.splice(i + 1, up);
797
+ up = 0;
798
+ } else {
799
+ parts.splice(i, 2);
800
+ up--;
801
+ }
802
+ }
803
+ }
804
+ path = parts.join('/');
805
+
806
+ if (path === '') {
807
+ path = isAbsolute ? '/' : '.';
808
+ }
809
+
810
+ if (url) {
811
+ url.path = path;
812
+ return urlGenerate(url);
813
+ }
814
+ return path;
815
+ }
816
+ exports.normalize = normalize;
817
+
818
+ /**
819
+ * Joins two paths/URLs.
820
+ *
821
+ * @param aRoot The root path or URL.
822
+ * @param aPath The path or URL to be joined with the root.
823
+ *
824
+ * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a
825
+ * scheme-relative URL: Then the scheme of aRoot, if any, is prepended
826
+ * first.
827
+ * - Otherwise aPath is a path. If aRoot is a URL, then its path portion
828
+ * is updated with the result and aRoot is returned. Otherwise the result
829
+ * is returned.
830
+ * - If aPath is absolute, the result is aPath.
831
+ * - Otherwise the two paths are joined with a slash.
832
+ * - Joining for example 'http://' and 'www.example.com' is also supported.
833
+ */
834
+ function join(aRoot, aPath) {
835
+ if (aRoot === "") {
836
+ aRoot = ".";
837
+ }
838
+ if (aPath === "") {
839
+ aPath = ".";
840
+ }
841
+ var aPathUrl = urlParse(aPath);
842
+ var aRootUrl = urlParse(aRoot);
843
+ if (aRootUrl) {
844
+ aRoot = aRootUrl.path || '/';
845
+ }
846
+
847
+ // `join(foo, '//www.example.org')`
848
+ if (aPathUrl && !aPathUrl.scheme) {
849
+ if (aRootUrl) {
850
+ aPathUrl.scheme = aRootUrl.scheme;
851
+ }
852
+ return urlGenerate(aPathUrl);
853
+ }
854
+
855
+ if (aPathUrl || aPath.match(dataUrlRegexp)) {
856
+ return aPath;
857
+ }
858
+
859
+ // `join('http://', 'www.example.com')`
860
+ if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {
861
+ aRootUrl.host = aPath;
862
+ return urlGenerate(aRootUrl);
863
+ }
864
+
865
+ var joined = aPath.charAt(0) === '/'
866
+ ? aPath
867
+ : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath);
868
+
869
+ if (aRootUrl) {
870
+ aRootUrl.path = joined;
871
+ return urlGenerate(aRootUrl);
872
+ }
873
+ return joined;
874
+ }
875
+ exports.join = join;
876
+
877
+ exports.isAbsolute = function (aPath) {
878
+ return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp);
879
+ };
880
+
881
+ /**
882
+ * Make a path relative to a URL or another path.
883
+ *
884
+ * @param aRoot The root path or URL.
885
+ * @param aPath The path or URL to be made relative to aRoot.
886
+ */
887
+ function relative(aRoot, aPath) {
888
+ if (aRoot === "") {
889
+ aRoot = ".";
890
+ }
891
+
892
+ aRoot = aRoot.replace(/\/$/, '');
893
+
894
+ // It is possible for the path to be above the root. In this case, simply
895
+ // checking whether the root is a prefix of the path won't work. Instead, we
896
+ // need to remove components from the root one by one, until either we find
897
+ // a prefix that fits, or we run out of components to remove.
898
+ var level = 0;
899
+ while (aPath.indexOf(aRoot + '/') !== 0) {
900
+ var index = aRoot.lastIndexOf("/");
901
+ if (index < 0) {
902
+ return aPath;
903
+ }
904
+
905
+ // If the only part of the root that is left is the scheme (i.e. http://,
906
+ // file:///, etc.), one or more slashes (/), or simply nothing at all, we
907
+ // have exhausted all components, so the path is not relative to the root.
908
+ aRoot = aRoot.slice(0, index);
909
+ if (aRoot.match(/^([^\/]+:\/)?\/*$/)) {
910
+ return aPath;
911
+ }
912
+
913
+ ++level;
914
+ }
915
+
916
+ // Make sure we add a "../" for each component we removed from the root.
917
+ return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
918
+ }
919
+ exports.relative = relative;
920
+
921
+ /**
922
+ * Because behavior goes wacky when you set `__proto__` on objects, we
923
+ * have to prefix all the strings in our set with an arbitrary character.
924
+ *
925
+ * See https://github.com/mozilla/source-map/pull/31 and
926
+ * https://github.com/mozilla/source-map/issues/30
927
+ *
928
+ * @param String aStr
929
+ */
930
+ function toSetString(aStr) {
931
+ return '$' + aStr;
932
+ }
933
+ exports.toSetString = toSetString;
934
+
935
+ function fromSetString(aStr) {
936
+ return aStr.substr(1);
937
+ }
938
+ exports.fromSetString = fromSetString;
939
+
940
+ /**
941
+ * Comparator between two mappings where the original positions are compared.
942
+ *
943
+ * Optionally pass in `true` as `onlyCompareGenerated` to consider two
944
+ * mappings with the same original source/line/column, but different generated
945
+ * line and column the same. Useful when searching for a mapping with a
946
+ * stubbed out mapping.
947
+ */
948
+ function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {
949
+ var cmp = mappingA.source - mappingB.source;
950
+ if (cmp !== 0) {
951
+ return cmp;
952
+ }
953
+
954
+ cmp = mappingA.originalLine - mappingB.originalLine;
955
+ if (cmp !== 0) {
956
+ return cmp;
957
+ }
958
+
959
+ cmp = mappingA.originalColumn - mappingB.originalColumn;
960
+ if (cmp !== 0 || onlyCompareOriginal) {
961
+ return cmp;
962
+ }
963
+
964
+ cmp = mappingA.generatedColumn - mappingB.generatedColumn;
965
+ if (cmp !== 0) {
966
+ return cmp;
967
+ }
968
+
969
+ cmp = mappingA.generatedLine - mappingB.generatedLine;
970
+ if (cmp !== 0) {
971
+ return cmp;
972
+ }
973
+
974
+ return mappingA.name - mappingB.name;
975
+ }
976
+ exports.compareByOriginalPositions = compareByOriginalPositions;
977
+
978
+ /**
979
+ * Comparator between two mappings with deflated source and name indices where
980
+ * the generated positions are compared.
981
+ *
982
+ * Optionally pass in `true` as `onlyCompareGenerated` to consider two
983
+ * mappings with the same generated line and column, but different
984
+ * source/name/original line and column the same. Useful when searching for a
985
+ * mapping with a stubbed out mapping.
986
+ */
987
+ function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {
988
+ var cmp = mappingA.generatedLine - mappingB.generatedLine;
989
+ if (cmp !== 0) {
990
+ return cmp;
991
+ }
992
+
993
+ cmp = mappingA.generatedColumn - mappingB.generatedColumn;
994
+ if (cmp !== 0 || onlyCompareGenerated) {
995
+ return cmp;
996
+ }
997
+
998
+ cmp = mappingA.source - mappingB.source;
999
+ if (cmp !== 0) {
1000
+ return cmp;
1001
+ }
1002
+
1003
+ cmp = mappingA.originalLine - mappingB.originalLine;
1004
+ if (cmp !== 0) {
1005
+ return cmp;
1006
+ }
1007
+
1008
+ cmp = mappingA.originalColumn - mappingB.originalColumn;
1009
+ if (cmp !== 0) {
1010
+ return cmp;
1011
+ }
1012
+
1013
+ return mappingA.name - mappingB.name;
1014
+ }
1015
+ exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
1016
+
1017
+ function strcmp(aStr1, aStr2) {
1018
+ if (aStr1 === aStr2) {
1019
+ return 0;
1020
+ }
1021
+
1022
+ if (aStr1 > aStr2) {
1023
+ return 1;
1024
+ }
1025
+
1026
+ return -1;
1027
+ }
1028
+
1029
+ /**
1030
+ * Comparator between two mappings with inflated source and name strings where
1031
+ * the generated positions are compared.
1032
+ */
1033
+ function compareByGeneratedPositionsInflated(mappingA, mappingB) {
1034
+ var cmp = mappingA.generatedLine - mappingB.generatedLine;
1035
+ if (cmp !== 0) {
1036
+ return cmp;
1037
+ }
1038
+
1039
+ cmp = mappingA.generatedColumn - mappingB.generatedColumn;
1040
+ if (cmp !== 0) {
1041
+ return cmp;
1042
+ }
1043
+
1044
+ cmp = strcmp(mappingA.source, mappingB.source);
1045
+ if (cmp !== 0) {
1046
+ return cmp;
1047
+ }
1048
+
1049
+ cmp = mappingA.originalLine - mappingB.originalLine;
1050
+ if (cmp !== 0) {
1051
+ return cmp;
1052
+ }
1053
+
1054
+ cmp = mappingA.originalColumn - mappingB.originalColumn;
1055
+ if (cmp !== 0) {
1056
+ return cmp;
1057
+ }
1058
+
1059
+ return strcmp(mappingA.name, mappingB.name);
1060
+ }
1061
+ exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
1062
+ }
1063
+
1064
+
1065
+ /***/ },
1066
+ /* 5 */
1067
+ /***/ function(module, exports, __webpack_require__) {
1068
+
1069
+ /* -*- Mode: js; js-indent-level: 2; -*- */
1070
+ /*
1071
+ * Copyright 2011 Mozilla Foundation and contributors
1072
+ * Licensed under the New BSD license. See LICENSE or:
1073
+ * http://opensource.org/licenses/BSD-3-Clause
1074
+ */
1075
+ {
1076
+ var util = __webpack_require__(4);
1077
+
1078
+ /**
1079
+ * A data structure which is a combination of an array and a set. Adding a new
1080
+ * member is O(1), testing for membership is O(1), and finding the index of an
1081
+ * element is O(1). Removing elements from the set is not supported. Only
1082
+ * strings are supported for membership.
1083
+ */
1084
+ function ArraySet() {
1085
+ this._array = [];
1086
+ this._set = {};
1087
+ }
1088
+
1089
+ /**
1090
+ * Static method for creating ArraySet instances from an existing array.
1091
+ */
1092
+ ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
1093
+ var set = new ArraySet();
1094
+ for (var i = 0, len = aArray.length; i < len; i++) {
1095
+ set.add(aArray[i], aAllowDuplicates);
1096
+ }
1097
+ return set;
1098
+ };
1099
+
1100
+ /**
1101
+ * Return how many unique items are in this ArraySet. If duplicates have been
1102
+ * added, than those do not count towards the size.
1103
+ *
1104
+ * @returns Number
1105
+ */
1106
+ ArraySet.prototype.size = function ArraySet_size() {
1107
+ return Object.getOwnPropertyNames(this._set).length;
1108
+ };
1109
+
1110
+ /**
1111
+ * Add the given string to this set.
1112
+ *
1113
+ * @param String aStr
1114
+ */
1115
+ ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {
1116
+ var sStr = util.toSetString(aStr);
1117
+ var isDuplicate = this._set.hasOwnProperty(sStr);
1118
+ var idx = this._array.length;
1119
+ if (!isDuplicate || aAllowDuplicates) {
1120
+ this._array.push(aStr);
1121
+ }
1122
+ if (!isDuplicate) {
1123
+ this._set[sStr] = idx;
1124
+ }
1125
+ };
1126
+
1127
+ /**
1128
+ * Is the given string a member of this set?
1129
+ *
1130
+ * @param String aStr
1131
+ */
1132
+ ArraySet.prototype.has = function ArraySet_has(aStr) {
1133
+ var sStr = util.toSetString(aStr);
1134
+ return this._set.hasOwnProperty(sStr);
1135
+ };
1136
+
1137
+ /**
1138
+ * What is the index of the given string in the array?
1139
+ *
1140
+ * @param String aStr
1141
+ */
1142
+ ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {
1143
+ var sStr = util.toSetString(aStr);
1144
+ if (this._set.hasOwnProperty(sStr)) {
1145
+ return this._set[sStr];
1146
+ }
1147
+ throw new Error('"' + aStr + '" is not in the set.');
1148
+ };
1149
+
1150
+ /**
1151
+ * What is the element at the given index?
1152
+ *
1153
+ * @param Number aIdx
1154
+ */
1155
+ ArraySet.prototype.at = function ArraySet_at(aIdx) {
1156
+ if (aIdx >= 0 && aIdx < this._array.length) {
1157
+ return this._array[aIdx];
1158
+ }
1159
+ throw new Error('No element indexed by ' + aIdx);
1160
+ };
1161
+
1162
+ /**
1163
+ * Returns the array representation of this set (which has the proper indices
1164
+ * indicated by indexOf). Note that this is a copy of the internal array used
1165
+ * for storing the members so that no one can mess with internal state.
1166
+ */
1167
+ ArraySet.prototype.toArray = function ArraySet_toArray() {
1168
+ return this._array.slice();
1169
+ };
1170
+
1171
+ exports.ArraySet = ArraySet;
1172
+ }
1173
+
1174
+
1175
+ /***/ },
1176
+ /* 6 */
1177
+ /***/ function(module, exports, __webpack_require__) {
1178
+
1179
+ /* -*- Mode: js; js-indent-level: 2; -*- */
1180
+ /*
1181
+ * Copyright 2014 Mozilla Foundation and contributors
1182
+ * Licensed under the New BSD license. See LICENSE or:
1183
+ * http://opensource.org/licenses/BSD-3-Clause
1184
+ */
1185
+ {
1186
+ var util = __webpack_require__(4);
1187
+
1188
+ /**
1189
+ * Determine whether mappingB is after mappingA with respect to generated
1190
+ * position.
1191
+ */
1192
+ function generatedPositionAfter(mappingA, mappingB) {
1193
+ // Optimized for most common case
1194
+ var lineA = mappingA.generatedLine;
1195
+ var lineB = mappingB.generatedLine;
1196
+ var columnA = mappingA.generatedColumn;
1197
+ var columnB = mappingB.generatedColumn;
1198
+ return lineB > lineA || lineB == lineA && columnB >= columnA ||
1199
+ util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;
1200
+ }
1201
+
1202
+ /**
1203
+ * A data structure to provide a sorted view of accumulated mappings in a
1204
+ * performance conscious manner. It trades a neglibable overhead in general
1205
+ * case for a large speedup in case of mappings being added in order.
1206
+ */
1207
+ function MappingList() {
1208
+ this._array = [];
1209
+ this._sorted = true;
1210
+ // Serves as infimum
1211
+ this._last = {generatedLine: -1, generatedColumn: 0};
1212
+ }
1213
+
1214
+ /**
1215
+ * Iterate through internal items. This method takes the same arguments that
1216
+ * `Array.prototype.forEach` takes.
1217
+ *
1218
+ * NOTE: The order of the mappings is NOT guaranteed.
1219
+ */
1220
+ MappingList.prototype.unsortedForEach =
1221
+ function MappingList_forEach(aCallback, aThisArg) {
1222
+ this._array.forEach(aCallback, aThisArg);
1223
+ };
1224
+
1225
+ /**
1226
+ * Add the given source mapping.
1227
+ *
1228
+ * @param Object aMapping
1229
+ */
1230
+ MappingList.prototype.add = function MappingList_add(aMapping) {
1231
+ if (generatedPositionAfter(this._last, aMapping)) {
1232
+ this._last = aMapping;
1233
+ this._array.push(aMapping);
1234
+ } else {
1235
+ this._sorted = false;
1236
+ this._array.push(aMapping);
1237
+ }
1238
+ };
1239
+
1240
+ /**
1241
+ * Returns the flat, sorted array of mappings. The mappings are sorted by
1242
+ * generated position.
1243
+ *
1244
+ * WARNING: This method returns internal data without copying, for
1245
+ * performance. The return value must NOT be mutated, and should be treated as
1246
+ * an immutable borrow. If you want to take ownership, you must make your own
1247
+ * copy.
1248
+ */
1249
+ MappingList.prototype.toArray = function MappingList_toArray() {
1250
+ if (!this._sorted) {
1251
+ this._array.sort(util.compareByGeneratedPositionsInflated);
1252
+ this._sorted = true;
1253
+ }
1254
+ return this._array;
1255
+ };
1256
+
1257
+ exports.MappingList = MappingList;
1258
+ }
1259
+
1260
+
1261
+ /***/ },
1262
+ /* 7 */
1263
+ /***/ function(module, exports, __webpack_require__) {
1264
+
1265
+ /* -*- Mode: js; js-indent-level: 2; -*- */
1266
+ /*
1267
+ * Copyright 2011 Mozilla Foundation and contributors
1268
+ * Licensed under the New BSD license. See LICENSE or:
1269
+ * http://opensource.org/licenses/BSD-3-Clause
1270
+ */
1271
+ {
1272
+ var util = __webpack_require__(4);
1273
+ var binarySearch = __webpack_require__(8);
1274
+ var ArraySet = __webpack_require__(5).ArraySet;
1275
+ var base64VLQ = __webpack_require__(2);
1276
+ var quickSort = __webpack_require__(9).quickSort;
1277
+
1278
+ function SourceMapConsumer(aSourceMap) {
1279
+ var sourceMap = aSourceMap;
1280
+ if (typeof aSourceMap === 'string') {
1281
+ sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, ''));
1282
+ }
1283
+
1284
+ return sourceMap.sections != null
1285
+ ? new IndexedSourceMapConsumer(sourceMap)
1286
+ : new BasicSourceMapConsumer(sourceMap);
1287
+ }
1288
+
1289
+ SourceMapConsumer.fromSourceMap = function(aSourceMap) {
1290
+ return BasicSourceMapConsumer.fromSourceMap(aSourceMap);
1291
+ }
1292
+
1293
+ /**
1294
+ * The version of the source mapping spec that we are consuming.
1295
+ */
1296
+ SourceMapConsumer.prototype._version = 3;
1297
+
1298
+ // `__generatedMappings` and `__originalMappings` are arrays that hold the
1299
+ // parsed mapping coordinates from the source map's "mappings" attribute. They
1300
+ // are lazily instantiated, accessed via the `_generatedMappings` and
1301
+ // `_originalMappings` getters respectively, and we only parse the mappings
1302
+ // and create these arrays once queried for a source location. We jump through
1303
+ // these hoops because there can be many thousands of mappings, and parsing
1304
+ // them is expensive, so we only want to do it if we must.
1305
+ //
1306
+ // Each object in the arrays is of the form:
1307
+ //
1308
+ // {
1309
+ // generatedLine: The line number in the generated code,
1310
+ // generatedColumn: The column number in the generated code,
1311
+ // source: The path to the original source file that generated this
1312
+ // chunk of code,
1313
+ // originalLine: The line number in the original source that
1314
+ // corresponds to this chunk of generated code,
1315
+ // originalColumn: The column number in the original source that
1316
+ // corresponds to this chunk of generated code,
1317
+ // name: The name of the original symbol which generated this chunk of
1318
+ // code.
1319
+ // }
1320
+ //
1321
+ // All properties except for `generatedLine` and `generatedColumn` can be
1322
+ // `null`.
1323
+ //
1324
+ // `_generatedMappings` is ordered by the generated positions.
1325
+ //
1326
+ // `_originalMappings` is ordered by the original positions.
1327
+
1328
+ SourceMapConsumer.prototype.__generatedMappings = null;
1329
+ Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {
1330
+ get: function () {
1331
+ if (!this.__generatedMappings) {
1332
+ this._parseMappings(this._mappings, this.sourceRoot);
1333
+ }
1334
+
1335
+ return this.__generatedMappings;
1336
+ }
1337
+ });
1338
+
1339
+ SourceMapConsumer.prototype.__originalMappings = null;
1340
+ Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {
1341
+ get: function () {
1342
+ if (!this.__originalMappings) {
1343
+ this._parseMappings(this._mappings, this.sourceRoot);
1344
+ }
1345
+
1346
+ return this.__originalMappings;
1347
+ }
1348
+ });
1349
+
1350
+ SourceMapConsumer.prototype._charIsMappingSeparator =
1351
+ function SourceMapConsumer_charIsMappingSeparator(aStr, index) {
1352
+ var c = aStr.charAt(index);
1353
+ return c === ";" || c === ",";
1354
+ };
1355
+
1356
+ /**
1357
+ * Parse the mappings in a string in to a data structure which we can easily
1358
+ * query (the ordered arrays in the `this.__generatedMappings` and
1359
+ * `this.__originalMappings` properties).
1360
+ */
1361
+ SourceMapConsumer.prototype._parseMappings =
1362
+ function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
1363
+ throw new Error("Subclasses must implement _parseMappings");
1364
+ };
1365
+
1366
+ SourceMapConsumer.GENERATED_ORDER = 1;
1367
+ SourceMapConsumer.ORIGINAL_ORDER = 2;
1368
+
1369
+ SourceMapConsumer.GREATEST_LOWER_BOUND = 1;
1370
+ SourceMapConsumer.LEAST_UPPER_BOUND = 2;
1371
+
1372
+ /**
1373
+ * Iterate over each mapping between an original source/line/column and a
1374
+ * generated line/column in this source map.
1375
+ *
1376
+ * @param Function aCallback
1377
+ * The function that is called with each mapping.
1378
+ * @param Object aContext
1379
+ * Optional. If specified, this object will be the value of `this` every
1380
+ * time that `aCallback` is called.
1381
+ * @param aOrder
1382
+ * Either `SourceMapConsumer.GENERATED_ORDER` or
1383
+ * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to
1384
+ * iterate over the mappings sorted by the generated file's line/column
1385
+ * order or the original's source/line/column order, respectively. Defaults to
1386
+ * `SourceMapConsumer.GENERATED_ORDER`.
1387
+ */
1388
+ SourceMapConsumer.prototype.eachMapping =
1389
+ function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
1390
+ var context = aContext || null;
1391
+ var order = aOrder || SourceMapConsumer.GENERATED_ORDER;
1392
+
1393
+ var mappings;
1394
+ switch (order) {
1395
+ case SourceMapConsumer.GENERATED_ORDER:
1396
+ mappings = this._generatedMappings;
1397
+ break;
1398
+ case SourceMapConsumer.ORIGINAL_ORDER:
1399
+ mappings = this._originalMappings;
1400
+ break;
1401
+ default:
1402
+ throw new Error("Unknown order of iteration.");
1403
+ }
1404
+
1405
+ var sourceRoot = this.sourceRoot;
1406
+ mappings.map(function (mapping) {
1407
+ var source = mapping.source === null ? null : this._sources.at(mapping.source);
1408
+ if (source != null && sourceRoot != null) {
1409
+ source = util.join(sourceRoot, source);
1410
+ }
1411
+ return {
1412
+ source: source,
1413
+ generatedLine: mapping.generatedLine,
1414
+ generatedColumn: mapping.generatedColumn,
1415
+ originalLine: mapping.originalLine,
1416
+ originalColumn: mapping.originalColumn,
1417
+ name: mapping.name === null ? null : this._names.at(mapping.name)
1418
+ };
1419
+ }, this).forEach(aCallback, context);
1420
+ };
1421
+
1422
+ /**
1423
+ * Returns all generated line and column information for the original source,
1424
+ * line, and column provided. If no column is provided, returns all mappings
1425
+ * corresponding to a either the line we are searching for or the next
1426
+ * closest line that has any mappings. Otherwise, returns all mappings
1427
+ * corresponding to the given line and either the column we are searching for
1428
+ * or the next closest column that has any offsets.
1429
+ *
1430
+ * The only argument is an object with the following properties:
1431
+ *
1432
+ * - source: The filename of the original source.
1433
+ * - line: The line number in the original source.
1434
+ * - column: Optional. the column number in the original source.
1435
+ *
1436
+ * and an array of objects is returned, each with the following properties:
1437
+ *
1438
+ * - line: The line number in the generated source, or null.
1439
+ * - column: The column number in the generated source, or null.
1440
+ */
1441
+ SourceMapConsumer.prototype.allGeneratedPositionsFor =
1442
+ function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {
1443
+ var line = util.getArg(aArgs, 'line');
1444
+
1445
+ // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping
1446
+ // returns the index of the closest mapping less than the needle. By
1447
+ // setting needle.originalColumn to 0, we thus find the last mapping for
1448
+ // the given line, provided such a mapping exists.
1449
+ var needle = {
1450
+ source: util.getArg(aArgs, 'source'),
1451
+ originalLine: line,
1452
+ originalColumn: util.getArg(aArgs, 'column', 0)
1453
+ };
1454
+
1455
+ if (this.sourceRoot != null) {
1456
+ needle.source = util.relative(this.sourceRoot, needle.source);
1457
+ }
1458
+ if (!this._sources.has(needle.source)) {
1459
+ return [];
1460
+ }
1461
+ needle.source = this._sources.indexOf(needle.source);
1462
+
1463
+ var mappings = [];
1464
+
1465
+ var index = this._findMapping(needle,
1466
+ this._originalMappings,
1467
+ "originalLine",
1468
+ "originalColumn",
1469
+ util.compareByOriginalPositions,
1470
+ binarySearch.LEAST_UPPER_BOUND);
1471
+ if (index >= 0) {
1472
+ var mapping = this._originalMappings[index];
1473
+
1474
+ if (aArgs.column === undefined) {
1475
+ var originalLine = mapping.originalLine;
1476
+
1477
+ // Iterate until either we run out of mappings, or we run into
1478
+ // a mapping for a different line than the one we found. Since
1479
+ // mappings are sorted, this is guaranteed to find all mappings for
1480
+ // the line we found.
1481
+ while (mapping && mapping.originalLine === originalLine) {
1482
+ mappings.push({
1483
+ line: util.getArg(mapping, 'generatedLine', null),
1484
+ column: util.getArg(mapping, 'generatedColumn', null),
1485
+ lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
1486
+ });
1487
+
1488
+ mapping = this._originalMappings[++index];
1489
+ }
1490
+ } else {
1491
+ var originalColumn = mapping.originalColumn;
1492
+
1493
+ // Iterate until either we run out of mappings, or we run into
1494
+ // a mapping for a different line than the one we were searching for.
1495
+ // Since mappings are sorted, this is guaranteed to find all mappings for
1496
+ // the line we are searching for.
1497
+ while (mapping &&
1498
+ mapping.originalLine === line &&
1499
+ mapping.originalColumn == originalColumn) {
1500
+ mappings.push({
1501
+ line: util.getArg(mapping, 'generatedLine', null),
1502
+ column: util.getArg(mapping, 'generatedColumn', null),
1503
+ lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
1504
+ });
1505
+
1506
+ mapping = this._originalMappings[++index];
1507
+ }
1508
+ }
1509
+ }
1510
+
1511
+ return mappings;
1512
+ };
1513
+
1514
+ exports.SourceMapConsumer = SourceMapConsumer;
1515
+
1516
+ /**
1517
+ * A BasicSourceMapConsumer instance represents a parsed source map which we can
1518
+ * query for information about the original file positions by giving it a file
1519
+ * position in the generated source.
1520
+ *
1521
+ * The only parameter is the raw source map (either as a JSON string, or
1522
+ * already parsed to an object). According to the spec, source maps have the
1523
+ * following attributes:
1524
+ *
1525
+ * - version: Which version of the source map spec this map is following.
1526
+ * - sources: An array of URLs to the original source files.
1527
+ * - names: An array of identifiers which can be referrenced by individual mappings.
1528
+ * - sourceRoot: Optional. The URL root from which all sources are relative.
1529
+ * - sourcesContent: Optional. An array of contents of the original source files.
1530
+ * - mappings: A string of base64 VLQs which contain the actual mappings.
1531
+ * - file: Optional. The generated file this source map is associated with.
1532
+ *
1533
+ * Here is an example source map, taken from the source map spec[0]:
1534
+ *
1535
+ * {
1536
+ * version : 3,
1537
+ * file: "out.js",
1538
+ * sourceRoot : "",
1539
+ * sources: ["foo.js", "bar.js"],
1540
+ * names: ["src", "maps", "are", "fun"],
1541
+ * mappings: "AA,AB;;ABCDE;"
1542
+ * }
1543
+ *
1544
+ * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#
1545
+ */
1546
+ function BasicSourceMapConsumer(aSourceMap) {
1547
+ var sourceMap = aSourceMap;
1548
+ if (typeof aSourceMap === 'string') {
1549
+ sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, ''));
1550
+ }
1551
+
1552
+ var version = util.getArg(sourceMap, 'version');
1553
+ var sources = util.getArg(sourceMap, 'sources');
1554
+ // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which
1555
+ // requires the array) to play nice here.
1556
+ var names = util.getArg(sourceMap, 'names', []);
1557
+ var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);
1558
+ var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);
1559
+ var mappings = util.getArg(sourceMap, 'mappings');
1560
+ var file = util.getArg(sourceMap, 'file', null);
1561
+
1562
+ // Once again, Sass deviates from the spec and supplies the version as a
1563
+ // string rather than a number, so we use loose equality checking here.
1564
+ if (version != this._version) {
1565
+ throw new Error('Unsupported version: ' + version);
1566
+ }
1567
+
1568
+ sources = sources
1569
+ // Some source maps produce relative source paths like "./foo.js" instead of
1570
+ // "foo.js". Normalize these first so that future comparisons will succeed.
1571
+ // See bugzil.la/1090768.
1572
+ .map(util.normalize)
1573
+ // Always ensure that absolute sources are internally stored relative to
1574
+ // the source root, if the source root is absolute. Not doing this would
1575
+ // be particularly problematic when the source root is a prefix of the
1576
+ // source (valid, but why??). See github issue #199 and bugzil.la/1188982.
1577
+ .map(function (source) {
1578
+ return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)
1579
+ ? util.relative(sourceRoot, source)
1580
+ : source;
1581
+ });
1582
+
1583
+ // Pass `true` below to allow duplicate names and sources. While source maps
1584
+ // are intended to be compressed and deduplicated, the TypeScript compiler
1585
+ // sometimes generates source maps with duplicates in them. See Github issue
1586
+ // #72 and bugzil.la/889492.
1587
+ this._names = ArraySet.fromArray(names, true);
1588
+ this._sources = ArraySet.fromArray(sources, true);
1589
+
1590
+ this.sourceRoot = sourceRoot;
1591
+ this.sourcesContent = sourcesContent;
1592
+ this._mappings = mappings;
1593
+ this.file = file;
1594
+ }
1595
+
1596
+ BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
1597
+ BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
1598
+
1599
+ /**
1600
+ * Create a BasicSourceMapConsumer from a SourceMapGenerator.
1601
+ *
1602
+ * @param SourceMapGenerator aSourceMap
1603
+ * The source map that will be consumed.
1604
+ * @returns BasicSourceMapConsumer
1605
+ */
1606
+ BasicSourceMapConsumer.fromSourceMap =
1607
+ function SourceMapConsumer_fromSourceMap(aSourceMap) {
1608
+ var smc = Object.create(BasicSourceMapConsumer.prototype);
1609
+
1610
+ var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);
1611
+ var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);
1612
+ smc.sourceRoot = aSourceMap._sourceRoot;
1613
+ smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),
1614
+ smc.sourceRoot);
1615
+ smc.file = aSourceMap._file;
1616
+
1617
+ // Because we are modifying the entries (by converting string sources and
1618
+ // names to indices into the sources and names ArraySets), we have to make
1619
+ // a copy of the entry or else bad things happen. Shared mutable state
1620
+ // strikes again! See github issue #191.
1621
+
1622
+ var generatedMappings = aSourceMap._mappings.toArray().slice();
1623
+ var destGeneratedMappings = smc.__generatedMappings = [];
1624
+ var destOriginalMappings = smc.__originalMappings = [];
1625
+
1626
+ for (var i = 0, length = generatedMappings.length; i < length; i++) {
1627
+ var srcMapping = generatedMappings[i];
1628
+ var destMapping = new Mapping;
1629
+ destMapping.generatedLine = srcMapping.generatedLine;
1630
+ destMapping.generatedColumn = srcMapping.generatedColumn;
1631
+
1632
+ if (srcMapping.source) {
1633
+ destMapping.source = sources.indexOf(srcMapping.source);
1634
+ destMapping.originalLine = srcMapping.originalLine;
1635
+ destMapping.originalColumn = srcMapping.originalColumn;
1636
+
1637
+ if (srcMapping.name) {
1638
+ destMapping.name = names.indexOf(srcMapping.name);
1639
+ }
1640
+
1641
+ destOriginalMappings.push(destMapping);
1642
+ }
1643
+
1644
+ destGeneratedMappings.push(destMapping);
1645
+ }
1646
+
1647
+ quickSort(smc.__originalMappings, util.compareByOriginalPositions);
1648
+
1649
+ return smc;
1650
+ };
1651
+
1652
+ /**
1653
+ * The version of the source mapping spec that we are consuming.
1654
+ */
1655
+ BasicSourceMapConsumer.prototype._version = 3;
1656
+
1657
+ /**
1658
+ * The list of original sources.
1659
+ */
1660
+ Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {
1661
+ get: function () {
1662
+ return this._sources.toArray().map(function (s) {
1663
+ return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s;
1664
+ }, this);
1665
+ }
1666
+ });
1667
+
1668
+ /**
1669
+ * Provide the JIT with a nice shape / hidden class.
1670
+ */
1671
+ function Mapping() {
1672
+ this.generatedLine = 0;
1673
+ this.generatedColumn = 0;
1674
+ this.source = null;
1675
+ this.originalLine = null;
1676
+ this.originalColumn = null;
1677
+ this.name = null;
1678
+ }
1679
+
1680
+ /**
1681
+ * Parse the mappings in a string in to a data structure which we can easily
1682
+ * query (the ordered arrays in the `this.__generatedMappings` and
1683
+ * `this.__originalMappings` properties).
1684
+ */
1685
+ BasicSourceMapConsumer.prototype._parseMappings =
1686
+ function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
1687
+ var generatedLine = 1;
1688
+ var previousGeneratedColumn = 0;
1689
+ var previousOriginalLine = 0;
1690
+ var previousOriginalColumn = 0;
1691
+ var previousSource = 0;
1692
+ var previousName = 0;
1693
+ var length = aStr.length;
1694
+ var index = 0;
1695
+ var cachedSegments = {};
1696
+ var temp = {};
1697
+ var originalMappings = [];
1698
+ var generatedMappings = [];
1699
+ var mapping, str, segment, end, value;
1700
+
1701
+ while (index < length) {
1702
+ if (aStr.charAt(index) === ';') {
1703
+ generatedLine++;
1704
+ index++;
1705
+ previousGeneratedColumn = 0;
1706
+ }
1707
+ else if (aStr.charAt(index) === ',') {
1708
+ index++;
1709
+ }
1710
+ else {
1711
+ mapping = new Mapping();
1712
+ mapping.generatedLine = generatedLine;
1713
+
1714
+ // Because each offset is encoded relative to the previous one,
1715
+ // many segments often have the same encoding. We can exploit this
1716
+ // fact by caching the parsed variable length fields of each segment,
1717
+ // allowing us to avoid a second parse if we encounter the same
1718
+ // segment again.
1719
+ for (end = index; end < length; end++) {
1720
+ if (this._charIsMappingSeparator(aStr, end)) {
1721
+ break;
1722
+ }
1723
+ }
1724
+ str = aStr.slice(index, end);
1725
+
1726
+ segment = cachedSegments[str];
1727
+ if (segment) {
1728
+ index += str.length;
1729
+ } else {
1730
+ segment = [];
1731
+ while (index < end) {
1732
+ base64VLQ.decode(aStr, index, temp);
1733
+ value = temp.value;
1734
+ index = temp.rest;
1735
+ segment.push(value);
1736
+ }
1737
+
1738
+ if (segment.length === 2) {
1739
+ throw new Error('Found a source, but no line and column');
1740
+ }
1741
+
1742
+ if (segment.length === 3) {
1743
+ throw new Error('Found a source and line, but no column');
1744
+ }
1745
+
1746
+ cachedSegments[str] = segment;
1747
+ }
1748
+
1749
+ // Generated column.
1750
+ mapping.generatedColumn = previousGeneratedColumn + segment[0];
1751
+ previousGeneratedColumn = mapping.generatedColumn;
1752
+
1753
+ if (segment.length > 1) {
1754
+ // Original source.
1755
+ mapping.source = previousSource + segment[1];
1756
+ previousSource += segment[1];
1757
+
1758
+ // Original line.
1759
+ mapping.originalLine = previousOriginalLine + segment[2];
1760
+ previousOriginalLine = mapping.originalLine;
1761
+ // Lines are stored 0-based
1762
+ mapping.originalLine += 1;
1763
+
1764
+ // Original column.
1765
+ mapping.originalColumn = previousOriginalColumn + segment[3];
1766
+ previousOriginalColumn = mapping.originalColumn;
1767
+
1768
+ if (segment.length > 4) {
1769
+ // Original name.
1770
+ mapping.name = previousName + segment[4];
1771
+ previousName += segment[4];
1772
+ }
1773
+ }
1774
+
1775
+ generatedMappings.push(mapping);
1776
+ if (typeof mapping.originalLine === 'number') {
1777
+ originalMappings.push(mapping);
1778
+ }
1779
+ }
1780
+ }
1781
+
1782
+ quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);
1783
+ this.__generatedMappings = generatedMappings;
1784
+
1785
+ quickSort(originalMappings, util.compareByOriginalPositions);
1786
+ this.__originalMappings = originalMappings;
1787
+ };
1788
+
1789
+ /**
1790
+ * Find the mapping that best matches the hypothetical "needle" mapping that
1791
+ * we are searching for in the given "haystack" of mappings.
1792
+ */
1793
+ BasicSourceMapConsumer.prototype._findMapping =
1794
+ function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,
1795
+ aColumnName, aComparator, aBias) {
1796
+ // To return the position we are searching for, we must first find the
1797
+ // mapping for the given position and then return the opposite position it
1798
+ // points to. Because the mappings are sorted, we can use binary search to
1799
+ // find the best mapping.
1800
+
1801
+ if (aNeedle[aLineName] <= 0) {
1802
+ throw new TypeError('Line must be greater than or equal to 1, got '
1803
+ + aNeedle[aLineName]);
1804
+ }
1805
+ if (aNeedle[aColumnName] < 0) {
1806
+ throw new TypeError('Column must be greater than or equal to 0, got '
1807
+ + aNeedle[aColumnName]);
1808
+ }
1809
+
1810
+ return binarySearch.search(aNeedle, aMappings, aComparator, aBias);
1811
+ };
1812
+
1813
+ /**
1814
+ * Compute the last column for each generated mapping. The last column is
1815
+ * inclusive.
1816
+ */
1817
+ BasicSourceMapConsumer.prototype.computeColumnSpans =
1818
+ function SourceMapConsumer_computeColumnSpans() {
1819
+ for (var index = 0; index < this._generatedMappings.length; ++index) {
1820
+ var mapping = this._generatedMappings[index];
1821
+
1822
+ // Mappings do not contain a field for the last generated columnt. We
1823
+ // can come up with an optimistic estimate, however, by assuming that
1824
+ // mappings are contiguous (i.e. given two consecutive mappings, the
1825
+ // first mapping ends where the second one starts).
1826
+ if (index + 1 < this._generatedMappings.length) {
1827
+ var nextMapping = this._generatedMappings[index + 1];
1828
+
1829
+ if (mapping.generatedLine === nextMapping.generatedLine) {
1830
+ mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;
1831
+ continue;
1832
+ }
1833
+ }
1834
+
1835
+ // The last mapping for each line spans the entire line.
1836
+ mapping.lastGeneratedColumn = Infinity;
1837
+ }
1838
+ };
1839
+
1840
+ /**
1841
+ * Returns the original source, line, and column information for the generated
1842
+ * source's line and column positions provided. The only argument is an object
1843
+ * with the following properties:
1844
+ *
1845
+ * - line: The line number in the generated source.
1846
+ * - column: The column number in the generated source.
1847
+ * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
1848
+ * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
1849
+ * closest element that is smaller than or greater than the one we are
1850
+ * searching for, respectively, if the exact element cannot be found.
1851
+ * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
1852
+ *
1853
+ * and an object is returned with the following properties:
1854
+ *
1855
+ * - source: The original source file, or null.
1856
+ * - line: The line number in the original source, or null.
1857
+ * - column: The column number in the original source, or null.
1858
+ * - name: The original identifier, or null.
1859
+ */
1860
+ BasicSourceMapConsumer.prototype.originalPositionFor =
1861
+ function SourceMapConsumer_originalPositionFor(aArgs) {
1862
+ var needle = {
1863
+ generatedLine: util.getArg(aArgs, 'line'),
1864
+ generatedColumn: util.getArg(aArgs, 'column')
1865
+ };
1866
+
1867
+ var index = this._findMapping(
1868
+ needle,
1869
+ this._generatedMappings,
1870
+ "generatedLine",
1871
+ "generatedColumn",
1872
+ util.compareByGeneratedPositionsDeflated,
1873
+ util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
1874
+ );
1875
+
1876
+ if (index >= 0) {
1877
+ var mapping = this._generatedMappings[index];
1878
+
1879
+ if (mapping.generatedLine === needle.generatedLine) {
1880
+ var source = util.getArg(mapping, 'source', null);
1881
+ if (source !== null) {
1882
+ source = this._sources.at(source);
1883
+ if (this.sourceRoot != null) {
1884
+ source = util.join(this.sourceRoot, source);
1885
+ }
1886
+ }
1887
+ var name = util.getArg(mapping, 'name', null);
1888
+ if (name !== null) {
1889
+ name = this._names.at(name);
1890
+ }
1891
+ return {
1892
+ source: source,
1893
+ line: util.getArg(mapping, 'originalLine', null),
1894
+ column: util.getArg(mapping, 'originalColumn', null),
1895
+ name: name
1896
+ };
1897
+ }
1898
+ }
1899
+
1900
+ return {
1901
+ source: null,
1902
+ line: null,
1903
+ column: null,
1904
+ name: null
1905
+ };
1906
+ };
1907
+
1908
+ /**
1909
+ * Return true if we have the source content for every source in the source
1910
+ * map, false otherwise.
1911
+ */
1912
+ BasicSourceMapConsumer.prototype.hasContentsOfAllSources =
1913
+ function BasicSourceMapConsumer_hasContentsOfAllSources() {
1914
+ if (!this.sourcesContent) {
1915
+ return false;
1916
+ }
1917
+ return this.sourcesContent.length >= this._sources.size() &&
1918
+ !this.sourcesContent.some(function (sc) { return sc == null; });
1919
+ };
1920
+
1921
+ /**
1922
+ * Returns the original source content. The only argument is the url of the
1923
+ * original source file. Returns null if no original source content is
1924
+ * available.
1925
+ */
1926
+ BasicSourceMapConsumer.prototype.sourceContentFor =
1927
+ function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
1928
+ if (!this.sourcesContent) {
1929
+ return null;
1930
+ }
1931
+
1932
+ if (this.sourceRoot != null) {
1933
+ aSource = util.relative(this.sourceRoot, aSource);
1934
+ }
1935
+
1936
+ if (this._sources.has(aSource)) {
1937
+ return this.sourcesContent[this._sources.indexOf(aSource)];
1938
+ }
1939
+
1940
+ var url;
1941
+ if (this.sourceRoot != null
1942
+ && (url = util.urlParse(this.sourceRoot))) {
1943
+ // XXX: file:// URIs and absolute paths lead to unexpected behavior for
1944
+ // many users. We can help them out when they expect file:// URIs to
1945
+ // behave like it would if they were running a local HTTP server. See
1946
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.
1947
+ var fileUriAbsPath = aSource.replace(/^file:\/\//, "");
1948
+ if (url.scheme == "file"
1949
+ && this._sources.has(fileUriAbsPath)) {
1950
+ return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]
1951
+ }
1952
+
1953
+ if ((!url.path || url.path == "/")
1954
+ && this._sources.has("/" + aSource)) {
1955
+ return this.sourcesContent[this._sources.indexOf("/" + aSource)];
1956
+ }
1957
+ }
1958
+
1959
+ // This function is used recursively from
1960
+ // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we
1961
+ // don't want to throw if we can't find the source - we just want to
1962
+ // return null, so we provide a flag to exit gracefully.
1963
+ if (nullOnMissing) {
1964
+ return null;
1965
+ }
1966
+ else {
1967
+ throw new Error('"' + aSource + '" is not in the SourceMap.');
1968
+ }
1969
+ };
1970
+
1971
+ /**
1972
+ * Returns the generated line and column information for the original source,
1973
+ * line, and column positions provided. The only argument is an object with
1974
+ * the following properties:
1975
+ *
1976
+ * - source: The filename of the original source.
1977
+ * - line: The line number in the original source.
1978
+ * - column: The column number in the original source.
1979
+ * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
1980
+ * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
1981
+ * closest element that is smaller than or greater than the one we are
1982
+ * searching for, respectively, if the exact element cannot be found.
1983
+ * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
1984
+ *
1985
+ * and an object is returned with the following properties:
1986
+ *
1987
+ * - line: The line number in the generated source, or null.
1988
+ * - column: The column number in the generated source, or null.
1989
+ */
1990
+ BasicSourceMapConsumer.prototype.generatedPositionFor =
1991
+ function SourceMapConsumer_generatedPositionFor(aArgs) {
1992
+ var source = util.getArg(aArgs, 'source');
1993
+ if (this.sourceRoot != null) {
1994
+ source = util.relative(this.sourceRoot, source);
1995
+ }
1996
+ if (!this._sources.has(source)) {
1997
+ return {
1998
+ line: null,
1999
+ column: null,
2000
+ lastColumn: null
2001
+ };
2002
+ }
2003
+ source = this._sources.indexOf(source);
2004
+
2005
+ var needle = {
2006
+ source: source,
2007
+ originalLine: util.getArg(aArgs, 'line'),
2008
+ originalColumn: util.getArg(aArgs, 'column')
2009
+ };
2010
+
2011
+ var index = this._findMapping(
2012
+ needle,
2013
+ this._originalMappings,
2014
+ "originalLine",
2015
+ "originalColumn",
2016
+ util.compareByOriginalPositions,
2017
+ util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
2018
+ );
2019
+
2020
+ if (index >= 0) {
2021
+ var mapping = this._originalMappings[index];
2022
+
2023
+ if (mapping.source === needle.source) {
2024
+ return {
2025
+ line: util.getArg(mapping, 'generatedLine', null),
2026
+ column: util.getArg(mapping, 'generatedColumn', null),
2027
+ lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
2028
+ };
2029
+ }
2030
+ }
2031
+
2032
+ return {
2033
+ line: null,
2034
+ column: null,
2035
+ lastColumn: null
2036
+ };
2037
+ };
2038
+
2039
+ exports.BasicSourceMapConsumer = BasicSourceMapConsumer;
2040
+
2041
+ /**
2042
+ * An IndexedSourceMapConsumer instance represents a parsed source map which
2043
+ * we can query for information. It differs from BasicSourceMapConsumer in
2044
+ * that it takes "indexed" source maps (i.e. ones with a "sections" field) as
2045
+ * input.
2046
+ *
2047
+ * The only parameter is a raw source map (either as a JSON string, or already
2048
+ * parsed to an object). According to the spec for indexed source maps, they
2049
+ * have the following attributes:
2050
+ *
2051
+ * - version: Which version of the source map spec this map is following.
2052
+ * - file: Optional. The generated file this source map is associated with.
2053
+ * - sections: A list of section definitions.
2054
+ *
2055
+ * Each value under the "sections" field has two fields:
2056
+ * - offset: The offset into the original specified at which this section
2057
+ * begins to apply, defined as an object with a "line" and "column"
2058
+ * field.
2059
+ * - map: A source map definition. This source map could also be indexed,
2060
+ * but doesn't have to be.
2061
+ *
2062
+ * Instead of the "map" field, it's also possible to have a "url" field
2063
+ * specifying a URL to retrieve a source map from, but that's currently
2064
+ * unsupported.
2065
+ *
2066
+ * Here's an example source map, taken from the source map spec[0], but
2067
+ * modified to omit a section which uses the "url" field.
2068
+ *
2069
+ * {
2070
+ * version : 3,
2071
+ * file: "app.js",
2072
+ * sections: [{
2073
+ * offset: {line:100, column:10},
2074
+ * map: {
2075
+ * version : 3,
2076
+ * file: "section.js",
2077
+ * sources: ["foo.js", "bar.js"],
2078
+ * names: ["src", "maps", "are", "fun"],
2079
+ * mappings: "AAAA,E;;ABCDE;"
2080
+ * }
2081
+ * }],
2082
+ * }
2083
+ *
2084
+ * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt
2085
+ */
2086
+ function IndexedSourceMapConsumer(aSourceMap) {
2087
+ var sourceMap = aSourceMap;
2088
+ if (typeof aSourceMap === 'string') {
2089
+ sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, ''));
2090
+ }
2091
+
2092
+ var version = util.getArg(sourceMap, 'version');
2093
+ var sections = util.getArg(sourceMap, 'sections');
2094
+
2095
+ if (version != this._version) {
2096
+ throw new Error('Unsupported version: ' + version);
2097
+ }
2098
+
2099
+ this._sources = new ArraySet();
2100
+ this._names = new ArraySet();
2101
+
2102
+ var lastOffset = {
2103
+ line: -1,
2104
+ column: 0
2105
+ };
2106
+ this._sections = sections.map(function (s) {
2107
+ if (s.url) {
2108
+ // The url field will require support for asynchronicity.
2109
+ // See https://github.com/mozilla/source-map/issues/16
2110
+ throw new Error('Support for url field in sections not implemented.');
2111
+ }
2112
+ var offset = util.getArg(s, 'offset');
2113
+ var offsetLine = util.getArg(offset, 'line');
2114
+ var offsetColumn = util.getArg(offset, 'column');
2115
+
2116
+ if (offsetLine < lastOffset.line ||
2117
+ (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {
2118
+ throw new Error('Section offsets must be ordered and non-overlapping.');
2119
+ }
2120
+ lastOffset = offset;
2121
+
2122
+ return {
2123
+ generatedOffset: {
2124
+ // The offset fields are 0-based, but we use 1-based indices when
2125
+ // encoding/decoding from VLQ.
2126
+ generatedLine: offsetLine + 1,
2127
+ generatedColumn: offsetColumn + 1
2128
+ },
2129
+ consumer: new SourceMapConsumer(util.getArg(s, 'map'))
2130
+ }
2131
+ });
2132
+ }
2133
+
2134
+ IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
2135
+ IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;
2136
+
2137
+ /**
2138
+ * The version of the source mapping spec that we are consuming.
2139
+ */
2140
+ IndexedSourceMapConsumer.prototype._version = 3;
2141
+
2142
+ /**
2143
+ * The list of original sources.
2144
+ */
2145
+ Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {
2146
+ get: function () {
2147
+ var sources = [];
2148
+ for (var i = 0; i < this._sections.length; i++) {
2149
+ for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {
2150
+ sources.push(this._sections[i].consumer.sources[j]);
2151
+ }
2152
+ }
2153
+ return sources;
2154
+ }
2155
+ });
2156
+
2157
+ /**
2158
+ * Returns the original source, line, and column information for the generated
2159
+ * source's line and column positions provided. The only argument is an object
2160
+ * with the following properties:
2161
+ *
2162
+ * - line: The line number in the generated source.
2163
+ * - column: The column number in the generated source.
2164
+ *
2165
+ * and an object is returned with the following properties:
2166
+ *
2167
+ * - source: The original source file, or null.
2168
+ * - line: The line number in the original source, or null.
2169
+ * - column: The column number in the original source, or null.
2170
+ * - name: The original identifier, or null.
2171
+ */
2172
+ IndexedSourceMapConsumer.prototype.originalPositionFor =
2173
+ function IndexedSourceMapConsumer_originalPositionFor(aArgs) {
2174
+ var needle = {
2175
+ generatedLine: util.getArg(aArgs, 'line'),
2176
+ generatedColumn: util.getArg(aArgs, 'column')
2177
+ };
2178
+
2179
+ // Find the section containing the generated position we're trying to map
2180
+ // to an original position.
2181
+ var sectionIndex = binarySearch.search(needle, this._sections,
2182
+ function(needle, section) {
2183
+ var cmp = needle.generatedLine - section.generatedOffset.generatedLine;
2184
+ if (cmp) {
2185
+ return cmp;
2186
+ }
2187
+
2188
+ return (needle.generatedColumn -
2189
+ section.generatedOffset.generatedColumn);
2190
+ });
2191
+ var section = this._sections[sectionIndex];
2192
+
2193
+ if (!section) {
2194
+ return {
2195
+ source: null,
2196
+ line: null,
2197
+ column: null,
2198
+ name: null
2199
+ };
2200
+ }
2201
+
2202
+ return section.consumer.originalPositionFor({
2203
+ line: needle.generatedLine -
2204
+ (section.generatedOffset.generatedLine - 1),
2205
+ column: needle.generatedColumn -
2206
+ (section.generatedOffset.generatedLine === needle.generatedLine
2207
+ ? section.generatedOffset.generatedColumn - 1
2208
+ : 0),
2209
+ bias: aArgs.bias
2210
+ });
2211
+ };
2212
+
2213
+ /**
2214
+ * Return true if we have the source content for every source in the source
2215
+ * map, false otherwise.
2216
+ */
2217
+ IndexedSourceMapConsumer.prototype.hasContentsOfAllSources =
2218
+ function IndexedSourceMapConsumer_hasContentsOfAllSources() {
2219
+ return this._sections.every(function (s) {
2220
+ return s.consumer.hasContentsOfAllSources();
2221
+ });
2222
+ };
2223
+
2224
+ /**
2225
+ * Returns the original source content. The only argument is the url of the
2226
+ * original source file. Returns null if no original source content is
2227
+ * available.
2228
+ */
2229
+ IndexedSourceMapConsumer.prototype.sourceContentFor =
2230
+ function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
2231
+ for (var i = 0; i < this._sections.length; i++) {
2232
+ var section = this._sections[i];
2233
+
2234
+ var content = section.consumer.sourceContentFor(aSource, true);
2235
+ if (content) {
2236
+ return content;
2237
+ }
2238
+ }
2239
+ if (nullOnMissing) {
2240
+ return null;
2241
+ }
2242
+ else {
2243
+ throw new Error('"' + aSource + '" is not in the SourceMap.');
2244
+ }
2245
+ };
2246
+
2247
+ /**
2248
+ * Returns the generated line and column information for the original source,
2249
+ * line, and column positions provided. The only argument is an object with
2250
+ * the following properties:
2251
+ *
2252
+ * - source: The filename of the original source.
2253
+ * - line: The line number in the original source.
2254
+ * - column: The column number in the original source.
2255
+ *
2256
+ * and an object is returned with the following properties:
2257
+ *
2258
+ * - line: The line number in the generated source, or null.
2259
+ * - column: The column number in the generated source, or null.
2260
+ */
2261
+ IndexedSourceMapConsumer.prototype.generatedPositionFor =
2262
+ function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {
2263
+ for (var i = 0; i < this._sections.length; i++) {
2264
+ var section = this._sections[i];
2265
+
2266
+ // Only consider this section if the requested source is in the list of
2267
+ // sources of the consumer.
2268
+ if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) {
2269
+ continue;
2270
+ }
2271
+ var generatedPosition = section.consumer.generatedPositionFor(aArgs);
2272
+ if (generatedPosition) {
2273
+ var ret = {
2274
+ line: generatedPosition.line +
2275
+ (section.generatedOffset.generatedLine - 1),
2276
+ column: generatedPosition.column +
2277
+ (section.generatedOffset.generatedLine === generatedPosition.line
2278
+ ? section.generatedOffset.generatedColumn - 1
2279
+ : 0)
2280
+ };
2281
+ return ret;
2282
+ }
2283
+ }
2284
+
2285
+ return {
2286
+ line: null,
2287
+ column: null
2288
+ };
2289
+ };
2290
+
2291
+ /**
2292
+ * Parse the mappings in a string in to a data structure which we can easily
2293
+ * query (the ordered arrays in the `this.__generatedMappings` and
2294
+ * `this.__originalMappings` properties).
2295
+ */
2296
+ IndexedSourceMapConsumer.prototype._parseMappings =
2297
+ function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {
2298
+ this.__generatedMappings = [];
2299
+ this.__originalMappings = [];
2300
+ for (var i = 0; i < this._sections.length; i++) {
2301
+ var section = this._sections[i];
2302
+ var sectionMappings = section.consumer._generatedMappings;
2303
+ for (var j = 0; j < sectionMappings.length; j++) {
2304
+ var mapping = sectionMappings[j];
2305
+
2306
+ var source = section.consumer._sources.at(mapping.source);
2307
+ if (section.consumer.sourceRoot !== null) {
2308
+ source = util.join(section.consumer.sourceRoot, source);
2309
+ }
2310
+ this._sources.add(source);
2311
+ source = this._sources.indexOf(source);
2312
+
2313
+ var name = section.consumer._names.at(mapping.name);
2314
+ this._names.add(name);
2315
+ name = this._names.indexOf(name);
2316
+
2317
+ // The mappings coming from the consumer for the section have
2318
+ // generated positions relative to the start of the section, so we
2319
+ // need to offset them to be relative to the start of the concatenated
2320
+ // generated file.
2321
+ var adjustedMapping = {
2322
+ source: source,
2323
+ generatedLine: mapping.generatedLine +
2324
+ (section.generatedOffset.generatedLine - 1),
2325
+ generatedColumn: mapping.generatedColumn +
2326
+ (section.generatedOffset.generatedLine === mapping.generatedLine
2327
+ ? section.generatedOffset.generatedColumn - 1
2328
+ : 0),
2329
+ originalLine: mapping.originalLine,
2330
+ originalColumn: mapping.originalColumn,
2331
+ name: name
2332
+ };
2333
+
2334
+ this.__generatedMappings.push(adjustedMapping);
2335
+ if (typeof adjustedMapping.originalLine === 'number') {
2336
+ this.__originalMappings.push(adjustedMapping);
2337
+ }
2338
+ }
2339
+ }
2340
+
2341
+ quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);
2342
+ quickSort(this.__originalMappings, util.compareByOriginalPositions);
2343
+ };
2344
+
2345
+ exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
2346
+ }
2347
+
2348
+
2349
+ /***/ },
2350
+ /* 8 */
2351
+ /***/ function(module, exports) {
2352
+
2353
+ /* -*- Mode: js; js-indent-level: 2; -*- */
2354
+ /*
2355
+ * Copyright 2011 Mozilla Foundation and contributors
2356
+ * Licensed under the New BSD license. See LICENSE or:
2357
+ * http://opensource.org/licenses/BSD-3-Clause
2358
+ */
2359
+ {
2360
+ exports.GREATEST_LOWER_BOUND = 1;
2361
+ exports.LEAST_UPPER_BOUND = 2;
2362
+
2363
+ /**
2364
+ * Recursive implementation of binary search.
2365
+ *
2366
+ * @param aLow Indices here and lower do not contain the needle.
2367
+ * @param aHigh Indices here and higher do not contain the needle.
2368
+ * @param aNeedle The element being searched for.
2369
+ * @param aHaystack The non-empty array being searched.
2370
+ * @param aCompare Function which takes two elements and returns -1, 0, or 1.
2371
+ * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
2372
+ * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
2373
+ * closest element that is smaller than or greater than the one we are
2374
+ * searching for, respectively, if the exact element cannot be found.
2375
+ */
2376
+ function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
2377
+ // This function terminates when one of the following is true:
2378
+ //
2379
+ // 1. We find the exact element we are looking for.
2380
+ //
2381
+ // 2. We did not find the exact element, but we can return the index of
2382
+ // the next-closest element.
2383
+ //
2384
+ // 3. We did not find the exact element, and there is no next-closest
2385
+ // element than the one we are searching for, so we return -1.
2386
+ var mid = Math.floor((aHigh - aLow) / 2) + aLow;
2387
+ var cmp = aCompare(aNeedle, aHaystack[mid], true);
2388
+ if (cmp === 0) {
2389
+ // Found the element we are looking for.
2390
+ return mid;
2391
+ }
2392
+ else if (cmp > 0) {
2393
+ // Our needle is greater than aHaystack[mid].
2394
+ if (aHigh - mid > 1) {
2395
+ // The element is in the upper half.
2396
+ return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
2397
+ }
2398
+
2399
+ // The exact needle element was not found in this haystack. Determine if
2400
+ // we are in termination case (3) or (2) and return the appropriate thing.
2401
+ if (aBias == exports.LEAST_UPPER_BOUND) {
2402
+ return aHigh < aHaystack.length ? aHigh : -1;
2403
+ } else {
2404
+ return mid;
2405
+ }
2406
+ }
2407
+ else {
2408
+ // Our needle is less than aHaystack[mid].
2409
+ if (mid - aLow > 1) {
2410
+ // The element is in the lower half.
2411
+ return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
2412
+ }
2413
+
2414
+ // we are in termination case (3) or (2) and return the appropriate thing.
2415
+ if (aBias == exports.LEAST_UPPER_BOUND) {
2416
+ return mid;
2417
+ } else {
2418
+ return aLow < 0 ? -1 : aLow;
2419
+ }
2420
+ }
2421
+ }
2422
+
2423
+ /**
2424
+ * This is an implementation of binary search which will always try and return
2425
+ * the index of the closest element if there is no exact hit. This is because
2426
+ * mappings between original and generated line/col pairs are single points,
2427
+ * and there is an implicit region between each of them, so a miss just means
2428
+ * that you aren't on the very start of a region.
2429
+ *
2430
+ * @param aNeedle The element you are looking for.
2431
+ * @param aHaystack The array that is being searched.
2432
+ * @param aCompare A function which takes the needle and an element in the
2433
+ * array and returns -1, 0, or 1 depending on whether the needle is less
2434
+ * than, equal to, or greater than the element, respectively.
2435
+ * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
2436
+ * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
2437
+ * closest element that is smaller than or greater than the one we are
2438
+ * searching for, respectively, if the exact element cannot be found.
2439
+ * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.
2440
+ */
2441
+ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
2442
+ if (aHaystack.length === 0) {
2443
+ return -1;
2444
+ }
2445
+
2446
+ var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,
2447
+ aCompare, aBias || exports.GREATEST_LOWER_BOUND);
2448
+ if (index < 0) {
2449
+ return -1;
2450
+ }
2451
+
2452
+ // We have found either the exact element, or the next-closest element than
2453
+ // the one we are searching for. However, there may be more than one such
2454
+ // element. Make sure we always return the smallest of these.
2455
+ while (index - 1 >= 0) {
2456
+ if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {
2457
+ break;
2458
+ }
2459
+ --index;
2460
+ }
2461
+
2462
+ return index;
2463
+ };
2464
+ }
2465
+
2466
+
2467
+ /***/ },
2468
+ /* 9 */
2469
+ /***/ function(module, exports) {
2470
+
2471
+ /* -*- Mode: js; js-indent-level: 2; -*- */
2472
+ /*
2473
+ * Copyright 2011 Mozilla Foundation and contributors
2474
+ * Licensed under the New BSD license. See LICENSE or:
2475
+ * http://opensource.org/licenses/BSD-3-Clause
2476
+ */
2477
+ {
2478
+ // It turns out that some (most?) JavaScript engines don't self-host
2479
+ // `Array.prototype.sort`. This makes sense because C++ will likely remain
2480
+ // faster than JS when doing raw CPU-intensive sorting. However, when using a
2481
+ // custom comparator function, calling back and forth between the VM's C++ and
2482
+ // JIT'd JS is rather slow *and* loses JIT type information, resulting in
2483
+ // worse generated code for the comparator function than would be optimal. In
2484
+ // fact, when sorting with a comparator, these costs outweigh the benefits of
2485
+ // sorting in C++. By using our own JS-implemented Quick Sort (below), we get
2486
+ // a ~3500ms mean speed-up in `bench/bench.html`.
2487
+
2488
+ /**
2489
+ * Swap the elements indexed by `x` and `y` in the array `ary`.
2490
+ *
2491
+ * @param {Array} ary
2492
+ * The array.
2493
+ * @param {Number} x
2494
+ * The index of the first item.
2495
+ * @param {Number} y
2496
+ * The index of the second item.
2497
+ */
2498
+ function swap(ary, x, y) {
2499
+ var temp = ary[x];
2500
+ ary[x] = ary[y];
2501
+ ary[y] = temp;
2502
+ }
2503
+
2504
+ /**
2505
+ * Returns a random integer within the range `low .. high` inclusive.
2506
+ *
2507
+ * @param {Number} low
2508
+ * The lower bound on the range.
2509
+ * @param {Number} high
2510
+ * The upper bound on the range.
2511
+ */
2512
+ function randomIntInRange(low, high) {
2513
+ return Math.round(low + (Math.random() * (high - low)));
2514
+ }
2515
+
2516
+ /**
2517
+ * The Quick Sort algorithm.
2518
+ *
2519
+ * @param {Array} ary
2520
+ * An array to sort.
2521
+ * @param {function} comparator
2522
+ * Function to use to compare two items.
2523
+ * @param {Number} p
2524
+ * Start index of the array
2525
+ * @param {Number} r
2526
+ * End index of the array
2527
+ */
2528
+ function doQuickSort(ary, comparator, p, r) {
2529
+ // If our lower bound is less than our upper bound, we (1) partition the
2530
+ // array into two pieces and (2) recurse on each half. If it is not, this is
2531
+ // the empty array and our base case.
2532
+
2533
+ if (p < r) {
2534
+ // (1) Partitioning.
2535
+ //
2536
+ // The partitioning chooses a pivot between `p` and `r` and moves all
2537
+ // elements that are less than or equal to the pivot to the before it, and
2538
+ // all the elements that are greater than it after it. The effect is that
2539
+ // once partition is done, the pivot is in the exact place it will be when
2540
+ // the array is put in sorted order, and it will not need to be moved
2541
+ // again. This runs in O(n) time.
2542
+
2543
+ // Always choose a random pivot so that an input array which is reverse
2544
+ // sorted does not cause O(n^2) running time.
2545
+ var pivotIndex = randomIntInRange(p, r);
2546
+ var i = p - 1;
2547
+
2548
+ swap(ary, pivotIndex, r);
2549
+ var pivot = ary[r];
2550
+
2551
+ // Immediately after `j` is incremented in this loop, the following hold
2552
+ // true:
2553
+ //
2554
+ // * Every element in `ary[p .. i]` is less than or equal to the pivot.
2555
+ //
2556
+ // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.
2557
+ for (var j = p; j < r; j++) {
2558
+ if (comparator(ary[j], pivot) <= 0) {
2559
+ i += 1;
2560
+ swap(ary, i, j);
2561
+ }
2562
+ }
2563
+
2564
+ swap(ary, i + 1, j);
2565
+ var q = i + 1;
2566
+
2567
+ // (2) Recurse on each half.
2568
+
2569
+ doQuickSort(ary, comparator, p, q - 1);
2570
+ doQuickSort(ary, comparator, q + 1, r);
2571
+ }
2572
+ }
2573
+
2574
+ /**
2575
+ * Sort the given array in-place with the given comparator function.
2576
+ *
2577
+ * @param {Array} ary
2578
+ * An array to sort.
2579
+ * @param {function} comparator
2580
+ * Function to use to compare two items.
2581
+ */
2582
+ exports.quickSort = function (ary, comparator) {
2583
+ doQuickSort(ary, comparator, 0, ary.length - 1);
2584
+ };
2585
+ }
2586
+
2587
+
2588
+ /***/ },
2589
+ /* 10 */
2590
+ /***/ function(module, exports, __webpack_require__) {
2591
+
2592
+ /* -*- Mode: js; js-indent-level: 2; -*- */
2593
+ /*
2594
+ * Copyright 2011 Mozilla Foundation and contributors
2595
+ * Licensed under the New BSD license. See LICENSE or:
2596
+ * http://opensource.org/licenses/BSD-3-Clause
2597
+ */
2598
+ {
2599
+ var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;
2600
+ var util = __webpack_require__(4);
2601
+
2602
+ // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other
2603
+ // operating systems these days (capturing the result).
2604
+ var REGEX_NEWLINE = /(\r?\n)/;
2605
+
2606
+ // Newline character code for charCodeAt() comparisons
2607
+ var NEWLINE_CODE = 10;
2608
+
2609
+ // Private symbol for identifying `SourceNode`s when multiple versions of
2610
+ // the source-map library are loaded. This MUST NOT CHANGE across
2611
+ // versions!
2612
+ var isSourceNode = "$$$isSourceNode$$$";
2613
+
2614
+ /**
2615
+ * SourceNodes provide a way to abstract over interpolating/concatenating
2616
+ * snippets of generated JavaScript source code while maintaining the line and
2617
+ * column information associated with the original source code.
2618
+ *
2619
+ * @param aLine The original line number.
2620
+ * @param aColumn The original column number.
2621
+ * @param aSource The original source's filename.
2622
+ * @param aChunks Optional. An array of strings which are snippets of
2623
+ * generated JS, or other SourceNodes.
2624
+ * @param aName The original identifier.
2625
+ */
2626
+ function SourceNode(aLine, aColumn, aSource, aChunks, aName) {
2627
+ this.children = [];
2628
+ this.sourceContents = {};
2629
+ this.line = aLine == null ? null : aLine;
2630
+ this.column = aColumn == null ? null : aColumn;
2631
+ this.source = aSource == null ? null : aSource;
2632
+ this.name = aName == null ? null : aName;
2633
+ this[isSourceNode] = true;
2634
+ if (aChunks != null) this.add(aChunks);
2635
+ }
2636
+
2637
+ /**
2638
+ * Creates a SourceNode from generated code and a SourceMapConsumer.
2639
+ *
2640
+ * @param aGeneratedCode The generated code
2641
+ * @param aSourceMapConsumer The SourceMap for the generated code
2642
+ * @param aRelativePath Optional. The path that relative sources in the
2643
+ * SourceMapConsumer should be relative to.
2644
+ */
2645
+ SourceNode.fromStringWithSourceMap =
2646
+ function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {
2647
+ // The SourceNode we want to fill with the generated code
2648
+ // and the SourceMap
2649
+ var node = new SourceNode();
2650
+
2651
+ // All even indices of this array are one line of the generated code,
2652
+ // while all odd indices are the newlines between two adjacent lines
2653
+ // (since `REGEX_NEWLINE` captures its match).
2654
+ // Processed fragments are removed from this array, by calling `shiftNextLine`.
2655
+ var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);
2656
+ var shiftNextLine = function() {
2657
+ var lineContents = remainingLines.shift();
2658
+ // The last line of a file might not have a newline.
2659
+ var newLine = remainingLines.shift() || "";
2660
+ return lineContents + newLine;
2661
+ };
2662
+
2663
+ // We need to remember the position of "remainingLines"
2664
+ var lastGeneratedLine = 1, lastGeneratedColumn = 0;
2665
+
2666
+ // The generate SourceNodes we need a code range.
2667
+ // To extract it current and last mapping is used.
2668
+ // Here we store the last mapping.
2669
+ var lastMapping = null;
2670
+
2671
+ aSourceMapConsumer.eachMapping(function (mapping) {
2672
+ if (lastMapping !== null) {
2673
+ // We add the code from "lastMapping" to "mapping":
2674
+ // First check if there is a new line in between.
2675
+ if (lastGeneratedLine < mapping.generatedLine) {
2676
+ // Associate first line with "lastMapping"
2677
+ addMappingWithCode(lastMapping, shiftNextLine());
2678
+ lastGeneratedLine++;
2679
+ lastGeneratedColumn = 0;
2680
+ // The remaining code is added without mapping
2681
+ } else {
2682
+ // There is no new line in between.
2683
+ // Associate the code between "lastGeneratedColumn" and
2684
+ // "mapping.generatedColumn" with "lastMapping"
2685
+ var nextLine = remainingLines[0];
2686
+ var code = nextLine.substr(0, mapping.generatedColumn -
2687
+ lastGeneratedColumn);
2688
+ remainingLines[0] = nextLine.substr(mapping.generatedColumn -
2689
+ lastGeneratedColumn);
2690
+ lastGeneratedColumn = mapping.generatedColumn;
2691
+ addMappingWithCode(lastMapping, code);
2692
+ // No more remaining code, continue
2693
+ lastMapping = mapping;
2694
+ return;
2695
+ }
2696
+ }
2697
+ // We add the generated code until the first mapping
2698
+ // to the SourceNode without any mapping.
2699
+ // Each line is added as separate string.
2700
+ while (lastGeneratedLine < mapping.generatedLine) {
2701
+ node.add(shiftNextLine());
2702
+ lastGeneratedLine++;
2703
+ }
2704
+ if (lastGeneratedColumn < mapping.generatedColumn) {
2705
+ var nextLine = remainingLines[0];
2706
+ node.add(nextLine.substr(0, mapping.generatedColumn));
2707
+ remainingLines[0] = nextLine.substr(mapping.generatedColumn);
2708
+ lastGeneratedColumn = mapping.generatedColumn;
2709
+ }
2710
+ lastMapping = mapping;
2711
+ }, this);
2712
+ // We have processed all mappings.
2713
+ if (remainingLines.length > 0) {
2714
+ if (lastMapping) {
2715
+ // Associate the remaining code in the current line with "lastMapping"
2716
+ addMappingWithCode(lastMapping, shiftNextLine());
2717
+ }
2718
+ // and add the remaining lines without any mapping
2719
+ node.add(remainingLines.join(""));
2720
+ }
2721
+
2722
+ // Copy sourcesContent into SourceNode
2723
+ aSourceMapConsumer.sources.forEach(function (sourceFile) {
2724
+ var content = aSourceMapConsumer.sourceContentFor(sourceFile);
2725
+ if (content != null) {
2726
+ if (aRelativePath != null) {
2727
+ sourceFile = util.join(aRelativePath, sourceFile);
2728
+ }
2729
+ node.setSourceContent(sourceFile, content);
2730
+ }
2731
+ });
2732
+
2733
+ return node;
2734
+
2735
+ function addMappingWithCode(mapping, code) {
2736
+ if (mapping === null || mapping.source === undefined) {
2737
+ node.add(code);
2738
+ } else {
2739
+ var source = aRelativePath
2740
+ ? util.join(aRelativePath, mapping.source)
2741
+ : mapping.source;
2742
+ node.add(new SourceNode(mapping.originalLine,
2743
+ mapping.originalColumn,
2744
+ source,
2745
+ code,
2746
+ mapping.name));
2747
+ }
2748
+ }
2749
+ };
2750
+
2751
+ /**
2752
+ * Add a chunk of generated JS to this source node.
2753
+ *
2754
+ * @param aChunk A string snippet of generated JS code, another instance of
2755
+ * SourceNode, or an array where each member is one of those things.
2756
+ */
2757
+ SourceNode.prototype.add = function SourceNode_add(aChunk) {
2758
+ if (Array.isArray(aChunk)) {
2759
+ aChunk.forEach(function (chunk) {
2760
+ this.add(chunk);
2761
+ }, this);
2762
+ }
2763
+ else if (aChunk[isSourceNode] || typeof aChunk === "string") {
2764
+ if (aChunk) {
2765
+ this.children.push(aChunk);
2766
+ }
2767
+ }
2768
+ else {
2769
+ throw new TypeError(
2770
+ "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
2771
+ );
2772
+ }
2773
+ return this;
2774
+ };
2775
+
2776
+ /**
2777
+ * Add a chunk of generated JS to the beginning of this source node.
2778
+ *
2779
+ * @param aChunk A string snippet of generated JS code, another instance of
2780
+ * SourceNode, or an array where each member is one of those things.
2781
+ */
2782
+ SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {
2783
+ if (Array.isArray(aChunk)) {
2784
+ for (var i = aChunk.length-1; i >= 0; i--) {
2785
+ this.prepend(aChunk[i]);
2786
+ }
2787
+ }
2788
+ else if (aChunk[isSourceNode] || typeof aChunk === "string") {
2789
+ this.children.unshift(aChunk);
2790
+ }
2791
+ else {
2792
+ throw new TypeError(
2793
+ "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
2794
+ );
2795
+ }
2796
+ return this;
2797
+ };
2798
+
2799
+ /**
2800
+ * Walk over the tree of JS snippets in this node and its children. The
2801
+ * walking function is called once for each snippet of JS and is passed that
2802
+ * snippet and the its original associated source's line/column location.
2803
+ *
2804
+ * @param aFn The traversal function.
2805
+ */
2806
+ SourceNode.prototype.walk = function SourceNode_walk(aFn) {
2807
+ var chunk;
2808
+ for (var i = 0, len = this.children.length; i < len; i++) {
2809
+ chunk = this.children[i];
2810
+ if (chunk[isSourceNode]) {
2811
+ chunk.walk(aFn);
2812
+ }
2813
+ else {
2814
+ if (chunk !== '') {
2815
+ aFn(chunk, { source: this.source,
2816
+ line: this.line,
2817
+ column: this.column,
2818
+ name: this.name });
2819
+ }
2820
+ }
2821
+ }
2822
+ };
2823
+
2824
+ /**
2825
+ * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between
2826
+ * each of `this.children`.
2827
+ *
2828
+ * @param aSep The separator.
2829
+ */
2830
+ SourceNode.prototype.join = function SourceNode_join(aSep) {
2831
+ var newChildren;
2832
+ var i;
2833
+ var len = this.children.length;
2834
+ if (len > 0) {
2835
+ newChildren = [];
2836
+ for (i = 0; i < len-1; i++) {
2837
+ newChildren.push(this.children[i]);
2838
+ newChildren.push(aSep);
2839
+ }
2840
+ newChildren.push(this.children[i]);
2841
+ this.children = newChildren;
2842
+ }
2843
+ return this;
2844
+ };
2845
+
2846
+ /**
2847
+ * Call String.prototype.replace on the very right-most source snippet. Useful
2848
+ * for trimming whitespace from the end of a source node, etc.
2849
+ *
2850
+ * @param aPattern The pattern to replace.
2851
+ * @param aReplacement The thing to replace the pattern with.
2852
+ */
2853
+ SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {
2854
+ var lastChild = this.children[this.children.length - 1];
2855
+ if (lastChild[isSourceNode]) {
2856
+ lastChild.replaceRight(aPattern, aReplacement);
2857
+ }
2858
+ else if (typeof lastChild === 'string') {
2859
+ this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);
2860
+ }
2861
+ else {
2862
+ this.children.push(''.replace(aPattern, aReplacement));
2863
+ }
2864
+ return this;
2865
+ };
2866
+
2867
+ /**
2868
+ * Set the source content for a source file. This will be added to the SourceMapGenerator
2869
+ * in the sourcesContent field.
2870
+ *
2871
+ * @param aSourceFile The filename of the source file
2872
+ * @param aSourceContent The content of the source file
2873
+ */
2874
+ SourceNode.prototype.setSourceContent =
2875
+ function SourceNode_setSourceContent(aSourceFile, aSourceContent) {
2876
+ this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;
2877
+ };
2878
+
2879
+ /**
2880
+ * Walk over the tree of SourceNodes. The walking function is called for each
2881
+ * source file content and is passed the filename and source content.
2882
+ *
2883
+ * @param aFn The traversal function.
2884
+ */
2885
+ SourceNode.prototype.walkSourceContents =
2886
+ function SourceNode_walkSourceContents(aFn) {
2887
+ for (var i = 0, len = this.children.length; i < len; i++) {
2888
+ if (this.children[i][isSourceNode]) {
2889
+ this.children[i].walkSourceContents(aFn);
2890
+ }
2891
+ }
2892
+
2893
+ var sources = Object.keys(this.sourceContents);
2894
+ for (var i = 0, len = sources.length; i < len; i++) {
2895
+ aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);
2896
+ }
2897
+ };
2898
+
2899
+ /**
2900
+ * Return the string representation of this source node. Walks over the tree
2901
+ * and concatenates all the various snippets together to one string.
2902
+ */
2903
+ SourceNode.prototype.toString = function SourceNode_toString() {
2904
+ var str = "";
2905
+ this.walk(function (chunk) {
2906
+ str += chunk;
2907
+ });
2908
+ return str;
2909
+ };
2910
+
2911
+ /**
2912
+ * Returns the string representation of this source node along with a source
2913
+ * map.
2914
+ */
2915
+ SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {
2916
+ var generated = {
2917
+ code: "",
2918
+ line: 1,
2919
+ column: 0
2920
+ };
2921
+ var map = new SourceMapGenerator(aArgs);
2922
+ var sourceMappingActive = false;
2923
+ var lastOriginalSource = null;
2924
+ var lastOriginalLine = null;
2925
+ var lastOriginalColumn = null;
2926
+ var lastOriginalName = null;
2927
+ this.walk(function (chunk, original) {
2928
+ generated.code += chunk;
2929
+ if (original.source !== null
2930
+ && original.line !== null
2931
+ && original.column !== null) {
2932
+ if(lastOriginalSource !== original.source
2933
+ || lastOriginalLine !== original.line
2934
+ || lastOriginalColumn !== original.column
2935
+ || lastOriginalName !== original.name) {
2936
+ map.addMapping({
2937
+ source: original.source,
2938
+ original: {
2939
+ line: original.line,
2940
+ column: original.column
2941
+ },
2942
+ generated: {
2943
+ line: generated.line,
2944
+ column: generated.column
2945
+ },
2946
+ name: original.name
2947
+ });
2948
+ }
2949
+ lastOriginalSource = original.source;
2950
+ lastOriginalLine = original.line;
2951
+ lastOriginalColumn = original.column;
2952
+ lastOriginalName = original.name;
2953
+ sourceMappingActive = true;
2954
+ } else if (sourceMappingActive) {
2955
+ map.addMapping({
2956
+ generated: {
2957
+ line: generated.line,
2958
+ column: generated.column
2959
+ }
2960
+ });
2961
+ lastOriginalSource = null;
2962
+ sourceMappingActive = false;
2963
+ }
2964
+ for (var idx = 0, length = chunk.length; idx < length; idx++) {
2965
+ if (chunk.charCodeAt(idx) === NEWLINE_CODE) {
2966
+ generated.line++;
2967
+ generated.column = 0;
2968
+ // Mappings end at eol
2969
+ if (idx + 1 === length) {
2970
+ lastOriginalSource = null;
2971
+ sourceMappingActive = false;
2972
+ } else if (sourceMappingActive) {
2973
+ map.addMapping({
2974
+ source: original.source,
2975
+ original: {
2976
+ line: original.line,
2977
+ column: original.column
2978
+ },
2979
+ generated: {
2980
+ line: generated.line,
2981
+ column: generated.column
2982
+ },
2983
+ name: original.name
2984
+ });
2985
+ }
2986
+ } else {
2987
+ generated.column++;
2988
+ }
2989
+ }
2990
+ });
2991
+ this.walkSourceContents(function (sourceFile, sourceContent) {
2992
+ map.setSourceContent(sourceFile, sourceContent);
2993
+ });
2994
+
2995
+ return { code: generated.code, map: map };
2996
+ };
2997
+
2998
+ exports.SourceNode = SourceNode;
2999
+ }
3000
+
3001
+
3002
+ /***/ }
3003
+ /******/ ])
3004
+ });
3005
+ ;
3006
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay91bml2ZXJzYWxNb2R1bGVEZWZpbml0aW9uIiwid2VicGFjazovLy93ZWJwYWNrL2Jvb3RzdHJhcCAzMzE2M2Q1YTFmMDY1MDk5Y2MwYiIsIndlYnBhY2s6Ly8vLi9zb3VyY2UtbWFwLmpzIiwid2VicGFjazovLy8uL2xpYi9zb3VyY2UtbWFwLWdlbmVyYXRvci5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmFzZTY0LXZscS5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmFzZTY0LmpzIiwid2VicGFjazovLy8uL2xpYi91dGlsLmpzIiwid2VicGFjazovLy8uL2xpYi9hcnJheS1zZXQuanMiLCJ3ZWJwYWNrOi8vLy4vbGliL21hcHBpbmctbGlzdC5qcyIsIndlYnBhY2s6Ly8vLi9saWIvc291cmNlLW1hcC1jb25zdW1lci5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmluY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lsLmpvaW4oYVNvdXJjZU1hcFBhdGgsIG1hcHBpbmcuc291cmNlKVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgICAgICAgICBtYXBwaW5nLnNvdXJjZSA9IHV0aWwucmVsYXRpdmUoc291cmNlUm9vdCwgbWFwcGluZy5zb3VyY2UpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgbWFwcGluZy5vcmlnaW5hbExpbmUgPSBvcmlnaW5hbC5saW5lO1xuICAgICAgICAgICAgbWFwcGluZy5vcmlnaW5hbENvbHVtbiA9IG9yaWdpbmFsLmNvbHVtbjtcbiAgICAgICAgICAgIGlmIChvcmlnaW5hbC5uYW1lICE9IG51bGwpIHtcbiAgICAgICAgICAgICAgbWFwcGluZy5uYW1lID0gb3JpZ2luYWwubmFtZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICB2YXIgc291cmNlID0gbWFwcGluZy5zb3VyY2U7XG4gICAgICAgIGlmIChzb3VyY2UgIT0gbnVsbCAmJiAhbmV3U291cmNlcy5oYXMoc291cmNlKSkge1xuICAgICAgICAgIG5ld1NvdXJjZXMuYWRkKHNvdXJjZSk7XG4gICAgICAgIH1cblxuICAgICAgICB2YXIgbmFtZSA9IG1hcHBpbmcubmFtZTtcbiAgICAgICAgaWYgKG5hbWUgIT0gbnVsbCAmJiAhbmV3TmFtZXMuaGFzKG5hbWUpKSB7XG4gICAgICAgICAgbmV3TmFtZXMuYWRkKG5hbWUpO1xuICAgICAgICB9XG5cbiAgICAgIH0sIHRoaXMpO1xuICAgICAgdGhpcy5fc291cmNlcyA9IG5ld1NvdXJjZXM7XG4gICAgICB0aGlzLl9uYW1lcyA9IG5ld05hbWVzO1xuXG4gICAgICAvLyBDb3B5IHNvdXJjZXNDb250ZW50cyBvZiBhcHBsaWVkIG1hcC5cbiAgICAgIGFTb3VyY2VNYXBDb25zdW1l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koKTtcbiAgICAgIGZvciAodmFyIGkgPSAwLCBsZW4gPSBtYXBwaW5ncy5sZW5ndGg7IGkgPCBsZW47IGkrKykge1xuICAgICAgICBtYXBwaW5nID0gbWFwcGluZ3NbaV07XG5cbiAgICAgICAgaWYgKG1hcHBpbmcuZ2VuZXJhdGVkTGluZSAhPT0gcHJldmlvdXNHZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgICAgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSAwO1xuICAgICAgICAgIHdoaWxlIChtYXBwaW5nLmdlbmVyYXRlZExpbmUgIT09IHByZXZpb3VzR2VuZXJhdGVkTGluZSkge1xuICAgICAgICAgICAgcmVzdWx0ICs9ICc7JztcbiAgICAgICAgICAgIHByZXZpb3VzR2VuZXJhdGVkTGluZSsrO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBlbHNlIHtcbiAgICAgICAgICBpZiAoaSA+IDApIHtcbiAgICAgICAgICAgIGlmICghdXRpbC5jb21wYXJlQnlHZW5lcmF0ZWRQb3NpdGlvbnNJbmZsYXRlZChtYXBwaW5nLCBtYXBwaW5nc1tpIC0gMV0pKSB7XG4gICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmVzdWx0ICs9ICcsJztcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXN1bHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLmdlbmVyYXRlZENvbHVtblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAtIHByZXZpb3VzR2VuZXJhdGVkQ29sdW1uKTtcbiAgICAgICAgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbjtcblxuICAgICAgICBpZiAobWFwcGluZy5zb3VyY2UgIT0gbnVsbCkge1xuICAgICAgICAgIHNvdXJjZUlkeCA9IHRoaXMuX3NvdXJjZXMuaW5kZXhPZihtYXBwaW5nLnNvdXJjZSk7XG4gICAgICAgICAgcmVzdWx0ICs9IGJhc2U2NFZMUS5lbmNvZGUoc291cmNlSWR4IC0gcHJldmlvdXNTb3VyY2UpO1xuICAgICAgICAgIHByZXZpb3VzU291cmNlID0gc291cmNlSWR4O1xuXG4gICAgICAgICAgLy8gbGluZXMgYXJlIHN0b3JlZCAwLWJhc2VkIGluIFNvdXJjZU1hcCBzcGVjIHZlcnNpb24gM1xuICAgICAgICAgIHJlc3VsdCArPSBiYXNlNjRWTFEuZW5jb2RlKG1hcHBpbmcub3JpZ2luYWxMaW5lIC0gMVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0gcHJldmlvdXNPcmlnaW5hbExpbmUpO1xuICAgICAgICAgIHByZXZpb3VzT3JpZ2luYWxMaW5lID0gbWFwcGluZy5vcmlnaW5hbExpbmUgLSAxO1xuXG4gICAgICAgICAgcmVzdWx0ICs9IGJhc2U2NFZMUS5lbmNvZGUobWFwcGluZy5vcmlnaW5hbENvbHVtblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0gcHJldmlvdXNPcmlnaW5hbENvbHVtbik7XG4gICAgICAgICAgcHJldmlvdXNPcmlnaW5hbENvbHVtbiA9IG1hcHBpbmcub3JpZ2luYWxDb2x1bW47XG5cbiAgICAgICAgICBpZiAobWFwcGluZy5uYW1lICE9IG51bGwpIHtcbiAgICAgICAgICAgIG5hbWVJZHggPSB0aGlzLl9uYW1lcy5pbmRleE9mKG1hcHBpbmcubmFtZSk7XG4gICAgICAgICAgICByZXN1bHQgKz0gYmFzZTY0VkxRLmVuY29kZShuYW1lSWR4IC0gcHJldmlvdXNOYW1lKTtcbiAgICAgICAgICAgIHByZXZpb3VzTmFtZSA9IG5hbWVJZHg7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIHJldHVybiByZXN1bHQ7XG4gICAgfTtcblxuICBTb3VyY2VNYXBHZW5lcmF0b3IucHJvdG90eXBlLl9nZW5lcmF0ZVNvdXJjZXNDb250ZW50ID1cbiAgICBmdW5jdGlvbiBTb3VyY2VNYXBHZW5lcmF0b3JfZ2VuZXJhdGVTb3VyY2VzQ29udGVudChhU291cmNlcywgYVNvdXJjZVJvb3QpIHtcbiAgICAgIHJldHVybiBhU291cmNlcy5tYXAoZnVuY3Rpb24gKHNvdXJjZSkge1xuICAgICAgICBpZiAoIXRoaXMuX3NvdXJjZXNDb250ZW50cykge1xuICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG4gICAgICAgIGlmIChhU291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICAgICAgc291cmNlID0gdXRpbC5yZWxhdGl2ZShhU291cmNlUm9vdCwgc291cmNlKTtcbiAgICAgICAgfVxuICAgICAgICB2YXIga2V5ID0gdXRpbC50b1NldFN0cmluZyhzb3VyY2UpO1xuICAgICAgICByZXR1cm4gT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHRoaXMuX3NvdXJjZXNDb250ZW50cyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBrZXkpXG4gICAgICAgICAgPyB0aGlzLl9zb3VyY2VzQ29udGVudHNba2V5XVxuICAgICAgICAgIDogbnVsbDtcbiAgICAgIH0sIHRoaXMpO1xuICAgIH07XG5cbiAgLyoqXG4gICAqIEV4dGVybmFsaXplIHRoZSBzb3VyY2UgbWFwLlxuICAgKi9cbiAgU291cmNlTWFwR2VuZXJhdG9yLnByb3RvdHlwZS50b0pTT04gPVxuICAgIGZ1bmN0aW9uIFNvdXJjZU1hcEdlbmVyYXRvcl90b0pTT04oKSB7XG4gICAgICB2YXIgbWFwID0ge1xuICAgICAgICB2ZXJzaW9uOiB0aGlzLl92ZXJzaW9uLFxuICAgICAgICBzb3VyY2VzOiB0aGlzLl9zb3VyY2VzLnRvQXJyYXkoKSxcbiAgICAgICAgb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ICAgICAgYnJlYWs7XG4gICAgICBjYXNlIFNvdXJjZU1hcENvbnN1bWVyLk9SSUdJTkFMX09SREVSOlxuICAgICAgICBtYXBwaW5ncyA9IHRoaXMuX29yaWdpbmFsTWFwcGluZ3M7XG4gICAgICAgIGJyZWFrO1xuICAgICAgZGVmYXVsdDpcbiAgICAgICAgdGhyb3cgbmV3IEVycm9yKFwiVW5rbm93biBvcmRlciBvZiBpdGVyYXRpb24uXCIpO1xuICAgICAgfVxuXG4gICAgICB2YXIgc291cmNlUm9vdCA9IHRoaXMuc291cmNlUm9vdDtcbiAgICAgIG1hcHBpbmdzLm1hcChmdW5jdGlvbiAobWFwcGluZykge1xuICAgICAgICB2YXIgc291cmNlID0gbWFwcGluZy5zb3VyY2UgPT09IG51bGwgPyBudWxsIDogdGhpcy5fc291cmNlcy5hdChtYXBwaW5nLnNvdXJjZSk7XG4gICAgICAgIGlmIChzb3VyY2UgIT0gbnVsbCAmJiBzb3VyY2VSb290ICE9IG51bGwpIHtcbiAgICAgICAgICBzb3VyY2UgPSB1dGlsLmpvaW4oc291cmNlUm9vdCwgc291cmNlKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgIHNvdXJjZTogc291cmNlLFxuICAgICAgICAgIGdlbmVyYXRlZExpbmU6IG1hcHBpbmcuZ2VuZXJhdGVkTGluZSxcbiAgICAgICAgICBnZW5lcmF0ZWRDb2x1bW46IG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uLFxuICAgICAgICAgIG9yaWdpbmFsTGluZTogbWFwcGluZy5vcmlnaW5hbExpbmUsXG4gICAgICAgICAgb3JpZ2luYWxDb2x1bW46IG1hcHBpbmcub3JpZ2luYWxDb2x1bW4sXG4gICAgICAgICAgbmFtZTogbWFwcGluZy5uYW1lID09PSBudWxsID8gbnVsbCA6IHRoaXMuX25hbWVzLmF0KG1hcHBpbmcubmFtZSlcbiAgICAgICAgfTtcbiAgICAgIH0sIHRoaXMpLmZvckVhY2goY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ICAgIGlmICh0aGlzLnNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgICBuZWVkbGUuc291cmNlID0gdXRpbC5yZWxhdGl2ZSh0aGlzLnNvdXJjZVJvb3QsIG5lZWRsZS5zb3VyY2UpO1xuICAgICAgfVxuICAgICAgaWYgKCF0aGlzLl9zb3VyY2VzLmhhcyhuZWVkbGUuc291cmNlKSkge1xuICAgICAgICByZXR1cm4gW107XG4gICAgICB9XG4gICAgICBuZWVkbGUuc291cmNlID0gdGhpcy5fc291cmNlcy5pbmRleE9mKG5lZWRsZS5zb3VyY2UpO1xuXG4gICAgICB2YXIgbWFwcGluZ3MgPSBbXTtcblxuICAgICAgdmFyIGluZGV4ID0gdGhpcy5fZmluZE1hcHBpbmcobmVlZGxlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fb3JpZ2luYWxNYXBwaW5ncyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwib3JpZ2luYWxMaW5lXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIm9yaWdpbmFsQ29sdW1uXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB1dGlsLmNvbXBhcmVCeU9yaWdpbmFsUG9zaXRpb25zLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYmluYXJ5U2VhcmNoLkxFQVNUX1VQUEVSX0JPVU5EKTtcbiAgICAgIGlmIChpbmRleCA+PSAwKSB7XG4gICAgICAgIHZhciBtYXBwaW5nID0gdGhpcy5fb3JpZ2luYWxNYXBwaW5nc1tpbmRleF07XG5cbiAgICAgICAgaWYgKGFBcmdzLmNvbHVtbiA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgdmFyIG9yaWdpbmFsTGluZSA9IG1hcHBpbmcub3JpZ2luYWxMaW5lO1xuXG4gICAgICAgICAgLy8gSXRlcmF0ZSB1bnRpbCBlaXRoZXIgd2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ICAgICAgICBpZiAodGhpcy5fY2hhcklzTWFwcGluZ1NlcGFyYXRvcihhU3RyLCBlbmQpKSB7XG4gICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgICBzdHIgPSBhU3RyLnNsaWNlKGluZGV4LCBlbmQpO1xuXG4gICAgICAgICAgc2VnbWVudCA9IGNhY2hlZFNlZ21lbnRzW3N0cl07XG4gICAgICAgICAgaWYgKHNlZ21lbnQpIHtcbiAgICAgICAgICAgIGluZGV4ICs9IHN0ci5sZW5ndGg7XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHNlZ21lbnQgPSBbXTtcbiAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGVuZCkge1xuICAgICAgICAgICAgICBiYXNlNjRWTFEuZGVjb2RlKGFTdHIsIGluZGV4LCB0ZW1wKTtcbiAgICAgICAgICAgICAgdmFsdWUgPSB0ZW1wLnZhbHVlO1xuICAgICAgICAgICAgICBpbmRleCA9IHRlbXAucmVzdDtcbiAgICAgICAgICAgICAgc2VnbWVudC5wdXNoKHZhbHVlKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID09PSAyKSB7XG4gICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcignRm91bmQgYSBzb3VyY2UsIGJ1dCBubyBsaW5lIGFuZCBjb2x1bW4nKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID09PSAzKSB7XG4gICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcignRm91bmQgYSBzb3VyY2UgYW5kIGxpbmUsIGJ1dCBubyBjb2x1bW4nKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgY2FjaGVkU2VnbWVudHNbc3RyXSA9IHNlZ21lbnQ7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgLy8gR2VuZXJhdGVkIGNvbHVtbi5cbiAgICAgICAgICBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbiA9IHByZXZpb3VzR2VuZXJhdGVkQ29sdW1uICsgc2VnbWVudFswXTtcbiAgICAgICAgICBwcmV2aW91c0dlbmVyYXRlZENvbHVtbiA9IG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uO1xuXG4gICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID4gMSkge1xuICAgICAgICAgICAgLy8gT3JpZ2luYWwgc291cmNlLlxuICAgICAgICAgICAgbWFwcGluZy5zb3VyY2UgPSBwcmV2aW91c1NvdXJjZSArIHNlZ21lbnRbMV07XG4gICAgICAgICAgICBwcmV2aW91c1NvdXJjZSArPSBzZWdtZW50WzFdO1xuXG4gICAgICAgICAgICAvLyBPcmlnaW5hbCBsaW5lLlxuICAgICAgICAgICAgbWFwcGluZy5vcmlnaW5hbExpbmUgPSBwcmV2aW91c09yaWdpbmFsTGluZSArIHNlZ21lbnRbMl07XG4gICAgICAgICAgICBwcmV2aW91c09yaWdpbmFsTGluZSA9IG1hcHBpbmcub3JpZ2luYWxMaW5lO1xuICAgICAgICAgICAgLy8gTGluZXMgYXJlIHN0b3JlZCAwLWJhc2VkXG4gICAgICAgICAgICBtYXBwaW5nLm9yaWdpbmFsTGluZSArPSAxO1xuXG4gICAgICAgICAgICAvLyBPcmlnaW5hbCBjb2x1bW4uXG4gICAgICAgICAgICBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uID0gcHJldmlvdXNPcmlnaW5hbENvbHVtbiArIHNlZ21lbnRbM107XG4gICAgICAgICAgICBwcmV2aW91c09yaWdpbmFsQ29sdW1uID0gbWFwcGluZy5vcmlnaW5hbENvbHVtbjtcblxuICAgICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID4gNCkge1xuICAgICAgICAgICAgICAvLyBPcmlnaW5hbCBuYW1lLlxuICAgICAgICAgICAgICBtYXBwaW5nLm5hbWUgPSBwcmV2aW91c05hbWUgKyBzZWd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kTWFwcGluZ3MsXG4gICAgICAgIFwiZ2VuZXJhdGVkTGluZVwiLFxuICAgICAgICBcImdlbmVyYXRlZENvbHVtblwiLFxuICAgICAgICB1dGlsLmNvbXBhcmVCeUdlbmVyYXRlZFBvc2l0aW9uc0RlZmxhdGVkLFxuICAgICAgICB1dGlsLmdldEFyZyhhQXJncywgJ2JpYXMnLCBTb3VyY2VNYXBDb25zdW1lci5HUkVBVEVTVF9MT1dFUl9CT1VORClcbiAgICAgICk7XG5cbiAgICAgIGlmIChpbmRleCA+PSAwKSB7XG4gICAgICAgIHZhciBtYXBwaW5nID0gdGhpcy5fZ2VuZXJhdGVkTWFwcGluZ3NbaW5kZXhdO1xuXG4gICAgICAgIGlmIChtYXBwaW5nLmdlbmVyYXRlZExpbmUgPT09IG5lZWRsZS5nZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgICAgdmFyIHNvdXJjZSA9IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdzb3VyY2UnLCBudWxsKTtcbiAgICAgICAgICBpZiAoc291cmNlICE9PSBudWxsKSB7XG4gICAgICAgICAgICBzb3VyY2UgPSB0aGlzLl9zb3VyY2VzLmF0KHNvdXJjZSk7XG4gICAgICAgICAgICBpZiAodGhpcy5zb3VyY2VSb290ICE9IG51bGwpIHtcbiAgICAgICAgICAgICAgc291cmNlID0gdXRpbC5qb2luKHRoaXMuc291cmNlUm9vdCwgc291cmNlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgICAgdmFyIG5hbWUgPSB1dGlsLmdldEFyZyhtYXBwaW5nLCAnbmFtZScsIG51bGwpO1xuICAgICAgICAgIGlmIChuYW1lICE9PSBudWxsKSB7XG4gICAgICAgICAgICBuYW1lID0gdGhpcy5fbmFtZXMuYXQobmFtZSk7XG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBzb3VyY2U6IHNvdXJjZSxcbiAgICAgICAgICAgIGxpbmU6IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICdvcmlnaW5hbExpbmUnLCBudWxsKSxcbiAgICAgICAgICAgIGNvbHVtbjogdXRpbC5nZXRBcmcobWFwcGluZywgJ29yaWdpbmFsQ29sdW1uJywgbnVsbCksXG4gICAgICAgICAgICBuYW1lOiBuYW1lXG4gICAgICAgICAgfTtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICByZXR1cm4ge1xuICAgICAgICBzb3VyY2U6IG51bGwsXG4gICAgICAgIGxpbmU6IG51bGwsXG4gICAgICAgIGNvbHVtbjogbnVsbCxcbiAgICAgICAgbmFtZTogbnVsbFxuICAgICAgfTtcbiAgICB9O1xuXG4gIC8qKlxuICAgKiBSZXR1cm4gdHJ1ZSBpZiB3ZSBoYXZlIHRoZSBzb3VyY2UgY29udGVudCBmb3IgZXZlcnkgc291cmNlIGluIHRoZSBzb3VyY2VcbiAgICogbWFwLCBmYWxzZSBvdGhlcndpc2UuXG4gICAqL1xuICBCYXNpY1NvdXJjZU1hcENvbnN1bWVyLnByb3RvdHlwZS5oYXNDb250ZW50c09mQWxsU291cmNlcyA9XG4gICAgZnVuY3Rpb24gQmFzaWNTb3VyY2VNYXBDb25zdW1lcl9oYXNDb250ZW50c09mQWxsU291cmNlcygpIHtcbiAgICAgIGlmICghdGhpcy5zb3VyY2VzQ29udGVudCkge1xuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICB9XG4gICAgICByZXR1cm4gdGhpcy5zb3VyY2VzQ29udGVudC5sZW5ndGggPj0gdGhpcy5fc291cmNlcy5zaXplKCkgJiZcbiAgICAgICAgIXRoaXMuc291cmNlc0NvbnRlbnQuc29tZShmdW5jdGlvbiAoc2MpIHsgcmV0dXJuIHNjID09IG51bGw7IH0pO1xuICAgIH07XG5cbiAgLyoqXG4gICAqIFJldHVybnMgdGhlIG9yaWdpbmFsIHNvdXJjZSBjb250ZW50LiBUaGUgb25seSBhcmd1bWVudCBpcyB0aGUgdXJsIG9mIHRoZVxuICAgKiB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AgaWYgKGNvbnRlbnQgIT0gbnVsbCkge1xuICAgICAgICAgIGlmIChhUmVsYXRpdmVQYXRoICE9IG51bGwpIHtcbiAgICAgICAgICAgIHNvdXJjZUZpbGUgPSB1dGlsLmpvaW4oYVJlbGF0aXZlUGF0aCwgc291cmNlRmlsZSk7XG4gICAgICAgICAgfVxuICAgICAgICAgIG5vZGUuc2V0U291cmNlQ29udGVudChzb3VyY2VGaWxlLCBjb250ZW50KTtcbiAgICAgICAgfVxuICAgICAgfSk7XG5cbiAgICAgIHJldHVybiBub2RlO1xuXG4gICAgICBmdW5jdGlvbiBhZGRNYXBwaW5nV2l0aENvZGUobWFwcGluZywgY29kZSkge1xuICAgICAgICBpZiAobWFwcGluZyA9PT0gbnVsbCB8fCBtYXBwaW5nLnNvdXJjZSA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgbm9kZS5hZGQoY29kZSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdmFyIHNvdXJjZSA9IGFSZWxhdGl2ZVBhdGhcbiAgICAgICAgICAgID8gdXRpbC5qb2luKGFSZWxhdGl2ZVBhdGgsIG1hcHBpbmcuc291cmNlKVxuICAgICAgICAgICAgOiBtYXBwaW5nLnNvdXJjZTtcbiAgICAgICAgICBub2RlLmFkZChuZXcgU291cmNlTm9kZShtYXBwaW5nLm9yaWdpbmFsTGluZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNvdXJjZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1hcHBpbmcubmFtZSkpO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfTtcblxuICAvKipcbiAgICogQWRkIGEgY2h1bmsgb2YgZ2VuZXJhdGVkIEpTIHRvIHRoaXMgc291cmNl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luYWwuc291cmNlICE9PSBudWxsXG4gICAgICAgICAgJiYgb3JpZ2luYWwubGluZSAhPT0gbnVsbFxuICAgICAgICAgICYmIG9yaWdpbmFsLmNvbHVtbiAhPT0gbnVsbCkge1xuICAgICAgICBpZihsYXN0T3JpZ2luYWxTb3VyY2UgIT09IG9yaWdpbmFsLnNvdXJjZVxuICAgICAgICAgICB8fCBsYXN0T3JpZ2luYWxMaW5lICE9PSBvcmlnaW5hbC5saW5lXG4gICAgICAgICAgIHx8IGxhc3RPcmlnaW5hbENvbHVtbiAhPT0gb3JpZ2luYWwuY29sdW1uXG4gICAgICAgICAgIHx8IGxhc3RPcmlnaW5hbE5hbWUgIT09IG9yaWdpbmFsLm5hbWUpIHtcbiAgICAgICAgICBtYXAuYWRkTWFwcGluZyh7XG4gICAgICAgICAgICBzb3VyY2U6IG9yaWdpbmFsLnNvdXJjZSxcbiAgICAgICAgICAgIG9yaWdpbmFsOiB7XG4gICAgICAgICAgICAgIGxpbmU6IG9yaWdpbmFsLmxpbmUsXG4gICAgICAgICAgICAgIGNvbHVtbjogb3JpZ2luYWwuY29sdW1uXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgZ2VuZXJhdGVkOiB7XG4gICAgICAgICAgICAgIGxpbmU6IGdlbmVyYXRlZC5saW5lLFxuICAgICAgICAgICAgICBjb2x1bW46IGdlbmVyYXRlZC5jb2x1bW5cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBuYW1lOiBvcmlnaW5hbC5uYW1lXG4gICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgICAgbGFzdE9yaWdpbmFsU291cmNlID0gb3JpZ2luYWwuc291cmNlO1xuICAgICAgICBsYXN0T3JpZ2luYWxMaW5lID0gb3JpZ2luYWwubGluZTtcbiAgICAgICAgbGFzdE9yaWdpbmFsQ29sdW1uID0gb3JpZ2luYWwuY29sdW1uO1xuICAgICAgICBsYXN0T3JpZ2luYWxOYW1lID0gb3JpZ2luYWwubmFtZTtcbiAgICAgICAgc291cmNlTWFwcGluZ0FjdGl2ZSA9IHRydWU7XG4gICAgICB9IGVsc2UgaWYgKHNvdXJjZU1hcHBpbmdBY3RpdmUpIHtcbiAgICAgICAgbWFwLmFkZE1hcHBpbmcoe1xuICAgICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgICAgbGluZTogZ2VuZXJhdGVkLmxpbmUsXG4gICAgICAgICAgICBjb2x1bW46IGdlbmVyYXRlZC5jb2x1bW5cbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgICBsYXN0T3JpZ2luYWxTb3VyY2UgPSBudWxsO1xuICAgICAgICBzb3VyY2VNYXBwaW5nQWN0aXZlID0gZmFsc2U7XG4gICAgICB9XG4gICAgICBmb3IgKHZhciBpZHggPSAwLCBsZW5ndGggPSBjaHVuay5sZW5ndGg7IGlkeCA8IGxlbmd0aDsgaWR4KyspIHtcbiAgICAgICAgaWYgKGNodW5rLmNoYXJDb2RlQXQoaWR4KSA9PT0gTkVXTElORV9DT0RFKSB7XG4gICAgICAgICAgZ2VuZXJhdGVkLmxpbmUrKztcbiAgICAgICAgICBnZW5lcmF0ZWQuY29sdW1uID0gMDtcbiAgICAgICAgICAvLyBNYXBwaW5ncyBlbmQgYXQgZW9sXG4gICAgICAgICAgaWYgKGlkeCArIDEgPT09IGxlbmd0aCkge1xuICAgICAgICAgICAgbGFzdE9yaWdpbmFsU291cmNlID0gbnVsbDtcbiAgICAgICAgICAgIHNvdXJjZU1hcHBpbmdBY3RpdmUgPSBmYWxzZTtcbiAgICAgICAgICB9IGVsc2UgaWYgKHNvdXJjZU1hcHBpbmdBY3RpdmUpIHtcbiAgICAgICAgICAgIG1hcC5hZGRNYXBwaW5nKHtcbiAgICAgICAgICAgICAgc291cmNlOiBvcmlnaW5hbC5zb3VyY2UsXG4gICAgICAgICAgICAgIG9yaWdpbmFsOiB7XG4gICAgICAgICAgICAgICAgbGluZTogb3JpZ2luYWwubGluZSxcbiAgICAgICAgICAgICAgICBjb2x1bW46IG9yaWdpbmFsLmNvbHVtblxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICBnZW5lcmF0ZWQ6IHtcbiAgICAgICAgICAgICAgICBsaW5lOiBnZW5lcmF0ZWQubGluZSxcbiAgICAgICAgICAgICAgICBjb2x1bW46IGdlbmVyYXRlZC5jb2x1bW5cbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgbmFtZTogb3JpZ2luYWwubmFtZVxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIGdlbmVyYXRlZC5jb2x1bW4rKztcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0pO1xuICAgIHRoaXMud2Fsa1NvdXJjZUNvbnRlbnRzKGZ1bmN0aW9uIChzb3VyY2VGaWxlLCBzb3VyY2VDb250ZW50KSB7XG4gICAgICBtYXAuc2V0U291cmNlQ29udGVudChzb3VyY2VGaWxlLCBzb3VyY2VDb250ZW50KTtcbiAgICB9KTtcblxuICAgIHJldHVybiB7IGNvZGU6IGdlbmVyYXRlZC5jb2RlLCBtYXA6IG1hcCB9O1xuICB9O1xuXG4gIGV4cG9ydHMuU291cmNlTm9kZSA9IFNvdXJjZU5vZGU7XG59XG5cblxuXG4vKioqKioqKioqKioqKioqKipcbiAqKiBXRUJQQUNLIEZPT1RFUlxuICoqIC4vbGliL3NvdXJjZS1ub2RlLmpzXG4gKiogbW9kdWxlIGlkID0gMTBcbiAqKiBtb2R1bGUgY2h1bmtzID0gMFxuICoqLyJdLCJzb3VyY2VSb290IjoiIn0=