typespeed 2.0.21 → 2.0.22

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 (219) hide show
  1. package/dist/core.decorator.js +1 -30
  2. package/dist/default/default-authentication.class.js +25 -0
  3. package/dist/default/express-server.class.js +11 -4
  4. package/dist/default/log-default.class.js +0 -6
  5. package/dist/factory/authentication-factory.class.js +11 -0
  6. package/dist/factory/log-factory.class.js +9 -0
  7. package/dist/route.decorator.js +92 -2
  8. package/dist/typespeed.d.ts +25 -3
  9. package/dist/typespeed.js +3 -1
  10. package/package.json +1 -1
  11. package/src/core.decorator.ts +1 -29
  12. package/src/default/default-authentication.class.ts +10 -0
  13. package/src/default/express-server.class.ts +12 -5
  14. package/src/default/log-default.class.ts +0 -10
  15. package/src/factory/authentication-factory.class.ts +9 -0
  16. package/src/factory/log-factory.class.ts +9 -2
  17. package/src/route.decorator.ts +91 -3
  18. package/src/typespeed.d.ts +25 -3
  19. package/src/typespeed.ts +1 -0
  20. package/test/node_modules/.package-lock.json +65 -101
  21. package/test/node_modules/@types/body-parser/LICENSE +21 -0
  22. package/test/node_modules/@types/body-parser/README.md +16 -0
  23. package/test/node_modules/@types/body-parser/index.d.ts +107 -0
  24. package/test/node_modules/@types/body-parser/package.json +58 -0
  25. package/test/node_modules/@types/connect/LICENSE +21 -0
  26. package/test/node_modules/@types/connect/README.md +16 -0
  27. package/test/node_modules/@types/connect/index.d.ts +93 -0
  28. package/test/node_modules/@types/connect/package.json +32 -0
  29. package/test/node_modules/@types/express/LICENSE +21 -0
  30. package/test/node_modules/@types/express/README.md +16 -0
  31. package/test/node_modules/@types/express/index.d.ts +136 -0
  32. package/test/node_modules/@types/express/package.json +45 -0
  33. package/test/node_modules/@types/express-serve-static-core/LICENSE +21 -0
  34. package/test/node_modules/@types/express-serve-static-core/README.md +16 -0
  35. package/test/node_modules/@types/express-serve-static-core/index.d.ts +1281 -0
  36. package/test/node_modules/@types/express-serve-static-core/package.json +55 -0
  37. package/test/node_modules/@types/mime/LICENSE +21 -0
  38. package/test/node_modules/@types/mime/Mime.d.ts +10 -0
  39. package/test/node_modules/@types/mime/README.md +16 -0
  40. package/test/node_modules/@types/mime/index.d.ts +35 -0
  41. package/test/node_modules/@types/mime/lite.d.ts +7 -0
  42. package/test/node_modules/@types/mime/package.json +29 -0
  43. package/test/node_modules/@types/qs/LICENSE +21 -0
  44. package/test/node_modules/@types/qs/README.md +16 -0
  45. package/test/node_modules/@types/qs/index.d.ts +62 -0
  46. package/test/node_modules/@types/qs/package.json +65 -0
  47. package/test/node_modules/@types/range-parser/LICENSE +21 -0
  48. package/test/node_modules/@types/range-parser/README.md +55 -0
  49. package/test/node_modules/@types/range-parser/index.d.ts +35 -0
  50. package/test/node_modules/@types/range-parser/package.json +25 -0
  51. package/test/node_modules/@types/send/LICENSE +21 -0
  52. package/test/node_modules/@types/send/README.md +16 -0
  53. package/test/node_modules/@types/send/index.d.ts +231 -0
  54. package/test/node_modules/@types/send/package.json +33 -0
  55. package/test/node_modules/@types/serve-static/LICENSE +21 -0
  56. package/test/node_modules/@types/serve-static/README.md +16 -0
  57. package/test/node_modules/@types/serve-static/index.d.ts +113 -0
  58. package/test/node_modules/@types/serve-static/package.json +38 -0
  59. package/test/src/config.json +5 -0
  60. package/test/src/custom-log.class.ts +6 -0
  61. package/test/src/jwt-authentication.class.ts +29 -0
  62. package/test/src/test-request.class.ts +36 -0
  63. package/test/node_modules/@acuminous/bitsyntax/.github/workflows/node-js-ci.yml +0 -17
  64. package/test/node_modules/@acuminous/bitsyntax/.github/workflows/node-js-publish.yml +0 -30
  65. package/test/node_modules/@acuminous/bitsyntax/LICENSE +0 -6
  66. package/test/node_modules/@acuminous/bitsyntax/LICENSE-MIT +0 -21
  67. package/test/node_modules/@acuminous/bitsyntax/Makefile +0 -15
  68. package/test/node_modules/@acuminous/bitsyntax/README.md +0 -308
  69. package/test/node_modules/@acuminous/bitsyntax/index.js +0 -10
  70. package/test/node_modules/@acuminous/bitsyntax/lib/compile.js +0 -303
  71. package/test/node_modules/@acuminous/bitsyntax/lib/constructor.js +0 -142
  72. package/test/node_modules/@acuminous/bitsyntax/lib/grammar.pegjs +0 -67
  73. package/test/node_modules/@acuminous/bitsyntax/lib/interp.js +0 -232
  74. package/test/node_modules/@acuminous/bitsyntax/lib/parse.js +0 -32
  75. package/test/node_modules/@acuminous/bitsyntax/lib/parser.js +0 -1173
  76. package/test/node_modules/@acuminous/bitsyntax/lib/pattern.js +0 -119
  77. package/test/node_modules/@acuminous/bitsyntax/package.json +0 -36
  78. package/test/node_modules/@acuminous/bitsyntax/test/consing.test.js +0 -50
  79. package/test/node_modules/@acuminous/bitsyntax/test/matching.test.js +0 -193
  80. package/test/node_modules/amqplib/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  81. package/test/node_modules/amqplib/.github/workflows/test.yml +0 -38
  82. package/test/node_modules/amqplib/CHANGELOG.md +0 -430
  83. package/test/node_modules/amqplib/LICENSE +0 -6
  84. package/test/node_modules/amqplib/LICENSE-MIT +0 -21
  85. package/test/node_modules/amqplib/Makefile +0 -47
  86. package/test/node_modules/amqplib/README.md +0 -157
  87. package/test/node_modules/amqplib/bin/generate-defs.js +0 -722
  88. package/test/node_modules/amqplib/callback_api.js +0 -22
  89. package/test/node_modules/amqplib/channel_api.js +0 -16
  90. package/test/node_modules/amqplib/examples/headers.js +0 -42
  91. package/test/node_modules/amqplib/examples/receive_generator.js +0 -39
  92. package/test/node_modules/amqplib/examples/send_generators.js +0 -42
  93. package/test/node_modules/amqplib/examples/ssl.js +0 -64
  94. package/test/node_modules/amqplib/examples/tutorials/README.md +0 -93
  95. package/test/node_modules/amqplib/examples/tutorials/callback_api/emit_log.js +0 -28
  96. package/test/node_modules/amqplib/examples/tutorials/callback_api/emit_log_direct.js +0 -30
  97. package/test/node_modules/amqplib/examples/tutorials/callback_api/emit_log_topic.js +0 -27
  98. package/test/node_modules/amqplib/examples/tutorials/callback_api/new_task.js +0 -27
  99. package/test/node_modules/amqplib/examples/tutorials/callback_api/receive.js +0 -30
  100. package/test/node_modules/amqplib/examples/tutorials/callback_api/receive_logs.js +0 -36
  101. package/test/node_modules/amqplib/examples/tutorials/callback_api/receive_logs_direct.js +0 -56
  102. package/test/node_modules/amqplib/examples/tutorials/callback_api/receive_logs_topic.js +0 -55
  103. package/test/node_modules/amqplib/examples/tutorials/callback_api/rpc_client.js +0 -49
  104. package/test/node_modules/amqplib/examples/tutorials/callback_api/rpc_server.js +0 -45
  105. package/test/node_modules/amqplib/examples/tutorials/callback_api/send.js +0 -29
  106. package/test/node_modules/amqplib/examples/tutorials/callback_api/worker.js +0 -35
  107. package/test/node_modules/amqplib/examples/tutorials/emit_log.js +0 -19
  108. package/test/node_modules/amqplib/examples/tutorials/emit_log_direct.js +0 -20
  109. package/test/node_modules/amqplib/examples/tutorials/emit_log_topic.js +0 -19
  110. package/test/node_modules/amqplib/examples/tutorials/new_task.js +0 -18
  111. package/test/node_modules/amqplib/examples/tutorials/package.json +0 -16
  112. package/test/node_modules/amqplib/examples/tutorials/receive.js +0 -21
  113. package/test/node_modules/amqplib/examples/tutorials/receive_logs.js +0 -28
  114. package/test/node_modules/amqplib/examples/tutorials/receive_logs_direct.js +0 -44
  115. package/test/node_modules/amqplib/examples/tutorials/receive_logs_topic.js +0 -43
  116. package/test/node_modules/amqplib/examples/tutorials/rpc_client.js +0 -52
  117. package/test/node_modules/amqplib/examples/tutorials/rpc_server.js +0 -39
  118. package/test/node_modules/amqplib/examples/tutorials/send.js +0 -23
  119. package/test/node_modules/amqplib/examples/tutorials/worker.js +0 -28
  120. package/test/node_modules/amqplib/examples/waitForConfirms.js +0 -22
  121. package/test/node_modules/amqplib/lib/api_args.js +0 -314
  122. package/test/node_modules/amqplib/lib/bitset.js +0 -130
  123. package/test/node_modules/amqplib/lib/callback_model.js +0 -327
  124. package/test/node_modules/amqplib/lib/channel.js +0 -499
  125. package/test/node_modules/amqplib/lib/channel_model.js +0 -302
  126. package/test/node_modules/amqplib/lib/codec.js +0 -321
  127. package/test/node_modules/amqplib/lib/connect.js +0 -189
  128. package/test/node_modules/amqplib/lib/connection.js +0 -663
  129. package/test/node_modules/amqplib/lib/credentials.js +0 -42
  130. package/test/node_modules/amqplib/lib/defs.js +0 -4966
  131. package/test/node_modules/amqplib/lib/error.js +0 -24
  132. package/test/node_modules/amqplib/lib/format.js +0 -40
  133. package/test/node_modules/amqplib/lib/frame.js +0 -113
  134. package/test/node_modules/amqplib/lib/heartbeat.js +0 -89
  135. package/test/node_modules/amqplib/lib/mux.js +0 -129
  136. package/test/node_modules/amqplib/package.json +0 -37
  137. package/test/node_modules/amqplib/test/bitset.js +0 -69
  138. package/test/node_modules/amqplib/test/callback_api.js +0 -312
  139. package/test/node_modules/amqplib/test/channel.js +0 -621
  140. package/test/node_modules/amqplib/test/channel_api.js +0 -596
  141. package/test/node_modules/amqplib/test/codec.js +0 -237
  142. package/test/node_modules/amqplib/test/connect.js +0 -197
  143. package/test/node_modules/amqplib/test/connection.js +0 -390
  144. package/test/node_modules/amqplib/test/data.js +0 -254
  145. package/test/node_modules/amqplib/test/frame.js +0 -198
  146. package/test/node_modules/amqplib/test/mux.js +0 -204
  147. package/test/node_modules/amqplib/test/util.js +0 -219
  148. package/test/node_modules/buffer-more-ints/.travis.yml +0 -6
  149. package/test/node_modules/buffer-more-ints/LICENSE +0 -19
  150. package/test/node_modules/buffer-more-ints/README.md +0 -69
  151. package/test/node_modules/buffer-more-ints/buffer-more-ints-tests.js +0 -183
  152. package/test/node_modules/buffer-more-ints/buffer-more-ints.js +0 -432
  153. package/test/node_modules/buffer-more-ints/package.json +0 -19
  154. package/test/node_modules/buffer-more-ints/polyfill.js +0 -71
  155. package/test/node_modules/core-util-is/LICENSE +0 -19
  156. package/test/node_modules/core-util-is/README.md +0 -3
  157. package/test/node_modules/core-util-is/lib/util.js +0 -107
  158. package/test/node_modules/core-util-is/package.json +0 -38
  159. package/test/node_modules/debug/LICENSE +0 -20
  160. package/test/node_modules/debug/README.md +0 -481
  161. package/test/node_modules/debug/package.json +0 -59
  162. package/test/node_modules/debug/src/browser.js +0 -269
  163. package/test/node_modules/debug/src/common.js +0 -274
  164. package/test/node_modules/debug/src/index.js +0 -10
  165. package/test/node_modules/debug/src/node.js +0 -263
  166. package/test/node_modules/inherits/LICENSE +0 -16
  167. package/test/node_modules/inherits/README.md +0 -42
  168. package/test/node_modules/inherits/inherits.js +0 -9
  169. package/test/node_modules/inherits/inherits_browser.js +0 -27
  170. package/test/node_modules/inherits/package.json +0 -29
  171. package/test/node_modules/isarray/README.md +0 -54
  172. package/test/node_modules/isarray/build/build.js +0 -209
  173. package/test/node_modules/isarray/component.json +0 -19
  174. package/test/node_modules/isarray/index.js +0 -3
  175. package/test/node_modules/isarray/package.json +0 -25
  176. package/test/node_modules/ms/index.js +0 -162
  177. package/test/node_modules/ms/license.md +0 -21
  178. package/test/node_modules/ms/package.json +0 -37
  179. package/test/node_modules/ms/readme.md +0 -60
  180. package/test/node_modules/querystringify/LICENSE +0 -22
  181. package/test/node_modules/querystringify/README.md +0 -61
  182. package/test/node_modules/querystringify/index.js +0 -118
  183. package/test/node_modules/querystringify/package.json +0 -38
  184. package/test/node_modules/readable-stream/LICENSE +0 -18
  185. package/test/node_modules/readable-stream/README.md +0 -15
  186. package/test/node_modules/readable-stream/duplex.js +0 -1
  187. package/test/node_modules/readable-stream/float.patch +0 -923
  188. package/test/node_modules/readable-stream/lib/_stream_duplex.js +0 -89
  189. package/test/node_modules/readable-stream/lib/_stream_passthrough.js +0 -46
  190. package/test/node_modules/readable-stream/lib/_stream_readable.js +0 -951
  191. package/test/node_modules/readable-stream/lib/_stream_transform.js +0 -209
  192. package/test/node_modules/readable-stream/lib/_stream_writable.js +0 -477
  193. package/test/node_modules/readable-stream/package.json +0 -32
  194. package/test/node_modules/readable-stream/passthrough.js +0 -1
  195. package/test/node_modules/readable-stream/readable.js +0 -10
  196. package/test/node_modules/readable-stream/transform.js +0 -1
  197. package/test/node_modules/readable-stream/writable.js +0 -1
  198. package/test/node_modules/requires-port/.travis.yml +0 -19
  199. package/test/node_modules/requires-port/LICENSE +0 -22
  200. package/test/node_modules/requires-port/README.md +0 -47
  201. package/test/node_modules/requires-port/index.js +0 -38
  202. package/test/node_modules/requires-port/package.json +0 -47
  203. package/test/node_modules/requires-port/test.js +0 -98
  204. package/test/node_modules/safe-buffer/LICENSE +0 -21
  205. package/test/node_modules/safe-buffer/README.md +0 -584
  206. package/test/node_modules/safe-buffer/index.d.ts +0 -187
  207. package/test/node_modules/safe-buffer/index.js +0 -62
  208. package/test/node_modules/safe-buffer/package.json +0 -37
  209. package/test/node_modules/string_decoder/LICENSE +0 -20
  210. package/test/node_modules/string_decoder/README.md +0 -7
  211. package/test/node_modules/string_decoder/index.js +0 -221
  212. package/test/node_modules/string_decoder/package.json +0 -25
  213. package/test/node_modules/url-parse/LICENSE +0 -22
  214. package/test/node_modules/url-parse/README.md +0 -153
  215. package/test/node_modules/url-parse/dist/url-parse.js +0 -755
  216. package/test/node_modules/url-parse/dist/url-parse.min.js +0 -1
  217. package/test/node_modules/url-parse/dist/url-parse.min.js.map +0 -1
  218. package/test/node_modules/url-parse/index.js +0 -589
  219. package/test/node_modules/url-parse/package.json +0 -49
@@ -192,12 +192,17 @@ declare abstract class LogFactory {
192
192
  * 日志打印方法
193
193
  * @param message 日志内容
194
194
  */
195
- abstract log(message?: any, ...optionalParams: any[]): void;
195
+ log(message?: any, ...optionalParams: any[]): void;
196
196
  /**
197
197
  * 错误日志打印方法
198
198
  * @param message 日志内容
199
199
  */
200
- abstract error(message?: any, ...optionalParams: any[]): void;
200
+ error(message?: any, ...optionalParams: any[]): void;
201
+ /**
202
+ * 调试日志打印方法
203
+ * @param message 日志内容
204
+ */
205
+ debug(message?: any, ...optionalParams: any[]): void;
201
206
  }
202
207
  /**数据源工厂类 */
203
208
  declare abstract class DataSourceFactory {
@@ -234,6 +239,23 @@ declare abstract class CacheFactory {
234
239
  /**清空缓存 */
235
240
  abstract flush(): void;
236
241
  }
242
+ /**认证类 */
243
+ declare abstract class AuthenticationFactory {
244
+ /**
245
+ * 路由页面执行前认证
246
+ * @param req 请求对象
247
+ * @param res 响应对象
248
+ * @param next 下一步函数
249
+ */
250
+ preHandle(req: express.Request, res: express.Response, next: express.NextFunction): void;
251
+ /**
252
+ * 开始执行中间件前认证
253
+ * @param req 请求对象
254
+ * @param res 响应对象
255
+ * @param next 下一步函数
256
+ */
257
+ afterCompletion(req: express.Request, res: express.Response, next: express.NextFunction): void;
258
+ }
237
259
  /**Redis 操作类 */
238
260
  declare class Redis extends IoRedis {
239
261
  /**获取 Redis 实例 */
@@ -322,4 +344,4 @@ declare class ExpressServer extends ServerFactory {
322
344
  private setDefaultMiddleware;
323
345
  }
324
346
 
325
- export { ExpressServer, LogDefault, NodeCache, RabbitMQ, rabbitListener, ReadWriteDb, Redis, CacheFactory, DataSourceFactory, LogFactory, ServerFactory, component, bean, resource, log, app, before, after, value, error, config, autoware, getBean, getComponent, schedule, getMapping, postMapping, requestMapping, setRouter, upload, jwt, insert, update, remove, select, param, resultType, cache, Model };
347
+ export { ExpressServer, LogDefault, NodeCache, RabbitMQ, rabbitListener, ReadWriteDb, Redis, CacheFactory, DataSourceFactory, LogFactory, ServerFactory, AuthenticationFactory, component, bean, resource, log, app, before, after, value, error, config, autoware, getBean, getComponent, schedule, getMapping, postMapping, requestMapping, setRouter, upload, jwt, insert, update, remove, select, param, resultType, cache, Model};
package/src/typespeed.ts CHANGED
@@ -7,6 +7,7 @@ export { default as LogFactory} from "./factory/log-factory.class";
7
7
  export { default as CacheFactory} from "./factory/cache-factory.class";
8
8
  export { default as DataSourceFactory} from "./factory/data-source-factory.class";
9
9
  export { default as ServerFactory} from "./factory/server-factory.class";
10
+ export { default as AuthenticationFactory} from "./factory/authentication-factory.class";
10
11
 
11
12
  export { default as ExpressServer} from "./default/express-server.class";
12
13
  export { default as LogDefault} from "./default/log-default.class";
@@ -4,42 +4,82 @@
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
- "node_modules/@acuminous/bitsyntax": {
8
- "version": "0.1.2",
9
- "resolved": "https://registry.npmjs.org/@acuminous/bitsyntax/-/bitsyntax-0.1.2.tgz",
10
- "integrity": "sha512-29lUK80d1muEQqiUsSo+3A0yP6CdspgC95EnKBMi22Xlwt79i/En4Vr67+cXhU+cZjbti3TgGGC5wy1stIywVQ==",
7
+ "node_modules/@types/body-parser": {
8
+ "version": "1.19.2",
9
+ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",
10
+ "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==",
11
11
  "dependencies": {
12
- "buffer-more-ints": "~1.0.0",
13
- "debug": "^4.3.4",
14
- "safe-buffer": "~5.1.2"
15
- },
16
- "engines": {
17
- "node": ">=0.8"
12
+ "@types/connect": "*",
13
+ "@types/node": "*"
14
+ }
15
+ },
16
+ "node_modules/@types/connect": {
17
+ "version": "3.4.35",
18
+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz",
19
+ "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==",
20
+ "dependencies": {
21
+ "@types/node": "*"
22
+ }
23
+ },
24
+ "node_modules/@types/express": {
25
+ "version": "4.17.17",
26
+ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz",
27
+ "integrity": "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==",
28
+ "dependencies": {
29
+ "@types/body-parser": "*",
30
+ "@types/express-serve-static-core": "^4.17.33",
31
+ "@types/qs": "*",
32
+ "@types/serve-static": "*"
33
+ }
34
+ },
35
+ "node_modules/@types/express-serve-static-core": {
36
+ "version": "4.17.35",
37
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz",
38
+ "integrity": "sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==",
39
+ "dependencies": {
40
+ "@types/node": "*",
41
+ "@types/qs": "*",
42
+ "@types/range-parser": "*",
43
+ "@types/send": "*"
18
44
  }
19
45
  },
46
+ "node_modules/@types/mime": {
47
+ "version": "1.3.2",
48
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
49
+ "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw=="
50
+ },
20
51
  "node_modules/@types/node": {
21
52
  "version": "18.16.14",
22
53
  "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.14.tgz",
23
54
  "integrity": "sha512-+ImzUB3mw2c5ISJUq0punjDilUQ5GnUim0ZRvchHIWJmOC0G+p0kzhXBqj6cDjK0QdPFwzrHWgrJp3RPvCG5qg=="
24
55
  },
25
- "node_modules/amqplib": {
26
- "version": "0.10.3",
27
- "resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.10.3.tgz",
28
- "integrity": "sha512-UHmuSa7n8vVW/a5HGh2nFPqAEr8+cD4dEZ6u9GjP91nHfr1a54RyAKyra7Sb5NH7NBKOUlyQSMXIp0qAixKexw==",
56
+ "node_modules/@types/qs": {
57
+ "version": "6.9.7",
58
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
59
+ "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
60
+ },
61
+ "node_modules/@types/range-parser": {
62
+ "version": "1.2.4",
63
+ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",
64
+ "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
65
+ },
66
+ "node_modules/@types/send": {
67
+ "version": "0.17.1",
68
+ "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz",
69
+ "integrity": "sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==",
29
70
  "dependencies": {
30
- "@acuminous/bitsyntax": "^0.1.2",
31
- "buffer-more-ints": "~1.0.0",
32
- "readable-stream": "1.x >=1.1.9",
33
- "url-parse": "~1.5.10"
34
- },
35
- "engines": {
36
- "node": ">=10"
71
+ "@types/mime": "^1",
72
+ "@types/node": "*"
37
73
  }
38
74
  },
39
- "node_modules/buffer-more-ints": {
40
- "version": "1.0.0",
41
- "resolved": "https://registry.npmjs.org/buffer-more-ints/-/buffer-more-ints-1.0.0.tgz",
42
- "integrity": "sha512-EMetuGFz5SLsT0QTnXzINh4Ksr+oo4i+UGTXEshiGCQWnsgSs7ZhJ8fzlwQ+OzEMs0MpDAMr1hxnblp5a4vcHg=="
75
+ "node_modules/@types/serve-static": {
76
+ "version": "1.15.1",
77
+ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.1.tgz",
78
+ "integrity": "sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==",
79
+ "dependencies": {
80
+ "@types/mime": "*",
81
+ "@types/node": "*"
82
+ }
43
83
  },
44
84
  "node_modules/colors": {
45
85
  "version": "1.4.0",
@@ -49,11 +89,6 @@
49
89
  "node": ">=0.1.90"
50
90
  }
51
91
  },
52
- "node_modules/core-util-is": {
53
- "version": "1.0.3",
54
- "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
55
- "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
56
- },
57
92
  "node_modules/dateformat": {
58
93
  "version": "4.5.1",
59
94
  "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.5.1.tgz",
@@ -62,32 +97,6 @@
62
97
  "node": "*"
63
98
  }
64
99
  },
65
- "node_modules/debug": {
66
- "version": "4.3.4",
67
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
68
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
69
- "dependencies": {
70
- "ms": "2.1.2"
71
- },
72
- "engines": {
73
- "node": ">=6.0"
74
- },
75
- "peerDependenciesMeta": {
76
- "supports-color": {
77
- "optional": true
78
- }
79
- }
80
- },
81
- "node_modules/inherits": {
82
- "version": "2.0.4",
83
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
84
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
85
- },
86
- "node_modules/isarray": {
87
- "version": "0.0.1",
88
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
89
- "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ=="
90
- },
91
100
  "node_modules/mkdirp": {
92
101
  "version": "1.0.4",
93
102
  "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
@@ -99,42 +108,6 @@
99
108
  "node": ">=10"
100
109
  }
101
110
  },
102
- "node_modules/ms": {
103
- "version": "2.1.2",
104
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
105
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
106
- },
107
- "node_modules/querystringify": {
108
- "version": "2.2.0",
109
- "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
110
- "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
111
- },
112
- "node_modules/readable-stream": {
113
- "version": "1.1.14",
114
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
115
- "integrity": "sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ==",
116
- "dependencies": {
117
- "core-util-is": "~1.0.0",
118
- "inherits": "~2.0.1",
119
- "isarray": "0.0.1",
120
- "string_decoder": "~0.10.x"
121
- }
122
- },
123
- "node_modules/requires-port": {
124
- "version": "1.0.0",
125
- "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
126
- "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
127
- },
128
- "node_modules/safe-buffer": {
129
- "version": "5.1.2",
130
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
131
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
132
- },
133
- "node_modules/string_decoder": {
134
- "version": "0.10.31",
135
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
136
- "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ=="
137
- },
138
111
  "node_modules/tinytim": {
139
112
  "version": "0.1.1",
140
113
  "resolved": "https://registry.npmjs.org/tinytim/-/tinytim-0.1.1.tgz",
@@ -156,15 +129,6 @@
156
129
  "engines": {
157
130
  "node": ">= 0.10.0"
158
131
  }
159
- },
160
- "node_modules/url-parse": {
161
- "version": "1.5.10",
162
- "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
163
- "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
164
- "dependencies": {
165
- "querystringify": "^2.1.1",
166
- "requires-port": "^1.0.0"
167
- }
168
132
  }
169
133
  }
170
134
  }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
@@ -0,0 +1,16 @@
1
+ # Installation
2
+ > `npm install --save @types/body-parser`
3
+
4
+ # Summary
5
+ This package contains type definitions for body-parser (https://github.com/expressjs/body-parser).
6
+
7
+ # Details
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser.
9
+
10
+ ### Additional Details
11
+ * Last updated: Tue, 16 Nov 2021 18:31:30 GMT
12
+ * Dependencies: [@types/connect](https://npmjs.com/package/@types/connect), [@types/node](https://npmjs.com/package/@types/node)
13
+ * Global values: none
14
+
15
+ # Credits
16
+ These definitions were written by [Santi Albo](https://github.com/santialbo), [Vilic Vane](https://github.com/vilic), [Jonathan Häberle](https://github.com/dreampulse), [Gevik Babakhani](https://github.com/blendsdk), [Tomasz Łaziuk](https://github.com/tlaziuk), [Jason Walton](https://github.com/jwalton), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).
@@ -0,0 +1,107 @@
1
+ // Type definitions for body-parser 1.19
2
+ // Project: https://github.com/expressjs/body-parser
3
+ // Definitions by: Santi Albo <https://github.com/santialbo>
4
+ // Vilic Vane <https://github.com/vilic>
5
+ // Jonathan Häberle <https://github.com/dreampulse>
6
+ // Gevik Babakhani <https://github.com/blendsdk>
7
+ // Tomasz Łaziuk <https://github.com/tlaziuk>
8
+ // Jason Walton <https://github.com/jwalton>
9
+ // Piotr Błażejewicz <https://github.com/peterblazejewicz>
10
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
11
+
12
+ /// <reference types="node" />
13
+
14
+ import { NextHandleFunction } from 'connect';
15
+ import * as http from 'http';
16
+
17
+ // for docs go to https://github.com/expressjs/body-parser/tree/1.19.0#body-parser
18
+
19
+ declare namespace bodyParser {
20
+ interface BodyParser {
21
+ /**
22
+ * @deprecated use individual json/urlencoded middlewares
23
+ */
24
+ (options?: OptionsJson & OptionsText & OptionsUrlencoded): NextHandleFunction;
25
+ /**
26
+ * Returns middleware that only parses json and only looks at requests
27
+ * where the Content-Type header matches the type option.
28
+ */
29
+ json(options?: OptionsJson): NextHandleFunction;
30
+ /**
31
+ * Returns middleware that parses all bodies as a Buffer and only looks at requests
32
+ * where the Content-Type header matches the type option.
33
+ */
34
+ raw(options?: Options): NextHandleFunction;
35
+
36
+ /**
37
+ * Returns middleware that parses all bodies as a string and only looks at requests
38
+ * where the Content-Type header matches the type option.
39
+ */
40
+ text(options?: OptionsText): NextHandleFunction;
41
+ /**
42
+ * Returns middleware that only parses urlencoded bodies and only looks at requests
43
+ * where the Content-Type header matches the type option
44
+ */
45
+ urlencoded(options?: OptionsUrlencoded): NextHandleFunction;
46
+ }
47
+
48
+ interface Options {
49
+ /** When set to true, then deflated (compressed) bodies will be inflated; when false, deflated bodies are rejected. Defaults to true. */
50
+ inflate?: boolean | undefined;
51
+ /**
52
+ * Controls the maximum request body size. If this is a number,
53
+ * then the value specifies the number of bytes; if it is a string,
54
+ * the value is passed to the bytes library for parsing. Defaults to '100kb'.
55
+ */
56
+ limit?: number | string | undefined;
57
+ /**
58
+ * The type option is used to determine what media type the middleware will parse
59
+ */
60
+ type?: string | string[] | ((req: http.IncomingMessage) => any) | undefined;
61
+ /**
62
+ * The verify option, if supplied, is called as verify(req, res, buf, encoding),
63
+ * where buf is a Buffer of the raw request body and encoding is the encoding of the request.
64
+ */
65
+ verify?(req: http.IncomingMessage, res: http.ServerResponse, buf: Buffer, encoding: string): void;
66
+ }
67
+
68
+ interface OptionsJson extends Options {
69
+ /**
70
+ *
71
+ * The reviver option is passed directly to JSON.parse as the second argument.
72
+ */
73
+ reviver?(key: string, value: any): any;
74
+ /**
75
+ * When set to `true`, will only accept arrays and objects;
76
+ * when `false` will accept anything JSON.parse accepts. Defaults to `true`.
77
+ */
78
+ strict?: boolean | undefined;
79
+ }
80
+
81
+ interface OptionsText extends Options {
82
+ /**
83
+ * Specify the default character set for the text content if the charset
84
+ * is not specified in the Content-Type header of the request.
85
+ * Defaults to `utf-8`.
86
+ */
87
+ defaultCharset?: string | undefined;
88
+ }
89
+
90
+ interface OptionsUrlencoded extends Options {
91
+ /**
92
+ * The extended option allows to choose between parsing the URL-encoded data
93
+ * with the querystring library (when `false`) or the qs library (when `true`).
94
+ */
95
+ extended?: boolean | undefined;
96
+ /**
97
+ * The parameterLimit option controls the maximum number of parameters
98
+ * that are allowed in the URL-encoded data. If a request contains more parameters than this value,
99
+ * a 413 will be returned to the client. Defaults to 1000.
100
+ */
101
+ parameterLimit?: number | undefined;
102
+ }
103
+ }
104
+
105
+ declare const bodyParser: bodyParser.BodyParser;
106
+
107
+ export = bodyParser;
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@types/body-parser",
3
+ "version": "1.19.2",
4
+ "description": "TypeScript definitions for body-parser",
5
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser",
6
+ "license": "MIT",
7
+ "contributors": [
8
+ {
9
+ "name": "Santi Albo",
10
+ "url": "https://github.com/santialbo",
11
+ "githubUsername": "santialbo"
12
+ },
13
+ {
14
+ "name": "Vilic Vane",
15
+ "url": "https://github.com/vilic",
16
+ "githubUsername": "vilic"
17
+ },
18
+ {
19
+ "name": "Jonathan Häberle",
20
+ "url": "https://github.com/dreampulse",
21
+ "githubUsername": "dreampulse"
22
+ },
23
+ {
24
+ "name": "Gevik Babakhani",
25
+ "url": "https://github.com/blendsdk",
26
+ "githubUsername": "blendsdk"
27
+ },
28
+ {
29
+ "name": "Tomasz Łaziuk",
30
+ "url": "https://github.com/tlaziuk",
31
+ "githubUsername": "tlaziuk"
32
+ },
33
+ {
34
+ "name": "Jason Walton",
35
+ "url": "https://github.com/jwalton",
36
+ "githubUsername": "jwalton"
37
+ },
38
+ {
39
+ "name": "Piotr Błażejewicz",
40
+ "url": "https://github.com/peterblazejewicz",
41
+ "githubUsername": "peterblazejewicz"
42
+ }
43
+ ],
44
+ "main": "",
45
+ "types": "index.d.ts",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
49
+ "directory": "types/body-parser"
50
+ },
51
+ "scripts": {},
52
+ "dependencies": {
53
+ "@types/connect": "*",
54
+ "@types/node": "*"
55
+ },
56
+ "typesPublisherContentHash": "ad069aa8b9e8a95f66df025de11975c773540e4071000abdb7db565579b013ee",
57
+ "typeScriptVersion": "3.7"
58
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
@@ -0,0 +1,16 @@
1
+ # Installation
2
+ > `npm install --save @types/connect`
3
+
4
+ # Summary
5
+ This package contains type definitions for connect (https://github.com/senchalabs/connect).
6
+
7
+ # Details
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect.
9
+
10
+ ### Additional Details
11
+ * Last updated: Tue, 06 Jul 2021 20:32:28 GMT
12
+ * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
13
+ * Global values: none
14
+
15
+ # Credits
16
+ These definitions were written by [Maxime LUCE](https://github.com/SomaticIT), and [Evan Hahn](https://github.com/EvanHahn).
@@ -0,0 +1,93 @@
1
+ // Type definitions for connect v3.4.0
2
+ // Project: https://github.com/senchalabs/connect
3
+ // Definitions by: Maxime LUCE <https://github.com/SomaticIT>
4
+ // Evan Hahn <https://github.com/EvanHahn>
5
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
6
+
7
+ /// <reference types="node" />
8
+
9
+
10
+ import * as http from "http";
11
+
12
+ /**
13
+ * Create a new connect server.
14
+ */
15
+ declare function createServer(): createServer.Server;
16
+
17
+ declare namespace createServer {
18
+ export type ServerHandle = HandleFunction | http.Server;
19
+
20
+ export class IncomingMessage extends http.IncomingMessage {
21
+ originalUrl?: http.IncomingMessage["url"] | undefined;
22
+ }
23
+
24
+ type NextFunction = (err?: any) => void;
25
+
26
+ export type SimpleHandleFunction = (req: IncomingMessage, res: http.ServerResponse) => void;
27
+ export type NextHandleFunction = (req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
28
+ export type ErrorHandleFunction = (err: any, req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
29
+ export type HandleFunction = SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction;
30
+
31
+ export interface ServerStackItem {
32
+ route: string;
33
+ handle: ServerHandle;
34
+ }
35
+
36
+ export interface Server extends NodeJS.EventEmitter {
37
+ (req: http.IncomingMessage, res: http.ServerResponse, next?: Function): void;
38
+
39
+ route: string;
40
+ stack: ServerStackItem[];
41
+
42
+ /**
43
+ * Utilize the given middleware `handle` to the given `route`,
44
+ * defaulting to _/_. This "route" is the mount-point for the
45
+ * middleware, when given a value other than _/_ the middleware
46
+ * is only effective when that segment is present in the request's
47
+ * pathname.
48
+ *
49
+ * For example if we were to mount a function at _/admin_, it would
50
+ * be invoked on _/admin_, and _/admin/settings_, however it would
51
+ * not be invoked for _/_, or _/posts_.
52
+ */
53
+ use(fn: NextHandleFunction): Server;
54
+ use(fn: HandleFunction): Server;
55
+ use(route: string, fn: NextHandleFunction): Server;
56
+ use(route: string, fn: HandleFunction): Server;
57
+
58
+ /**
59
+ * Handle server requests, punting them down
60
+ * the middleware stack.
61
+ */
62
+ handle(req: http.IncomingMessage, res: http.ServerResponse, next: Function): void;
63
+
64
+ /**
65
+ * Listen for connections.
66
+ *
67
+ * This method takes the same arguments
68
+ * as node's `http.Server#listen()`.
69
+ *
70
+ * HTTP and HTTPS:
71
+ *
72
+ * If you run your application both as HTTP
73
+ * and HTTPS you may wrap them individually,
74
+ * since your Connect "server" is really just
75
+ * a JavaScript `Function`.
76
+ *
77
+ * var connect = require('connect')
78
+ * , http = require('http')
79
+ * , https = require('https');
80
+ *
81
+ * var app = connect();
82
+ *
83
+ * http.createServer(app).listen(80);
84
+ * https.createServer(options, app).listen(443);
85
+ */
86
+ listen(port: number, hostname?: string, backlog?: number, callback?: Function): http.Server;
87
+ listen(port: number, hostname?: string, callback?: Function): http.Server;
88
+ listen(path: string, callback?: Function): http.Server;
89
+ listen(handle: any, listeningListener?: Function): http.Server;
90
+ }
91
+ }
92
+
93
+ export = createServer;
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@types/connect",
3
+ "version": "3.4.35",
4
+ "description": "TypeScript definitions for connect",
5
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect",
6
+ "license": "MIT",
7
+ "contributors": [
8
+ {
9
+ "name": "Maxime LUCE",
10
+ "url": "https://github.com/SomaticIT",
11
+ "githubUsername": "SomaticIT"
12
+ },
13
+ {
14
+ "name": "Evan Hahn",
15
+ "url": "https://github.com/EvanHahn",
16
+ "githubUsername": "EvanHahn"
17
+ }
18
+ ],
19
+ "main": "",
20
+ "types": "index.d.ts",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
24
+ "directory": "types/connect"
25
+ },
26
+ "scripts": {},
27
+ "dependencies": {
28
+ "@types/node": "*"
29
+ },
30
+ "typesPublisherContentHash": "09c0dcec5f675cb2bdd7487a85447955f769ef4ab174294478c4f055b528fecc",
31
+ "typeScriptVersion": "3.6"
32
+ }