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,19 +0,0 @@
1
- Redistribution and use in source and binary forms, with or without
2
- modification, are permitted provided that the following conditions are met:
3
-
4
- * Redistributions of source code must retain the above copyright
5
- notice, this list of conditions and the following disclaimer.
6
- * Redistributions in binary form must reproduce the above copyright
7
- notice, this list of conditions and the following disclaimer in the
8
- documentation and/or other materials provided with the distribution.
9
-
10
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
11
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
12
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
13
- ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
14
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
15
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
16
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
17
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
18
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
19
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,27 +0,0 @@
1
- Copyright (c) 2009-2011, Mozilla Foundation and contributors
2
- All rights reserved.
3
-
4
- Redistribution and use in source and binary forms, with or without
5
- modification, are permitted provided that the following conditions are met:
6
-
7
- * Redistributions of source code must retain the above copyright notice, this
8
- list of conditions and the following disclaimer.
9
-
10
- * Redistributions in binary form must reproduce the above copyright notice,
11
- this list of conditions and the following disclaimer in the documentation
12
- and/or other materials provided with the distribution.
13
-
14
- * Neither the names of the Mozilla Foundation nor the names of project
15
- contributors may be used to endorse or promote products derived from this
16
- software without specific prior written permission.
17
-
18
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,116 +0,0 @@
1
- ## Escodegen
2
- [![npm version](https://badge.fury.io/js/escodegen.svg)](http://badge.fury.io/js/escodegen)
3
- [![Build Status](https://secure.travis-ci.org/estools/escodegen.svg)](http://travis-ci.org/estools/escodegen)
4
- [![Dependency Status](https://david-dm.org/estools/escodegen.svg)](https://david-dm.org/estools/escodegen)
5
- [![devDependency Status](https://david-dm.org/estools/escodegen/dev-status.svg)](https://david-dm.org/estools/escodegen#info=devDependencies)
6
-
7
- Escodegen ([escodegen](http://github.com/estools/escodegen)) is an
8
- [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm)
9
- (also popularly known as [JavaScript](http://en.wikipedia.org/wiki/JavaScript))
10
- code generator from [Mozilla's Parser API](https://developer.mozilla.org/en/SpiderMonkey/Parser_API)
11
- AST. See the [online generator](https://estools.github.io/escodegen/demo/index.html)
12
- for a demo.
13
-
14
-
15
- ### Install
16
-
17
- Escodegen can be used in a web browser:
18
-
19
- <script src="escodegen.browser.js"></script>
20
-
21
- escodegen.browser.js can be found in tagged revisions on GitHub.
22
-
23
- Or in a Node.js application via npm:
24
-
25
- npm install escodegen
26
-
27
- ### Usage
28
-
29
- A simple example: the program
30
-
31
- escodegen.generate({
32
- type: 'BinaryExpression',
33
- operator: '+',
34
- left: { type: 'Literal', value: 40 },
35
- right: { type: 'Literal', value: 2 }
36
- });
37
-
38
- produces the string `'40 + 2'`.
39
-
40
- See the [API page](https://github.com/estools/escodegen/wiki/API) for
41
- options. To run the tests, execute `npm test` in the root directory.
42
-
43
- ### Building browser bundle / minified browser bundle
44
-
45
- At first, execute `npm install` to install the all dev dependencies.
46
- After that,
47
-
48
- npm run-script build
49
-
50
- will generate `escodegen.browser.js`, which can be used in browser environments.
51
-
52
- And,
53
-
54
- npm run-script build-min
55
-
56
- will generate the minified file `escodegen.browser.min.js`.
57
-
58
- ### License
59
-
60
- #### Escodegen
61
-
62
- Copyright (C) 2012 [Yusuke Suzuki](http://github.com/Constellation)
63
- (twitter: [@Constellation](http://twitter.com/Constellation)) and other contributors.
64
-
65
- Redistribution and use in source and binary forms, with or without
66
- modification, are permitted provided that the following conditions are met:
67
-
68
- * Redistributions of source code must retain the above copyright
69
- notice, this list of conditions and the following disclaimer.
70
-
71
- * Redistributions in binary form must reproduce the above copyright
72
- notice, this list of conditions and the following disclaimer in the
73
- documentation and/or other materials provided with the distribution.
74
-
75
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
76
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
77
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
78
- ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
79
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
80
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
81
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
82
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
83
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
84
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
85
-
86
- #### source-map
87
-
88
- SourceNodeMocks has a limited interface of mozilla/source-map SourceNode implementations.
89
-
90
- Copyright (c) 2009-2011, Mozilla Foundation and contributors
91
- All rights reserved.
92
-
93
- Redistribution and use in source and binary forms, with or without
94
- modification, are permitted provided that the following conditions are met:
95
-
96
- * Redistributions of source code must retain the above copyright notice, this
97
- list of conditions and the following disclaimer.
98
-
99
- * Redistributions in binary form must reproduce the above copyright notice,
100
- this list of conditions and the following disclaimer in the documentation
101
- and/or other materials provided with the distribution.
102
-
103
- * Neither the names of the Mozilla Foundation nor the names of project
104
- contributors may be used to endorse or promote products derived from this
105
- software without specific prior written permission.
106
-
107
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
108
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
109
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
110
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
111
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
112
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
113
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
114
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
115
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
116
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,77 +0,0 @@
1
- #!/usr/bin/env node
2
- /*
3
- Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
4
-
5
- Redistribution and use in source and binary forms, with or without
6
- modification, are permitted provided that the following conditions are met:
7
-
8
- * Redistributions of source code must retain the above copyright
9
- notice, this list of conditions and the following disclaimer.
10
- * Redistributions in binary form must reproduce the above copyright
11
- notice, this list of conditions and the following disclaimer in the
12
- documentation and/or other materials provided with the distribution.
13
-
14
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17
- ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
18
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
- */
25
-
26
- /*jslint sloppy:true node:true */
27
-
28
- var fs = require('fs'),
29
- path = require('path'),
30
- root = path.join(path.dirname(fs.realpathSync(__filename)), '..'),
31
- esprima = require('esprima'),
32
- escodegen = require(root),
33
- optionator = require('optionator')({
34
- prepend: 'Usage: escodegen [options] file...',
35
- options: [
36
- {
37
- option: 'config',
38
- alias: 'c',
39
- type: 'String',
40
- description: 'configuration json for escodegen'
41
- }
42
- ]
43
- }),
44
- args = optionator.parse(process.argv),
45
- files = args._,
46
- options,
47
- esprimaOptions = {
48
- raw: true,
49
- tokens: true,
50
- range: true,
51
- comment: true
52
- };
53
-
54
- if (files.length === 0) {
55
- console.log(optionator.generateHelp());
56
- process.exit(1);
57
- }
58
-
59
- if (args.config) {
60
- try {
61
- options = JSON.parse(fs.readFileSync(args.config, 'utf-8'));
62
- } catch (err) {
63
- console.error('Error parsing config: ', err);
64
- }
65
- }
66
-
67
- files.forEach(function (filename) {
68
- var content = fs.readFileSync(filename, 'utf-8'),
69
- syntax = esprima.parse(content, esprimaOptions);
70
-
71
- if (options.comment) {
72
- escodegen.attachComments(syntax, syntax.comments, syntax.tokens);
73
- }
74
-
75
- console.log(escodegen.generate(syntax, options));
76
- });
77
- /* vim: set sw=4 ts=4 et tw=80 : */
@@ -1,64 +0,0 @@
1
- #!/usr/bin/env node
2
- /*
3
- Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
4
-
5
- Redistribution and use in source and binary forms, with or without
6
- modification, are permitted provided that the following conditions are met:
7
-
8
- * Redistributions of source code must retain the above copyright
9
- notice, this list of conditions and the following disclaimer.
10
- * Redistributions in binary form must reproduce the above copyright
11
- notice, this list of conditions and the following disclaimer in the
12
- documentation and/or other materials provided with the distribution.
13
-
14
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17
- ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
18
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
- */
25
-
26
- /*jslint sloppy:true node:true */
27
-
28
- var fs = require('fs'),
29
- path = require('path'),
30
- root = path.join(path.dirname(fs.realpathSync(__filename)), '..'),
31
- escodegen = require(root),
32
- optionator = require('optionator')({
33
- prepend: 'Usage: esgenerate [options] file.json ...',
34
- options: [
35
- {
36
- option: 'config',
37
- alias: 'c',
38
- type: 'String',
39
- description: 'configuration json for escodegen'
40
- }
41
- ]
42
- }),
43
- args = optionator.parse(process.argv),
44
- files = args._,
45
- options;
46
-
47
- if (files.length === 0) {
48
- console.log(optionator.generateHelp());
49
- process.exit(1);
50
- }
51
-
52
- if (args.config) {
53
- try {
54
- options = JSON.parse(fs.readFileSync(args.config, 'utf-8'))
55
- } catch (err) {
56
- console.error('Error parsing config: ', err);
57
- }
58
- }
59
-
60
- files.forEach(function (filename) {
61
- var content = fs.readFileSync(filename, 'utf-8');
62
- console.log(escodegen.generate(JSON.parse(content), options));
63
- });
64
- /* vim: set sw=4 ts=4 et tw=80 : */
@@ -1,2607 +0,0 @@
1
- /*
2
- Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com>
3
- Copyright (C) 2015 Ingvar Stepanyan <me@rreverser.com>
4
- Copyright (C) 2014 Ivan Nikulin <ifaaan@gmail.com>
5
- Copyright (C) 2012-2013 Michael Ficarra <escodegen.copyright@michael.ficarra.me>
6
- Copyright (C) 2012-2013 Mathias Bynens <mathias@qiwi.be>
7
- Copyright (C) 2013 Irakli Gozalishvili <rfobic@gmail.com>
8
- Copyright (C) 2012 Robert Gust-Bardon <donate@robert.gust-bardon.org>
9
- Copyright (C) 2012 John Freeman <jfreeman08@gmail.com>
10
- Copyright (C) 2011-2012 Ariya Hidayat <ariya.hidayat@gmail.com>
11
- Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
12
- Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>
13
- Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>
14
-
15
- Redistribution and use in source and binary forms, with or without
16
- modification, are permitted provided that the following conditions are met:
17
-
18
- * Redistributions of source code must retain the above copyright
19
- notice, this list of conditions and the following disclaimer.
20
- * Redistributions in binary form must reproduce the above copyright
21
- notice, this list of conditions and the following disclaimer in the
22
- documentation and/or other materials provided with the distribution.
23
-
24
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27
- ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
28
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
29
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
30
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
31
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
33
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
- */
35
-
36
- /*global exports:true, require:true, global:true*/
37
- (function () {
38
- 'use strict';
39
-
40
- var Syntax,
41
- Precedence,
42
- BinaryPrecedence,
43
- SourceNode,
44
- estraverse,
45
- esutils,
46
- isArray,
47
- base,
48
- indent,
49
- json,
50
- renumber,
51
- hexadecimal,
52
- quotes,
53
- escapeless,
54
- newline,
55
- space,
56
- parentheses,
57
- semicolons,
58
- safeConcatenation,
59
- directive,
60
- extra,
61
- parse,
62
- sourceMap,
63
- sourceCode,
64
- preserveBlankLines,
65
- FORMAT_MINIFY,
66
- FORMAT_DEFAULTS;
67
-
68
- estraverse = require('estraverse');
69
- esutils = require('esutils');
70
-
71
- Syntax = estraverse.Syntax;
72
-
73
- // Generation is done by generateExpression.
74
- function isExpression(node) {
75
- return CodeGenerator.Expression.hasOwnProperty(node.type);
76
- }
77
-
78
- // Generation is done by generateStatement.
79
- function isStatement(node) {
80
- return CodeGenerator.Statement.hasOwnProperty(node.type);
81
- }
82
-
83
- Precedence = {
84
- Sequence: 0,
85
- Yield: 1,
86
- Await: 1,
87
- Assignment: 1,
88
- Conditional: 2,
89
- ArrowFunction: 2,
90
- LogicalOR: 3,
91
- LogicalAND: 4,
92
- BitwiseOR: 5,
93
- BitwiseXOR: 6,
94
- BitwiseAND: 7,
95
- Equality: 8,
96
- Relational: 9,
97
- BitwiseSHIFT: 10,
98
- Additive: 11,
99
- Multiplicative: 12,
100
- Unary: 13,
101
- Postfix: 14,
102
- Call: 15,
103
- New: 16,
104
- TaggedTemplate: 17,
105
- Member: 18,
106
- Primary: 19
107
- };
108
-
109
- BinaryPrecedence = {
110
- '||': Precedence.LogicalOR,
111
- '&&': Precedence.LogicalAND,
112
- '|': Precedence.BitwiseOR,
113
- '^': Precedence.BitwiseXOR,
114
- '&': Precedence.BitwiseAND,
115
- '==': Precedence.Equality,
116
- '!=': Precedence.Equality,
117
- '===': Precedence.Equality,
118
- '!==': Precedence.Equality,
119
- 'is': Precedence.Equality,
120
- 'isnt': Precedence.Equality,
121
- '<': Precedence.Relational,
122
- '>': Precedence.Relational,
123
- '<=': Precedence.Relational,
124
- '>=': Precedence.Relational,
125
- 'in': Precedence.Relational,
126
- 'instanceof': Precedence.Relational,
127
- '<<': Precedence.BitwiseSHIFT,
128
- '>>': Precedence.BitwiseSHIFT,
129
- '>>>': Precedence.BitwiseSHIFT,
130
- '+': Precedence.Additive,
131
- '-': Precedence.Additive,
132
- '*': Precedence.Multiplicative,
133
- '%': Precedence.Multiplicative,
134
- '/': Precedence.Multiplicative
135
- };
136
-
137
- //Flags
138
- var F_ALLOW_IN = 1,
139
- F_ALLOW_CALL = 1 << 1,
140
- F_ALLOW_UNPARATH_NEW = 1 << 2,
141
- F_FUNC_BODY = 1 << 3,
142
- F_DIRECTIVE_CTX = 1 << 4,
143
- F_SEMICOLON_OPT = 1 << 5;
144
-
145
- //Expression flag sets
146
- //NOTE: Flag order:
147
- // F_ALLOW_IN
148
- // F_ALLOW_CALL
149
- // F_ALLOW_UNPARATH_NEW
150
- var E_FTT = F_ALLOW_CALL | F_ALLOW_UNPARATH_NEW,
151
- E_TTF = F_ALLOW_IN | F_ALLOW_CALL,
152
- E_TTT = F_ALLOW_IN | F_ALLOW_CALL | F_ALLOW_UNPARATH_NEW,
153
- E_TFF = F_ALLOW_IN,
154
- E_FFT = F_ALLOW_UNPARATH_NEW,
155
- E_TFT = F_ALLOW_IN | F_ALLOW_UNPARATH_NEW;
156
-
157
- //Statement flag sets
158
- //NOTE: Flag order:
159
- // F_ALLOW_IN
160
- // F_FUNC_BODY
161
- // F_DIRECTIVE_CTX
162
- // F_SEMICOLON_OPT
163
- var S_TFFF = F_ALLOW_IN,
164
- S_TFFT = F_ALLOW_IN | F_SEMICOLON_OPT,
165
- S_FFFF = 0x00,
166
- S_TFTF = F_ALLOW_IN | F_DIRECTIVE_CTX,
167
- S_TTFF = F_ALLOW_IN | F_FUNC_BODY;
168
-
169
- function getDefaultOptions() {
170
- // default options
171
- return {
172
- indent: null,
173
- base: null,
174
- parse: null,
175
- comment: false,
176
- format: {
177
- indent: {
178
- style: ' ',
179
- base: 0,
180
- adjustMultilineComment: false
181
- },
182
- newline: '\n',
183
- space: ' ',
184
- json: false,
185
- renumber: false,
186
- hexadecimal: false,
187
- quotes: 'single',
188
- escapeless: false,
189
- compact: false,
190
- parentheses: true,
191
- semicolons: true,
192
- safeConcatenation: false,
193
- preserveBlankLines: false
194
- },
195
- moz: {
196
- comprehensionExpressionStartsWithAssignment: false,
197
- starlessGenerator: false
198
- },
199
- sourceMap: null,
200
- sourceMapRoot: null,
201
- sourceMapWithCode: false,
202
- directive: false,
203
- raw: true,
204
- verbatim: null,
205
- sourceCode: null
206
- };
207
- }
208
-
209
- function stringRepeat(str, num) {
210
- var result = '';
211
-
212
- for (num |= 0; num > 0; num >>>= 1, str += str) {
213
- if (num & 1) {
214
- result += str;
215
- }
216
- }
217
-
218
- return result;
219
- }
220
-
221
- isArray = Array.isArray;
222
- if (!isArray) {
223
- isArray = function isArray(array) {
224
- return Object.prototype.toString.call(array) === '[object Array]';
225
- };
226
- }
227
-
228
- function hasLineTerminator(str) {
229
- return (/[\r\n]/g).test(str);
230
- }
231
-
232
- function endsWithLineTerminator(str) {
233
- var len = str.length;
234
- return len && esutils.code.isLineTerminator(str.charCodeAt(len - 1));
235
- }
236
-
237
- function merge(target, override) {
238
- var key;
239
- for (key in override) {
240
- if (override.hasOwnProperty(key)) {
241
- target[key] = override[key];
242
- }
243
- }
244
- return target;
245
- }
246
-
247
- function updateDeeply(target, override) {
248
- var key, val;
249
-
250
- function isHashObject(target) {
251
- return typeof target === 'object' && target instanceof Object && !(target instanceof RegExp);
252
- }
253
-
254
- for (key in override) {
255
- if (override.hasOwnProperty(key)) {
256
- val = override[key];
257
- if (isHashObject(val)) {
258
- if (isHashObject(target[key])) {
259
- updateDeeply(target[key], val);
260
- } else {
261
- target[key] = updateDeeply({}, val);
262
- }
263
- } else {
264
- target[key] = val;
265
- }
266
- }
267
- }
268
- return target;
269
- }
270
-
271
- function generateNumber(value) {
272
- var result, point, temp, exponent, pos;
273
-
274
- if (value !== value) {
275
- throw new Error('Numeric literal whose value is NaN');
276
- }
277
- if (value < 0 || (value === 0 && 1 / value < 0)) {
278
- throw new Error('Numeric literal whose value is negative');
279
- }
280
-
281
- if (value === 1 / 0) {
282
- return json ? 'null' : renumber ? '1e400' : '1e+400';
283
- }
284
-
285
- result = '' + value;
286
- if (!renumber || result.length < 3) {
287
- return result;
288
- }
289
-
290
- point = result.indexOf('.');
291
- if (!json && result.charCodeAt(0) === 0x30 /* 0 */ && point === 1) {
292
- point = 0;
293
- result = result.slice(1);
294
- }
295
- temp = result;
296
- result = result.replace('e+', 'e');
297
- exponent = 0;
298
- if ((pos = temp.indexOf('e')) > 0) {
299
- exponent = +temp.slice(pos + 1);
300
- temp = temp.slice(0, pos);
301
- }
302
- if (point >= 0) {
303
- exponent -= temp.length - point - 1;
304
- temp = +(temp.slice(0, point) + temp.slice(point + 1)) + '';
305
- }
306
- pos = 0;
307
- while (temp.charCodeAt(temp.length + pos - 1) === 0x30 /* 0 */) {
308
- --pos;
309
- }
310
- if (pos !== 0) {
311
- exponent -= pos;
312
- temp = temp.slice(0, pos);
313
- }
314
- if (exponent !== 0) {
315
- temp += 'e' + exponent;
316
- }
317
- if ((temp.length < result.length ||
318
- (hexadecimal && value > 1e12 && Math.floor(value) === value && (temp = '0x' + value.toString(16)).length < result.length)) &&
319
- +temp === value) {
320
- result = temp;
321
- }
322
-
323
- return result;
324
- }
325
-
326
- // Generate valid RegExp expression.
327
- // This function is based on https://github.com/Constellation/iv Engine
328
-
329
- function escapeRegExpCharacter(ch, previousIsBackslash) {
330
- // not handling '\' and handling \u2028 or \u2029 to unicode escape sequence
331
- if ((ch & ~1) === 0x2028) {
332
- return (previousIsBackslash ? 'u' : '\\u') + ((ch === 0x2028) ? '2028' : '2029');
333
- } else if (ch === 10 || ch === 13) { // \n, \r
334
- return (previousIsBackslash ? '' : '\\') + ((ch === 10) ? 'n' : 'r');
335
- }
336
- return String.fromCharCode(ch);
337
- }
338
-
339
- function generateRegExp(reg) {
340
- var match, result, flags, i, iz, ch, characterInBrack, previousIsBackslash;
341
-
342
- result = reg.toString();
343
-
344
- if (reg.source) {
345
- // extract flag from toString result
346
- match = result.match(/\/([^/]*)$/);
347
- if (!match) {
348
- return result;
349
- }
350
-
351
- flags = match[1];
352
- result = '';
353
-
354
- characterInBrack = false;
355
- previousIsBackslash = false;
356
- for (i = 0, iz = reg.source.length; i < iz; ++i) {
357
- ch = reg.source.charCodeAt(i);
358
-
359
- if (!previousIsBackslash) {
360
- if (characterInBrack) {
361
- if (ch === 93) { // ]
362
- characterInBrack = false;
363
- }
364
- } else {
365
- if (ch === 47) { // /
366
- result += '\\';
367
- } else if (ch === 91) { // [
368
- characterInBrack = true;
369
- }
370
- }
371
- result += escapeRegExpCharacter(ch, previousIsBackslash);
372
- previousIsBackslash = ch === 92; // \
373
- } else {
374
- // if new RegExp("\\\n') is provided, create /\n/
375
- result += escapeRegExpCharacter(ch, previousIsBackslash);
376
- // prevent like /\\[/]/
377
- previousIsBackslash = false;
378
- }
379
- }
380
-
381
- return '/' + result + '/' + flags;
382
- }
383
-
384
- return result;
385
- }
386
-
387
- function escapeAllowedCharacter(code, next) {
388
- var hex;
389
-
390
- if (code === 0x08 /* \b */) {
391
- return '\\b';
392
- }
393
-
394
- if (code === 0x0C /* \f */) {
395
- return '\\f';
396
- }
397
-
398
- if (code === 0x09 /* \t */) {
399
- return '\\t';
400
- }
401
-
402
- hex = code.toString(16).toUpperCase();
403
- if (json || code > 0xFF) {
404
- return '\\u' + '0000'.slice(hex.length) + hex;
405
- } else if (code === 0x0000 && !esutils.code.isDecimalDigit(next)) {
406
- return '\\0';
407
- } else if (code === 0x000B /* \v */) { // '\v'
408
- return '\\x0B';
409
- } else {
410
- return '\\x' + '00'.slice(hex.length) + hex;
411
- }
412
- }
413
-
414
- function escapeDisallowedCharacter(code) {
415
- if (code === 0x5C /* \ */) {
416
- return '\\\\';
417
- }
418
-
419
- if (code === 0x0A /* \n */) {
420
- return '\\n';
421
- }
422
-
423
- if (code === 0x0D /* \r */) {
424
- return '\\r';
425
- }
426
-
427
- if (code === 0x2028) {
428
- return '\\u2028';
429
- }
430
-
431
- if (code === 0x2029) {
432
- return '\\u2029';
433
- }
434
-
435
- throw new Error('Incorrectly classified character');
436
- }
437
-
438
- function escapeDirective(str) {
439
- var i, iz, code, quote;
440
-
441
- quote = quotes === 'double' ? '"' : '\'';
442
- for (i = 0, iz = str.length; i < iz; ++i) {
443
- code = str.charCodeAt(i);
444
- if (code === 0x27 /* ' */) {
445
- quote = '"';
446
- break;
447
- } else if (code === 0x22 /* " */) {
448
- quote = '\'';
449
- break;
450
- } else if (code === 0x5C /* \ */) {
451
- ++i;
452
- }
453
- }
454
-
455
- return quote + str + quote;
456
- }
457
-
458
- function escapeString(str) {
459
- var result = '', i, len, code, singleQuotes = 0, doubleQuotes = 0, single, quote;
460
-
461
- for (i = 0, len = str.length; i < len; ++i) {
462
- code = str.charCodeAt(i);
463
- if (code === 0x27 /* ' */) {
464
- ++singleQuotes;
465
- } else if (code === 0x22 /* " */) {
466
- ++doubleQuotes;
467
- } else if (code === 0x2F /* / */ && json) {
468
- result += '\\';
469
- } else if (esutils.code.isLineTerminator(code) || code === 0x5C /* \ */) {
470
- result += escapeDisallowedCharacter(code);
471
- continue;
472
- } else if (!esutils.code.isIdentifierPartES5(code) && (json && code < 0x20 /* SP */ || !json && !escapeless && (code < 0x20 /* SP */ || code > 0x7E /* ~ */))) {
473
- result += escapeAllowedCharacter(code, str.charCodeAt(i + 1));
474
- continue;
475
- }
476
- result += String.fromCharCode(code);
477
- }
478
-
479
- single = !(quotes === 'double' || (quotes === 'auto' && doubleQuotes < singleQuotes));
480
- quote = single ? '\'' : '"';
481
-
482
- if (!(single ? singleQuotes : doubleQuotes)) {
483
- return quote + result + quote;
484
- }
485
-
486
- str = result;
487
- result = quote;
488
-
489
- for (i = 0, len = str.length; i < len; ++i) {
490
- code = str.charCodeAt(i);
491
- if ((code === 0x27 /* ' */ && single) || (code === 0x22 /* " */ && !single)) {
492
- result += '\\';
493
- }
494
- result += String.fromCharCode(code);
495
- }
496
-
497
- return result + quote;
498
- }
499
-
500
- /**
501
- * flatten an array to a string, where the array can contain
502
- * either strings or nested arrays
503
- */
504
- function flattenToString(arr) {
505
- var i, iz, elem, result = '';
506
- for (i = 0, iz = arr.length; i < iz; ++i) {
507
- elem = arr[i];
508
- result += isArray(elem) ? flattenToString(elem) : elem;
509
- }
510
- return result;
511
- }
512
-
513
- /**
514
- * convert generated to a SourceNode when source maps are enabled.
515
- */
516
- function toSourceNodeWhenNeeded(generated, node) {
517
- if (!sourceMap) {
518
- // with no source maps, generated is either an
519
- // array or a string. if an array, flatten it.
520
- // if a string, just return it
521
- if (isArray(generated)) {
522
- return flattenToString(generated);
523
- } else {
524
- return generated;
525
- }
526
- }
527
- if (node == null) {
528
- if (generated instanceof SourceNode) {
529
- return generated;
530
- } else {
531
- node = {};
532
- }
533
- }
534
- if (node.loc == null) {
535
- return new SourceNode(null, null, sourceMap, generated, node.name || null);
536
- }
537
- return new SourceNode(node.loc.start.line, node.loc.start.column, (sourceMap === true ? node.loc.source || null : sourceMap), generated, node.name || null);
538
- }
539
-
540
- function noEmptySpace() {
541
- return (space) ? space : ' ';
542
- }
543
-
544
- function join(left, right) {
545
- var leftSource,
546
- rightSource,
547
- leftCharCode,
548
- rightCharCode;
549
-
550
- leftSource = toSourceNodeWhenNeeded(left).toString();
551
- if (leftSource.length === 0) {
552
- return [right];
553
- }
554
-
555
- rightSource = toSourceNodeWhenNeeded(right).toString();
556
- if (rightSource.length === 0) {
557
- return [left];
558
- }
559
-
560
- leftCharCode = leftSource.charCodeAt(leftSource.length - 1);
561
- rightCharCode = rightSource.charCodeAt(0);
562
-
563
- if ((leftCharCode === 0x2B /* + */ || leftCharCode === 0x2D /* - */) && leftCharCode === rightCharCode ||
564
- esutils.code.isIdentifierPartES5(leftCharCode) && esutils.code.isIdentifierPartES5(rightCharCode) ||
565
- leftCharCode === 0x2F /* / */ && rightCharCode === 0x69 /* i */) { // infix word operators all start with `i`
566
- return [left, noEmptySpace(), right];
567
- } else if (esutils.code.isWhiteSpace(leftCharCode) || esutils.code.isLineTerminator(leftCharCode) ||
568
- esutils.code.isWhiteSpace(rightCharCode) || esutils.code.isLineTerminator(rightCharCode)) {
569
- return [left, right];
570
- }
571
- return [left, space, right];
572
- }
573
-
574
- function addIndent(stmt) {
575
- return [base, stmt];
576
- }
577
-
578
- function withIndent(fn) {
579
- var previousBase;
580
- previousBase = base;
581
- base += indent;
582
- fn(base);
583
- base = previousBase;
584
- }
585
-
586
- function calculateSpaces(str) {
587
- var i;
588
- for (i = str.length - 1; i >= 0; --i) {
589
- if (esutils.code.isLineTerminator(str.charCodeAt(i))) {
590
- break;
591
- }
592
- }
593
- return (str.length - 1) - i;
594
- }
595
-
596
- function adjustMultilineComment(value, specialBase) {
597
- var array, i, len, line, j, spaces, previousBase, sn;
598
-
599
- array = value.split(/\r\n|[\r\n]/);
600
- spaces = Number.MAX_VALUE;
601
-
602
- // first line doesn't have indentation
603
- for (i = 1, len = array.length; i < len; ++i) {
604
- line = array[i];
605
- j = 0;
606
- while (j < line.length && esutils.code.isWhiteSpace(line.charCodeAt(j))) {
607
- ++j;
608
- }
609
- if (spaces > j) {
610
- spaces = j;
611
- }
612
- }
613
-
614
- if (typeof specialBase !== 'undefined') {
615
- // pattern like
616
- // {
617
- // var t = 20; /*
618
- // * this is comment
619
- // */
620
- // }
621
- previousBase = base;
622
- if (array[1][spaces] === '*') {
623
- specialBase += ' ';
624
- }
625
- base = specialBase;
626
- } else {
627
- if (spaces & 1) {
628
- // /*
629
- // *
630
- // */
631
- // If spaces are odd number, above pattern is considered.
632
- // We waste 1 space.
633
- --spaces;
634
- }
635
- previousBase = base;
636
- }
637
-
638
- for (i = 1, len = array.length; i < len; ++i) {
639
- sn = toSourceNodeWhenNeeded(addIndent(array[i].slice(spaces)));
640
- array[i] = sourceMap ? sn.join('') : sn;
641
- }
642
-
643
- base = previousBase;
644
-
645
- return array.join('\n');
646
- }
647
-
648
- function generateComment(comment, specialBase) {
649
- if (comment.type === 'Line') {
650
- if (endsWithLineTerminator(comment.value)) {
651
- return '//' + comment.value;
652
- } else {
653
- // Always use LineTerminator
654
- var result = '//' + comment.value;
655
- if (!preserveBlankLines) {
656
- result += '\n';
657
- }
658
- return result;
659
- }
660
- }
661
- if (extra.format.indent.adjustMultilineComment && /[\n\r]/.test(comment.value)) {
662
- return adjustMultilineComment('/*' + comment.value + '*/', specialBase);
663
- }
664
- return '/*' + comment.value + '*/';
665
- }
666
-
667
- function addComments(stmt, result) {
668
- var i, len, comment, save, tailingToStatement, specialBase, fragment,
669
- extRange, range, prevRange, prefix, infix, suffix, count;
670
-
671
- if (stmt.leadingComments && stmt.leadingComments.length > 0) {
672
- save = result;
673
-
674
- if (preserveBlankLines) {
675
- comment = stmt.leadingComments[0];
676
- result = [];
677
-
678
- extRange = comment.extendedRange;
679
- range = comment.range;
680
-
681
- prefix = sourceCode.substring(extRange[0], range[0]);
682
- count = (prefix.match(/\n/g) || []).length;
683
- if (count > 0) {
684
- result.push(stringRepeat('\n', count));
685
- result.push(addIndent(generateComment(comment)));
686
- } else {
687
- result.push(prefix);
688
- result.push(generateComment(comment));
689
- }
690
-
691
- prevRange = range;
692
-
693
- for (i = 1, len = stmt.leadingComments.length; i < len; i++) {
694
- comment = stmt.leadingComments[i];
695
- range = comment.range;
696
-
697
- infix = sourceCode.substring(prevRange[1], range[0]);
698
- count = (infix.match(/\n/g) || []).length;
699
- result.push(stringRepeat('\n', count));
700
- result.push(addIndent(generateComment(comment)));
701
-
702
- prevRange = range;
703
- }
704
-
705
- suffix = sourceCode.substring(range[1], extRange[1]);
706
- count = (suffix.match(/\n/g) || []).length;
707
- result.push(stringRepeat('\n', count));
708
- } else {
709
- comment = stmt.leadingComments[0];
710
- result = [];
711
- if (safeConcatenation && stmt.type === Syntax.Program && stmt.body.length === 0) {
712
- result.push('\n');
713
- }
714
- result.push(generateComment(comment));
715
- if (!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())) {
716
- result.push('\n');
717
- }
718
-
719
- for (i = 1, len = stmt.leadingComments.length; i < len; ++i) {
720
- comment = stmt.leadingComments[i];
721
- fragment = [generateComment(comment)];
722
- if (!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())) {
723
- fragment.push('\n');
724
- }
725
- result.push(addIndent(fragment));
726
- }
727
- }
728
-
729
- result.push(addIndent(save));
730
- }
731
-
732
- if (stmt.trailingComments) {
733
-
734
- if (preserveBlankLines) {
735
- comment = stmt.trailingComments[0];
736
- extRange = comment.extendedRange;
737
- range = comment.range;
738
-
739
- prefix = sourceCode.substring(extRange[0], range[0]);
740
- count = (prefix.match(/\n/g) || []).length;
741
-
742
- if (count > 0) {
743
- result.push(stringRepeat('\n', count));
744
- result.push(addIndent(generateComment(comment)));
745
- } else {
746
- result.push(prefix);
747
- result.push(generateComment(comment));
748
- }
749
- } else {
750
- tailingToStatement = !endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString());
751
- specialBase = stringRepeat(' ', calculateSpaces(toSourceNodeWhenNeeded([base, result, indent]).toString()));
752
- for (i = 0, len = stmt.trailingComments.length; i < len; ++i) {
753
- comment = stmt.trailingComments[i];
754
- if (tailingToStatement) {
755
- // We assume target like following script
756
- //
757
- // var t = 20; /**
758
- // * This is comment of t
759
- // */
760
- if (i === 0) {
761
- // first case
762
- result = [result, indent];
763
- } else {
764
- result = [result, specialBase];
765
- }
766
- result.push(generateComment(comment, specialBase));
767
- } else {
768
- result = [result, addIndent(generateComment(comment))];
769
- }
770
- if (i !== len - 1 && !endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())) {
771
- result = [result, '\n'];
772
- }
773
- }
774
- }
775
- }
776
-
777
- return result;
778
- }
779
-
780
- function generateBlankLines(start, end, result) {
781
- var j, newlineCount = 0;
782
-
783
- for (j = start; j < end; j++) {
784
- if (sourceCode[j] === '\n') {
785
- newlineCount++;
786
- }
787
- }
788
-
789
- for (j = 1; j < newlineCount; j++) {
790
- result.push(newline);
791
- }
792
- }
793
-
794
- function parenthesize(text, current, should) {
795
- if (current < should) {
796
- return ['(', text, ')'];
797
- }
798
- return text;
799
- }
800
-
801
- function generateVerbatimString(string) {
802
- var i, iz, result;
803
- result = string.split(/\r\n|\n/);
804
- for (i = 1, iz = result.length; i < iz; i++) {
805
- result[i] = newline + base + result[i];
806
- }
807
- return result;
808
- }
809
-
810
- function generateVerbatim(expr, precedence) {
811
- var verbatim, result, prec;
812
- verbatim = expr[extra.verbatim];
813
-
814
- if (typeof verbatim === 'string') {
815
- result = parenthesize(generateVerbatimString(verbatim), Precedence.Sequence, precedence);
816
- } else {
817
- // verbatim is object
818
- result = generateVerbatimString(verbatim.content);
819
- prec = (verbatim.precedence != null) ? verbatim.precedence : Precedence.Sequence;
820
- result = parenthesize(result, prec, precedence);
821
- }
822
-
823
- return toSourceNodeWhenNeeded(result, expr);
824
- }
825
-
826
- function CodeGenerator() {
827
- }
828
-
829
- // Helpers.
830
-
831
- CodeGenerator.prototype.maybeBlock = function(stmt, flags) {
832
- var result, noLeadingComment, that = this;
833
-
834
- noLeadingComment = !extra.comment || !stmt.leadingComments;
835
-
836
- if (stmt.type === Syntax.BlockStatement && noLeadingComment) {
837
- return [space, this.generateStatement(stmt, flags)];
838
- }
839
-
840
- if (stmt.type === Syntax.EmptyStatement && noLeadingComment) {
841
- return ';';
842
- }
843
-
844
- withIndent(function () {
845
- result = [
846
- newline,
847
- addIndent(that.generateStatement(stmt, flags))
848
- ];
849
- });
850
-
851
- return result;
852
- };
853
-
854
- CodeGenerator.prototype.maybeBlockSuffix = function (stmt, result) {
855
- var ends = endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString());
856
- if (stmt.type === Syntax.BlockStatement && (!extra.comment || !stmt.leadingComments) && !ends) {
857
- return [result, space];
858
- }
859
- if (ends) {
860
- return [result, base];
861
- }
862
- return [result, newline, base];
863
- };
864
-
865
- function generateIdentifier(node) {
866
- return toSourceNodeWhenNeeded(node.name, node);
867
- }
868
-
869
- function generateAsyncPrefix(node, spaceRequired) {
870
- return node.async ? 'async' + (spaceRequired ? noEmptySpace() : space) : '';
871
- }
872
-
873
- function generateStarSuffix(node) {
874
- var isGenerator = node.generator && !extra.moz.starlessGenerator;
875
- return isGenerator ? '*' + space : '';
876
- }
877
-
878
- function generateMethodPrefix(prop) {
879
- var func = prop.value;
880
- if (func.async) {
881
- return generateAsyncPrefix(func, !prop.computed);
882
- } else {
883
- // avoid space before method name
884
- return generateStarSuffix(func) ? '*' : '';
885
- }
886
- }
887
-
888
- CodeGenerator.prototype.generatePattern = function (node, precedence, flags) {
889
- if (node.type === Syntax.Identifier) {
890
- return generateIdentifier(node);
891
- }
892
- return this.generateExpression(node, precedence, flags);
893
- };
894
-
895
- CodeGenerator.prototype.generateFunctionParams = function (node) {
896
- var i, iz, result, hasDefault;
897
-
898
- hasDefault = false;
899
-
900
- if (node.type === Syntax.ArrowFunctionExpression &&
901
- !node.rest && (!node.defaults || node.defaults.length === 0) &&
902
- node.params.length === 1 && node.params[0].type === Syntax.Identifier) {
903
- // arg => { } case
904
- result = [generateAsyncPrefix(node, true), generateIdentifier(node.params[0])];
905
- } else {
906
- result = node.type === Syntax.ArrowFunctionExpression ? [generateAsyncPrefix(node, false)] : [];
907
- result.push('(');
908
- if (node.defaults) {
909
- hasDefault = true;
910
- }
911
- for (i = 0, iz = node.params.length; i < iz; ++i) {
912
- if (hasDefault && node.defaults[i]) {
913
- // Handle default values.
914
- result.push(this.generateAssignment(node.params[i], node.defaults[i], '=', Precedence.Assignment, E_TTT));
915
- } else {
916
- result.push(this.generatePattern(node.params[i], Precedence.Assignment, E_TTT));
917
- }
918
- if (i + 1 < iz) {
919
- result.push(',' + space);
920
- }
921
- }
922
-
923
- if (node.rest) {
924
- if (node.params.length) {
925
- result.push(',' + space);
926
- }
927
- result.push('...');
928
- result.push(generateIdentifier(node.rest));
929
- }
930
-
931
- result.push(')');
932
- }
933
-
934
- return result;
935
- };
936
-
937
- CodeGenerator.prototype.generateFunctionBody = function (node) {
938
- var result, expr;
939
-
940
- result = this.generateFunctionParams(node);
941
-
942
- if (node.type === Syntax.ArrowFunctionExpression) {
943
- result.push(space);
944
- result.push('=>');
945
- }
946
-
947
- if (node.expression) {
948
- result.push(space);
949
- expr = this.generateExpression(node.body, Precedence.Assignment, E_TTT);
950
- if (expr.toString().charAt(0) === '{') {
951
- expr = ['(', expr, ')'];
952
- }
953
- result.push(expr);
954
- } else {
955
- result.push(this.maybeBlock(node.body, S_TTFF));
956
- }
957
-
958
- return result;
959
- };
960
-
961
- CodeGenerator.prototype.generateIterationForStatement = function (operator, stmt, flags) {
962
- var result = ['for' + space + '('], that = this;
963
- withIndent(function () {
964
- if (stmt.left.type === Syntax.VariableDeclaration) {
965
- withIndent(function () {
966
- result.push(stmt.left.kind + noEmptySpace());
967
- result.push(that.generateStatement(stmt.left.declarations[0], S_FFFF));
968
- });
969
- } else {
970
- result.push(that.generateExpression(stmt.left, Precedence.Call, E_TTT));
971
- }
972
-
973
- result = join(result, operator);
974
- result = [join(
975
- result,
976
- that.generateExpression(stmt.right, Precedence.Sequence, E_TTT)
977
- ), ')'];
978
- });
979
- result.push(this.maybeBlock(stmt.body, flags));
980
- return result;
981
- };
982
-
983
- CodeGenerator.prototype.generatePropertyKey = function (expr, computed, value) {
984
- var result = [];
985
-
986
- if (computed) {
987
- result.push('[');
988
- }
989
-
990
- if (value.type === 'AssignmentPattern') {
991
- result.push(this.AssignmentPattern(value, Precedence.Sequence, E_TTT));
992
- } else {
993
- result.push(this.generateExpression(expr, Precedence.Sequence, E_TTT));
994
- }
995
-
996
- if (computed) {
997
- result.push(']');
998
- }
999
-
1000
- return result;
1001
- };
1002
-
1003
- CodeGenerator.prototype.generateAssignment = function (left, right, operator, precedence, flags) {
1004
- if (Precedence.Assignment < precedence) {
1005
- flags |= F_ALLOW_IN;
1006
- }
1007
-
1008
- return parenthesize(
1009
- [
1010
- this.generateExpression(left, Precedence.Call, flags),
1011
- space + operator + space,
1012
- this.generateExpression(right, Precedence.Assignment, flags)
1013
- ],
1014
- Precedence.Assignment,
1015
- precedence
1016
- );
1017
- };
1018
-
1019
- CodeGenerator.prototype.semicolon = function (flags) {
1020
- if (!semicolons && flags & F_SEMICOLON_OPT) {
1021
- return '';
1022
- }
1023
- return ';';
1024
- };
1025
-
1026
- // Statements.
1027
-
1028
- CodeGenerator.Statement = {
1029
-
1030
- BlockStatement: function (stmt, flags) {
1031
- var range, content, result = ['{', newline], that = this;
1032
-
1033
- withIndent(function () {
1034
- // handle functions without any code
1035
- if (stmt.body.length === 0 && preserveBlankLines) {
1036
- range = stmt.range;
1037
- if (range[1] - range[0] > 2) {
1038
- content = sourceCode.substring(range[0] + 1, range[1] - 1);
1039
- if (content[0] === '\n') {
1040
- result = ['{'];
1041
- }
1042
- result.push(content);
1043
- }
1044
- }
1045
-
1046
- var i, iz, fragment, bodyFlags;
1047
- bodyFlags = S_TFFF;
1048
- if (flags & F_FUNC_BODY) {
1049
- bodyFlags |= F_DIRECTIVE_CTX;
1050
- }
1051
-
1052
- for (i = 0, iz = stmt.body.length; i < iz; ++i) {
1053
- if (preserveBlankLines) {
1054
- // handle spaces before the first line
1055
- if (i === 0) {
1056
- if (stmt.body[0].leadingComments) {
1057
- range = stmt.body[0].leadingComments[0].extendedRange;
1058
- content = sourceCode.substring(range[0], range[1]);
1059
- if (content[0] === '\n') {
1060
- result = ['{'];
1061
- }
1062
- }
1063
- if (!stmt.body[0].leadingComments) {
1064
- generateBlankLines(stmt.range[0], stmt.body[0].range[0], result);
1065
- }
1066
- }
1067
-
1068
- // handle spaces between lines
1069
- if (i > 0) {
1070
- if (!stmt.body[i - 1].trailingComments && !stmt.body[i].leadingComments) {
1071
- generateBlankLines(stmt.body[i - 1].range[1], stmt.body[i].range[0], result);
1072
- }
1073
- }
1074
- }
1075
-
1076
- if (i === iz - 1) {
1077
- bodyFlags |= F_SEMICOLON_OPT;
1078
- }
1079
-
1080
- if (stmt.body[i].leadingComments && preserveBlankLines) {
1081
- fragment = that.generateStatement(stmt.body[i], bodyFlags);
1082
- } else {
1083
- fragment = addIndent(that.generateStatement(stmt.body[i], bodyFlags));
1084
- }
1085
-
1086
- result.push(fragment);
1087
- if (!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())) {
1088
- if (preserveBlankLines && i < iz - 1) {
1089
- // don't add a new line if there are leading coments
1090
- // in the next statement
1091
- if (!stmt.body[i + 1].leadingComments) {
1092
- result.push(newline);
1093
- }
1094
- } else {
1095
- result.push(newline);
1096
- }
1097
- }
1098
-
1099
- if (preserveBlankLines) {
1100
- // handle spaces after the last line
1101
- if (i === iz - 1) {
1102
- if (!stmt.body[i].trailingComments) {
1103
- generateBlankLines(stmt.body[i].range[1], stmt.range[1], result);
1104
- }
1105
- }
1106
- }
1107
- }
1108
- });
1109
-
1110
- result.push(addIndent('}'));
1111
- return result;
1112
- },
1113
-
1114
- BreakStatement: function (stmt, flags) {
1115
- if (stmt.label) {
1116
- return 'break ' + stmt.label.name + this.semicolon(flags);
1117
- }
1118
- return 'break' + this.semicolon(flags);
1119
- },
1120
-
1121
- ContinueStatement: function (stmt, flags) {
1122
- if (stmt.label) {
1123
- return 'continue ' + stmt.label.name + this.semicolon(flags);
1124
- }
1125
- return 'continue' + this.semicolon(flags);
1126
- },
1127
-
1128
- ClassBody: function (stmt, flags) {
1129
- var result = [ '{', newline], that = this;
1130
-
1131
- withIndent(function (indent) {
1132
- var i, iz;
1133
-
1134
- for (i = 0, iz = stmt.body.length; i < iz; ++i) {
1135
- result.push(indent);
1136
- result.push(that.generateExpression(stmt.body[i], Precedence.Sequence, E_TTT));
1137
- if (i + 1 < iz) {
1138
- result.push(newline);
1139
- }
1140
- }
1141
- });
1142
-
1143
- if (!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())) {
1144
- result.push(newline);
1145
- }
1146
- result.push(base);
1147
- result.push('}');
1148
- return result;
1149
- },
1150
-
1151
- ClassDeclaration: function (stmt, flags) {
1152
- var result, fragment;
1153
- result = ['class'];
1154
- if (stmt.id) {
1155
- result = join(result, this.generateExpression(stmt.id, Precedence.Sequence, E_TTT));
1156
- }
1157
- if (stmt.superClass) {
1158
- fragment = join('extends', this.generateExpression(stmt.superClass, Precedence.Assignment, E_TTT));
1159
- result = join(result, fragment);
1160
- }
1161
- result.push(space);
1162
- result.push(this.generateStatement(stmt.body, S_TFFT));
1163
- return result;
1164
- },
1165
-
1166
- DirectiveStatement: function (stmt, flags) {
1167
- if (extra.raw && stmt.raw) {
1168
- return stmt.raw + this.semicolon(flags);
1169
- }
1170
- return escapeDirective(stmt.directive) + this.semicolon(flags);
1171
- },
1172
-
1173
- DoWhileStatement: function (stmt, flags) {
1174
- // Because `do 42 while (cond)` is Syntax Error. We need semicolon.
1175
- var result = join('do', this.maybeBlock(stmt.body, S_TFFF));
1176
- result = this.maybeBlockSuffix(stmt.body, result);
1177
- return join(result, [
1178
- 'while' + space + '(',
1179
- this.generateExpression(stmt.test, Precedence.Sequence, E_TTT),
1180
- ')' + this.semicolon(flags)
1181
- ]);
1182
- },
1183
-
1184
- CatchClause: function (stmt, flags) {
1185
- var result, that = this;
1186
- withIndent(function () {
1187
- var guard;
1188
-
1189
- result = [
1190
- 'catch' + space + '(',
1191
- that.generateExpression(stmt.param, Precedence.Sequence, E_TTT),
1192
- ')'
1193
- ];
1194
-
1195
- if (stmt.guard) {
1196
- guard = that.generateExpression(stmt.guard, Precedence.Sequence, E_TTT);
1197
- result.splice(2, 0, ' if ', guard);
1198
- }
1199
- });
1200
- result.push(this.maybeBlock(stmt.body, S_TFFF));
1201
- return result;
1202
- },
1203
-
1204
- DebuggerStatement: function (stmt, flags) {
1205
- return 'debugger' + this.semicolon(flags);
1206
- },
1207
-
1208
- EmptyStatement: function (stmt, flags) {
1209
- return ';';
1210
- },
1211
-
1212
- ExportDefaultDeclaration: function (stmt, flags) {
1213
- var result = [ 'export' ], bodyFlags;
1214
-
1215
- bodyFlags = (flags & F_SEMICOLON_OPT) ? S_TFFT : S_TFFF;
1216
-
1217
- // export default HoistableDeclaration[Default]
1218
- // export default AssignmentExpression[In] ;
1219
- result = join(result, 'default');
1220
- if (isStatement(stmt.declaration)) {
1221
- result = join(result, this.generateStatement(stmt.declaration, bodyFlags));
1222
- } else {
1223
- result = join(result, this.generateExpression(stmt.declaration, Precedence.Assignment, E_TTT) + this.semicolon(flags));
1224
- }
1225
- return result;
1226
- },
1227
-
1228
- ExportNamedDeclaration: function (stmt, flags) {
1229
- var result = [ 'export' ], bodyFlags, that = this;
1230
-
1231
- bodyFlags = (flags & F_SEMICOLON_OPT) ? S_TFFT : S_TFFF;
1232
-
1233
- // export VariableStatement
1234
- // export Declaration[Default]
1235
- if (stmt.declaration) {
1236
- return join(result, this.generateStatement(stmt.declaration, bodyFlags));
1237
- }
1238
-
1239
- // export ExportClause[NoReference] FromClause ;
1240
- // export ExportClause ;
1241
- if (stmt.specifiers) {
1242
- if (stmt.specifiers.length === 0) {
1243
- result = join(result, '{' + space + '}');
1244
- } else if (stmt.specifiers[0].type === Syntax.ExportBatchSpecifier) {
1245
- result = join(result, this.generateExpression(stmt.specifiers[0], Precedence.Sequence, E_TTT));
1246
- } else {
1247
- result = join(result, '{');
1248
- withIndent(function (indent) {
1249
- var i, iz;
1250
- result.push(newline);
1251
- for (i = 0, iz = stmt.specifiers.length; i < iz; ++i) {
1252
- result.push(indent);
1253
- result.push(that.generateExpression(stmt.specifiers[i], Precedence.Sequence, E_TTT));
1254
- if (i + 1 < iz) {
1255
- result.push(',' + newline);
1256
- }
1257
- }
1258
- });
1259
- if (!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())) {
1260
- result.push(newline);
1261
- }
1262
- result.push(base + '}');
1263
- }
1264
-
1265
- if (stmt.source) {
1266
- result = join(result, [
1267
- 'from' + space,
1268
- // ModuleSpecifier
1269
- this.generateExpression(stmt.source, Precedence.Sequence, E_TTT),
1270
- this.semicolon(flags)
1271
- ]);
1272
- } else {
1273
- result.push(this.semicolon(flags));
1274
- }
1275
- }
1276
- return result;
1277
- },
1278
-
1279
- ExportAllDeclaration: function (stmt, flags) {
1280
- // export * FromClause ;
1281
- return [
1282
- 'export' + space,
1283
- '*' + space,
1284
- 'from' + space,
1285
- // ModuleSpecifier
1286
- this.generateExpression(stmt.source, Precedence.Sequence, E_TTT),
1287
- this.semicolon(flags)
1288
- ];
1289
- },
1290
-
1291
- ExpressionStatement: function (stmt, flags) {
1292
- var result, fragment;
1293
-
1294
- function isClassPrefixed(fragment) {
1295
- var code;
1296
- if (fragment.slice(0, 5) !== 'class') {
1297
- return false;
1298
- }
1299
- code = fragment.charCodeAt(5);
1300
- return code === 0x7B /* '{' */ || esutils.code.isWhiteSpace(code) || esutils.code.isLineTerminator(code);
1301
- }
1302
-
1303
- function isFunctionPrefixed(fragment) {
1304
- var code;
1305
- if (fragment.slice(0, 8) !== 'function') {
1306
- return false;
1307
- }
1308
- code = fragment.charCodeAt(8);
1309
- return code === 0x28 /* '(' */ || esutils.code.isWhiteSpace(code) || code === 0x2A /* '*' */ || esutils.code.isLineTerminator(code);
1310
- }
1311
-
1312
- function isAsyncPrefixed(fragment) {
1313
- var code, i, iz;
1314
- if (fragment.slice(0, 5) !== 'async') {
1315
- return false;
1316
- }
1317
- if (!esutils.code.isWhiteSpace(fragment.charCodeAt(5))) {
1318
- return false;
1319
- }
1320
- for (i = 6, iz = fragment.length; i < iz; ++i) {
1321
- if (!esutils.code.isWhiteSpace(fragment.charCodeAt(i))) {
1322
- break;
1323
- }
1324
- }
1325
- if (i === iz) {
1326
- return false;
1327
- }
1328
- if (fragment.slice(i, i + 8) !== 'function') {
1329
- return false;
1330
- }
1331
- code = fragment.charCodeAt(i + 8);
1332
- return code === 0x28 /* '(' */ || esutils.code.isWhiteSpace(code) || code === 0x2A /* '*' */ || esutils.code.isLineTerminator(code);
1333
- }
1334
-
1335
- result = [this.generateExpression(stmt.expression, Precedence.Sequence, E_TTT)];
1336
- // 12.4 '{', 'function', 'class' is not allowed in this position.
1337
- // wrap expression with parentheses
1338
- fragment = toSourceNodeWhenNeeded(result).toString();
1339
- if (fragment.charCodeAt(0) === 0x7B /* '{' */ || // ObjectExpression
1340
- isClassPrefixed(fragment) ||
1341
- isFunctionPrefixed(fragment) ||
1342
- isAsyncPrefixed(fragment) ||
1343
- (directive && (flags & F_DIRECTIVE_CTX) && stmt.expression.type === Syntax.Literal && typeof stmt.expression.value === 'string')) {
1344
- result = ['(', result, ')' + this.semicolon(flags)];
1345
- } else {
1346
- result.push(this.semicolon(flags));
1347
- }
1348
- return result;
1349
- },
1350
-
1351
- ImportDeclaration: function (stmt, flags) {
1352
- // ES6: 15.2.1 valid import declarations:
1353
- // - import ImportClause FromClause ;
1354
- // - import ModuleSpecifier ;
1355
- var result, cursor, that = this;
1356
-
1357
- // If no ImportClause is present,
1358
- // this should be `import ModuleSpecifier` so skip `from`
1359
- // ModuleSpecifier is StringLiteral.
1360
- if (stmt.specifiers.length === 0) {
1361
- // import ModuleSpecifier ;
1362
- return [
1363
- 'import',
1364
- space,
1365
- // ModuleSpecifier
1366
- this.generateExpression(stmt.source, Precedence.Sequence, E_TTT),
1367
- this.semicolon(flags)
1368
- ];
1369
- }
1370
-
1371
- // import ImportClause FromClause ;
1372
- result = [
1373
- 'import'
1374
- ];
1375
- cursor = 0;
1376
-
1377
- // ImportedBinding
1378
- if (stmt.specifiers[cursor].type === Syntax.ImportDefaultSpecifier) {
1379
- result = join(result, [
1380
- this.generateExpression(stmt.specifiers[cursor], Precedence.Sequence, E_TTT)
1381
- ]);
1382
- ++cursor;
1383
- }
1384
-
1385
- if (stmt.specifiers[cursor]) {
1386
- if (cursor !== 0) {
1387
- result.push(',');
1388
- }
1389
-
1390
- if (stmt.specifiers[cursor].type === Syntax.ImportNamespaceSpecifier) {
1391
- // NameSpaceImport
1392
- result = join(result, [
1393
- space,
1394
- this.generateExpression(stmt.specifiers[cursor], Precedence.Sequence, E_TTT)
1395
- ]);
1396
- } else {
1397
- // NamedImports
1398
- result.push(space + '{');
1399
-
1400
- if ((stmt.specifiers.length - cursor) === 1) {
1401
- // import { ... } from "...";
1402
- result.push(space);
1403
- result.push(this.generateExpression(stmt.specifiers[cursor], Precedence.Sequence, E_TTT));
1404
- result.push(space + '}' + space);
1405
- } else {
1406
- // import {
1407
- // ...,
1408
- // ...,
1409
- // } from "...";
1410
- withIndent(function (indent) {
1411
- var i, iz;
1412
- result.push(newline);
1413
- for (i = cursor, iz = stmt.specifiers.length; i < iz; ++i) {
1414
- result.push(indent);
1415
- result.push(that.generateExpression(stmt.specifiers[i], Precedence.Sequence, E_TTT));
1416
- if (i + 1 < iz) {
1417
- result.push(',' + newline);
1418
- }
1419
- }
1420
- });
1421
- if (!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())) {
1422
- result.push(newline);
1423
- }
1424
- result.push(base + '}' + space);
1425
- }
1426
- }
1427
- }
1428
-
1429
- result = join(result, [
1430
- 'from' + space,
1431
- // ModuleSpecifier
1432
- this.generateExpression(stmt.source, Precedence.Sequence, E_TTT),
1433
- this.semicolon(flags)
1434
- ]);
1435
- return result;
1436
- },
1437
-
1438
- VariableDeclarator: function (stmt, flags) {
1439
- var itemFlags = (flags & F_ALLOW_IN) ? E_TTT : E_FTT;
1440
- if (stmt.init) {
1441
- return [
1442
- this.generateExpression(stmt.id, Precedence.Assignment, itemFlags),
1443
- space,
1444
- '=',
1445
- space,
1446
- this.generateExpression(stmt.init, Precedence.Assignment, itemFlags)
1447
- ];
1448
- }
1449
- return this.generatePattern(stmt.id, Precedence.Assignment, itemFlags);
1450
- },
1451
-
1452
- VariableDeclaration: function (stmt, flags) {
1453
- // VariableDeclarator is typed as Statement,
1454
- // but joined with comma (not LineTerminator).
1455
- // So if comment is attached to target node, we should specialize.
1456
- var result, i, iz, node, bodyFlags, that = this;
1457
-
1458
- result = [ stmt.kind ];
1459
-
1460
- bodyFlags = (flags & F_ALLOW_IN) ? S_TFFF : S_FFFF;
1461
-
1462
- function block() {
1463
- node = stmt.declarations[0];
1464
- if (extra.comment && node.leadingComments) {
1465
- result.push('\n');
1466
- result.push(addIndent(that.generateStatement(node, bodyFlags)));
1467
- } else {
1468
- result.push(noEmptySpace());
1469
- result.push(that.generateStatement(node, bodyFlags));
1470
- }
1471
-
1472
- for (i = 1, iz = stmt.declarations.length; i < iz; ++i) {
1473
- node = stmt.declarations[i];
1474
- if (extra.comment && node.leadingComments) {
1475
- result.push(',' + newline);
1476
- result.push(addIndent(that.generateStatement(node, bodyFlags)));
1477
- } else {
1478
- result.push(',' + space);
1479
- result.push(that.generateStatement(node, bodyFlags));
1480
- }
1481
- }
1482
- }
1483
-
1484
- if (stmt.declarations.length > 1) {
1485
- withIndent(block);
1486
- } else {
1487
- block();
1488
- }
1489
-
1490
- result.push(this.semicolon(flags));
1491
-
1492
- return result;
1493
- },
1494
-
1495
- ThrowStatement: function (stmt, flags) {
1496
- return [join(
1497
- 'throw',
1498
- this.generateExpression(stmt.argument, Precedence.Sequence, E_TTT)
1499
- ), this.semicolon(flags)];
1500
- },
1501
-
1502
- TryStatement: function (stmt, flags) {
1503
- var result, i, iz, guardedHandlers;
1504
-
1505
- result = ['try', this.maybeBlock(stmt.block, S_TFFF)];
1506
- result = this.maybeBlockSuffix(stmt.block, result);
1507
-
1508
- if (stmt.handlers) {
1509
- // old interface
1510
- for (i = 0, iz = stmt.handlers.length; i < iz; ++i) {
1511
- result = join(result, this.generateStatement(stmt.handlers[i], S_TFFF));
1512
- if (stmt.finalizer || i + 1 !== iz) {
1513
- result = this.maybeBlockSuffix(stmt.handlers[i].body, result);
1514
- }
1515
- }
1516
- } else {
1517
- guardedHandlers = stmt.guardedHandlers || [];
1518
-
1519
- for (i = 0, iz = guardedHandlers.length; i < iz; ++i) {
1520
- result = join(result, this.generateStatement(guardedHandlers[i], S_TFFF));
1521
- if (stmt.finalizer || i + 1 !== iz) {
1522
- result = this.maybeBlockSuffix(guardedHandlers[i].body, result);
1523
- }
1524
- }
1525
-
1526
- // new interface
1527
- if (stmt.handler) {
1528
- if (isArray(stmt.handler)) {
1529
- for (i = 0, iz = stmt.handler.length; i < iz; ++i) {
1530
- result = join(result, this.generateStatement(stmt.handler[i], S_TFFF));
1531
- if (stmt.finalizer || i + 1 !== iz) {
1532
- result = this.maybeBlockSuffix(stmt.handler[i].body, result);
1533
- }
1534
- }
1535
- } else {
1536
- result = join(result, this.generateStatement(stmt.handler, S_TFFF));
1537
- if (stmt.finalizer) {
1538
- result = this.maybeBlockSuffix(stmt.handler.body, result);
1539
- }
1540
- }
1541
- }
1542
- }
1543
- if (stmt.finalizer) {
1544
- result = join(result, ['finally', this.maybeBlock(stmt.finalizer, S_TFFF)]);
1545
- }
1546
- return result;
1547
- },
1548
-
1549
- SwitchStatement: function (stmt, flags) {
1550
- var result, fragment, i, iz, bodyFlags, that = this;
1551
- withIndent(function () {
1552
- result = [
1553
- 'switch' + space + '(',
1554
- that.generateExpression(stmt.discriminant, Precedence.Sequence, E_TTT),
1555
- ')' + space + '{' + newline
1556
- ];
1557
- });
1558
- if (stmt.cases) {
1559
- bodyFlags = S_TFFF;
1560
- for (i = 0, iz = stmt.cases.length; i < iz; ++i) {
1561
- if (i === iz - 1) {
1562
- bodyFlags |= F_SEMICOLON_OPT;
1563
- }
1564
- fragment = addIndent(this.generateStatement(stmt.cases[i], bodyFlags));
1565
- result.push(fragment);
1566
- if (!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())) {
1567
- result.push(newline);
1568
- }
1569
- }
1570
- }
1571
- result.push(addIndent('}'));
1572
- return result;
1573
- },
1574
-
1575
- SwitchCase: function (stmt, flags) {
1576
- var result, fragment, i, iz, bodyFlags, that = this;
1577
- withIndent(function () {
1578
- if (stmt.test) {
1579
- result = [
1580
- join('case', that.generateExpression(stmt.test, Precedence.Sequence, E_TTT)),
1581
- ':'
1582
- ];
1583
- } else {
1584
- result = ['default:'];
1585
- }
1586
-
1587
- i = 0;
1588
- iz = stmt.consequent.length;
1589
- if (iz && stmt.consequent[0].type === Syntax.BlockStatement) {
1590
- fragment = that.maybeBlock(stmt.consequent[0], S_TFFF);
1591
- result.push(fragment);
1592
- i = 1;
1593
- }
1594
-
1595
- if (i !== iz && !endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())) {
1596
- result.push(newline);
1597
- }
1598
-
1599
- bodyFlags = S_TFFF;
1600
- for (; i < iz; ++i) {
1601
- if (i === iz - 1 && flags & F_SEMICOLON_OPT) {
1602
- bodyFlags |= F_SEMICOLON_OPT;
1603
- }
1604
- fragment = addIndent(that.generateStatement(stmt.consequent[i], bodyFlags));
1605
- result.push(fragment);
1606
- if (i + 1 !== iz && !endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())) {
1607
- result.push(newline);
1608
- }
1609
- }
1610
- });
1611
- return result;
1612
- },
1613
-
1614
- IfStatement: function (stmt, flags) {
1615
- var result, bodyFlags, semicolonOptional, that = this;
1616
- withIndent(function () {
1617
- result = [
1618
- 'if' + space + '(',
1619
- that.generateExpression(stmt.test, Precedence.Sequence, E_TTT),
1620
- ')'
1621
- ];
1622
- });
1623
- semicolonOptional = flags & F_SEMICOLON_OPT;
1624
- bodyFlags = S_TFFF;
1625
- if (semicolonOptional) {
1626
- bodyFlags |= F_SEMICOLON_OPT;
1627
- }
1628
- if (stmt.alternate) {
1629
- result.push(this.maybeBlock(stmt.consequent, S_TFFF));
1630
- result = this.maybeBlockSuffix(stmt.consequent, result);
1631
- if (stmt.alternate.type === Syntax.IfStatement) {
1632
- result = join(result, ['else ', this.generateStatement(stmt.alternate, bodyFlags)]);
1633
- } else {
1634
- result = join(result, join('else', this.maybeBlock(stmt.alternate, bodyFlags)));
1635
- }
1636
- } else {
1637
- result.push(this.maybeBlock(stmt.consequent, bodyFlags));
1638
- }
1639
- return result;
1640
- },
1641
-
1642
- ForStatement: function (stmt, flags) {
1643
- var result, that = this;
1644
- withIndent(function () {
1645
- result = ['for' + space + '('];
1646
- if (stmt.init) {
1647
- if (stmt.init.type === Syntax.VariableDeclaration) {
1648
- result.push(that.generateStatement(stmt.init, S_FFFF));
1649
- } else {
1650
- // F_ALLOW_IN becomes false.
1651
- result.push(that.generateExpression(stmt.init, Precedence.Sequence, E_FTT));
1652
- result.push(';');
1653
- }
1654
- } else {
1655
- result.push(';');
1656
- }
1657
-
1658
- if (stmt.test) {
1659
- result.push(space);
1660
- result.push(that.generateExpression(stmt.test, Precedence.Sequence, E_TTT));
1661
- result.push(';');
1662
- } else {
1663
- result.push(';');
1664
- }
1665
-
1666
- if (stmt.update) {
1667
- result.push(space);
1668
- result.push(that.generateExpression(stmt.update, Precedence.Sequence, E_TTT));
1669
- result.push(')');
1670
- } else {
1671
- result.push(')');
1672
- }
1673
- });
1674
-
1675
- result.push(this.maybeBlock(stmt.body, flags & F_SEMICOLON_OPT ? S_TFFT : S_TFFF));
1676
- return result;
1677
- },
1678
-
1679
- ForInStatement: function (stmt, flags) {
1680
- return this.generateIterationForStatement('in', stmt, flags & F_SEMICOLON_OPT ? S_TFFT : S_TFFF);
1681
- },
1682
-
1683
- ForOfStatement: function (stmt, flags) {
1684
- return this.generateIterationForStatement('of', stmt, flags & F_SEMICOLON_OPT ? S_TFFT : S_TFFF);
1685
- },
1686
-
1687
- LabeledStatement: function (stmt, flags) {
1688
- return [stmt.label.name + ':', this.maybeBlock(stmt.body, flags & F_SEMICOLON_OPT ? S_TFFT : S_TFFF)];
1689
- },
1690
-
1691
- Program: function (stmt, flags) {
1692
- var result, fragment, i, iz, bodyFlags;
1693
- iz = stmt.body.length;
1694
- result = [safeConcatenation && iz > 0 ? '\n' : ''];
1695
- bodyFlags = S_TFTF;
1696
- for (i = 0; i < iz; ++i) {
1697
- if (!safeConcatenation && i === iz - 1) {
1698
- bodyFlags |= F_SEMICOLON_OPT;
1699
- }
1700
-
1701
- if (preserveBlankLines) {
1702
- // handle spaces before the first line
1703
- if (i === 0) {
1704
- if (!stmt.body[0].leadingComments) {
1705
- generateBlankLines(stmt.range[0], stmt.body[i].range[0], result);
1706
- }
1707
- }
1708
-
1709
- // handle spaces between lines
1710
- if (i > 0) {
1711
- if (!stmt.body[i - 1].trailingComments && !stmt.body[i].leadingComments) {
1712
- generateBlankLines(stmt.body[i - 1].range[1], stmt.body[i].range[0], result);
1713
- }
1714
- }
1715
- }
1716
-
1717
- fragment = addIndent(this.generateStatement(stmt.body[i], bodyFlags));
1718
- result.push(fragment);
1719
- if (i + 1 < iz && !endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())) {
1720
- if (preserveBlankLines) {
1721
- if (!stmt.body[i + 1].leadingComments) {
1722
- result.push(newline);
1723
- }
1724
- } else {
1725
- result.push(newline);
1726
- }
1727
- }
1728
-
1729
- if (preserveBlankLines) {
1730
- // handle spaces after the last line
1731
- if (i === iz - 1) {
1732
- if (!stmt.body[i].trailingComments) {
1733
- generateBlankLines(stmt.body[i].range[1], stmt.range[1], result);
1734
- }
1735
- }
1736
- }
1737
- }
1738
- return result;
1739
- },
1740
-
1741
- FunctionDeclaration: function (stmt, flags) {
1742
- return [
1743
- generateAsyncPrefix(stmt, true),
1744
- 'function',
1745
- generateStarSuffix(stmt) || noEmptySpace(),
1746
- stmt.id ? generateIdentifier(stmt.id) : '',
1747
- this.generateFunctionBody(stmt)
1748
- ];
1749
- },
1750
-
1751
- ReturnStatement: function (stmt, flags) {
1752
- if (stmt.argument) {
1753
- return [join(
1754
- 'return',
1755
- this.generateExpression(stmt.argument, Precedence.Sequence, E_TTT)
1756
- ), this.semicolon(flags)];
1757
- }
1758
- return ['return' + this.semicolon(flags)];
1759
- },
1760
-
1761
- WhileStatement: function (stmt, flags) {
1762
- var result, that = this;
1763
- withIndent(function () {
1764
- result = [
1765
- 'while' + space + '(',
1766
- that.generateExpression(stmt.test, Precedence.Sequence, E_TTT),
1767
- ')'
1768
- ];
1769
- });
1770
- result.push(this.maybeBlock(stmt.body, flags & F_SEMICOLON_OPT ? S_TFFT : S_TFFF));
1771
- return result;
1772
- },
1773
-
1774
- WithStatement: function (stmt, flags) {
1775
- var result, that = this;
1776
- withIndent(function () {
1777
- result = [
1778
- 'with' + space + '(',
1779
- that.generateExpression(stmt.object, Precedence.Sequence, E_TTT),
1780
- ')'
1781
- ];
1782
- });
1783
- result.push(this.maybeBlock(stmt.body, flags & F_SEMICOLON_OPT ? S_TFFT : S_TFFF));
1784
- return result;
1785
- }
1786
-
1787
- };
1788
-
1789
- merge(CodeGenerator.prototype, CodeGenerator.Statement);
1790
-
1791
- // Expressions.
1792
-
1793
- CodeGenerator.Expression = {
1794
-
1795
- SequenceExpression: function (expr, precedence, flags) {
1796
- var result, i, iz;
1797
- if (Precedence.Sequence < precedence) {
1798
- flags |= F_ALLOW_IN;
1799
- }
1800
- result = [];
1801
- for (i = 0, iz = expr.expressions.length; i < iz; ++i) {
1802
- result.push(this.generateExpression(expr.expressions[i], Precedence.Assignment, flags));
1803
- if (i + 1 < iz) {
1804
- result.push(',' + space);
1805
- }
1806
- }
1807
- return parenthesize(result, Precedence.Sequence, precedence);
1808
- },
1809
-
1810
- AssignmentExpression: function (expr, precedence, flags) {
1811
- return this.generateAssignment(expr.left, expr.right, expr.operator, precedence, flags);
1812
- },
1813
-
1814
- ArrowFunctionExpression: function (expr, precedence, flags) {
1815
- return parenthesize(this.generateFunctionBody(expr), Precedence.ArrowFunction, precedence);
1816
- },
1817
-
1818
- ConditionalExpression: function (expr, precedence, flags) {
1819
- if (Precedence.Conditional < precedence) {
1820
- flags |= F_ALLOW_IN;
1821
- }
1822
- return parenthesize(
1823
- [
1824
- this.generateExpression(expr.test, Precedence.LogicalOR, flags),
1825
- space + '?' + space,
1826
- this.generateExpression(expr.consequent, Precedence.Assignment, flags),
1827
- space + ':' + space,
1828
- this.generateExpression(expr.alternate, Precedence.Assignment, flags)
1829
- ],
1830
- Precedence.Conditional,
1831
- precedence
1832
- );
1833
- },
1834
-
1835
- LogicalExpression: function (expr, precedence, flags) {
1836
- return this.BinaryExpression(expr, precedence, flags);
1837
- },
1838
-
1839
- BinaryExpression: function (expr, precedence, flags) {
1840
- var result, currentPrecedence, fragment, leftSource;
1841
- currentPrecedence = BinaryPrecedence[expr.operator];
1842
-
1843
- if (currentPrecedence < precedence) {
1844
- flags |= F_ALLOW_IN;
1845
- }
1846
-
1847
- fragment = this.generateExpression(expr.left, currentPrecedence, flags);
1848
-
1849
- leftSource = fragment.toString();
1850
-
1851
- if (leftSource.charCodeAt(leftSource.length - 1) === 0x2F /* / */ && esutils.code.isIdentifierPartES5(expr.operator.charCodeAt(0))) {
1852
- result = [fragment, noEmptySpace(), expr.operator];
1853
- } else {
1854
- result = join(fragment, expr.operator);
1855
- }
1856
-
1857
- fragment = this.generateExpression(expr.right, currentPrecedence + 1, flags);
1858
-
1859
- if (expr.operator === '/' && fragment.toString().charAt(0) === '/' ||
1860
- expr.operator.slice(-1) === '<' && fragment.toString().slice(0, 3) === '!--') {
1861
- // If '/' concats with '/' or `<` concats with `!--`, it is interpreted as comment start
1862
- result.push(noEmptySpace());
1863
- result.push(fragment);
1864
- } else {
1865
- result = join(result, fragment);
1866
- }
1867
-
1868
- if (expr.operator === 'in' && !(flags & F_ALLOW_IN)) {
1869
- return ['(', result, ')'];
1870
- }
1871
- return parenthesize(result, currentPrecedence, precedence);
1872
- },
1873
-
1874
- CallExpression: function (expr, precedence, flags) {
1875
- var result, i, iz;
1876
- // F_ALLOW_UNPARATH_NEW becomes false.
1877
- result = [this.generateExpression(expr.callee, Precedence.Call, E_TTF)];
1878
- result.push('(');
1879
- for (i = 0, iz = expr['arguments'].length; i < iz; ++i) {
1880
- result.push(this.generateExpression(expr['arguments'][i], Precedence.Assignment, E_TTT));
1881
- if (i + 1 < iz) {
1882
- result.push(',' + space);
1883
- }
1884
- }
1885
- result.push(')');
1886
-
1887
- if (!(flags & F_ALLOW_CALL)) {
1888
- return ['(', result, ')'];
1889
- }
1890
- return parenthesize(result, Precedence.Call, precedence);
1891
- },
1892
-
1893
- NewExpression: function (expr, precedence, flags) {
1894
- var result, length, i, iz, itemFlags;
1895
- length = expr['arguments'].length;
1896
-
1897
- // F_ALLOW_CALL becomes false.
1898
- // F_ALLOW_UNPARATH_NEW may become false.
1899
- itemFlags = (flags & F_ALLOW_UNPARATH_NEW && !parentheses && length === 0) ? E_TFT : E_TFF;
1900
-
1901
- result = join(
1902
- 'new',
1903
- this.generateExpression(expr.callee, Precedence.New, itemFlags)
1904
- );
1905
-
1906
- if (!(flags & F_ALLOW_UNPARATH_NEW) || parentheses || length > 0) {
1907
- result.push('(');
1908
- for (i = 0, iz = length; i < iz; ++i) {
1909
- result.push(this.generateExpression(expr['arguments'][i], Precedence.Assignment, E_TTT));
1910
- if (i + 1 < iz) {
1911
- result.push(',' + space);
1912
- }
1913
- }
1914
- result.push(')');
1915
- }
1916
-
1917
- return parenthesize(result, Precedence.New, precedence);
1918
- },
1919
-
1920
- MemberExpression: function (expr, precedence, flags) {
1921
- var result, fragment;
1922
-
1923
- // F_ALLOW_UNPARATH_NEW becomes false.
1924
- result = [this.generateExpression(expr.object, Precedence.Call, (flags & F_ALLOW_CALL) ? E_TTF : E_TFF)];
1925
-
1926
- if (expr.computed) {
1927
- result.push('[');
1928
- result.push(this.generateExpression(expr.property, Precedence.Sequence, flags & F_ALLOW_CALL ? E_TTT : E_TFT));
1929
- result.push(']');
1930
- } else {
1931
- if (expr.object.type === Syntax.Literal && typeof expr.object.value === 'number') {
1932
- fragment = toSourceNodeWhenNeeded(result).toString();
1933
- // When the following conditions are all true,
1934
- // 1. No floating point
1935
- // 2. Don't have exponents
1936
- // 3. The last character is a decimal digit
1937
- // 4. Not hexadecimal OR octal number literal
1938
- // we should add a floating point.
1939
- if (
1940
- fragment.indexOf('.') < 0 &&
1941
- !/[eExX]/.test(fragment) &&
1942
- esutils.code.isDecimalDigit(fragment.charCodeAt(fragment.length - 1)) &&
1943
- !(fragment.length >= 2 && fragment.charCodeAt(0) === 48) // '0'
1944
- ) {
1945
- result.push('.');
1946
- }
1947
- }
1948
- result.push('.');
1949
- result.push(generateIdentifier(expr.property));
1950
- }
1951
-
1952
- return parenthesize(result, Precedence.Member, precedence);
1953
- },
1954
-
1955
- MetaProperty: function (expr, precedence, flags) {
1956
- var result;
1957
- result = [];
1958
- result.push(expr.meta);
1959
- result.push('.');
1960
- result.push(expr.property);
1961
- return parenthesize(result, Precedence.Member, precedence);
1962
- },
1963
-
1964
- UnaryExpression: function (expr, precedence, flags) {
1965
- var result, fragment, rightCharCode, leftSource, leftCharCode;
1966
- fragment = this.generateExpression(expr.argument, Precedence.Unary, E_TTT);
1967
-
1968
- if (space === '') {
1969
- result = join(expr.operator, fragment);
1970
- } else {
1971
- result = [expr.operator];
1972
- if (expr.operator.length > 2) {
1973
- // delete, void, typeof
1974
- // get `typeof []`, not `typeof[]`
1975
- result = join(result, fragment);
1976
- } else {
1977
- // Prevent inserting spaces between operator and argument if it is unnecessary
1978
- // like, `!cond`
1979
- leftSource = toSourceNodeWhenNeeded(result).toString();
1980
- leftCharCode = leftSource.charCodeAt(leftSource.length - 1);
1981
- rightCharCode = fragment.toString().charCodeAt(0);
1982
-
1983
- if (((leftCharCode === 0x2B /* + */ || leftCharCode === 0x2D /* - */) && leftCharCode === rightCharCode) ||
1984
- (esutils.code.isIdentifierPartES5(leftCharCode) && esutils.code.isIdentifierPartES5(rightCharCode))) {
1985
- result.push(noEmptySpace());
1986
- result.push(fragment);
1987
- } else {
1988
- result.push(fragment);
1989
- }
1990
- }
1991
- }
1992
- return parenthesize(result, Precedence.Unary, precedence);
1993
- },
1994
-
1995
- YieldExpression: function (expr, precedence, flags) {
1996
- var result;
1997
- if (expr.delegate) {
1998
- result = 'yield*';
1999
- } else {
2000
- result = 'yield';
2001
- }
2002
- if (expr.argument) {
2003
- result = join(
2004
- result,
2005
- this.generateExpression(expr.argument, Precedence.Yield, E_TTT)
2006
- );
2007
- }
2008
- return parenthesize(result, Precedence.Yield, precedence);
2009
- },
2010
-
2011
- AwaitExpression: function (expr, precedence, flags) {
2012
- var result = join(
2013
- expr.all ? 'await*' : 'await',
2014
- this.generateExpression(expr.argument, Precedence.Await, E_TTT)
2015
- );
2016
- return parenthesize(result, Precedence.Await, precedence);
2017
- },
2018
-
2019
- UpdateExpression: function (expr, precedence, flags) {
2020
- if (expr.prefix) {
2021
- return parenthesize(
2022
- [
2023
- expr.operator,
2024
- this.generateExpression(expr.argument, Precedence.Unary, E_TTT)
2025
- ],
2026
- Precedence.Unary,
2027
- precedence
2028
- );
2029
- }
2030
- return parenthesize(
2031
- [
2032
- this.generateExpression(expr.argument, Precedence.Postfix, E_TTT),
2033
- expr.operator
2034
- ],
2035
- Precedence.Postfix,
2036
- precedence
2037
- );
2038
- },
2039
-
2040
- FunctionExpression: function (expr, precedence, flags) {
2041
- var result = [
2042
- generateAsyncPrefix(expr, true),
2043
- 'function'
2044
- ];
2045
- if (expr.id) {
2046
- result.push(generateStarSuffix(expr) || noEmptySpace());
2047
- result.push(generateIdentifier(expr.id));
2048
- } else {
2049
- result.push(generateStarSuffix(expr) || space);
2050
- }
2051
- result.push(this.generateFunctionBody(expr));
2052
- return result;
2053
- },
2054
-
2055
- ArrayPattern: function (expr, precedence, flags) {
2056
- return this.ArrayExpression(expr, precedence, flags, true);
2057
- },
2058
-
2059
- ArrayExpression: function (expr, precedence, flags, isPattern) {
2060
- var result, multiline, that = this;
2061
- if (!expr.elements.length) {
2062
- return '[]';
2063
- }
2064
- multiline = isPattern ? false : expr.elements.length > 1;
2065
- result = ['[', multiline ? newline : ''];
2066
- withIndent(function (indent) {
2067
- var i, iz;
2068
- for (i = 0, iz = expr.elements.length; i < iz; ++i) {
2069
- if (!expr.elements[i]) {
2070
- if (multiline) {
2071
- result.push(indent);
2072
- }
2073
- if (i + 1 === iz) {
2074
- result.push(',');
2075
- }
2076
- } else {
2077
- result.push(multiline ? indent : '');
2078
- result.push(that.generateExpression(expr.elements[i], Precedence.Assignment, E_TTT));
2079
- }
2080
- if (i + 1 < iz) {
2081
- result.push(',' + (multiline ? newline : space));
2082
- }
2083
- }
2084
- });
2085
- if (multiline && !endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())) {
2086
- result.push(newline);
2087
- }
2088
- result.push(multiline ? base : '');
2089
- result.push(']');
2090
- return result;
2091
- },
2092
-
2093
- RestElement: function(expr, precedence, flags) {
2094
- return '...' + this.generatePattern(expr.argument);
2095
- },
2096
-
2097
- ClassExpression: function (expr, precedence, flags) {
2098
- var result, fragment;
2099
- result = ['class'];
2100
- if (expr.id) {
2101
- result = join(result, this.generateExpression(expr.id, Precedence.Sequence, E_TTT));
2102
- }
2103
- if (expr.superClass) {
2104
- fragment = join('extends', this.generateExpression(expr.superClass, Precedence.Assignment, E_TTT));
2105
- result = join(result, fragment);
2106
- }
2107
- result.push(space);
2108
- result.push(this.generateStatement(expr.body, S_TFFT));
2109
- return result;
2110
- },
2111
-
2112
- MethodDefinition: function (expr, precedence, flags) {
2113
- var result, fragment;
2114
- if (expr['static']) {
2115
- result = ['static' + space];
2116
- } else {
2117
- result = [];
2118
- }
2119
- if (expr.kind === 'get' || expr.kind === 'set') {
2120
- fragment = [
2121
- join(expr.kind, this.generatePropertyKey(expr.key, expr.computed, expr.value)),
2122
- this.generateFunctionBody(expr.value)
2123
- ];
2124
- } else {
2125
- fragment = [
2126
- generateMethodPrefix(expr),
2127
- this.generatePropertyKey(expr.key, expr.computed, expr.value),
2128
- this.generateFunctionBody(expr.value)
2129
- ];
2130
- }
2131
- return join(result, fragment);
2132
- },
2133
-
2134
- Property: function (expr, precedence, flags) {
2135
- if (expr.kind === 'get' || expr.kind === 'set') {
2136
- return [
2137
- expr.kind, noEmptySpace(),
2138
- this.generatePropertyKey(expr.key, expr.computed, expr.value),
2139
- this.generateFunctionBody(expr.value)
2140
- ];
2141
- }
2142
-
2143
- if (expr.shorthand) {
2144
- return this.generatePropertyKey(expr.key, expr.computed, expr.value);
2145
- }
2146
-
2147
- if (expr.method) {
2148
- return [
2149
- generateMethodPrefix(expr),
2150
- this.generatePropertyKey(expr.key, expr.computed, expr.value),
2151
- this.generateFunctionBody(expr.value)
2152
- ];
2153
- }
2154
-
2155
- return [
2156
- this.generatePropertyKey(expr.key, expr.computed, expr.value),
2157
- ':' + space,
2158
- this.generateExpression(expr.value, Precedence.Assignment, E_TTT)
2159
- ];
2160
- },
2161
-
2162
- ObjectExpression: function (expr, precedence, flags) {
2163
- var multiline, result, fragment, that = this;
2164
-
2165
- if (!expr.properties.length) {
2166
- return '{}';
2167
- }
2168
- multiline = expr.properties.length > 1;
2169
-
2170
- withIndent(function () {
2171
- fragment = that.generateExpression(expr.properties[0], Precedence.Sequence, E_TTT);
2172
- });
2173
-
2174
- if (!multiline) {
2175
- // issues 4
2176
- // Do not transform from
2177
- // dejavu.Class.declare({
2178
- // method2: function () {}
2179
- // });
2180
- // to
2181
- // dejavu.Class.declare({method2: function () {
2182
- // }});
2183
- if (!hasLineTerminator(toSourceNodeWhenNeeded(fragment).toString())) {
2184
- return [ '{', space, fragment, space, '}' ];
2185
- }
2186
- }
2187
-
2188
- withIndent(function (indent) {
2189
- var i, iz;
2190
- result = [ '{', newline, indent, fragment ];
2191
-
2192
- if (multiline) {
2193
- result.push(',' + newline);
2194
- for (i = 1, iz = expr.properties.length; i < iz; ++i) {
2195
- result.push(indent);
2196
- result.push(that.generateExpression(expr.properties[i], Precedence.Sequence, E_TTT));
2197
- if (i + 1 < iz) {
2198
- result.push(',' + newline);
2199
- }
2200
- }
2201
- }
2202
- });
2203
-
2204
- if (!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())) {
2205
- result.push(newline);
2206
- }
2207
- result.push(base);
2208
- result.push('}');
2209
- return result;
2210
- },
2211
-
2212
- AssignmentPattern: function(expr, precedence, flags) {
2213
- return this.generateAssignment(expr.left, expr.right, '=', precedence, flags);
2214
- },
2215
-
2216
- ObjectPattern: function (expr, precedence, flags) {
2217
- var result, i, iz, multiline, property, that = this;
2218
- if (!expr.properties.length) {
2219
- return '{}';
2220
- }
2221
-
2222
- multiline = false;
2223
- if (expr.properties.length === 1) {
2224
- property = expr.properties[0];
2225
- if (property.value.type !== Syntax.Identifier) {
2226
- multiline = true;
2227
- }
2228
- } else {
2229
- for (i = 0, iz = expr.properties.length; i < iz; ++i) {
2230
- property = expr.properties[i];
2231
- if (!property.shorthand) {
2232
- multiline = true;
2233
- break;
2234
- }
2235
- }
2236
- }
2237
- result = ['{', multiline ? newline : '' ];
2238
-
2239
- withIndent(function (indent) {
2240
- var i, iz;
2241
- for (i = 0, iz = expr.properties.length; i < iz; ++i) {
2242
- result.push(multiline ? indent : '');
2243
- result.push(that.generateExpression(expr.properties[i], Precedence.Sequence, E_TTT));
2244
- if (i + 1 < iz) {
2245
- result.push(',' + (multiline ? newline : space));
2246
- }
2247
- }
2248
- });
2249
-
2250
- if (multiline && !endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())) {
2251
- result.push(newline);
2252
- }
2253
- result.push(multiline ? base : '');
2254
- result.push('}');
2255
- return result;
2256
- },
2257
-
2258
- ThisExpression: function (expr, precedence, flags) {
2259
- return 'this';
2260
- },
2261
-
2262
- Super: function (expr, precedence, flags) {
2263
- return 'super';
2264
- },
2265
-
2266
- Identifier: function (expr, precedence, flags) {
2267
- return generateIdentifier(expr);
2268
- },
2269
-
2270
- ImportDefaultSpecifier: function (expr, precedence, flags) {
2271
- return generateIdentifier(expr.id || expr.local);
2272
- },
2273
-
2274
- ImportNamespaceSpecifier: function (expr, precedence, flags) {
2275
- var result = ['*'];
2276
- var id = expr.id || expr.local;
2277
- if (id) {
2278
- result.push(space + 'as' + noEmptySpace() + generateIdentifier(id));
2279
- }
2280
- return result;
2281
- },
2282
-
2283
- ImportSpecifier: function (expr, precedence, flags) {
2284
- var imported = expr.imported;
2285
- var result = [ imported.name ];
2286
- var local = expr.local;
2287
- if (local && local.name !== imported.name) {
2288
- result.push(noEmptySpace() + 'as' + noEmptySpace() + generateIdentifier(local));
2289
- }
2290
- return result;
2291
- },
2292
-
2293
- ExportSpecifier: function (expr, precedence, flags) {
2294
- var local = expr.local;
2295
- var result = [ local.name ];
2296
- var exported = expr.exported;
2297
- if (exported && exported.name !== local.name) {
2298
- result.push(noEmptySpace() + 'as' + noEmptySpace() + generateIdentifier(exported));
2299
- }
2300
- return result;
2301
- },
2302
-
2303
- Literal: function (expr, precedence, flags) {
2304
- var raw;
2305
- if (expr.hasOwnProperty('raw') && parse && extra.raw) {
2306
- try {
2307
- raw = parse(expr.raw).body[0].expression;
2308
- if (raw.type === Syntax.Literal) {
2309
- if (raw.value === expr.value) {
2310
- return expr.raw;
2311
- }
2312
- }
2313
- } catch (e) {
2314
- // not use raw property
2315
- }
2316
- }
2317
-
2318
- if (expr.value === null) {
2319
- return 'null';
2320
- }
2321
-
2322
- if (typeof expr.value === 'string') {
2323
- return escapeString(expr.value);
2324
- }
2325
-
2326
- if (typeof expr.value === 'number') {
2327
- return generateNumber(expr.value);
2328
- }
2329
-
2330
- if (typeof expr.value === 'boolean') {
2331
- return expr.value ? 'true' : 'false';
2332
- }
2333
-
2334
- return generateRegExp(expr.value);
2335
- },
2336
-
2337
- GeneratorExpression: function (expr, precedence, flags) {
2338
- return this.ComprehensionExpression(expr, precedence, flags);
2339
- },
2340
-
2341
- ComprehensionExpression: function (expr, precedence, flags) {
2342
- // GeneratorExpression should be parenthesized with (...), ComprehensionExpression with [...]
2343
- // Due to https://bugzilla.mozilla.org/show_bug.cgi?id=883468 position of expr.body can differ in Spidermonkey and ES6
2344
-
2345
- var result, i, iz, fragment, that = this;
2346
- result = (expr.type === Syntax.GeneratorExpression) ? ['('] : ['['];
2347
-
2348
- if (extra.moz.comprehensionExpressionStartsWithAssignment) {
2349
- fragment = this.generateExpression(expr.body, Precedence.Assignment, E_TTT);
2350
- result.push(fragment);
2351
- }
2352
-
2353
- if (expr.blocks) {
2354
- withIndent(function () {
2355
- for (i = 0, iz = expr.blocks.length; i < iz; ++i) {
2356
- fragment = that.generateExpression(expr.blocks[i], Precedence.Sequence, E_TTT);
2357
- if (i > 0 || extra.moz.comprehensionExpressionStartsWithAssignment) {
2358
- result = join(result, fragment);
2359
- } else {
2360
- result.push(fragment);
2361
- }
2362
- }
2363
- });
2364
- }
2365
-
2366
- if (expr.filter) {
2367
- result = join(result, 'if' + space);
2368
- fragment = this.generateExpression(expr.filter, Precedence.Sequence, E_TTT);
2369
- result = join(result, [ '(', fragment, ')' ]);
2370
- }
2371
-
2372
- if (!extra.moz.comprehensionExpressionStartsWithAssignment) {
2373
- fragment = this.generateExpression(expr.body, Precedence.Assignment, E_TTT);
2374
-
2375
- result = join(result, fragment);
2376
- }
2377
-
2378
- result.push((expr.type === Syntax.GeneratorExpression) ? ')' : ']');
2379
- return result;
2380
- },
2381
-
2382
- ComprehensionBlock: function (expr, precedence, flags) {
2383
- var fragment;
2384
- if (expr.left.type === Syntax.VariableDeclaration) {
2385
- fragment = [
2386
- expr.left.kind, noEmptySpace(),
2387
- this.generateStatement(expr.left.declarations[0], S_FFFF)
2388
- ];
2389
- } else {
2390
- fragment = this.generateExpression(expr.left, Precedence.Call, E_TTT);
2391
- }
2392
-
2393
- fragment = join(fragment, expr.of ? 'of' : 'in');
2394
- fragment = join(fragment, this.generateExpression(expr.right, Precedence.Sequence, E_TTT));
2395
-
2396
- return [ 'for' + space + '(', fragment, ')' ];
2397
- },
2398
-
2399
- SpreadElement: function (expr, precedence, flags) {
2400
- return [
2401
- '...',
2402
- this.generateExpression(expr.argument, Precedence.Assignment, E_TTT)
2403
- ];
2404
- },
2405
-
2406
- TaggedTemplateExpression: function (expr, precedence, flags) {
2407
- var itemFlags = E_TTF;
2408
- if (!(flags & F_ALLOW_CALL)) {
2409
- itemFlags = E_TFF;
2410
- }
2411
- var result = [
2412
- this.generateExpression(expr.tag, Precedence.Call, itemFlags),
2413
- this.generateExpression(expr.quasi, Precedence.Primary, E_FFT)
2414
- ];
2415
- return parenthesize(result, Precedence.TaggedTemplate, precedence);
2416
- },
2417
-
2418
- TemplateElement: function (expr, precedence, flags) {
2419
- // Don't use "cooked". Since tagged template can use raw template
2420
- // representation. So if we do so, it breaks the script semantics.
2421
- return expr.value.raw;
2422
- },
2423
-
2424
- TemplateLiteral: function (expr, precedence, flags) {
2425
- var result, i, iz;
2426
- result = [ '`' ];
2427
- for (i = 0, iz = expr.quasis.length; i < iz; ++i) {
2428
- result.push(this.generateExpression(expr.quasis[i], Precedence.Primary, E_TTT));
2429
- if (i + 1 < iz) {
2430
- result.push('${' + space);
2431
- result.push(this.generateExpression(expr.expressions[i], Precedence.Sequence, E_TTT));
2432
- result.push(space + '}');
2433
- }
2434
- }
2435
- result.push('`');
2436
- return result;
2437
- },
2438
-
2439
- ModuleSpecifier: function (expr, precedence, flags) {
2440
- return this.Literal(expr, precedence, flags);
2441
- }
2442
-
2443
- };
2444
-
2445
- merge(CodeGenerator.prototype, CodeGenerator.Expression);
2446
-
2447
- CodeGenerator.prototype.generateExpression = function (expr, precedence, flags) {
2448
- var result, type;
2449
-
2450
- type = expr.type || Syntax.Property;
2451
-
2452
- if (extra.verbatim && expr.hasOwnProperty(extra.verbatim)) {
2453
- return generateVerbatim(expr, precedence);
2454
- }
2455
-
2456
- result = this[type](expr, precedence, flags);
2457
-
2458
-
2459
- if (extra.comment) {
2460
- result = addComments(expr, result);
2461
- }
2462
- return toSourceNodeWhenNeeded(result, expr);
2463
- };
2464
-
2465
- CodeGenerator.prototype.generateStatement = function (stmt, flags) {
2466
- var result,
2467
- fragment;
2468
-
2469
- result = this[stmt.type](stmt, flags);
2470
-
2471
- // Attach comments
2472
-
2473
- if (extra.comment) {
2474
- result = addComments(stmt, result);
2475
- }
2476
-
2477
- fragment = toSourceNodeWhenNeeded(result).toString();
2478
- if (stmt.type === Syntax.Program && !safeConcatenation && newline === '' && fragment.charAt(fragment.length - 1) === '\n') {
2479
- result = sourceMap ? toSourceNodeWhenNeeded(result).replaceRight(/\s+$/, '') : fragment.replace(/\s+$/, '');
2480
- }
2481
-
2482
- return toSourceNodeWhenNeeded(result, stmt);
2483
- };
2484
-
2485
- function generateInternal(node) {
2486
- var codegen;
2487
-
2488
- codegen = new CodeGenerator();
2489
- if (isStatement(node)) {
2490
- return codegen.generateStatement(node, S_TFFF);
2491
- }
2492
-
2493
- if (isExpression(node)) {
2494
- return codegen.generateExpression(node, Precedence.Sequence, E_TTT);
2495
- }
2496
-
2497
- throw new Error('Unknown node type: ' + node.type);
2498
- }
2499
-
2500
- function generate(node, options) {
2501
- var defaultOptions = getDefaultOptions(), result, pair;
2502
-
2503
- if (options != null) {
2504
- // Obsolete options
2505
- //
2506
- // `options.indent`
2507
- // `options.base`
2508
- //
2509
- // Instead of them, we can use `option.format.indent`.
2510
- if (typeof options.indent === 'string') {
2511
- defaultOptions.format.indent.style = options.indent;
2512
- }
2513
- if (typeof options.base === 'number') {
2514
- defaultOptions.format.indent.base = options.base;
2515
- }
2516
- options = updateDeeply(defaultOptions, options);
2517
- indent = options.format.indent.style;
2518
- if (typeof options.base === 'string') {
2519
- base = options.base;
2520
- } else {
2521
- base = stringRepeat(indent, options.format.indent.base);
2522
- }
2523
- } else {
2524
- options = defaultOptions;
2525
- indent = options.format.indent.style;
2526
- base = stringRepeat(indent, options.format.indent.base);
2527
- }
2528
- json = options.format.json;
2529
- renumber = options.format.renumber;
2530
- hexadecimal = json ? false : options.format.hexadecimal;
2531
- quotes = json ? 'double' : options.format.quotes;
2532
- escapeless = options.format.escapeless;
2533
- newline = options.format.newline;
2534
- space = options.format.space;
2535
- if (options.format.compact) {
2536
- newline = space = indent = base = '';
2537
- }
2538
- parentheses = options.format.parentheses;
2539
- semicolons = options.format.semicolons;
2540
- safeConcatenation = options.format.safeConcatenation;
2541
- directive = options.directive;
2542
- parse = json ? null : options.parse;
2543
- sourceMap = options.sourceMap;
2544
- sourceCode = options.sourceCode;
2545
- preserveBlankLines = options.format.preserveBlankLines && sourceCode !== null;
2546
- extra = options;
2547
-
2548
- if (sourceMap) {
2549
- if (!exports.browser) {
2550
- // We assume environment is node.js
2551
- // And prevent from including source-map by browserify
2552
- SourceNode = require('source-map').SourceNode;
2553
- } else {
2554
- SourceNode = global.sourceMap.SourceNode;
2555
- }
2556
- }
2557
-
2558
- result = generateInternal(node);
2559
-
2560
- if (!sourceMap) {
2561
- pair = {code: result.toString(), map: null};
2562
- return options.sourceMapWithCode ? pair : pair.code;
2563
- }
2564
-
2565
-
2566
- pair = result.toStringWithSourceMap({
2567
- file: options.file,
2568
- sourceRoot: options.sourceMapRoot
2569
- });
2570
-
2571
- if (options.sourceContent) {
2572
- pair.map.setSourceContent(options.sourceMap,
2573
- options.sourceContent);
2574
- }
2575
-
2576
- if (options.sourceMapWithCode) {
2577
- return pair;
2578
- }
2579
-
2580
- return pair.map.toString();
2581
- }
2582
-
2583
- FORMAT_MINIFY = {
2584
- indent: {
2585
- style: '',
2586
- base: 0
2587
- },
2588
- renumber: true,
2589
- hexadecimal: true,
2590
- quotes: 'auto',
2591
- escapeless: true,
2592
- compact: true,
2593
- parentheses: false,
2594
- semicolons: false
2595
- };
2596
-
2597
- FORMAT_DEFAULTS = getDefaultOptions().format;
2598
-
2599
- exports.version = require('./package.json').version;
2600
- exports.generate = generate;
2601
- exports.attachComments = estraverse.attachComments;
2602
- exports.Precedence = updateDeeply({}, Precedence);
2603
- exports.browser = false;
2604
- exports.FORMAT_MINIFY = FORMAT_MINIFY;
2605
- exports.FORMAT_DEFAULTS = FORMAT_DEFAULTS;
2606
- }());
2607
- /* vim: set sw=4 ts=4 et tw=80 : */