koa-classic-server 1.0.0 → 1.0.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 (1120) hide show
  1. package/README.md +117 -0
  2. package/package.json +5 -6
  3. package/Readme.md +0 -102
  4. package/test/node_modules/.package-lock.json +0 -1254
  5. package/test/node_modules/abbrev/LICENSE +0 -46
  6. package/test/node_modules/abbrev/README.md +0 -23
  7. package/test/node_modules/abbrev/abbrev.js +0 -61
  8. package/test/node_modules/abbrev/package.json +0 -21
  9. package/test/node_modules/accepts/HISTORY.md +0 -243
  10. package/test/node_modules/accepts/LICENSE +0 -23
  11. package/test/node_modules/accepts/README.md +0 -140
  12. package/test/node_modules/accepts/index.js +0 -238
  13. package/test/node_modules/accepts/package.json +0 -47
  14. package/test/node_modules/ansi-styles/index.d.ts +0 -345
  15. package/test/node_modules/ansi-styles/index.js +0 -163
  16. package/test/node_modules/ansi-styles/license +0 -9
  17. package/test/node_modules/ansi-styles/package.json +0 -56
  18. package/test/node_modules/ansi-styles/readme.md +0 -152
  19. package/test/node_modules/any-promise/.jshintrc +0 -4
  20. package/test/node_modules/any-promise/LICENSE +0 -19
  21. package/test/node_modules/any-promise/README.md +0 -161
  22. package/test/node_modules/any-promise/implementation.d.ts +0 -3
  23. package/test/node_modules/any-promise/implementation.js +0 -1
  24. package/test/node_modules/any-promise/index.d.ts +0 -73
  25. package/test/node_modules/any-promise/index.js +0 -1
  26. package/test/node_modules/any-promise/loader.js +0 -78
  27. package/test/node_modules/any-promise/optional.js +0 -6
  28. package/test/node_modules/any-promise/package.json +0 -45
  29. package/test/node_modules/any-promise/register/bluebird.d.ts +0 -1
  30. package/test/node_modules/any-promise/register/bluebird.js +0 -2
  31. package/test/node_modules/any-promise/register/es6-promise.d.ts +0 -1
  32. package/test/node_modules/any-promise/register/es6-promise.js +0 -2
  33. package/test/node_modules/any-promise/register/lie.d.ts +0 -1
  34. package/test/node_modules/any-promise/register/lie.js +0 -2
  35. package/test/node_modules/any-promise/register/native-promise-only.d.ts +0 -1
  36. package/test/node_modules/any-promise/register/native-promise-only.js +0 -2
  37. package/test/node_modules/any-promise/register/pinkie.d.ts +0 -1
  38. package/test/node_modules/any-promise/register/pinkie.js +0 -2
  39. package/test/node_modules/any-promise/register/promise.d.ts +0 -1
  40. package/test/node_modules/any-promise/register/promise.js +0 -2
  41. package/test/node_modules/any-promise/register/q.d.ts +0 -1
  42. package/test/node_modules/any-promise/register/q.js +0 -2
  43. package/test/node_modules/any-promise/register/rsvp.d.ts +0 -1
  44. package/test/node_modules/any-promise/register/rsvp.js +0 -2
  45. package/test/node_modules/any-promise/register/vow.d.ts +0 -1
  46. package/test/node_modules/any-promise/register/vow.js +0 -2
  47. package/test/node_modules/any-promise/register/when.d.ts +0 -1
  48. package/test/node_modules/any-promise/register/when.js +0 -2
  49. package/test/node_modules/any-promise/register-shim.js +0 -18
  50. package/test/node_modules/any-promise/register.d.ts +0 -17
  51. package/test/node_modules/any-promise/register.js +0 -94
  52. package/test/node_modules/anymatch/LICENSE +0 -15
  53. package/test/node_modules/anymatch/README.md +0 -87
  54. package/test/node_modules/anymatch/index.d.ts +0 -20
  55. package/test/node_modules/anymatch/index.js +0 -104
  56. package/test/node_modules/anymatch/package.json +0 -48
  57. package/test/node_modules/async/CHANGELOG.md +0 -348
  58. package/test/node_modules/async/LICENSE +0 -19
  59. package/test/node_modules/async/README.md +0 -59
  60. package/test/node_modules/async/all.js +0 -119
  61. package/test/node_modules/async/allLimit.js +0 -46
  62. package/test/node_modules/async/allSeries.js +0 -45
  63. package/test/node_modules/async/any.js +0 -122
  64. package/test/node_modules/async/anyLimit.js +0 -47
  65. package/test/node_modules/async/anySeries.js +0 -46
  66. package/test/node_modules/async/apply.js +0 -55
  67. package/test/node_modules/async/applyEach.js +0 -57
  68. package/test/node_modules/async/applyEachSeries.js +0 -37
  69. package/test/node_modules/async/asyncify.js +0 -118
  70. package/test/node_modules/async/auto.js +0 -333
  71. package/test/node_modules/async/autoInject.js +0 -182
  72. package/test/node_modules/async/bower.json +0 -17
  73. package/test/node_modules/async/cargo.js +0 -63
  74. package/test/node_modules/async/cargoQueue.js +0 -71
  75. package/test/node_modules/async/compose.js +0 -55
  76. package/test/node_modules/async/concat.js +0 -115
  77. package/test/node_modules/async/concatLimit.js +0 -60
  78. package/test/node_modules/async/concatSeries.js +0 -41
  79. package/test/node_modules/async/constant.js +0 -55
  80. package/test/node_modules/async/detect.js +0 -96
  81. package/test/node_modules/async/detectLimit.js +0 -48
  82. package/test/node_modules/async/detectSeries.js +0 -47
  83. package/test/node_modules/async/dir.js +0 -43
  84. package/test/node_modules/async/dist/async.js +0 -6059
  85. package/test/node_modules/async/dist/async.min.js +0 -1
  86. package/test/node_modules/async/dist/async.mjs +0 -5947
  87. package/test/node_modules/async/doDuring.js +0 -68
  88. package/test/node_modules/async/doUntil.js +0 -46
  89. package/test/node_modules/async/doWhilst.js +0 -68
  90. package/test/node_modules/async/during.js +0 -78
  91. package/test/node_modules/async/each.js +0 -129
  92. package/test/node_modules/async/eachLimit.js +0 -50
  93. package/test/node_modules/async/eachOf.js +0 -185
  94. package/test/node_modules/async/eachOfLimit.js +0 -47
  95. package/test/node_modules/async/eachOfSeries.js +0 -39
  96. package/test/node_modules/async/eachSeries.js +0 -44
  97. package/test/node_modules/async/ensureAsync.js +0 -67
  98. package/test/node_modules/async/every.js +0 -119
  99. package/test/node_modules/async/everyLimit.js +0 -46
  100. package/test/node_modules/async/everySeries.js +0 -45
  101. package/test/node_modules/async/filter.js +0 -93
  102. package/test/node_modules/async/filterLimit.js +0 -45
  103. package/test/node_modules/async/filterSeries.js +0 -43
  104. package/test/node_modules/async/find.js +0 -96
  105. package/test/node_modules/async/findLimit.js +0 -48
  106. package/test/node_modules/async/findSeries.js +0 -47
  107. package/test/node_modules/async/flatMap.js +0 -115
  108. package/test/node_modules/async/flatMapLimit.js +0 -60
  109. package/test/node_modules/async/flatMapSeries.js +0 -41
  110. package/test/node_modules/async/foldl.js +0 -153
  111. package/test/node_modules/async/foldr.js +0 -41
  112. package/test/node_modules/async/forEach.js +0 -129
  113. package/test/node_modules/async/forEachLimit.js +0 -50
  114. package/test/node_modules/async/forEachOf.js +0 -185
  115. package/test/node_modules/async/forEachOfLimit.js +0 -47
  116. package/test/node_modules/async/forEachOfSeries.js +0 -39
  117. package/test/node_modules/async/forEachSeries.js +0 -44
  118. package/test/node_modules/async/forever.js +0 -68
  119. package/test/node_modules/async/groupBy.js +0 -108
  120. package/test/node_modules/async/groupByLimit.js +0 -71
  121. package/test/node_modules/async/groupBySeries.js +0 -36
  122. package/test/node_modules/async/index.js +0 -588
  123. package/test/node_modules/async/inject.js +0 -153
  124. package/test/node_modules/async/internal/DoublyLinkedList.js +0 -92
  125. package/test/node_modules/async/internal/Heap.js +0 -120
  126. package/test/node_modules/async/internal/applyEach.js +0 -29
  127. package/test/node_modules/async/internal/asyncEachOfLimit.js +0 -75
  128. package/test/node_modules/async/internal/awaitify.js +0 -27
  129. package/test/node_modules/async/internal/breakLoop.js +0 -10
  130. package/test/node_modules/async/internal/consoleFunc.js +0 -31
  131. package/test/node_modules/async/internal/createTester.js +0 -40
  132. package/test/node_modules/async/internal/eachOfLimit.js +0 -90
  133. package/test/node_modules/async/internal/filter.js +0 -55
  134. package/test/node_modules/async/internal/getIterator.js +0 -11
  135. package/test/node_modules/async/internal/initialParams.js +0 -14
  136. package/test/node_modules/async/internal/isArrayLike.js +0 -10
  137. package/test/node_modules/async/internal/iterator.js +0 -57
  138. package/test/node_modules/async/internal/map.js +0 -30
  139. package/test/node_modules/async/internal/once.js +0 -17
  140. package/test/node_modules/async/internal/onlyOnce.js +0 -15
  141. package/test/node_modules/async/internal/parallel.js +0 -34
  142. package/test/node_modules/async/internal/promiseCallback.js +0 -23
  143. package/test/node_modules/async/internal/queue.js +0 -294
  144. package/test/node_modules/async/internal/range.js +0 -14
  145. package/test/node_modules/async/internal/reject.js +0 -26
  146. package/test/node_modules/async/internal/setImmediate.js +0 -34
  147. package/test/node_modules/async/internal/withoutIndex.js +0 -10
  148. package/test/node_modules/async/internal/wrapAsync.js +0 -34
  149. package/test/node_modules/async/log.js +0 -41
  150. package/test/node_modules/async/map.js +0 -142
  151. package/test/node_modules/async/mapLimit.js +0 -45
  152. package/test/node_modules/async/mapSeries.js +0 -44
  153. package/test/node_modules/async/mapValues.js +0 -152
  154. package/test/node_modules/async/mapValuesLimit.js +0 -61
  155. package/test/node_modules/async/mapValuesSeries.js +0 -37
  156. package/test/node_modules/async/memoize.js +0 -91
  157. package/test/node_modules/async/nextTick.js +0 -52
  158. package/test/node_modules/async/package.json +0 -75
  159. package/test/node_modules/async/parallel.js +0 -180
  160. package/test/node_modules/async/parallelLimit.js +0 -41
  161. package/test/node_modules/async/priorityQueue.js +0 -86
  162. package/test/node_modules/async/queue.js +0 -167
  163. package/test/node_modules/async/race.js +0 -67
  164. package/test/node_modules/async/reduce.js +0 -153
  165. package/test/node_modules/async/reduceRight.js +0 -41
  166. package/test/node_modules/async/reflect.js +0 -78
  167. package/test/node_modules/async/reflectAll.js +0 -93
  168. package/test/node_modules/async/reject.js +0 -87
  169. package/test/node_modules/async/rejectLimit.js +0 -45
  170. package/test/node_modules/async/rejectSeries.js +0 -43
  171. package/test/node_modules/async/retry.js +0 -159
  172. package/test/node_modules/async/retryable.js +0 -77
  173. package/test/node_modules/async/select.js +0 -93
  174. package/test/node_modules/async/selectLimit.js +0 -45
  175. package/test/node_modules/async/selectSeries.js +0 -43
  176. package/test/node_modules/async/seq.js +0 -79
  177. package/test/node_modules/async/series.js +0 -186
  178. package/test/node_modules/async/setImmediate.js +0 -45
  179. package/test/node_modules/async/some.js +0 -122
  180. package/test/node_modules/async/someLimit.js +0 -47
  181. package/test/node_modules/async/someSeries.js +0 -46
  182. package/test/node_modules/async/sortBy.js +0 -190
  183. package/test/node_modules/async/timeout.js +0 -89
  184. package/test/node_modules/async/times.js +0 -50
  185. package/test/node_modules/async/timesLimit.js +0 -43
  186. package/test/node_modules/async/timesSeries.js +0 -32
  187. package/test/node_modules/async/transform.js +0 -173
  188. package/test/node_modules/async/tryEach.js +0 -78
  189. package/test/node_modules/async/unmemoize.js +0 -25
  190. package/test/node_modules/async/until.js +0 -61
  191. package/test/node_modules/async/waterfall.js +0 -105
  192. package/test/node_modules/async/whilst.js +0 -78
  193. package/test/node_modules/async/wrapSync.js +0 -118
  194. package/test/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  195. package/test/node_modules/balanced-match/LICENSE.md +0 -21
  196. package/test/node_modules/balanced-match/README.md +0 -97
  197. package/test/node_modules/balanced-match/index.js +0 -62
  198. package/test/node_modules/balanced-match/package.json +0 -48
  199. package/test/node_modules/binary-extensions/binary-extensions.json +0 -260
  200. package/test/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
  201. package/test/node_modules/binary-extensions/index.d.ts +0 -14
  202. package/test/node_modules/binary-extensions/index.js +0 -1
  203. package/test/node_modules/binary-extensions/license +0 -9
  204. package/test/node_modules/binary-extensions/package.json +0 -38
  205. package/test/node_modules/binary-extensions/readme.md +0 -41
  206. package/test/node_modules/bluebird/LICENSE +0 -21
  207. package/test/node_modules/bluebird/README.md +0 -57
  208. package/test/node_modules/bluebird/changelog.md +0 -1
  209. package/test/node_modules/bluebird/js/browser/bluebird.core.js +0 -3914
  210. package/test/node_modules/bluebird/js/browser/bluebird.core.min.js +0 -31
  211. package/test/node_modules/bluebird/js/browser/bluebird.js +0 -5778
  212. package/test/node_modules/bluebird/js/browser/bluebird.min.js +0 -31
  213. package/test/node_modules/bluebird/js/release/any.js +0 -21
  214. package/test/node_modules/bluebird/js/release/assert.js +0 -55
  215. package/test/node_modules/bluebird/js/release/async.js +0 -120
  216. package/test/node_modules/bluebird/js/release/bind.js +0 -67
  217. package/test/node_modules/bluebird/js/release/bluebird.js +0 -11
  218. package/test/node_modules/bluebird/js/release/call_get.js +0 -123
  219. package/test/node_modules/bluebird/js/release/cancel.js +0 -129
  220. package/test/node_modules/bluebird/js/release/catch_filter.js +0 -42
  221. package/test/node_modules/bluebird/js/release/context.js +0 -69
  222. package/test/node_modules/bluebird/js/release/debuggability.js +0 -1009
  223. package/test/node_modules/bluebird/js/release/direct_resolve.js +0 -46
  224. package/test/node_modules/bluebird/js/release/each.js +0 -30
  225. package/test/node_modules/bluebird/js/release/errors.js +0 -116
  226. package/test/node_modules/bluebird/js/release/es5.js +0 -80
  227. package/test/node_modules/bluebird/js/release/filter.js +0 -12
  228. package/test/node_modules/bluebird/js/release/finally.js +0 -146
  229. package/test/node_modules/bluebird/js/release/generators.js +0 -223
  230. package/test/node_modules/bluebird/js/release/join.js +0 -165
  231. package/test/node_modules/bluebird/js/release/map.js +0 -175
  232. package/test/node_modules/bluebird/js/release/method.js +0 -55
  233. package/test/node_modules/bluebird/js/release/nodeback.js +0 -51
  234. package/test/node_modules/bluebird/js/release/nodeify.js +0 -58
  235. package/test/node_modules/bluebird/js/release/promise.js +0 -819
  236. package/test/node_modules/bluebird/js/release/promise_array.js +0 -186
  237. package/test/node_modules/bluebird/js/release/promisify.js +0 -314
  238. package/test/node_modules/bluebird/js/release/props.js +0 -118
  239. package/test/node_modules/bluebird/js/release/queue.js +0 -73
  240. package/test/node_modules/bluebird/js/release/race.js +0 -49
  241. package/test/node_modules/bluebird/js/release/reduce.js +0 -183
  242. package/test/node_modules/bluebird/js/release/schedule.js +0 -62
  243. package/test/node_modules/bluebird/js/release/settle.js +0 -47
  244. package/test/node_modules/bluebird/js/release/some.js +0 -148
  245. package/test/node_modules/bluebird/js/release/synchronous_inspection.js +0 -103
  246. package/test/node_modules/bluebird/js/release/thenables.js +0 -86
  247. package/test/node_modules/bluebird/js/release/timers.js +0 -93
  248. package/test/node_modules/bluebird/js/release/using.js +0 -226
  249. package/test/node_modules/bluebird/js/release/util.js +0 -421
  250. package/test/node_modules/bluebird/package.json +0 -78
  251. package/test/node_modules/brace-expansion/LICENSE +0 -21
  252. package/test/node_modules/brace-expansion/README.md +0 -129
  253. package/test/node_modules/brace-expansion/index.js +0 -201
  254. package/test/node_modules/brace-expansion/package.json +0 -47
  255. package/test/node_modules/braces/CHANGELOG.md +0 -184
  256. package/test/node_modules/braces/LICENSE +0 -21
  257. package/test/node_modules/braces/README.md +0 -593
  258. package/test/node_modules/braces/index.js +0 -170
  259. package/test/node_modules/braces/lib/compile.js +0 -57
  260. package/test/node_modules/braces/lib/constants.js +0 -57
  261. package/test/node_modules/braces/lib/expand.js +0 -113
  262. package/test/node_modules/braces/lib/parse.js +0 -333
  263. package/test/node_modules/braces/lib/stringify.js +0 -32
  264. package/test/node_modules/braces/lib/utils.js +0 -112
  265. package/test/node_modules/braces/package.json +0 -77
  266. package/test/node_modules/cache-content-type/History.md +0 -15
  267. package/test/node_modules/cache-content-type/README.md +0 -17
  268. package/test/node_modules/cache-content-type/index.js +0 -15
  269. package/test/node_modules/cache-content-type/package.json +0 -42
  270. package/test/node_modules/chalk/index.d.ts +0 -415
  271. package/test/node_modules/chalk/license +0 -9
  272. package/test/node_modules/chalk/package.json +0 -68
  273. package/test/node_modules/chalk/readme.md +0 -341
  274. package/test/node_modules/chalk/source/index.js +0 -229
  275. package/test/node_modules/chalk/source/templates.js +0 -134
  276. package/test/node_modules/chalk/source/util.js +0 -39
  277. package/test/node_modules/chokidar/LICENSE +0 -21
  278. package/test/node_modules/chokidar/README.md +0 -308
  279. package/test/node_modules/chokidar/index.js +0 -973
  280. package/test/node_modules/chokidar/lib/constants.js +0 -65
  281. package/test/node_modules/chokidar/lib/fsevents-handler.js +0 -524
  282. package/test/node_modules/chokidar/lib/nodefs-handler.js +0 -654
  283. package/test/node_modules/chokidar/package.json +0 -85
  284. package/test/node_modules/chokidar/types/index.d.ts +0 -188
  285. package/test/node_modules/co/History.md +0 -172
  286. package/test/node_modules/co/LICENSE +0 -22
  287. package/test/node_modules/co/Readme.md +0 -212
  288. package/test/node_modules/co/index.js +0 -237
  289. package/test/node_modules/co/package.json +0 -34
  290. package/test/node_modules/color-convert/CHANGELOG.md +0 -54
  291. package/test/node_modules/color-convert/LICENSE +0 -21
  292. package/test/node_modules/color-convert/README.md +0 -68
  293. package/test/node_modules/color-convert/conversions.js +0 -839
  294. package/test/node_modules/color-convert/index.js +0 -81
  295. package/test/node_modules/color-convert/package.json +0 -48
  296. package/test/node_modules/color-convert/route.js +0 -97
  297. package/test/node_modules/color-name/LICENSE +0 -8
  298. package/test/node_modules/color-name/README.md +0 -11
  299. package/test/node_modules/color-name/index.js +0 -152
  300. package/test/node_modules/color-name/package.json +0 -28
  301. package/test/node_modules/commander/CHANGELOG.md +0 -419
  302. package/test/node_modules/commander/LICENSE +0 -22
  303. package/test/node_modules/commander/Readme.md +0 -428
  304. package/test/node_modules/commander/index.js +0 -1224
  305. package/test/node_modules/commander/package.json +0 -38
  306. package/test/node_modules/commander/typings/index.d.ts +0 -310
  307. package/test/node_modules/concat-map/.travis.yml +0 -4
  308. package/test/node_modules/concat-map/LICENSE +0 -18
  309. package/test/node_modules/concat-map/README.markdown +0 -62
  310. package/test/node_modules/concat-map/example/map.js +0 -6
  311. package/test/node_modules/concat-map/index.js +0 -13
  312. package/test/node_modules/concat-map/package.json +0 -43
  313. package/test/node_modules/concat-map/test/map.js +0 -39
  314. package/test/node_modules/condense-newlines/LICENSE +0 -21
  315. package/test/node_modules/condense-newlines/README.md +0 -105
  316. package/test/node_modules/condense-newlines/index.js +0 -60
  317. package/test/node_modules/condense-newlines/package.json +0 -64
  318. package/test/node_modules/config-chain/LICENCE +0 -22
  319. package/test/node_modules/config-chain/index.js +0 -282
  320. package/test/node_modules/config-chain/package.json +0 -28
  321. package/test/node_modules/config-chain/readme.markdown +0 -257
  322. package/test/node_modules/consolidate/History.md +0 -132
  323. package/test/node_modules/consolidate/Readme.md +0 -223
  324. package/test/node_modules/consolidate/index.js +0 -1
  325. package/test/node_modules/consolidate/lib/consolidate.js +0 -1792
  326. package/test/node_modules/consolidate/package.json +0 -94
  327. package/test/node_modules/content-disposition/HISTORY.md +0 -60
  328. package/test/node_modules/content-disposition/LICENSE +0 -22
  329. package/test/node_modules/content-disposition/README.md +0 -142
  330. package/test/node_modules/content-disposition/index.js +0 -458
  331. package/test/node_modules/content-disposition/package.json +0 -44
  332. package/test/node_modules/content-type/HISTORY.md +0 -24
  333. package/test/node_modules/content-type/LICENSE +0 -22
  334. package/test/node_modules/content-type/README.md +0 -92
  335. package/test/node_modules/content-type/index.js +0 -222
  336. package/test/node_modules/content-type/package.json +0 -40
  337. package/test/node_modules/cookies/HISTORY.md +0 -121
  338. package/test/node_modules/cookies/LICENSE +0 -23
  339. package/test/node_modules/cookies/README.md +0 -145
  340. package/test/node_modules/cookies/index.js +0 -224
  341. package/test/node_modules/cookies/package.json +0 -38
  342. package/test/node_modules/debug/LICENSE +0 -20
  343. package/test/node_modules/debug/README.md +0 -481
  344. package/test/node_modules/debug/package.json +0 -59
  345. package/test/node_modules/debug/src/browser.js +0 -269
  346. package/test/node_modules/debug/src/common.js +0 -274
  347. package/test/node_modules/debug/src/index.js +0 -10
  348. package/test/node_modules/debug/src/node.js +0 -263
  349. package/test/node_modules/deep-equal/.travis.yml +0 -8
  350. package/test/node_modules/deep-equal/LICENSE +0 -18
  351. package/test/node_modules/deep-equal/example/cmp.js +0 -11
  352. package/test/node_modules/deep-equal/index.js +0 -94
  353. package/test/node_modules/deep-equal/lib/is_arguments.js +0 -20
  354. package/test/node_modules/deep-equal/lib/keys.js +0 -9
  355. package/test/node_modules/deep-equal/package.json +0 -58
  356. package/test/node_modules/deep-equal/readme.markdown +0 -61
  357. package/test/node_modules/deep-equal/test/cmp.js +0 -95
  358. package/test/node_modules/delegates/History.md +0 -22
  359. package/test/node_modules/delegates/License +0 -20
  360. package/test/node_modules/delegates/Makefile +0 -8
  361. package/test/node_modules/delegates/Readme.md +0 -94
  362. package/test/node_modules/delegates/index.js +0 -121
  363. package/test/node_modules/delegates/package.json +0 -13
  364. package/test/node_modules/delegates/test/index.js +0 -94
  365. package/test/node_modules/depd/History.md +0 -103
  366. package/test/node_modules/depd/LICENSE +0 -22
  367. package/test/node_modules/depd/Readme.md +0 -280
  368. package/test/node_modules/depd/index.js +0 -538
  369. package/test/node_modules/depd/lib/browser/index.js +0 -77
  370. package/test/node_modules/depd/package.json +0 -45
  371. package/test/node_modules/destroy/LICENSE +0 -23
  372. package/test/node_modules/destroy/README.md +0 -63
  373. package/test/node_modules/destroy/index.js +0 -209
  374. package/test/node_modules/destroy/package.json +0 -48
  375. package/test/node_modules/editorconfig/CHANGELOG.md +0 -14
  376. package/test/node_modules/editorconfig/LICENSE +0 -19
  377. package/test/node_modules/editorconfig/README.md +0 -206
  378. package/test/node_modules/editorconfig/bin/editorconfig +0 -3
  379. package/test/node_modules/editorconfig/package.json +0 -59
  380. package/test/node_modules/editorconfig/src/cli.d.ts +0 -1
  381. package/test/node_modules/editorconfig/src/cli.js +0 -53
  382. package/test/node_modules/editorconfig/src/index.d.ts +0 -29
  383. package/test/node_modules/editorconfig/src/index.js +0 -261
  384. package/test/node_modules/editorconfig/src/lib/fnmatch.d.ts +0 -214
  385. package/test/node_modules/editorconfig/src/lib/fnmatch.js +0 -1047
  386. package/test/node_modules/editorconfig/src/lib/ini.d.ts +0 -14
  387. package/test/node_modules/editorconfig/src/lib/ini.js +0 -106
  388. package/test/node_modules/ee-first/LICENSE +0 -22
  389. package/test/node_modules/ee-first/README.md +0 -80
  390. package/test/node_modules/ee-first/index.js +0 -95
  391. package/test/node_modules/ee-first/package.json +0 -29
  392. package/test/node_modules/ejs/LICENSE +0 -202
  393. package/test/node_modules/ejs/README.md +0 -344
  394. package/test/node_modules/ejs/bin/cli.js +0 -212
  395. package/test/node_modules/ejs/ejs.js +0 -1720
  396. package/test/node_modules/ejs/ejs.min.js +0 -1
  397. package/test/node_modules/ejs/jakefile.js +0 -88
  398. package/test/node_modules/ejs/lib/ejs.js +0 -951
  399. package/test/node_modules/ejs/lib/utils.js +0 -225
  400. package/test/node_modules/ejs/package.json +0 -42
  401. package/test/node_modules/ejs/usage.txt +0 -24
  402. package/test/node_modules/encodeurl/HISTORY.md +0 -14
  403. package/test/node_modules/encodeurl/LICENSE +0 -22
  404. package/test/node_modules/encodeurl/README.md +0 -128
  405. package/test/node_modules/encodeurl/index.js +0 -60
  406. package/test/node_modules/encodeurl/package.json +0 -40
  407. package/test/node_modules/escape-html/LICENSE +0 -24
  408. package/test/node_modules/escape-html/Readme.md +0 -43
  409. package/test/node_modules/escape-html/index.js +0 -78
  410. package/test/node_modules/escape-html/package.json +0 -24
  411. package/test/node_modules/extend-shallow/LICENSE +0 -21
  412. package/test/node_modules/extend-shallow/README.md +0 -61
  413. package/test/node_modules/extend-shallow/index.js +0 -33
  414. package/test/node_modules/extend-shallow/package.json +0 -56
  415. package/test/node_modules/filelist/README.md +0 -84
  416. package/test/node_modules/filelist/index.d.ts +0 -110
  417. package/test/node_modules/filelist/index.js +0 -495
  418. package/test/node_modules/filelist/jakefile.js +0 -15
  419. package/test/node_modules/filelist/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
  420. package/test/node_modules/filelist/node_modules/brace-expansion/LICENSE +0 -21
  421. package/test/node_modules/filelist/node_modules/brace-expansion/README.md +0 -135
  422. package/test/node_modules/filelist/node_modules/brace-expansion/index.js +0 -203
  423. package/test/node_modules/filelist/node_modules/brace-expansion/package.json +0 -46
  424. package/test/node_modules/filelist/node_modules/minimatch/LICENSE +0 -15
  425. package/test/node_modules/filelist/node_modules/minimatch/README.md +0 -259
  426. package/test/node_modules/filelist/node_modules/minimatch/lib/path.js +0 -4
  427. package/test/node_modules/filelist/node_modules/minimatch/minimatch.js +0 -906
  428. package/test/node_modules/filelist/node_modules/minimatch/package.json +0 -32
  429. package/test/node_modules/filelist/package.json +0 -28
  430. package/test/node_modules/fill-range/LICENSE +0 -21
  431. package/test/node_modules/fill-range/README.md +0 -237
  432. package/test/node_modules/fill-range/index.js +0 -249
  433. package/test/node_modules/fill-range/package.json +0 -69
  434. package/test/node_modules/fresh/HISTORY.md +0 -70
  435. package/test/node_modules/fresh/LICENSE +0 -23
  436. package/test/node_modules/fresh/README.md +0 -119
  437. package/test/node_modules/fresh/index.js +0 -137
  438. package/test/node_modules/fresh/package.json +0 -46
  439. package/test/node_modules/fs.realpath/LICENSE +0 -43
  440. package/test/node_modules/fs.realpath/README.md +0 -33
  441. package/test/node_modules/fs.realpath/index.js +0 -66
  442. package/test/node_modules/fs.realpath/old.js +0 -303
  443. package/test/node_modules/fs.realpath/package.json +0 -26
  444. package/test/node_modules/get-paths/.editorconfig +0 -9
  445. package/test/node_modules/get-paths/.gitattributes +0 -1
  446. package/test/node_modules/get-paths/.lib.eslintrc +0 -3
  447. package/test/node_modules/get-paths/.remarkignore +0 -1
  448. package/test/node_modules/get-paths/.travis.yml +0 -6
  449. package/test/node_modules/get-paths/LICENSE +0 -21
  450. package/test/node_modules/get-paths/README.md +0 -61
  451. package/test/node_modules/get-paths/index.js +0 -31
  452. package/test/node_modules/get-paths/package.json +0 -100
  453. package/test/node_modules/get-paths/test/test.js +0 -7
  454. package/test/node_modules/glob/LICENSE +0 -15
  455. package/test/node_modules/glob/README.md +0 -378
  456. package/test/node_modules/glob/common.js +0 -240
  457. package/test/node_modules/glob/glob.js +0 -790
  458. package/test/node_modules/glob/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
  459. package/test/node_modules/glob/node_modules/brace-expansion/LICENSE +0 -21
  460. package/test/node_modules/glob/node_modules/brace-expansion/README.md +0 -135
  461. package/test/node_modules/glob/node_modules/brace-expansion/index.js +0 -203
  462. package/test/node_modules/glob/node_modules/brace-expansion/package.json +0 -46
  463. package/test/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
  464. package/test/node_modules/glob/node_modules/minimatch/README.md +0 -259
  465. package/test/node_modules/glob/node_modules/minimatch/lib/path.js +0 -4
  466. package/test/node_modules/glob/node_modules/minimatch/minimatch.js +0 -906
  467. package/test/node_modules/glob/node_modules/minimatch/package.json +0 -32
  468. package/test/node_modules/glob/package.json +0 -55
  469. package/test/node_modules/glob/sync.js +0 -486
  470. package/test/node_modules/glob-parent/CHANGELOG.md +0 -110
  471. package/test/node_modules/glob-parent/LICENSE +0 -15
  472. package/test/node_modules/glob-parent/README.md +0 -137
  473. package/test/node_modules/glob-parent/index.js +0 -42
  474. package/test/node_modules/glob-parent/package.json +0 -48
  475. package/test/node_modules/has-flag/index.d.ts +0 -39
  476. package/test/node_modules/has-flag/index.js +0 -8
  477. package/test/node_modules/has-flag/license +0 -9
  478. package/test/node_modules/has-flag/package.json +0 -46
  479. package/test/node_modules/has-flag/readme.md +0 -89
  480. package/test/node_modules/has-symbols/.eslintrc +0 -11
  481. package/test/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  482. package/test/node_modules/has-symbols/.nycrc +0 -9
  483. package/test/node_modules/has-symbols/CHANGELOG.md +0 -75
  484. package/test/node_modules/has-symbols/LICENSE +0 -21
  485. package/test/node_modules/has-symbols/README.md +0 -46
  486. package/test/node_modules/has-symbols/index.js +0 -13
  487. package/test/node_modules/has-symbols/package.json +0 -101
  488. package/test/node_modules/has-symbols/shams.js +0 -42
  489. package/test/node_modules/has-symbols/test/index.js +0 -22
  490. package/test/node_modules/has-symbols/test/shams/core-js.js +0 -28
  491. package/test/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
  492. package/test/node_modules/has-symbols/test/tests.js +0 -56
  493. package/test/node_modules/has-tostringtag/.eslintrc +0 -11
  494. package/test/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
  495. package/test/node_modules/has-tostringtag/CHANGELOG.md +0 -20
  496. package/test/node_modules/has-tostringtag/LICENSE +0 -21
  497. package/test/node_modules/has-tostringtag/README.md +0 -46
  498. package/test/node_modules/has-tostringtag/index.js +0 -7
  499. package/test/node_modules/has-tostringtag/package.json +0 -84
  500. package/test/node_modules/has-tostringtag/shams.js +0 -7
  501. package/test/node_modules/has-tostringtag/test/index.js +0 -21
  502. package/test/node_modules/has-tostringtag/test/shams/core-js.js +0 -28
  503. package/test/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -28
  504. package/test/node_modules/has-tostringtag/test/tests.js +0 -14
  505. package/test/node_modules/http-assert/HISTORY.md +0 -79
  506. package/test/node_modules/http-assert/LICENSE +0 -22
  507. package/test/node_modules/http-assert/README.md +0 -116
  508. package/test/node_modules/http-assert/index.js +0 -41
  509. package/test/node_modules/http-assert/package.json +0 -41
  510. package/test/node_modules/http-errors/HISTORY.md +0 -165
  511. package/test/node_modules/http-errors/LICENSE +0 -23
  512. package/test/node_modules/http-errors/README.md +0 -169
  513. package/test/node_modules/http-errors/index.js +0 -299
  514. package/test/node_modules/http-errors/node_modules/depd/History.md +0 -96
  515. package/test/node_modules/http-errors/node_modules/depd/LICENSE +0 -22
  516. package/test/node_modules/http-errors/node_modules/depd/Readme.md +0 -280
  517. package/test/node_modules/http-errors/node_modules/depd/index.js +0 -522
  518. package/test/node_modules/http-errors/node_modules/depd/lib/browser/index.js +0 -77
  519. package/test/node_modules/http-errors/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
  520. package/test/node_modules/http-errors/node_modules/depd/lib/compat/event-listener-count.js +0 -22
  521. package/test/node_modules/http-errors/node_modules/depd/lib/compat/index.js +0 -79
  522. package/test/node_modules/http-errors/node_modules/depd/package.json +0 -41
  523. package/test/node_modules/http-errors/package.json +0 -49
  524. package/test/node_modules/ignore-by-default/LICENSE +0 -14
  525. package/test/node_modules/ignore-by-default/README.md +0 -26
  526. package/test/node_modules/ignore-by-default/index.js +0 -12
  527. package/test/node_modules/ignore-by-default/package.json +0 -34
  528. package/test/node_modules/inflight/LICENSE +0 -15
  529. package/test/node_modules/inflight/README.md +0 -37
  530. package/test/node_modules/inflight/inflight.js +0 -54
  531. package/test/node_modules/inflight/package.json +0 -29
  532. package/test/node_modules/inherits/LICENSE +0 -16
  533. package/test/node_modules/inherits/README.md +0 -42
  534. package/test/node_modules/inherits/inherits.js +0 -9
  535. package/test/node_modules/inherits/inherits_browser.js +0 -27
  536. package/test/node_modules/inherits/package.json +0 -29
  537. package/test/node_modules/ini/LICENSE +0 -15
  538. package/test/node_modules/ini/README.md +0 -102
  539. package/test/node_modules/ini/ini.js +0 -206
  540. package/test/node_modules/ini/package.json +0 -33
  541. package/test/node_modules/is-binary-path/index.d.ts +0 -17
  542. package/test/node_modules/is-binary-path/index.js +0 -7
  543. package/test/node_modules/is-binary-path/license +0 -9
  544. package/test/node_modules/is-binary-path/package.json +0 -40
  545. package/test/node_modules/is-binary-path/readme.md +0 -34
  546. package/test/node_modules/is-buffer/LICENSE +0 -21
  547. package/test/node_modules/is-buffer/README.md +0 -53
  548. package/test/node_modules/is-buffer/index.js +0 -21
  549. package/test/node_modules/is-buffer/package.json +0 -51
  550. package/test/node_modules/is-buffer/test/basic.js +0 -24
  551. package/test/node_modules/is-extendable/LICENSE +0 -21
  552. package/test/node_modules/is-extendable/README.md +0 -72
  553. package/test/node_modules/is-extendable/index.js +0 -13
  554. package/test/node_modules/is-extendable/package.json +0 -51
  555. package/test/node_modules/is-extglob/LICENSE +0 -21
  556. package/test/node_modules/is-extglob/README.md +0 -107
  557. package/test/node_modules/is-extglob/index.js +0 -20
  558. package/test/node_modules/is-extglob/package.json +0 -69
  559. package/test/node_modules/is-generator-function/.eslintignore +0 -1
  560. package/test/node_modules/is-generator-function/.eslintrc +0 -9
  561. package/test/node_modules/is-generator-function/.nvmrc +0 -1
  562. package/test/node_modules/is-generator-function/.nycrc +0 -9
  563. package/test/node_modules/is-generator-function/CHANGELOG.md +0 -216
  564. package/test/node_modules/is-generator-function/LICENSE +0 -20
  565. package/test/node_modules/is-generator-function/README.md +0 -40
  566. package/test/node_modules/is-generator-function/index.js +0 -38
  567. package/test/node_modules/is-generator-function/package.json +0 -87
  568. package/test/node_modules/is-generator-function/test/corejs.js +0 -5
  569. package/test/node_modules/is-generator-function/test/index.js +0 -83
  570. package/test/node_modules/is-generator-function/test/uglified.js +0 -8
  571. package/test/node_modules/is-glob/LICENSE +0 -21
  572. package/test/node_modules/is-glob/README.md +0 -206
  573. package/test/node_modules/is-glob/index.js +0 -150
  574. package/test/node_modules/is-glob/package.json +0 -81
  575. package/test/node_modules/is-number/LICENSE +0 -21
  576. package/test/node_modules/is-number/README.md +0 -187
  577. package/test/node_modules/is-number/index.js +0 -18
  578. package/test/node_modules/is-number/package.json +0 -82
  579. package/test/node_modules/is-whitespace/LICENSE +0 -21
  580. package/test/node_modules/is-whitespace/README.md +0 -47
  581. package/test/node_modules/is-whitespace/index.js +0 -19
  582. package/test/node_modules/is-whitespace/package.json +0 -47
  583. package/test/node_modules/jake/Makefile +0 -44
  584. package/test/node_modules/jake/README.md +0 -17
  585. package/test/node_modules/jake/bin/bash_completion.sh +0 -41
  586. package/test/node_modules/jake/bin/cli.js +0 -31
  587. package/test/node_modules/jake/jakefile.js +0 -94
  588. package/test/node_modules/jake/lib/api.js +0 -409
  589. package/test/node_modules/jake/lib/jake.js +0 -330
  590. package/test/node_modules/jake/lib/loader.js +0 -173
  591. package/test/node_modules/jake/lib/namespace.js +0 -115
  592. package/test/node_modules/jake/lib/package_task.js +0 -406
  593. package/test/node_modules/jake/lib/parseargs.js +0 -134
  594. package/test/node_modules/jake/lib/program.js +0 -282
  595. package/test/node_modules/jake/lib/publish_task.js +0 -290
  596. package/test/node_modules/jake/lib/rule.js +0 -311
  597. package/test/node_modules/jake/lib/task/directory_task.js +0 -30
  598. package/test/node_modules/jake/lib/task/file_task.js +0 -124
  599. package/test/node_modules/jake/lib/task/index.js +0 -9
  600. package/test/node_modules/jake/lib/task/task.js +0 -449
  601. package/test/node_modules/jake/lib/test_task.js +0 -270
  602. package/test/node_modules/jake/lib/utils/file.js +0 -286
  603. package/test/node_modules/jake/lib/utils/index.js +0 -297
  604. package/test/node_modules/jake/lib/utils/logger.js +0 -24
  605. package/test/node_modules/jake/package.json +0 -42
  606. package/test/node_modules/jake/test/integration/concurrent.js +0 -45
  607. package/test/node_modules/jake/test/integration/file.js +0 -228
  608. package/test/node_modules/jake/test/integration/file_task.js +0 -126
  609. package/test/node_modules/jake/test/integration/helpers.js +0 -80
  610. package/test/node_modules/jake/test/integration/jakefile.js +0 -337
  611. package/test/node_modules/jake/test/integration/jakelib/concurrent.jake.js +0 -113
  612. package/test/node_modules/jake/test/integration/jakelib/publish.jake.js +0 -49
  613. package/test/node_modules/jake/test/integration/jakelib/required_module.jake.js +0 -10
  614. package/test/node_modules/jake/test/integration/jakelib/rule.jake.js +0 -222
  615. package/test/node_modules/jake/test/integration/publish_task.js +0 -27
  616. package/test/node_modules/jake/test/integration/rule.js +0 -217
  617. package/test/node_modules/jake/test/integration/selfdep.js +0 -42
  618. package/test/node_modules/jake/test/integration/task_base.js +0 -167
  619. package/test/node_modules/jake/test/unit/jakefile.js +0 -36
  620. package/test/node_modules/jake/test/unit/namespace.js +0 -77
  621. package/test/node_modules/jake/test/unit/parseargs.js +0 -169
  622. package/test/node_modules/jake/usage.txt +0 -16
  623. package/test/node_modules/js-beautify/LICENSE +0 -9
  624. package/test/node_modules/js-beautify/README.md +0 -435
  625. package/test/node_modules/js-beautify/js/bin/css-beautify.js +0 -4
  626. package/test/node_modules/js-beautify/js/bin/html-beautify.js +0 -4
  627. package/test/node_modules/js-beautify/js/bin/js-beautify.js +0 -4
  628. package/test/node_modules/js-beautify/js/index.js +0 -86
  629. package/test/node_modules/js-beautify/js/lib/beautifier.js +0 -5982
  630. package/test/node_modules/js-beautify/js/lib/beautifier.min.js +0 -2
  631. package/test/node_modules/js-beautify/js/lib/beautify-css.js +0 -1675
  632. package/test/node_modules/js-beautify/js/lib/beautify-html.js +0 -3136
  633. package/test/node_modules/js-beautify/js/lib/beautify.js +0 -4020
  634. package/test/node_modules/js-beautify/js/lib/cli.js +0 -705
  635. package/test/node_modules/js-beautify/js/lib/unpackers/javascriptobfuscator_unpacker.js +0 -132
  636. package/test/node_modules/js-beautify/js/lib/unpackers/myobfuscate_unpacker.js +0 -119
  637. package/test/node_modules/js-beautify/js/lib/unpackers/p_a_c_k_e_r_unpacker.js +0 -119
  638. package/test/node_modules/js-beautify/js/lib/unpackers/urlencode_unpacker.js +0 -104
  639. package/test/node_modules/js-beautify/js/src/cli.js +0 -705
  640. package/test/node_modules/js-beautify/js/src/core/directives.js +0 -62
  641. package/test/node_modules/js-beautify/js/src/core/inputscanner.js +0 -192
  642. package/test/node_modules/js-beautify/js/src/core/options.js +0 -193
  643. package/test/node_modules/js-beautify/js/src/core/output.js +0 -419
  644. package/test/node_modules/js-beautify/js/src/core/pattern.js +0 -94
  645. package/test/node_modules/js-beautify/js/src/core/templatablepattern.js +0 -211
  646. package/test/node_modules/js-beautify/js/src/core/token.js +0 -54
  647. package/test/node_modules/js-beautify/js/src/core/tokenizer.js +0 -140
  648. package/test/node_modules/js-beautify/js/src/core/tokenstream.js +0 -78
  649. package/test/node_modules/js-beautify/js/src/core/whitespacepattern.js +0 -105
  650. package/test/node_modules/js-beautify/js/src/css/beautifier.js +0 -529
  651. package/test/node_modules/js-beautify/js/src/css/index.js +0 -42
  652. package/test/node_modules/js-beautify/js/src/css/options.js +0 -56
  653. package/test/node_modules/js-beautify/js/src/css/tokenizer.js +0 -29
  654. package/test/node_modules/js-beautify/js/src/html/beautifier.js +0 -878
  655. package/test/node_modules/js-beautify/js/src/html/index.js +0 -42
  656. package/test/node_modules/js-beautify/js/src/html/options.js +0 -91
  657. package/test/node_modules/js-beautify/js/src/html/tokenizer.js +0 -332
  658. package/test/node_modules/js-beautify/js/src/index.js +0 -44
  659. package/test/node_modules/js-beautify/js/src/javascript/acorn.js +0 -57
  660. package/test/node_modules/js-beautify/js/src/javascript/beautifier.js +0 -1472
  661. package/test/node_modules/js-beautify/js/src/javascript/index.js +0 -42
  662. package/test/node_modules/js-beautify/js/src/javascript/options.js +0 -93
  663. package/test/node_modules/js-beautify/js/src/javascript/tokenizer.js +0 -567
  664. package/test/node_modules/js-beautify/js/src/unpackers/javascriptobfuscator_unpacker.js +0 -132
  665. package/test/node_modules/js-beautify/js/src/unpackers/myobfuscate_unpacker.js +0 -119
  666. package/test/node_modules/js-beautify/js/src/unpackers/p_a_c_k_e_r_unpacker.js +0 -119
  667. package/test/node_modules/js-beautify/js/src/unpackers/urlencode_unpacker.js +0 -104
  668. package/test/node_modules/js-beautify/package.json +0 -72
  669. package/test/node_modules/keygrip/HISTORY.md +0 -25
  670. package/test/node_modules/keygrip/LICENSE +0 -21
  671. package/test/node_modules/keygrip/README.md +0 -103
  672. package/test/node_modules/keygrip/index.js +0 -51
  673. package/test/node_modules/keygrip/package.json +0 -28
  674. package/test/node_modules/kind-of/LICENSE +0 -21
  675. package/test/node_modules/kind-of/README.md +0 -261
  676. package/test/node_modules/kind-of/index.js +0 -116
  677. package/test/node_modules/kind-of/package.json +0 -90
  678. package/test/node_modules/koa/History.md +0 -696
  679. package/test/node_modules/koa/LICENSE +0 -22
  680. package/test/node_modules/koa/Readme.md +0 -289
  681. package/test/node_modules/koa/dist/koa.mjs +0 -4
  682. package/test/node_modules/koa/lib/application.js +0 -314
  683. package/test/node_modules/koa/lib/context.js +0 -251
  684. package/test/node_modules/koa/lib/request.js +0 -726
  685. package/test/node_modules/koa/lib/response.js +0 -588
  686. package/test/node_modules/koa/package.json +0 -89
  687. package/test/node_modules/koa-compose/History.md +0 -60
  688. package/test/node_modules/koa-compose/Readme.md +0 -40
  689. package/test/node_modules/koa-compose/index.js +0 -48
  690. package/test/node_modules/koa-compose/package.json +0 -30
  691. package/test/node_modules/koa-convert/LICENSE +0 -22
  692. package/test/node_modules/koa-convert/README.md +0 -166
  693. package/test/node_modules/koa-convert/index.js +0 -105
  694. package/test/node_modules/koa-convert/package.json +0 -64
  695. package/test/node_modules/koa-send/History.md +0 -133
  696. package/test/node_modules/koa-send/LICENSE +0 -22
  697. package/test/node_modules/koa-send/README.md +0 -109
  698. package/test/node_modules/koa-send/index.js +0 -188
  699. package/test/node_modules/koa-send/package.json +0 -58
  700. package/test/node_modules/koa-views/.eslintrc +0 -14
  701. package/test/node_modules/koa-views/.gitattributes +0 -1
  702. package/test/node_modules/koa-views/.github/workflows/test.yml +0 -20
  703. package/test/node_modules/koa-views/README.md +0 -201
  704. package/test/node_modules/koa-views/history.md +0 -110
  705. package/test/node_modules/koa-views/index.d.ts +0 -62
  706. package/test/node_modules/koa-views/license +0 -22
  707. package/test/node_modules/koa-views/package.json +0 -68
  708. package/test/node_modules/koa-views/src/index.js +0 -98
  709. package/test/node_modules/koa-views/test/.eslintrc +0 -5
  710. package/test/node_modules/koa-views/test/fixtures/basic.ejs +0 -10
  711. package/test/node_modules/koa-views/test/fixtures/basic.foo +0 -1
  712. package/test/node_modules/koa-views/test/fixtures/basic.html +0 -11
  713. package/test/node_modules/koa-views/test/fixtures/basic.pug +0 -9
  714. package/test/node_modules/koa-views/test/fixtures/basic.test.html +0 -11
  715. package/test/node_modules/koa-views/test/fixtures/global-state.pug +0 -9
  716. package/test/node_modules/koa-views/test/fixtures/index.html +0 -10
  717. package/test/node_modules/koa-views/test/fixtures/nunjucks-filter.html +0 -11
  718. package/test/node_modules/koa-views/test/fixtures/state.pug +0 -9
  719. package/test/node_modules/koa-views/test/fixtures/underscore.html +0 -11
  720. package/test/node_modules/koa-views/test/fixtures/view-options-partial.hbs +0 -1
  721. package/test/node_modules/koa-views/test/fixtures/view-options.hbs +0 -4
  722. package/test/node_modules/koa-views/test/index.js +0 -431
  723. package/test/node_modules/koa-views/test-outside/fixtures/basic.ejs +0 -10
  724. package/test/node_modules/lru-cache/LICENSE +0 -15
  725. package/test/node_modules/lru-cache/README.md +0 -158
  726. package/test/node_modules/lru-cache/index.js +0 -468
  727. package/test/node_modules/lru-cache/package.json +0 -36
  728. package/test/node_modules/media-typer/HISTORY.md +0 -22
  729. package/test/node_modules/media-typer/LICENSE +0 -22
  730. package/test/node_modules/media-typer/README.md +0 -81
  731. package/test/node_modules/media-typer/index.js +0 -270
  732. package/test/node_modules/media-typer/package.json +0 -26
  733. package/test/node_modules/mime-db/HISTORY.md +0 -507
  734. package/test/node_modules/mime-db/LICENSE +0 -23
  735. package/test/node_modules/mime-db/README.md +0 -100
  736. package/test/node_modules/mime-db/db.json +0 -8519
  737. package/test/node_modules/mime-db/index.js +0 -12
  738. package/test/node_modules/mime-db/package.json +0 -60
  739. package/test/node_modules/mime-types/HISTORY.md +0 -397
  740. package/test/node_modules/mime-types/LICENSE +0 -23
  741. package/test/node_modules/mime-types/README.md +0 -113
  742. package/test/node_modules/mime-types/index.js +0 -188
  743. package/test/node_modules/mime-types/package.json +0 -44
  744. package/test/node_modules/minimatch/LICENSE +0 -15
  745. package/test/node_modules/minimatch/README.md +0 -230
  746. package/test/node_modules/minimatch/minimatch.js +0 -947
  747. package/test/node_modules/minimatch/package.json +0 -33
  748. package/test/node_modules/ms/index.js +0 -162
  749. package/test/node_modules/ms/license.md +0 -21
  750. package/test/node_modules/ms/package.json +0 -37
  751. package/test/node_modules/ms/readme.md +0 -60
  752. package/test/node_modules/mz/HISTORY.md +0 -66
  753. package/test/node_modules/mz/LICENSE +0 -22
  754. package/test/node_modules/mz/README.md +0 -106
  755. package/test/node_modules/mz/child_process.js +0 -8
  756. package/test/node_modules/mz/crypto.js +0 -9
  757. package/test/node_modules/mz/dns.js +0 -16
  758. package/test/node_modules/mz/fs.js +0 -62
  759. package/test/node_modules/mz/index.js +0 -8
  760. package/test/node_modules/mz/package.json +0 -44
  761. package/test/node_modules/mz/readline.js +0 -64
  762. package/test/node_modules/mz/zlib.js +0 -13
  763. package/test/node_modules/negotiator/HISTORY.md +0 -108
  764. package/test/node_modules/negotiator/LICENSE +0 -24
  765. package/test/node_modules/negotiator/README.md +0 -203
  766. package/test/node_modules/negotiator/index.js +0 -82
  767. package/test/node_modules/negotiator/lib/charset.js +0 -169
  768. package/test/node_modules/negotiator/lib/encoding.js +0 -184
  769. package/test/node_modules/negotiator/lib/language.js +0 -179
  770. package/test/node_modules/negotiator/lib/mediaType.js +0 -294
  771. package/test/node_modules/negotiator/package.json +0 -42
  772. package/test/node_modules/nodemon/LICENSE +0 -21
  773. package/test/node_modules/nodemon/README.md +0 -423
  774. package/test/node_modules/nodemon/bin/nodemon.js +0 -16
  775. package/test/node_modules/nodemon/bin/windows-kill.exe +0 -0
  776. package/test/node_modules/nodemon/doc/cli/authors.txt +0 -8
  777. package/test/node_modules/nodemon/doc/cli/config.txt +0 -44
  778. package/test/node_modules/nodemon/doc/cli/help.txt +0 -29
  779. package/test/node_modules/nodemon/doc/cli/logo.txt +0 -20
  780. package/test/node_modules/nodemon/doc/cli/options.txt +0 -36
  781. package/test/node_modules/nodemon/doc/cli/topics.txt +0 -8
  782. package/test/node_modules/nodemon/doc/cli/usage.txt +0 -3
  783. package/test/node_modules/nodemon/doc/cli/whoami.txt +0 -9
  784. package/test/node_modules/nodemon/lib/cli/index.js +0 -49
  785. package/test/node_modules/nodemon/lib/cli/parse.js +0 -230
  786. package/test/node_modules/nodemon/lib/config/command.js +0 -43
  787. package/test/node_modules/nodemon/lib/config/defaults.js +0 -28
  788. package/test/node_modules/nodemon/lib/config/exec.js +0 -225
  789. package/test/node_modules/nodemon/lib/config/index.js +0 -93
  790. package/test/node_modules/nodemon/lib/config/load.js +0 -256
  791. package/test/node_modules/nodemon/lib/help/index.js +0 -27
  792. package/test/node_modules/nodemon/lib/index.js +0 -1
  793. package/test/node_modules/nodemon/lib/monitor/index.js +0 -4
  794. package/test/node_modules/nodemon/lib/monitor/match.js +0 -276
  795. package/test/node_modules/nodemon/lib/monitor/run.js +0 -541
  796. package/test/node_modules/nodemon/lib/monitor/signals.js +0 -34
  797. package/test/node_modules/nodemon/lib/monitor/watch.js +0 -239
  798. package/test/node_modules/nodemon/lib/nodemon.js +0 -311
  799. package/test/node_modules/nodemon/lib/rules/add.js +0 -89
  800. package/test/node_modules/nodemon/lib/rules/index.js +0 -53
  801. package/test/node_modules/nodemon/lib/rules/parse.js +0 -43
  802. package/test/node_modules/nodemon/lib/spawn.js +0 -73
  803. package/test/node_modules/nodemon/lib/utils/bus.js +0 -44
  804. package/test/node_modules/nodemon/lib/utils/clone.js +0 -40
  805. package/test/node_modules/nodemon/lib/utils/colour.js +0 -26
  806. package/test/node_modules/nodemon/lib/utils/index.js +0 -102
  807. package/test/node_modules/nodemon/lib/utils/log.js +0 -82
  808. package/test/node_modules/nodemon/lib/utils/merge.js +0 -47
  809. package/test/node_modules/nodemon/lib/version.js +0 -100
  810. package/test/node_modules/nodemon/node_modules/debug/CHANGELOG.md +0 -395
  811. package/test/node_modules/nodemon/node_modules/debug/LICENSE +0 -19
  812. package/test/node_modules/nodemon/node_modules/debug/README.md +0 -437
  813. package/test/node_modules/nodemon/node_modules/debug/node.js +0 -1
  814. package/test/node_modules/nodemon/node_modules/debug/package.json +0 -51
  815. package/test/node_modules/nodemon/node_modules/debug/src/browser.js +0 -180
  816. package/test/node_modules/nodemon/node_modules/debug/src/common.js +0 -249
  817. package/test/node_modules/nodemon/node_modules/debug/src/index.js +0 -12
  818. package/test/node_modules/nodemon/node_modules/debug/src/node.js +0 -177
  819. package/test/node_modules/nodemon/node_modules/has-flag/index.js +0 -8
  820. package/test/node_modules/nodemon/node_modules/has-flag/license +0 -9
  821. package/test/node_modules/nodemon/node_modules/has-flag/package.json +0 -44
  822. package/test/node_modules/nodemon/node_modules/has-flag/readme.md +0 -70
  823. package/test/node_modules/nodemon/node_modules/supports-color/browser.js +0 -5
  824. package/test/node_modules/nodemon/node_modules/supports-color/index.js +0 -131
  825. package/test/node_modules/nodemon/node_modules/supports-color/license +0 -9
  826. package/test/node_modules/nodemon/node_modules/supports-color/package.json +0 -53
  827. package/test/node_modules/nodemon/node_modules/supports-color/readme.md +0 -66
  828. package/test/node_modules/nodemon/package.json +0 -74
  829. package/test/node_modules/nopt/LICENSE +0 -15
  830. package/test/node_modules/nopt/README.md +0 -213
  831. package/test/node_modules/nopt/bin/nopt.js +0 -56
  832. package/test/node_modules/nopt/lib/nopt.js +0 -515
  833. package/test/node_modules/nopt/package.json +0 -53
  834. package/test/node_modules/normalize-path/LICENSE +0 -21
  835. package/test/node_modules/normalize-path/README.md +0 -127
  836. package/test/node_modules/normalize-path/index.js +0 -35
  837. package/test/node_modules/normalize-path/package.json +0 -77
  838. package/test/node_modules/object-assign/index.js +0 -90
  839. package/test/node_modules/object-assign/license +0 -21
  840. package/test/node_modules/object-assign/package.json +0 -42
  841. package/test/node_modules/object-assign/readme.md +0 -61
  842. package/test/node_modules/on-finished/HISTORY.md +0 -98
  843. package/test/node_modules/on-finished/LICENSE +0 -23
  844. package/test/node_modules/on-finished/README.md +0 -162
  845. package/test/node_modules/on-finished/index.js +0 -234
  846. package/test/node_modules/on-finished/package.json +0 -39
  847. package/test/node_modules/once/LICENSE +0 -15
  848. package/test/node_modules/once/README.md +0 -79
  849. package/test/node_modules/once/once.js +0 -42
  850. package/test/node_modules/once/package.json +0 -33
  851. package/test/node_modules/only/History.md +0 -5
  852. package/test/node_modules/only/Makefile +0 -7
  853. package/test/node_modules/only/Readme.md +0 -58
  854. package/test/node_modules/only/index.js +0 -10
  855. package/test/node_modules/only/package.json +0 -14
  856. package/test/node_modules/parseurl/HISTORY.md +0 -58
  857. package/test/node_modules/parseurl/LICENSE +0 -24
  858. package/test/node_modules/parseurl/README.md +0 -133
  859. package/test/node_modules/parseurl/index.js +0 -158
  860. package/test/node_modules/parseurl/package.json +0 -40
  861. package/test/node_modules/path-is-absolute/index.js +0 -20
  862. package/test/node_modules/path-is-absolute/license +0 -21
  863. package/test/node_modules/path-is-absolute/package.json +0 -43
  864. package/test/node_modules/path-is-absolute/readme.md +0 -59
  865. package/test/node_modules/picomatch/CHANGELOG.md +0 -136
  866. package/test/node_modules/picomatch/LICENSE +0 -21
  867. package/test/node_modules/picomatch/README.md +0 -708
  868. package/test/node_modules/picomatch/index.js +0 -3
  869. package/test/node_modules/picomatch/lib/constants.js +0 -179
  870. package/test/node_modules/picomatch/lib/parse.js +0 -1091
  871. package/test/node_modules/picomatch/lib/picomatch.js +0 -342
  872. package/test/node_modules/picomatch/lib/scan.js +0 -391
  873. package/test/node_modules/picomatch/lib/utils.js +0 -64
  874. package/test/node_modules/picomatch/package.json +0 -81
  875. package/test/node_modules/pify/index.js +0 -68
  876. package/test/node_modules/pify/license +0 -9
  877. package/test/node_modules/pify/package.json +0 -51
  878. package/test/node_modules/pify/readme.md +0 -145
  879. package/test/node_modules/pretty/LICENSE +0 -21
  880. package/test/node_modules/pretty/README.md +0 -105
  881. package/test/node_modules/pretty/index.js +0 -45
  882. package/test/node_modules/pretty/package.json +0 -54
  883. package/test/node_modules/proto-list/LICENSE +0 -15
  884. package/test/node_modules/proto-list/README.md +0 -3
  885. package/test/node_modules/proto-list/package.json +0 -18
  886. package/test/node_modules/proto-list/proto-list.js +0 -88
  887. package/test/node_modules/proto-list/test/basic.js +0 -61
  888. package/test/node_modules/pseudomap/LICENSE +0 -15
  889. package/test/node_modules/pseudomap/README.md +0 -60
  890. package/test/node_modules/pseudomap/map.js +0 -9
  891. package/test/node_modules/pseudomap/package.json +0 -25
  892. package/test/node_modules/pseudomap/pseudomap.js +0 -113
  893. package/test/node_modules/pseudomap/test/basic.js +0 -86
  894. package/test/node_modules/pstree.remy/.travis.yml +0 -8
  895. package/test/node_modules/pstree.remy/LICENSE +0 -7
  896. package/test/node_modules/pstree.remy/README.md +0 -26
  897. package/test/node_modules/pstree.remy/lib/index.js +0 -37
  898. package/test/node_modules/pstree.remy/lib/tree.js +0 -37
  899. package/test/node_modules/pstree.remy/lib/utils.js +0 -53
  900. package/test/node_modules/pstree.remy/package.json +0 -33
  901. package/test/node_modules/pstree.remy/tests/fixtures/index.js +0 -13
  902. package/test/node_modules/pstree.remy/tests/fixtures/out1 +0 -10
  903. package/test/node_modules/pstree.remy/tests/fixtures/out2 +0 -29
  904. package/test/node_modules/pstree.remy/tests/index.test.js +0 -51
  905. package/test/node_modules/readdirp/LICENSE +0 -21
  906. package/test/node_modules/readdirp/README.md +0 -122
  907. package/test/node_modules/readdirp/index.d.ts +0 -43
  908. package/test/node_modules/readdirp/index.js +0 -287
  909. package/test/node_modules/readdirp/package.json +0 -122
  910. package/test/node_modules/resolve-path/HISTORY.md +0 -66
  911. package/test/node_modules/resolve-path/LICENSE +0 -23
  912. package/test/node_modules/resolve-path/README.md +0 -111
  913. package/test/node_modules/resolve-path/index.js +0 -88
  914. package/test/node_modules/resolve-path/node_modules/depd/History.md +0 -96
  915. package/test/node_modules/resolve-path/node_modules/depd/LICENSE +0 -22
  916. package/test/node_modules/resolve-path/node_modules/depd/Readme.md +0 -280
  917. package/test/node_modules/resolve-path/node_modules/depd/index.js +0 -522
  918. package/test/node_modules/resolve-path/node_modules/depd/lib/browser/index.js +0 -77
  919. package/test/node_modules/resolve-path/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
  920. package/test/node_modules/resolve-path/node_modules/depd/lib/compat/event-listener-count.js +0 -22
  921. package/test/node_modules/resolve-path/node_modules/depd/lib/compat/index.js +0 -79
  922. package/test/node_modules/resolve-path/node_modules/depd/package.json +0 -41
  923. package/test/node_modules/resolve-path/node_modules/http-errors/HISTORY.md +0 -132
  924. package/test/node_modules/resolve-path/node_modules/http-errors/LICENSE +0 -23
  925. package/test/node_modules/resolve-path/node_modules/http-errors/README.md +0 -135
  926. package/test/node_modules/resolve-path/node_modules/http-errors/index.js +0 -260
  927. package/test/node_modules/resolve-path/node_modules/http-errors/package.json +0 -48
  928. package/test/node_modules/resolve-path/node_modules/inherits/LICENSE +0 -16
  929. package/test/node_modules/resolve-path/node_modules/inherits/README.md +0 -42
  930. package/test/node_modules/resolve-path/node_modules/inherits/inherits.js +0 -7
  931. package/test/node_modules/resolve-path/node_modules/inherits/inherits_browser.js +0 -23
  932. package/test/node_modules/resolve-path/node_modules/inherits/package.json +0 -29
  933. package/test/node_modules/resolve-path/node_modules/setprototypeof/LICENSE +0 -13
  934. package/test/node_modules/resolve-path/node_modules/setprototypeof/README.md +0 -26
  935. package/test/node_modules/resolve-path/node_modules/setprototypeof/index.d.ts +0 -2
  936. package/test/node_modules/resolve-path/node_modules/setprototypeof/index.js +0 -15
  937. package/test/node_modules/resolve-path/node_modules/setprototypeof/package.json +0 -25
  938. package/test/node_modules/resolve-path/package.json +0 -46
  939. package/test/node_modules/safe-buffer/LICENSE +0 -21
  940. package/test/node_modules/safe-buffer/README.md +0 -584
  941. package/test/node_modules/safe-buffer/index.d.ts +0 -187
  942. package/test/node_modules/safe-buffer/index.js +0 -65
  943. package/test/node_modules/safe-buffer/package.json +0 -51
  944. package/test/node_modules/semver/CHANGELOG.md +0 -39
  945. package/test/node_modules/semver/LICENSE +0 -15
  946. package/test/node_modules/semver/README.md +0 -412
  947. package/test/node_modules/semver/bin/semver +0 -160
  948. package/test/node_modules/semver/package.json +0 -28
  949. package/test/node_modules/semver/range.bnf +0 -16
  950. package/test/node_modules/semver/semver.js +0 -1483
  951. package/test/node_modules/setprototypeof/LICENSE +0 -13
  952. package/test/node_modules/setprototypeof/README.md +0 -31
  953. package/test/node_modules/setprototypeof/index.d.ts +0 -2
  954. package/test/node_modules/setprototypeof/index.js +0 -17
  955. package/test/node_modules/setprototypeof/package.json +0 -38
  956. package/test/node_modules/setprototypeof/test/index.js +0 -24
  957. package/test/node_modules/sigmund/LICENSE +0 -15
  958. package/test/node_modules/sigmund/README.md +0 -53
  959. package/test/node_modules/sigmund/bench.js +0 -283
  960. package/test/node_modules/sigmund/package.json +0 -30
  961. package/test/node_modules/sigmund/sigmund.js +0 -39
  962. package/test/node_modules/sigmund/test/basic.js +0 -24
  963. package/test/node_modules/simple-update-notifier/LICENSE +0 -21
  964. package/test/node_modules/simple-update-notifier/README.md +0 -82
  965. package/test/node_modules/simple-update-notifier/build/index.d.ts +0 -13
  966. package/test/node_modules/simple-update-notifier/build/index.js +0 -217
  967. package/test/node_modules/simple-update-notifier/node_modules/semver/CHANGELOG.md +0 -74
  968. package/test/node_modules/simple-update-notifier/node_modules/semver/LICENSE +0 -15
  969. package/test/node_modules/simple-update-notifier/node_modules/semver/README.md +0 -499
  970. package/test/node_modules/simple-update-notifier/node_modules/semver/bin/semver.js +0 -173
  971. package/test/node_modules/simple-update-notifier/node_modules/semver/classes/comparator.js +0 -139
  972. package/test/node_modules/simple-update-notifier/node_modules/semver/classes/index.js +0 -5
  973. package/test/node_modules/simple-update-notifier/node_modules/semver/classes/range.js +0 -448
  974. package/test/node_modules/simple-update-notifier/node_modules/semver/classes/semver.js +0 -290
  975. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/clean.js +0 -6
  976. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/cmp.js +0 -48
  977. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/coerce.js +0 -51
  978. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/compare-build.js +0 -7
  979. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/compare-loose.js +0 -3
  980. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/compare.js +0 -5
  981. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/diff.js +0 -25
  982. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/eq.js +0 -3
  983. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/gt.js +0 -3
  984. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/gte.js +0 -3
  985. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/inc.js +0 -15
  986. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/lt.js +0 -3
  987. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/lte.js +0 -3
  988. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/major.js +0 -3
  989. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/minor.js +0 -3
  990. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/neq.js +0 -3
  991. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/parse.js +0 -37
  992. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/patch.js +0 -3
  993. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/prerelease.js +0 -6
  994. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/rcompare.js +0 -3
  995. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/rsort.js +0 -3
  996. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/satisfies.js +0 -10
  997. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/sort.js +0 -3
  998. package/test/node_modules/simple-update-notifier/node_modules/semver/functions/valid.js +0 -6
  999. package/test/node_modules/simple-update-notifier/node_modules/semver/index.js +0 -64
  1000. package/test/node_modules/simple-update-notifier/node_modules/semver/internal/constants.js +0 -17
  1001. package/test/node_modules/simple-update-notifier/node_modules/semver/internal/debug.js +0 -9
  1002. package/test/node_modules/simple-update-notifier/node_modules/semver/internal/identifiers.js +0 -23
  1003. package/test/node_modules/simple-update-notifier/node_modules/semver/internal/re.js +0 -179
  1004. package/test/node_modules/simple-update-notifier/node_modules/semver/package.json +0 -34
  1005. package/test/node_modules/simple-update-notifier/node_modules/semver/range.bnf +0 -16
  1006. package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/gtr.js +0 -4
  1007. package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/intersects.js +0 -7
  1008. package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/ltr.js +0 -4
  1009. package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/max-satisfying.js +0 -25
  1010. package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/min-satisfying.js +0 -24
  1011. package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/min-version.js +0 -57
  1012. package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/outside.js +0 -80
  1013. package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/to-comparators.js +0 -8
  1014. package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/valid.js +0 -11
  1015. package/test/node_modules/simple-update-notifier/package.json +0 -97
  1016. package/test/node_modules/simple-update-notifier/src/borderedText.ts +0 -12
  1017. package/test/node_modules/simple-update-notifier/src/cache.spec.ts +0 -17
  1018. package/test/node_modules/simple-update-notifier/src/cache.ts +0 -44
  1019. package/test/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +0 -35
  1020. package/test/node_modules/simple-update-notifier/src/getDistVersion.ts +0 -29
  1021. package/test/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +0 -82
  1022. package/test/node_modules/simple-update-notifier/src/hasNewVersion.ts +0 -40
  1023. package/test/node_modules/simple-update-notifier/src/index.spec.ts +0 -27
  1024. package/test/node_modules/simple-update-notifier/src/index.ts +0 -34
  1025. package/test/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +0 -12
  1026. package/test/node_modules/simple-update-notifier/src/types.ts +0 -8
  1027. package/test/node_modules/statuses/HISTORY.md +0 -65
  1028. package/test/node_modules/statuses/LICENSE +0 -23
  1029. package/test/node_modules/statuses/README.md +0 -127
  1030. package/test/node_modules/statuses/codes.json +0 -66
  1031. package/test/node_modules/statuses/index.js +0 -113
  1032. package/test/node_modules/statuses/package.json +0 -48
  1033. package/test/node_modules/supports-color/browser.js +0 -5
  1034. package/test/node_modules/supports-color/index.js +0 -135
  1035. package/test/node_modules/supports-color/license +0 -9
  1036. package/test/node_modules/supports-color/package.json +0 -53
  1037. package/test/node_modules/supports-color/readme.md +0 -76
  1038. package/test/node_modules/thenify/History.md +0 -11
  1039. package/test/node_modules/thenify/LICENSE +0 -22
  1040. package/test/node_modules/thenify/README.md +0 -120
  1041. package/test/node_modules/thenify/index.js +0 -77
  1042. package/test/node_modules/thenify/package.json +0 -31
  1043. package/test/node_modules/thenify-all/History.md +0 -11
  1044. package/test/node_modules/thenify-all/LICENSE +0 -22
  1045. package/test/node_modules/thenify-all/README.md +0 -66
  1046. package/test/node_modules/thenify-all/index.js +0 -73
  1047. package/test/node_modules/thenify-all/package.json +0 -34
  1048. package/test/node_modules/to-regex-range/LICENSE +0 -21
  1049. package/test/node_modules/to-regex-range/README.md +0 -305
  1050. package/test/node_modules/to-regex-range/index.js +0 -288
  1051. package/test/node_modules/to-regex-range/package.json +0 -88
  1052. package/test/node_modules/toidentifier/HISTORY.md +0 -9
  1053. package/test/node_modules/toidentifier/LICENSE +0 -21
  1054. package/test/node_modules/toidentifier/README.md +0 -61
  1055. package/test/node_modules/toidentifier/index.js +0 -32
  1056. package/test/node_modules/toidentifier/package.json +0 -38
  1057. package/test/node_modules/touch/LICENSE +0 -15
  1058. package/test/node_modules/touch/README.md +0 -52
  1059. package/test/node_modules/touch/bin/nodetouch.js +0 -112
  1060. package/test/node_modules/touch/index.js +0 -224
  1061. package/test/node_modules/touch/node_modules/nopt/LICENSE +0 -23
  1062. package/test/node_modules/touch/node_modules/nopt/README.md +0 -208
  1063. package/test/node_modules/touch/node_modules/nopt/bin/nopt.js +0 -44
  1064. package/test/node_modules/touch/node_modules/nopt/examples/my-program.js +0 -30
  1065. package/test/node_modules/touch/node_modules/nopt/lib/nopt.js +0 -552
  1066. package/test/node_modules/touch/node_modules/nopt/package.json +0 -12
  1067. package/test/node_modules/touch/package.json +0 -28
  1068. package/test/node_modules/tsscmp/.travis.yml +0 -18
  1069. package/test/node_modules/tsscmp/LICENSE +0 -21
  1070. package/test/node_modules/tsscmp/README.md +0 -48
  1071. package/test/node_modules/tsscmp/appveyor.yml +0 -29
  1072. package/test/node_modules/tsscmp/lib/index.js +0 -38
  1073. package/test/node_modules/tsscmp/package.json +0 -29
  1074. package/test/node_modules/tsscmp/test/benchmark/index.js +0 -30
  1075. package/test/node_modules/tsscmp/test/unit/index.js +0 -69
  1076. package/test/node_modules/type-is/HISTORY.md +0 -259
  1077. package/test/node_modules/type-is/LICENSE +0 -23
  1078. package/test/node_modules/type-is/README.md +0 -170
  1079. package/test/node_modules/type-is/index.js +0 -266
  1080. package/test/node_modules/type-is/package.json +0 -45
  1081. package/test/node_modules/undefsafe/.github/workflows/release.yml +0 -25
  1082. package/test/node_modules/undefsafe/.jscsrc +0 -13
  1083. package/test/node_modules/undefsafe/.jshintrc +0 -16
  1084. package/test/node_modules/undefsafe/.travis.yml +0 -18
  1085. package/test/node_modules/undefsafe/LICENSE +0 -22
  1086. package/test/node_modules/undefsafe/README.md +0 -63
  1087. package/test/node_modules/undefsafe/example.js +0 -14
  1088. package/test/node_modules/undefsafe/lib/undefsafe.js +0 -125
  1089. package/test/node_modules/undefsafe/package.json +0 -34
  1090. package/test/node_modules/vary/HISTORY.md +0 -39
  1091. package/test/node_modules/vary/LICENSE +0 -22
  1092. package/test/node_modules/vary/README.md +0 -101
  1093. package/test/node_modules/vary/index.js +0 -149
  1094. package/test/node_modules/vary/package.json +0 -43
  1095. package/test/node_modules/wrappy/LICENSE +0 -15
  1096. package/test/node_modules/wrappy/README.md +0 -36
  1097. package/test/node_modules/wrappy/package.json +0 -29
  1098. package/test/node_modules/wrappy/wrappy.js +0 -33
  1099. package/test/node_modules/yallist/LICENSE +0 -15
  1100. package/test/node_modules/yallist/README.md +0 -204
  1101. package/test/node_modules/yallist/iterator.js +0 -7
  1102. package/test/node_modules/yallist/package.json +0 -29
  1103. package/test/node_modules/yallist/yallist.js +0 -370
  1104. package/test/node_modules/ylru/History.md +0 -42
  1105. package/test/node_modules/ylru/LICENSE +0 -23
  1106. package/test/node_modules/ylru/README.md +0 -99
  1107. package/test/node_modules/ylru/index.d.ts +0 -18
  1108. package/test/node_modules/ylru/index.js +0 -106
  1109. package/test/node_modules/ylru/package.json +0 -52
  1110. package/test/package-lock.json +0 -2212
  1111. package/test/package.json +0 -17
  1112. package/test/public/api +0 -1
  1113. package/test/public/cartella nuova/ewewew.html +0 -12
  1114. package/test/public/cartella nuova/prova.ejs +0 -12
  1115. package/test/public/index.ejs +0 -12
  1116. package/test/public/index.html +0 -12
  1117. package/test/public/proma_template.ejs +0 -16
  1118. package/test/public/un altro file.html +0 -12
  1119. package/test/public/un_file.html +0 -12
  1120. package/test/test.js +0 -63
@@ -1,1720 +0,0 @@
1
- (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ejs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2
- /*
3
- * EJS Embedded JavaScript templates
4
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- *
18
- */
19
-
20
- 'use strict';
21
-
22
- /**
23
- * @file Embedded JavaScript templating engine. {@link http://ejs.co}
24
- * @author Matthew Eernisse <mde@fleegix.org>
25
- * @author Tiancheng "Timothy" Gu <timothygu99@gmail.com>
26
- * @project EJS
27
- * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
28
- */
29
-
30
- /**
31
- * EJS internal functions.
32
- *
33
- * Technically this "module" lies in the same file as {@link module:ejs}, for
34
- * the sake of organization all the private functions re grouped into this
35
- * module.
36
- *
37
- * @module ejs-internal
38
- * @private
39
- */
40
-
41
- /**
42
- * Embedded JavaScript templating engine.
43
- *
44
- * @module ejs
45
- * @public
46
- */
47
-
48
-
49
- var fs = require('fs');
50
- var path = require('path');
51
- var utils = require('./utils');
52
-
53
- var scopeOptionWarned = false;
54
- /** @type {string} */
55
- var _VERSION_STRING = require('../package.json').version;
56
- var _DEFAULT_OPEN_DELIMITER = '<';
57
- var _DEFAULT_CLOSE_DELIMITER = '>';
58
- var _DEFAULT_DELIMITER = '%';
59
- var _DEFAULT_LOCALS_NAME = 'locals';
60
- var _NAME = 'ejs';
61
- var _REGEX_STRING = '(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)';
62
- var _OPTS_PASSABLE_WITH_DATA = ['delimiter', 'scope', 'context', 'debug', 'compileDebug',
63
- 'client', '_with', 'rmWhitespace', 'strict', 'filename', 'async'];
64
- // We don't allow 'cache' option to be passed in the data obj for
65
- // the normal `render` call, but this is where Express 2 & 3 put it
66
- // so we make an exception for `renderFile`
67
- var _OPTS_PASSABLE_WITH_DATA_EXPRESS = _OPTS_PASSABLE_WITH_DATA.concat('cache');
68
- var _BOM = /^\uFEFF/;
69
- var _JS_IDENTIFIER = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
70
-
71
- /**
72
- * EJS template function cache. This can be a LRU object from lru-cache NPM
73
- * module. By default, it is {@link module:utils.cache}, a simple in-process
74
- * cache that grows continuously.
75
- *
76
- * @type {Cache}
77
- */
78
-
79
- exports.cache = utils.cache;
80
-
81
- /**
82
- * Custom file loader. Useful for template preprocessing or restricting access
83
- * to a certain part of the filesystem.
84
- *
85
- * @type {fileLoader}
86
- */
87
-
88
- exports.fileLoader = fs.readFileSync;
89
-
90
- /**
91
- * Name of the object containing the locals.
92
- *
93
- * This variable is overridden by {@link Options}`.localsName` if it is not
94
- * `undefined`.
95
- *
96
- * @type {String}
97
- * @public
98
- */
99
-
100
- exports.localsName = _DEFAULT_LOCALS_NAME;
101
-
102
- /**
103
- * Promise implementation -- defaults to the native implementation if available
104
- * This is mostly just for testability
105
- *
106
- * @type {PromiseConstructorLike}
107
- * @public
108
- */
109
-
110
- exports.promiseImpl = (new Function('return this;'))().Promise;
111
-
112
- /**
113
- * Get the path to the included file from the parent file path and the
114
- * specified path.
115
- *
116
- * @param {String} name specified path
117
- * @param {String} filename parent file path
118
- * @param {Boolean} [isDir=false] whether the parent file path is a directory
119
- * @return {String}
120
- */
121
- exports.resolveInclude = function(name, filename, isDir) {
122
- var dirname = path.dirname;
123
- var extname = path.extname;
124
- var resolve = path.resolve;
125
- var includePath = resolve(isDir ? filename : dirname(filename), name);
126
- var ext = extname(name);
127
- if (!ext) {
128
- includePath += '.ejs';
129
- }
130
- return includePath;
131
- };
132
-
133
- /**
134
- * Try to resolve file path on multiple directories
135
- *
136
- * @param {String} name specified path
137
- * @param {Array<String>} paths list of possible parent directory paths
138
- * @return {String}
139
- */
140
- function resolvePaths(name, paths) {
141
- var filePath;
142
- if (paths.some(function (v) {
143
- filePath = exports.resolveInclude(name, v, true);
144
- return fs.existsSync(filePath);
145
- })) {
146
- return filePath;
147
- }
148
- }
149
-
150
- /**
151
- * Get the path to the included file by Options
152
- *
153
- * @param {String} path specified path
154
- * @param {Options} options compilation options
155
- * @return {String}
156
- */
157
- function getIncludePath(path, options) {
158
- var includePath;
159
- var filePath;
160
- var views = options.views;
161
- var match = /^[A-Za-z]+:\\|^\//.exec(path);
162
-
163
- // Abs path
164
- if (match && match.length) {
165
- path = path.replace(/^\/*/, '');
166
- if (Array.isArray(options.root)) {
167
- includePath = resolvePaths(path, options.root);
168
- } else {
169
- includePath = exports.resolveInclude(path, options.root || '/', true);
170
- }
171
- }
172
- // Relative paths
173
- else {
174
- // Look relative to a passed filename first
175
- if (options.filename) {
176
- filePath = exports.resolveInclude(path, options.filename);
177
- if (fs.existsSync(filePath)) {
178
- includePath = filePath;
179
- }
180
- }
181
- // Then look in any views directories
182
- if (!includePath && Array.isArray(views)) {
183
- includePath = resolvePaths(path, views);
184
- }
185
- if (!includePath && typeof options.includer !== 'function') {
186
- throw new Error('Could not find the include file "' +
187
- options.escapeFunction(path) + '"');
188
- }
189
- }
190
- return includePath;
191
- }
192
-
193
- /**
194
- * Get the template from a string or a file, either compiled on-the-fly or
195
- * read from cache (if enabled), and cache the template if needed.
196
- *
197
- * If `template` is not set, the file specified in `options.filename` will be
198
- * read.
199
- *
200
- * If `options.cache` is true, this function reads the file from
201
- * `options.filename` so it must be set prior to calling this function.
202
- *
203
- * @memberof module:ejs-internal
204
- * @param {Options} options compilation options
205
- * @param {String} [template] template source
206
- * @return {(TemplateFunction|ClientFunction)}
207
- * Depending on the value of `options.client`, either type might be returned.
208
- * @static
209
- */
210
-
211
- function handleCache(options, template) {
212
- var func;
213
- var filename = options.filename;
214
- var hasTemplate = arguments.length > 1;
215
-
216
- if (options.cache) {
217
- if (!filename) {
218
- throw new Error('cache option requires a filename');
219
- }
220
- func = exports.cache.get(filename);
221
- if (func) {
222
- return func;
223
- }
224
- if (!hasTemplate) {
225
- template = fileLoader(filename).toString().replace(_BOM, '');
226
- }
227
- }
228
- else if (!hasTemplate) {
229
- // istanbul ignore if: should not happen at all
230
- if (!filename) {
231
- throw new Error('Internal EJS error: no file name or template '
232
- + 'provided');
233
- }
234
- template = fileLoader(filename).toString().replace(_BOM, '');
235
- }
236
- func = exports.compile(template, options);
237
- if (options.cache) {
238
- exports.cache.set(filename, func);
239
- }
240
- return func;
241
- }
242
-
243
- /**
244
- * Try calling handleCache with the given options and data and call the
245
- * callback with the result. If an error occurs, call the callback with
246
- * the error. Used by renderFile().
247
- *
248
- * @memberof module:ejs-internal
249
- * @param {Options} options compilation options
250
- * @param {Object} data template data
251
- * @param {RenderFileCallback} cb callback
252
- * @static
253
- */
254
-
255
- function tryHandleCache(options, data, cb) {
256
- var result;
257
- if (!cb) {
258
- if (typeof exports.promiseImpl == 'function') {
259
- return new exports.promiseImpl(function (resolve, reject) {
260
- try {
261
- result = handleCache(options)(data);
262
- resolve(result);
263
- }
264
- catch (err) {
265
- reject(err);
266
- }
267
- });
268
- }
269
- else {
270
- throw new Error('Please provide a callback function');
271
- }
272
- }
273
- else {
274
- try {
275
- result = handleCache(options)(data);
276
- }
277
- catch (err) {
278
- return cb(err);
279
- }
280
-
281
- cb(null, result);
282
- }
283
- }
284
-
285
- /**
286
- * fileLoader is independent
287
- *
288
- * @param {String} filePath ejs file path.
289
- * @return {String} The contents of the specified file.
290
- * @static
291
- */
292
-
293
- function fileLoader(filePath){
294
- return exports.fileLoader(filePath);
295
- }
296
-
297
- /**
298
- * Get the template function.
299
- *
300
- * If `options.cache` is `true`, then the template is cached.
301
- *
302
- * @memberof module:ejs-internal
303
- * @param {String} path path for the specified file
304
- * @param {Options} options compilation options
305
- * @return {(TemplateFunction|ClientFunction)}
306
- * Depending on the value of `options.client`, either type might be returned
307
- * @static
308
- */
309
-
310
- function includeFile(path, options) {
311
- var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
312
- opts.filename = getIncludePath(path, opts);
313
- if (typeof options.includer === 'function') {
314
- var includerResult = options.includer(path, opts.filename);
315
- if (includerResult) {
316
- if (includerResult.filename) {
317
- opts.filename = includerResult.filename;
318
- }
319
- if (includerResult.template) {
320
- return handleCache(opts, includerResult.template);
321
- }
322
- }
323
- }
324
- return handleCache(opts);
325
- }
326
-
327
- /**
328
- * Re-throw the given `err` in context to the `str` of ejs, `filename`, and
329
- * `lineno`.
330
- *
331
- * @implements {RethrowCallback}
332
- * @memberof module:ejs-internal
333
- * @param {Error} err Error object
334
- * @param {String} str EJS source
335
- * @param {String} flnm file name of the EJS file
336
- * @param {Number} lineno line number of the error
337
- * @param {EscapeCallback} esc
338
- * @static
339
- */
340
-
341
- function rethrow(err, str, flnm, lineno, esc) {
342
- var lines = str.split('\n');
343
- var start = Math.max(lineno - 3, 0);
344
- var end = Math.min(lines.length, lineno + 3);
345
- var filename = esc(flnm);
346
- // Error context
347
- var context = lines.slice(start, end).map(function (line, i){
348
- var curr = i + start + 1;
349
- return (curr == lineno ? ' >> ' : ' ')
350
- + curr
351
- + '| '
352
- + line;
353
- }).join('\n');
354
-
355
- // Alter exception message
356
- err.path = filename;
357
- err.message = (filename || 'ejs') + ':'
358
- + lineno + '\n'
359
- + context + '\n\n'
360
- + err.message;
361
-
362
- throw err;
363
- }
364
-
365
- function stripSemi(str){
366
- return str.replace(/;(\s*$)/, '$1');
367
- }
368
-
369
- /**
370
- * Compile the given `str` of ejs into a template function.
371
- *
372
- * @param {String} template EJS template
373
- *
374
- * @param {Options} [opts] compilation options
375
- *
376
- * @return {(TemplateFunction|ClientFunction)}
377
- * Depending on the value of `opts.client`, either type might be returned.
378
- * Note that the return type of the function also depends on the value of `opts.async`.
379
- * @public
380
- */
381
-
382
- exports.compile = function compile(template, opts) {
383
- var templ;
384
-
385
- // v1 compat
386
- // 'scope' is 'context'
387
- // FIXME: Remove this in a future version
388
- if (opts && opts.scope) {
389
- if (!scopeOptionWarned){
390
- console.warn('`scope` option is deprecated and will be removed in EJS 3');
391
- scopeOptionWarned = true;
392
- }
393
- if (!opts.context) {
394
- opts.context = opts.scope;
395
- }
396
- delete opts.scope;
397
- }
398
- templ = new Template(template, opts);
399
- return templ.compile();
400
- };
401
-
402
- /**
403
- * Render the given `template` of ejs.
404
- *
405
- * If you would like to include options but not data, you need to explicitly
406
- * call this function with `data` being an empty object or `null`.
407
- *
408
- * @param {String} template EJS template
409
- * @param {Object} [data={}] template data
410
- * @param {Options} [opts={}] compilation and rendering options
411
- * @return {(String|Promise<String>)}
412
- * Return value type depends on `opts.async`.
413
- * @public
414
- */
415
-
416
- exports.render = function (template, d, o) {
417
- var data = d || utils.createNullProtoObjWherePossible();
418
- var opts = o || utils.createNullProtoObjWherePossible();
419
-
420
- // No options object -- if there are optiony names
421
- // in the data, copy them to options
422
- if (arguments.length == 2) {
423
- utils.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA);
424
- }
425
-
426
- return handleCache(opts, template)(data);
427
- };
428
-
429
- /**
430
- * Render an EJS file at the given `path` and callback `cb(err, str)`.
431
- *
432
- * If you would like to include options but not data, you need to explicitly
433
- * call this function with `data` being an empty object or `null`.
434
- *
435
- * @param {String} path path to the EJS file
436
- * @param {Object} [data={}] template data
437
- * @param {Options} [opts={}] compilation and rendering options
438
- * @param {RenderFileCallback} cb callback
439
- * @public
440
- */
441
-
442
- exports.renderFile = function () {
443
- var args = Array.prototype.slice.call(arguments);
444
- var filename = args.shift();
445
- var cb;
446
- var opts = {filename: filename};
447
- var data;
448
- var viewOpts;
449
-
450
- // Do we have a callback?
451
- if (typeof arguments[arguments.length - 1] == 'function') {
452
- cb = args.pop();
453
- }
454
- // Do we have data/opts?
455
- if (args.length) {
456
- // Should always have data obj
457
- data = args.shift();
458
- // Normal passed opts (data obj + opts obj)
459
- if (args.length) {
460
- // Use shallowCopy so we don't pollute passed in opts obj with new vals
461
- utils.shallowCopy(opts, args.pop());
462
- }
463
- // Special casing for Express (settings + opts-in-data)
464
- else {
465
- // Express 3 and 4
466
- if (data.settings) {
467
- // Pull a few things from known locations
468
- if (data.settings.views) {
469
- opts.views = data.settings.views;
470
- }
471
- if (data.settings['view cache']) {
472
- opts.cache = true;
473
- }
474
- // Undocumented after Express 2, but still usable, esp. for
475
- // items that are unsafe to be passed along with data, like `root`
476
- viewOpts = data.settings['view options'];
477
- if (viewOpts) {
478
- utils.shallowCopy(opts, viewOpts);
479
- }
480
- }
481
- // Express 2 and lower, values set in app.locals, or people who just
482
- // want to pass options in their data. NOTE: These values will override
483
- // anything previously set in settings or settings['view options']
484
- utils.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA_EXPRESS);
485
- }
486
- opts.filename = filename;
487
- }
488
- else {
489
- data = utils.createNullProtoObjWherePossible();
490
- }
491
-
492
- return tryHandleCache(opts, data, cb);
493
- };
494
-
495
- /**
496
- * Clear intermediate JavaScript cache. Calls {@link Cache#reset}.
497
- * @public
498
- */
499
-
500
- /**
501
- * EJS template class
502
- * @public
503
- */
504
- exports.Template = Template;
505
-
506
- exports.clearCache = function () {
507
- exports.cache.reset();
508
- };
509
-
510
- function Template(text, opts) {
511
- opts = opts || utils.createNullProtoObjWherePossible();
512
- var options = utils.createNullProtoObjWherePossible();
513
- this.templateText = text;
514
- /** @type {string | null} */
515
- this.mode = null;
516
- this.truncate = false;
517
- this.currentLine = 1;
518
- this.source = '';
519
- options.client = opts.client || false;
520
- options.escapeFunction = opts.escape || opts.escapeFunction || utils.escapeXML;
521
- options.compileDebug = opts.compileDebug !== false;
522
- options.debug = !!opts.debug;
523
- options.filename = opts.filename;
524
- options.openDelimiter = opts.openDelimiter || exports.openDelimiter || _DEFAULT_OPEN_DELIMITER;
525
- options.closeDelimiter = opts.closeDelimiter || exports.closeDelimiter || _DEFAULT_CLOSE_DELIMITER;
526
- options.delimiter = opts.delimiter || exports.delimiter || _DEFAULT_DELIMITER;
527
- options.strict = opts.strict || false;
528
- options.context = opts.context;
529
- options.cache = opts.cache || false;
530
- options.rmWhitespace = opts.rmWhitespace;
531
- options.root = opts.root;
532
- options.includer = opts.includer;
533
- options.outputFunctionName = opts.outputFunctionName;
534
- options.localsName = opts.localsName || exports.localsName || _DEFAULT_LOCALS_NAME;
535
- options.views = opts.views;
536
- options.async = opts.async;
537
- options.destructuredLocals = opts.destructuredLocals;
538
- options.legacyInclude = typeof opts.legacyInclude != 'undefined' ? !!opts.legacyInclude : true;
539
-
540
- if (options.strict) {
541
- options._with = false;
542
- }
543
- else {
544
- options._with = typeof opts._with != 'undefined' ? opts._with : true;
545
- }
546
-
547
- this.opts = options;
548
-
549
- this.regex = this.createRegex();
550
- }
551
-
552
- Template.modes = {
553
- EVAL: 'eval',
554
- ESCAPED: 'escaped',
555
- RAW: 'raw',
556
- COMMENT: 'comment',
557
- LITERAL: 'literal'
558
- };
559
-
560
- Template.prototype = {
561
- createRegex: function () {
562
- var str = _REGEX_STRING;
563
- var delim = utils.escapeRegExpChars(this.opts.delimiter);
564
- var open = utils.escapeRegExpChars(this.opts.openDelimiter);
565
- var close = utils.escapeRegExpChars(this.opts.closeDelimiter);
566
- str = str.replace(/%/g, delim)
567
- .replace(/</g, open)
568
- .replace(/>/g, close);
569
- return new RegExp(str);
570
- },
571
-
572
- compile: function () {
573
- /** @type {string} */
574
- var src;
575
- /** @type {ClientFunction} */
576
- var fn;
577
- var opts = this.opts;
578
- var prepended = '';
579
- var appended = '';
580
- /** @type {EscapeCallback} */
581
- var escapeFn = opts.escapeFunction;
582
- /** @type {FunctionConstructor} */
583
- var ctor;
584
- /** @type {string} */
585
- var sanitizedFilename = opts.filename ? JSON.stringify(opts.filename) : 'undefined';
586
-
587
- if (!this.source) {
588
- this.generateSource();
589
- prepended +=
590
- ' var __output = "";\n' +
591
- ' function __append(s) { if (s !== undefined && s !== null) __output += s }\n';
592
- if (opts.outputFunctionName) {
593
- if (!_JS_IDENTIFIER.test(opts.outputFunctionName)) {
594
- throw new Error('outputFunctionName is not a valid JS identifier.');
595
- }
596
- prepended += ' var ' + opts.outputFunctionName + ' = __append;' + '\n';
597
- }
598
- if (opts.localsName && !_JS_IDENTIFIER.test(opts.localsName)) {
599
- throw new Error('localsName is not a valid JS identifier.');
600
- }
601
- if (opts.destructuredLocals && opts.destructuredLocals.length) {
602
- var destructuring = ' var __locals = (' + opts.localsName + ' || {}),\n';
603
- for (var i = 0; i < opts.destructuredLocals.length; i++) {
604
- var name = opts.destructuredLocals[i];
605
- if (!_JS_IDENTIFIER.test(name)) {
606
- throw new Error('destructuredLocals[' + i + '] is not a valid JS identifier.');
607
- }
608
- if (i > 0) {
609
- destructuring += ',\n ';
610
- }
611
- destructuring += name + ' = __locals.' + name;
612
- }
613
- prepended += destructuring + ';\n';
614
- }
615
- if (opts._with !== false) {
616
- prepended += ' with (' + opts.localsName + ' || {}) {' + '\n';
617
- appended += ' }' + '\n';
618
- }
619
- appended += ' return __output;' + '\n';
620
- this.source = prepended + this.source + appended;
621
- }
622
-
623
- if (opts.compileDebug) {
624
- src = 'var __line = 1' + '\n'
625
- + ' , __lines = ' + JSON.stringify(this.templateText) + '\n'
626
- + ' , __filename = ' + sanitizedFilename + ';' + '\n'
627
- + 'try {' + '\n'
628
- + this.source
629
- + '} catch (e) {' + '\n'
630
- + ' rethrow(e, __lines, __filename, __line, escapeFn);' + '\n'
631
- + '}' + '\n';
632
- }
633
- else {
634
- src = this.source;
635
- }
636
-
637
- if (opts.client) {
638
- src = 'escapeFn = escapeFn || ' + escapeFn.toString() + ';' + '\n' + src;
639
- if (opts.compileDebug) {
640
- src = 'rethrow = rethrow || ' + rethrow.toString() + ';' + '\n' + src;
641
- }
642
- }
643
-
644
- if (opts.strict) {
645
- src = '"use strict";\n' + src;
646
- }
647
- if (opts.debug) {
648
- console.log(src);
649
- }
650
- if (opts.compileDebug && opts.filename) {
651
- src = src + '\n'
652
- + '//# sourceURL=' + sanitizedFilename + '\n';
653
- }
654
-
655
- try {
656
- if (opts.async) {
657
- // Have to use generated function for this, since in envs without support,
658
- // it breaks in parsing
659
- try {
660
- ctor = (new Function('return (async function(){}).constructor;'))();
661
- }
662
- catch(e) {
663
- if (e instanceof SyntaxError) {
664
- throw new Error('This environment does not support async/await');
665
- }
666
- else {
667
- throw e;
668
- }
669
- }
670
- }
671
- else {
672
- ctor = Function;
673
- }
674
- fn = new ctor(opts.localsName + ', escapeFn, include, rethrow', src);
675
- }
676
- catch(e) {
677
- // istanbul ignore else
678
- if (e instanceof SyntaxError) {
679
- if (opts.filename) {
680
- e.message += ' in ' + opts.filename;
681
- }
682
- e.message += ' while compiling ejs\n\n';
683
- e.message += 'If the above error is not helpful, you may want to try EJS-Lint:\n';
684
- e.message += 'https://github.com/RyanZim/EJS-Lint';
685
- if (!opts.async) {
686
- e.message += '\n';
687
- e.message += 'Or, if you meant to create an async function, pass `async: true` as an option.';
688
- }
689
- }
690
- throw e;
691
- }
692
-
693
- // Return a callable function which will execute the function
694
- // created by the source-code, with the passed data as locals
695
- // Adds a local `include` function which allows full recursive include
696
- var returnedFn = opts.client ? fn : function anonymous(data) {
697
- var include = function (path, includeData) {
698
- var d = utils.shallowCopy(utils.createNullProtoObjWherePossible(), data);
699
- if (includeData) {
700
- d = utils.shallowCopy(d, includeData);
701
- }
702
- return includeFile(path, opts)(d);
703
- };
704
- return fn.apply(opts.context,
705
- [data || utils.createNullProtoObjWherePossible(), escapeFn, include, rethrow]);
706
- };
707
- if (opts.filename && typeof Object.defineProperty === 'function') {
708
- var filename = opts.filename;
709
- var basename = path.basename(filename, path.extname(filename));
710
- try {
711
- Object.defineProperty(returnedFn, 'name', {
712
- value: basename,
713
- writable: false,
714
- enumerable: false,
715
- configurable: true
716
- });
717
- } catch (e) {/* ignore */}
718
- }
719
- return returnedFn;
720
- },
721
-
722
- generateSource: function () {
723
- var opts = this.opts;
724
-
725
- if (opts.rmWhitespace) {
726
- // Have to use two separate replace here as `^` and `$` operators don't
727
- // work well with `\r` and empty lines don't work well with the `m` flag.
728
- this.templateText =
729
- this.templateText.replace(/[\r\n]+/g, '\n').replace(/^\s+|\s+$/gm, '');
730
- }
731
-
732
- // Slurp spaces and tabs before <%_ and after _%>
733
- this.templateText =
734
- this.templateText.replace(/[ \t]*<%_/gm, '<%_').replace(/_%>[ \t]*/gm, '_%>');
735
-
736
- var self = this;
737
- var matches = this.parseTemplateText();
738
- var d = this.opts.delimiter;
739
- var o = this.opts.openDelimiter;
740
- var c = this.opts.closeDelimiter;
741
-
742
- if (matches && matches.length) {
743
- matches.forEach(function (line, index) {
744
- var closing;
745
- // If this is an opening tag, check for closing tags
746
- // FIXME: May end up with some false positives here
747
- // Better to store modes as k/v with openDelimiter + delimiter as key
748
- // Then this can simply check against the map
749
- if ( line.indexOf(o + d) === 0 // If it is a tag
750
- && line.indexOf(o + d + d) !== 0) { // and is not escaped
751
- closing = matches[index + 2];
752
- if (!(closing == d + c || closing == '-' + d + c || closing == '_' + d + c)) {
753
- throw new Error('Could not find matching close tag for "' + line + '".');
754
- }
755
- }
756
- self.scanLine(line);
757
- });
758
- }
759
-
760
- },
761
-
762
- parseTemplateText: function () {
763
- var str = this.templateText;
764
- var pat = this.regex;
765
- var result = pat.exec(str);
766
- var arr = [];
767
- var firstPos;
768
-
769
- while (result) {
770
- firstPos = result.index;
771
-
772
- if (firstPos !== 0) {
773
- arr.push(str.substring(0, firstPos));
774
- str = str.slice(firstPos);
775
- }
776
-
777
- arr.push(result[0]);
778
- str = str.slice(result[0].length);
779
- result = pat.exec(str);
780
- }
781
-
782
- if (str) {
783
- arr.push(str);
784
- }
785
-
786
- return arr;
787
- },
788
-
789
- _addOutput: function (line) {
790
- if (this.truncate) {
791
- // Only replace single leading linebreak in the line after
792
- // -%> tag -- this is the single, trailing linebreak
793
- // after the tag that the truncation mode replaces
794
- // Handle Win / Unix / old Mac linebreaks -- do the \r\n
795
- // combo first in the regex-or
796
- line = line.replace(/^(?:\r\n|\r|\n)/, '');
797
- this.truncate = false;
798
- }
799
- if (!line) {
800
- return line;
801
- }
802
-
803
- // Preserve literal slashes
804
- line = line.replace(/\\/g, '\\\\');
805
-
806
- // Convert linebreaks
807
- line = line.replace(/\n/g, '\\n');
808
- line = line.replace(/\r/g, '\\r');
809
-
810
- // Escape double-quotes
811
- // - this will be the delimiter during execution
812
- line = line.replace(/"/g, '\\"');
813
- this.source += ' ; __append("' + line + '")' + '\n';
814
- },
815
-
816
- scanLine: function (line) {
817
- var self = this;
818
- var d = this.opts.delimiter;
819
- var o = this.opts.openDelimiter;
820
- var c = this.opts.closeDelimiter;
821
- var newLineCount = 0;
822
-
823
- newLineCount = (line.split('\n').length - 1);
824
-
825
- switch (line) {
826
- case o + d:
827
- case o + d + '_':
828
- this.mode = Template.modes.EVAL;
829
- break;
830
- case o + d + '=':
831
- this.mode = Template.modes.ESCAPED;
832
- break;
833
- case o + d + '-':
834
- this.mode = Template.modes.RAW;
835
- break;
836
- case o + d + '#':
837
- this.mode = Template.modes.COMMENT;
838
- break;
839
- case o + d + d:
840
- this.mode = Template.modes.LITERAL;
841
- this.source += ' ; __append("' + line.replace(o + d + d, o + d) + '")' + '\n';
842
- break;
843
- case d + d + c:
844
- this.mode = Template.modes.LITERAL;
845
- this.source += ' ; __append("' + line.replace(d + d + c, d + c) + '")' + '\n';
846
- break;
847
- case d + c:
848
- case '-' + d + c:
849
- case '_' + d + c:
850
- if (this.mode == Template.modes.LITERAL) {
851
- this._addOutput(line);
852
- }
853
-
854
- this.mode = null;
855
- this.truncate = line.indexOf('-') === 0 || line.indexOf('_') === 0;
856
- break;
857
- default:
858
- // In script mode, depends on type of tag
859
- if (this.mode) {
860
- // If '//' is found without a line break, add a line break.
861
- switch (this.mode) {
862
- case Template.modes.EVAL:
863
- case Template.modes.ESCAPED:
864
- case Template.modes.RAW:
865
- if (line.lastIndexOf('//') > line.lastIndexOf('\n')) {
866
- line += '\n';
867
- }
868
- }
869
- switch (this.mode) {
870
- // Just executing code
871
- case Template.modes.EVAL:
872
- this.source += ' ; ' + line + '\n';
873
- break;
874
- // Exec, esc, and output
875
- case Template.modes.ESCAPED:
876
- this.source += ' ; __append(escapeFn(' + stripSemi(line) + '))' + '\n';
877
- break;
878
- // Exec and output
879
- case Template.modes.RAW:
880
- this.source += ' ; __append(' + stripSemi(line) + ')' + '\n';
881
- break;
882
- case Template.modes.COMMENT:
883
- // Do nothing
884
- break;
885
- // Literal <%% mode, append as raw output
886
- case Template.modes.LITERAL:
887
- this._addOutput(line);
888
- break;
889
- }
890
- }
891
- // In string mode, just add the output
892
- else {
893
- this._addOutput(line);
894
- }
895
- }
896
-
897
- if (self.opts.compileDebug && newLineCount) {
898
- this.currentLine += newLineCount;
899
- this.source += ' ; __line = ' + this.currentLine + '\n';
900
- }
901
- }
902
- };
903
-
904
- /**
905
- * Escape characters reserved in XML.
906
- *
907
- * This is simply an export of {@link module:utils.escapeXML}.
908
- *
909
- * If `markup` is `undefined` or `null`, the empty string is returned.
910
- *
911
- * @param {String} markup Input string
912
- * @return {String} Escaped string
913
- * @public
914
- * @func
915
- * */
916
- exports.escapeXML = utils.escapeXML;
917
-
918
- /**
919
- * Express.js support.
920
- *
921
- * This is an alias for {@link module:ejs.renderFile}, in order to support
922
- * Express.js out-of-the-box.
923
- *
924
- * @func
925
- */
926
-
927
- exports.__express = exports.renderFile;
928
-
929
- /**
930
- * Version of EJS.
931
- *
932
- * @readonly
933
- * @type {String}
934
- * @public
935
- */
936
-
937
- exports.VERSION = _VERSION_STRING;
938
-
939
- /**
940
- * Name for detection of EJS.
941
- *
942
- * @readonly
943
- * @type {String}
944
- * @public
945
- */
946
-
947
- exports.name = _NAME;
948
-
949
- /* istanbul ignore if */
950
- if (typeof window != 'undefined') {
951
- window.ejs = exports;
952
- }
953
-
954
- },{"../package.json":6,"./utils":2,"fs":3,"path":4}],2:[function(require,module,exports){
955
- /*
956
- * EJS Embedded JavaScript templates
957
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
958
- *
959
- * Licensed under the Apache License, Version 2.0 (the "License");
960
- * you may not use this file except in compliance with the License.
961
- * You may obtain a copy of the License at
962
- *
963
- * http://www.apache.org/licenses/LICENSE-2.0
964
- *
965
- * Unless required by applicable law or agreed to in writing, software
966
- * distributed under the License is distributed on an "AS IS" BASIS,
967
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
968
- * See the License for the specific language governing permissions and
969
- * limitations under the License.
970
- *
971
- */
972
-
973
- /**
974
- * Private utility functions
975
- * @module utils
976
- * @private
977
- */
978
-
979
- 'use strict';
980
-
981
- var regExpChars = /[|\\{}()[\]^$+*?.]/g;
982
- var hasOwnProperty = Object.prototype.hasOwnProperty;
983
- var hasOwn = function (obj, key) { return hasOwnProperty.apply(obj, [key]); };
984
-
985
- /**
986
- * Escape characters reserved in regular expressions.
987
- *
988
- * If `string` is `undefined` or `null`, the empty string is returned.
989
- *
990
- * @param {String} string Input string
991
- * @return {String} Escaped string
992
- * @static
993
- * @private
994
- */
995
- exports.escapeRegExpChars = function (string) {
996
- // istanbul ignore if
997
- if (!string) {
998
- return '';
999
- }
1000
- return String(string).replace(regExpChars, '\\$&');
1001
- };
1002
-
1003
- var _ENCODE_HTML_RULES = {
1004
- '&': '&amp;',
1005
- '<': '&lt;',
1006
- '>': '&gt;',
1007
- '"': '&#34;',
1008
- "'": '&#39;'
1009
- };
1010
- var _MATCH_HTML = /[&<>'"]/g;
1011
-
1012
- function encode_char(c) {
1013
- return _ENCODE_HTML_RULES[c] || c;
1014
- }
1015
-
1016
- /**
1017
- * Stringified version of constants used by {@link module:utils.escapeXML}.
1018
- *
1019
- * It is used in the process of generating {@link ClientFunction}s.
1020
- *
1021
- * @readonly
1022
- * @type {String}
1023
- */
1024
-
1025
- var escapeFuncStr =
1026
- 'var _ENCODE_HTML_RULES = {\n'
1027
- + ' "&": "&amp;"\n'
1028
- + ' , "<": "&lt;"\n'
1029
- + ' , ">": "&gt;"\n'
1030
- + ' , \'"\': "&#34;"\n'
1031
- + ' , "\'": "&#39;"\n'
1032
- + ' }\n'
1033
- + ' , _MATCH_HTML = /[&<>\'"]/g;\n'
1034
- + 'function encode_char(c) {\n'
1035
- + ' return _ENCODE_HTML_RULES[c] || c;\n'
1036
- + '};\n';
1037
-
1038
- /**
1039
- * Escape characters reserved in XML.
1040
- *
1041
- * If `markup` is `undefined` or `null`, the empty string is returned.
1042
- *
1043
- * @implements {EscapeCallback}
1044
- * @param {String} markup Input string
1045
- * @return {String} Escaped string
1046
- * @static
1047
- * @private
1048
- */
1049
-
1050
- exports.escapeXML = function (markup) {
1051
- return markup == undefined
1052
- ? ''
1053
- : String(markup)
1054
- .replace(_MATCH_HTML, encode_char);
1055
- };
1056
- exports.escapeXML.toString = function () {
1057
- return Function.prototype.toString.call(this) + ';\n' + escapeFuncStr;
1058
- };
1059
-
1060
- /**
1061
- * Naive copy of properties from one object to another.
1062
- * Does not recurse into non-scalar properties
1063
- * Does not check to see if the property has a value before copying
1064
- *
1065
- * @param {Object} to Destination object
1066
- * @param {Object} from Source object
1067
- * @return {Object} Destination object
1068
- * @static
1069
- * @private
1070
- */
1071
- exports.shallowCopy = function (to, from) {
1072
- from = from || {};
1073
- if ((to !== null) && (to !== undefined)) {
1074
- for (var p in from) {
1075
- if (!hasOwn(from, p)) {
1076
- continue;
1077
- }
1078
- if (p === '__proto__' || p === 'constructor') {
1079
- continue;
1080
- }
1081
- to[p] = from[p];
1082
- }
1083
- }
1084
- return to;
1085
- };
1086
-
1087
- /**
1088
- * Naive copy of a list of key names, from one object to another.
1089
- * Only copies property if it is actually defined
1090
- * Does not recurse into non-scalar properties
1091
- *
1092
- * @param {Object} to Destination object
1093
- * @param {Object} from Source object
1094
- * @param {Array} list List of properties to copy
1095
- * @return {Object} Destination object
1096
- * @static
1097
- * @private
1098
- */
1099
- exports.shallowCopyFromList = function (to, from, list) {
1100
- list = list || [];
1101
- from = from || {};
1102
- if ((to !== null) && (to !== undefined)) {
1103
- for (var i = 0; i < list.length; i++) {
1104
- var p = list[i];
1105
- if (typeof from[p] != 'undefined') {
1106
- if (!hasOwn(from, p)) {
1107
- continue;
1108
- }
1109
- if (p === '__proto__' || p === 'constructor') {
1110
- continue;
1111
- }
1112
- to[p] = from[p];
1113
- }
1114
- }
1115
- }
1116
- return to;
1117
- };
1118
-
1119
- /**
1120
- * Simple in-process cache implementation. Does not implement limits of any
1121
- * sort.
1122
- *
1123
- * @implements {Cache}
1124
- * @static
1125
- * @private
1126
- */
1127
- exports.cache = {
1128
- _data: {},
1129
- set: function (key, val) {
1130
- this._data[key] = val;
1131
- },
1132
- get: function (key) {
1133
- return this._data[key];
1134
- },
1135
- remove: function (key) {
1136
- delete this._data[key];
1137
- },
1138
- reset: function () {
1139
- this._data = {};
1140
- }
1141
- };
1142
-
1143
- /**
1144
- * Transforms hyphen case variable into camel case.
1145
- *
1146
- * @param {String} string Hyphen case string
1147
- * @return {String} Camel case string
1148
- * @static
1149
- * @private
1150
- */
1151
- exports.hyphenToCamel = function (str) {
1152
- return str.replace(/-[a-z]/g, function (match) { return match[1].toUpperCase(); });
1153
- };
1154
-
1155
- /**
1156
- * Returns a null-prototype object in runtimes that support it
1157
- *
1158
- * @return {Object} Object, prototype will be set to null where possible
1159
- * @static
1160
- * @private
1161
- */
1162
- exports.createNullProtoObjWherePossible = (function () {
1163
- if (typeof Object.create == 'function') {
1164
- return function () {
1165
- return Object.create(null);
1166
- };
1167
- }
1168
- if (!({__proto__: null} instanceof Object)) {
1169
- return function () {
1170
- return {__proto__: null};
1171
- };
1172
- }
1173
- // Not possible, just pass through
1174
- return function () {
1175
- return {};
1176
- };
1177
- })();
1178
-
1179
-
1180
-
1181
- },{}],3:[function(require,module,exports){
1182
-
1183
- },{}],4:[function(require,module,exports){
1184
- (function (process){
1185
- // .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
1186
- // backported and transplited with Babel, with backwards-compat fixes
1187
-
1188
- // Copyright Joyent, Inc. and other Node contributors.
1189
- //
1190
- // Permission is hereby granted, free of charge, to any person obtaining a
1191
- // copy of this software and associated documentation files (the
1192
- // "Software"), to deal in the Software without restriction, including
1193
- // without limitation the rights to use, copy, modify, merge, publish,
1194
- // distribute, sublicense, and/or sell copies of the Software, and to permit
1195
- // persons to whom the Software is furnished to do so, subject to the
1196
- // following conditions:
1197
- //
1198
- // The above copyright notice and this permission notice shall be included
1199
- // in all copies or substantial portions of the Software.
1200
- //
1201
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1202
- // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1203
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
1204
- // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
1205
- // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
1206
- // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
1207
- // USE OR OTHER DEALINGS IN THE SOFTWARE.
1208
-
1209
- // resolves . and .. elements in a path array with directory names there
1210
- // must be no slashes, empty elements, or device names (c:\) in the array
1211
- // (so also no leading and trailing slashes - it does not distinguish
1212
- // relative and absolute paths)
1213
- function normalizeArray(parts, allowAboveRoot) {
1214
- // if the path tries to go above the root, `up` ends up > 0
1215
- var up = 0;
1216
- for (var i = parts.length - 1; i >= 0; i--) {
1217
- var last = parts[i];
1218
- if (last === '.') {
1219
- parts.splice(i, 1);
1220
- } else if (last === '..') {
1221
- parts.splice(i, 1);
1222
- up++;
1223
- } else if (up) {
1224
- parts.splice(i, 1);
1225
- up--;
1226
- }
1227
- }
1228
-
1229
- // if the path is allowed to go above the root, restore leading ..s
1230
- if (allowAboveRoot) {
1231
- for (; up--; up) {
1232
- parts.unshift('..');
1233
- }
1234
- }
1235
-
1236
- return parts;
1237
- }
1238
-
1239
- // path.resolve([from ...], to)
1240
- // posix version
1241
- exports.resolve = function() {
1242
- var resolvedPath = '',
1243
- resolvedAbsolute = false;
1244
-
1245
- for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
1246
- var path = (i >= 0) ? arguments[i] : process.cwd();
1247
-
1248
- // Skip empty and invalid entries
1249
- if (typeof path !== 'string') {
1250
- throw new TypeError('Arguments to path.resolve must be strings');
1251
- } else if (!path) {
1252
- continue;
1253
- }
1254
-
1255
- resolvedPath = path + '/' + resolvedPath;
1256
- resolvedAbsolute = path.charAt(0) === '/';
1257
- }
1258
-
1259
- // At this point the path should be resolved to a full absolute path, but
1260
- // handle relative paths to be safe (might happen when process.cwd() fails)
1261
-
1262
- // Normalize the path
1263
- resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
1264
- return !!p;
1265
- }), !resolvedAbsolute).join('/');
1266
-
1267
- return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
1268
- };
1269
-
1270
- // path.normalize(path)
1271
- // posix version
1272
- exports.normalize = function(path) {
1273
- var isAbsolute = exports.isAbsolute(path),
1274
- trailingSlash = substr(path, -1) === '/';
1275
-
1276
- // Normalize the path
1277
- path = normalizeArray(filter(path.split('/'), function(p) {
1278
- return !!p;
1279
- }), !isAbsolute).join('/');
1280
-
1281
- if (!path && !isAbsolute) {
1282
- path = '.';
1283
- }
1284
- if (path && trailingSlash) {
1285
- path += '/';
1286
- }
1287
-
1288
- return (isAbsolute ? '/' : '') + path;
1289
- };
1290
-
1291
- // posix version
1292
- exports.isAbsolute = function(path) {
1293
- return path.charAt(0) === '/';
1294
- };
1295
-
1296
- // posix version
1297
- exports.join = function() {
1298
- var paths = Array.prototype.slice.call(arguments, 0);
1299
- return exports.normalize(filter(paths, function(p, index) {
1300
- if (typeof p !== 'string') {
1301
- throw new TypeError('Arguments to path.join must be strings');
1302
- }
1303
- return p;
1304
- }).join('/'));
1305
- };
1306
-
1307
-
1308
- // path.relative(from, to)
1309
- // posix version
1310
- exports.relative = function(from, to) {
1311
- from = exports.resolve(from).substr(1);
1312
- to = exports.resolve(to).substr(1);
1313
-
1314
- function trim(arr) {
1315
- var start = 0;
1316
- for (; start < arr.length; start++) {
1317
- if (arr[start] !== '') break;
1318
- }
1319
-
1320
- var end = arr.length - 1;
1321
- for (; end >= 0; end--) {
1322
- if (arr[end] !== '') break;
1323
- }
1324
-
1325
- if (start > end) return [];
1326
- return arr.slice(start, end - start + 1);
1327
- }
1328
-
1329
- var fromParts = trim(from.split('/'));
1330
- var toParts = trim(to.split('/'));
1331
-
1332
- var length = Math.min(fromParts.length, toParts.length);
1333
- var samePartsLength = length;
1334
- for (var i = 0; i < length; i++) {
1335
- if (fromParts[i] !== toParts[i]) {
1336
- samePartsLength = i;
1337
- break;
1338
- }
1339
- }
1340
-
1341
- var outputParts = [];
1342
- for (var i = samePartsLength; i < fromParts.length; i++) {
1343
- outputParts.push('..');
1344
- }
1345
-
1346
- outputParts = outputParts.concat(toParts.slice(samePartsLength));
1347
-
1348
- return outputParts.join('/');
1349
- };
1350
-
1351
- exports.sep = '/';
1352
- exports.delimiter = ':';
1353
-
1354
- exports.dirname = function (path) {
1355
- if (typeof path !== 'string') path = path + '';
1356
- if (path.length === 0) return '.';
1357
- var code = path.charCodeAt(0);
1358
- var hasRoot = code === 47 /*/*/;
1359
- var end = -1;
1360
- var matchedSlash = true;
1361
- for (var i = path.length - 1; i >= 1; --i) {
1362
- code = path.charCodeAt(i);
1363
- if (code === 47 /*/*/) {
1364
- if (!matchedSlash) {
1365
- end = i;
1366
- break;
1367
- }
1368
- } else {
1369
- // We saw the first non-path separator
1370
- matchedSlash = false;
1371
- }
1372
- }
1373
-
1374
- if (end === -1) return hasRoot ? '/' : '.';
1375
- if (hasRoot && end === 1) {
1376
- // return '//';
1377
- // Backwards-compat fix:
1378
- return '/';
1379
- }
1380
- return path.slice(0, end);
1381
- };
1382
-
1383
- function basename(path) {
1384
- if (typeof path !== 'string') path = path + '';
1385
-
1386
- var start = 0;
1387
- var end = -1;
1388
- var matchedSlash = true;
1389
- var i;
1390
-
1391
- for (i = path.length - 1; i >= 0; --i) {
1392
- if (path.charCodeAt(i) === 47 /*/*/) {
1393
- // If we reached a path separator that was not part of a set of path
1394
- // separators at the end of the string, stop now
1395
- if (!matchedSlash) {
1396
- start = i + 1;
1397
- break;
1398
- }
1399
- } else if (end === -1) {
1400
- // We saw the first non-path separator, mark this as the end of our
1401
- // path component
1402
- matchedSlash = false;
1403
- end = i + 1;
1404
- }
1405
- }
1406
-
1407
- if (end === -1) return '';
1408
- return path.slice(start, end);
1409
- }
1410
-
1411
- // Uses a mixed approach for backwards-compatibility, as ext behavior changed
1412
- // in new Node.js versions, so only basename() above is backported here
1413
- exports.basename = function (path, ext) {
1414
- var f = basename(path);
1415
- if (ext && f.substr(-1 * ext.length) === ext) {
1416
- f = f.substr(0, f.length - ext.length);
1417
- }
1418
- return f;
1419
- };
1420
-
1421
- exports.extname = function (path) {
1422
- if (typeof path !== 'string') path = path + '';
1423
- var startDot = -1;
1424
- var startPart = 0;
1425
- var end = -1;
1426
- var matchedSlash = true;
1427
- // Track the state of characters (if any) we see before our first dot and
1428
- // after any path separator we find
1429
- var preDotState = 0;
1430
- for (var i = path.length - 1; i >= 0; --i) {
1431
- var code = path.charCodeAt(i);
1432
- if (code === 47 /*/*/) {
1433
- // If we reached a path separator that was not part of a set of path
1434
- // separators at the end of the string, stop now
1435
- if (!matchedSlash) {
1436
- startPart = i + 1;
1437
- break;
1438
- }
1439
- continue;
1440
- }
1441
- if (end === -1) {
1442
- // We saw the first non-path separator, mark this as the end of our
1443
- // extension
1444
- matchedSlash = false;
1445
- end = i + 1;
1446
- }
1447
- if (code === 46 /*.*/) {
1448
- // If this is our first dot, mark it as the start of our extension
1449
- if (startDot === -1)
1450
- startDot = i;
1451
- else if (preDotState !== 1)
1452
- preDotState = 1;
1453
- } else if (startDot !== -1) {
1454
- // We saw a non-dot and non-path separator before our dot, so we should
1455
- // have a good chance at having a non-empty extension
1456
- preDotState = -1;
1457
- }
1458
- }
1459
-
1460
- if (startDot === -1 || end === -1 ||
1461
- // We saw a non-dot character immediately before the dot
1462
- preDotState === 0 ||
1463
- // The (right-most) trimmed path component is exactly '..'
1464
- preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
1465
- return '';
1466
- }
1467
- return path.slice(startDot, end);
1468
- };
1469
-
1470
- function filter (xs, f) {
1471
- if (xs.filter) return xs.filter(f);
1472
- var res = [];
1473
- for (var i = 0; i < xs.length; i++) {
1474
- if (f(xs[i], i, xs)) res.push(xs[i]);
1475
- }
1476
- return res;
1477
- }
1478
-
1479
- // String.prototype.substr - negative index don't work in IE8
1480
- var substr = 'ab'.substr(-1) === 'b'
1481
- ? function (str, start, len) { return str.substr(start, len) }
1482
- : function (str, start, len) {
1483
- if (start < 0) start = str.length + start;
1484
- return str.substr(start, len);
1485
- }
1486
- ;
1487
-
1488
- }).call(this,require('_process'))
1489
- },{"_process":5}],5:[function(require,module,exports){
1490
- // shim for using process in browser
1491
- var process = module.exports = {};
1492
-
1493
- // cached from whatever global is present so that test runners that stub it
1494
- // don't break things. But we need to wrap it in a try catch in case it is
1495
- // wrapped in strict mode code which doesn't define any globals. It's inside a
1496
- // function because try/catches deoptimize in certain engines.
1497
-
1498
- var cachedSetTimeout;
1499
- var cachedClearTimeout;
1500
-
1501
- function defaultSetTimout() {
1502
- throw new Error('setTimeout has not been defined');
1503
- }
1504
- function defaultClearTimeout () {
1505
- throw new Error('clearTimeout has not been defined');
1506
- }
1507
- (function () {
1508
- try {
1509
- if (typeof setTimeout === 'function') {
1510
- cachedSetTimeout = setTimeout;
1511
- } else {
1512
- cachedSetTimeout = defaultSetTimout;
1513
- }
1514
- } catch (e) {
1515
- cachedSetTimeout = defaultSetTimout;
1516
- }
1517
- try {
1518
- if (typeof clearTimeout === 'function') {
1519
- cachedClearTimeout = clearTimeout;
1520
- } else {
1521
- cachedClearTimeout = defaultClearTimeout;
1522
- }
1523
- } catch (e) {
1524
- cachedClearTimeout = defaultClearTimeout;
1525
- }
1526
- } ())
1527
- function runTimeout(fun) {
1528
- if (cachedSetTimeout === setTimeout) {
1529
- //normal enviroments in sane situations
1530
- return setTimeout(fun, 0);
1531
- }
1532
- // if setTimeout wasn't available but was latter defined
1533
- if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
1534
- cachedSetTimeout = setTimeout;
1535
- return setTimeout(fun, 0);
1536
- }
1537
- try {
1538
- // when when somebody has screwed with setTimeout but no I.E. maddness
1539
- return cachedSetTimeout(fun, 0);
1540
- } catch(e){
1541
- try {
1542
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
1543
- return cachedSetTimeout.call(null, fun, 0);
1544
- } catch(e){
1545
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
1546
- return cachedSetTimeout.call(this, fun, 0);
1547
- }
1548
- }
1549
-
1550
-
1551
- }
1552
- function runClearTimeout(marker) {
1553
- if (cachedClearTimeout === clearTimeout) {
1554
- //normal enviroments in sane situations
1555
- return clearTimeout(marker);
1556
- }
1557
- // if clearTimeout wasn't available but was latter defined
1558
- if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
1559
- cachedClearTimeout = clearTimeout;
1560
- return clearTimeout(marker);
1561
- }
1562
- try {
1563
- // when when somebody has screwed with setTimeout but no I.E. maddness
1564
- return cachedClearTimeout(marker);
1565
- } catch (e){
1566
- try {
1567
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
1568
- return cachedClearTimeout.call(null, marker);
1569
- } catch (e){
1570
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
1571
- // Some versions of I.E. have different rules for clearTimeout vs setTimeout
1572
- return cachedClearTimeout.call(this, marker);
1573
- }
1574
- }
1575
-
1576
-
1577
-
1578
- }
1579
- var queue = [];
1580
- var draining = false;
1581
- var currentQueue;
1582
- var queueIndex = -1;
1583
-
1584
- function cleanUpNextTick() {
1585
- if (!draining || !currentQueue) {
1586
- return;
1587
- }
1588
- draining = false;
1589
- if (currentQueue.length) {
1590
- queue = currentQueue.concat(queue);
1591
- } else {
1592
- queueIndex = -1;
1593
- }
1594
- if (queue.length) {
1595
- drainQueue();
1596
- }
1597
- }
1598
-
1599
- function drainQueue() {
1600
- if (draining) {
1601
- return;
1602
- }
1603
- var timeout = runTimeout(cleanUpNextTick);
1604
- draining = true;
1605
-
1606
- var len = queue.length;
1607
- while(len) {
1608
- currentQueue = queue;
1609
- queue = [];
1610
- while (++queueIndex < len) {
1611
- if (currentQueue) {
1612
- currentQueue[queueIndex].run();
1613
- }
1614
- }
1615
- queueIndex = -1;
1616
- len = queue.length;
1617
- }
1618
- currentQueue = null;
1619
- draining = false;
1620
- runClearTimeout(timeout);
1621
- }
1622
-
1623
- process.nextTick = function (fun) {
1624
- var args = new Array(arguments.length - 1);
1625
- if (arguments.length > 1) {
1626
- for (var i = 1; i < arguments.length; i++) {
1627
- args[i - 1] = arguments[i];
1628
- }
1629
- }
1630
- queue.push(new Item(fun, args));
1631
- if (queue.length === 1 && !draining) {
1632
- runTimeout(drainQueue);
1633
- }
1634
- };
1635
-
1636
- // v8 likes predictible objects
1637
- function Item(fun, array) {
1638
- this.fun = fun;
1639
- this.array = array;
1640
- }
1641
- Item.prototype.run = function () {
1642
- this.fun.apply(null, this.array);
1643
- };
1644
- process.title = 'browser';
1645
- process.browser = true;
1646
- process.env = {};
1647
- process.argv = [];
1648
- process.version = ''; // empty string to avoid regexp issues
1649
- process.versions = {};
1650
-
1651
- function noop() {}
1652
-
1653
- process.on = noop;
1654
- process.addListener = noop;
1655
- process.once = noop;
1656
- process.off = noop;
1657
- process.removeListener = noop;
1658
- process.removeAllListeners = noop;
1659
- process.emit = noop;
1660
- process.prependListener = noop;
1661
- process.prependOnceListener = noop;
1662
-
1663
- process.listeners = function (name) { return [] }
1664
-
1665
- process.binding = function (name) {
1666
- throw new Error('process.binding is not supported');
1667
- };
1668
-
1669
- process.cwd = function () { return '/' };
1670
- process.chdir = function (dir) {
1671
- throw new Error('process.chdir is not supported');
1672
- };
1673
- process.umask = function() { return 0; };
1674
-
1675
- },{}],6:[function(require,module,exports){
1676
- module.exports={
1677
- "name": "ejs",
1678
- "description": "Embedded JavaScript templates",
1679
- "keywords": [
1680
- "template",
1681
- "engine",
1682
- "ejs"
1683
- ],
1684
- "version": "3.1.7",
1685
- "author": "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",
1686
- "license": "Apache-2.0",
1687
- "bin": {
1688
- "ejs": "./bin/cli.js"
1689
- },
1690
- "main": "./lib/ejs.js",
1691
- "jsdelivr": "ejs.min.js",
1692
- "unpkg": "ejs.min.js",
1693
- "repository": {
1694
- "type": "git",
1695
- "url": "git://github.com/mde/ejs.git"
1696
- },
1697
- "bugs": "https://github.com/mde/ejs/issues",
1698
- "homepage": "https://github.com/mde/ejs",
1699
- "dependencies": {
1700
- "jake": "^10.8.5"
1701
- },
1702
- "devDependencies": {
1703
- "browserify": "^16.5.1",
1704
- "eslint": "^6.8.0",
1705
- "git-directory-deploy": "^1.5.1",
1706
- "jsdoc": "^3.6.7",
1707
- "lru-cache": "^4.0.1",
1708
- "mocha": "^7.1.1",
1709
- "uglify-js": "^3.3.16"
1710
- },
1711
- "engines": {
1712
- "node": ">=0.10.0"
1713
- },
1714
- "scripts": {
1715
- "test": "mocha"
1716
- }
1717
- }
1718
-
1719
- },{}]},{},[1])(1)
1720
- });