cdk-common 2.0.1246 → 2.0.1248

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 (53) hide show
  1. package/.jsii +3 -3
  2. package/lib/main.js +1 -1
  3. package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
  4. package/node_modules/@types/concat-stream/node_modules/@types/node/crypto.d.ts +17 -1
  5. package/node_modules/@types/concat-stream/node_modules/@types/node/fs/promises.d.ts +7 -3
  6. package/node_modules/@types/concat-stream/node_modules/@types/node/fs.d.ts +0 -2
  7. package/node_modules/@types/concat-stream/node_modules/@types/node/http2.d.ts +13 -11
  8. package/node_modules/@types/concat-stream/node_modules/@types/node/inspector.d.ts +110 -6
  9. package/node_modules/@types/concat-stream/node_modules/@types/node/module.d.ts +24 -0
  10. package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +4 -4
  11. package/node_modules/@types/concat-stream/node_modules/@types/node/perf_hooks.d.ts +14 -0
  12. package/node_modules/@types/concat-stream/node_modules/@types/node/repl.d.ts +11 -1
  13. package/node_modules/@types/concat-stream/node_modules/@types/node/sqlite.d.ts +0 -1
  14. package/node_modules/@types/concat-stream/node_modules/@types/node/stream.d.ts +17 -6
  15. package/node_modules/@types/concat-stream/node_modules/@types/node/test.d.ts +16 -1
  16. package/node_modules/@types/concat-stream/node_modules/@types/node/timers.d.ts +0 -2
  17. package/node_modules/@types/concat-stream/node_modules/@types/node/url.d.ts +1 -1
  18. package/node_modules/@types/concat-stream/node_modules/@types/node/util.d.ts +6 -2
  19. package/node_modules/@types/concat-stream/node_modules/@types/node/worker_threads.d.ts +12 -0
  20. package/node_modules/@types/concat-stream/node_modules/@types/node/zlib.d.ts +8 -2
  21. package/node_modules/@types/concat-stream/node_modules/undici-types/agent.d.ts +4 -0
  22. package/node_modules/@types/concat-stream/node_modules/undici-types/client-stats.d.ts +15 -0
  23. package/node_modules/@types/concat-stream/node_modules/undici-types/client.d.ts +6 -3
  24. package/node_modules/@types/concat-stream/node_modules/undici-types/mock-agent.d.ts +3 -0
  25. package/node_modules/@types/concat-stream/node_modules/undici-types/package.json +1 -1
  26. package/node_modules/@types/concat-stream/node_modules/undici-types/pool.d.ts +2 -0
  27. package/node_modules/@types/concat-stream/node_modules/undici-types/proxy-agent.d.ts +1 -0
  28. package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
  29. package/node_modules/@types/form-data/node_modules/@types/node/crypto.d.ts +17 -1
  30. package/node_modules/@types/form-data/node_modules/@types/node/fs/promises.d.ts +7 -3
  31. package/node_modules/@types/form-data/node_modules/@types/node/fs.d.ts +0 -2
  32. package/node_modules/@types/form-data/node_modules/@types/node/http2.d.ts +13 -11
  33. package/node_modules/@types/form-data/node_modules/@types/node/inspector.d.ts +110 -6
  34. package/node_modules/@types/form-data/node_modules/@types/node/module.d.ts +24 -0
  35. package/node_modules/@types/form-data/node_modules/@types/node/package.json +4 -4
  36. package/node_modules/@types/form-data/node_modules/@types/node/perf_hooks.d.ts +14 -0
  37. package/node_modules/@types/form-data/node_modules/@types/node/repl.d.ts +11 -1
  38. package/node_modules/@types/form-data/node_modules/@types/node/sqlite.d.ts +0 -1
  39. package/node_modules/@types/form-data/node_modules/@types/node/stream.d.ts +17 -6
  40. package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +16 -1
  41. package/node_modules/@types/form-data/node_modules/@types/node/timers.d.ts +0 -2
  42. package/node_modules/@types/form-data/node_modules/@types/node/url.d.ts +1 -1
  43. package/node_modules/@types/form-data/node_modules/@types/node/util.d.ts +6 -2
  44. package/node_modules/@types/form-data/node_modules/@types/node/worker_threads.d.ts +12 -0
  45. package/node_modules/@types/form-data/node_modules/@types/node/zlib.d.ts +8 -2
  46. package/node_modules/@types/form-data/node_modules/undici-types/agent.d.ts +4 -0
  47. package/node_modules/@types/form-data/node_modules/undici-types/client-stats.d.ts +15 -0
  48. package/node_modules/@types/form-data/node_modules/undici-types/client.d.ts +6 -3
  49. package/node_modules/@types/form-data/node_modules/undici-types/mock-agent.d.ts +3 -0
  50. package/node_modules/@types/form-data/node_modules/undici-types/package.json +1 -1
  51. package/node_modules/@types/form-data/node_modules/undici-types/pool.d.ts +2 -0
  52. package/node_modules/@types/form-data/node_modules/undici-types/proxy-agent.d.ts +1 -0
  53. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import { URL } from 'url'
2
2
  import Dispatcher from './dispatcher'
3
3
  import buildConnector from './connector'
4
+ import TClientStats from './client-stats'
4
5
 
5
6
  type ClientConnectOptions = Omit<Dispatcher.ConnectOptions, 'origin'>
6
7
 
@@ -15,6 +16,8 @@ export class Client extends Dispatcher {
15
16
  closed: boolean
16
17
  /** `true` after `client.destroyed()` has been called or `client.close()` has been called and the client shutdown has completed. */
17
18
  destroyed: boolean
19
+ /** Aggregate stats for a Client. */
20
+ readonly stats: TClientStats
18
21
 
19
22
  // Override dispatcher APIs.
20
23
  override connect (
@@ -84,13 +87,13 @@ export declare namespace Client {
84
87
  /**
85
88
  * @description Enables support for H2 if the server has assigned bigger priority to it through ALPN negotiation.
86
89
  * @default false
87
- */
90
+ */
88
91
  allowH2?: boolean;
89
92
  /**
90
93
  * @description Dictates the maximum number of concurrent streams for a single H2 session. It can be overridden by a SETTINGS remote frame.
91
94
  * @default 100
92
- */
93
- maxConcurrentStreams?: number
95
+ */
96
+ maxConcurrentStreams?: number;
94
97
  }
95
98
  export interface SocketInfo {
96
99
  localAddress?: string
@@ -59,6 +59,9 @@ declare namespace MockAgent {
59
59
  /** Ignore trailing slashes in the path */
60
60
  ignoreTrailingSlash?: boolean;
61
61
 
62
+ /** Accept URLs with search parameters using non standard syntaxes. default false */
63
+ acceptNonStandardSearchParameters?: boolean;
64
+
62
65
  /** Enable call history. you can either call MockAgent.enableCallHistory(). default false */
63
66
  enableCallHistory?: boolean
64
67
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undici-types",
3
- "version": "7.8.0",
3
+ "version": "7.10.0",
4
4
  "description": "A stand-alone types package for Undici",
5
5
  "homepage": "https://undici.nodejs.org",
6
6
  "bugs": {
@@ -33,6 +33,8 @@ declare namespace Pool {
33
33
  factory?(origin: URL, opts: object): Dispatcher;
34
34
  /** The max number of clients to create. `null` if no limit. Default `null`. */
35
35
  connections?: number | null;
36
+ /** The amount of time before a client is removed from the pool and closed. `null` if no time limit. Default `null` */
37
+ clientTtl?: number | null;
36
38
 
37
39
  interceptors?: { Pool?: readonly Dispatcher.DispatchInterceptor[] } & Client.Options['interceptors']
38
40
  }
@@ -24,5 +24,6 @@ declare namespace ProxyAgent {
24
24
  requestTls?: buildConnector.BuildOptions;
25
25
  proxyTls?: buildConnector.BuildOptions;
26
26
  clientFactory?(origin: URL, opts: object): Dispatcher;
27
+ proxyTunnel?: boolean;
27
28
  }
28
29
  }
package/package.json CHANGED
@@ -87,7 +87,7 @@
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  },
90
- "version": "2.0.1246",
90
+ "version": "2.0.1248",
91
91
  "jest": {
92
92
  "coverageProvider": "v8",
93
93
  "testMatch": [