select_all-rails 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1874) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +17 -0
  3. data/README.md +1 -1
  4. data/lib/select_all/rails/version.rb +1 -1
  5. data/package.json +4 -4
  6. data/select_all-rails.gemspec +1 -1
  7. data/vendor/assets/javascripts/select_all.js +1 -1
  8. metadata +3 -1869
  9. data/node_modules/.bin/acorn +0 -71
  10. data/node_modules/.bin/escodegen +0 -77
  11. data/node_modules/.bin/esgenerate +0 -64
  12. data/node_modules/.bin/esparse +0 -126
  13. data/node_modules/.bin/esvalidate +0 -199
  14. data/node_modules/.bin/har-validator +0 -56
  15. data/node_modules/.bin/sshpk-conv +0 -201
  16. data/node_modules/.bin/sshpk-sign +0 -191
  17. data/node_modules/.bin/sshpk-verify +0 -166
  18. data/node_modules/.bin/uuid +0 -26
  19. data/node_modules/abab/CHANGELOG.md +0 -11
  20. data/node_modules/abab/README.md +0 -52
  21. data/node_modules/abab/index.js +0 -9
  22. data/node_modules/abab/lib/atob.js +0 -109
  23. data/node_modules/abab/lib/btoa.js +0 -65
  24. data/node_modules/abab/package.json +0 -106
  25. data/node_modules/acorn-globals/LICENSE +0 -19
  26. data/node_modules/acorn-globals/README.md +0 -76
  27. data/node_modules/acorn-globals/index.js +0 -180
  28. data/node_modules/acorn-globals/package.json +0 -100
  29. data/node_modules/acorn/.editorconfig +0 -7
  30. data/node_modules/acorn/.gitattributes +0 -1
  31. data/node_modules/acorn/.npmignore +0 -3
  32. data/node_modules/acorn/.tern-project +0 -6
  33. data/node_modules/acorn/.travis.yml +0 -6
  34. data/node_modules/acorn/AUTHORS +0 -43
  35. data/node_modules/acorn/LICENSE +0 -19
  36. data/node_modules/acorn/README.md +0 -396
  37. data/node_modules/acorn/bin/acorn +0 -71
  38. data/node_modules/acorn/bin/build-acorn.js +0 -82
  39. data/node_modules/acorn/bin/generate-identifier-regex.js +0 -47
  40. data/node_modules/acorn/bin/update_authors.sh +0 -6
  41. data/node_modules/acorn/dist/.keep +0 -0
  42. data/node_modules/acorn/dist/acorn.js +0 -3340
  43. data/node_modules/acorn/dist/acorn_loose.js +0 -1300
  44. data/node_modules/acorn/dist/walk.js +0 -377
  45. data/node_modules/acorn/package.json +0 -222
  46. data/node_modules/acorn/src/bin/acorn.js +0 -59
  47. data/node_modules/acorn/src/expression.js +0 -707
  48. data/node_modules/acorn/src/identifier.js +0 -90
  49. data/node_modules/acorn/src/index.js +0 -67
  50. data/node_modules/acorn/src/location.js +0 -24
  51. data/node_modules/acorn/src/locutil.js +0 -42
  52. data/node_modules/acorn/src/loose/acorn_loose.js +0 -0
  53. data/node_modules/acorn/src/loose/expression.js +0 -501
  54. data/node_modules/acorn/src/loose/index.js +0 -50
  55. data/node_modules/acorn/src/loose/parseutil.js +0 -1
  56. data/node_modules/acorn/src/loose/state.js +0 -160
  57. data/node_modules/acorn/src/loose/statement.js +0 -420
  58. data/node_modules/acorn/src/loose/tokenize.js +0 -108
  59. data/node_modules/acorn/src/lval.js +0 -215
  60. data/node_modules/acorn/src/node.js +0 -50
  61. data/node_modules/acorn/src/options.js +0 -121
  62. data/node_modules/acorn/src/parseutil.js +0 -102
  63. data/node_modules/acorn/src/state.js +0 -104
  64. data/node_modules/acorn/src/statement.js +0 -626
  65. data/node_modules/acorn/src/tokencontext.js +0 -109
  66. data/node_modules/acorn/src/tokenize.js +0 -682
  67. data/node_modules/acorn/src/tokentype.js +0 -147
  68. data/node_modules/acorn/src/util.js +0 -9
  69. data/node_modules/acorn/src/walk/index.js +0 -340
  70. data/node_modules/acorn/src/whitespace.js +0 -12
  71. data/node_modules/amdefine/LICENSE +0 -58
  72. data/node_modules/amdefine/README.md +0 -171
  73. data/node_modules/amdefine/amdefine.js +0 -301
  74. data/node_modules/amdefine/intercept.js +0 -36
  75. data/node_modules/amdefine/package.json +0 -86
  76. data/node_modules/ansi-regex/index.js +0 -4
  77. data/node_modules/ansi-regex/license +0 -21
  78. data/node_modules/ansi-regex/package.json +0 -121
  79. data/node_modules/ansi-regex/readme.md +0 -31
  80. data/node_modules/ansi-styles/index.js +0 -65
  81. data/node_modules/ansi-styles/license +0 -21
  82. data/node_modules/ansi-styles/package.json +0 -114
  83. data/node_modules/ansi-styles/readme.md +0 -86
  84. data/node_modules/array-equal/.npmignore +0 -1
  85. data/node_modules/array-equal/LICENSE +0 -22
  86. data/node_modules/array-equal/README.md +0 -11
  87. data/node_modules/array-equal/component.json +0 -10
  88. data/node_modules/array-equal/index.js +0 -9
  89. data/node_modules/array-equal/package.json +0 -75
  90. data/node_modules/asn1/.npmignore +0 -2
  91. data/node_modules/asn1/.travis.yml +0 -4
  92. data/node_modules/asn1/LICENSE +0 -19
  93. data/node_modules/asn1/README.md +0 -50
  94. data/node_modules/asn1/lib/ber/errors.js +0 -13
  95. data/node_modules/asn1/lib/ber/index.js +0 -27
  96. data/node_modules/asn1/lib/ber/reader.js +0 -261
  97. data/node_modules/asn1/lib/ber/types.js +0 -36
  98. data/node_modules/asn1/lib/ber/writer.js +0 -316
  99. data/node_modules/asn1/lib/index.js +0 -20
  100. data/node_modules/asn1/package.json +0 -98
  101. data/node_modules/asn1/tst/ber/reader.test.js +0 -208
  102. data/node_modules/asn1/tst/ber/writer.test.js +0 -370
  103. data/node_modules/assert-plus/AUTHORS +0 -6
  104. data/node_modules/assert-plus/CHANGES.md +0 -8
  105. data/node_modules/assert-plus/README.md +0 -155
  106. data/node_modules/assert-plus/assert.js +0 -206
  107. data/node_modules/assert-plus/package.json +0 -115
  108. data/node_modules/assertion-error/.npmignore +0 -11
  109. data/node_modules/assertion-error/History.md +0 -19
  110. data/node_modules/assertion-error/README.md +0 -41
  111. data/node_modules/assertion-error/index.js +0 -116
  112. data/node_modules/assertion-error/package.json +0 -95
  113. data/node_modules/asynckit/LICENSE +0 -21
  114. data/node_modules/asynckit/README.md +0 -233
  115. data/node_modules/asynckit/bench.js +0 -76
  116. data/node_modules/asynckit/index.js +0 -6
  117. data/node_modules/asynckit/lib/abort.js +0 -29
  118. data/node_modules/asynckit/lib/async.js +0 -34
  119. data/node_modules/asynckit/lib/defer.js +0 -26
  120. data/node_modules/asynckit/lib/iterate.js +0 -75
  121. data/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  122. data/node_modules/asynckit/lib/readable_parallel.js +0 -25
  123. data/node_modules/asynckit/lib/readable_serial.js +0 -25
  124. data/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  125. data/node_modules/asynckit/lib/state.js +0 -37
  126. data/node_modules/asynckit/lib/streamify.js +0 -141
  127. data/node_modules/asynckit/lib/terminator.js +0 -29
  128. data/node_modules/asynckit/package.json +0 -126
  129. data/node_modules/asynckit/parallel.js +0 -43
  130. data/node_modules/asynckit/serial.js +0 -17
  131. data/node_modules/asynckit/serialOrdered.js +0 -75
  132. data/node_modules/asynckit/stream.js +0 -21
  133. data/node_modules/aws-sign2/LICENSE +0 -55
  134. data/node_modules/aws-sign2/README.md +0 -4
  135. data/node_modules/aws-sign2/index.js +0 -212
  136. data/node_modules/aws-sign2/package.json +0 -81
  137. data/node_modules/aws4/.npmignore +0 -4
  138. data/node_modules/aws4/.tern-port +0 -1
  139. data/node_modules/aws4/.travis.yml +0 -5
  140. data/node_modules/aws4/LICENSE +0 -19
  141. data/node_modules/aws4/README.md +0 -523
  142. data/node_modules/aws4/aws4.js +0 -323
  143. data/node_modules/aws4/lru.js +0 -96
  144. data/node_modules/aws4/package.json +0 -140
  145. data/node_modules/bcrypt-pbkdf/README.md +0 -39
  146. data/node_modules/bcrypt-pbkdf/index.js +0 -559
  147. data/node_modules/bcrypt-pbkdf/package.json +0 -72
  148. data/node_modules/boom/.npmignore +0 -18
  149. data/node_modules/boom/.travis.yml +0 -8
  150. data/node_modules/boom/CONTRIBUTING.md +0 -1
  151. data/node_modules/boom/LICENSE +0 -28
  152. data/node_modules/boom/README.md +0 -652
  153. data/node_modules/boom/images/boom.png +0 -0
  154. data/node_modules/boom/lib/index.js +0 -318
  155. data/node_modules/boom/package.json +0 -98
  156. data/node_modules/boom/test/index.js +0 -654
  157. data/node_modules/caseless/LICENSE +0 -28
  158. data/node_modules/caseless/README.md +0 -45
  159. data/node_modules/caseless/index.js +0 -66
  160. data/node_modules/caseless/package.json +0 -96
  161. data/node_modules/caseless/test.js +0 -40
  162. data/node_modules/chai/.npmignore +0 -14
  163. data/node_modules/chai/CODE_OF_CONDUCT.md +0 -58
  164. data/node_modules/chai/CONTRIBUTING.md +0 -214
  165. data/node_modules/chai/History.md +0 -1059
  166. data/node_modules/chai/README.md +0 -83
  167. data/node_modules/chai/ReleaseNotes.md +0 -737
  168. data/node_modules/chai/bower.json +0 -26
  169. data/node_modules/chai/chai.js +0 -6142
  170. data/node_modules/chai/index.js +0 -1
  171. data/node_modules/chai/karma.conf.js +0 -28
  172. data/node_modules/chai/karma.sauce.js +0 -41
  173. data/node_modules/chai/lib/chai.js +0 -93
  174. data/node_modules/chai/lib/chai/assertion.js +0 -131
  175. data/node_modules/chai/lib/chai/config.js +0 -55
  176. data/node_modules/chai/lib/chai/core/assertions.js +0 -1860
  177. data/node_modules/chai/lib/chai/interface/assert.js +0 -1645
  178. data/node_modules/chai/lib/chai/interface/expect.js +0 -34
  179. data/node_modules/chai/lib/chai/interface/should.js +0 -201
  180. data/node_modules/chai/lib/chai/utils/addChainableMethod.js +0 -112
  181. data/node_modules/chai/lib/chai/utils/addMethod.js +0 -44
  182. data/node_modules/chai/lib/chai/utils/addProperty.js +0 -48
  183. data/node_modules/chai/lib/chai/utils/expectTypes.js +0 -42
  184. data/node_modules/chai/lib/chai/utils/flag.js +0 -33
  185. data/node_modules/chai/lib/chai/utils/getActual.js +0 -20
  186. data/node_modules/chai/lib/chai/utils/getEnumerableProperties.js +0 -26
  187. data/node_modules/chai/lib/chai/utils/getMessage.js +0 -51
  188. data/node_modules/chai/lib/chai/utils/getName.js +0 -22
  189. data/node_modules/chai/lib/chai/utils/getPathInfo.js +0 -111
  190. data/node_modules/chai/lib/chai/utils/getPathValue.js +0 -43
  191. data/node_modules/chai/lib/chai/utils/getProperties.js +0 -36
  192. data/node_modules/chai/lib/chai/utils/hasProperty.js +0 -64
  193. data/node_modules/chai/lib/chai/utils/index.js +0 -130
  194. data/node_modules/chai/lib/chai/utils/inspect.js +0 -335
  195. data/node_modules/chai/lib/chai/utils/objDisplay.js +0 -50
  196. data/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +0 -54
  197. data/node_modules/chai/lib/chai/utils/overwriteMethod.js +0 -52
  198. data/node_modules/chai/lib/chai/utils/overwriteProperty.js +0 -55
  199. data/node_modules/chai/lib/chai/utils/test.js +0 -28
  200. data/node_modules/chai/lib/chai/utils/transferFlags.js +0 -45
  201. data/node_modules/chai/package.json +0 -128
  202. data/node_modules/chai/sauce.browsers.js +0 -128
  203. data/node_modules/chalk/index.js +0 -116
  204. data/node_modules/chalk/license +0 -21
  205. data/node_modules/chalk/package.json +0 -140
  206. data/node_modules/chalk/readme.md +0 -213
  207. data/node_modules/combined-stream/License +0 -19
  208. data/node_modules/combined-stream/Readme.md +0 -138
  209. data/node_modules/combined-stream/lib/combined_stream.js +0 -188
  210. data/node_modules/combined-stream/package.json +0 -101
  211. data/node_modules/commander/History.md +0 -261
  212. data/node_modules/commander/LICENSE +0 -22
  213. data/node_modules/commander/Readme.md +0 -351
  214. data/node_modules/commander/index.js +0 -1110
  215. data/node_modules/commander/package.json +0 -104
  216. data/node_modules/content-type-parser/LICENSE.txt +0 -19
  217. data/node_modules/content-type-parser/README.md +0 -60
  218. data/node_modules/content-type-parser/lib/content-type-parser.js +0 -103
  219. data/node_modules/content-type-parser/package.json +0 -96
  220. data/node_modules/cryptiles/.npmignore +0 -18
  221. data/node_modules/cryptiles/.travis.yml +0 -8
  222. data/node_modules/cryptiles/LICENSE +0 -28
  223. data/node_modules/cryptiles/README.md +0 -16
  224. data/node_modules/cryptiles/lib/index.js +0 -68
  225. data/node_modules/cryptiles/package.json +0 -94
  226. data/node_modules/cryptiles/test/index.js +0 -102
  227. data/node_modules/cssom/LICENSE.txt +0 -20
  228. data/node_modules/cssom/README.mdown +0 -69
  229. data/node_modules/cssom/lib/CSSDocumentRule.js +0 -39
  230. data/node_modules/cssom/lib/CSSFontFaceRule.js +0 -36
  231. data/node_modules/cssom/lib/CSSImportRule.js +0 -132
  232. data/node_modules/cssom/lib/CSSKeyframeRule.js +0 -37
  233. data/node_modules/cssom/lib/CSSKeyframesRule.js +0 -39
  234. data/node_modules/cssom/lib/CSSMediaRule.js +0 -41
  235. data/node_modules/cssom/lib/CSSRule.js +0 -43
  236. data/node_modules/cssom/lib/CSSStyleDeclaration.js +0 -148
  237. data/node_modules/cssom/lib/CSSStyleRule.js +0 -190
  238. data/node_modules/cssom/lib/CSSStyleSheet.js +0 -88
  239. data/node_modules/cssom/lib/CSSValue.js +0 -43
  240. data/node_modules/cssom/lib/CSSValueExpression.js +0 -344
  241. data/node_modules/cssom/lib/MatcherList.js +0 -62
  242. data/node_modules/cssom/lib/MediaList.js +0 -61
  243. data/node_modules/cssom/lib/StyleSheet.js +0 -17
  244. data/node_modules/cssom/lib/clone.js +0 -76
  245. data/node_modules/cssom/lib/index.js +0 -19
  246. data/node_modules/cssom/lib/parse.js +0 -381
  247. data/node_modules/cssom/package.json +0 -96
  248. data/node_modules/cssstyle/.npmignore +0 -1
  249. data/node_modules/cssstyle/MIT-LICENSE.txt +0 -20
  250. data/node_modules/cssstyle/README.md +0 -27
  251. data/node_modules/cssstyle/lib/CSSStyleDeclaration.js +0 -233
  252. data/node_modules/cssstyle/lib/parsers.js +0 -670
  253. data/node_modules/cssstyle/lib/properties.js +0 -5858
  254. data/node_modules/cssstyle/lib/properties/alignmentBaseline.js +0 -12
  255. data/node_modules/cssstyle/lib/properties/azimuth.js +0 -65
  256. data/node_modules/cssstyle/lib/properties/background.js +0 -24
  257. data/node_modules/cssstyle/lib/properties/backgroundAttachment.js +0 -22
  258. data/node_modules/cssstyle/lib/properties/backgroundClip.js +0 -12
  259. data/node_modules/cssstyle/lib/properties/backgroundColor.js +0 -33
  260. data/node_modules/cssstyle/lib/properties/backgroundImage.js +0 -29
  261. data/node_modules/cssstyle/lib/properties/backgroundOrigin.js +0 -12
  262. data/node_modules/cssstyle/lib/properties/backgroundPosition.js +0 -56
  263. data/node_modules/cssstyle/lib/properties/backgroundPositionX.js +0 -12
  264. data/node_modules/cssstyle/lib/properties/backgroundPositionY.js +0 -12
  265. data/node_modules/cssstyle/lib/properties/backgroundRepeat.js +0 -25
  266. data/node_modules/cssstyle/lib/properties/backgroundRepeatX.js +0 -12
  267. data/node_modules/cssstyle/lib/properties/backgroundRepeatY.js +0 -12
  268. data/node_modules/cssstyle/lib/properties/backgroundSize.js +0 -12
  269. data/node_modules/cssstyle/lib/properties/baselineShift.js +0 -12
  270. data/node_modules/cssstyle/lib/properties/border.js +0 -49
  271. data/node_modules/cssstyle/lib/properties/borderBottom.js +0 -23
  272. data/node_modules/cssstyle/lib/properties/borderBottomColor.js +0 -16
  273. data/node_modules/cssstyle/lib/properties/borderBottomLeftRadius.js +0 -12
  274. data/node_modules/cssstyle/lib/properties/borderBottomRightRadius.js +0 -12
  275. data/node_modules/cssstyle/lib/properties/borderBottomStyle.js +0 -21
  276. data/node_modules/cssstyle/lib/properties/borderBottomWidth.js +0 -16
  277. data/node_modules/cssstyle/lib/properties/borderCollapse.js +0 -25
  278. data/node_modules/cssstyle/lib/properties/borderColor.js +0 -28
  279. data/node_modules/cssstyle/lib/properties/borderImage.js +0 -12
  280. data/node_modules/cssstyle/lib/properties/borderImageOutset.js +0 -12
  281. data/node_modules/cssstyle/lib/properties/borderImageRepeat.js +0 -12
  282. data/node_modules/cssstyle/lib/properties/borderImageSlice.js +0 -12
  283. data/node_modules/cssstyle/lib/properties/borderImageSource.js +0 -12
  284. data/node_modules/cssstyle/lib/properties/borderImageWidth.js +0 -12
  285. data/node_modules/cssstyle/lib/properties/borderLeft.js +0 -23
  286. data/node_modules/cssstyle/lib/properties/borderLeftColor.js +0 -16
  287. data/node_modules/cssstyle/lib/properties/borderLeftStyle.js +0 -21
  288. data/node_modules/cssstyle/lib/properties/borderLeftWidth.js +0 -16
  289. data/node_modules/cssstyle/lib/properties/borderRadius.js +0 -12
  290. data/node_modules/cssstyle/lib/properties/borderRight.js +0 -23
  291. data/node_modules/cssstyle/lib/properties/borderRightColor.js +0 -16
  292. data/node_modules/cssstyle/lib/properties/borderRightStyle.js +0 -21
  293. data/node_modules/cssstyle/lib/properties/borderRightWidth.js +0 -16
  294. data/node_modules/cssstyle/lib/properties/borderSpacing.js +0 -42
  295. data/node_modules/cssstyle/lib/properties/borderStyle.js +0 -27
  296. data/node_modules/cssstyle/lib/properties/borderTop.js +0 -22
  297. data/node_modules/cssstyle/lib/properties/borderTopColor.js +0 -16
  298. data/node_modules/cssstyle/lib/properties/borderTopLeftRadius.js +0 -12
  299. data/node_modules/cssstyle/lib/properties/borderTopRightRadius.js +0 -12
  300. data/node_modules/cssstyle/lib/properties/borderTopStyle.js +0 -21
  301. data/node_modules/cssstyle/lib/properties/borderTopWidth.js +0 -17
  302. data/node_modules/cssstyle/lib/properties/borderWidth.js +0 -47
  303. data/node_modules/cssstyle/lib/properties/bottom.js +0 -14
  304. data/node_modules/cssstyle/lib/properties/boxShadow.js +0 -12
  305. data/node_modules/cssstyle/lib/properties/boxSizing.js +0 -12
  306. data/node_modules/cssstyle/lib/properties/captionSide.js +0 -12
  307. data/node_modules/cssstyle/lib/properties/clear.js +0 -16
  308. data/node_modules/cssstyle/lib/properties/clip.js +0 -49
  309. data/node_modules/cssstyle/lib/properties/color.js +0 -14
  310. data/node_modules/cssstyle/lib/properties/colorInterpolation.js +0 -12
  311. data/node_modules/cssstyle/lib/properties/colorInterpolationFilters.js +0 -12
  312. data/node_modules/cssstyle/lib/properties/colorProfile.js +0 -12
  313. data/node_modules/cssstyle/lib/properties/colorRendering.js +0 -12
  314. data/node_modules/cssstyle/lib/properties/content.js +0 -12
  315. data/node_modules/cssstyle/lib/properties/counterIncrement.js +0 -12
  316. data/node_modules/cssstyle/lib/properties/counterReset.js +0 -12
  317. data/node_modules/cssstyle/lib/properties/cssFloat.js +0 -12
  318. data/node_modules/cssstyle/lib/properties/cue.js +0 -12
  319. data/node_modules/cssstyle/lib/properties/cueAfter.js +0 -12
  320. data/node_modules/cssstyle/lib/properties/cueBefore.js +0 -12
  321. data/node_modules/cssstyle/lib/properties/cursor.js +0 -12
  322. data/node_modules/cssstyle/lib/properties/direction.js +0 -12
  323. data/node_modules/cssstyle/lib/properties/display.js +0 -12
  324. data/node_modules/cssstyle/lib/properties/dominantBaseline.js +0 -12
  325. data/node_modules/cssstyle/lib/properties/elevation.js +0 -12
  326. data/node_modules/cssstyle/lib/properties/emptyCells.js +0 -12
  327. data/node_modules/cssstyle/lib/properties/enableBackground.js +0 -12
  328. data/node_modules/cssstyle/lib/properties/fill.js +0 -12
  329. data/node_modules/cssstyle/lib/properties/fillOpacity.js +0 -12
  330. data/node_modules/cssstyle/lib/properties/fillRule.js +0 -12
  331. data/node_modules/cssstyle/lib/properties/filter.js +0 -12
  332. data/node_modules/cssstyle/lib/properties/floodColor.js +0 -14
  333. data/node_modules/cssstyle/lib/properties/floodOpacity.js +0 -12
  334. data/node_modules/cssstyle/lib/properties/font.js +0 -40
  335. data/node_modules/cssstyle/lib/properties/fontFamily.js +0 -33
  336. data/node_modules/cssstyle/lib/properties/fontSize.js +0 -25
  337. data/node_modules/cssstyle/lib/properties/fontSizeAdjust.js +0 -12
  338. data/node_modules/cssstyle/lib/properties/fontStretch.js +0 -12
  339. data/node_modules/cssstyle/lib/properties/fontStyle.js +0 -18
  340. data/node_modules/cssstyle/lib/properties/fontVariant.js +0 -18
  341. data/node_modules/cssstyle/lib/properties/fontWeight.js +0 -18
  342. data/node_modules/cssstyle/lib/properties/glyphOrientationHorizontal.js +0 -12
  343. data/node_modules/cssstyle/lib/properties/glyphOrientationVertical.js +0 -12
  344. data/node_modules/cssstyle/lib/properties/height.js +0 -24
  345. data/node_modules/cssstyle/lib/properties/imageRendering.js +0 -12
  346. data/node_modules/cssstyle/lib/properties/kerning.js +0 -12
  347. data/node_modules/cssstyle/lib/properties/left.js +0 -14
  348. data/node_modules/cssstyle/lib/properties/letterSpacing.js +0 -12
  349. data/node_modules/cssstyle/lib/properties/lightingColor.js +0 -14
  350. data/node_modules/cssstyle/lib/properties/lineHeight.js +0 -21
  351. data/node_modules/cssstyle/lib/properties/listStyle.js +0 -12
  352. data/node_modules/cssstyle/lib/properties/listStyleImage.js +0 -12
  353. data/node_modules/cssstyle/lib/properties/listStylePosition.js +0 -12
  354. data/node_modules/cssstyle/lib/properties/listStyleType.js +0 -12
  355. data/node_modules/cssstyle/lib/properties/margin.js +0 -59
  356. data/node_modules/cssstyle/lib/properties/marginBottom.js +0 -13
  357. data/node_modules/cssstyle/lib/properties/marginLeft.js +0 -13
  358. data/node_modules/cssstyle/lib/properties/marginRight.js +0 -13
  359. data/node_modules/cssstyle/lib/properties/marginTop.js +0 -13
  360. data/node_modules/cssstyle/lib/properties/marker.js +0 -12
  361. data/node_modules/cssstyle/lib/properties/markerEnd.js +0 -12
  362. data/node_modules/cssstyle/lib/properties/markerMid.js +0 -12
  363. data/node_modules/cssstyle/lib/properties/markerOffset.js +0 -12
  364. data/node_modules/cssstyle/lib/properties/markerStart.js +0 -12
  365. data/node_modules/cssstyle/lib/properties/marks.js +0 -12
  366. data/node_modules/cssstyle/lib/properties/mask.js +0 -12
  367. data/node_modules/cssstyle/lib/properties/maxHeight.js +0 -12
  368. data/node_modules/cssstyle/lib/properties/maxWidth.js +0 -12
  369. data/node_modules/cssstyle/lib/properties/minHeight.js +0 -12
  370. data/node_modules/cssstyle/lib/properties/minWidth.js +0 -12
  371. data/node_modules/cssstyle/lib/properties/opacity.js +0 -14
  372. data/node_modules/cssstyle/lib/properties/orphans.js +0 -12
  373. data/node_modules/cssstyle/lib/properties/outline.js +0 -12
  374. data/node_modules/cssstyle/lib/properties/outlineColor.js +0 -14
  375. data/node_modules/cssstyle/lib/properties/outlineOffset.js +0 -12
  376. data/node_modules/cssstyle/lib/properties/outlineStyle.js +0 -12
  377. data/node_modules/cssstyle/lib/properties/outlineWidth.js +0 -12
  378. data/node_modules/cssstyle/lib/properties/overflow.js +0 -12
  379. data/node_modules/cssstyle/lib/properties/overflowX.js +0 -12
  380. data/node_modules/cssstyle/lib/properties/overflowY.js +0 -12
  381. data/node_modules/cssstyle/lib/properties/padding.js +0 -52
  382. data/node_modules/cssstyle/lib/properties/paddingBottom.js +0 -13
  383. data/node_modules/cssstyle/lib/properties/paddingLeft.js +0 -13
  384. data/node_modules/cssstyle/lib/properties/paddingRight.js +0 -13
  385. data/node_modules/cssstyle/lib/properties/paddingTop.js +0 -13
  386. data/node_modules/cssstyle/lib/properties/page.js +0 -12
  387. data/node_modules/cssstyle/lib/properties/pageBreakAfter.js +0 -12
  388. data/node_modules/cssstyle/lib/properties/pageBreakBefore.js +0 -12
  389. data/node_modules/cssstyle/lib/properties/pageBreakInside.js +0 -12
  390. data/node_modules/cssstyle/lib/properties/pause.js +0 -12
  391. data/node_modules/cssstyle/lib/properties/pauseAfter.js +0 -12
  392. data/node_modules/cssstyle/lib/properties/pauseBefore.js +0 -12
  393. data/node_modules/cssstyle/lib/properties/pitch.js +0 -12
  394. data/node_modules/cssstyle/lib/properties/pitchRange.js +0 -12
  395. data/node_modules/cssstyle/lib/properties/playDuring.js +0 -12
  396. data/node_modules/cssstyle/lib/properties/pointerEvents.js +0 -12
  397. data/node_modules/cssstyle/lib/properties/position.js +0 -12
  398. data/node_modules/cssstyle/lib/properties/quotes.js +0 -12
  399. data/node_modules/cssstyle/lib/properties/resize.js +0 -12
  400. data/node_modules/cssstyle/lib/properties/richness.js +0 -12
  401. data/node_modules/cssstyle/lib/properties/right.js +0 -14
  402. data/node_modules/cssstyle/lib/properties/shapeRendering.js +0 -12
  403. data/node_modules/cssstyle/lib/properties/size.js +0 -12
  404. data/node_modules/cssstyle/lib/properties/speak.js +0 -12
  405. data/node_modules/cssstyle/lib/properties/speakHeader.js +0 -12
  406. data/node_modules/cssstyle/lib/properties/speakNumeral.js +0 -12
  407. data/node_modules/cssstyle/lib/properties/speakPunctuation.js +0 -12
  408. data/node_modules/cssstyle/lib/properties/speechRate.js +0 -12
  409. data/node_modules/cssstyle/lib/properties/src.js +0 -12
  410. data/node_modules/cssstyle/lib/properties/stopColor.js +0 -14
  411. data/node_modules/cssstyle/lib/properties/stopOpacity.js +0 -12
  412. data/node_modules/cssstyle/lib/properties/stress.js +0 -12
  413. data/node_modules/cssstyle/lib/properties/stroke.js +0 -12
  414. data/node_modules/cssstyle/lib/properties/strokeDasharray.js +0 -12
  415. data/node_modules/cssstyle/lib/properties/strokeDashoffset.js +0 -12
  416. data/node_modules/cssstyle/lib/properties/strokeLinecap.js +0 -12
  417. data/node_modules/cssstyle/lib/properties/strokeLinejoin.js +0 -12
  418. data/node_modules/cssstyle/lib/properties/strokeMiterlimit.js +0 -12
  419. data/node_modules/cssstyle/lib/properties/strokeOpacity.js +0 -12
  420. data/node_modules/cssstyle/lib/properties/strokeWidth.js +0 -12
  421. data/node_modules/cssstyle/lib/properties/tableLayout.js +0 -12
  422. data/node_modules/cssstyle/lib/properties/textAlign.js +0 -12
  423. data/node_modules/cssstyle/lib/properties/textAnchor.js +0 -12
  424. data/node_modules/cssstyle/lib/properties/textDecoration.js +0 -12
  425. data/node_modules/cssstyle/lib/properties/textIndent.js +0 -12
  426. data/node_modules/cssstyle/lib/properties/textLineThrough.js +0 -12
  427. data/node_modules/cssstyle/lib/properties/textLineThroughColor.js +0 -14
  428. data/node_modules/cssstyle/lib/properties/textLineThroughMode.js +0 -12
  429. data/node_modules/cssstyle/lib/properties/textLineThroughStyle.js +0 -12
  430. data/node_modules/cssstyle/lib/properties/textLineThroughWidth.js +0 -12
  431. data/node_modules/cssstyle/lib/properties/textOverflow.js +0 -12
  432. data/node_modules/cssstyle/lib/properties/textOverline.js +0 -12
  433. data/node_modules/cssstyle/lib/properties/textOverlineColor.js +0 -14
  434. data/node_modules/cssstyle/lib/properties/textOverlineMode.js +0 -12
  435. data/node_modules/cssstyle/lib/properties/textOverlineStyle.js +0 -12
  436. data/node_modules/cssstyle/lib/properties/textOverlineWidth.js +0 -12
  437. data/node_modules/cssstyle/lib/properties/textRendering.js +0 -12
  438. data/node_modules/cssstyle/lib/properties/textShadow.js +0 -12
  439. data/node_modules/cssstyle/lib/properties/textTransform.js +0 -12
  440. data/node_modules/cssstyle/lib/properties/textUnderline.js +0 -12
  441. data/node_modules/cssstyle/lib/properties/textUnderlineColor.js +0 -14
  442. data/node_modules/cssstyle/lib/properties/textUnderlineMode.js +0 -12
  443. data/node_modules/cssstyle/lib/properties/textUnderlineStyle.js +0 -12
  444. data/node_modules/cssstyle/lib/properties/textUnderlineWidth.js +0 -12
  445. data/node_modules/cssstyle/lib/properties/top.js +0 -14
  446. data/node_modules/cssstyle/lib/properties/unicodeBidi.js +0 -12
  447. data/node_modules/cssstyle/lib/properties/unicodeRange.js +0 -12
  448. data/node_modules/cssstyle/lib/properties/vectorEffect.js +0 -12
  449. data/node_modules/cssstyle/lib/properties/verticalAlign.js +0 -12
  450. data/node_modules/cssstyle/lib/properties/visibility.js +0 -12
  451. data/node_modules/cssstyle/lib/properties/voiceFamily.js +0 -12
  452. data/node_modules/cssstyle/lib/properties/volume.js +0 -12
  453. data/node_modules/cssstyle/lib/properties/webkitAnimation.js +0 -12
  454. data/node_modules/cssstyle/lib/properties/webkitAnimationDelay.js +0 -12
  455. data/node_modules/cssstyle/lib/properties/webkitAnimationDirection.js +0 -12
  456. data/node_modules/cssstyle/lib/properties/webkitAnimationDuration.js +0 -12
  457. data/node_modules/cssstyle/lib/properties/webkitAnimationFillMode.js +0 -12
  458. data/node_modules/cssstyle/lib/properties/webkitAnimationIterationCount.js +0 -12
  459. data/node_modules/cssstyle/lib/properties/webkitAnimationName.js +0 -12
  460. data/node_modules/cssstyle/lib/properties/webkitAnimationPlayState.js +0 -12
  461. data/node_modules/cssstyle/lib/properties/webkitAnimationTimingFunction.js +0 -12
  462. data/node_modules/cssstyle/lib/properties/webkitAppearance.js +0 -12
  463. data/node_modules/cssstyle/lib/properties/webkitAspectRatio.js +0 -12
  464. data/node_modules/cssstyle/lib/properties/webkitBackfaceVisibility.js +0 -12
  465. data/node_modules/cssstyle/lib/properties/webkitBackgroundClip.js +0 -12
  466. data/node_modules/cssstyle/lib/properties/webkitBackgroundComposite.js +0 -12
  467. data/node_modules/cssstyle/lib/properties/webkitBackgroundOrigin.js +0 -12
  468. data/node_modules/cssstyle/lib/properties/webkitBackgroundSize.js +0 -12
  469. data/node_modules/cssstyle/lib/properties/webkitBorderAfter.js +0 -12
  470. data/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +0 -14
  471. data/node_modules/cssstyle/lib/properties/webkitBorderAfterStyle.js +0 -12
  472. data/node_modules/cssstyle/lib/properties/webkitBorderAfterWidth.js +0 -12
  473. data/node_modules/cssstyle/lib/properties/webkitBorderBefore.js +0 -12
  474. data/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +0 -14
  475. data/node_modules/cssstyle/lib/properties/webkitBorderBeforeStyle.js +0 -12
  476. data/node_modules/cssstyle/lib/properties/webkitBorderBeforeWidth.js +0 -12
  477. data/node_modules/cssstyle/lib/properties/webkitBorderEnd.js +0 -12
  478. data/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +0 -14
  479. data/node_modules/cssstyle/lib/properties/webkitBorderEndStyle.js +0 -12
  480. data/node_modules/cssstyle/lib/properties/webkitBorderEndWidth.js +0 -12
  481. data/node_modules/cssstyle/lib/properties/webkitBorderFit.js +0 -12
  482. data/node_modules/cssstyle/lib/properties/webkitBorderHorizontalSpacing.js +0 -12
  483. data/node_modules/cssstyle/lib/properties/webkitBorderImage.js +0 -12
  484. data/node_modules/cssstyle/lib/properties/webkitBorderRadius.js +0 -12
  485. data/node_modules/cssstyle/lib/properties/webkitBorderStart.js +0 -12
  486. data/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +0 -14
  487. data/node_modules/cssstyle/lib/properties/webkitBorderStartStyle.js +0 -12
  488. data/node_modules/cssstyle/lib/properties/webkitBorderStartWidth.js +0 -12
  489. data/node_modules/cssstyle/lib/properties/webkitBorderVerticalSpacing.js +0 -12
  490. data/node_modules/cssstyle/lib/properties/webkitBoxAlign.js +0 -12
  491. data/node_modules/cssstyle/lib/properties/webkitBoxDirection.js +0 -12
  492. data/node_modules/cssstyle/lib/properties/webkitBoxFlex.js +0 -12
  493. data/node_modules/cssstyle/lib/properties/webkitBoxFlexGroup.js +0 -12
  494. data/node_modules/cssstyle/lib/properties/webkitBoxLines.js +0 -12
  495. data/node_modules/cssstyle/lib/properties/webkitBoxOrdinalGroup.js +0 -12
  496. data/node_modules/cssstyle/lib/properties/webkitBoxOrient.js +0 -12
  497. data/node_modules/cssstyle/lib/properties/webkitBoxPack.js +0 -12
  498. data/node_modules/cssstyle/lib/properties/webkitBoxReflect.js +0 -12
  499. data/node_modules/cssstyle/lib/properties/webkitBoxShadow.js +0 -12
  500. data/node_modules/cssstyle/lib/properties/webkitColorCorrection.js +0 -12
  501. data/node_modules/cssstyle/lib/properties/webkitColumnAxis.js +0 -12
  502. data/node_modules/cssstyle/lib/properties/webkitColumnBreakAfter.js +0 -12
  503. data/node_modules/cssstyle/lib/properties/webkitColumnBreakBefore.js +0 -12
  504. data/node_modules/cssstyle/lib/properties/webkitColumnBreakInside.js +0 -12
  505. data/node_modules/cssstyle/lib/properties/webkitColumnCount.js +0 -12
  506. data/node_modules/cssstyle/lib/properties/webkitColumnGap.js +0 -12
  507. data/node_modules/cssstyle/lib/properties/webkitColumnRule.js +0 -12
  508. data/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +0 -14
  509. data/node_modules/cssstyle/lib/properties/webkitColumnRuleStyle.js +0 -12
  510. data/node_modules/cssstyle/lib/properties/webkitColumnRuleWidth.js +0 -12
  511. data/node_modules/cssstyle/lib/properties/webkitColumnSpan.js +0 -12
  512. data/node_modules/cssstyle/lib/properties/webkitColumnWidth.js +0 -12
  513. data/node_modules/cssstyle/lib/properties/webkitColumns.js +0 -12
  514. data/node_modules/cssstyle/lib/properties/webkitFilter.js +0 -12
  515. data/node_modules/cssstyle/lib/properties/webkitFlexAlign.js +0 -12
  516. data/node_modules/cssstyle/lib/properties/webkitFlexDirection.js +0 -12
  517. data/node_modules/cssstyle/lib/properties/webkitFlexFlow.js +0 -12
  518. data/node_modules/cssstyle/lib/properties/webkitFlexItemAlign.js +0 -12
  519. data/node_modules/cssstyle/lib/properties/webkitFlexLinePack.js +0 -12
  520. data/node_modules/cssstyle/lib/properties/webkitFlexOrder.js +0 -12
  521. data/node_modules/cssstyle/lib/properties/webkitFlexPack.js +0 -12
  522. data/node_modules/cssstyle/lib/properties/webkitFlexWrap.js +0 -12
  523. data/node_modules/cssstyle/lib/properties/webkitFlowFrom.js +0 -12
  524. data/node_modules/cssstyle/lib/properties/webkitFlowInto.js +0 -12
  525. data/node_modules/cssstyle/lib/properties/webkitFontFeatureSettings.js +0 -12
  526. data/node_modules/cssstyle/lib/properties/webkitFontKerning.js +0 -12
  527. data/node_modules/cssstyle/lib/properties/webkitFontSizeDelta.js +0 -12
  528. data/node_modules/cssstyle/lib/properties/webkitFontSmoothing.js +0 -12
  529. data/node_modules/cssstyle/lib/properties/webkitFontVariantLigatures.js +0 -12
  530. data/node_modules/cssstyle/lib/properties/webkitHighlight.js +0 -12
  531. data/node_modules/cssstyle/lib/properties/webkitHyphenateCharacter.js +0 -12
  532. data/node_modules/cssstyle/lib/properties/webkitHyphenateLimitAfter.js +0 -12
  533. data/node_modules/cssstyle/lib/properties/webkitHyphenateLimitBefore.js +0 -12
  534. data/node_modules/cssstyle/lib/properties/webkitHyphenateLimitLines.js +0 -12
  535. data/node_modules/cssstyle/lib/properties/webkitHyphens.js +0 -12
  536. data/node_modules/cssstyle/lib/properties/webkitLineAlign.js +0 -12
  537. data/node_modules/cssstyle/lib/properties/webkitLineBoxContain.js +0 -12
  538. data/node_modules/cssstyle/lib/properties/webkitLineBreak.js +0 -12
  539. data/node_modules/cssstyle/lib/properties/webkitLineClamp.js +0 -12
  540. data/node_modules/cssstyle/lib/properties/webkitLineGrid.js +0 -12
  541. data/node_modules/cssstyle/lib/properties/webkitLineSnap.js +0 -12
  542. data/node_modules/cssstyle/lib/properties/webkitLocale.js +0 -12
  543. data/node_modules/cssstyle/lib/properties/webkitLogicalHeight.js +0 -12
  544. data/node_modules/cssstyle/lib/properties/webkitLogicalWidth.js +0 -12
  545. data/node_modules/cssstyle/lib/properties/webkitMarginAfter.js +0 -12
  546. data/node_modules/cssstyle/lib/properties/webkitMarginAfterCollapse.js +0 -12
  547. data/node_modules/cssstyle/lib/properties/webkitMarginBefore.js +0 -12
  548. data/node_modules/cssstyle/lib/properties/webkitMarginBeforeCollapse.js +0 -12
  549. data/node_modules/cssstyle/lib/properties/webkitMarginBottomCollapse.js +0 -12
  550. data/node_modules/cssstyle/lib/properties/webkitMarginCollapse.js +0 -12
  551. data/node_modules/cssstyle/lib/properties/webkitMarginEnd.js +0 -12
  552. data/node_modules/cssstyle/lib/properties/webkitMarginStart.js +0 -12
  553. data/node_modules/cssstyle/lib/properties/webkitMarginTopCollapse.js +0 -12
  554. data/node_modules/cssstyle/lib/properties/webkitMarquee.js +0 -12
  555. data/node_modules/cssstyle/lib/properties/webkitMarqueeDirection.js +0 -12
  556. data/node_modules/cssstyle/lib/properties/webkitMarqueeIncrement.js +0 -12
  557. data/node_modules/cssstyle/lib/properties/webkitMarqueeRepetition.js +0 -12
  558. data/node_modules/cssstyle/lib/properties/webkitMarqueeSpeed.js +0 -12
  559. data/node_modules/cssstyle/lib/properties/webkitMarqueeStyle.js +0 -12
  560. data/node_modules/cssstyle/lib/properties/webkitMask.js +0 -12
  561. data/node_modules/cssstyle/lib/properties/webkitMaskAttachment.js +0 -12
  562. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImage.js +0 -12
  563. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageOutset.js +0 -12
  564. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageRepeat.js +0 -12
  565. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageSlice.js +0 -12
  566. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageSource.js +0 -12
  567. data/node_modules/cssstyle/lib/properties/webkitMaskBoxImageWidth.js +0 -12
  568. data/node_modules/cssstyle/lib/properties/webkitMaskClip.js +0 -12
  569. data/node_modules/cssstyle/lib/properties/webkitMaskComposite.js +0 -12
  570. data/node_modules/cssstyle/lib/properties/webkitMaskImage.js +0 -12
  571. data/node_modules/cssstyle/lib/properties/webkitMaskOrigin.js +0 -12
  572. data/node_modules/cssstyle/lib/properties/webkitMaskPosition.js +0 -12
  573. data/node_modules/cssstyle/lib/properties/webkitMaskPositionX.js +0 -12
  574. data/node_modules/cssstyle/lib/properties/webkitMaskPositionY.js +0 -12
  575. data/node_modules/cssstyle/lib/properties/webkitMaskRepeat.js +0 -12
  576. data/node_modules/cssstyle/lib/properties/webkitMaskRepeatX.js +0 -12
  577. data/node_modules/cssstyle/lib/properties/webkitMaskRepeatY.js +0 -12
  578. data/node_modules/cssstyle/lib/properties/webkitMaskSize.js +0 -12
  579. data/node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +0 -14
  580. data/node_modules/cssstyle/lib/properties/webkitMaxLogicalHeight.js +0 -12
  581. data/node_modules/cssstyle/lib/properties/webkitMaxLogicalWidth.js +0 -12
  582. data/node_modules/cssstyle/lib/properties/webkitMinLogicalHeight.js +0 -12
  583. data/node_modules/cssstyle/lib/properties/webkitMinLogicalWidth.js +0 -12
  584. data/node_modules/cssstyle/lib/properties/webkitNbspMode.js +0 -12
  585. data/node_modules/cssstyle/lib/properties/webkitOverflowScrolling.js +0 -12
  586. data/node_modules/cssstyle/lib/properties/webkitPaddingAfter.js +0 -12
  587. data/node_modules/cssstyle/lib/properties/webkitPaddingBefore.js +0 -12
  588. data/node_modules/cssstyle/lib/properties/webkitPaddingEnd.js +0 -12
  589. data/node_modules/cssstyle/lib/properties/webkitPaddingStart.js +0 -12
  590. data/node_modules/cssstyle/lib/properties/webkitPerspective.js +0 -12
  591. data/node_modules/cssstyle/lib/properties/webkitPerspectiveOrigin.js +0 -12
  592. data/node_modules/cssstyle/lib/properties/webkitPerspectiveOriginX.js +0 -12
  593. data/node_modules/cssstyle/lib/properties/webkitPerspectiveOriginY.js +0 -12
  594. data/node_modules/cssstyle/lib/properties/webkitPrintColorAdjust.js +0 -12
  595. data/node_modules/cssstyle/lib/properties/webkitRegionBreakAfter.js +0 -12
  596. data/node_modules/cssstyle/lib/properties/webkitRegionBreakBefore.js +0 -12
  597. data/node_modules/cssstyle/lib/properties/webkitRegionBreakInside.js +0 -12
  598. data/node_modules/cssstyle/lib/properties/webkitRegionOverflow.js +0 -12
  599. data/node_modules/cssstyle/lib/properties/webkitRtlOrdering.js +0 -12
  600. data/node_modules/cssstyle/lib/properties/webkitSvgShadow.js +0 -12
  601. data/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +0 -14
  602. data/node_modules/cssstyle/lib/properties/webkitTextCombine.js +0 -12
  603. data/node_modules/cssstyle/lib/properties/webkitTextDecorationsInEffect.js +0 -12
  604. data/node_modules/cssstyle/lib/properties/webkitTextEmphasis.js +0 -12
  605. data/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +0 -14
  606. data/node_modules/cssstyle/lib/properties/webkitTextEmphasisPosition.js +0 -12
  607. data/node_modules/cssstyle/lib/properties/webkitTextEmphasisStyle.js +0 -12
  608. data/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +0 -14
  609. data/node_modules/cssstyle/lib/properties/webkitTextOrientation.js +0 -12
  610. data/node_modules/cssstyle/lib/properties/webkitTextSecurity.js +0 -12
  611. data/node_modules/cssstyle/lib/properties/webkitTextSizeAdjust.js +0 -12
  612. data/node_modules/cssstyle/lib/properties/webkitTextStroke.js +0 -12
  613. data/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +0 -14
  614. data/node_modules/cssstyle/lib/properties/webkitTextStrokeWidth.js +0 -12
  615. data/node_modules/cssstyle/lib/properties/webkitTransform.js +0 -12
  616. data/node_modules/cssstyle/lib/properties/webkitTransformOrigin.js +0 -12
  617. data/node_modules/cssstyle/lib/properties/webkitTransformOriginX.js +0 -12
  618. data/node_modules/cssstyle/lib/properties/webkitTransformOriginY.js +0 -12
  619. data/node_modules/cssstyle/lib/properties/webkitTransformOriginZ.js +0 -12
  620. data/node_modules/cssstyle/lib/properties/webkitTransformStyle.js +0 -12
  621. data/node_modules/cssstyle/lib/properties/webkitTransition.js +0 -12
  622. data/node_modules/cssstyle/lib/properties/webkitTransitionDelay.js +0 -12
  623. data/node_modules/cssstyle/lib/properties/webkitTransitionDuration.js +0 -12
  624. data/node_modules/cssstyle/lib/properties/webkitTransitionProperty.js +0 -12
  625. data/node_modules/cssstyle/lib/properties/webkitTransitionTimingFunction.js +0 -12
  626. data/node_modules/cssstyle/lib/properties/webkitUserDrag.js +0 -12
  627. data/node_modules/cssstyle/lib/properties/webkitUserModify.js +0 -12
  628. data/node_modules/cssstyle/lib/properties/webkitUserSelect.js +0 -12
  629. data/node_modules/cssstyle/lib/properties/webkitWrap.js +0 -12
  630. data/node_modules/cssstyle/lib/properties/webkitWrapFlow.js +0 -12
  631. data/node_modules/cssstyle/lib/properties/webkitWrapMargin.js +0 -12
  632. data/node_modules/cssstyle/lib/properties/webkitWrapPadding.js +0 -12
  633. data/node_modules/cssstyle/lib/properties/webkitWrapShapeInside.js +0 -12
  634. data/node_modules/cssstyle/lib/properties/webkitWrapShapeOutside.js +0 -12
  635. data/node_modules/cssstyle/lib/properties/webkitWrapThrough.js +0 -12
  636. data/node_modules/cssstyle/lib/properties/webkitWritingMode.js +0 -12
  637. data/node_modules/cssstyle/lib/properties/whiteSpace.js +0 -12
  638. data/node_modules/cssstyle/lib/properties/widows.js +0 -12
  639. data/node_modules/cssstyle/lib/properties/width.js +0 -24
  640. data/node_modules/cssstyle/lib/properties/wordBreak.js +0 -12
  641. data/node_modules/cssstyle/lib/properties/wordSpacing.js +0 -12
  642. data/node_modules/cssstyle/lib/properties/wordWrap.js +0 -12
  643. data/node_modules/cssstyle/lib/properties/writingMode.js +0 -12
  644. data/node_modules/cssstyle/lib/properties/zIndex.js +0 -12
  645. data/node_modules/cssstyle/lib/properties/zoom.js +0 -12
  646. data/node_modules/cssstyle/package.json +0 -109
  647. data/node_modules/cssstyle/scripts/generate_properties.js +0 -302
  648. data/node_modules/cssstyle/scripts/run_tests.sh +0 -4
  649. data/node_modules/cssstyle/tests/tests.js +0 -405
  650. data/node_modules/dashdash/CHANGES.md +0 -364
  651. data/node_modules/dashdash/LICENSE.txt +0 -24
  652. data/node_modules/dashdash/README.md +0 -574
  653. data/node_modules/dashdash/etc/dashdash.bash_completion.in +0 -389
  654. data/node_modules/dashdash/lib/dashdash.js +0 -1055
  655. data/node_modules/dashdash/node_modules/assert-plus/AUTHORS +0 -6
  656. data/node_modules/dashdash/node_modules/assert-plus/CHANGES.md +0 -14
  657. data/node_modules/dashdash/node_modules/assert-plus/README.md +0 -162
  658. data/node_modules/dashdash/node_modules/assert-plus/assert.js +0 -211
  659. data/node_modules/dashdash/node_modules/assert-plus/package.json +0 -115
  660. data/node_modules/dashdash/package.json +0 -125
  661. data/node_modules/deep-eql/.npmignore +0 -11
  662. data/node_modules/deep-eql/History.md +0 -28
  663. data/node_modules/deep-eql/README.md +0 -52
  664. data/node_modules/deep-eql/index.js +0 -1
  665. data/node_modules/deep-eql/karma.conf.js +0 -20
  666. data/node_modules/deep-eql/lib/eql.js +0 -257
  667. data/node_modules/deep-eql/node_modules/type-detect/.npmignore +0 -11
  668. data/node_modules/deep-eql/node_modules/type-detect/History.md +0 -18
  669. data/node_modules/deep-eql/node_modules/type-detect/README.md +0 -193
  670. data/node_modules/deep-eql/node_modules/type-detect/index.js +0 -1
  671. data/node_modules/deep-eql/node_modules/type-detect/lib/type.js +0 -142
  672. data/node_modules/deep-eql/node_modules/type-detect/package.json +0 -91
  673. data/node_modules/deep-eql/package.json +0 -98
  674. data/node_modules/deep-is/.npmignore +0 -1
  675. data/node_modules/deep-is/.travis.yml +0 -6
  676. data/node_modules/deep-is/LICENSE +0 -22
  677. data/node_modules/deep-is/README.markdown +0 -70
  678. data/node_modules/deep-is/example/cmp.js +0 -11
  679. data/node_modules/deep-is/index.js +0 -102
  680. data/node_modules/deep-is/package.json +0 -120
  681. data/node_modules/deep-is/test/NaN.js +0 -16
  682. data/node_modules/deep-is/test/cmp.js +0 -23
  683. data/node_modules/deep-is/test/neg-vs-pos-0.js +0 -15
  684. data/node_modules/delayed-stream/.npmignore +0 -1
  685. data/node_modules/delayed-stream/License +0 -19
  686. data/node_modules/delayed-stream/Makefile +0 -7
  687. data/node_modules/delayed-stream/Readme.md +0 -141
  688. data/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  689. data/node_modules/delayed-stream/package.json +0 -97
  690. data/node_modules/ecc-jsbn/.npmignore +0 -15
  691. data/node_modules/ecc-jsbn/LICENSE +0 -21
  692. data/node_modules/ecc-jsbn/README.md +0 -8
  693. data/node_modules/ecc-jsbn/index.js +0 -57
  694. data/node_modules/ecc-jsbn/lib/LICENSE-jsbn +0 -40
  695. data/node_modules/ecc-jsbn/lib/ec.js +0 -561
  696. data/node_modules/ecc-jsbn/lib/sec.js +0 -170
  697. data/node_modules/ecc-jsbn/package.json +0 -90
  698. data/node_modules/ecc-jsbn/test.js +0 -14
  699. data/node_modules/escape-string-regexp/index.js +0 -11
  700. data/node_modules/escape-string-regexp/license +0 -21
  701. data/node_modules/escape-string-regexp/package.json +0 -109
  702. data/node_modules/escape-string-regexp/readme.md +0 -27
  703. data/node_modules/escodegen/LICENSE.BSD +0 -19
  704. data/node_modules/escodegen/LICENSE.source-map +0 -27
  705. data/node_modules/escodegen/README.md +0 -116
  706. data/node_modules/escodegen/bin/escodegen.js +0 -77
  707. data/node_modules/escodegen/bin/esgenerate.js +0 -64
  708. data/node_modules/escodegen/escodegen.js +0 -2607
  709. data/node_modules/escodegen/package.json +0 -122
  710. data/node_modules/esprima/ChangeLog +0 -174
  711. data/node_modules/esprima/LICENSE.BSD +0 -21
  712. data/node_modules/esprima/README.md +0 -27
  713. data/node_modules/esprima/bin/esparse.js +0 -126
  714. data/node_modules/esprima/bin/esvalidate.js +0 -199
  715. data/node_modules/esprima/esprima.js +0 -5740
  716. data/node_modules/esprima/package.json +0 -153
  717. data/node_modules/estraverse/.editorconfig +0 -10
  718. data/node_modules/estraverse/.jshintrc +0 -16
  719. data/node_modules/estraverse/LICENSE.BSD +0 -19
  720. data/node_modules/estraverse/README.md +0 -124
  721. data/node_modules/estraverse/estraverse.js +0 -845
  722. data/node_modules/estraverse/gulpfile.js +0 -70
  723. data/node_modules/estraverse/package.json +0 -95
  724. data/node_modules/esutils/LICENSE.BSD +0 -19
  725. data/node_modules/esutils/README.md +0 -169
  726. data/node_modules/esutils/lib/ast.js +0 -144
  727. data/node_modules/esutils/lib/code.js +0 -135
  728. data/node_modules/esutils/lib/keyword.js +0 -165
  729. data/node_modules/esutils/lib/utils.js +0 -33
  730. data/node_modules/esutils/package.json +0 -105
  731. data/node_modules/extend/.eslintrc +0 -192
  732. data/node_modules/extend/.jscs.json +0 -104
  733. data/node_modules/extend/.npmignore +0 -1
  734. data/node_modules/extend/.travis.yml +0 -44
  735. data/node_modules/extend/CHANGELOG.md +0 -69
  736. data/node_modules/extend/LICENSE +0 -23
  737. data/node_modules/extend/README.md +0 -62
  738. data/node_modules/extend/component.json +0 -32
  739. data/node_modules/extend/index.js +0 -86
  740. data/node_modules/extend/package.json +0 -106
  741. data/node_modules/extsprintf/.gitmodules +0 -6
  742. data/node_modules/extsprintf/LICENSE +0 -19
  743. data/node_modules/extsprintf/Makefile +0 -23
  744. data/node_modules/extsprintf/Makefile.deps +0 -39
  745. data/node_modules/extsprintf/Makefile.targ +0 -285
  746. data/node_modules/extsprintf/README.md +0 -39
  747. data/node_modules/extsprintf/examples/simple.js +0 -2
  748. data/node_modules/extsprintf/jsl.node.conf +0 -137
  749. data/node_modules/extsprintf/lib/extsprintf.js +0 -166
  750. data/node_modules/extsprintf/package.json +0 -74
  751. data/node_modules/fast-levenshtein/LICENSE.md +0 -25
  752. data/node_modules/fast-levenshtein/README.md +0 -104
  753. data/node_modules/fast-levenshtein/levenshtein.js +0 -102
  754. data/node_modules/fast-levenshtein/package.json +0 -108
  755. data/node_modules/forever-agent/LICENSE +0 -55
  756. data/node_modules/forever-agent/README.md +0 -4
  757. data/node_modules/forever-agent/index.js +0 -138
  758. data/node_modules/forever-agent/package.json +0 -88
  759. data/node_modules/form-data/License +0 -19
  760. data/node_modules/form-data/README.md +0 -217
  761. data/node_modules/form-data/lib/browser.js +0 -2
  762. data/node_modules/form-data/lib/form_data.js +0 -440
  763. data/node_modules/form-data/lib/populate.js +0 -10
  764. data/node_modules/form-data/package.json +0 -145
  765. data/node_modules/generate-function/.npmignore +0 -1
  766. data/node_modules/generate-function/.travis.yml +0 -3
  767. data/node_modules/generate-function/README.md +0 -72
  768. data/node_modules/generate-function/example.js +0 -27
  769. data/node_modules/generate-function/index.js +0 -61
  770. data/node_modules/generate-function/package.json +0 -87
  771. data/node_modules/generate-function/test.js +0 -33
  772. data/node_modules/generate-object-property/.npmignore +0 -1
  773. data/node_modules/generate-object-property/.travis.yml +0 -3
  774. data/node_modules/generate-object-property/LICENSE +0 -21
  775. data/node_modules/generate-object-property/README.md +0 -19
  776. data/node_modules/generate-object-property/index.js +0 -12
  777. data/node_modules/generate-object-property/package.json +0 -84
  778. data/node_modules/generate-object-property/test.js +0 -12
  779. data/node_modules/getpass/.npmignore +0 -8
  780. data/node_modules/getpass/.travis.yml +0 -9
  781. data/node_modules/getpass/LICENSE +0 -18
  782. data/node_modules/getpass/README.md +0 -32
  783. data/node_modules/getpass/lib/index.js +0 -123
  784. data/node_modules/getpass/node_modules/assert-plus/AUTHORS +0 -6
  785. data/node_modules/getpass/node_modules/assert-plus/CHANGES.md +0 -14
  786. data/node_modules/getpass/node_modules/assert-plus/README.md +0 -162
  787. data/node_modules/getpass/node_modules/assert-plus/assert.js +0 -211
  788. data/node_modules/getpass/node_modules/assert-plus/package.json +0 -115
  789. data/node_modules/getpass/package.json +0 -90
  790. data/node_modules/graceful-readlink/.npmignore +0 -3
  791. data/node_modules/graceful-readlink/.travis.yml +0 -5
  792. data/node_modules/graceful-readlink/LICENSE +0 -22
  793. data/node_modules/graceful-readlink/README.md +0 -17
  794. data/node_modules/graceful-readlink/index.js +0 -12
  795. data/node_modules/graceful-readlink/package.json +0 -83
  796. data/node_modules/har-validator/LICENSE +0 -13
  797. data/node_modules/har-validator/README.md +0 -309
  798. data/node_modules/har-validator/bin/har-validator +0 -56
  799. data/node_modules/har-validator/lib/async.js +0 -14
  800. data/node_modules/har-validator/lib/error.js +0 -10
  801. data/node_modules/har-validator/lib/index.js +0 -22
  802. data/node_modules/har-validator/lib/runner.js +0 -29
  803. data/node_modules/har-validator/lib/schemas/cache.json +0 -13
  804. data/node_modules/har-validator/lib/schemas/cacheEntry.json +0 -31
  805. data/node_modules/har-validator/lib/schemas/content.json +0 -27
  806. data/node_modules/har-validator/lib/schemas/cookie.json +0 -34
  807. data/node_modules/har-validator/lib/schemas/creator.json +0 -18
  808. data/node_modules/har-validator/lib/schemas/entry.json +0 -51
  809. data/node_modules/har-validator/lib/schemas/har.json +0 -11
  810. data/node_modules/har-validator/lib/schemas/index.js +0 -49
  811. data/node_modules/har-validator/lib/schemas/log.json +0 -34
  812. data/node_modules/har-validator/lib/schemas/page.json +0 -30
  813. data/node_modules/har-validator/lib/schemas/pageTimings.json +0 -16
  814. data/node_modules/har-validator/lib/schemas/postData.json +0 -41
  815. data/node_modules/har-validator/lib/schemas/record.json +0 -18
  816. data/node_modules/har-validator/lib/schemas/request.json +0 -55
  817. data/node_modules/har-validator/lib/schemas/response.json +0 -52
  818. data/node_modules/har-validator/lib/schemas/timings.json +0 -40
  819. data/node_modules/har-validator/package.json +0 -120
  820. data/node_modules/has-ansi/index.js +0 -4
  821. data/node_modules/has-ansi/license +0 -21
  822. data/node_modules/has-ansi/package.json +0 -118
  823. data/node_modules/has-ansi/readme.md +0 -36
  824. data/node_modules/hawk/.npmignore +0 -20
  825. data/node_modules/hawk/.travis.yml +0 -5
  826. data/node_modules/hawk/LICENSE +0 -28
  827. data/node_modules/hawk/README.md +0 -634
  828. data/node_modules/hawk/bower.json +0 -24
  829. data/node_modules/hawk/component.json +0 -19
  830. data/node_modules/hawk/dist/client.js +0 -343
  831. data/node_modules/hawk/example/usage.js +0 -78
  832. data/node_modules/hawk/images/hawk.png +0 -0
  833. data/node_modules/hawk/images/logo.png +0 -0
  834. data/node_modules/hawk/lib/browser.js +0 -637
  835. data/node_modules/hawk/lib/client.js +0 -369
  836. data/node_modules/hawk/lib/crypto.js +0 -126
  837. data/node_modules/hawk/lib/index.js +0 -15
  838. data/node_modules/hawk/lib/server.js +0 -548
  839. data/node_modules/hawk/lib/utils.js +0 -184
  840. data/node_modules/hawk/package.json +0 -101
  841. data/node_modules/hawk/test/browser.js +0 -1492
  842. data/node_modules/hawk/test/client.js +0 -440
  843. data/node_modules/hawk/test/crypto.js +0 -70
  844. data/node_modules/hawk/test/index.js +0 -378
  845. data/node_modules/hawk/test/readme.js +0 -95
  846. data/node_modules/hawk/test/server.js +0 -1329
  847. data/node_modules/hawk/test/uri.js +0 -838
  848. data/node_modules/hawk/test/utils.js +0 -149
  849. data/node_modules/hoek/.npmignore +0 -18
  850. data/node_modules/hoek/.travis.yml +0 -7
  851. data/node_modules/hoek/CONTRIBUTING.md +0 -1
  852. data/node_modules/hoek/LICENSE +0 -31
  853. data/node_modules/hoek/README.md +0 -584
  854. data/node_modules/hoek/images/hoek.png +0 -0
  855. data/node_modules/hoek/lib/escape.js +0 -132
  856. data/node_modules/hoek/lib/index.js +0 -993
  857. data/node_modules/hoek/package.json +0 -96
  858. data/node_modules/hoek/test/escaper.js +0 -88
  859. data/node_modules/hoek/test/index.js +0 -2513
  860. data/node_modules/hoek/test/modules/ignore.txt +0 -0
  861. data/node_modules/hoek/test/modules/test1.js +0 -1
  862. data/node_modules/hoek/test/modules/test2.js +0 -1
  863. data/node_modules/hoek/test/modules/test3.js +0 -1
  864. data/node_modules/html-encoding-sniffer/LICENSE.txt +0 -19
  865. data/node_modules/html-encoding-sniffer/README.md +0 -38
  866. data/node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js +0 -302
  867. data/node_modules/html-encoding-sniffer/package.json +0 -98
  868. data/node_modules/http-signature/.dir-locals.el +0 -6
  869. data/node_modules/http-signature/.npmignore +0 -7
  870. data/node_modules/http-signature/CHANGES.md +0 -46
  871. data/node_modules/http-signature/LICENSE +0 -18
  872. data/node_modules/http-signature/README.md +0 -79
  873. data/node_modules/http-signature/http_signing.md +0 -363
  874. data/node_modules/http-signature/lib/index.js +0 -29
  875. data/node_modules/http-signature/lib/parser.js +0 -318
  876. data/node_modules/http-signature/lib/signer.js +0 -399
  877. data/node_modules/http-signature/lib/utils.js +0 -112
  878. data/node_modules/http-signature/lib/verify.js +0 -88
  879. data/node_modules/http-signature/package.json +0 -116
  880. data/node_modules/iconv-lite/.npmignore +0 -6
  881. data/node_modules/iconv-lite/.travis.yml +0 -22
  882. data/node_modules/iconv-lite/Changelog.md +0 -108
  883. data/node_modules/iconv-lite/LICENSE +0 -21
  884. data/node_modules/iconv-lite/README.md +0 -159
  885. data/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -554
  886. data/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  887. data/node_modules/iconv-lite/encodings/index.js +0 -22
  888. data/node_modules/iconv-lite/encodings/internal.js +0 -187
  889. data/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  890. data/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  891. data/node_modules/iconv-lite/encodings/sbcs-data.js +0 -169
  892. data/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  893. data/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  894. data/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  895. data/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  896. data/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  897. data/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  898. data/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  899. data/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  900. data/node_modules/iconv-lite/encodings/utf16.js +0 -176
  901. data/node_modules/iconv-lite/encodings/utf7.js +0 -289
  902. data/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  903. data/node_modules/iconv-lite/lib/extend-node.js +0 -214
  904. data/node_modules/iconv-lite/lib/index.d.ts +0 -31
  905. data/node_modules/iconv-lite/lib/index.js +0 -141
  906. data/node_modules/iconv-lite/lib/streams.js +0 -120
  907. data/node_modules/iconv-lite/package.json +0 -158
  908. data/node_modules/is-my-json-valid/.npmignore +0 -2
  909. data/node_modules/is-my-json-valid/.travis.yml +0 -3
  910. data/node_modules/is-my-json-valid/LICENSE +0 -21
  911. data/node_modules/is-my-json-valid/README.md +0 -173
  912. data/node_modules/is-my-json-valid/example.js +0 -18
  913. data/node_modules/is-my-json-valid/formats.js +0 -14
  914. data/node_modules/is-my-json-valid/index.js +0 -594
  915. data/node_modules/is-my-json-valid/package.json +0 -116
  916. data/node_modules/is-my-json-valid/require.js +0 -12
  917. data/node_modules/is-my-json-valid/test/fixtures/cosmic.js +0 -84
  918. data/node_modules/is-my-json-valid/test/json-schema-draft4/additionalItems.json +0 -82
  919. data/node_modules/is-my-json-valid/test/json-schema-draft4/additionalProperties.json +0 -88
  920. data/node_modules/is-my-json-valid/test/json-schema-draft4/allOf.json +0 -112
  921. data/node_modules/is-my-json-valid/test/json-schema-draft4/anyOf.json +0 -68
  922. data/node_modules/is-my-json-valid/test/json-schema-draft4/bignum.json +0 -107
  923. data/node_modules/is-my-json-valid/test/json-schema-draft4/default.json +0 -49
  924. data/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json +0 -32
  925. data/node_modules/is-my-json-valid/test/json-schema-draft4/dependencies.json +0 -113
  926. data/node_modules/is-my-json-valid/test/json-schema-draft4/enum.json +0 -72
  927. data/node_modules/is-my-json-valid/test/json-schema-draft4/format.json +0 -143
  928. data/node_modules/is-my-json-valid/test/json-schema-draft4/items.json +0 -46
  929. data/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json +0 -28
  930. data/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json +0 -28
  931. data/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json +0 -28
  932. data/node_modules/is-my-json-valid/test/json-schema-draft4/maximum.json +0 -42
  933. data/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json +0 -28
  934. data/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json +0 -28
  935. data/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json +0 -28
  936. data/node_modules/is-my-json-valid/test/json-schema-draft4/minimum.json +0 -42
  937. data/node_modules/is-my-json-valid/test/json-schema-draft4/multipleOf.json +0 -96
  938. data/node_modules/is-my-json-valid/test/json-schema-draft4/not.json +0 -96
  939. data/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json +0 -18
  940. data/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json +0 -18
  941. data/node_modules/is-my-json-valid/test/json-schema-draft4/oneOf.json +0 -68
  942. data/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json +0 -23
  943. data/node_modules/is-my-json-valid/test/json-schema-draft4/patternProperties.json +0 -110
  944. data/node_modules/is-my-json-valid/test/json-schema-draft4/properties.json +0 -92
  945. data/node_modules/is-my-json-valid/test/json-schema-draft4/ref.json +0 -128
  946. data/node_modules/is-my-json-valid/test/json-schema-draft4/refRemote.json +0 -74
  947. data/node_modules/is-my-json-valid/test/json-schema-draft4/required.json +0 -39
  948. data/node_modules/is-my-json-valid/test/json-schema-draft4/type.json +0 -330
  949. data/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json +0 -79
  950. data/node_modules/is-my-json-valid/test/json-schema.js +0 -23
  951. data/node_modules/is-my-json-valid/test/misc.js +0 -471
  952. data/node_modules/is-property/.npmignore +0 -17
  953. data/node_modules/is-property/LICENSE +0 -22
  954. data/node_modules/is-property/README.md +0 -28
  955. data/node_modules/is-property/is-property.js +0 -5
  956. data/node_modules/is-property/package.json +0 -92
  957. data/node_modules/is-typedarray/LICENSE.md +0 -18
  958. data/node_modules/is-typedarray/README.md +0 -16
  959. data/node_modules/is-typedarray/index.js +0 -41
  960. data/node_modules/is-typedarray/package.json +0 -90
  961. data/node_modules/is-typedarray/test.js +0 -34
  962. data/node_modules/isstream/.jshintrc +0 -59
  963. data/node_modules/isstream/.npmignore +0 -1
  964. data/node_modules/isstream/.travis.yml +0 -12
  965. data/node_modules/isstream/LICENSE.md +0 -11
  966. data/node_modules/isstream/README.md +0 -66
  967. data/node_modules/isstream/isstream.js +0 -27
  968. data/node_modules/isstream/package.json +0 -93
  969. data/node_modules/isstream/test.js +0 -168
  970. data/node_modules/jodid25519/.npmignore +0 -11
  971. data/node_modules/jodid25519/.travis.yml +0 -7
  972. data/node_modules/jodid25519/AUTHORS.md +0 -3
  973. data/node_modules/jodid25519/LICENSE +0 -23
  974. data/node_modules/jodid25519/README.md +0 -51
  975. data/node_modules/jodid25519/almond.0 +0 -42
  976. data/node_modules/jodid25519/almond.1 +0 -13
  977. data/node_modules/jodid25519/index.js +0 -35
  978. data/node_modules/jodid25519/jsdoc.json +0 -19
  979. data/node_modules/jodid25519/lib/core.js +0 -481
  980. data/node_modules/jodid25519/lib/curve255.js +0 -221
  981. data/node_modules/jodid25519/lib/dh.js +0 -111
  982. data/node_modules/jodid25519/lib/eddsa.js +0 -573
  983. data/node_modules/jodid25519/lib/utils.js +0 -198
  984. data/node_modules/jodid25519/package.json +0 -104
  985. data/node_modules/jquery/AUTHORS.txt +0 -295
  986. data/node_modules/jquery/LICENSE.txt +0 -36
  987. data/node_modules/jquery/README.md +0 -65
  988. data/node_modules/jquery/bower.json +0 -14
  989. data/node_modules/jquery/dist/core.js +0 -482
  990. data/node_modules/jquery/dist/jquery.js +0 -10220
  991. data/node_modules/jquery/dist/jquery.min.js +0 -4
  992. data/node_modules/jquery/dist/jquery.min.map +0 -1
  993. data/node_modules/jquery/dist/jquery.slim.js +0 -8107
  994. data/node_modules/jquery/dist/jquery.slim.min.js +0 -4
  995. data/node_modules/jquery/dist/jquery.slim.min.map +0 -1
  996. data/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
  997. data/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2272
  998. data/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
  999. data/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
  1000. data/node_modules/jquery/package.json +0 -169
  1001. data/node_modules/jquery/src/.eslintrc.json +0 -18
  1002. data/node_modules/jquery/src/ajax.js +0 -855
  1003. data/node_modules/jquery/src/ajax/jsonp.js +0 -102
  1004. data/node_modules/jquery/src/ajax/load.js +0 -76
  1005. data/node_modules/jquery/src/ajax/parseXML.js +0 -30
  1006. data/node_modules/jquery/src/ajax/script.js +0 -77
  1007. data/node_modules/jquery/src/ajax/var/location.js +0 -5
  1008. data/node_modules/jquery/src/ajax/var/nonce.js +0 -7
  1009. data/node_modules/jquery/src/ajax/var/rquery.js +0 -5
  1010. data/node_modules/jquery/src/ajax/xhr.js +0 -169
  1011. data/node_modules/jquery/src/attributes.js +0 -13
  1012. data/node_modules/jquery/src/attributes/attr.js +0 -140
  1013. data/node_modules/jquery/src/attributes/classes.js +0 -174
  1014. data/node_modules/jquery/src/attributes/prop.js +0 -143
  1015. data/node_modules/jquery/src/attributes/support.js +0 -33
  1016. data/node_modules/jquery/src/attributes/val.js +0 -188
  1017. data/node_modules/jquery/src/callbacks.js +0 -234
  1018. data/node_modules/jquery/src/core.js +0 -482
  1019. data/node_modules/jquery/src/core/DOMEval.js +0 -16
  1020. data/node_modules/jquery/src/core/access.js +0 -70
  1021. data/node_modules/jquery/src/core/init.js +0 -127
  1022. data/node_modules/jquery/src/core/parseHTML.js +0 -65
  1023. data/node_modules/jquery/src/core/ready-no-deferred.js +0 -105
  1024. data/node_modules/jquery/src/core/ready.js +0 -95
  1025. data/node_modules/jquery/src/core/readyException.js +0 -13
  1026. data/node_modules/jquery/src/core/stripAndCollapse.js +0 -14
  1027. data/node_modules/jquery/src/core/support.js +0 -20
  1028. data/node_modules/jquery/src/core/var/rsingleTag.js +0 -6
  1029. data/node_modules/jquery/src/css.js +0 -426
  1030. data/node_modules/jquery/src/css/addGetHookIf.js +0 -26
  1031. data/node_modules/jquery/src/css/adjustCSS.js +0 -71
  1032. data/node_modules/jquery/src/css/curCSS.js +0 -59
  1033. data/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -15
  1034. data/node_modules/jquery/src/css/showHide.js +0 -105
  1035. data/node_modules/jquery/src/css/support.js +0 -89
  1036. data/node_modules/jquery/src/css/var/cssExpand.js +0 -5
  1037. data/node_modules/jquery/src/css/var/getStyles.js +0 -17
  1038. data/node_modules/jquery/src/css/var/isHiddenWithinTree.js +0 -34
  1039. data/node_modules/jquery/src/css/var/rmargin.js +0 -5
  1040. data/node_modules/jquery/src/css/var/rnumnonpx.js +0 -7
  1041. data/node_modules/jquery/src/css/var/swap.js +0 -26
  1042. data/node_modules/jquery/src/data.js +0 -179
  1043. data/node_modules/jquery/src/data/Data.js +0 -161
  1044. data/node_modules/jquery/src/data/var/acceptData.js +0 -19
  1045. data/node_modules/jquery/src/data/var/dataPriv.js +0 -7
  1046. data/node_modules/jquery/src/data/var/dataUser.js +0 -7
  1047. data/node_modules/jquery/src/deferred.js +0 -389
  1048. data/node_modules/jquery/src/deferred/exceptionHook.js +0 -21
  1049. data/node_modules/jquery/src/deprecated.js +0 -30
  1050. data/node_modules/jquery/src/dimensions.js +0 -56
  1051. data/node_modules/jquery/src/effects.js +0 -693
  1052. data/node_modules/jquery/src/effects/Tween.js +0 -123
  1053. data/node_modules/jquery/src/effects/animatedSelector.js +0 -15
  1054. data/node_modules/jquery/src/event.js +0 -745
  1055. data/node_modules/jquery/src/event/ajax.js +0 -22
  1056. data/node_modules/jquery/src/event/alias.js +0 -29
  1057. data/node_modules/jquery/src/event/focusin.js +0 -55
  1058. data/node_modules/jquery/src/event/support.js +0 -11
  1059. data/node_modules/jquery/src/event/trigger.js +0 -185
  1060. data/node_modules/jquery/src/exports/amd.js +0 -26
  1061. data/node_modules/jquery/src/exports/global.js +0 -34
  1062. data/node_modules/jquery/src/jquery.js +0 -41
  1063. data/node_modules/jquery/src/manipulation.js +0 -486
  1064. data/node_modules/jquery/src/manipulation/_evalUrl.js +0 -23
  1065. data/node_modules/jquery/src/manipulation/buildFragment.js +0 -104
  1066. data/node_modules/jquery/src/manipulation/getAll.js +0 -31
  1067. data/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -22
  1068. data/node_modules/jquery/src/manipulation/support.js +0 -35
  1069. data/node_modules/jquery/src/manipulation/var/rcheckableType.js +0 -5
  1070. data/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -5
  1071. data/node_modules/jquery/src/manipulation/var/rtagName.js +0 -5
  1072. data/node_modules/jquery/src/manipulation/wrapMap.js +0 -29
  1073. data/node_modules/jquery/src/offset.js +0 -232
  1074. data/node_modules/jquery/src/queue.js +0 -145
  1075. data/node_modules/jquery/src/queue/delay.js +0 -24
  1076. data/node_modules/jquery/src/selector-native.js +0 -237
  1077. data/node_modules/jquery/src/selector-sizzle.js +0 -19
  1078. data/node_modules/jquery/src/selector.js +0 -3
  1079. data/node_modules/jquery/src/serialize.js +0 -130
  1080. data/node_modules/jquery/src/traversing.js +0 -178
  1081. data/node_modules/jquery/src/traversing/findFilter.js +0 -106
  1082. data/node_modules/jquery/src/traversing/var/dir.js +0 -22
  1083. data/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -8
  1084. data/node_modules/jquery/src/traversing/var/siblings.js +0 -17
  1085. data/node_modules/jquery/src/var/ObjectFunctionString.js +0 -7
  1086. data/node_modules/jquery/src/var/arr.js +0 -5
  1087. data/node_modules/jquery/src/var/class2type.js +0 -6
  1088. data/node_modules/jquery/src/var/concat.js +0 -7
  1089. data/node_modules/jquery/src/var/document.js +0 -5
  1090. data/node_modules/jquery/src/var/documentElement.js +0 -7
  1091. data/node_modules/jquery/src/var/fnToString.js +0 -7
  1092. data/node_modules/jquery/src/var/getProto.js +0 -5
  1093. data/node_modules/jquery/src/var/hasOwn.js +0 -7
  1094. data/node_modules/jquery/src/var/indexOf.js +0 -7
  1095. data/node_modules/jquery/src/var/pnum.js +0 -5
  1096. data/node_modules/jquery/src/var/push.js +0 -7
  1097. data/node_modules/jquery/src/var/rcssNum.js +0 -9
  1098. data/node_modules/jquery/src/var/rnothtmlwhite.js +0 -8
  1099. data/node_modules/jquery/src/var/slice.js +0 -7
  1100. data/node_modules/jquery/src/var/support.js +0 -6
  1101. data/node_modules/jquery/src/var/toString.js +0 -7
  1102. data/node_modules/jquery/src/wrap.js +0 -77
  1103. data/node_modules/jsbn/.npmignore +0 -2
  1104. data/node_modules/jsbn/LICENSE +0 -40
  1105. data/node_modules/jsbn/README.md +0 -175
  1106. data/node_modules/jsbn/example.html +0 -12
  1107. data/node_modules/jsbn/example.js +0 -3
  1108. data/node_modules/jsbn/index.js +0 -1358
  1109. data/node_modules/jsbn/package.json +0 -87
  1110. data/node_modules/jsdom-global/.npmignore +0 -1
  1111. data/node_modules/jsdom-global/.travis.yml +0 -6
  1112. data/node_modules/jsdom-global/HISTORY.md +0 -85
  1113. data/node_modules/jsdom-global/README.md +0 -137
  1114. data/node_modules/jsdom-global/browser.js +0 -10
  1115. data/node_modules/jsdom-global/index.js +0 -46
  1116. data/node_modules/jsdom-global/keys.js +0 -187
  1117. data/node_modules/jsdom-global/package.json +0 -95
  1118. data/node_modules/jsdom-global/register.js +0 -1
  1119. data/node_modules/jsdom-global/test.js +0 -22
  1120. data/node_modules/jsdom/Changelog.md +0 -1254
  1121. data/node_modules/jsdom/LICENSE.txt +0 -22
  1122. data/node_modules/jsdom/README.md +0 -592
  1123. data/node_modules/jsdom/lib/jsdom.js +0 -456
  1124. data/node_modules/jsdom/lib/jsdom/browser/Window.js +0 -502
  1125. data/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js +0 -1129
  1126. data/node_modules/jsdom/lib/jsdom/browser/documentAdapter.js +0 -73
  1127. data/node_modules/jsdom/lib/jsdom/browser/documentfeatures.js +0 -47
  1128. data/node_modules/jsdom/lib/jsdom/browser/domtohtml.js +0 -19
  1129. data/node_modules/jsdom/lib/jsdom/browser/htmltodom.js +0 -323
  1130. data/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +0 -13
  1131. data/node_modules/jsdom/lib/jsdom/browser/resource-loader.js +0 -275
  1132. data/node_modules/jsdom/lib/jsdom/level2/style.js +0 -69
  1133. data/node_modules/jsdom/lib/jsdom/level3/xpath.js +0 -1874
  1134. data/node_modules/jsdom/lib/jsdom/living/attributes.js +0 -468
  1135. data/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +0 -87
  1136. data/node_modules/jsdom/lib/jsdom/living/blob-symbols.js +0 -6
  1137. data/node_modules/jsdom/lib/jsdom/living/blob.js +0 -73
  1138. data/node_modules/jsdom/lib/jsdom/living/dom-token-list.js +0 -222
  1139. data/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +0 -61
  1140. data/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +0 -18
  1141. data/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +0 -11
  1142. data/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +0 -77
  1143. data/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +0 -303
  1144. data/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +0 -4
  1145. data/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +0 -11
  1146. data/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +0 -21
  1147. data/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +0 -22
  1148. data/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +0 -28
  1149. data/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +0 -4
  1150. data/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +0 -11
  1151. data/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +0 -11
  1152. data/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +0 -19
  1153. data/node_modules/jsdom/lib/jsdom/living/file-reader.js +0 -133
  1154. data/node_modules/jsdom/lib/jsdom/living/file-symbols.js +0 -4
  1155. data/node_modules/jsdom/lib/jsdom/living/file.js +0 -22
  1156. data/node_modules/jsdom/lib/jsdom/living/filelist-symbols.js +0 -3
  1157. data/node_modules/jsdom/lib/jsdom/living/filelist.js +0 -21
  1158. data/node_modules/jsdom/lib/jsdom/living/form-data-symbols.js +0 -3
  1159. data/node_modules/jsdom/lib/jsdom/living/generated/.gitkeep +0 -0
  1160. data/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +0 -34
  1161. data/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +0 -169
  1162. data/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +0 -189
  1163. data/node_modules/jsdom/lib/jsdom/living/generated/ChildNode.js +0 -92
  1164. data/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +0 -92
  1165. data/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +0 -122
  1166. data/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +0 -34
  1167. data/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +0 -143
  1168. data/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +0 -97
  1169. data/node_modules/jsdom/lib/jsdom/living/generated/Document.js +0 -712
  1170. data/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +0 -91
  1171. data/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +0 -110
  1172. data/node_modules/jsdom/lib/jsdom/living/generated/Element.js +0 -552
  1173. data/node_modules/jsdom/lib/jsdom/living/generated/ElementCSSInlineStyle.js +0 -88
  1174. data/node_modules/jsdom/lib/jsdom/living/generated/ElementContentEditable.js +0 -77
  1175. data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +0 -137
  1176. data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +0 -56
  1177. data/node_modules/jsdom/lib/jsdom/living/generated/Event.js +0 -251
  1178. data/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +0 -40
  1179. data/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +0 -32
  1180. data/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +0 -146
  1181. data/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +0 -130
  1182. data/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +0 -104
  1183. data/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +0 -34
  1184. data/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +0 -179
  1185. data/node_modules/jsdom/lib/jsdom/living/generated/GlobalEventHandlers.js +0 -770
  1186. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +0 -228
  1187. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAppletElement.js +0 -225
  1188. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +0 -167
  1189. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +0 -82
  1190. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +0 -95
  1191. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +0 -107
  1192. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +0 -164
  1193. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +0 -189
  1194. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +0 -181
  1195. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +0 -98
  1196. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +0 -95
  1197. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +0 -82
  1198. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +0 -98
  1199. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +0 -98
  1200. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +0 -95
  1201. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +0 -205
  1202. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +0 -159
  1203. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +0 -119
  1204. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +0 -121
  1205. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +0 -211
  1206. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +0 -203
  1207. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +0 -112
  1208. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +0 -150
  1209. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +0 -82
  1210. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +0 -95
  1211. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +0 -95
  1212. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHyperlinkElementUtils.js +0 -205
  1213. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +0 -278
  1214. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +0 -326
  1215. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +0 -583
  1216. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +0 -108
  1217. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +0 -103
  1218. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +0 -103
  1219. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +0 -206
  1220. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +0 -103
  1221. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +0 -505
  1222. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +0 -124
  1223. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +0 -134
  1224. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +0 -82
  1225. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +0 -108
  1226. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +0 -140
  1227. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +0 -309
  1228. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +0 -111
  1229. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +0 -178
  1230. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +0 -95
  1231. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +0 -95
  1232. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +0 -134
  1233. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +0 -95
  1234. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +0 -82
  1235. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +0 -95
  1236. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +0 -204
  1237. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +0 -260
  1238. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +0 -146
  1239. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +0 -82
  1240. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +0 -125
  1241. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +0 -95
  1242. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +0 -245
  1243. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +0 -161
  1244. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableDataCellElement.js +0 -95
  1245. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +0 -357
  1246. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableHeaderCellElement.js +0 -121
  1247. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +0 -202
  1248. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +0 -173
  1249. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +0 -90
  1250. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +0 -415
  1251. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +0 -95
  1252. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +0 -94
  1253. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +0 -193
  1254. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +0 -111
  1255. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +0 -82
  1256. data/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +0 -138
  1257. data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +0 -113
  1258. data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +0 -38
  1259. data/node_modules/jsdom/lib/jsdom/living/generated/History.js +0 -179
  1260. data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +0 -269
  1261. data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +0 -90
  1262. data/node_modules/jsdom/lib/jsdom/living/generated/LinkStyle.js +0 -85
  1263. data/node_modules/jsdom/lib/jsdom/living/generated/Location.js +0 -227
  1264. data/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +0 -164
  1265. data/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +0 -56
  1266. data/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +0 -234
  1267. data/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +0 -82
  1268. data/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +0 -96
  1269. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorConcurrentHardware.js +0 -85
  1270. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorCookies.js +0 -85
  1271. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorID.js +0 -149
  1272. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorLanguage.js +0 -93
  1273. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorOnLine.js +0 -85
  1274. data/node_modules/jsdom/lib/jsdom/living/generated/NavigatorPlugins.js +0 -88
  1275. data/node_modules/jsdom/lib/jsdom/living/generated/Node.js +0 -512
  1276. data/node_modules/jsdom/lib/jsdom/living/generated/NonDocumentTypeChildNode.js +0 -93
  1277. data/node_modules/jsdom/lib/jsdom/living/generated/NonElementParentNode.js +0 -92
  1278. data/node_modules/jsdom/lib/jsdom/living/generated/ParentNode.js +0 -139
  1279. data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +0 -105
  1280. data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +0 -32
  1281. data/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +0 -90
  1282. data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +0 -122
  1283. data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +0 -50
  1284. data/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +0 -42
  1285. data/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +0 -32
  1286. data/node_modules/jsdom/lib/jsdom/living/generated/Text.js +0 -107
  1287. data/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +0 -138
  1288. data/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +0 -189
  1289. data/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +0 -134
  1290. data/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +0 -42
  1291. data/node_modules/jsdom/lib/jsdom/living/generated/Window.js +0 -1
  1292. data/node_modules/jsdom/lib/jsdom/living/generated/WindowEventHandlers.js +0 -242
  1293. data/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +0 -82
  1294. data/node_modules/jsdom/lib/jsdom/living/generated/utils.js +0 -40
  1295. data/node_modules/jsdom/lib/jsdom/living/helpers/document-base-url.js +0 -53
  1296. data/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +0 -74
  1297. data/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +0 -43
  1298. data/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +0 -13
  1299. data/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set-parser.js +0 -5
  1300. data/node_modules/jsdom/lib/jsdom/living/helpers/proxied-window-event-handlers.js +0 -11
  1301. data/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +0 -68
  1302. data/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js +0 -30
  1303. data/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +0 -78
  1304. data/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +0 -51
  1305. data/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +0 -62
  1306. data/node_modules/jsdom/lib/jsdom/living/html-collection.js +0 -109
  1307. data/node_modules/jsdom/lib/jsdom/living/index.js +0 -57
  1308. data/node_modules/jsdom/lib/jsdom/living/named-properties-window.js +0 -139
  1309. data/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +0 -24
  1310. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +0 -8
  1311. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +0 -7
  1312. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +0 -37
  1313. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +0 -9
  1314. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +0 -7
  1315. data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +0 -7
  1316. data/node_modules/jsdom/lib/jsdom/living/node-document-position.js +0 -10
  1317. data/node_modules/jsdom/lib/jsdom/living/node-filter.js +0 -47
  1318. data/node_modules/jsdom/lib/jsdom/living/node-iterator.js +0 -232
  1319. data/node_modules/jsdom/lib/jsdom/living/node-list.js +0 -85
  1320. data/node_modules/jsdom/lib/jsdom/living/node-type.js +0 -16
  1321. data/node_modules/jsdom/lib/jsdom/living/node.js +0 -189
  1322. data/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +0 -78
  1323. data/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +0 -15
  1324. data/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +0 -17
  1325. data/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +0 -176
  1326. data/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +0 -777
  1327. data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +0 -21
  1328. data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +0 -26
  1329. data/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +0 -491
  1330. data/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +0 -7
  1331. data/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +0 -7
  1332. data/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +0 -7
  1333. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +0 -25
  1334. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAppletElement-impl.js +0 -26
  1335. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +0 -18
  1336. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +0 -9
  1337. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +0 -9
  1338. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +0 -27
  1339. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +0 -30
  1340. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +0 -58
  1341. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +0 -134
  1342. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +0 -9
  1343. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +0 -9
  1344. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +0 -9
  1345. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +0 -9
  1346. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +0 -9
  1347. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +0 -9
  1348. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +0 -144
  1349. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +0 -18
  1350. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +0 -14
  1351. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +0 -9
  1352. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +0 -125
  1353. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +0 -181
  1354. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +0 -9
  1355. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +0 -9
  1356. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +0 -9
  1357. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +0 -9
  1358. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +0 -9
  1359. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +0 -275
  1360. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +0 -9
  1361. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +0 -93
  1362. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +0 -396
  1363. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +0 -9
  1364. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +0 -72
  1365. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +0 -14
  1366. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +0 -76
  1367. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +0 -13
  1368. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +0 -140
  1369. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +0 -9
  1370. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +0 -9
  1371. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +0 -9
  1372. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +0 -9
  1373. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +0 -9
  1374. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +0 -35
  1375. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +0 -9
  1376. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +0 -122
  1377. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +0 -9
  1378. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +0 -9
  1379. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +0 -9
  1380. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +0 -9
  1381. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +0 -9
  1382. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +0 -9
  1383. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +0 -139
  1384. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +0 -174
  1385. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +0 -18
  1386. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +0 -9
  1387. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +0 -33
  1388. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +0 -9
  1389. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +0 -56
  1390. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +0 -9
  1391. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableDataCellElement-impl.js +0 -9
  1392. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +0 -148
  1393. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableHeaderCellElement-impl.js +0 -9
  1394. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +0 -70
  1395. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +0 -54
  1396. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +0 -33
  1397. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +0 -184
  1398. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +0 -9
  1399. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +0 -18
  1400. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +0 -21
  1401. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +0 -9
  1402. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +0 -9
  1403. data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +0 -26
  1404. data/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +0 -16
  1405. data/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +0 -475
  1406. data/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +0 -28
  1407. data/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +0 -9
  1408. data/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +0 -91
  1409. data/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +0 -22
  1410. data/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +0 -48
  1411. data/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +0 -9
  1412. data/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +0 -4
  1413. data/node_modules/jsdom/lib/jsdom/living/post-message.js +0 -36
  1414. data/node_modules/jsdom/lib/jsdom/living/register-elements.js +0 -306
  1415. data/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +0 -257
  1416. data/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +0 -145
  1417. data/node_modules/jsdom/lib/jsdom/living/window/History.idl +0 -12
  1418. data/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +0 -235
  1419. data/node_modules/jsdom/lib/jsdom/living/window/navigation.js +0 -103
  1420. data/node_modules/jsdom/lib/jsdom/living/xhr-sync-worker.js +0 -50
  1421. data/node_modules/jsdom/lib/jsdom/living/xhr-utils.js +0 -327
  1422. data/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +0 -182
  1423. data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-event-target.js +0 -23
  1424. data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-symbols.js +0 -4
  1425. data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest-upload.js +0 -17
  1426. data/node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js +0 -1016
  1427. data/node_modules/jsdom/lib/jsdom/named-properties-tracker.js +0 -156
  1428. data/node_modules/jsdom/lib/jsdom/utils.js +0 -242
  1429. data/node_modules/jsdom/lib/jsdom/virtual-console.js +0 -34
  1430. data/node_modules/jsdom/lib/jsdom/vm-shim.js +0 -106
  1431. data/node_modules/jsdom/lib/jsdom/web-idl/DOMException.js +0 -41
  1432. data/node_modules/jsdom/lib/jsdom/web-idl/dom-exception-table.json +0 -134
  1433. data/node_modules/jsdom/node_modules/request/CHANGELOG.md +0 -662
  1434. data/node_modules/jsdom/node_modules/request/LICENSE +0 -55
  1435. data/node_modules/jsdom/node_modules/request/README.md +0 -1098
  1436. data/node_modules/jsdom/node_modules/request/index.js +0 -156
  1437. data/node_modules/jsdom/node_modules/request/lib/auth.js +0 -168
  1438. data/node_modules/jsdom/node_modules/request/lib/cookies.js +0 -39
  1439. data/node_modules/jsdom/node_modules/request/lib/getProxyFromURI.js +0 -79
  1440. data/node_modules/jsdom/node_modules/request/lib/har.js +0 -215
  1441. data/node_modules/jsdom/node_modules/request/lib/helpers.js +0 -65
  1442. data/node_modules/jsdom/node_modules/request/lib/multipart.js +0 -112
  1443. data/node_modules/jsdom/node_modules/request/lib/oauth.js +0 -147
  1444. data/node_modules/jsdom/node_modules/request/lib/querystring.js +0 -51
  1445. data/node_modules/jsdom/node_modules/request/lib/redirect.js +0 -157
  1446. data/node_modules/jsdom/node_modules/request/lib/tunnel.js +0 -176
  1447. data/node_modules/jsdom/node_modules/request/package.json +0 -163
  1448. data/node_modules/jsdom/node_modules/request/request.js +0 -1475
  1449. data/node_modules/jsdom/package.json +0 -184
  1450. data/node_modules/json-schema/README.md +0 -5
  1451. data/node_modules/json-schema/draft-00/hyper-schema +0 -68
  1452. data/node_modules/json-schema/draft-00/json-ref +0 -26
  1453. data/node_modules/json-schema/draft-00/links +0 -33
  1454. data/node_modules/json-schema/draft-00/schema +0 -155
  1455. data/node_modules/json-schema/draft-01/hyper-schema +0 -68
  1456. data/node_modules/json-schema/draft-01/json-ref +0 -26
  1457. data/node_modules/json-schema/draft-01/links +0 -33
  1458. data/node_modules/json-schema/draft-01/schema +0 -155
  1459. data/node_modules/json-schema/draft-02/hyper-schema +0 -68
  1460. data/node_modules/json-schema/draft-02/json-ref +0 -26
  1461. data/node_modules/json-schema/draft-02/links +0 -35
  1462. data/node_modules/json-schema/draft-02/schema +0 -166
  1463. data/node_modules/json-schema/draft-03/examples/address +0 -20
  1464. data/node_modules/json-schema/draft-03/examples/calendar +0 -53
  1465. data/node_modules/json-schema/draft-03/examples/card +0 -105
  1466. data/node_modules/json-schema/draft-03/examples/geo +0 -8
  1467. data/node_modules/json-schema/draft-03/examples/interfaces +0 -23
  1468. data/node_modules/json-schema/draft-03/hyper-schema +0 -60
  1469. data/node_modules/json-schema/draft-03/json-ref +0 -26
  1470. data/node_modules/json-schema/draft-03/links +0 -35
  1471. data/node_modules/json-schema/draft-03/schema +0 -174
  1472. data/node_modules/json-schema/draft-04/hyper-schema +0 -60
  1473. data/node_modules/json-schema/draft-04/links +0 -41
  1474. data/node_modules/json-schema/draft-04/schema +0 -189
  1475. data/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
  1476. data/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
  1477. data/node_modules/json-schema/lib/links.js +0 -66
  1478. data/node_modules/json-schema/lib/validate.js +0 -273
  1479. data/node_modules/json-schema/package.json +0 -100
  1480. data/node_modules/json-schema/test/tests.js +0 -95
  1481. data/node_modules/json-stringify-safe/.npmignore +0 -1
  1482. data/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  1483. data/node_modules/json-stringify-safe/LICENSE +0 -15
  1484. data/node_modules/json-stringify-safe/Makefile +0 -35
  1485. data/node_modules/json-stringify-safe/README.md +0 -52
  1486. data/node_modules/json-stringify-safe/package.json +0 -102
  1487. data/node_modules/json-stringify-safe/stringify.js +0 -27
  1488. data/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  1489. data/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  1490. data/node_modules/jsonpointer/.travis.yml +0 -7
  1491. data/node_modules/jsonpointer/LICENSE.md +0 -21
  1492. data/node_modules/jsonpointer/README.md +0 -39
  1493. data/node_modules/jsonpointer/benchmark.js +0 -56
  1494. data/node_modules/jsonpointer/jsonpointer.js +0 -93
  1495. data/node_modules/jsonpointer/package.json +0 -109
  1496. data/node_modules/jsonpointer/test.js +0 -131
  1497. data/node_modules/jsprim/CHANGES.md +0 -39
  1498. data/node_modules/jsprim/LICENSE +0 -19
  1499. data/node_modules/jsprim/README.md +0 -237
  1500. data/node_modules/jsprim/lib/jsprim.js +0 -488
  1501. data/node_modules/jsprim/package.json +0 -85
  1502. data/node_modules/levn/LICENSE +0 -22
  1503. data/node_modules/levn/README.md +0 -196
  1504. data/node_modules/levn/lib/cast.js +0 -298
  1505. data/node_modules/levn/lib/coerce.js +0 -285
  1506. data/node_modules/levn/lib/index.js +0 -22
  1507. data/node_modules/levn/lib/parse-string.js +0 -113
  1508. data/node_modules/levn/lib/parse.js +0 -102
  1509. data/node_modules/levn/package.json +0 -108
  1510. data/node_modules/mime-db/HISTORY.md +0 -375
  1511. data/node_modules/mime-db/LICENSE +0 -22
  1512. data/node_modules/mime-db/README.md +0 -82
  1513. data/node_modules/mime-db/db.json +0 -6712
  1514. data/node_modules/mime-db/index.js +0 -11
  1515. data/node_modules/mime-db/package.json +0 -137
  1516. data/node_modules/mime-types/HISTORY.md +0 -210
  1517. data/node_modules/mime-types/LICENSE +0 -23
  1518. data/node_modules/mime-types/README.md +0 -103
  1519. data/node_modules/mime-types/index.js +0 -188
  1520. data/node_modules/mime-types/package.json +0 -127
  1521. data/node_modules/nwmatcher/LICENSE +0 -22
  1522. data/node_modules/nwmatcher/README.md +0 -107
  1523. data/node_modules/nwmatcher/package.json +0 -99
  1524. data/node_modules/nwmatcher/src/modules/nwmatcher-cache.js +0 -187
  1525. data/node_modules/nwmatcher/src/modules/nwmatcher-jquery.js +0 -126
  1526. data/node_modules/nwmatcher/src/modules/nwmatcher-pseudos.js +0 -273
  1527. data/node_modules/nwmatcher/src/modules/nwmatcher-shortcuts.js +0 -35
  1528. data/node_modules/nwmatcher/src/modules/nwmatcher-traversal.js +0 -90
  1529. data/node_modules/nwmatcher/src/modules/nwmatcher-webforms.js +0 -104
  1530. data/node_modules/nwmatcher/src/nwmatcher-base.js +0 -785
  1531. data/node_modules/nwmatcher/src/nwmatcher-noqsa.js +0 -962
  1532. data/node_modules/nwmatcher/src/nwmatcher.js +0 -1780
  1533. data/node_modules/oauth-sign/LICENSE +0 -55
  1534. data/node_modules/oauth-sign/README.md +0 -4
  1535. data/node_modules/oauth-sign/index.js +0 -136
  1536. data/node_modules/oauth-sign/package.json +0 -98
  1537. data/node_modules/optionator/CHANGELOG.md +0 -52
  1538. data/node_modules/optionator/LICENSE +0 -22
  1539. data/node_modules/optionator/README.md +0 -236
  1540. data/node_modules/optionator/lib/help.js +0 -247
  1541. data/node_modules/optionator/lib/index.js +0 -465
  1542. data/node_modules/optionator/lib/util.js +0 -54
  1543. data/node_modules/optionator/package.json +0 -109
  1544. data/node_modules/parse5/CHANGELOG.md +0 -69
  1545. data/node_modules/parse5/LICENSE +0 -19
  1546. data/node_modules/parse5/README.md +0 -247
  1547. data/node_modules/parse5/docs/build/index.md +0 -963
  1548. data/node_modules/parse5/index.js +0 -12
  1549. data/node_modules/parse5/lib/common/doctype.js +0 -134
  1550. data/node_modules/parse5/lib/common/foreign_content.js +0 -257
  1551. data/node_modules/parse5/lib/common/html.js +0 -268
  1552. data/node_modules/parse5/lib/common/unicode.js +0 -48
  1553. data/node_modules/parse5/lib/common/utils.js +0 -13
  1554. data/node_modules/parse5/lib/jsdom/jsdom_parser.js +0 -39
  1555. data/node_modules/parse5/lib/jsdom/parsing_unit.js +0 -53
  1556. data/node_modules/parse5/lib/serialization/serializer.js +0 -178
  1557. data/node_modules/parse5/lib/simple_api/simple_api_parser.js +0 -107
  1558. data/node_modules/parse5/lib/simple_api/tokenizer_proxy.js +0 -122
  1559. data/node_modules/parse5/lib/tokenization/location_info_mixin.js +0 -80
  1560. data/node_modules/parse5/lib/tokenization/named_entity_trie.js +0 -6
  1561. data/node_modules/parse5/lib/tokenization/preprocessor.js +0 -115
  1562. data/node_modules/parse5/lib/tokenization/tokenizer.js +0 -2317
  1563. data/node_modules/parse5/lib/tree_adapters/default.js +0 -200
  1564. data/node_modules/parse5/lib/tree_adapters/htmlparser2.js +0 -317
  1565. data/node_modules/parse5/lib/tree_construction/formatting_element_list.js +0 -167
  1566. data/node_modules/parse5/lib/tree_construction/location_info_mixin.js +0 -197
  1567. data/node_modules/parse5/lib/tree_construction/open_element_stack.js +0 -379
  1568. data/node_modules/parse5/lib/tree_construction/parser.js +0 -2827
  1569. data/node_modules/parse5/package.json +0 -125
  1570. data/node_modules/pinkie-promise/index.js +0 -3
  1571. data/node_modules/pinkie-promise/license +0 -21
  1572. data/node_modules/pinkie-promise/package.json +0 -102
  1573. data/node_modules/pinkie-promise/readme.md +0 -28
  1574. data/node_modules/pinkie/index.js +0 -292
  1575. data/node_modules/pinkie/license +0 -21
  1576. data/node_modules/pinkie/package.json +0 -100
  1577. data/node_modules/pinkie/readme.md +0 -83
  1578. data/node_modules/prelude-ls/CHANGELOG.md +0 -99
  1579. data/node_modules/prelude-ls/LICENSE +0 -22
  1580. data/node_modules/prelude-ls/README.md +0 -15
  1581. data/node_modules/prelude-ls/lib/Func.js +0 -65
  1582. data/node_modules/prelude-ls/lib/List.js +0 -686
  1583. data/node_modules/prelude-ls/lib/Num.js +0 -130
  1584. data/node_modules/prelude-ls/lib/Obj.js +0 -154
  1585. data/node_modules/prelude-ls/lib/Str.js +0 -92
  1586. data/node_modules/prelude-ls/lib/index.js +0 -178
  1587. data/node_modules/prelude-ls/package.json +0 -116
  1588. data/node_modules/punycode/LICENSE-MIT.txt +0 -20
  1589. data/node_modules/punycode/README.md +0 -176
  1590. data/node_modules/punycode/package.json +0 -127
  1591. data/node_modules/punycode/punycode.js +0 -533
  1592. data/node_modules/qs/.eslintignore +0 -1
  1593. data/node_modules/qs/.eslintrc +0 -19
  1594. data/node_modules/qs/CHANGELOG.md +0 -144
  1595. data/node_modules/qs/CONTRIBUTING.md +0 -1
  1596. data/node_modules/qs/LICENSE +0 -28
  1597. data/node_modules/qs/README.md +0 -398
  1598. data/node_modules/qs/dist/qs.js +0 -574
  1599. data/node_modules/qs/lib/formats.js +0 -18
  1600. data/node_modules/qs/lib/index.js +0 -11
  1601. data/node_modules/qs/lib/parse.js +0 -166
  1602. data/node_modules/qs/lib/stringify.js +0 -187
  1603. data/node_modules/qs/lib/utils.js +0 -180
  1604. data/node_modules/qs/package.json +0 -121
  1605. data/node_modules/qs/test/.eslintrc +0 -9
  1606. data/node_modules/qs/test/index.js +0 -7
  1607. data/node_modules/qs/test/parse.js +0 -459
  1608. data/node_modules/qs/test/stringify.js +0 -538
  1609. data/node_modules/qs/test/utils.js +0 -22
  1610. data/node_modules/sax/LICENSE +0 -41
  1611. data/node_modules/sax/LICENSE-W3C.html +0 -188
  1612. data/node_modules/sax/README.md +0 -225
  1613. data/node_modules/sax/lib/sax.js +0 -1576
  1614. data/node_modules/sax/package.json +0 -133
  1615. data/node_modules/sntp/.npmignore +0 -18
  1616. data/node_modules/sntp/.travis.yml +0 -5
  1617. data/node_modules/sntp/LICENSE +0 -28
  1618. data/node_modules/sntp/Makefile +0 -9
  1619. data/node_modules/sntp/README.md +0 -68
  1620. data/node_modules/sntp/examples/offset.js +0 -16
  1621. data/node_modules/sntp/examples/time.js +0 -25
  1622. data/node_modules/sntp/index.js +0 -1
  1623. data/node_modules/sntp/lib/index.js +0 -412
  1624. data/node_modules/sntp/package.json +0 -98
  1625. data/node_modules/sntp/test/index.js +0 -435
  1626. data/node_modules/source-map/.npmignore +0 -2
  1627. data/node_modules/source-map/.travis.yml +0 -4
  1628. data/node_modules/source-map/CHANGELOG.md +0 -201
  1629. data/node_modules/source-map/LICENSE +0 -28
  1630. data/node_modules/source-map/Makefile.dryice.js +0 -166
  1631. data/node_modules/source-map/README.md +0 -479
  1632. data/node_modules/source-map/build/assert-shim.js +0 -56
  1633. data/node_modules/source-map/build/mini-require.js +0 -152
  1634. data/node_modules/source-map/build/prefix-source-map.jsm +0 -20
  1635. data/node_modules/source-map/build/prefix-utils.jsm +0 -18
  1636. data/node_modules/source-map/build/suffix-browser.js +0 -8
  1637. data/node_modules/source-map/build/suffix-source-map.jsm +0 -6
  1638. data/node_modules/source-map/build/suffix-utils.jsm +0 -21
  1639. data/node_modules/source-map/build/test-prefix.js +0 -8
  1640. data/node_modules/source-map/build/test-suffix.js +0 -3
  1641. data/node_modules/source-map/lib/source-map.js +0 -8
  1642. data/node_modules/source-map/lib/source-map/array-set.js +0 -97
  1643. data/node_modules/source-map/lib/source-map/base64-vlq.js +0 -142
  1644. data/node_modules/source-map/lib/source-map/base64.js +0 -42
  1645. data/node_modules/source-map/lib/source-map/basic-source-map-consumer.js +0 -420
  1646. data/node_modules/source-map/lib/source-map/binary-search.js +0 -80
  1647. data/node_modules/source-map/lib/source-map/indexed-source-map-consumer.js +0 -303
  1648. data/node_modules/source-map/lib/source-map/mapping-list.js +0 -86
  1649. data/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -222
  1650. data/node_modules/source-map/lib/source-map/source-map-generator.js +0 -400
  1651. data/node_modules/source-map/lib/source-map/source-node.js +0 -414
  1652. data/node_modules/source-map/lib/source-map/util.js +0 -319
  1653. data/node_modules/source-map/package.json +0 -223
  1654. data/node_modules/source-map/test/run-tests.js +0 -62
  1655. data/node_modules/source-map/test/source-map/test-api.js +0 -26
  1656. data/node_modules/source-map/test/source-map/test-array-set.js +0 -104
  1657. data/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -23
  1658. data/node_modules/source-map/test/source-map/test-base64.js +0 -35
  1659. data/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
  1660. data/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -84
  1661. data/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -874
  1662. data/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -679
  1663. data/node_modules/source-map/test/source-map/test-source-node.js +0 -612
  1664. data/node_modules/source-map/test/source-map/test-util.js +0 -216
  1665. data/node_modules/source-map/test/source-map/util.js +0 -299
  1666. data/node_modules/sshpk/.npmignore +0 -9
  1667. data/node_modules/sshpk/.travis.yml +0 -11
  1668. data/node_modules/sshpk/LICENSE +0 -18
  1669. data/node_modules/sshpk/README.md +0 -666
  1670. data/node_modules/sshpk/bin/sshpk-conv +0 -201
  1671. data/node_modules/sshpk/bin/sshpk-sign +0 -191
  1672. data/node_modules/sshpk/bin/sshpk-verify +0 -166
  1673. data/node_modules/sshpk/lib/algs.js +0 -168
  1674. data/node_modules/sshpk/lib/certificate.js +0 -291
  1675. data/node_modules/sshpk/lib/dhe.js +0 -311
  1676. data/node_modules/sshpk/lib/ed-compat.js +0 -96
  1677. data/node_modules/sshpk/lib/errors.js +0 -84
  1678. data/node_modules/sshpk/lib/fingerprint.js +0 -161
  1679. data/node_modules/sshpk/lib/formats/auto.js +0 -73
  1680. data/node_modules/sshpk/lib/formats/openssh-cert.js +0 -289
  1681. data/node_modules/sshpk/lib/formats/pem.js +0 -186
  1682. data/node_modules/sshpk/lib/formats/pkcs1.js +0 -320
  1683. data/node_modules/sshpk/lib/formats/pkcs8.js +0 -505
  1684. data/node_modules/sshpk/lib/formats/rfc4253.js +0 -146
  1685. data/node_modules/sshpk/lib/formats/ssh-private.js +0 -261
  1686. data/node_modules/sshpk/lib/formats/ssh.js +0 -114
  1687. data/node_modules/sshpk/lib/formats/x509-pem.js +0 -77
  1688. data/node_modules/sshpk/lib/formats/x509.js +0 -484
  1689. data/node_modules/sshpk/lib/identity.js +0 -255
  1690. data/node_modules/sshpk/lib/index.js +0 -38
  1691. data/node_modules/sshpk/lib/key.js +0 -270
  1692. data/node_modules/sshpk/lib/private-key.js +0 -231
  1693. data/node_modules/sshpk/lib/signature.js +0 -245
  1694. data/node_modules/sshpk/lib/ssh-buffer.js +0 -148
  1695. data/node_modules/sshpk/lib/utils.js +0 -288
  1696. data/node_modules/sshpk/man/man1/sshpk-conv.1 +0 -135
  1697. data/node_modules/sshpk/man/man1/sshpk-sign.1 +0 -81
  1698. data/node_modules/sshpk/man/man1/sshpk-verify.1 +0 -68
  1699. data/node_modules/sshpk/node_modules/assert-plus/AUTHORS +0 -6
  1700. data/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +0 -14
  1701. data/node_modules/sshpk/node_modules/assert-plus/README.md +0 -162
  1702. data/node_modules/sshpk/node_modules/assert-plus/assert.js +0 -211
  1703. data/node_modules/sshpk/node_modules/assert-plus/package.json +0 -115
  1704. data/node_modules/sshpk/package.json +0 -135
  1705. data/node_modules/stringstream/.npmignore +0 -15
  1706. data/node_modules/stringstream/.travis.yml +0 -4
  1707. data/node_modules/stringstream/LICENSE.txt +0 -22
  1708. data/node_modules/stringstream/README.md +0 -38
  1709. data/node_modules/stringstream/example.js +0 -27
  1710. data/node_modules/stringstream/package.json +0 -85
  1711. data/node_modules/stringstream/stringstream.js +0 -102
  1712. data/node_modules/strip-ansi/index.js +0 -6
  1713. data/node_modules/strip-ansi/license +0 -21
  1714. data/node_modules/strip-ansi/package.json +0 -123
  1715. data/node_modules/strip-ansi/readme.md +0 -33
  1716. data/node_modules/supports-color/index.js +0 -50
  1717. data/node_modules/supports-color/license +0 -21
  1718. data/node_modules/supports-color/package.json +0 -113
  1719. data/node_modules/supports-color/readme.md +0 -36
  1720. data/node_modules/symbol-tree/.jscsrc +0 -55
  1721. data/node_modules/symbol-tree/.npmignore +0 -6
  1722. data/node_modules/symbol-tree/LICENSE +0 -21
  1723. data/node_modules/symbol-tree/README.md +0 -68
  1724. data/node_modules/symbol-tree/api.md +0 -441
  1725. data/node_modules/symbol-tree/lib/SymbolTree.js +0 -834
  1726. data/node_modules/symbol-tree/lib/SymbolTreeNode.js +0 -54
  1727. data/node_modules/symbol-tree/lib/TreeIterator.js +0 -69
  1728. data/node_modules/symbol-tree/lib/TreePosition.js +0 -10
  1729. data/node_modules/symbol-tree/package.json +0 -121
  1730. data/node_modules/symbol-tree/test/SymbolTree.js +0 -1189
  1731. data/node_modules/tough-cookie/LICENSE +0 -27
  1732. data/node_modules/tough-cookie/README.md +0 -506
  1733. data/node_modules/tough-cookie/lib/cookie.js +0 -1336
  1734. data/node_modules/tough-cookie/lib/memstore.js +0 -170
  1735. data/node_modules/tough-cookie/lib/pathMatch.js +0 -61
  1736. data/node_modules/tough-cookie/lib/permuteDomain.js +0 -56
  1737. data/node_modules/tough-cookie/lib/pubsuffix.js +0 -98
  1738. data/node_modules/tough-cookie/lib/store.js +0 -71
  1739. data/node_modules/tough-cookie/package.json +0 -136
  1740. data/node_modules/tr46/.npmignore +0 -4
  1741. data/node_modules/tr46/index.js +0 -193
  1742. data/node_modules/tr46/lib/.gitkeep +0 -0
  1743. data/node_modules/tr46/lib/mappingTable.json +0 -1
  1744. data/node_modules/tr46/package.json +0 -91
  1745. data/node_modules/tunnel-agent/LICENSE +0 -55
  1746. data/node_modules/tunnel-agent/README.md +0 -4
  1747. data/node_modules/tunnel-agent/index.js +0 -243
  1748. data/node_modules/tunnel-agent/package.json +0 -100
  1749. data/node_modules/tweetnacl/.npmignore +0 -4
  1750. data/node_modules/tweetnacl/CHANGELOG.md +0 -209
  1751. data/node_modules/tweetnacl/COPYING.txt +0 -9
  1752. data/node_modules/tweetnacl/ISSUE_TEMPLATE.md +0 -3
  1753. data/node_modules/tweetnacl/README.md +0 -477
  1754. data/node_modules/tweetnacl/nacl-fast.js +0 -2388
  1755. data/node_modules/tweetnacl/nacl-fast.min.js +0 -2
  1756. data/node_modules/tweetnacl/nacl.d.ts +0 -98
  1757. data/node_modules/tweetnacl/nacl.js +0 -1175
  1758. data/node_modules/tweetnacl/nacl.min.js +0 -1
  1759. data/node_modules/tweetnacl/package.json +0 -121
  1760. data/node_modules/type-check/LICENSE +0 -22
  1761. data/node_modules/type-check/README.md +0 -210
  1762. data/node_modules/type-check/lib/check.js +0 -126
  1763. data/node_modules/type-check/lib/index.js +0 -16
  1764. data/node_modules/type-check/lib/parse-type.js +0 -196
  1765. data/node_modules/type-check/package.json +0 -102
  1766. data/node_modules/type-detect/.npmignore +0 -11
  1767. data/node_modules/type-detect/History.md +0 -52
  1768. data/node_modules/type-detect/README.md +0 -226
  1769. data/node_modules/type-detect/ReleaseNotes.md +0 -46
  1770. data/node_modules/type-detect/index.js +0 -1
  1771. data/node_modules/type-detect/lib/type.js +0 -134
  1772. data/node_modules/type-detect/package.json +0 -93
  1773. data/node_modules/uuid/.npmignore +0 -8
  1774. data/node_modules/uuid/.travis.yml +0 -5
  1775. data/node_modules/uuid/AUTHORS +0 -5
  1776. data/node_modules/uuid/HISTORY.md +0 -28
  1777. data/node_modules/uuid/LICENSE.md +0 -21
  1778. data/node_modules/uuid/README.md +0 -132
  1779. data/node_modules/uuid/bin/uuid +0 -26
  1780. data/node_modules/uuid/index.js +0 -8
  1781. data/node_modules/uuid/lib/bytesToUuid.js +0 -23
  1782. data/node_modules/uuid/lib/rng-browser.js +0 -33
  1783. data/node_modules/uuid/lib/rng.js +0 -10
  1784. data/node_modules/uuid/package.json +0 -122
  1785. data/node_modules/uuid/test/mocha.opts +0 -3
  1786. data/node_modules/uuid/test/test.js +0 -96
  1787. data/node_modules/uuid/v1.js +0 -103
  1788. data/node_modules/uuid/v4.js +0 -29
  1789. data/node_modules/verror/.gitmodules +0 -0
  1790. data/node_modules/verror/.npmignore +0 -1
  1791. data/node_modules/verror/LICENSE +0 -19
  1792. data/node_modules/verror/Makefile +0 -35
  1793. data/node_modules/verror/Makefile.targ +0 -285
  1794. data/node_modules/verror/README.md +0 -120
  1795. data/node_modules/verror/examples/levels-verror.js +0 -36
  1796. data/node_modules/verror/examples/levels-werror.js +0 -34
  1797. data/node_modules/verror/examples/varargs.js +0 -6
  1798. data/node_modules/verror/examples/verror.js +0 -13
  1799. data/node_modules/verror/examples/werror.js +0 -14
  1800. data/node_modules/verror/jsl.node.conf +0 -139
  1801. data/node_modules/verror/lib/verror.js +0 -157
  1802. data/node_modules/verror/package.json +0 -78
  1803. data/node_modules/verror/tests/tst.inherit.js +0 -100
  1804. data/node_modules/verror/tests/tst.verror.js +0 -156
  1805. data/node_modules/verror/tests/tst.werror.js +0 -179
  1806. data/node_modules/webidl-conversions/LICENSE.md +0 -12
  1807. data/node_modules/webidl-conversions/README.md +0 -53
  1808. data/node_modules/webidl-conversions/lib/index.js +0 -189
  1809. data/node_modules/webidl-conversions/package.json +0 -96
  1810. data/node_modules/whatwg-encoding/LICENSE.txt +0 -19
  1811. data/node_modules/whatwg-encoding/lib/labels-to-names.json +0 -207
  1812. data/node_modules/whatwg-encoding/lib/supported-names.json +0 -37
  1813. data/node_modules/whatwg-encoding/lib/whatwg-encoding.js +0 -47
  1814. data/node_modules/whatwg-encoding/node_modules/iconv-lite/.npmignore +0 -6
  1815. data/node_modules/whatwg-encoding/node_modules/iconv-lite/.travis.yml +0 -20
  1816. data/node_modules/whatwg-encoding/node_modules/iconv-lite/Changelog.md +0 -93
  1817. data/node_modules/whatwg-encoding/node_modules/iconv-lite/LICENSE +0 -21
  1818. data/node_modules/whatwg-encoding/node_modules/iconv-lite/README.md +0 -157
  1819. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -554
  1820. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/dbcs-data.js +0 -170
  1821. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/index.js +0 -22
  1822. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/internal.js +0 -187
  1823. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1824. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1825. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/sbcs-data.js +0 -169
  1826. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1827. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1828. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1829. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1830. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1831. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1832. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  1833. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1834. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf16.js +0 -174
  1835. data/node_modules/whatwg-encoding/node_modules/iconv-lite/encodings/utf7.js +0 -289
  1836. data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1837. data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/extend-node.js +0 -214
  1838. data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/index.js +0 -141
  1839. data/node_modules/whatwg-encoding/node_modules/iconv-lite/lib/streams.js +0 -120
  1840. data/node_modules/whatwg-encoding/node_modules/iconv-lite/package.json +0 -153
  1841. data/node_modules/whatwg-encoding/package.json +0 -101
  1842. data/node_modules/whatwg-url/.eslintignore +0 -3
  1843. data/node_modules/whatwg-url/LICENSE.txt +0 -21
  1844. data/node_modules/whatwg-url/README.md +0 -66
  1845. data/node_modules/whatwg-url/lib/URL-impl.js +0 -216
  1846. data/node_modules/whatwg-url/lib/URL.js +0 -209
  1847. data/node_modules/whatwg-url/lib/public-api.js +0 -11
  1848. data/node_modules/whatwg-url/lib/url-state-machine.js +0 -1173
  1849. data/node_modules/whatwg-url/lib/utils.js +0 -20
  1850. data/node_modules/whatwg-url/package.json +0 -103
  1851. data/node_modules/wordwrap/LICENSE +0 -18
  1852. data/node_modules/wordwrap/README.markdown +0 -70
  1853. data/node_modules/wordwrap/example/center.js +0 -10
  1854. data/node_modules/wordwrap/example/meat.js +0 -3
  1855. data/node_modules/wordwrap/index.js +0 -76
  1856. data/node_modules/wordwrap/package.json +0 -94
  1857. data/node_modules/wordwrap/test/break.js +0 -32
  1858. data/node_modules/wordwrap/test/idleness.txt +0 -63
  1859. data/node_modules/wordwrap/test/wrap.js +0 -33
  1860. data/node_modules/xml-name-validator/LICENSE.txt +0 -19
  1861. data/node_modules/xml-name-validator/README.md +0 -36
  1862. data/node_modules/xml-name-validator/lib/generated-parser.js +0 -504
  1863. data/node_modules/xml-name-validator/lib/grammar.pegjs +0 -35
  1864. data/node_modules/xml-name-validator/lib/xml-name-validator.js +0 -17
  1865. data/node_modules/xml-name-validator/package.json +0 -97
  1866. data/node_modules/xtend/.jshintrc +0 -30
  1867. data/node_modules/xtend/.npmignore +0 -1
  1868. data/node_modules/xtend/LICENCE +0 -19
  1869. data/node_modules/xtend/Makefile +0 -4
  1870. data/node_modules/xtend/README.md +0 -32
  1871. data/node_modules/xtend/immutable.js +0 -19
  1872. data/node_modules/xtend/mutable.js +0 -17
  1873. data/node_modules/xtend/package.json +0 -117
  1874. data/node_modules/xtend/test.js +0 -83
@@ -1,71 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
-
4
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj["default"] = obj; return newObj; } }
5
-
6
- var _path = require("path");
7
-
8
- var _fs = require("fs");
9
-
10
- var _distAcornJs = require("../dist/acorn.js");
11
-
12
- var acorn = _interopRequireWildcard(_distAcornJs);
13
-
14
- var infile = undefined,
15
- forceFile = undefined,
16
- silent = false,
17
- compact = false,
18
- tokenize = false;
19
- var options = {};
20
-
21
- function help(status) {
22
- var print = status == 0 ? console.log : console.error;
23
- print("usage: " + (0, _path.basename)(process.argv[1]) + " [--ecma3|--ecma5|--ecma6]");
24
- print(" [--tokenize] [--locations] [---allow-hash-bang] [--compact] [--silent] [--module] [--help] [--] [infile]");
25
- process.exit(status);
26
- }
27
-
28
- for (var i = 2; i < process.argv.length; ++i) {
29
- var arg = process.argv[i];
30
- if ((arg == "-" || arg[0] != "-") && !infile) infile = arg;else if (arg == "--" && !infile && i + 2 == process.argv.length) forceFile = infile = process.argv[++i];else if (arg == "--ecma3") options.ecmaVersion = 3;else if (arg == "--ecma5") options.ecmaVersion = 5;else if (arg == "--ecma6") options.ecmaVersion = 6;else if (arg == "--locations") options.locations = true;else if (arg == "--allow-hash-bang") options.allowHashBang = true;else if (arg == "--silent") silent = true;else if (arg == "--compact") compact = true;else if (arg == "--help") help(0);else if (arg == "--tokenize") tokenize = true;else if (arg == "--module") options.sourceType = 'module';else help(1);
31
- }
32
-
33
- function run(code) {
34
- var result = undefined;
35
- if (!tokenize) {
36
- try {
37
- result = acorn.parse(code, options);
38
- } catch (e) {
39
- console.error(e.message);process.exit(1);
40
- }
41
- } else {
42
- result = [];
43
- var tokenizer = acorn.tokenizer(code, options),
44
- token = undefined;
45
- while (true) {
46
- try {
47
- token = tokenizer.getToken();
48
- } catch (e) {
49
- console.error(e.message);process.exit(1);
50
- }
51
- result.push(token);
52
- if (token.type == acorn.tokTypes.eof) break;
53
- }
54
- }
55
- if (!silent) console.log(JSON.stringify(result, null, compact ? null : 2));
56
- }
57
-
58
- if (forceFile || infile && infile != "-") {
59
- run((0, _fs.readFileSync)(infile, "utf8"));
60
- } else {
61
- (function () {
62
- var code = "";
63
- process.stdin.resume();
64
- process.stdin.on("data", function (chunk) {
65
- return code += chunk;
66
- });
67
- process.stdin.on("end", function () {
68
- return run(code);
69
- });
70
- })();
71
- }
@@ -1,82 +0,0 @@
1
- var fs = require("fs"), path = require("path")
2
- var stream = require("stream")
3
-
4
- var browserify = require("browserify")
5
- var babel = require('babel-core')
6
- var babelify = require("babelify").configure({loose: "all"})
7
-
8
- process.chdir(path.resolve(__dirname, ".."))
9
-
10
- browserify({standalone: "acorn"})
11
- .plugin(require('browserify-derequire'))
12
- .transform(babelify)
13
- .require("./src/index.js", {entry: true})
14
- .bundle()
15
- .on("error", function (err) { console.log("Error: " + err.message) })
16
- .pipe(fs.createWriteStream("dist/acorn.js"))
17
-
18
- var ACORN_PLACEHOLDER = "this_function_call_should_be_replaced_with_a_call_to_load_acorn()";
19
- function acornShimPrepare(file) {
20
- var tr = new stream.Transform
21
- if (file == path.resolve(__dirname, "../src/index.js")) {
22
- var sent = false
23
- tr._transform = function(chunk, _, callback) {
24
- if (!sent) {
25
- sent = true
26
- callback(null, ACORN_PLACEHOLDER);
27
- } else {
28
- callback()
29
- }
30
- }
31
- } else {
32
- tr._transform = function(chunk, _, callback) { callback(null, chunk) }
33
- }
34
- return tr
35
- }
36
- function acornShimComplete() {
37
- var tr = new stream.Transform
38
- var buffer = "";
39
- tr._transform = function(chunk, _, callback) {
40
- buffer += chunk.toString("utf8");
41
- callback();
42
- };
43
- tr._flush = function (callback) {
44
- tr.push(buffer.replace(ACORN_PLACEHOLDER, "module.exports = typeof acorn != 'undefined' ? acorn : require(\"./acorn\")"));
45
- callback(null);
46
- };
47
- return tr;
48
- }
49
-
50
- browserify({standalone: "acorn.loose"})
51
- .plugin(require('browserify-derequire'))
52
- .transform(acornShimPrepare)
53
- .transform(babelify)
54
- .require("./src/loose/index.js", {entry: true})
55
- .bundle()
56
- .on("error", function (err) { console.log("Error: " + err.message) })
57
- .pipe(acornShimComplete())
58
- .pipe(fs.createWriteStream("dist/acorn_loose.js"))
59
-
60
- browserify({standalone: "acorn.walk"})
61
- .plugin(require('browserify-derequire'))
62
- .transform(acornShimPrepare)
63
- .transform(babelify)
64
- .require("./src/walk/index.js", {entry: true})
65
- .bundle()
66
- .on("error", function (err) { console.log("Error: " + err.message) })
67
- .pipe(acornShimComplete())
68
- .pipe(fs.createWriteStream("dist/walk.js"))
69
-
70
- babel.transformFile("./src/bin/acorn.js", function (err, result) {
71
- if (err) return console.log("Error: " + err.message)
72
- fs.writeFile("bin/acorn", result.code, function (err) {
73
- if (err) return console.log("Error: " + err.message)
74
-
75
- // Make bin/acorn executable
76
- if (process.platform === 'win32')
77
- return
78
- var stat = fs.statSync("bin/acorn")
79
- var newPerm = stat.mode | parseInt('111', 8)
80
- fs.chmodSync("bin/acorn", newPerm)
81
- })
82
- })
@@ -1,47 +0,0 @@
1
- // Note: run `npm install unicode-7.0.0` first.
2
-
3
- // Which Unicode version should be used?
4
- var version = '7.0.0';
5
-
6
- var start = require('unicode-' + version + '/properties/ID_Start/code-points')
7
- .filter(function(ch) { return ch > 127; });
8
- var cont = [0x200c, 0x200d].concat(require('unicode-' + version + '/properties/ID_Continue/code-points')
9
- .filter(function(ch) { return ch > 127 && start.indexOf(ch) == -1; }));
10
-
11
- function pad(str, width) {
12
- while (str.length < width) str = "0" + str;
13
- return str;
14
- }
15
-
16
- function esc(code) {
17
- var hex = code.toString(16);
18
- if (hex.length <= 2) return "\\x" + pad(hex, 2);
19
- else return "\\u" + pad(hex, 4);
20
- }
21
-
22
- function generate(chars) {
23
- var astral = [], re = "";
24
- for (var i = 0, at = 0x10000; i < chars.length; i++) {
25
- var from = chars[i], to = from;
26
- while (i < chars.length - 1 && chars[i + 1] == to + 1) {
27
- i++;
28
- to++;
29
- }
30
- if (to <= 0xffff) {
31
- if (from == to) re += esc(from);
32
- else if (from + 1 == to) re += esc(from) + esc(to);
33
- else re += esc(from) + "-" + esc(to);
34
- } else {
35
- astral.push(from - at, to - from);
36
- at = to;
37
- }
38
- }
39
- return {nonASCII: re, astral: astral};
40
- }
41
-
42
- var startData = generate(start), contData = generate(cont);
43
-
44
- console.log(" var nonASCIIidentifierStartChars = \"" + startData.nonASCII + "\";");
45
- console.log(" var nonASCIIidentifierChars = \"" + contData.nonASCII + "\";");
46
- console.log(" var astralIdentifierStartCodes = " + JSON.stringify(startData.astral) + ";");
47
- console.log(" var astralIdentifierCodes = " + JSON.stringify(contData.astral) + ";");
@@ -1,6 +0,0 @@
1
- # Combine existing list of authors with everyone known in git, sort, add header.
2
- tail --lines=+3 AUTHORS > AUTHORS.tmp
3
- git log --format='%aN' | grep -v abraidwood >> AUTHORS.tmp
4
- echo -e "List of Acorn contributors. Updated before every release.\n" > AUTHORS
5
- sort -u AUTHORS.tmp >> AUTHORS
6
- rm -f AUTHORS.tmp
File without changes
@@ -1,3340 +0,0 @@
1
- (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.acorn = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
2
- // A recursive descent parser operates by defining functions for all
3
- // syntactic elements, and recursively calling those, each function
4
- // advancing the input stream and returning an AST node. Precedence
5
- // of constructs (for example, the fact that `!x[1]` means `!(x[1])`
6
- // instead of `(!x)[1]` is handled by the fact that the parser
7
- // function that parses unary prefix operators is called first, and
8
- // in turn calls the function that parses `[]` subscripts — that
9
- // way, it'll receive the node for `x[1]` already parsed, and wraps
10
- // *that* in the unary operator node.
11
- //
12
- // Acorn uses an [operator precedence parser][opp] to handle binary
13
- // operator precedence, because it is much more compact than using
14
- // the technique outlined above, which uses different, nesting
15
- // functions to specify precedence, for all of the ten binary
16
- // precedence levels that JavaScript defines.
17
- //
18
- // [opp]: http://en.wikipedia.org/wiki/Operator-precedence_parser
19
-
20
- "use strict";
21
-
22
- var _tokentype = _dereq_("./tokentype");
23
-
24
- var _state = _dereq_("./state");
25
-
26
- var pp = _state.Parser.prototype;
27
-
28
- // Check if property name clashes with already added.
29
- // Object/class getters and setters are not allowed to clash —
30
- // either with each other or with an init property — and in
31
- // strict mode, init properties are also not allowed to be repeated.
32
-
33
- pp.checkPropClash = function (prop, propHash) {
34
- if (this.options.ecmaVersion >= 6 && (prop.computed || prop.method || prop.shorthand)) return;
35
- var key = prop.key;var name = undefined;
36
- switch (key.type) {
37
- case "Identifier":
38
- name = key.name;break;
39
- case "Literal":
40
- name = String(key.value);break;
41
- default:
42
- return;
43
- }
44
- var kind = prop.kind;
45
-
46
- if (this.options.ecmaVersion >= 6) {
47
- if (name === "__proto__" && kind === "init") {
48
- if (propHash.proto) this.raise(key.start, "Redefinition of __proto__ property");
49
- propHash.proto = true;
50
- }
51
- return;
52
- }
53
- name = "$" + name;
54
- var other = propHash[name];
55
- if (other) {
56
- var isGetSet = kind !== "init";
57
- if ((this.strict || isGetSet) && other[kind] || !(isGetSet ^ other.init)) this.raise(key.start, "Redefinition of property");
58
- } else {
59
- other = propHash[name] = {
60
- init: false,
61
- get: false,
62
- set: false
63
- };
64
- }
65
- other[kind] = true;
66
- };
67
-
68
- // ### Expression parsing
69
-
70
- // These nest, from the most general expression type at the top to
71
- // 'atomic', nondivisible expression types at the bottom. Most of
72
- // the functions will simply let the function(s) below them parse,
73
- // and, *if* the syntactic construct they handle is present, wrap
74
- // the AST node that the inner parser gave them in another node.
75
-
76
- // Parse a full expression. The optional arguments are used to
77
- // forbid the `in` operator (in for loops initalization expressions)
78
- // and provide reference for storing '=' operator inside shorthand
79
- // property assignment in contexts where both object expression
80
- // and object pattern might appear (so it's possible to raise
81
- // delayed syntax error at correct position).
82
-
83
- pp.parseExpression = function (noIn, refDestructuringErrors) {
84
- var startPos = this.start,
85
- startLoc = this.startLoc;
86
- var expr = this.parseMaybeAssign(noIn, refDestructuringErrors);
87
- if (this.type === _tokentype.types.comma) {
88
- var node = this.startNodeAt(startPos, startLoc);
89
- node.expressions = [expr];
90
- while (this.eat(_tokentype.types.comma)) node.expressions.push(this.parseMaybeAssign(noIn, refDestructuringErrors));
91
- return this.finishNode(node, "SequenceExpression");
92
- }
93
- return expr;
94
- };
95
-
96
- // Parse an assignment expression. This includes applications of
97
- // operators like `+=`.
98
-
99
- pp.parseMaybeAssign = function (noIn, refDestructuringErrors, afterLeftParse) {
100
- if (this.type == _tokentype.types._yield && this.inGenerator) return this.parseYield();
101
-
102
- var validateDestructuring = false;
103
- if (!refDestructuringErrors) {
104
- refDestructuringErrors = { shorthandAssign: 0, trailingComma: 0 };
105
- validateDestructuring = true;
106
- }
107
- var startPos = this.start,
108
- startLoc = this.startLoc;
109
- if (this.type == _tokentype.types.parenL || this.type == _tokentype.types.name) this.potentialArrowAt = this.start;
110
- var left = this.parseMaybeConditional(noIn, refDestructuringErrors);
111
- if (afterLeftParse) left = afterLeftParse.call(this, left, startPos, startLoc);
112
- if (this.type.isAssign) {
113
- if (validateDestructuring) this.checkPatternErrors(refDestructuringErrors, true);
114
- var node = this.startNodeAt(startPos, startLoc);
115
- node.operator = this.value;
116
- node.left = this.type === _tokentype.types.eq ? this.toAssignable(left) : left;
117
- refDestructuringErrors.shorthandAssign = 0; // reset because shorthand default was used correctly
118
- this.checkLVal(left);
119
- this.next();
120
- node.right = this.parseMaybeAssign(noIn);
121
- return this.finishNode(node, "AssignmentExpression");
122
- } else {
123
- if (validateDestructuring) this.checkExpressionErrors(refDestructuringErrors, true);
124
- }
125
- return left;
126
- };
127
-
128
- // Parse a ternary conditional (`?:`) operator.
129
-
130
- pp.parseMaybeConditional = function (noIn, refDestructuringErrors) {
131
- var startPos = this.start,
132
- startLoc = this.startLoc;
133
- var expr = this.parseExprOps(noIn, refDestructuringErrors);
134
- if (this.checkExpressionErrors(refDestructuringErrors)) return expr;
135
- if (this.eat(_tokentype.types.question)) {
136
- var node = this.startNodeAt(startPos, startLoc);
137
- node.test = expr;
138
- node.consequent = this.parseMaybeAssign();
139
- this.expect(_tokentype.types.colon);
140
- node.alternate = this.parseMaybeAssign(noIn);
141
- return this.finishNode(node, "ConditionalExpression");
142
- }
143
- return expr;
144
- };
145
-
146
- // Start the precedence parser.
147
-
148
- pp.parseExprOps = function (noIn, refDestructuringErrors) {
149
- var startPos = this.start,
150
- startLoc = this.startLoc;
151
- var expr = this.parseMaybeUnary(refDestructuringErrors);
152
- if (this.checkExpressionErrors(refDestructuringErrors)) return expr;
153
- return this.parseExprOp(expr, startPos, startLoc, -1, noIn);
154
- };
155
-
156
- // Parse binary operators with the operator precedence parsing
157
- // algorithm. `left` is the left-hand side of the operator.
158
- // `minPrec` provides context that allows the function to stop and
159
- // defer further parser to one of its callers when it encounters an
160
- // operator that has a lower precedence than the set it is parsing.
161
-
162
- pp.parseExprOp = function (left, leftStartPos, leftStartLoc, minPrec, noIn) {
163
- var prec = this.type.binop;
164
- if (prec != null && (!noIn || this.type !== _tokentype.types._in)) {
165
- if (prec > minPrec) {
166
- var node = this.startNodeAt(leftStartPos, leftStartLoc);
167
- node.left = left;
168
- node.operator = this.value;
169
- var op = this.type;
170
- this.next();
171
- var startPos = this.start,
172
- startLoc = this.startLoc;
173
- node.right = this.parseExprOp(this.parseMaybeUnary(), startPos, startLoc, prec, noIn);
174
- this.finishNode(node, op === _tokentype.types.logicalOR || op === _tokentype.types.logicalAND ? "LogicalExpression" : "BinaryExpression");
175
- return this.parseExprOp(node, leftStartPos, leftStartLoc, minPrec, noIn);
176
- }
177
- }
178
- return left;
179
- };
180
-
181
- // Parse unary operators, both prefix and postfix.
182
-
183
- pp.parseMaybeUnary = function (refDestructuringErrors) {
184
- if (this.type.prefix) {
185
- var node = this.startNode(),
186
- update = this.type === _tokentype.types.incDec;
187
- node.operator = this.value;
188
- node.prefix = true;
189
- this.next();
190
- node.argument = this.parseMaybeUnary();
191
- this.checkExpressionErrors(refDestructuringErrors, true);
192
- if (update) this.checkLVal(node.argument);else if (this.strict && node.operator === "delete" && node.argument.type === "Identifier") this.raise(node.start, "Deleting local variable in strict mode");
193
- return this.finishNode(node, update ? "UpdateExpression" : "UnaryExpression");
194
- }
195
- var startPos = this.start,
196
- startLoc = this.startLoc;
197
- var expr = this.parseExprSubscripts(refDestructuringErrors);
198
- if (this.checkExpressionErrors(refDestructuringErrors)) return expr;
199
- while (this.type.postfix && !this.canInsertSemicolon()) {
200
- var node = this.startNodeAt(startPos, startLoc);
201
- node.operator = this.value;
202
- node.prefix = false;
203
- node.argument = expr;
204
- this.checkLVal(expr);
205
- this.next();
206
- expr = this.finishNode(node, "UpdateExpression");
207
- }
208
- return expr;
209
- };
210
-
211
- // Parse call, dot, and `[]`-subscript expressions.
212
-
213
- pp.parseExprSubscripts = function (refDestructuringErrors) {
214
- var startPos = this.start,
215
- startLoc = this.startLoc;
216
- var expr = this.parseExprAtom(refDestructuringErrors);
217
- var skipArrowSubscripts = expr.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")";
218
- if (this.checkExpressionErrors(refDestructuringErrors) || skipArrowSubscripts) return expr;
219
- return this.parseSubscripts(expr, startPos, startLoc);
220
- };
221
-
222
- pp.parseSubscripts = function (base, startPos, startLoc, noCalls) {
223
- for (;;) {
224
- if (this.eat(_tokentype.types.dot)) {
225
- var node = this.startNodeAt(startPos, startLoc);
226
- node.object = base;
227
- node.property = this.parseIdent(true);
228
- node.computed = false;
229
- base = this.finishNode(node, "MemberExpression");
230
- } else if (this.eat(_tokentype.types.bracketL)) {
231
- var node = this.startNodeAt(startPos, startLoc);
232
- node.object = base;
233
- node.property = this.parseExpression();
234
- node.computed = true;
235
- this.expect(_tokentype.types.bracketR);
236
- base = this.finishNode(node, "MemberExpression");
237
- } else if (!noCalls && this.eat(_tokentype.types.parenL)) {
238
- var node = this.startNodeAt(startPos, startLoc);
239
- node.callee = base;
240
- node.arguments = this.parseExprList(_tokentype.types.parenR, false);
241
- base = this.finishNode(node, "CallExpression");
242
- } else if (this.type === _tokentype.types.backQuote) {
243
- var node = this.startNodeAt(startPos, startLoc);
244
- node.tag = base;
245
- node.quasi = this.parseTemplate();
246
- base = this.finishNode(node, "TaggedTemplateExpression");
247
- } else {
248
- return base;
249
- }
250
- }
251
- };
252
-
253
- // Parse an atomic expression — either a single token that is an
254
- // expression, an expression started by a keyword like `function` or
255
- // `new`, or an expression wrapped in punctuation like `()`, `[]`,
256
- // or `{}`.
257
-
258
- pp.parseExprAtom = function (refDestructuringErrors) {
259
- var node = undefined,
260
- canBeArrow = this.potentialArrowAt == this.start;
261
- switch (this.type) {
262
- case _tokentype.types._super:
263
- if (!this.inFunction) this.raise(this.start, "'super' outside of function or class");
264
- case _tokentype.types._this:
265
- var type = this.type === _tokentype.types._this ? "ThisExpression" : "Super";
266
- node = this.startNode();
267
- this.next();
268
- return this.finishNode(node, type);
269
-
270
- case _tokentype.types._yield:
271
- if (this.inGenerator) this.unexpected();
272
-
273
- case _tokentype.types.name:
274
- var startPos = this.start,
275
- startLoc = this.startLoc;
276
- var id = this.parseIdent(this.type !== _tokentype.types.name);
277
- if (canBeArrow && !this.canInsertSemicolon() && this.eat(_tokentype.types.arrow)) return this.parseArrowExpression(this.startNodeAt(startPos, startLoc), [id]);
278
- return id;
279
-
280
- case _tokentype.types.regexp:
281
- var value = this.value;
282
- node = this.parseLiteral(value.value);
283
- node.regex = { pattern: value.pattern, flags: value.flags };
284
- return node;
285
-
286
- case _tokentype.types.num:case _tokentype.types.string:
287
- return this.parseLiteral(this.value);
288
-
289
- case _tokentype.types._null:case _tokentype.types._true:case _tokentype.types._false:
290
- node = this.startNode();
291
- node.value = this.type === _tokentype.types._null ? null : this.type === _tokentype.types._true;
292
- node.raw = this.type.keyword;
293
- this.next();
294
- return this.finishNode(node, "Literal");
295
-
296
- case _tokentype.types.parenL:
297
- return this.parseParenAndDistinguishExpression(canBeArrow);
298
-
299
- case _tokentype.types.bracketL:
300
- node = this.startNode();
301
- this.next();
302
- // check whether this is array comprehension or regular array
303
- if (this.options.ecmaVersion >= 7 && this.type === _tokentype.types._for) {
304
- return this.parseComprehension(node, false);
305
- }
306
- node.elements = this.parseExprList(_tokentype.types.bracketR, true, true, refDestructuringErrors);
307
- return this.finishNode(node, "ArrayExpression");
308
-
309
- case _tokentype.types.braceL:
310
- return this.parseObj(false, refDestructuringErrors);
311
-
312
- case _tokentype.types._function:
313
- node = this.startNode();
314
- this.next();
315
- return this.parseFunction(node, false);
316
-
317
- case _tokentype.types._class:
318
- return this.parseClass(this.startNode(), false);
319
-
320
- case _tokentype.types._new:
321
- return this.parseNew();
322
-
323
- case _tokentype.types.backQuote:
324
- return this.parseTemplate();
325
-
326
- default:
327
- this.unexpected();
328
- }
329
- };
330
-
331
- pp.parseLiteral = function (value) {
332
- var node = this.startNode();
333
- node.value = value;
334
- node.raw = this.input.slice(this.start, this.end);
335
- this.next();
336
- return this.finishNode(node, "Literal");
337
- };
338
-
339
- pp.parseParenExpression = function () {
340
- this.expect(_tokentype.types.parenL);
341
- var val = this.parseExpression();
342
- this.expect(_tokentype.types.parenR);
343
- return val;
344
- };
345
-
346
- pp.parseParenAndDistinguishExpression = function (canBeArrow) {
347
- var startPos = this.start,
348
- startLoc = this.startLoc,
349
- val = undefined;
350
- if (this.options.ecmaVersion >= 6) {
351
- this.next();
352
-
353
- if (this.options.ecmaVersion >= 7 && this.type === _tokentype.types._for) {
354
- return this.parseComprehension(this.startNodeAt(startPos, startLoc), true);
355
- }
356
-
357
- var innerStartPos = this.start,
358
- innerStartLoc = this.startLoc;
359
- var exprList = [],
360
- first = true;
361
- var refDestructuringErrors = { shorthandAssign: 0, trailingComma: 0 },
362
- spreadStart = undefined,
363
- innerParenStart = undefined;
364
- while (this.type !== _tokentype.types.parenR) {
365
- first ? first = false : this.expect(_tokentype.types.comma);
366
- if (this.type === _tokentype.types.ellipsis) {
367
- spreadStart = this.start;
368
- exprList.push(this.parseParenItem(this.parseRest()));
369
- break;
370
- } else {
371
- if (this.type === _tokentype.types.parenL && !innerParenStart) {
372
- innerParenStart = this.start;
373
- }
374
- exprList.push(this.parseMaybeAssign(false, refDestructuringErrors, this.parseParenItem));
375
- }
376
- }
377
- var innerEndPos = this.start,
378
- innerEndLoc = this.startLoc;
379
- this.expect(_tokentype.types.parenR);
380
-
381
- if (canBeArrow && !this.canInsertSemicolon() && this.eat(_tokentype.types.arrow)) {
382
- this.checkPatternErrors(refDestructuringErrors, true);
383
- if (innerParenStart) this.unexpected(innerParenStart);
384
- return this.parseParenArrowList(startPos, startLoc, exprList);
385
- }
386
-
387
- if (!exprList.length) this.unexpected(this.lastTokStart);
388
- if (spreadStart) this.unexpected(spreadStart);
389
- this.checkExpressionErrors(refDestructuringErrors, true);
390
-
391
- if (exprList.length > 1) {
392
- val = this.startNodeAt(innerStartPos, innerStartLoc);
393
- val.expressions = exprList;
394
- this.finishNodeAt(val, "SequenceExpression", innerEndPos, innerEndLoc);
395
- } else {
396
- val = exprList[0];
397
- }
398
- } else {
399
- val = this.parseParenExpression();
400
- }
401
-
402
- if (this.options.preserveParens) {
403
- var par = this.startNodeAt(startPos, startLoc);
404
- par.expression = val;
405
- return this.finishNode(par, "ParenthesizedExpression");
406
- } else {
407
- return val;
408
- }
409
- };
410
-
411
- pp.parseParenItem = function (item) {
412
- return item;
413
- };
414
-
415
- pp.parseParenArrowList = function (startPos, startLoc, exprList) {
416
- return this.parseArrowExpression(this.startNodeAt(startPos, startLoc), exprList);
417
- };
418
-
419
- // New's precedence is slightly tricky. It must allow its argument to
420
- // be a `[]` or dot subscript expression, but not a call — at least,
421
- // not without wrapping it in parentheses. Thus, it uses the noCalls
422
- // argument to parseSubscripts to prevent it from consuming the
423
- // argument list.
424
-
425
- var empty = [];
426
-
427
- pp.parseNew = function () {
428
- var node = this.startNode();
429
- var meta = this.parseIdent(true);
430
- if (this.options.ecmaVersion >= 6 && this.eat(_tokentype.types.dot)) {
431
- node.meta = meta;
432
- node.property = this.parseIdent(true);
433
- if (node.property.name !== "target") this.raise(node.property.start, "The only valid meta property for new is new.target");
434
- if (!this.inFunction) this.raise(node.start, "new.target can only be used in functions");
435
- return this.finishNode(node, "MetaProperty");
436
- }
437
- var startPos = this.start,
438
- startLoc = this.startLoc;
439
- node.callee = this.parseSubscripts(this.parseExprAtom(), startPos, startLoc, true);
440
- if (this.eat(_tokentype.types.parenL)) node.arguments = this.parseExprList(_tokentype.types.parenR, false);else node.arguments = empty;
441
- return this.finishNode(node, "NewExpression");
442
- };
443
-
444
- // Parse template expression.
445
-
446
- pp.parseTemplateElement = function () {
447
- var elem = this.startNode();
448
- elem.value = {
449
- raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, '\n'),
450
- cooked: this.value
451
- };
452
- this.next();
453
- elem.tail = this.type === _tokentype.types.backQuote;
454
- return this.finishNode(elem, "TemplateElement");
455
- };
456
-
457
- pp.parseTemplate = function () {
458
- var node = this.startNode();
459
- this.next();
460
- node.expressions = [];
461
- var curElt = this.parseTemplateElement();
462
- node.quasis = [curElt];
463
- while (!curElt.tail) {
464
- this.expect(_tokentype.types.dollarBraceL);
465
- node.expressions.push(this.parseExpression());
466
- this.expect(_tokentype.types.braceR);
467
- node.quasis.push(curElt = this.parseTemplateElement());
468
- }
469
- this.next();
470
- return this.finishNode(node, "TemplateLiteral");
471
- };
472
-
473
- // Parse an object literal or binding pattern.
474
-
475
- pp.parseObj = function (isPattern, refDestructuringErrors) {
476
- var node = this.startNode(),
477
- first = true,
478
- propHash = {};
479
- node.properties = [];
480
- this.next();
481
- while (!this.eat(_tokentype.types.braceR)) {
482
- if (!first) {
483
- this.expect(_tokentype.types.comma);
484
- if (this.afterTrailingComma(_tokentype.types.braceR)) break;
485
- } else first = false;
486
-
487
- var prop = this.startNode(),
488
- isGenerator = undefined,
489
- startPos = undefined,
490
- startLoc = undefined;
491
- if (this.options.ecmaVersion >= 6) {
492
- prop.method = false;
493
- prop.shorthand = false;
494
- if (isPattern || refDestructuringErrors) {
495
- startPos = this.start;
496
- startLoc = this.startLoc;
497
- }
498
- if (!isPattern) isGenerator = this.eat(_tokentype.types.star);
499
- }
500
- this.parsePropertyName(prop);
501
- this.parsePropertyValue(prop, isPattern, isGenerator, startPos, startLoc, refDestructuringErrors);
502
- this.checkPropClash(prop, propHash);
503
- node.properties.push(this.finishNode(prop, "Property"));
504
- }
505
- return this.finishNode(node, isPattern ? "ObjectPattern" : "ObjectExpression");
506
- };
507
-
508
- pp.parsePropertyValue = function (prop, isPattern, isGenerator, startPos, startLoc, refDestructuringErrors) {
509
- if (this.eat(_tokentype.types.colon)) {
510
- prop.value = isPattern ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, refDestructuringErrors);
511
- prop.kind = "init";
512
- } else if (this.options.ecmaVersion >= 6 && this.type === _tokentype.types.parenL) {
513
- if (isPattern) this.unexpected();
514
- prop.kind = "init";
515
- prop.method = true;
516
- prop.value = this.parseMethod(isGenerator);
517
- } else if (this.options.ecmaVersion >= 5 && !prop.computed && prop.key.type === "Identifier" && (prop.key.name === "get" || prop.key.name === "set") && (this.type != _tokentype.types.comma && this.type != _tokentype.types.braceR)) {
518
- if (isGenerator || isPattern) this.unexpected();
519
- prop.kind = prop.key.name;
520
- this.parsePropertyName(prop);
521
- prop.value = this.parseMethod(false);
522
- var paramCount = prop.kind === "get" ? 0 : 1;
523
- if (prop.value.params.length !== paramCount) {
524
- var start = prop.value.start;
525
- if (prop.kind === "get") this.raise(start, "getter should have no params");else this.raise(start, "setter should have exactly one param");
526
- }
527
- if (prop.kind === "set" && prop.value.params[0].type === "RestElement") this.raise(prop.value.params[0].start, "Setter cannot use rest params");
528
- } else if (this.options.ecmaVersion >= 6 && !prop.computed && prop.key.type === "Identifier") {
529
- prop.kind = "init";
530
- if (isPattern) {
531
- if (this.keywords.test(prop.key.name) || (this.strict ? this.reservedWordsStrictBind : this.reservedWords).test(prop.key.name)) this.raise(prop.key.start, "Binding " + prop.key.name);
532
- prop.value = this.parseMaybeDefault(startPos, startLoc, prop.key);
533
- } else if (this.type === _tokentype.types.eq && refDestructuringErrors) {
534
- if (!refDestructuringErrors.shorthandAssign) refDestructuringErrors.shorthandAssign = this.start;
535
- prop.value = this.parseMaybeDefault(startPos, startLoc, prop.key);
536
- } else {
537
- prop.value = prop.key;
538
- }
539
- prop.shorthand = true;
540
- } else this.unexpected();
541
- };
542
-
543
- pp.parsePropertyName = function (prop) {
544
- if (this.options.ecmaVersion >= 6) {
545
- if (this.eat(_tokentype.types.bracketL)) {
546
- prop.computed = true;
547
- prop.key = this.parseMaybeAssign();
548
- this.expect(_tokentype.types.bracketR);
549
- return prop.key;
550
- } else {
551
- prop.computed = false;
552
- }
553
- }
554
- return prop.key = this.type === _tokentype.types.num || this.type === _tokentype.types.string ? this.parseExprAtom() : this.parseIdent(true);
555
- };
556
-
557
- // Initialize empty function node.
558
-
559
- pp.initFunction = function (node) {
560
- node.id = null;
561
- if (this.options.ecmaVersion >= 6) {
562
- node.generator = false;
563
- node.expression = false;
564
- }
565
- };
566
-
567
- // Parse object or class method.
568
-
569
- pp.parseMethod = function (isGenerator) {
570
- var node = this.startNode();
571
- this.initFunction(node);
572
- this.expect(_tokentype.types.parenL);
573
- node.params = this.parseBindingList(_tokentype.types.parenR, false, false);
574
- if (this.options.ecmaVersion >= 6) node.generator = isGenerator;
575
- this.parseFunctionBody(node, false);
576
- return this.finishNode(node, "FunctionExpression");
577
- };
578
-
579
- // Parse arrow function expression with given parameters.
580
-
581
- pp.parseArrowExpression = function (node, params) {
582
- this.initFunction(node);
583
- node.params = this.toAssignableList(params, true);
584
- this.parseFunctionBody(node, true);
585
- return this.finishNode(node, "ArrowFunctionExpression");
586
- };
587
-
588
- // Parse function body and check parameters.
589
-
590
- pp.parseFunctionBody = function (node, isArrowFunction) {
591
- var isExpression = isArrowFunction && this.type !== _tokentype.types.braceL;
592
-
593
- if (isExpression) {
594
- node.body = this.parseMaybeAssign();
595
- node.expression = true;
596
- } else {
597
- // Start a new scope with regard to labels and the `inFunction`
598
- // flag (restore them to their old value afterwards).
599
- var oldInFunc = this.inFunction,
600
- oldInGen = this.inGenerator,
601
- oldLabels = this.labels;
602
- this.inFunction = true;this.inGenerator = node.generator;this.labels = [];
603
- node.body = this.parseBlock(true);
604
- node.expression = false;
605
- this.inFunction = oldInFunc;this.inGenerator = oldInGen;this.labels = oldLabels;
606
- }
607
-
608
- // If this is a strict mode function, verify that argument names
609
- // are not repeated, and it does not try to bind the words `eval`
610
- // or `arguments`.
611
- if (this.strict || !isExpression && node.body.body.length && this.isUseStrict(node.body.body[0])) {
612
- var oldStrict = this.strict;
613
- this.strict = true;
614
- if (node.id) this.checkLVal(node.id, true);
615
- this.checkParams(node);
616
- this.strict = oldStrict;
617
- } else if (isArrowFunction) {
618
- this.checkParams(node);
619
- }
620
- };
621
-
622
- // Checks function params for various disallowed patterns such as using "eval"
623
- // or "arguments" and duplicate parameters.
624
-
625
- pp.checkParams = function (node) {
626
- var nameHash = {};
627
- for (var i = 0; i < node.params.length; i++) {
628
- this.checkLVal(node.params[i], true, nameHash);
629
- }
630
- };
631
-
632
- // Parses a comma-separated list of expressions, and returns them as
633
- // an array. `close` is the token type that ends the list, and
634
- // `allowEmpty` can be turned on to allow subsequent commas with
635
- // nothing in between them to be parsed as `null` (which is needed
636
- // for array literals).
637
-
638
- pp.parseExprList = function (close, allowTrailingComma, allowEmpty, refDestructuringErrors) {
639
- var elts = [],
640
- first = true;
641
- while (!this.eat(close)) {
642
- if (!first) {
643
- this.expect(_tokentype.types.comma);
644
- if (this.type === close && refDestructuringErrors && !refDestructuringErrors.trailingComma) {
645
- refDestructuringErrors.trailingComma = this.lastTokStart;
646
- }
647
- if (allowTrailingComma && this.afterTrailingComma(close)) break;
648
- } else first = false;
649
-
650
- var elt = undefined;
651
- if (allowEmpty && this.type === _tokentype.types.comma) elt = null;else if (this.type === _tokentype.types.ellipsis) elt = this.parseSpread(refDestructuringErrors);else elt = this.parseMaybeAssign(false, refDestructuringErrors);
652
- elts.push(elt);
653
- }
654
- return elts;
655
- };
656
-
657
- // Parse the next token as an identifier. If `liberal` is true (used
658
- // when parsing properties), it will also convert keywords into
659
- // identifiers.
660
-
661
- pp.parseIdent = function (liberal) {
662
- var node = this.startNode();
663
- if (liberal && this.options.allowReserved == "never") liberal = false;
664
- if (this.type === _tokentype.types.name) {
665
- if (!liberal && (this.strict ? this.reservedWordsStrict : this.reservedWords).test(this.value) && (this.options.ecmaVersion >= 6 || this.input.slice(this.start, this.end).indexOf("\\") == -1)) this.raise(this.start, "The keyword '" + this.value + "' is reserved");
666
- node.name = this.value;
667
- } else if (liberal && this.type.keyword) {
668
- node.name = this.type.keyword;
669
- } else {
670
- this.unexpected();
671
- }
672
- this.next();
673
- return this.finishNode(node, "Identifier");
674
- };
675
-
676
- // Parses yield expression inside generator.
677
-
678
- pp.parseYield = function () {
679
- var node = this.startNode();
680
- this.next();
681
- if (this.type == _tokentype.types.semi || this.canInsertSemicolon() || this.type != _tokentype.types.star && !this.type.startsExpr) {
682
- node.delegate = false;
683
- node.argument = null;
684
- } else {
685
- node.delegate = this.eat(_tokentype.types.star);
686
- node.argument = this.parseMaybeAssign();
687
- }
688
- return this.finishNode(node, "YieldExpression");
689
- };
690
-
691
- // Parses array and generator comprehensions.
692
-
693
- pp.parseComprehension = function (node, isGenerator) {
694
- node.blocks = [];
695
- while (this.type === _tokentype.types._for) {
696
- var block = this.startNode();
697
- this.next();
698
- this.expect(_tokentype.types.parenL);
699
- block.left = this.parseBindingAtom();
700
- this.checkLVal(block.left, true);
701
- this.expectContextual("of");
702
- block.right = this.parseExpression();
703
- this.expect(_tokentype.types.parenR);
704
- node.blocks.push(this.finishNode(block, "ComprehensionBlock"));
705
- }
706
- node.filter = this.eat(_tokentype.types._if) ? this.parseParenExpression() : null;
707
- node.body = this.parseExpression();
708
- this.expect(isGenerator ? _tokentype.types.parenR : _tokentype.types.bracketR);
709
- node.generator = isGenerator;
710
- return this.finishNode(node, "ComprehensionExpression");
711
- };
712
-
713
- },{"./state":10,"./tokentype":14}],2:[function(_dereq_,module,exports){
714
- // This is a trick taken from Esprima. It turns out that, on
715
- // non-Chrome browsers, to check whether a string is in a set, a
716
- // predicate containing a big ugly `switch` statement is faster than
717
- // a regular expression, and on Chrome the two are about on par.
718
- // This function uses `eval` (non-lexical) to produce such a
719
- // predicate from a space-separated string of words.
720
- //
721
- // It starts by sorting the words by length.
722
-
723
- // Reserved word lists for various dialects of the language
724
-
725
- "use strict";
726
-
727
- exports.__esModule = true;
728
- exports.isIdentifierStart = isIdentifierStart;
729
- exports.isIdentifierChar = isIdentifierChar;
730
- var reservedWords = {
731
- 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
732
- 5: "class enum extends super const export import",
733
- 6: "enum",
734
- strict: "implements interface let package private protected public static yield",
735
- strictBind: "eval arguments"
736
- };
737
-
738
- exports.reservedWords = reservedWords;
739
- // And the keywords
740
-
741
- var ecma5AndLessKeywords = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";
742
-
743
- var keywords = {
744
- 5: ecma5AndLessKeywords,
745
- 6: ecma5AndLessKeywords + " let const class extends export import yield super"
746
- };
747
-
748
- exports.keywords = keywords;
749
- // ## Character categories
750
-
751
- // Big ugly regular expressions that match characters in the
752
- // whitespace, identifier, and identifier-start categories. These
753
- // are only applied when a character is found to actually have a
754
- // code point above 128.
755
- // Generated by `bin/generate-identifier-regex.js`.
756
-
757
- var nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢲऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
758
- var nonASCIIidentifierChars = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣤ-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏ᦰ-ᧀᧈᧉ᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷼-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-꣄꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︭︳︴﹍-﹏0-9_";
759
-
760
- var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
761
- var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
762
-
763
- nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
764
-
765
- // These are a run-length and offset encoded representation of the
766
- // >0xffff code points that are a valid part of identifiers. The
767
- // offset starts at 0x10000, and each pair of numbers represents an
768
- // offset to the next range, and then a size of the range. They were
769
- // generated by tools/generate-identifier-regex.js
770
- var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 17, 26, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 99, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 98, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 26, 45, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 955, 52, 76, 44, 33, 24, 27, 35, 42, 34, 4, 0, 13, 47, 15, 3, 22, 0, 38, 17, 2, 24, 133, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 32, 4, 287, 47, 21, 1, 2, 0, 185, 46, 82, 47, 21, 0, 60, 42, 502, 63, 32, 0, 449, 56, 1288, 920, 104, 110, 2962, 1070, 13266, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 881, 68, 12, 0, 67, 12, 16481, 1, 3071, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 4149, 196, 1340, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42710, 42, 4148, 12, 221, 16355, 541];
771
- var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 1306, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 52, 0, 13, 2, 49, 13, 16, 9, 83, 11, 168, 11, 6, 9, 8, 2, 57, 0, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 316, 19, 13, 9, 214, 6, 3, 8, 112, 16, 16, 9, 82, 12, 9, 9, 535, 9, 20855, 9, 135, 4, 60, 6, 26, 9, 1016, 45, 17, 3, 19723, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 4305, 6, 792618, 239];
772
-
773
- // This has a complexity linear to the value of the code. The
774
- // assumption is that looking up astral identifier characters is
775
- // rare.
776
- function isInAstralSet(code, set) {
777
- var pos = 0x10000;
778
- for (var i = 0; i < set.length; i += 2) {
779
- pos += set[i];
780
- if (pos > code) return false;
781
- pos += set[i + 1];
782
- if (pos >= code) return true;
783
- }
784
- }
785
-
786
- // Test whether a given character code starts an identifier.
787
-
788
- function isIdentifierStart(code, astral) {
789
- if (code < 65) return code === 36;
790
- if (code < 91) return true;
791
- if (code < 97) return code === 95;
792
- if (code < 123) return true;
793
- if (code <= 0xffff) return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));
794
- if (astral === false) return false;
795
- return isInAstralSet(code, astralIdentifierStartCodes);
796
- }
797
-
798
- // Test whether a given character is part of an identifier.
799
-
800
- function isIdentifierChar(code, astral) {
801
- if (code < 48) return code === 36;
802
- if (code < 58) return true;
803
- if (code < 65) return false;
804
- if (code < 91) return true;
805
- if (code < 97) return code === 95;
806
- if (code < 123) return true;
807
- if (code <= 0xffff) return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));
808
- if (astral === false) return false;
809
- return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
810
- }
811
-
812
- },{}],3:[function(_dereq_,module,exports){
813
- // Acorn is a tiny, fast JavaScript parser written in JavaScript.
814
- //
815
- // Acorn was written by Marijn Haverbeke, Ingvar Stepanyan, and
816
- // various contributors and released under an MIT license.
817
- //
818
- // Git repositories for Acorn are available at
819
- //
820
- // http://marijnhaverbeke.nl/git/acorn
821
- // https://github.com/ternjs/acorn.git
822
- //
823
- // Please use the [github bug tracker][ghbt] to report issues.
824
- //
825
- // [ghbt]: https://github.com/ternjs/acorn/issues
826
- //
827
- // This file defines the main parser interface. The library also comes
828
- // with a [error-tolerant parser][dammit] and an
829
- // [abstract syntax tree walker][walk], defined in other files.
830
- //
831
- // [dammit]: acorn_loose.js
832
- // [walk]: util/walk.js
833
-
834
- "use strict";
835
-
836
- exports.__esModule = true;
837
- exports.parse = parse;
838
- exports.parseExpressionAt = parseExpressionAt;
839
- exports.tokenizer = tokenizer;
840
-
841
- var _state = _dereq_("./state");
842
-
843
- _dereq_("./parseutil");
844
-
845
- _dereq_("./statement");
846
-
847
- _dereq_("./lval");
848
-
849
- _dereq_("./expression");
850
-
851
- _dereq_("./location");
852
-
853
- exports.Parser = _state.Parser;
854
- exports.plugins = _state.plugins;
855
-
856
- var _options = _dereq_("./options");
857
-
858
- exports.defaultOptions = _options.defaultOptions;
859
-
860
- var _locutil = _dereq_("./locutil");
861
-
862
- exports.Position = _locutil.Position;
863
- exports.SourceLocation = _locutil.SourceLocation;
864
- exports.getLineInfo = _locutil.getLineInfo;
865
-
866
- var _node = _dereq_("./node");
867
-
868
- exports.Node = _node.Node;
869
-
870
- var _tokentype = _dereq_("./tokentype");
871
-
872
- exports.TokenType = _tokentype.TokenType;
873
- exports.tokTypes = _tokentype.types;
874
-
875
- var _tokencontext = _dereq_("./tokencontext");
876
-
877
- exports.TokContext = _tokencontext.TokContext;
878
- exports.tokContexts = _tokencontext.types;
879
-
880
- var _identifier = _dereq_("./identifier");
881
-
882
- exports.isIdentifierChar = _identifier.isIdentifierChar;
883
- exports.isIdentifierStart = _identifier.isIdentifierStart;
884
-
885
- var _tokenize = _dereq_("./tokenize");
886
-
887
- exports.Token = _tokenize.Token;
888
-
889
- var _whitespace = _dereq_("./whitespace");
890
-
891
- exports.isNewLine = _whitespace.isNewLine;
892
- exports.lineBreak = _whitespace.lineBreak;
893
- exports.lineBreakG = _whitespace.lineBreakG;
894
- var version = "2.7.0";
895
-
896
- exports.version = version;
897
- // The main exported interface (under `self.acorn` when in the
898
- // browser) is a `parse` function that takes a code string and
899
- // returns an abstract syntax tree as specified by [Mozilla parser
900
- // API][api].
901
- //
902
- // [api]: https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API
903
-
904
- function parse(input, options) {
905
- return new _state.Parser(options, input).parse();
906
- }
907
-
908
- // This function tries to parse a single expression at a given
909
- // offset in a string. Useful for parsing mixed-language formats
910
- // that embed JavaScript expressions.
911
-
912
- function parseExpressionAt(input, pos, options) {
913
- var p = new _state.Parser(options, input, pos);
914
- p.nextToken();
915
- return p.parseExpression();
916
- }
917
-
918
- // Acorn is organized as a tokenizer and a recursive-descent parser.
919
- // The `tokenizer` export provides an interface to the tokenizer.
920
-
921
- function tokenizer(input, options) {
922
- return new _state.Parser(options, input);
923
- }
924
-
925
- },{"./expression":1,"./identifier":2,"./location":4,"./locutil":5,"./lval":6,"./node":7,"./options":8,"./parseutil":9,"./state":10,"./statement":11,"./tokencontext":12,"./tokenize":13,"./tokentype":14,"./whitespace":16}],4:[function(_dereq_,module,exports){
926
- "use strict";
927
-
928
- var _state = _dereq_("./state");
929
-
930
- var _locutil = _dereq_("./locutil");
931
-
932
- var pp = _state.Parser.prototype;
933
-
934
- // This function is used to raise exceptions on parse errors. It
935
- // takes an offset integer (into the current `input`) to indicate
936
- // the location of the error, attaches the position to the end
937
- // of the error message, and then raises a `SyntaxError` with that
938
- // message.
939
-
940
- pp.raise = function (pos, message) {
941
- var loc = _locutil.getLineInfo(this.input, pos);
942
- message += " (" + loc.line + ":" + loc.column + ")";
943
- var err = new SyntaxError(message);
944
- err.pos = pos;err.loc = loc;err.raisedAt = this.pos;
945
- throw err;
946
- };
947
-
948
- pp.curPosition = function () {
949
- if (this.options.locations) {
950
- return new _locutil.Position(this.curLine, this.pos - this.lineStart);
951
- }
952
- };
953
-
954
- },{"./locutil":5,"./state":10}],5:[function(_dereq_,module,exports){
955
- "use strict";
956
-
957
- exports.__esModule = true;
958
- exports.getLineInfo = getLineInfo;
959
-
960
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
961
-
962
- var _whitespace = _dereq_("./whitespace");
963
-
964
- // These are used when `options.locations` is on, for the
965
- // `startLoc` and `endLoc` properties.
966
-
967
- var Position = (function () {
968
- function Position(line, col) {
969
- _classCallCheck(this, Position);
970
-
971
- this.line = line;
972
- this.column = col;
973
- }
974
-
975
- Position.prototype.offset = function offset(n) {
976
- return new Position(this.line, this.column + n);
977
- };
978
-
979
- return Position;
980
- })();
981
-
982
- exports.Position = Position;
983
-
984
- var SourceLocation = function SourceLocation(p, start, end) {
985
- _classCallCheck(this, SourceLocation);
986
-
987
- this.start = start;
988
- this.end = end;
989
- if (p.sourceFile !== null) this.source = p.sourceFile;
990
- }
991
-
992
- // The `getLineInfo` function is mostly useful when the
993
- // `locations` option is off (for performance reasons) and you
994
- // want to find the line/column position for a given character
995
- // offset. `input` should be the code string that the offset refers
996
- // into.
997
-
998
- ;
999
-
1000
- exports.SourceLocation = SourceLocation;
1001
-
1002
- function getLineInfo(input, offset) {
1003
- for (var line = 1, cur = 0;;) {
1004
- _whitespace.lineBreakG.lastIndex = cur;
1005
- var match = _whitespace.lineBreakG.exec(input);
1006
- if (match && match.index < offset) {
1007
- ++line;
1008
- cur = match.index + match[0].length;
1009
- } else {
1010
- return new Position(line, offset - cur);
1011
- }
1012
- }
1013
- }
1014
-
1015
- },{"./whitespace":16}],6:[function(_dereq_,module,exports){
1016
- "use strict";
1017
-
1018
- var _tokentype = _dereq_("./tokentype");
1019
-
1020
- var _state = _dereq_("./state");
1021
-
1022
- var _util = _dereq_("./util");
1023
-
1024
- var pp = _state.Parser.prototype;
1025
-
1026
- // Convert existing expression atom to assignable pattern
1027
- // if possible.
1028
-
1029
- pp.toAssignable = function (node, isBinding) {
1030
- if (this.options.ecmaVersion >= 6 && node) {
1031
- switch (node.type) {
1032
- case "Identifier":
1033
- case "ObjectPattern":
1034
- case "ArrayPattern":
1035
- break;
1036
-
1037
- case "ObjectExpression":
1038
- node.type = "ObjectPattern";
1039
- for (var i = 0; i < node.properties.length; i++) {
1040
- var prop = node.properties[i];
1041
- if (prop.kind !== "init") this.raise(prop.key.start, "Object pattern can't contain getter or setter");
1042
- this.toAssignable(prop.value, isBinding);
1043
- }
1044
- break;
1045
-
1046
- case "ArrayExpression":
1047
- node.type = "ArrayPattern";
1048
- this.toAssignableList(node.elements, isBinding);
1049
- break;
1050
-
1051
- case "AssignmentExpression":
1052
- if (node.operator === "=") {
1053
- node.type = "AssignmentPattern";
1054
- delete node.operator;
1055
- // falls through to AssignmentPattern
1056
- } else {
1057
- this.raise(node.left.end, "Only '=' operator can be used for specifying default value.");
1058
- break;
1059
- }
1060
-
1061
- case "AssignmentPattern":
1062
- if (node.right.type === "YieldExpression") this.raise(node.right.start, "Yield expression cannot be a default value");
1063
- break;
1064
-
1065
- case "ParenthesizedExpression":
1066
- node.expression = this.toAssignable(node.expression, isBinding);
1067
- break;
1068
-
1069
- case "MemberExpression":
1070
- if (!isBinding) break;
1071
-
1072
- default:
1073
- this.raise(node.start, "Assigning to rvalue");
1074
- }
1075
- }
1076
- return node;
1077
- };
1078
-
1079
- // Convert list of expression atoms to binding list.
1080
-
1081
- pp.toAssignableList = function (exprList, isBinding) {
1082
- var end = exprList.length;
1083
- if (end) {
1084
- var last = exprList[end - 1];
1085
- if (last && last.type == "RestElement") {
1086
- --end;
1087
- } else if (last && last.type == "SpreadElement") {
1088
- last.type = "RestElement";
1089
- var arg = last.argument;
1090
- this.toAssignable(arg, isBinding);
1091
- if (arg.type !== "Identifier" && arg.type !== "MemberExpression" && arg.type !== "ArrayPattern") this.unexpected(arg.start);
1092
- --end;
1093
- }
1094
-
1095
- if (isBinding && last.type === "RestElement" && last.argument.type !== "Identifier") this.unexpected(last.argument.start);
1096
- }
1097
- for (var i = 0; i < end; i++) {
1098
- var elt = exprList[i];
1099
- if (elt) this.toAssignable(elt, isBinding);
1100
- }
1101
- return exprList;
1102
- };
1103
-
1104
- // Parses spread element.
1105
-
1106
- pp.parseSpread = function (refDestructuringErrors) {
1107
- var node = this.startNode();
1108
- this.next();
1109
- node.argument = this.parseMaybeAssign(refDestructuringErrors);
1110
- return this.finishNode(node, "SpreadElement");
1111
- };
1112
-
1113
- pp.parseRest = function (allowNonIdent) {
1114
- var node = this.startNode();
1115
- this.next();
1116
-
1117
- // RestElement inside of a function parameter must be an identifier
1118
- if (allowNonIdent) node.argument = this.type === _tokentype.types.name ? this.parseIdent() : this.unexpected();else node.argument = this.type === _tokentype.types.name || this.type === _tokentype.types.bracketL ? this.parseBindingAtom() : this.unexpected();
1119
-
1120
- return this.finishNode(node, "RestElement");
1121
- };
1122
-
1123
- // Parses lvalue (assignable) atom.
1124
-
1125
- pp.parseBindingAtom = function () {
1126
- if (this.options.ecmaVersion < 6) return this.parseIdent();
1127
- switch (this.type) {
1128
- case _tokentype.types.name:
1129
- return this.parseIdent();
1130
-
1131
- case _tokentype.types.bracketL:
1132
- var node = this.startNode();
1133
- this.next();
1134
- node.elements = this.parseBindingList(_tokentype.types.bracketR, true, true);
1135
- return this.finishNode(node, "ArrayPattern");
1136
-
1137
- case _tokentype.types.braceL:
1138
- return this.parseObj(true);
1139
-
1140
- default:
1141
- this.unexpected();
1142
- }
1143
- };
1144
-
1145
- pp.parseBindingList = function (close, allowEmpty, allowTrailingComma, allowNonIdent) {
1146
- var elts = [],
1147
- first = true;
1148
- while (!this.eat(close)) {
1149
- if (first) first = false;else this.expect(_tokentype.types.comma);
1150
- if (allowEmpty && this.type === _tokentype.types.comma) {
1151
- elts.push(null);
1152
- } else if (allowTrailingComma && this.afterTrailingComma(close)) {
1153
- break;
1154
- } else if (this.type === _tokentype.types.ellipsis) {
1155
- var rest = this.parseRest(allowNonIdent);
1156
- this.parseBindingListItem(rest);
1157
- elts.push(rest);
1158
- this.expect(close);
1159
- break;
1160
- } else {
1161
- var elem = this.parseMaybeDefault(this.start, this.startLoc);
1162
- this.parseBindingListItem(elem);
1163
- elts.push(elem);
1164
- }
1165
- }
1166
- return elts;
1167
- };
1168
-
1169
- pp.parseBindingListItem = function (param) {
1170
- return param;
1171
- };
1172
-
1173
- // Parses assignment pattern around given atom if possible.
1174
-
1175
- pp.parseMaybeDefault = function (startPos, startLoc, left) {
1176
- left = left || this.parseBindingAtom();
1177
- if (this.options.ecmaVersion < 6 || !this.eat(_tokentype.types.eq)) return left;
1178
- var node = this.startNodeAt(startPos, startLoc);
1179
- node.left = left;
1180
- node.right = this.parseMaybeAssign();
1181
- return this.finishNode(node, "AssignmentPattern");
1182
- };
1183
-
1184
- // Verify that a node is an lval — something that can be assigned
1185
- // to.
1186
-
1187
- pp.checkLVal = function (expr, isBinding, checkClashes) {
1188
- switch (expr.type) {
1189
- case "Identifier":
1190
- if (this.strict && this.reservedWordsStrictBind.test(expr.name)) this.raise(expr.start, (isBinding ? "Binding " : "Assigning to ") + expr.name + " in strict mode");
1191
- if (checkClashes) {
1192
- if (_util.has(checkClashes, expr.name)) this.raise(expr.start, "Argument name clash");
1193
- checkClashes[expr.name] = true;
1194
- }
1195
- break;
1196
-
1197
- case "MemberExpression":
1198
- if (isBinding) this.raise(expr.start, (isBinding ? "Binding" : "Assigning to") + " member expression");
1199
- break;
1200
-
1201
- case "ObjectPattern":
1202
- for (var i = 0; i < expr.properties.length; i++) {
1203
- this.checkLVal(expr.properties[i].value, isBinding, checkClashes);
1204
- }break;
1205
-
1206
- case "ArrayPattern":
1207
- for (var i = 0; i < expr.elements.length; i++) {
1208
- var elem = expr.elements[i];
1209
- if (elem) this.checkLVal(elem, isBinding, checkClashes);
1210
- }
1211
- break;
1212
-
1213
- case "AssignmentPattern":
1214
- this.checkLVal(expr.left, isBinding, checkClashes);
1215
- break;
1216
-
1217
- case "RestElement":
1218
- this.checkLVal(expr.argument, isBinding, checkClashes);
1219
- break;
1220
-
1221
- case "ParenthesizedExpression":
1222
- this.checkLVal(expr.expression, isBinding, checkClashes);
1223
- break;
1224
-
1225
- default:
1226
- this.raise(expr.start, (isBinding ? "Binding" : "Assigning to") + " rvalue");
1227
- }
1228
- };
1229
-
1230
- },{"./state":10,"./tokentype":14,"./util":15}],7:[function(_dereq_,module,exports){
1231
- "use strict";
1232
-
1233
- exports.__esModule = true;
1234
-
1235
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1236
-
1237
- var _state = _dereq_("./state");
1238
-
1239
- var _locutil = _dereq_("./locutil");
1240
-
1241
- var Node = function Node(parser, pos, loc) {
1242
- _classCallCheck(this, Node);
1243
-
1244
- this.type = "";
1245
- this.start = pos;
1246
- this.end = 0;
1247
- if (parser.options.locations) this.loc = new _locutil.SourceLocation(parser, loc);
1248
- if (parser.options.directSourceFile) this.sourceFile = parser.options.directSourceFile;
1249
- if (parser.options.ranges) this.range = [pos, 0];
1250
- }
1251
-
1252
- // Start an AST node, attaching a start offset.
1253
-
1254
- ;
1255
-
1256
- exports.Node = Node;
1257
- var pp = _state.Parser.prototype;
1258
-
1259
- pp.startNode = function () {
1260
- return new Node(this, this.start, this.startLoc);
1261
- };
1262
-
1263
- pp.startNodeAt = function (pos, loc) {
1264
- return new Node(this, pos, loc);
1265
- };
1266
-
1267
- // Finish an AST node, adding `type` and `end` properties.
1268
-
1269
- function finishNodeAt(node, type, pos, loc) {
1270
- node.type = type;
1271
- node.end = pos;
1272
- if (this.options.locations) node.loc.end = loc;
1273
- if (this.options.ranges) node.range[1] = pos;
1274
- return node;
1275
- }
1276
-
1277
- pp.finishNode = function (node, type) {
1278
- return finishNodeAt.call(this, node, type, this.lastTokEnd, this.lastTokEndLoc);
1279
- };
1280
-
1281
- // Finish node at given position
1282
-
1283
- pp.finishNodeAt = function (node, type, pos, loc) {
1284
- return finishNodeAt.call(this, node, type, pos, loc);
1285
- };
1286
-
1287
- },{"./locutil":5,"./state":10}],8:[function(_dereq_,module,exports){
1288
- "use strict";
1289
-
1290
- exports.__esModule = true;
1291
- exports.getOptions = getOptions;
1292
-
1293
- var _util = _dereq_("./util");
1294
-
1295
- var _locutil = _dereq_("./locutil");
1296
-
1297
- // A second optional argument can be given to further configure
1298
- // the parser process. These options are recognized:
1299
-
1300
- var defaultOptions = {
1301
- // `ecmaVersion` indicates the ECMAScript version to parse. Must
1302
- // be either 3, or 5, or 6. This influences support for strict
1303
- // mode, the set of reserved words, support for getters and
1304
- // setters and other features.
1305
- ecmaVersion: 5,
1306
- // Source type ("script" or "module") for different semantics
1307
- sourceType: "script",
1308
- // `onInsertedSemicolon` can be a callback that will be called
1309
- // when a semicolon is automatically inserted. It will be passed
1310
- // th position of the comma as an offset, and if `locations` is
1311
- // enabled, it is given the location as a `{line, column}` object
1312
- // as second argument.
1313
- onInsertedSemicolon: null,
1314
- // `onTrailingComma` is similar to `onInsertedSemicolon`, but for
1315
- // trailing commas.
1316
- onTrailingComma: null,
1317
- // By default, reserved words are only enforced if ecmaVersion >= 5.
1318
- // Set `allowReserved` to a boolean value to explicitly turn this on
1319
- // an off. When this option has the value "never", reserved words
1320
- // and keywords can also not be used as property names.
1321
- allowReserved: null,
1322
- // When enabled, a return at the top level is not considered an
1323
- // error.
1324
- allowReturnOutsideFunction: false,
1325
- // When enabled, import/export statements are not constrained to
1326
- // appearing at the top of the program.
1327
- allowImportExportEverywhere: false,
1328
- // When enabled, hashbang directive in the beginning of file
1329
- // is allowed and treated as a line comment.
1330
- allowHashBang: false,
1331
- // When `locations` is on, `loc` properties holding objects with
1332
- // `start` and `end` properties in `{line, column}` form (with
1333
- // line being 1-based and column 0-based) will be attached to the
1334
- // nodes.
1335
- locations: false,
1336
- // A function can be passed as `onToken` option, which will
1337
- // cause Acorn to call that function with object in the same
1338
- // format as tokens returned from `tokenizer().getToken()`. Note
1339
- // that you are not allowed to call the parser from the
1340
- // callback—that will corrupt its internal state.
1341
- onToken: null,
1342
- // A function can be passed as `onComment` option, which will
1343
- // cause Acorn to call that function with `(block, text, start,
1344
- // end)` parameters whenever a comment is skipped. `block` is a
1345
- // boolean indicating whether this is a block (`/* */`) comment,
1346
- // `text` is the content of the comment, and `start` and `end` are
1347
- // character offsets that denote the start and end of the comment.
1348
- // When the `locations` option is on, two more parameters are
1349
- // passed, the full `{line, column}` locations of the start and
1350
- // end of the comments. Note that you are not allowed to call the
1351
- // parser from the callback—that will corrupt its internal state.
1352
- onComment: null,
1353
- // Nodes have their start and end characters offsets recorded in
1354
- // `start` and `end` properties (directly on the node, rather than
1355
- // the `loc` object, which holds line/column data. To also add a
1356
- // [semi-standardized][range] `range` property holding a `[start,
1357
- // end]` array with the same numbers, set the `ranges` option to
1358
- // `true`.
1359
- //
1360
- // [range]: https://bugzilla.mozilla.org/show_bug.cgi?id=745678
1361
- ranges: false,
1362
- // It is possible to parse multiple files into a single AST by
1363
- // passing the tree produced by parsing the first file as
1364
- // `program` option in subsequent parses. This will add the
1365
- // toplevel forms of the parsed file to the `Program` (top) node
1366
- // of an existing parse tree.
1367
- program: null,
1368
- // When `locations` is on, you can pass this to record the source
1369
- // file in every node's `loc` object.
1370
- sourceFile: null,
1371
- // This value, if given, is stored in every node, whether
1372
- // `locations` is on or off.
1373
- directSourceFile: null,
1374
- // When enabled, parenthesized expressions are represented by
1375
- // (non-standard) ParenthesizedExpression nodes
1376
- preserveParens: false,
1377
- plugins: {}
1378
- };
1379
-
1380
- exports.defaultOptions = defaultOptions;
1381
- // Interpret and default an options object
1382
-
1383
- function getOptions(opts) {
1384
- var options = {};
1385
- for (var opt in defaultOptions) {
1386
- options[opt] = opts && _util.has(opts, opt) ? opts[opt] : defaultOptions[opt];
1387
- }if (options.allowReserved == null) options.allowReserved = options.ecmaVersion < 5;
1388
-
1389
- if (_util.isArray(options.onToken)) {
1390
- (function () {
1391
- var tokens = options.onToken;
1392
- options.onToken = function (token) {
1393
- return tokens.push(token);
1394
- };
1395
- })();
1396
- }
1397
- if (_util.isArray(options.onComment)) options.onComment = pushComment(options, options.onComment);
1398
-
1399
- return options;
1400
- }
1401
-
1402
- function pushComment(options, array) {
1403
- return function (block, text, start, end, startLoc, endLoc) {
1404
- var comment = {
1405
- type: block ? 'Block' : 'Line',
1406
- value: text,
1407
- start: start,
1408
- end: end
1409
- };
1410
- if (options.locations) comment.loc = new _locutil.SourceLocation(this, startLoc, endLoc);
1411
- if (options.ranges) comment.range = [start, end];
1412
- array.push(comment);
1413
- };
1414
- }
1415
-
1416
- },{"./locutil":5,"./util":15}],9:[function(_dereq_,module,exports){
1417
- "use strict";
1418
-
1419
- var _tokentype = _dereq_("./tokentype");
1420
-
1421
- var _state = _dereq_("./state");
1422
-
1423
- var _whitespace = _dereq_("./whitespace");
1424
-
1425
- var pp = _state.Parser.prototype;
1426
-
1427
- // ## Parser utilities
1428
-
1429
- // Test whether a statement node is the string literal `"use strict"`.
1430
-
1431
- pp.isUseStrict = function (stmt) {
1432
- return this.options.ecmaVersion >= 5 && stmt.type === "ExpressionStatement" && stmt.expression.type === "Literal" && stmt.expression.raw.slice(1, -1) === "use strict";
1433
- };
1434
-
1435
- // Predicate that tests whether the next token is of the given
1436
- // type, and if yes, consumes it as a side effect.
1437
-
1438
- pp.eat = function (type) {
1439
- if (this.type === type) {
1440
- this.next();
1441
- return true;
1442
- } else {
1443
- return false;
1444
- }
1445
- };
1446
-
1447
- // Tests whether parsed token is a contextual keyword.
1448
-
1449
- pp.isContextual = function (name) {
1450
- return this.type === _tokentype.types.name && this.value === name;
1451
- };
1452
-
1453
- // Consumes contextual keyword if possible.
1454
-
1455
- pp.eatContextual = function (name) {
1456
- return this.value === name && this.eat(_tokentype.types.name);
1457
- };
1458
-
1459
- // Asserts that following token is given contextual keyword.
1460
-
1461
- pp.expectContextual = function (name) {
1462
- if (!this.eatContextual(name)) this.unexpected();
1463
- };
1464
-
1465
- // Test whether a semicolon can be inserted at the current position.
1466
-
1467
- pp.canInsertSemicolon = function () {
1468
- return this.type === _tokentype.types.eof || this.type === _tokentype.types.braceR || _whitespace.lineBreak.test(this.input.slice(this.lastTokEnd, this.start));
1469
- };
1470
-
1471
- pp.insertSemicolon = function () {
1472
- if (this.canInsertSemicolon()) {
1473
- if (this.options.onInsertedSemicolon) this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc);
1474
- return true;
1475
- }
1476
- };
1477
-
1478
- // Consume a semicolon, or, failing that, see if we are allowed to
1479
- // pretend that there is a semicolon at this position.
1480
-
1481
- pp.semicolon = function () {
1482
- if (!this.eat(_tokentype.types.semi) && !this.insertSemicolon()) this.unexpected();
1483
- };
1484
-
1485
- pp.afterTrailingComma = function (tokType) {
1486
- if (this.type == tokType) {
1487
- if (this.options.onTrailingComma) this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc);
1488
- this.next();
1489
- return true;
1490
- }
1491
- };
1492
-
1493
- // Expect a token of a given type. If found, consume it, otherwise,
1494
- // raise an unexpected token error.
1495
-
1496
- pp.expect = function (type) {
1497
- this.eat(type) || this.unexpected();
1498
- };
1499
-
1500
- // Raise an unexpected token error.
1501
-
1502
- pp.unexpected = function (pos) {
1503
- this.raise(pos != null ? pos : this.start, "Unexpected token");
1504
- };
1505
-
1506
- pp.checkPatternErrors = function (refDestructuringErrors, andThrow) {
1507
- var pos = refDestructuringErrors && refDestructuringErrors.trailingComma;
1508
- if (!andThrow) return !!pos;
1509
- if (pos) this.raise(pos, "Trailing comma is not permitted in destructuring patterns");
1510
- };
1511
-
1512
- pp.checkExpressionErrors = function (refDestructuringErrors, andThrow) {
1513
- var pos = refDestructuringErrors && refDestructuringErrors.shorthandAssign;
1514
- if (!andThrow) return !!pos;
1515
- if (pos) this.raise(pos, "Shorthand property assignments are valid only in destructuring patterns");
1516
- };
1517
-
1518
- },{"./state":10,"./tokentype":14,"./whitespace":16}],10:[function(_dereq_,module,exports){
1519
- "use strict";
1520
-
1521
- exports.__esModule = true;
1522
-
1523
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1524
-
1525
- var _identifier = _dereq_("./identifier");
1526
-
1527
- var _tokentype = _dereq_("./tokentype");
1528
-
1529
- var _whitespace = _dereq_("./whitespace");
1530
-
1531
- var _options = _dereq_("./options");
1532
-
1533
- // Registered plugins
1534
- var plugins = {};
1535
-
1536
- exports.plugins = plugins;
1537
- function keywordRegexp(words) {
1538
- return new RegExp("^(" + words.replace(/ /g, "|") + ")$");
1539
- }
1540
-
1541
- var Parser = (function () {
1542
- function Parser(options, input, startPos) {
1543
- _classCallCheck(this, Parser);
1544
-
1545
- this.options = options = _options.getOptions(options);
1546
- this.sourceFile = options.sourceFile;
1547
- this.keywords = keywordRegexp(_identifier.keywords[options.ecmaVersion >= 6 ? 6 : 5]);
1548
- var reserved = options.allowReserved ? "" : _identifier.reservedWords[options.ecmaVersion] + (options.sourceType == "module" ? " await" : "");
1549
- this.reservedWords = keywordRegexp(reserved);
1550
- var reservedStrict = (reserved ? reserved + " " : "") + _identifier.reservedWords.strict;
1551
- this.reservedWordsStrict = keywordRegexp(reservedStrict);
1552
- this.reservedWordsStrictBind = keywordRegexp(reservedStrict + " " + _identifier.reservedWords.strictBind);
1553
- this.input = String(input);
1554
-
1555
- // Used to signal to callers of `readWord1` whether the word
1556
- // contained any escape sequences. This is needed because words with
1557
- // escape sequences must not be interpreted as keywords.
1558
- this.containsEsc = false;
1559
-
1560
- // Load plugins
1561
- this.loadPlugins(options.plugins);
1562
-
1563
- // Set up token state
1564
-
1565
- // The current position of the tokenizer in the input.
1566
- if (startPos) {
1567
- this.pos = startPos;
1568
- this.lineStart = Math.max(0, this.input.lastIndexOf("\n", startPos));
1569
- this.curLine = this.input.slice(0, this.lineStart).split(_whitespace.lineBreak).length;
1570
- } else {
1571
- this.pos = this.lineStart = 0;
1572
- this.curLine = 1;
1573
- }
1574
-
1575
- // Properties of the current token:
1576
- // Its type
1577
- this.type = _tokentype.types.eof;
1578
- // For tokens that include more information than their type, the value
1579
- this.value = null;
1580
- // Its start and end offset
1581
- this.start = this.end = this.pos;
1582
- // And, if locations are used, the {line, column} object
1583
- // corresponding to those offsets
1584
- this.startLoc = this.endLoc = this.curPosition();
1585
-
1586
- // Position information for the previous token
1587
- this.lastTokEndLoc = this.lastTokStartLoc = null;
1588
- this.lastTokStart = this.lastTokEnd = this.pos;
1589
-
1590
- // The context stack is used to superficially track syntactic
1591
- // context to predict whether a regular expression is allowed in a
1592
- // given position.
1593
- this.context = this.initialContext();
1594
- this.exprAllowed = true;
1595
-
1596
- // Figure out if it's a module code.
1597
- this.strict = this.inModule = options.sourceType === "module";
1598
-
1599
- // Used to signify the start of a potential arrow function
1600
- this.potentialArrowAt = -1;
1601
-
1602
- // Flags to track whether we are in a function, a generator.
1603
- this.inFunction = this.inGenerator = false;
1604
- // Labels in scope.
1605
- this.labels = [];
1606
-
1607
- // If enabled, skip leading hashbang line.
1608
- if (this.pos === 0 && options.allowHashBang && this.input.slice(0, 2) === '#!') this.skipLineComment(2);
1609
- }
1610
-
1611
- // DEPRECATED Kept for backwards compatibility until 3.0 in case a plugin uses them
1612
-
1613
- Parser.prototype.isKeyword = function isKeyword(word) {
1614
- return this.keywords.test(word);
1615
- };
1616
-
1617
- Parser.prototype.isReservedWord = function isReservedWord(word) {
1618
- return this.reservedWords.test(word);
1619
- };
1620
-
1621
- Parser.prototype.extend = function extend(name, f) {
1622
- this[name] = f(this[name]);
1623
- };
1624
-
1625
- Parser.prototype.loadPlugins = function loadPlugins(pluginConfigs) {
1626
- for (var _name in pluginConfigs) {
1627
- var plugin = plugins[_name];
1628
- if (!plugin) throw new Error("Plugin '" + _name + "' not found");
1629
- plugin(this, pluginConfigs[_name]);
1630
- }
1631
- };
1632
-
1633
- Parser.prototype.parse = function parse() {
1634
- var node = this.options.program || this.startNode();
1635
- this.nextToken();
1636
- return this.parseTopLevel(node);
1637
- };
1638
-
1639
- return Parser;
1640
- })();
1641
-
1642
- exports.Parser = Parser;
1643
-
1644
- },{"./identifier":2,"./options":8,"./tokentype":14,"./whitespace":16}],11:[function(_dereq_,module,exports){
1645
- "use strict";
1646
-
1647
- var _tokentype = _dereq_("./tokentype");
1648
-
1649
- var _state = _dereq_("./state");
1650
-
1651
- var _whitespace = _dereq_("./whitespace");
1652
-
1653
- var pp = _state.Parser.prototype;
1654
-
1655
- // ### Statement parsing
1656
-
1657
- // Parse a program. Initializes the parser, reads any number of
1658
- // statements, and wraps them in a Program node. Optionally takes a
1659
- // `program` argument. If present, the statements will be appended
1660
- // to its body instead of creating a new node.
1661
-
1662
- pp.parseTopLevel = function (node) {
1663
- var first = true;
1664
- if (!node.body) node.body = [];
1665
- while (this.type !== _tokentype.types.eof) {
1666
- var stmt = this.parseStatement(true, true);
1667
- node.body.push(stmt);
1668
- if (first) {
1669
- if (this.isUseStrict(stmt)) this.setStrict(true);
1670
- first = false;
1671
- }
1672
- }
1673
- this.next();
1674
- if (this.options.ecmaVersion >= 6) {
1675
- node.sourceType = this.options.sourceType;
1676
- }
1677
- return this.finishNode(node, "Program");
1678
- };
1679
-
1680
- var loopLabel = { kind: "loop" },
1681
- switchLabel = { kind: "switch" };
1682
-
1683
- // Parse a single statement.
1684
- //
1685
- // If expecting a statement and finding a slash operator, parse a
1686
- // regular expression literal. This is to handle cases like
1687
- // `if (foo) /blah/.exec(foo)`, where looking at the previous token
1688
- // does not help.
1689
-
1690
- pp.parseStatement = function (declaration, topLevel) {
1691
- var starttype = this.type,
1692
- node = this.startNode();
1693
-
1694
- // Most types of statements are recognized by the keyword they
1695
- // start with. Many are trivial to parse, some require a bit of
1696
- // complexity.
1697
-
1698
- switch (starttype) {
1699
- case _tokentype.types._break:case _tokentype.types._continue:
1700
- return this.parseBreakContinueStatement(node, starttype.keyword);
1701
- case _tokentype.types._debugger:
1702
- return this.parseDebuggerStatement(node);
1703
- case _tokentype.types._do:
1704
- return this.parseDoStatement(node);
1705
- case _tokentype.types._for:
1706
- return this.parseForStatement(node);
1707
- case _tokentype.types._function:
1708
- if (!declaration && this.options.ecmaVersion >= 6) this.unexpected();
1709
- return this.parseFunctionStatement(node);
1710
- case _tokentype.types._class:
1711
- if (!declaration) this.unexpected();
1712
- return this.parseClass(node, true);
1713
- case _tokentype.types._if:
1714
- return this.parseIfStatement(node);
1715
- case _tokentype.types._return:
1716
- return this.parseReturnStatement(node);
1717
- case _tokentype.types._switch:
1718
- return this.parseSwitchStatement(node);
1719
- case _tokentype.types._throw:
1720
- return this.parseThrowStatement(node);
1721
- case _tokentype.types._try:
1722
- return this.parseTryStatement(node);
1723
- case _tokentype.types._let:case _tokentype.types._const:
1724
- if (!declaration) this.unexpected(); // NOTE: falls through to _var
1725
- case _tokentype.types._var:
1726
- return this.parseVarStatement(node, starttype);
1727
- case _tokentype.types._while:
1728
- return this.parseWhileStatement(node);
1729
- case _tokentype.types._with:
1730
- return this.parseWithStatement(node);
1731
- case _tokentype.types.braceL:
1732
- return this.parseBlock();
1733
- case _tokentype.types.semi:
1734
- return this.parseEmptyStatement(node);
1735
- case _tokentype.types._export:
1736
- case _tokentype.types._import:
1737
- if (!this.options.allowImportExportEverywhere) {
1738
- if (!topLevel) this.raise(this.start, "'import' and 'export' may only appear at the top level");
1739
- if (!this.inModule) this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'");
1740
- }
1741
- return starttype === _tokentype.types._import ? this.parseImport(node) : this.parseExport(node);
1742
-
1743
- // If the statement does not start with a statement keyword or a
1744
- // brace, it's an ExpressionStatement or LabeledStatement. We
1745
- // simply start parsing an expression, and afterwards, if the
1746
- // next token is a colon and the expression was a simple
1747
- // Identifier node, we switch to interpreting it as a label.
1748
- default:
1749
- var maybeName = this.value,
1750
- expr = this.parseExpression();
1751
- if (starttype === _tokentype.types.name && expr.type === "Identifier" && this.eat(_tokentype.types.colon)) return this.parseLabeledStatement(node, maybeName, expr);else return this.parseExpressionStatement(node, expr);
1752
- }
1753
- };
1754
-
1755
- pp.parseBreakContinueStatement = function (node, keyword) {
1756
- var isBreak = keyword == "break";
1757
- this.next();
1758
- if (this.eat(_tokentype.types.semi) || this.insertSemicolon()) node.label = null;else if (this.type !== _tokentype.types.name) this.unexpected();else {
1759
- node.label = this.parseIdent();
1760
- this.semicolon();
1761
- }
1762
-
1763
- // Verify that there is an actual destination to break or
1764
- // continue to.
1765
- for (var i = 0; i < this.labels.length; ++i) {
1766
- var lab = this.labels[i];
1767
- if (node.label == null || lab.name === node.label.name) {
1768
- if (lab.kind != null && (isBreak || lab.kind === "loop")) break;
1769
- if (node.label && isBreak) break;
1770
- }
1771
- }
1772
- if (i === this.labels.length) this.raise(node.start, "Unsyntactic " + keyword);
1773
- return this.finishNode(node, isBreak ? "BreakStatement" : "ContinueStatement");
1774
- };
1775
-
1776
- pp.parseDebuggerStatement = function (node) {
1777
- this.next();
1778
- this.semicolon();
1779
- return this.finishNode(node, "DebuggerStatement");
1780
- };
1781
-
1782
- pp.parseDoStatement = function (node) {
1783
- this.next();
1784
- this.labels.push(loopLabel);
1785
- node.body = this.parseStatement(false);
1786
- this.labels.pop();
1787
- this.expect(_tokentype.types._while);
1788
- node.test = this.parseParenExpression();
1789
- if (this.options.ecmaVersion >= 6) this.eat(_tokentype.types.semi);else this.semicolon();
1790
- return this.finishNode(node, "DoWhileStatement");
1791
- };
1792
-
1793
- // Disambiguating between a `for` and a `for`/`in` or `for`/`of`
1794
- // loop is non-trivial. Basically, we have to parse the init `var`
1795
- // statement or expression, disallowing the `in` operator (see
1796
- // the second parameter to `parseExpression`), and then check
1797
- // whether the next token is `in` or `of`. When there is no init
1798
- // part (semicolon immediately after the opening parenthesis), it
1799
- // is a regular `for` loop.
1800
-
1801
- pp.parseForStatement = function (node) {
1802
- this.next();
1803
- this.labels.push(loopLabel);
1804
- this.expect(_tokentype.types.parenL);
1805
- if (this.type === _tokentype.types.semi) return this.parseFor(node, null);
1806
- if (this.type === _tokentype.types._var || this.type === _tokentype.types._let || this.type === _tokentype.types._const) {
1807
- var _init = this.startNode(),
1808
- varKind = this.type;
1809
- this.next();
1810
- this.parseVar(_init, true, varKind);
1811
- this.finishNode(_init, "VariableDeclaration");
1812
- if ((this.type === _tokentype.types._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && _init.declarations.length === 1 && !(varKind !== _tokentype.types._var && _init.declarations[0].init)) return this.parseForIn(node, _init);
1813
- return this.parseFor(node, _init);
1814
- }
1815
- var refDestructuringErrors = { shorthandAssign: 0, trailingComma: 0 };
1816
- var init = this.parseExpression(true, refDestructuringErrors);
1817
- if (this.type === _tokentype.types._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) {
1818
- this.checkPatternErrors(refDestructuringErrors, true);
1819
- this.toAssignable(init);
1820
- this.checkLVal(init);
1821
- return this.parseForIn(node, init);
1822
- } else {
1823
- this.checkExpressionErrors(refDestructuringErrors, true);
1824
- }
1825
- return this.parseFor(node, init);
1826
- };
1827
-
1828
- pp.parseFunctionStatement = function (node) {
1829
- this.next();
1830
- return this.parseFunction(node, true);
1831
- };
1832
-
1833
- pp.parseIfStatement = function (node) {
1834
- this.next();
1835
- node.test = this.parseParenExpression();
1836
- node.consequent = this.parseStatement(false);
1837
- node.alternate = this.eat(_tokentype.types._else) ? this.parseStatement(false) : null;
1838
- return this.finishNode(node, "IfStatement");
1839
- };
1840
-
1841
- pp.parseReturnStatement = function (node) {
1842
- if (!this.inFunction && !this.options.allowReturnOutsideFunction) this.raise(this.start, "'return' outside of function");
1843
- this.next();
1844
-
1845
- // In `return` (and `break`/`continue`), the keywords with
1846
- // optional arguments, we eagerly look for a semicolon or the
1847
- // possibility to insert one.
1848
-
1849
- if (this.eat(_tokentype.types.semi) || this.insertSemicolon()) node.argument = null;else {
1850
- node.argument = this.parseExpression();this.semicolon();
1851
- }
1852
- return this.finishNode(node, "ReturnStatement");
1853
- };
1854
-
1855
- pp.parseSwitchStatement = function (node) {
1856
- this.next();
1857
- node.discriminant = this.parseParenExpression();
1858
- node.cases = [];
1859
- this.expect(_tokentype.types.braceL);
1860
- this.labels.push(switchLabel);
1861
-
1862
- // Statements under must be grouped (by label) in SwitchCase
1863
- // nodes. `cur` is used to keep the node that we are currently
1864
- // adding statements to.
1865
-
1866
- for (var cur, sawDefault = false; this.type != _tokentype.types.braceR;) {
1867
- if (this.type === _tokentype.types._case || this.type === _tokentype.types._default) {
1868
- var isCase = this.type === _tokentype.types._case;
1869
- if (cur) this.finishNode(cur, "SwitchCase");
1870
- node.cases.push(cur = this.startNode());
1871
- cur.consequent = [];
1872
- this.next();
1873
- if (isCase) {
1874
- cur.test = this.parseExpression();
1875
- } else {
1876
- if (sawDefault) this.raise(this.lastTokStart, "Multiple default clauses");
1877
- sawDefault = true;
1878
- cur.test = null;
1879
- }
1880
- this.expect(_tokentype.types.colon);
1881
- } else {
1882
- if (!cur) this.unexpected();
1883
- cur.consequent.push(this.parseStatement(true));
1884
- }
1885
- }
1886
- if (cur) this.finishNode(cur, "SwitchCase");
1887
- this.next(); // Closing brace
1888
- this.labels.pop();
1889
- return this.finishNode(node, "SwitchStatement");
1890
- };
1891
-
1892
- pp.parseThrowStatement = function (node) {
1893
- this.next();
1894
- if (_whitespace.lineBreak.test(this.input.slice(this.lastTokEnd, this.start))) this.raise(this.lastTokEnd, "Illegal newline after throw");
1895
- node.argument = this.parseExpression();
1896
- this.semicolon();
1897
- return this.finishNode(node, "ThrowStatement");
1898
- };
1899
-
1900
- // Reused empty array added for node fields that are always empty.
1901
-
1902
- var empty = [];
1903
-
1904
- pp.parseTryStatement = function (node) {
1905
- this.next();
1906
- node.block = this.parseBlock();
1907
- node.handler = null;
1908
- if (this.type === _tokentype.types._catch) {
1909
- var clause = this.startNode();
1910
- this.next();
1911
- this.expect(_tokentype.types.parenL);
1912
- clause.param = this.parseBindingAtom();
1913
- this.checkLVal(clause.param, true);
1914
- this.expect(_tokentype.types.parenR);
1915
- clause.body = this.parseBlock();
1916
- node.handler = this.finishNode(clause, "CatchClause");
1917
- }
1918
- node.finalizer = this.eat(_tokentype.types._finally) ? this.parseBlock() : null;
1919
- if (!node.handler && !node.finalizer) this.raise(node.start, "Missing catch or finally clause");
1920
- return this.finishNode(node, "TryStatement");
1921
- };
1922
-
1923
- pp.parseVarStatement = function (node, kind) {
1924
- this.next();
1925
- this.parseVar(node, false, kind);
1926
- this.semicolon();
1927
- return this.finishNode(node, "VariableDeclaration");
1928
- };
1929
-
1930
- pp.parseWhileStatement = function (node) {
1931
- this.next();
1932
- node.test = this.parseParenExpression();
1933
- this.labels.push(loopLabel);
1934
- node.body = this.parseStatement(false);
1935
- this.labels.pop();
1936
- return this.finishNode(node, "WhileStatement");
1937
- };
1938
-
1939
- pp.parseWithStatement = function (node) {
1940
- if (this.strict) this.raise(this.start, "'with' in strict mode");
1941
- this.next();
1942
- node.object = this.parseParenExpression();
1943
- node.body = this.parseStatement(false);
1944
- return this.finishNode(node, "WithStatement");
1945
- };
1946
-
1947
- pp.parseEmptyStatement = function (node) {
1948
- this.next();
1949
- return this.finishNode(node, "EmptyStatement");
1950
- };
1951
-
1952
- pp.parseLabeledStatement = function (node, maybeName, expr) {
1953
- for (var i = 0; i < this.labels.length; ++i) {
1954
- if (this.labels[i].name === maybeName) this.raise(expr.start, "Label '" + maybeName + "' is already declared");
1955
- }var kind = this.type.isLoop ? "loop" : this.type === _tokentype.types._switch ? "switch" : null;
1956
- for (var i = this.labels.length - 1; i >= 0; i--) {
1957
- var label = this.labels[i];
1958
- if (label.statementStart == node.start) {
1959
- label.statementStart = this.start;
1960
- label.kind = kind;
1961
- } else break;
1962
- }
1963
- this.labels.push({ name: maybeName, kind: kind, statementStart: this.start });
1964
- node.body = this.parseStatement(true);
1965
- this.labels.pop();
1966
- node.label = expr;
1967
- return this.finishNode(node, "LabeledStatement");
1968
- };
1969
-
1970
- pp.parseExpressionStatement = function (node, expr) {
1971
- node.expression = expr;
1972
- this.semicolon();
1973
- return this.finishNode(node, "ExpressionStatement");
1974
- };
1975
-
1976
- // Parse a semicolon-enclosed block of statements, handling `"use
1977
- // strict"` declarations when `allowStrict` is true (used for
1978
- // function bodies).
1979
-
1980
- pp.parseBlock = function (allowStrict) {
1981
- var node = this.startNode(),
1982
- first = true,
1983
- oldStrict = undefined;
1984
- node.body = [];
1985
- this.expect(_tokentype.types.braceL);
1986
- while (!this.eat(_tokentype.types.braceR)) {
1987
- var stmt = this.parseStatement(true);
1988
- node.body.push(stmt);
1989
- if (first && allowStrict && this.isUseStrict(stmt)) {
1990
- oldStrict = this.strict;
1991
- this.setStrict(this.strict = true);
1992
- }
1993
- first = false;
1994
- }
1995
- if (oldStrict === false) this.setStrict(false);
1996
- return this.finishNode(node, "BlockStatement");
1997
- };
1998
-
1999
- // Parse a regular `for` loop. The disambiguation code in
2000
- // `parseStatement` will already have parsed the init statement or
2001
- // expression.
2002
-
2003
- pp.parseFor = function (node, init) {
2004
- node.init = init;
2005
- this.expect(_tokentype.types.semi);
2006
- node.test = this.type === _tokentype.types.semi ? null : this.parseExpression();
2007
- this.expect(_tokentype.types.semi);
2008
- node.update = this.type === _tokentype.types.parenR ? null : this.parseExpression();
2009
- this.expect(_tokentype.types.parenR);
2010
- node.body = this.parseStatement(false);
2011
- this.labels.pop();
2012
- return this.finishNode(node, "ForStatement");
2013
- };
2014
-
2015
- // Parse a `for`/`in` and `for`/`of` loop, which are almost
2016
- // same from parser's perspective.
2017
-
2018
- pp.parseForIn = function (node, init) {
2019
- var type = this.type === _tokentype.types._in ? "ForInStatement" : "ForOfStatement";
2020
- this.next();
2021
- node.left = init;
2022
- node.right = this.parseExpression();
2023
- this.expect(_tokentype.types.parenR);
2024
- node.body = this.parseStatement(false);
2025
- this.labels.pop();
2026
- return this.finishNode(node, type);
2027
- };
2028
-
2029
- // Parse a list of variable declarations.
2030
-
2031
- pp.parseVar = function (node, isFor, kind) {
2032
- node.declarations = [];
2033
- node.kind = kind.keyword;
2034
- for (;;) {
2035
- var decl = this.startNode();
2036
- this.parseVarId(decl);
2037
- if (this.eat(_tokentype.types.eq)) {
2038
- decl.init = this.parseMaybeAssign(isFor);
2039
- } else if (kind === _tokentype.types._const && !(this.type === _tokentype.types._in || this.options.ecmaVersion >= 6 && this.isContextual("of"))) {
2040
- this.unexpected();
2041
- } else if (decl.id.type != "Identifier" && !(isFor && (this.type === _tokentype.types._in || this.isContextual("of")))) {
2042
- this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value");
2043
- } else {
2044
- decl.init = null;
2045
- }
2046
- node.declarations.push(this.finishNode(decl, "VariableDeclarator"));
2047
- if (!this.eat(_tokentype.types.comma)) break;
2048
- }
2049
- return node;
2050
- };
2051
-
2052
- pp.parseVarId = function (decl) {
2053
- decl.id = this.parseBindingAtom();
2054
- this.checkLVal(decl.id, true);
2055
- };
2056
-
2057
- // Parse a function declaration or literal (depending on the
2058
- // `isStatement` parameter).
2059
-
2060
- pp.parseFunction = function (node, isStatement, allowExpressionBody) {
2061
- this.initFunction(node);
2062
- if (this.options.ecmaVersion >= 6) node.generator = this.eat(_tokentype.types.star);
2063
- if (isStatement || this.type === _tokentype.types.name) node.id = this.parseIdent();
2064
- this.parseFunctionParams(node);
2065
- this.parseFunctionBody(node, allowExpressionBody);
2066
- return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression");
2067
- };
2068
-
2069
- pp.parseFunctionParams = function (node) {
2070
- this.expect(_tokentype.types.parenL);
2071
- node.params = this.parseBindingList(_tokentype.types.parenR, false, false, true);
2072
- };
2073
-
2074
- // Parse a class declaration or literal (depending on the
2075
- // `isStatement` parameter).
2076
-
2077
- pp.parseClass = function (node, isStatement) {
2078
- this.next();
2079
- this.parseClassId(node, isStatement);
2080
- this.parseClassSuper(node);
2081
- var classBody = this.startNode();
2082
- var hadConstructor = false;
2083
- classBody.body = [];
2084
- this.expect(_tokentype.types.braceL);
2085
- while (!this.eat(_tokentype.types.braceR)) {
2086
- if (this.eat(_tokentype.types.semi)) continue;
2087
- var method = this.startNode();
2088
- var isGenerator = this.eat(_tokentype.types.star);
2089
- var isMaybeStatic = this.type === _tokentype.types.name && this.value === "static";
2090
- this.parsePropertyName(method);
2091
- method["static"] = isMaybeStatic && this.type !== _tokentype.types.parenL;
2092
- if (method["static"]) {
2093
- if (isGenerator) this.unexpected();
2094
- isGenerator = this.eat(_tokentype.types.star);
2095
- this.parsePropertyName(method);
2096
- }
2097
- method.kind = "method";
2098
- var isGetSet = false;
2099
- if (!method.computed) {
2100
- var key = method.key;
2101
-
2102
- if (!isGenerator && key.type === "Identifier" && this.type !== _tokentype.types.parenL && (key.name === "get" || key.name === "set")) {
2103
- isGetSet = true;
2104
- method.kind = key.name;
2105
- key = this.parsePropertyName(method);
2106
- }
2107
- if (!method["static"] && (key.type === "Identifier" && key.name === "constructor" || key.type === "Literal" && key.value === "constructor")) {
2108
- if (hadConstructor) this.raise(key.start, "Duplicate constructor in the same class");
2109
- if (isGetSet) this.raise(key.start, "Constructor can't have get/set modifier");
2110
- if (isGenerator) this.raise(key.start, "Constructor can't be a generator");
2111
- method.kind = "constructor";
2112
- hadConstructor = true;
2113
- }
2114
- }
2115
- this.parseClassMethod(classBody, method, isGenerator);
2116
- if (isGetSet) {
2117
- var paramCount = method.kind === "get" ? 0 : 1;
2118
- if (method.value.params.length !== paramCount) {
2119
- var start = method.value.start;
2120
- if (method.kind === "get") this.raise(start, "getter should have no params");else this.raise(start, "setter should have exactly one param");
2121
- }
2122
- if (method.kind === "set" && method.value.params[0].type === "RestElement") this.raise(method.value.params[0].start, "Setter cannot use rest params");
2123
- }
2124
- }
2125
- node.body = this.finishNode(classBody, "ClassBody");
2126
- return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression");
2127
- };
2128
-
2129
- pp.parseClassMethod = function (classBody, method, isGenerator) {
2130
- method.value = this.parseMethod(isGenerator);
2131
- classBody.body.push(this.finishNode(method, "MethodDefinition"));
2132
- };
2133
-
2134
- pp.parseClassId = function (node, isStatement) {
2135
- node.id = this.type === _tokentype.types.name ? this.parseIdent() : isStatement ? this.unexpected() : null;
2136
- };
2137
-
2138
- pp.parseClassSuper = function (node) {
2139
- node.superClass = this.eat(_tokentype.types._extends) ? this.parseExprSubscripts() : null;
2140
- };
2141
-
2142
- // Parses module export declaration.
2143
-
2144
- pp.parseExport = function (node) {
2145
- this.next();
2146
- // export * from '...'
2147
- if (this.eat(_tokentype.types.star)) {
2148
- this.expectContextual("from");
2149
- node.source = this.type === _tokentype.types.string ? this.parseExprAtom() : this.unexpected();
2150
- this.semicolon();
2151
- return this.finishNode(node, "ExportAllDeclaration");
2152
- }
2153
- if (this.eat(_tokentype.types._default)) {
2154
- // export default ...
2155
- var expr = this.parseMaybeAssign();
2156
- var needsSemi = true;
2157
- if (expr.type == "FunctionExpression" || expr.type == "ClassExpression") {
2158
- needsSemi = false;
2159
- if (expr.id) {
2160
- expr.type = expr.type == "FunctionExpression" ? "FunctionDeclaration" : "ClassDeclaration";
2161
- }
2162
- }
2163
- node.declaration = expr;
2164
- if (needsSemi) this.semicolon();
2165
- return this.finishNode(node, "ExportDefaultDeclaration");
2166
- }
2167
- // export var|const|let|function|class ...
2168
- if (this.shouldParseExportStatement()) {
2169
- node.declaration = this.parseStatement(true);
2170
- node.specifiers = [];
2171
- node.source = null;
2172
- } else {
2173
- // export { x, y as z } [from '...']
2174
- node.declaration = null;
2175
- node.specifiers = this.parseExportSpecifiers();
2176
- if (this.eatContextual("from")) {
2177
- node.source = this.type === _tokentype.types.string ? this.parseExprAtom() : this.unexpected();
2178
- } else {
2179
- // check for keywords used as local names
2180
- for (var i = 0; i < node.specifiers.length; i++) {
2181
- if (this.keywords.test(node.specifiers[i].local.name) || this.reservedWords.test(node.specifiers[i].local.name)) {
2182
- this.unexpected(node.specifiers[i].local.start);
2183
- }
2184
- }
2185
-
2186
- node.source = null;
2187
- }
2188
- this.semicolon();
2189
- }
2190
- return this.finishNode(node, "ExportNamedDeclaration");
2191
- };
2192
-
2193
- pp.shouldParseExportStatement = function () {
2194
- return this.type.keyword;
2195
- };
2196
-
2197
- // Parses a comma-separated list of module exports.
2198
-
2199
- pp.parseExportSpecifiers = function () {
2200
- var nodes = [],
2201
- first = true;
2202
- // export { x, y as z } [from '...']
2203
- this.expect(_tokentype.types.braceL);
2204
- while (!this.eat(_tokentype.types.braceR)) {
2205
- if (!first) {
2206
- this.expect(_tokentype.types.comma);
2207
- if (this.afterTrailingComma(_tokentype.types.braceR)) break;
2208
- } else first = false;
2209
-
2210
- var node = this.startNode();
2211
- node.local = this.parseIdent(this.type === _tokentype.types._default);
2212
- node.exported = this.eatContextual("as") ? this.parseIdent(true) : node.local;
2213
- nodes.push(this.finishNode(node, "ExportSpecifier"));
2214
- }
2215
- return nodes;
2216
- };
2217
-
2218
- // Parses import declaration.
2219
-
2220
- pp.parseImport = function (node) {
2221
- this.next();
2222
- // import '...'
2223
- if (this.type === _tokentype.types.string) {
2224
- node.specifiers = empty;
2225
- node.source = this.parseExprAtom();
2226
- } else {
2227
- node.specifiers = this.parseImportSpecifiers();
2228
- this.expectContextual("from");
2229
- node.source = this.type === _tokentype.types.string ? this.parseExprAtom() : this.unexpected();
2230
- }
2231
- this.semicolon();
2232
- return this.finishNode(node, "ImportDeclaration");
2233
- };
2234
-
2235
- // Parses a comma-separated list of module imports.
2236
-
2237
- pp.parseImportSpecifiers = function () {
2238
- var nodes = [],
2239
- first = true;
2240
- if (this.type === _tokentype.types.name) {
2241
- // import defaultObj, { x, y as z } from '...'
2242
- var node = this.startNode();
2243
- node.local = this.parseIdent();
2244
- this.checkLVal(node.local, true);
2245
- nodes.push(this.finishNode(node, "ImportDefaultSpecifier"));
2246
- if (!this.eat(_tokentype.types.comma)) return nodes;
2247
- }
2248
- if (this.type === _tokentype.types.star) {
2249
- var node = this.startNode();
2250
- this.next();
2251
- this.expectContextual("as");
2252
- node.local = this.parseIdent();
2253
- this.checkLVal(node.local, true);
2254
- nodes.push(this.finishNode(node, "ImportNamespaceSpecifier"));
2255
- return nodes;
2256
- }
2257
- this.expect(_tokentype.types.braceL);
2258
- while (!this.eat(_tokentype.types.braceR)) {
2259
- if (!first) {
2260
- this.expect(_tokentype.types.comma);
2261
- if (this.afterTrailingComma(_tokentype.types.braceR)) break;
2262
- } else first = false;
2263
-
2264
- var node = this.startNode();
2265
- node.imported = this.parseIdent(true);
2266
- if (this.eatContextual("as")) {
2267
- node.local = this.parseIdent();
2268
- } else {
2269
- node.local = node.imported;
2270
- if (this.isKeyword(node.local.name)) this.unexpected(node.local.start);
2271
- if (this.reservedWordsStrict.test(node.local.name)) this.raise(node.local.start, "The keyword '" + node.local.name + "' is reserved");
2272
- }
2273
- this.checkLVal(node.local, true);
2274
- nodes.push(this.finishNode(node, "ImportSpecifier"));
2275
- }
2276
- return nodes;
2277
- };
2278
-
2279
- },{"./state":10,"./tokentype":14,"./whitespace":16}],12:[function(_dereq_,module,exports){
2280
- // The algorithm used to determine whether a regexp can appear at a
2281
- // given point in the program is loosely based on sweet.js' approach.
2282
- // See https://github.com/mozilla/sweet.js/wiki/design
2283
-
2284
- "use strict";
2285
-
2286
- exports.__esModule = true;
2287
-
2288
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2289
-
2290
- var _state = _dereq_("./state");
2291
-
2292
- var _tokentype = _dereq_("./tokentype");
2293
-
2294
- var _whitespace = _dereq_("./whitespace");
2295
-
2296
- var TokContext = function TokContext(token, isExpr, preserveSpace, override) {
2297
- _classCallCheck(this, TokContext);
2298
-
2299
- this.token = token;
2300
- this.isExpr = !!isExpr;
2301
- this.preserveSpace = !!preserveSpace;
2302
- this.override = override;
2303
- };
2304
-
2305
- exports.TokContext = TokContext;
2306
- var types = {
2307
- b_stat: new TokContext("{", false),
2308
- b_expr: new TokContext("{", true),
2309
- b_tmpl: new TokContext("${", true),
2310
- p_stat: new TokContext("(", false),
2311
- p_expr: new TokContext("(", true),
2312
- q_tmpl: new TokContext("`", true, true, function (p) {
2313
- return p.readTmplToken();
2314
- }),
2315
- f_expr: new TokContext("function", true)
2316
- };
2317
-
2318
- exports.types = types;
2319
- var pp = _state.Parser.prototype;
2320
-
2321
- pp.initialContext = function () {
2322
- return [types.b_stat];
2323
- };
2324
-
2325
- pp.braceIsBlock = function (prevType) {
2326
- if (prevType === _tokentype.types.colon) {
2327
- var _parent = this.curContext();
2328
- if (_parent === types.b_stat || _parent === types.b_expr) return !_parent.isExpr;
2329
- }
2330
- if (prevType === _tokentype.types._return) return _whitespace.lineBreak.test(this.input.slice(this.lastTokEnd, this.start));
2331
- if (prevType === _tokentype.types._else || prevType === _tokentype.types.semi || prevType === _tokentype.types.eof || prevType === _tokentype.types.parenR) return true;
2332
- if (prevType == _tokentype.types.braceL) return this.curContext() === types.b_stat;
2333
- return !this.exprAllowed;
2334
- };
2335
-
2336
- pp.updateContext = function (prevType) {
2337
- var update = undefined,
2338
- type = this.type;
2339
- if (type.keyword && prevType == _tokentype.types.dot) this.exprAllowed = false;else if (update = type.updateContext) update.call(this, prevType);else this.exprAllowed = type.beforeExpr;
2340
- };
2341
-
2342
- // Token-specific context update code
2343
-
2344
- _tokentype.types.parenR.updateContext = _tokentype.types.braceR.updateContext = function () {
2345
- if (this.context.length == 1) {
2346
- this.exprAllowed = true;
2347
- return;
2348
- }
2349
- var out = this.context.pop();
2350
- if (out === types.b_stat && this.curContext() === types.f_expr) {
2351
- this.context.pop();
2352
- this.exprAllowed = false;
2353
- } else if (out === types.b_tmpl) {
2354
- this.exprAllowed = true;
2355
- } else {
2356
- this.exprAllowed = !out.isExpr;
2357
- }
2358
- };
2359
-
2360
- _tokentype.types.braceL.updateContext = function (prevType) {
2361
- this.context.push(this.braceIsBlock(prevType) ? types.b_stat : types.b_expr);
2362
- this.exprAllowed = true;
2363
- };
2364
-
2365
- _tokentype.types.dollarBraceL.updateContext = function () {
2366
- this.context.push(types.b_tmpl);
2367
- this.exprAllowed = true;
2368
- };
2369
-
2370
- _tokentype.types.parenL.updateContext = function (prevType) {
2371
- var statementParens = prevType === _tokentype.types._if || prevType === _tokentype.types._for || prevType === _tokentype.types._with || prevType === _tokentype.types._while;
2372
- this.context.push(statementParens ? types.p_stat : types.p_expr);
2373
- this.exprAllowed = true;
2374
- };
2375
-
2376
- _tokentype.types.incDec.updateContext = function () {
2377
- // tokExprAllowed stays unchanged
2378
- };
2379
-
2380
- _tokentype.types._function.updateContext = function () {
2381
- if (this.curContext() !== types.b_stat) this.context.push(types.f_expr);
2382
- this.exprAllowed = false;
2383
- };
2384
-
2385
- _tokentype.types.backQuote.updateContext = function () {
2386
- if (this.curContext() === types.q_tmpl) this.context.pop();else this.context.push(types.q_tmpl);
2387
- this.exprAllowed = false;
2388
- };
2389
-
2390
- },{"./state":10,"./tokentype":14,"./whitespace":16}],13:[function(_dereq_,module,exports){
2391
- "use strict";
2392
-
2393
- exports.__esModule = true;
2394
-
2395
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2396
-
2397
- var _identifier = _dereq_("./identifier");
2398
-
2399
- var _tokentype = _dereq_("./tokentype");
2400
-
2401
- var _state = _dereq_("./state");
2402
-
2403
- var _locutil = _dereq_("./locutil");
2404
-
2405
- var _whitespace = _dereq_("./whitespace");
2406
-
2407
- // Object type used to represent tokens. Note that normally, tokens
2408
- // simply exist as properties on the parser object. This is only
2409
- // used for the onToken callback and the external tokenizer.
2410
-
2411
- var Token = function Token(p) {
2412
- _classCallCheck(this, Token);
2413
-
2414
- this.type = p.type;
2415
- this.value = p.value;
2416
- this.start = p.start;
2417
- this.end = p.end;
2418
- if (p.options.locations) this.loc = new _locutil.SourceLocation(p, p.startLoc, p.endLoc);
2419
- if (p.options.ranges) this.range = [p.start, p.end];
2420
- }
2421
-
2422
- // ## Tokenizer
2423
-
2424
- ;
2425
-
2426
- exports.Token = Token;
2427
- var pp = _state.Parser.prototype;
2428
-
2429
- // Are we running under Rhino?
2430
- var isRhino = typeof Packages == "object" && Object.prototype.toString.call(Packages) == "[object JavaPackage]";
2431
-
2432
- // Move to the next token
2433
-
2434
- pp.next = function () {
2435
- if (this.options.onToken) this.options.onToken(new Token(this));
2436
-
2437
- this.lastTokEnd = this.end;
2438
- this.lastTokStart = this.start;
2439
- this.lastTokEndLoc = this.endLoc;
2440
- this.lastTokStartLoc = this.startLoc;
2441
- this.nextToken();
2442
- };
2443
-
2444
- pp.getToken = function () {
2445
- this.next();
2446
- return new Token(this);
2447
- };
2448
-
2449
- // If we're in an ES6 environment, make parsers iterable
2450
- if (typeof Symbol !== "undefined") pp[Symbol.iterator] = function () {
2451
- var self = this;
2452
- return { next: function next() {
2453
- var token = self.getToken();
2454
- return {
2455
- done: token.type === _tokentype.types.eof,
2456
- value: token
2457
- };
2458
- } };
2459
- };
2460
-
2461
- // Toggle strict mode. Re-reads the next number or string to please
2462
- // pedantic tests (`"use strict"; 010;` should fail).
2463
-
2464
- pp.setStrict = function (strict) {
2465
- this.strict = strict;
2466
- if (this.type !== _tokentype.types.num && this.type !== _tokentype.types.string) return;
2467
- this.pos = this.start;
2468
- if (this.options.locations) {
2469
- while (this.pos < this.lineStart) {
2470
- this.lineStart = this.input.lastIndexOf("\n", this.lineStart - 2) + 1;
2471
- --this.curLine;
2472
- }
2473
- }
2474
- this.nextToken();
2475
- };
2476
-
2477
- pp.curContext = function () {
2478
- return this.context[this.context.length - 1];
2479
- };
2480
-
2481
- // Read a single token, updating the parser object's token-related
2482
- // properties.
2483
-
2484
- pp.nextToken = function () {
2485
- var curContext = this.curContext();
2486
- if (!curContext || !curContext.preserveSpace) this.skipSpace();
2487
-
2488
- this.start = this.pos;
2489
- if (this.options.locations) this.startLoc = this.curPosition();
2490
- if (this.pos >= this.input.length) return this.finishToken(_tokentype.types.eof);
2491
-
2492
- if (curContext.override) return curContext.override(this);else this.readToken(this.fullCharCodeAtPos());
2493
- };
2494
-
2495
- pp.readToken = function (code) {
2496
- // Identifier or keyword. '\uXXXX' sequences are allowed in
2497
- // identifiers, so '\' also dispatches to that.
2498
- if (_identifier.isIdentifierStart(code, this.options.ecmaVersion >= 6) || code === 92 /* '\' */) return this.readWord();
2499
-
2500
- return this.getTokenFromCode(code);
2501
- };
2502
-
2503
- pp.fullCharCodeAtPos = function () {
2504
- var code = this.input.charCodeAt(this.pos);
2505
- if (code <= 0xd7ff || code >= 0xe000) return code;
2506
- var next = this.input.charCodeAt(this.pos + 1);
2507
- return (code << 10) + next - 0x35fdc00;
2508
- };
2509
-
2510
- pp.skipBlockComment = function () {
2511
- var startLoc = this.options.onComment && this.curPosition();
2512
- var start = this.pos,
2513
- end = this.input.indexOf("*/", this.pos += 2);
2514
- if (end === -1) this.raise(this.pos - 2, "Unterminated comment");
2515
- this.pos = end + 2;
2516
- if (this.options.locations) {
2517
- _whitespace.lineBreakG.lastIndex = start;
2518
- var match = undefined;
2519
- while ((match = _whitespace.lineBreakG.exec(this.input)) && match.index < this.pos) {
2520
- ++this.curLine;
2521
- this.lineStart = match.index + match[0].length;
2522
- }
2523
- }
2524
- if (this.options.onComment) this.options.onComment(true, this.input.slice(start + 2, end), start, this.pos, startLoc, this.curPosition());
2525
- };
2526
-
2527
- pp.skipLineComment = function (startSkip) {
2528
- var start = this.pos;
2529
- var startLoc = this.options.onComment && this.curPosition();
2530
- var ch = this.input.charCodeAt(this.pos += startSkip);
2531
- while (this.pos < this.input.length && ch !== 10 && ch !== 13 && ch !== 8232 && ch !== 8233) {
2532
- ++this.pos;
2533
- ch = this.input.charCodeAt(this.pos);
2534
- }
2535
- if (this.options.onComment) this.options.onComment(false, this.input.slice(start + startSkip, this.pos), start, this.pos, startLoc, this.curPosition());
2536
- };
2537
-
2538
- // Called at the start of the parse and after every token. Skips
2539
- // whitespace and comments, and.
2540
-
2541
- pp.skipSpace = function () {
2542
- loop: while (this.pos < this.input.length) {
2543
- var ch = this.input.charCodeAt(this.pos);
2544
- switch (ch) {
2545
- case 32:case 160:
2546
- // ' '
2547
- ++this.pos;
2548
- break;
2549
- case 13:
2550
- if (this.input.charCodeAt(this.pos + 1) === 10) {
2551
- ++this.pos;
2552
- }
2553
- case 10:case 8232:case 8233:
2554
- ++this.pos;
2555
- if (this.options.locations) {
2556
- ++this.curLine;
2557
- this.lineStart = this.pos;
2558
- }
2559
- break;
2560
- case 47:
2561
- // '/'
2562
- switch (this.input.charCodeAt(this.pos + 1)) {
2563
- case 42:
2564
- // '*'
2565
- this.skipBlockComment();
2566
- break;
2567
- case 47:
2568
- this.skipLineComment(2);
2569
- break;
2570
- default:
2571
- break loop;
2572
- }
2573
- break;
2574
- default:
2575
- if (ch > 8 && ch < 14 || ch >= 5760 && _whitespace.nonASCIIwhitespace.test(String.fromCharCode(ch))) {
2576
- ++this.pos;
2577
- } else {
2578
- break loop;
2579
- }
2580
- }
2581
- }
2582
- };
2583
-
2584
- // Called at the end of every token. Sets `end`, `val`, and
2585
- // maintains `context` and `exprAllowed`, and skips the space after
2586
- // the token, so that the next one's `start` will point at the
2587
- // right position.
2588
-
2589
- pp.finishToken = function (type, val) {
2590
- this.end = this.pos;
2591
- if (this.options.locations) this.endLoc = this.curPosition();
2592
- var prevType = this.type;
2593
- this.type = type;
2594
- this.value = val;
2595
-
2596
- this.updateContext(prevType);
2597
- };
2598
-
2599
- // ### Token reading
2600
-
2601
- // This is the function that is called to fetch the next token. It
2602
- // is somewhat obscure, because it works in character codes rather
2603
- // than characters, and because operator parsing has been inlined
2604
- // into it.
2605
- //
2606
- // All in the name of speed.
2607
- //
2608
- pp.readToken_dot = function () {
2609
- var next = this.input.charCodeAt(this.pos + 1);
2610
- if (next >= 48 && next <= 57) return this.readNumber(true);
2611
- var next2 = this.input.charCodeAt(this.pos + 2);
2612
- if (this.options.ecmaVersion >= 6 && next === 46 && next2 === 46) {
2613
- // 46 = dot '.'
2614
- this.pos += 3;
2615
- return this.finishToken(_tokentype.types.ellipsis);
2616
- } else {
2617
- ++this.pos;
2618
- return this.finishToken(_tokentype.types.dot);
2619
- }
2620
- };
2621
-
2622
- pp.readToken_slash = function () {
2623
- // '/'
2624
- var next = this.input.charCodeAt(this.pos + 1);
2625
- if (this.exprAllowed) {
2626
- ++this.pos;return this.readRegexp();
2627
- }
2628
- if (next === 61) return this.finishOp(_tokentype.types.assign, 2);
2629
- return this.finishOp(_tokentype.types.slash, 1);
2630
- };
2631
-
2632
- pp.readToken_mult_modulo = function (code) {
2633
- // '%*'
2634
- var next = this.input.charCodeAt(this.pos + 1);
2635
- if (next === 61) return this.finishOp(_tokentype.types.assign, 2);
2636
- return this.finishOp(code === 42 ? _tokentype.types.star : _tokentype.types.modulo, 1);
2637
- };
2638
-
2639
- pp.readToken_pipe_amp = function (code) {
2640
- // '|&'
2641
- var next = this.input.charCodeAt(this.pos + 1);
2642
- if (next === code) return this.finishOp(code === 124 ? _tokentype.types.logicalOR : _tokentype.types.logicalAND, 2);
2643
- if (next === 61) return this.finishOp(_tokentype.types.assign, 2);
2644
- return this.finishOp(code === 124 ? _tokentype.types.bitwiseOR : _tokentype.types.bitwiseAND, 1);
2645
- };
2646
-
2647
- pp.readToken_caret = function () {
2648
- // '^'
2649
- var next = this.input.charCodeAt(this.pos + 1);
2650
- if (next === 61) return this.finishOp(_tokentype.types.assign, 2);
2651
- return this.finishOp(_tokentype.types.bitwiseXOR, 1);
2652
- };
2653
-
2654
- pp.readToken_plus_min = function (code) {
2655
- // '+-'
2656
- var next = this.input.charCodeAt(this.pos + 1);
2657
- if (next === code) {
2658
- if (next == 45 && this.input.charCodeAt(this.pos + 2) == 62 && _whitespace.lineBreak.test(this.input.slice(this.lastTokEnd, this.pos))) {
2659
- // A `-->` line comment
2660
- this.skipLineComment(3);
2661
- this.skipSpace();
2662
- return this.nextToken();
2663
- }
2664
- return this.finishOp(_tokentype.types.incDec, 2);
2665
- }
2666
- if (next === 61) return this.finishOp(_tokentype.types.assign, 2);
2667
- return this.finishOp(_tokentype.types.plusMin, 1);
2668
- };
2669
-
2670
- pp.readToken_lt_gt = function (code) {
2671
- // '<>'
2672
- var next = this.input.charCodeAt(this.pos + 1);
2673
- var size = 1;
2674
- if (next === code) {
2675
- size = code === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2;
2676
- if (this.input.charCodeAt(this.pos + size) === 61) return this.finishOp(_tokentype.types.assign, size + 1);
2677
- return this.finishOp(_tokentype.types.bitShift, size);
2678
- }
2679
- if (next == 33 && code == 60 && this.input.charCodeAt(this.pos + 2) == 45 && this.input.charCodeAt(this.pos + 3) == 45) {
2680
- if (this.inModule) this.unexpected();
2681
- // `<!--`, an XML-style comment that should be interpreted as a line comment
2682
- this.skipLineComment(4);
2683
- this.skipSpace();
2684
- return this.nextToken();
2685
- }
2686
- if (next === 61) size = this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2;
2687
- return this.finishOp(_tokentype.types.relational, size);
2688
- };
2689
-
2690
- pp.readToken_eq_excl = function (code) {
2691
- // '=!'
2692
- var next = this.input.charCodeAt(this.pos + 1);
2693
- if (next === 61) return this.finishOp(_tokentype.types.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2);
2694
- if (code === 61 && next === 62 && this.options.ecmaVersion >= 6) {
2695
- // '=>'
2696
- this.pos += 2;
2697
- return this.finishToken(_tokentype.types.arrow);
2698
- }
2699
- return this.finishOp(code === 61 ? _tokentype.types.eq : _tokentype.types.prefix, 1);
2700
- };
2701
-
2702
- pp.getTokenFromCode = function (code) {
2703
- switch (code) {
2704
- // The interpretation of a dot depends on whether it is followed
2705
- // by a digit or another two dots.
2706
- case 46:
2707
- // '.'
2708
- return this.readToken_dot();
2709
-
2710
- // Punctuation tokens.
2711
- case 40:
2712
- ++this.pos;return this.finishToken(_tokentype.types.parenL);
2713
- case 41:
2714
- ++this.pos;return this.finishToken(_tokentype.types.parenR);
2715
- case 59:
2716
- ++this.pos;return this.finishToken(_tokentype.types.semi);
2717
- case 44:
2718
- ++this.pos;return this.finishToken(_tokentype.types.comma);
2719
- case 91:
2720
- ++this.pos;return this.finishToken(_tokentype.types.bracketL);
2721
- case 93:
2722
- ++this.pos;return this.finishToken(_tokentype.types.bracketR);
2723
- case 123:
2724
- ++this.pos;return this.finishToken(_tokentype.types.braceL);
2725
- case 125:
2726
- ++this.pos;return this.finishToken(_tokentype.types.braceR);
2727
- case 58:
2728
- ++this.pos;return this.finishToken(_tokentype.types.colon);
2729
- case 63:
2730
- ++this.pos;return this.finishToken(_tokentype.types.question);
2731
-
2732
- case 96:
2733
- // '`'
2734
- if (this.options.ecmaVersion < 6) break;
2735
- ++this.pos;
2736
- return this.finishToken(_tokentype.types.backQuote);
2737
-
2738
- case 48:
2739
- // '0'
2740
- var next = this.input.charCodeAt(this.pos + 1);
2741
- if (next === 120 || next === 88) return this.readRadixNumber(16); // '0x', '0X' - hex number
2742
- if (this.options.ecmaVersion >= 6) {
2743
- if (next === 111 || next === 79) return this.readRadixNumber(8); // '0o', '0O' - octal number
2744
- if (next === 98 || next === 66) return this.readRadixNumber(2); // '0b', '0B' - binary number
2745
- }
2746
- // Anything else beginning with a digit is an integer, octal
2747
- // number, or float.
2748
- case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:
2749
- // 1-9
2750
- return this.readNumber(false);
2751
-
2752
- // Quotes produce strings.
2753
- case 34:case 39:
2754
- // '"', "'"
2755
- return this.readString(code);
2756
-
2757
- // Operators are parsed inline in tiny state machines. '=' (61) is
2758
- // often referred to. `finishOp` simply skips the amount of
2759
- // characters it is given as second argument, and returns a token
2760
- // of the type given by its first argument.
2761
-
2762
- case 47:
2763
- // '/'
2764
- return this.readToken_slash();
2765
-
2766
- case 37:case 42:
2767
- // '%*'
2768
- return this.readToken_mult_modulo(code);
2769
-
2770
- case 124:case 38:
2771
- // '|&'
2772
- return this.readToken_pipe_amp(code);
2773
-
2774
- case 94:
2775
- // '^'
2776
- return this.readToken_caret();
2777
-
2778
- case 43:case 45:
2779
- // '+-'
2780
- return this.readToken_plus_min(code);
2781
-
2782
- case 60:case 62:
2783
- // '<>'
2784
- return this.readToken_lt_gt(code);
2785
-
2786
- case 61:case 33:
2787
- // '=!'
2788
- return this.readToken_eq_excl(code);
2789
-
2790
- case 126:
2791
- // '~'
2792
- return this.finishOp(_tokentype.types.prefix, 1);
2793
- }
2794
-
2795
- this.raise(this.pos, "Unexpected character '" + codePointToString(code) + "'");
2796
- };
2797
-
2798
- pp.finishOp = function (type, size) {
2799
- var str = this.input.slice(this.pos, this.pos + size);
2800
- this.pos += size;
2801
- return this.finishToken(type, str);
2802
- };
2803
-
2804
- // Parse a regular expression. Some context-awareness is necessary,
2805
- // since a '/' inside a '[]' set does not end the expression.
2806
-
2807
- function tryCreateRegexp(src, flags, throwErrorAt, parser) {
2808
- try {
2809
- return new RegExp(src, flags);
2810
- } catch (e) {
2811
- if (throwErrorAt !== undefined) {
2812
- if (e instanceof SyntaxError) parser.raise(throwErrorAt, "Error parsing regular expression: " + e.message);
2813
- throw e;
2814
- }
2815
- }
2816
- }
2817
-
2818
- var regexpUnicodeSupport = !!tryCreateRegexp("￿", "u");
2819
-
2820
- pp.readRegexp = function () {
2821
- var _this = this;
2822
-
2823
- var escaped = undefined,
2824
- inClass = undefined,
2825
- start = this.pos;
2826
- for (;;) {
2827
- if (this.pos >= this.input.length) this.raise(start, "Unterminated regular expression");
2828
- var ch = this.input.charAt(this.pos);
2829
- if (_whitespace.lineBreak.test(ch)) this.raise(start, "Unterminated regular expression");
2830
- if (!escaped) {
2831
- if (ch === "[") inClass = true;else if (ch === "]" && inClass) inClass = false;else if (ch === "/" && !inClass) break;
2832
- escaped = ch === "\\";
2833
- } else escaped = false;
2834
- ++this.pos;
2835
- }
2836
- var content = this.input.slice(start, this.pos);
2837
- ++this.pos;
2838
- // Need to use `readWord1` because '\uXXXX' sequences are allowed
2839
- // here (don't ask).
2840
- var mods = this.readWord1();
2841
- var tmp = content;
2842
- if (mods) {
2843
- var validFlags = /^[gim]*$/;
2844
- if (this.options.ecmaVersion >= 6) validFlags = /^[gimuy]*$/;
2845
- if (!validFlags.test(mods)) this.raise(start, "Invalid regular expression flag");
2846
- if (mods.indexOf('u') >= 0 && !regexpUnicodeSupport) {
2847
- // Replace each astral symbol and every Unicode escape sequence that
2848
- // possibly represents an astral symbol or a paired surrogate with a
2849
- // single ASCII symbol to avoid throwing on regular expressions that
2850
- // are only valid in combination with the `/u` flag.
2851
- // Note: replacing with the ASCII symbol `x` might cause false
2852
- // negatives in unlikely scenarios. For example, `[\u{61}-b]` is a
2853
- // perfectly valid pattern that is equivalent to `[a-b]`, but it would
2854
- // be replaced by `[x-b]` which throws an error.
2855
- tmp = tmp.replace(/\\u\{([0-9a-fA-F]+)\}/g, function (_match, code, offset) {
2856
- code = Number("0x" + code);
2857
- if (code > 0x10FFFF) _this.raise(start + offset + 3, "Code point out of bounds");
2858
- return "x";
2859
- });
2860
- tmp = tmp.replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "x");
2861
- }
2862
- }
2863
- // Detect invalid regular expressions.
2864
- var value = null;
2865
- // Rhino's regular expression parser is flaky and throws uncatchable exceptions,
2866
- // so don't do detection if we are running under Rhino
2867
- if (!isRhino) {
2868
- tryCreateRegexp(tmp, undefined, start, this);
2869
- // Get a regular expression object for this pattern-flag pair, or `null` in
2870
- // case the current environment doesn't support the flags it uses.
2871
- value = tryCreateRegexp(content, mods);
2872
- }
2873
- return this.finishToken(_tokentype.types.regexp, { pattern: content, flags: mods, value: value });
2874
- };
2875
-
2876
- // Read an integer in the given radix. Return null if zero digits
2877
- // were read, the integer value otherwise. When `len` is given, this
2878
- // will return `null` unless the integer has exactly `len` digits.
2879
-
2880
- pp.readInt = function (radix, len) {
2881
- var start = this.pos,
2882
- total = 0;
2883
- for (var i = 0, e = len == null ? Infinity : len; i < e; ++i) {
2884
- var code = this.input.charCodeAt(this.pos),
2885
- val = undefined;
2886
- if (code >= 97) val = code - 97 + 10; // a
2887
- else if (code >= 65) val = code - 65 + 10; // A
2888
- else if (code >= 48 && code <= 57) val = code - 48; // 0-9
2889
- else val = Infinity;
2890
- if (val >= radix) break;
2891
- ++this.pos;
2892
- total = total * radix + val;
2893
- }
2894
- if (this.pos === start || len != null && this.pos - start !== len) return null;
2895
-
2896
- return total;
2897
- };
2898
-
2899
- pp.readRadixNumber = function (radix) {
2900
- this.pos += 2; // 0x
2901
- var val = this.readInt(radix);
2902
- if (val == null) this.raise(this.start + 2, "Expected number in radix " + radix);
2903
- if (_identifier.isIdentifierStart(this.fullCharCodeAtPos())) this.raise(this.pos, "Identifier directly after number");
2904
- return this.finishToken(_tokentype.types.num, val);
2905
- };
2906
-
2907
- // Read an integer, octal integer, or floating-point number.
2908
-
2909
- pp.readNumber = function (startsWithDot) {
2910
- var start = this.pos,
2911
- isFloat = false,
2912
- octal = this.input.charCodeAt(this.pos) === 48;
2913
- if (!startsWithDot && this.readInt(10) === null) this.raise(start, "Invalid number");
2914
- var next = this.input.charCodeAt(this.pos);
2915
- if (next === 46) {
2916
- // '.'
2917
- ++this.pos;
2918
- this.readInt(10);
2919
- isFloat = true;
2920
- next = this.input.charCodeAt(this.pos);
2921
- }
2922
- if (next === 69 || next === 101) {
2923
- // 'eE'
2924
- next = this.input.charCodeAt(++this.pos);
2925
- if (next === 43 || next === 45) ++this.pos; // '+-'
2926
- if (this.readInt(10) === null) this.raise(start, "Invalid number");
2927
- isFloat = true;
2928
- }
2929
- if (_identifier.isIdentifierStart(this.fullCharCodeAtPos())) this.raise(this.pos, "Identifier directly after number");
2930
-
2931
- var str = this.input.slice(start, this.pos),
2932
- val = undefined;
2933
- if (isFloat) val = parseFloat(str);else if (!octal || str.length === 1) val = parseInt(str, 10);else if (/[89]/.test(str) || this.strict) this.raise(start, "Invalid number");else val = parseInt(str, 8);
2934
- return this.finishToken(_tokentype.types.num, val);
2935
- };
2936
-
2937
- // Read a string value, interpreting backslash-escapes.
2938
-
2939
- pp.readCodePoint = function () {
2940
- var ch = this.input.charCodeAt(this.pos),
2941
- code = undefined;
2942
-
2943
- if (ch === 123) {
2944
- if (this.options.ecmaVersion < 6) this.unexpected();
2945
- var codePos = ++this.pos;
2946
- code = this.readHexChar(this.input.indexOf('}', this.pos) - this.pos);
2947
- ++this.pos;
2948
- if (code > 0x10FFFF) this.raise(codePos, "Code point out of bounds");
2949
- } else {
2950
- code = this.readHexChar(4);
2951
- }
2952
- return code;
2953
- };
2954
-
2955
- function codePointToString(code) {
2956
- // UTF-16 Decoding
2957
- if (code <= 0xFFFF) return String.fromCharCode(code);
2958
- code -= 0x10000;
2959
- return String.fromCharCode((code >> 10) + 0xD800, (code & 1023) + 0xDC00);
2960
- }
2961
-
2962
- pp.readString = function (quote) {
2963
- var out = "",
2964
- chunkStart = ++this.pos;
2965
- for (;;) {
2966
- if (this.pos >= this.input.length) this.raise(this.start, "Unterminated string constant");
2967
- var ch = this.input.charCodeAt(this.pos);
2968
- if (ch === quote) break;
2969
- if (ch === 92) {
2970
- // '\'
2971
- out += this.input.slice(chunkStart, this.pos);
2972
- out += this.readEscapedChar(false);
2973
- chunkStart = this.pos;
2974
- } else {
2975
- if (_whitespace.isNewLine(ch)) this.raise(this.start, "Unterminated string constant");
2976
- ++this.pos;
2977
- }
2978
- }
2979
- out += this.input.slice(chunkStart, this.pos++);
2980
- return this.finishToken(_tokentype.types.string, out);
2981
- };
2982
-
2983
- // Reads template string tokens.
2984
-
2985
- pp.readTmplToken = function () {
2986
- var out = "",
2987
- chunkStart = this.pos;
2988
- for (;;) {
2989
- if (this.pos >= this.input.length) this.raise(this.start, "Unterminated template");
2990
- var ch = this.input.charCodeAt(this.pos);
2991
- if (ch === 96 || ch === 36 && this.input.charCodeAt(this.pos + 1) === 123) {
2992
- // '`', '${'
2993
- if (this.pos === this.start && this.type === _tokentype.types.template) {
2994
- if (ch === 36) {
2995
- this.pos += 2;
2996
- return this.finishToken(_tokentype.types.dollarBraceL);
2997
- } else {
2998
- ++this.pos;
2999
- return this.finishToken(_tokentype.types.backQuote);
3000
- }
3001
- }
3002
- out += this.input.slice(chunkStart, this.pos);
3003
- return this.finishToken(_tokentype.types.template, out);
3004
- }
3005
- if (ch === 92) {
3006
- // '\'
3007
- out += this.input.slice(chunkStart, this.pos);
3008
- out += this.readEscapedChar(true);
3009
- chunkStart = this.pos;
3010
- } else if (_whitespace.isNewLine(ch)) {
3011
- out += this.input.slice(chunkStart, this.pos);
3012
- ++this.pos;
3013
- switch (ch) {
3014
- case 13:
3015
- if (this.input.charCodeAt(this.pos) === 10) ++this.pos;
3016
- case 10:
3017
- out += "\n";
3018
- break;
3019
- default:
3020
- out += String.fromCharCode(ch);
3021
- break;
3022
- }
3023
- if (this.options.locations) {
3024
- ++this.curLine;
3025
- this.lineStart = this.pos;
3026
- }
3027
- chunkStart = this.pos;
3028
- } else {
3029
- ++this.pos;
3030
- }
3031
- }
3032
- };
3033
-
3034
- // Used to read escaped characters
3035
-
3036
- pp.readEscapedChar = function (inTemplate) {
3037
- var ch = this.input.charCodeAt(++this.pos);
3038
- ++this.pos;
3039
- switch (ch) {
3040
- case 110:
3041
- return "\n"; // 'n' -> '\n'
3042
- case 114:
3043
- return "\r"; // 'r' -> '\r'
3044
- case 120:
3045
- return String.fromCharCode(this.readHexChar(2)); // 'x'
3046
- case 117:
3047
- return codePointToString(this.readCodePoint()); // 'u'
3048
- case 116:
3049
- return "\t"; // 't' -> '\t'
3050
- case 98:
3051
- return "\b"; // 'b' -> '\b'
3052
- case 118:
3053
- return "\u000b"; // 'v' -> '\u000b'
3054
- case 102:
3055
- return "\f"; // 'f' -> '\f'
3056
- case 13:
3057
- if (this.input.charCodeAt(this.pos) === 10) ++this.pos; // '\r\n'
3058
- case 10:
3059
- // ' \n'
3060
- if (this.options.locations) {
3061
- this.lineStart = this.pos;++this.curLine;
3062
- }
3063
- return "";
3064
- default:
3065
- if (ch >= 48 && ch <= 55) {
3066
- var octalStr = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0];
3067
- var octal = parseInt(octalStr, 8);
3068
- if (octal > 255) {
3069
- octalStr = octalStr.slice(0, -1);
3070
- octal = parseInt(octalStr, 8);
3071
- }
3072
- if (octalStr !== "0" && (this.strict || inTemplate)) {
3073
- this.raise(this.pos - 2, "Octal literal in strict mode");
3074
- }
3075
- this.pos += octalStr.length - 1;
3076
- return String.fromCharCode(octal);
3077
- }
3078
- return String.fromCharCode(ch);
3079
- }
3080
- };
3081
-
3082
- // Used to read character escape sequences ('\x', '\u', '\U').
3083
-
3084
- pp.readHexChar = function (len) {
3085
- var codePos = this.pos;
3086
- var n = this.readInt(16, len);
3087
- if (n === null) this.raise(codePos, "Bad character escape sequence");
3088
- return n;
3089
- };
3090
-
3091
- // Read an identifier, and return it as a string. Sets `this.containsEsc`
3092
- // to whether the word contained a '\u' escape.
3093
- //
3094
- // Incrementally adds only escaped chars, adding other chunks as-is
3095
- // as a micro-optimization.
3096
-
3097
- pp.readWord1 = function () {
3098
- this.containsEsc = false;
3099
- var word = "",
3100
- first = true,
3101
- chunkStart = this.pos;
3102
- var astral = this.options.ecmaVersion >= 6;
3103
- while (this.pos < this.input.length) {
3104
- var ch = this.fullCharCodeAtPos();
3105
- if (_identifier.isIdentifierChar(ch, astral)) {
3106
- this.pos += ch <= 0xffff ? 1 : 2;
3107
- } else if (ch === 92) {
3108
- // "\"
3109
- this.containsEsc = true;
3110
- word += this.input.slice(chunkStart, this.pos);
3111
- var escStart = this.pos;
3112
- if (this.input.charCodeAt(++this.pos) != 117) // "u"
3113
- this.raise(this.pos, "Expecting Unicode escape sequence \\uXXXX");
3114
- ++this.pos;
3115
- var esc = this.readCodePoint();
3116
- if (!(first ? _identifier.isIdentifierStart : _identifier.isIdentifierChar)(esc, astral)) this.raise(escStart, "Invalid Unicode escape");
3117
- word += codePointToString(esc);
3118
- chunkStart = this.pos;
3119
- } else {
3120
- break;
3121
- }
3122
- first = false;
3123
- }
3124
- return word + this.input.slice(chunkStart, this.pos);
3125
- };
3126
-
3127
- // Read an identifier or keyword token. Will check for reserved
3128
- // words when necessary.
3129
-
3130
- pp.readWord = function () {
3131
- var word = this.readWord1();
3132
- var type = _tokentype.types.name;
3133
- if ((this.options.ecmaVersion >= 6 || !this.containsEsc) && this.keywords.test(word)) type = _tokentype.keywords[word];
3134
- return this.finishToken(type, word);
3135
- };
3136
-
3137
- },{"./identifier":2,"./locutil":5,"./state":10,"./tokentype":14,"./whitespace":16}],14:[function(_dereq_,module,exports){
3138
- // ## Token types
3139
-
3140
- // The assignment of fine-grained, information-carrying type objects
3141
- // allows the tokenizer to store the information it has about a
3142
- // token in a way that is very cheap for the parser to look up.
3143
-
3144
- // All token type variables start with an underscore, to make them
3145
- // easy to recognize.
3146
-
3147
- // The `beforeExpr` property is used to disambiguate between regular
3148
- // expressions and divisions. It is set on all token types that can
3149
- // be followed by an expression (thus, a slash after them would be a
3150
- // regular expression).
3151
- //
3152
- // The `startsExpr` property is used to check if the token ends a
3153
- // `yield` expression. It is set on all token types that either can
3154
- // directly start an expression (like a quotation mark) or can
3155
- // continue an expression (like the body of a string).
3156
- //
3157
- // `isLoop` marks a keyword as starting a loop, which is important
3158
- // to know when parsing a label, in order to allow or disallow
3159
- // continue jumps to that label.
3160
-
3161
- "use strict";
3162
-
3163
- exports.__esModule = true;
3164
-
3165
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3166
-
3167
- var TokenType = function TokenType(label) {
3168
- var conf = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
3169
-
3170
- _classCallCheck(this, TokenType);
3171
-
3172
- this.label = label;
3173
- this.keyword = conf.keyword;
3174
- this.beforeExpr = !!conf.beforeExpr;
3175
- this.startsExpr = !!conf.startsExpr;
3176
- this.isLoop = !!conf.isLoop;
3177
- this.isAssign = !!conf.isAssign;
3178
- this.prefix = !!conf.prefix;
3179
- this.postfix = !!conf.postfix;
3180
- this.binop = conf.binop || null;
3181
- this.updateContext = null;
3182
- };
3183
-
3184
- exports.TokenType = TokenType;
3185
-
3186
- function binop(name, prec) {
3187
- return new TokenType(name, { beforeExpr: true, binop: prec });
3188
- }
3189
- var beforeExpr = { beforeExpr: true },
3190
- startsExpr = { startsExpr: true };
3191
-
3192
- var types = {
3193
- num: new TokenType("num", startsExpr),
3194
- regexp: new TokenType("regexp", startsExpr),
3195
- string: new TokenType("string", startsExpr),
3196
- name: new TokenType("name", startsExpr),
3197
- eof: new TokenType("eof"),
3198
-
3199
- // Punctuation token types.
3200
- bracketL: new TokenType("[", { beforeExpr: true, startsExpr: true }),
3201
- bracketR: new TokenType("]"),
3202
- braceL: new TokenType("{", { beforeExpr: true, startsExpr: true }),
3203
- braceR: new TokenType("}"),
3204
- parenL: new TokenType("(", { beforeExpr: true, startsExpr: true }),
3205
- parenR: new TokenType(")"),
3206
- comma: new TokenType(",", beforeExpr),
3207
- semi: new TokenType(";", beforeExpr),
3208
- colon: new TokenType(":", beforeExpr),
3209
- dot: new TokenType("."),
3210
- question: new TokenType("?", beforeExpr),
3211
- arrow: new TokenType("=>", beforeExpr),
3212
- template: new TokenType("template"),
3213
- ellipsis: new TokenType("...", beforeExpr),
3214
- backQuote: new TokenType("`", startsExpr),
3215
- dollarBraceL: new TokenType("${", { beforeExpr: true, startsExpr: true }),
3216
-
3217
- // Operators. These carry several kinds of properties to help the
3218
- // parser use them properly (the presence of these properties is
3219
- // what categorizes them as operators).
3220
- //
3221
- // `binop`, when present, specifies that this operator is a binary
3222
- // operator, and will refer to its precedence.
3223
- //
3224
- // `prefix` and `postfix` mark the operator as a prefix or postfix
3225
- // unary operator.
3226
- //
3227
- // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as
3228
- // binary operators with a very low precedence, that should result
3229
- // in AssignmentExpression nodes.
3230
-
3231
- eq: new TokenType("=", { beforeExpr: true, isAssign: true }),
3232
- assign: new TokenType("_=", { beforeExpr: true, isAssign: true }),
3233
- incDec: new TokenType("++/--", { prefix: true, postfix: true, startsExpr: true }),
3234
- prefix: new TokenType("prefix", { beforeExpr: true, prefix: true, startsExpr: true }),
3235
- logicalOR: binop("||", 1),
3236
- logicalAND: binop("&&", 2),
3237
- bitwiseOR: binop("|", 3),
3238
- bitwiseXOR: binop("^", 4),
3239
- bitwiseAND: binop("&", 5),
3240
- equality: binop("==/!=", 6),
3241
- relational: binop("</>", 7),
3242
- bitShift: binop("<</>>", 8),
3243
- plusMin: new TokenType("+/-", { beforeExpr: true, binop: 9, prefix: true, startsExpr: true }),
3244
- modulo: binop("%", 10),
3245
- star: binop("*", 10),
3246
- slash: binop("/", 10)
3247
- };
3248
-
3249
- exports.types = types;
3250
- // Map keyword names to token types.
3251
-
3252
- var keywords = {};
3253
-
3254
- exports.keywords = keywords;
3255
- // Succinct definitions of keyword token types
3256
- function kw(name) {
3257
- var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
3258
-
3259
- options.keyword = name;
3260
- keywords[name] = types["_" + name] = new TokenType(name, options);
3261
- }
3262
-
3263
- kw("break");
3264
- kw("case", beforeExpr);
3265
- kw("catch");
3266
- kw("continue");
3267
- kw("debugger");
3268
- kw("default", beforeExpr);
3269
- kw("do", { isLoop: true, beforeExpr: true });
3270
- kw("else", beforeExpr);
3271
- kw("finally");
3272
- kw("for", { isLoop: true });
3273
- kw("function", startsExpr);
3274
- kw("if");
3275
- kw("return", beforeExpr);
3276
- kw("switch");
3277
- kw("throw", beforeExpr);
3278
- kw("try");
3279
- kw("var");
3280
- kw("let");
3281
- kw("const");
3282
- kw("while", { isLoop: true });
3283
- kw("with");
3284
- kw("new", { beforeExpr: true, startsExpr: true });
3285
- kw("this", startsExpr);
3286
- kw("super", startsExpr);
3287
- kw("class");
3288
- kw("extends", beforeExpr);
3289
- kw("export");
3290
- kw("import");
3291
- kw("yield", { beforeExpr: true, startsExpr: true });
3292
- kw("null", startsExpr);
3293
- kw("true", startsExpr);
3294
- kw("false", startsExpr);
3295
- kw("in", { beforeExpr: true, binop: 7 });
3296
- kw("instanceof", { beforeExpr: true, binop: 7 });
3297
- kw("typeof", { beforeExpr: true, prefix: true, startsExpr: true });
3298
- kw("void", { beforeExpr: true, prefix: true, startsExpr: true });
3299
- kw("delete", { beforeExpr: true, prefix: true, startsExpr: true });
3300
-
3301
- },{}],15:[function(_dereq_,module,exports){
3302
- "use strict";
3303
-
3304
- exports.__esModule = true;
3305
- exports.isArray = isArray;
3306
- exports.has = has;
3307
-
3308
- function isArray(obj) {
3309
- return Object.prototype.toString.call(obj) === "[object Array]";
3310
- }
3311
-
3312
- // Checks if an object has a property.
3313
-
3314
- function has(obj, propName) {
3315
- return Object.prototype.hasOwnProperty.call(obj, propName);
3316
- }
3317
-
3318
- },{}],16:[function(_dereq_,module,exports){
3319
- // Matches a whole line break (where CRLF is considered a single
3320
- // line break). Used to count lines.
3321
-
3322
- "use strict";
3323
-
3324
- exports.__esModule = true;
3325
- exports.isNewLine = isNewLine;
3326
- var lineBreak = /\r\n?|\n|\u2028|\u2029/;
3327
- exports.lineBreak = lineBreak;
3328
- var lineBreakG = new RegExp(lineBreak.source, "g");
3329
-
3330
- exports.lineBreakG = lineBreakG;
3331
-
3332
- function isNewLine(code) {
3333
- return code === 10 || code === 13 || code === 0x2028 || code == 0x2029;
3334
- }
3335
-
3336
- var nonASCIIwhitespace = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
3337
- exports.nonASCIIwhitespace = nonASCIIwhitespace;
3338
-
3339
- },{}]},{},[3])(3)
3340
- });