@aligent/cdk-prerender-proxy 0.2.5-experimental2 → 0.2.5-experimental5

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 (197) hide show
  1. package/lib/error-response-construct.js +1 -1
  2. package/lib/handlers/cache-control.ts +3 -20
  3. package/lib/handlers/error-response.ts +3 -50
  4. package/lib/handlers/package-lock.json +1257 -40
  5. package/lib/handlers/package.json +7 -3
  6. package/lib/handlers/prerender-check.ts +3 -26
  7. package/lib/handlers/prerender.ts +3 -42
  8. package/lib/handlers/tsconfig.json +1 -4
  9. package/lib/prerender-cf-cache-control-construct.js +1 -1
  10. package/lib/prerender-check-construct.js +1 -1
  11. package/lib/prerender-construct.js +1 -1
  12. package/package.json +6 -4
  13. package/lib/handlers/node_modules/.package-lock.json +0 -55
  14. package/lib/handlers/node_modules/@types/aws-lambda/LICENSE +0 -21
  15. package/lib/handlers/node_modules/@types/aws-lambda/README.md +0 -16
  16. package/lib/handlers/node_modules/@types/aws-lambda/common/api-gateway.d.ts +0 -79
  17. package/lib/handlers/node_modules/@types/aws-lambda/common/cloudfront.d.ts +0 -79
  18. package/lib/handlers/node_modules/@types/aws-lambda/handler.d.ts +0 -171
  19. package/lib/handlers/node_modules/@types/aws-lambda/index.d.ts +0 -85
  20. package/lib/handlers/node_modules/@types/aws-lambda/package.json +0 -210
  21. package/lib/handlers/node_modules/@types/aws-lambda/trigger/alb.d.ts +0 -48
  22. package/lib/handlers/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts +0 -174
  23. package/lib/handlers/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +0 -187
  24. package/lib/handlers/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts +0 -51
  25. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts +0 -68
  26. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts +0 -20
  27. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cloudfront-response.d.ts +0 -21
  28. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cloudwatch-events.d.ts +0 -8
  29. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cloudwatch-logs.d.ts +0 -37
  30. package/lib/handlers/node_modules/@types/aws-lambda/trigger/codebuild-cloudwatch-state.d.ts +0 -104
  31. package/lib/handlers/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-action.d.ts +0 -31
  32. package/lib/handlers/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-pipeline.d.ts +0 -32
  33. package/lib/handlers/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-stage.d.ts +0 -23
  34. package/lib/handlers/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch.d.ts +0 -11
  35. package/lib/handlers/node_modules/@types/aws-lambda/trigger/codepipeline.d.ts +0 -55
  36. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/_common.d.ts +0 -41
  37. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/create-auth-challenge.d.ts +0 -22
  38. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.ts +0 -86
  39. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.ts +0 -44
  40. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts +0 -21
  41. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +0 -119
  42. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-authentication.d.ts +0 -15
  43. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-confirmation.d.ts +0 -22
  44. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-authentication.d.ts +0 -15
  45. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-signup.d.ts +0 -31
  46. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation.d.ts +0 -45
  47. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/user-migration.d.ts +0 -39
  48. package/lib/handlers/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/verify-auth-challenge-response.d.ts +0 -20
  49. package/lib/handlers/node_modules/@types/aws-lambda/trigger/connect-contact-flow.d.ts +0 -65
  50. package/lib/handlers/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.ts +0 -45
  51. package/lib/handlers/node_modules/@types/aws-lambda/trigger/eventbridge.d.ts +0 -18
  52. package/lib/handlers/node_modules/@types/aws-lambda/trigger/iot.d.ts +0 -28
  53. package/lib/handlers/node_modules/@types/aws-lambda/trigger/kinesis-firehose-transformation.d.ts +0 -45
  54. package/lib/handlers/node_modules/@types/aws-lambda/trigger/kinesis-stream.d.ts +0 -28
  55. package/lib/handlers/node_modules/@types/aws-lambda/trigger/lex.d.ts +0 -116
  56. package/lib/handlers/node_modules/@types/aws-lambda/trigger/msk.d.ts +0 -21
  57. package/lib/handlers/node_modules/@types/aws-lambda/trigger/s3-batch.d.ts +0 -41
  58. package/lib/handlers/node_modules/@types/aws-lambda/trigger/s3.d.ts +0 -60
  59. package/lib/handlers/node_modules/@types/aws-lambda/trigger/ses.d.ts +0 -103
  60. package/lib/handlers/node_modules/@types/aws-lambda/trigger/sns.d.ts +0 -38
  61. package/lib/handlers/node_modules/@types/aws-lambda/trigger/sqs.d.ts +0 -46
  62. package/lib/handlers/node_modules/@types/node/LICENSE +0 -21
  63. package/lib/handlers/node_modules/@types/node/README.md +0 -16
  64. package/lib/handlers/node_modules/@types/node/assert/strict.d.ts +0 -4
  65. package/lib/handlers/node_modules/@types/node/assert.d.ts +0 -124
  66. package/lib/handlers/node_modules/@types/node/async_hooks.d.ts +0 -226
  67. package/lib/handlers/node_modules/@types/node/base.d.ts +0 -19
  68. package/lib/handlers/node_modules/@types/node/buffer.d.ts +0 -84
  69. package/lib/handlers/node_modules/@types/node/child_process.d.ts +0 -526
  70. package/lib/handlers/node_modules/@types/node/cluster.d.ts +0 -262
  71. package/lib/handlers/node_modules/@types/node/console.d.ts +0 -133
  72. package/lib/handlers/node_modules/@types/node/constants.d.ts +0 -13
  73. package/lib/handlers/node_modules/@types/node/crypto.d.ts +0 -1580
  74. package/lib/handlers/node_modules/@types/node/dgram.d.ts +0 -141
  75. package/lib/handlers/node_modules/@types/node/diagnostic_channel.d.ts +0 -34
  76. package/lib/handlers/node_modules/@types/node/dns/promises.d.ts +0 -97
  77. package/lib/handlers/node_modules/@types/node/dns.d.ts +0 -322
  78. package/lib/handlers/node_modules/@types/node/domain.d.ts +0 -24
  79. package/lib/handlers/node_modules/@types/node/events.d.ts +0 -93
  80. package/lib/handlers/node_modules/@types/node/fs/promises.d.ts +0 -592
  81. package/lib/handlers/node_modules/@types/node/fs.d.ts +0 -2239
  82. package/lib/handlers/node_modules/@types/node/globals.d.ts +0 -655
  83. package/lib/handlers/node_modules/@types/node/globals.global.d.ts +0 -1
  84. package/lib/handlers/node_modules/@types/node/http.d.ts +0 -434
  85. package/lib/handlers/node_modules/@types/node/http2.d.ts +0 -976
  86. package/lib/handlers/node_modules/@types/node/https.d.ts +0 -36
  87. package/lib/handlers/node_modules/@types/node/index.d.ts +0 -58
  88. package/lib/handlers/node_modules/@types/node/inspector.d.ts +0 -3041
  89. package/lib/handlers/node_modules/@types/node/module.d.ts +0 -52
  90. package/lib/handlers/node_modules/@types/node/net.d.ts +0 -326
  91. package/lib/handlers/node_modules/@types/node/os.d.ts +0 -239
  92. package/lib/handlers/node_modules/@types/node/package.json +0 -232
  93. package/lib/handlers/node_modules/@types/node/path.d.ts +0 -163
  94. package/lib/handlers/node_modules/@types/node/perf_hooks.d.ts +0 -310
  95. package/lib/handlers/node_modules/@types/node/process.d.ts +0 -461
  96. package/lib/handlers/node_modules/@types/node/punycode.d.ts +0 -75
  97. package/lib/handlers/node_modules/@types/node/querystring.d.ts +0 -28
  98. package/lib/handlers/node_modules/@types/node/readline.d.ts +0 -192
  99. package/lib/handlers/node_modules/@types/node/repl.d.ts +0 -395
  100. package/lib/handlers/node_modules/@types/node/stream/promises.d.ts +0 -67
  101. package/lib/handlers/node_modules/@types/node/stream.d.ts +0 -471
  102. package/lib/handlers/node_modules/@types/node/string_decoder.d.ts +0 -7
  103. package/lib/handlers/node_modules/@types/node/timers/promises.d.ts +0 -21
  104. package/lib/handlers/node_modules/@types/node/timers.d.ts +0 -27
  105. package/lib/handlers/node_modules/@types/node/tls.d.ts +0 -793
  106. package/lib/handlers/node_modules/@types/node/trace_events.d.ts +0 -61
  107. package/lib/handlers/node_modules/@types/node/ts3.6/assert.d.ts +0 -98
  108. package/lib/handlers/node_modules/@types/node/ts3.6/base.d.ts +0 -68
  109. package/lib/handlers/node_modules/@types/node/ts3.6/index.d.ts +0 -7
  110. package/lib/handlers/node_modules/@types/node/tty.d.ts +0 -66
  111. package/lib/handlers/node_modules/@types/node/url.d.ts +0 -116
  112. package/lib/handlers/node_modules/@types/node/util/types.d.ts +0 -53
  113. package/lib/handlers/node_modules/@types/node/util.d.ts +0 -156
  114. package/lib/handlers/node_modules/@types/node/v8.d.ts +0 -198
  115. package/lib/handlers/node_modules/@types/node/vm.d.ts +0 -152
  116. package/lib/handlers/node_modules/@types/node/wasi.d.ts +0 -86
  117. package/lib/handlers/node_modules/@types/node/worker_threads.d.ts +0 -282
  118. package/lib/handlers/node_modules/@types/node/zlib.d.ts +0 -361
  119. package/lib/handlers/node_modules/axios/CHANGELOG.md +0 -685
  120. package/lib/handlers/node_modules/axios/LICENSE +0 -19
  121. package/lib/handlers/node_modules/axios/README.md +0 -800
  122. package/lib/handlers/node_modules/axios/UPGRADE_GUIDE.md +0 -162
  123. package/lib/handlers/node_modules/axios/dist/axios.js +0 -1756
  124. package/lib/handlers/node_modules/axios/dist/axios.map +0 -1
  125. package/lib/handlers/node_modules/axios/dist/axios.min.js +0 -3
  126. package/lib/handlers/node_modules/axios/dist/axios.min.map +0 -1
  127. package/lib/handlers/node_modules/axios/index.d.ts +0 -161
  128. package/lib/handlers/node_modules/axios/index.js +0 -1
  129. package/lib/handlers/node_modules/axios/lib/adapters/README.md +0 -37
  130. package/lib/handlers/node_modules/axios/lib/adapters/http.js +0 -303
  131. package/lib/handlers/node_modules/axios/lib/adapters/xhr.js +0 -179
  132. package/lib/handlers/node_modules/axios/lib/axios.js +0 -56
  133. package/lib/handlers/node_modules/axios/lib/cancel/Cancel.js +0 -19
  134. package/lib/handlers/node_modules/axios/lib/cancel/CancelToken.js +0 -57
  135. package/lib/handlers/node_modules/axios/lib/cancel/isCancel.js +0 -5
  136. package/lib/handlers/node_modules/axios/lib/core/Axios.js +0 -95
  137. package/lib/handlers/node_modules/axios/lib/core/InterceptorManager.js +0 -52
  138. package/lib/handlers/node_modules/axios/lib/core/README.md +0 -7
  139. package/lib/handlers/node_modules/axios/lib/core/buildFullPath.js +0 -20
  140. package/lib/handlers/node_modules/axios/lib/core/createError.js +0 -18
  141. package/lib/handlers/node_modules/axios/lib/core/dispatchRequest.js +0 -79
  142. package/lib/handlers/node_modules/axios/lib/core/enhanceError.js +0 -42
  143. package/lib/handlers/node_modules/axios/lib/core/mergeConfig.js +0 -87
  144. package/lib/handlers/node_modules/axios/lib/core/settle.js +0 -25
  145. package/lib/handlers/node_modules/axios/lib/core/transformData.js +0 -20
  146. package/lib/handlers/node_modules/axios/lib/defaults.js +0 -98
  147. package/lib/handlers/node_modules/axios/lib/helpers/README.md +0 -7
  148. package/lib/handlers/node_modules/axios/lib/helpers/bind.js +0 -11
  149. package/lib/handlers/node_modules/axios/lib/helpers/buildURL.js +0 -70
  150. package/lib/handlers/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  151. package/lib/handlers/node_modules/axios/lib/helpers/cookies.js +0 -53
  152. package/lib/handlers/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
  153. package/lib/handlers/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  154. package/lib/handlers/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
  155. package/lib/handlers/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
  156. package/lib/handlers/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  157. package/lib/handlers/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  158. package/lib/handlers/node_modules/axios/lib/helpers/spread.js +0 -27
  159. package/lib/handlers/node_modules/axios/lib/utils.js +0 -351
  160. package/lib/handlers/node_modules/axios/package.json +0 -86
  161. package/lib/handlers/node_modules/buffer-from/LICENSE +0 -21
  162. package/lib/handlers/node_modules/buffer-from/index.js +0 -69
  163. package/lib/handlers/node_modules/buffer-from/package.json +0 -19
  164. package/lib/handlers/node_modules/buffer-from/readme.md +0 -69
  165. package/lib/handlers/node_modules/follow-redirects/LICENSE +0 -18
  166. package/lib/handlers/node_modules/follow-redirects/README.md +0 -148
  167. package/lib/handlers/node_modules/follow-redirects/debug.js +0 -14
  168. package/lib/handlers/node_modules/follow-redirects/http.js +0 -1
  169. package/lib/handlers/node_modules/follow-redirects/https.js +0 -1
  170. package/lib/handlers/node_modules/follow-redirects/index.js +0 -531
  171. package/lib/handlers/node_modules/follow-redirects/package.json +0 -59
  172. package/lib/handlers/node_modules/source-map/CHANGELOG.md +0 -301
  173. package/lib/handlers/node_modules/source-map/LICENSE +0 -28
  174. package/lib/handlers/node_modules/source-map/README.md +0 -742
  175. package/lib/handlers/node_modules/source-map/dist/source-map.debug.js +0 -3234
  176. package/lib/handlers/node_modules/source-map/dist/source-map.js +0 -3233
  177. package/lib/handlers/node_modules/source-map/dist/source-map.min.js +0 -2
  178. package/lib/handlers/node_modules/source-map/dist/source-map.min.js.map +0 -1
  179. package/lib/handlers/node_modules/source-map/lib/array-set.js +0 -121
  180. package/lib/handlers/node_modules/source-map/lib/base64-vlq.js +0 -140
  181. package/lib/handlers/node_modules/source-map/lib/base64.js +0 -67
  182. package/lib/handlers/node_modules/source-map/lib/binary-search.js +0 -111
  183. package/lib/handlers/node_modules/source-map/lib/mapping-list.js +0 -79
  184. package/lib/handlers/node_modules/source-map/lib/quick-sort.js +0 -114
  185. package/lib/handlers/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  186. package/lib/handlers/node_modules/source-map/lib/source-map-generator.js +0 -425
  187. package/lib/handlers/node_modules/source-map/lib/source-node.js +0 -413
  188. package/lib/handlers/node_modules/source-map/lib/util.js +0 -488
  189. package/lib/handlers/node_modules/source-map/package.json +0 -73
  190. package/lib/handlers/node_modules/source-map/source-map.d.ts +0 -98
  191. package/lib/handlers/node_modules/source-map/source-map.js +0 -8
  192. package/lib/handlers/node_modules/source-map-support/LICENSE.md +0 -21
  193. package/lib/handlers/node_modules/source-map-support/README.md +0 -284
  194. package/lib/handlers/node_modules/source-map-support/browser-source-map-support.js +0 -114
  195. package/lib/handlers/node_modules/source-map-support/package.json +0 -31
  196. package/lib/handlers/node_modules/source-map-support/register.js +0 -1
  197. package/lib/handlers/node_modules/source-map-support/source-map-support.js +0 -604
@@ -1,232 +0,0 @@
1
- {
2
- "name": "@types/node",
3
- "version": "15.12.4",
4
- "description": "TypeScript definitions for Node.js",
5
- "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
- "license": "MIT",
7
- "contributors": [
8
- {
9
- "name": "Microsoft TypeScript",
10
- "url": "https://github.com/Microsoft",
11
- "githubUsername": "Microsoft"
12
- },
13
- {
14
- "name": "DefinitelyTyped",
15
- "url": "https://github.com/DefinitelyTyped",
16
- "githubUsername": "DefinitelyTyped"
17
- },
18
- {
19
- "name": "Alberto Schiabel",
20
- "url": "https://github.com/jkomyno",
21
- "githubUsername": "jkomyno"
22
- },
23
- {
24
- "name": "Alvis HT Tang",
25
- "url": "https://github.com/alvis",
26
- "githubUsername": "alvis"
27
- },
28
- {
29
- "name": "Andrew Makarov",
30
- "url": "https://github.com/r3nya",
31
- "githubUsername": "r3nya"
32
- },
33
- {
34
- "name": "Benjamin Toueg",
35
- "url": "https://github.com/btoueg",
36
- "githubUsername": "btoueg"
37
- },
38
- {
39
- "name": "Chigozirim C.",
40
- "url": "https://github.com/smac89",
41
- "githubUsername": "smac89"
42
- },
43
- {
44
- "name": "David Junger",
45
- "url": "https://github.com/touffy",
46
- "githubUsername": "touffy"
47
- },
48
- {
49
- "name": "Deividas Bakanas",
50
- "url": "https://github.com/DeividasBakanas",
51
- "githubUsername": "DeividasBakanas"
52
- },
53
- {
54
- "name": "Eugene Y. Q. Shen",
55
- "url": "https://github.com/eyqs",
56
- "githubUsername": "eyqs"
57
- },
58
- {
59
- "name": "Hannes Magnusson",
60
- "url": "https://github.com/Hannes-Magnusson-CK",
61
- "githubUsername": "Hannes-Magnusson-CK"
62
- },
63
- {
64
- "name": "Hoàng Văn Khải",
65
- "url": "https://github.com/KSXGitHub",
66
- "githubUsername": "KSXGitHub"
67
- },
68
- {
69
- "name": "Huw",
70
- "url": "https://github.com/hoo29",
71
- "githubUsername": "hoo29"
72
- },
73
- {
74
- "name": "Kelvin Jin",
75
- "url": "https://github.com/kjin",
76
- "githubUsername": "kjin"
77
- },
78
- {
79
- "name": "Klaus Meinhardt",
80
- "url": "https://github.com/ajafff",
81
- "githubUsername": "ajafff"
82
- },
83
- {
84
- "name": "Lishude",
85
- "url": "https://github.com/islishude",
86
- "githubUsername": "islishude"
87
- },
88
- {
89
- "name": "Mariusz Wiktorczyk",
90
- "url": "https://github.com/mwiktorczyk",
91
- "githubUsername": "mwiktorczyk"
92
- },
93
- {
94
- "name": "Mohsen Azimi",
95
- "url": "https://github.com/mohsen1",
96
- "githubUsername": "mohsen1"
97
- },
98
- {
99
- "name": "Nicolas Even",
100
- "url": "https://github.com/n-e",
101
- "githubUsername": "n-e"
102
- },
103
- {
104
- "name": "Nikita Galkin",
105
- "url": "https://github.com/galkin",
106
- "githubUsername": "galkin"
107
- },
108
- {
109
- "name": "Parambir Singh",
110
- "url": "https://github.com/parambirs",
111
- "githubUsername": "parambirs"
112
- },
113
- {
114
- "name": "Sebastian Silbermann",
115
- "url": "https://github.com/eps1lon",
116
- "githubUsername": "eps1lon"
117
- },
118
- {
119
- "name": "Simon Schick",
120
- "url": "https://github.com/SimonSchick",
121
- "githubUsername": "SimonSchick"
122
- },
123
- {
124
- "name": "Thomas den Hollander",
125
- "url": "https://github.com/ThomasdenH",
126
- "githubUsername": "ThomasdenH"
127
- },
128
- {
129
- "name": "Wilco Bakker",
130
- "url": "https://github.com/WilcoBakker",
131
- "githubUsername": "WilcoBakker"
132
- },
133
- {
134
- "name": "wwwy3y3",
135
- "url": "https://github.com/wwwy3y3",
136
- "githubUsername": "wwwy3y3"
137
- },
138
- {
139
- "name": "Samuel Ainsworth",
140
- "url": "https://github.com/samuela",
141
- "githubUsername": "samuela"
142
- },
143
- {
144
- "name": "Kyle Uehlein",
145
- "url": "https://github.com/kuehlein",
146
- "githubUsername": "kuehlein"
147
- },
148
- {
149
- "name": "Thanik Bhongbhibhat",
150
- "url": "https://github.com/bhongy",
151
- "githubUsername": "bhongy"
152
- },
153
- {
154
- "name": "Marcin Kopacz",
155
- "url": "https://github.com/chyzwar",
156
- "githubUsername": "chyzwar"
157
- },
158
- {
159
- "name": "Trivikram Kamat",
160
- "url": "https://github.com/trivikr",
161
- "githubUsername": "trivikr"
162
- },
163
- {
164
- "name": "Minh Son Nguyen",
165
- "url": "https://github.com/nguymin4",
166
- "githubUsername": "nguymin4"
167
- },
168
- {
169
- "name": "Junxiao Shi",
170
- "url": "https://github.com/yoursunny",
171
- "githubUsername": "yoursunny"
172
- },
173
- {
174
- "name": "Ilia Baryshnikov",
175
- "url": "https://github.com/qwelias",
176
- "githubUsername": "qwelias"
177
- },
178
- {
179
- "name": "ExE Boss",
180
- "url": "https://github.com/ExE-Boss",
181
- "githubUsername": "ExE-Boss"
182
- },
183
- {
184
- "name": "Surasak Chaisurin",
185
- "url": "https://github.com/Ryan-Willpower",
186
- "githubUsername": "Ryan-Willpower"
187
- },
188
- {
189
- "name": "Piotr Błażejewicz",
190
- "url": "https://github.com/peterblazejewicz",
191
- "githubUsername": "peterblazejewicz"
192
- },
193
- {
194
- "name": "Anna Henningsen",
195
- "url": "https://github.com/addaleax",
196
- "githubUsername": "addaleax"
197
- },
198
- {
199
- "name": "Jason Kwok",
200
- "url": "https://github.com/JasonHK",
201
- "githubUsername": "JasonHK"
202
- },
203
- {
204
- "name": "Victor Perin",
205
- "url": "https://github.com/victorperin",
206
- "githubUsername": "victorperin"
207
- },
208
- {
209
- "name": "Yongsheng Zhang",
210
- "url": "https://github.com/ZYSzys",
211
- "githubUsername": "ZYSzys"
212
- }
213
- ],
214
- "main": "",
215
- "types": "index.d.ts",
216
- "typesVersions": {
217
- "<=3.6": {
218
- "*": [
219
- "ts3.6/*"
220
- ]
221
- }
222
- },
223
- "repository": {
224
- "type": "git",
225
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
226
- "directory": "types/node"
227
- },
228
- "scripts": {},
229
- "dependencies": {},
230
- "typesPublisherContentHash": "4015e73b317c1729ff4d886338909c254c7ee7b4dd58073d03ac030b42a807cf",
231
- "typeScriptVersion": "3.6"
232
- }
@@ -1,163 +0,0 @@
1
- declare module 'path/posix' {
2
- import path = require('path');
3
- export = path;
4
- }
5
-
6
- declare module 'path/win32' {
7
- import path = require('path');
8
- export = path;
9
- }
10
-
11
- declare module 'path' {
12
- namespace path {
13
- /**
14
- * A parsed path object generated by path.parse() or consumed by path.format().
15
- */
16
- interface ParsedPath {
17
- /**
18
- * The root of the path such as '/' or 'c:\'
19
- */
20
- root: string;
21
- /**
22
- * The full directory path such as '/home/user/dir' or 'c:\path\dir'
23
- */
24
- dir: string;
25
- /**
26
- * The file name including extension (if any) such as 'index.html'
27
- */
28
- base: string;
29
- /**
30
- * The file extension (if any) such as '.html'
31
- */
32
- ext: string;
33
- /**
34
- * The file name without extension (if any) such as 'index'
35
- */
36
- name: string;
37
- }
38
-
39
- interface FormatInputPathObject {
40
- /**
41
- * The root of the path such as '/' or 'c:\'
42
- */
43
- root?: string;
44
- /**
45
- * The full directory path such as '/home/user/dir' or 'c:\path\dir'
46
- */
47
- dir?: string;
48
- /**
49
- * The file name including extension (if any) such as 'index.html'
50
- */
51
- base?: string;
52
- /**
53
- * The file extension (if any) such as '.html'
54
- */
55
- ext?: string;
56
- /**
57
- * The file name without extension (if any) such as 'index'
58
- */
59
- name?: string;
60
- }
61
-
62
- interface PlatformPath {
63
- /**
64
- * Normalize a string path, reducing '..' and '.' parts.
65
- * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
66
- *
67
- * @param p string path to normalize.
68
- */
69
- normalize(p: string): string;
70
- /**
71
- * Join all arguments together and normalize the resulting path.
72
- * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.
73
- *
74
- * @param paths paths to join.
75
- */
76
- join(...paths: string[]): string;
77
- /**
78
- * The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
79
- *
80
- * Starting from leftmost {from} parameter, resolves {to} to an absolute path.
81
- *
82
- * If {to} isn't already absolute, {from} arguments are prepended in right to left order,
83
- * until an absolute path is found. If after using all {from} paths still no absolute path is found,
84
- * the current working directory is used as well. The resulting path is normalized,
85
- * and trailing slashes are removed unless the path gets resolved to the root directory.
86
- *
87
- * @param pathSegments string paths to join. Non-string arguments are ignored.
88
- */
89
- resolve(...pathSegments: string[]): string;
90
- /**
91
- * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
92
- *
93
- * @param path path to test.
94
- */
95
- isAbsolute(p: string): boolean;
96
- /**
97
- * Solve the relative path from {from} to {to}.
98
- * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve.
99
- */
100
- relative(from: string, to: string): string;
101
- /**
102
- * Return the directory name of a path. Similar to the Unix dirname command.
103
- *
104
- * @param p the path to evaluate.
105
- */
106
- dirname(p: string): string;
107
- /**
108
- * Return the last portion of a path. Similar to the Unix basename command.
109
- * Often used to extract the file name from a fully qualified path.
110
- *
111
- * @param p the path to evaluate.
112
- * @param ext optionally, an extension to remove from the result.
113
- */
114
- basename(p: string, ext?: string): string;
115
- /**
116
- * Return the extension of the path, from the last '.' to end of string in the last portion of the path.
117
- * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string
118
- *
119
- * @param p the path to evaluate.
120
- */
121
- extname(p: string): string;
122
- /**
123
- * The platform-specific file separator. '\\' or '/'.
124
- */
125
- readonly sep: string;
126
- /**
127
- * The platform-specific file delimiter. ';' or ':'.
128
- */
129
- readonly delimiter: string;
130
- /**
131
- * Returns an object from a path string - the opposite of format().
132
- *
133
- * @param pathString path to evaluate.
134
- */
135
- parse(p: string): ParsedPath;
136
- /**
137
- * Returns a path string from an object - the opposite of parse().
138
- *
139
- * @param pathString path to evaluate.
140
- */
141
- format(pP: FormatInputPathObject): string;
142
- /**
143
- * On Windows systems only, returns an equivalent namespace-prefixed path for the given path.
144
- * If path is not a string, path will be returned without modifications.
145
- * This method is meaningful only on Windows system.
146
- * On POSIX systems, the method is non-operational and always returns path without modifications.
147
- */
148
- toNamespacedPath(path: string): string;
149
- /**
150
- * Posix specific pathing.
151
- * Same as parent object on posix.
152
- */
153
- readonly posix: PlatformPath;
154
- /**
155
- * Windows specific pathing.
156
- * Same as parent object on windows
157
- */
158
- readonly win32: PlatformPath;
159
- }
160
- }
161
- const path: path.PlatformPath;
162
- export = path;
163
- }