aws-delivlib 14.15.96 → 14.15.97

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.
@@ -52,7 +52,7 @@
52
52
  "@types/changelog-parser@^2.8.1": "https://registry.yarnpkg.com/@types/changelog-parser/-/changelog-parser-2.8.4.tgz#45d70417e742ac3bc6bef3786aa453e1f1d63ecc",
53
53
  "@types/jsonwebtoken@^9.0.0": "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-9.0.9.tgz#a4c3a446c0ebaaf467a58398382616f416345fb3",
54
54
  "@types/ms@*": "https://registry.yarnpkg.com/@types/ms/-/ms-2.1.0.tgz#052aa67a48eccc4309d7f0191b7e41434b90bb78",
55
- "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-22.15.9.tgz#05a92409e7002356401df0b90267b296907937f7",
55
+ "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-22.15.14.tgz#889fd356a04d003a6d5650ccc003ef4d712430d7",
56
56
  "@types/node@^14": "https://registry.yarnpkg.com/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b",
57
57
  "aggregate-error@^3.1.0": "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a",
58
58
  "before-after-hook@^2.2.0": "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c",
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 05 May 2025 23:02:37 GMT
11
+ * Last updated: Tue, 06 May 2025 18:02:39 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -266,7 +266,7 @@ declare module "cluster" {
266
266
  * @since v0.7.7
267
267
  * @return A reference to `worker`.
268
268
  */
269
- disconnect(): void;
269
+ disconnect(): this;
270
270
  /**
271
271
  * This function returns `true` if the worker is connected to its primary via its
272
272
  * IPC channel, `false` otherwise. A worker is connected to its primary after it
@@ -259,7 +259,7 @@ declare module "diagnostics_channel" {
259
259
  * @param store The store to unbind from the channel.
260
260
  * @return `true` if the store was found, `false` otherwise.
261
261
  */
262
- unbindStore(store: any): void;
262
+ unbindStore(store: AsyncLocalStorage<StoreType>): boolean;
263
263
  /**
264
264
  * Applies the given data to any AsyncLocalStorage instances bound to the channel
265
265
  * for the duration of the given function, then publishes to the channel within
@@ -547,6 +547,25 @@ declare module "diagnostics_channel" {
547
547
  thisArg?: any,
548
548
  ...args: Parameters<Fn>
549
549
  ): void;
550
+ /**
551
+ * `true` if any of the individual channels has a subscriber, `false` if not.
552
+ *
553
+ * This is a helper method available on a {@link TracingChannel} instance to check
554
+ * if any of the [TracingChannel Channels](https://nodejs.org/api/diagnostics_channel.html#tracingchannel-channels) have subscribers.
555
+ * A `true` is returned if any of them have at least one subscriber, a `false` is returned otherwise.
556
+ *
557
+ * ```js
558
+ * const diagnostics_channel = require('node:diagnostics_channel');
559
+ *
560
+ * const channels = diagnostics_channel.tracingChannel('my-channel');
561
+ *
562
+ * if (channels.hasSubscribers) {
563
+ * // Do something
564
+ * }
565
+ * ```
566
+ * @since v22.0.0, v20.13.0
567
+ */
568
+ readonly hasSubscribers: boolean;
550
569
  }
551
570
  }
552
571
  declare module "node:diagnostics_channel" {
@@ -2319,6 +2319,20 @@ declare module "fs" {
2319
2319
  * @since v0.1.96
2320
2320
  */
2321
2321
  export function fsyncSync(fd: number): void;
2322
+ export interface WriteOptions {
2323
+ /**
2324
+ * @default 0
2325
+ */
2326
+ offset?: number | undefined;
2327
+ /**
2328
+ * @default `buffer.byteLength - offset`
2329
+ */
2330
+ length?: number | undefined;
2331
+ /**
2332
+ * @default null
2333
+ */
2334
+ position?: number | undefined | null;
2335
+ }
2322
2336
  /**
2323
2337
  * Write `buffer` to the file specified by `fd`.
2324
2338
  *
@@ -2387,6 +2401,20 @@ declare module "fs" {
2387
2401
  buffer: TBuffer,
2388
2402
  callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2389
2403
  ): void;
2404
+ /**
2405
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2406
+ * @param fd A file descriptor.
2407
+ * @param options An object with the following properties:
2408
+ * * `offset` The part of the buffer to be written. If not supplied, defaults to `0`.
2409
+ * * `length` The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2410
+ * * `position` The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2411
+ */
2412
+ export function write<TBuffer extends NodeJS.ArrayBufferView>(
2413
+ fd: number,
2414
+ buffer: TBuffer,
2415
+ options: WriteOptions,
2416
+ callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
2417
+ ): void;
2390
2418
  /**
2391
2419
  * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2392
2420
  * @param fd A file descriptor.
@@ -2441,6 +2469,22 @@ declare module "fs" {
2441
2469
  bytesWritten: number;
2442
2470
  buffer: TBuffer;
2443
2471
  }>;
2472
+ /**
2473
+ * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
2474
+ * @param fd A file descriptor.
2475
+ * @param options An object with the following properties:
2476
+ * * `offset` The part of the buffer to be written. If not supplied, defaults to `0`.
2477
+ * * `length` The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
2478
+ * * `position` The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
2479
+ */
2480
+ function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
2481
+ fd: number,
2482
+ buffer?: TBuffer,
2483
+ options?: WriteOptions,
2484
+ ): Promise<{
2485
+ bytesWritten: number;
2486
+ buffer: TBuffer;
2487
+ }>;
2444
2488
  /**
2445
2489
  * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
2446
2490
  * @param fd A file descriptor.
@@ -48,6 +48,7 @@ declare module "http" {
48
48
  // incoming headers will never contain number
49
49
  interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
50
50
  accept?: string | undefined;
51
+ "accept-encoding"?: string | undefined;
51
52
  "accept-language"?: string | undefined;
52
53
  "accept-patch"?: string | undefined;
53
54
  "accept-ranges"?: string | undefined;
@@ -207,7 +208,7 @@ declare module "http" {
207
208
  | undefined;
208
209
  defaultPort?: number | string | undefined;
209
210
  family?: number | undefined;
210
- headers?: OutgoingHttpHeaders | undefined;
211
+ headers?: OutgoingHttpHeaders | readonly string[] | undefined;
211
212
  hints?: LookupOptions["hints"];
212
213
  host?: string | null | undefined;
213
214
  hostname?: string | null | undefined;
@@ -377,7 +377,7 @@ declare module "net" {
377
377
  addListener(event: "connectionAttempt", listener: (ip: string, port: number, family: number) => void): this;
378
378
  addListener(
379
379
  event: "connectionAttemptFailed",
380
- listener: (ip: string, port: number, family: number) => void,
380
+ listener: (ip: string, port: number, family: number, error: Error) => void,
381
381
  ): this;
382
382
  addListener(
383
383
  event: "connectionAttemptTimeout",
@@ -397,7 +397,7 @@ declare module "net" {
397
397
  emit(event: "close", hadError: boolean): boolean;
398
398
  emit(event: "connect"): boolean;
399
399
  emit(event: "connectionAttempt", ip: string, port: number, family: number): boolean;
400
- emit(event: "connectionAttemptFailed", ip: string, port: number, family: number): boolean;
400
+ emit(event: "connectionAttemptFailed", ip: string, port: number, family: number, error: Error): boolean;
401
401
  emit(event: "connectionAttemptTimeout", ip: string, port: number, family: number): boolean;
402
402
  emit(event: "data", data: Buffer): boolean;
403
403
  emit(event: "drain"): boolean;
@@ -410,7 +410,10 @@ declare module "net" {
410
410
  on(event: "close", listener: (hadError: boolean) => void): this;
411
411
  on(event: "connect", listener: () => void): this;
412
412
  on(event: "connectionAttempt", listener: (ip: string, port: number, family: number) => void): this;
413
- on(event: "connectionAttemptFailed", listener: (ip: string, port: number, family: number) => void): this;
413
+ on(
414
+ event: "connectionAttemptFailed",
415
+ listener: (ip: string, port: number, family: number, error: Error) => void,
416
+ ): this;
414
417
  on(event: "connectionAttemptTimeout", listener: (ip: string, port: number, family: number) => void): this;
415
418
  on(event: "data", listener: (data: Buffer) => void): this;
416
419
  on(event: "drain", listener: () => void): this;
@@ -425,7 +428,10 @@ declare module "net" {
425
428
  once(event: string, listener: (...args: any[]) => void): this;
426
429
  once(event: "close", listener: (hadError: boolean) => void): this;
427
430
  once(event: "connectionAttempt", listener: (ip: string, port: number, family: number) => void): this;
428
- once(event: "connectionAttemptFailed", listener: (ip: string, port: number, family: number) => void): this;
431
+ once(
432
+ event: "connectionAttemptFailed",
433
+ listener: (ip: string, port: number, family: number, error: Error) => void,
434
+ ): this;
429
435
  once(event: "connectionAttemptTimeout", listener: (ip: string, port: number, family: number) => void): this;
430
436
  once(event: "connect", listener: () => void): this;
431
437
  once(event: "data", listener: (data: Buffer) => void): this;
@@ -444,7 +450,7 @@ declare module "net" {
444
450
  prependListener(event: "connectionAttempt", listener: (ip: string, port: number, family: number) => void): this;
445
451
  prependListener(
446
452
  event: "connectionAttemptFailed",
447
- listener: (ip: string, port: number, family: number) => void,
453
+ listener: (ip: string, port: number, family: number, error: Error) => void,
448
454
  ): this;
449
455
  prependListener(
450
456
  event: "connectionAttemptTimeout",
@@ -469,7 +475,7 @@ declare module "net" {
469
475
  ): this;
470
476
  prependOnceListener(
471
477
  event: "connectionAttemptFailed",
472
- listener: (ip: string, port: number, family: number) => void,
478
+ listener: (ip: string, port: number, family: number, error: Error) => void,
473
479
  ): this;
474
480
  prependOnceListener(
475
481
  event: "connectionAttemptTimeout",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.15.9",
3
+ "version": "22.15.14",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -220,6 +220,6 @@
220
220
  "undici-types": "~6.21.0"
221
221
  },
222
222
  "peerDependencies": {},
223
- "typesPublisherContentHash": "6720be548d81d07c3915ff0ebadbd30c285033cb6e37cad29fb87a1a782ae142",
223
+ "typesPublisherContentHash": "ffc2a6547f97ecddd3c3a0571777c7a02a04de14e127c1a7e02d89c998e27371",
224
224
  "typeScriptVersion": "5.1"
225
225
  }
package/package.json CHANGED
@@ -37,11 +37,11 @@
37
37
  "organization": false
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-sdk/client-cloudwatch": "^3.803.0",
41
- "@aws-sdk/client-codepipeline": "^3.803.0",
42
- "@aws-sdk/client-s3": "^3.803.0",
43
- "@aws-sdk/client-secrets-manager": "^3.803.0",
44
- "@aws-sdk/client-ssm": "^3.803.0",
40
+ "@aws-sdk/client-cloudwatch": "^3.804.0",
41
+ "@aws-sdk/client-codepipeline": "^3.804.0",
42
+ "@aws-sdk/client-s3": "^3.804.0",
43
+ "@aws-sdk/client-secrets-manager": "^3.804.0",
44
+ "@aws-sdk/client-ssm": "^3.804.0",
45
45
  "@stylistic/eslint-plugin": "^2",
46
46
  "@types/adm-zip": "^0.5.7",
47
47
  "@types/aws-lambda": "^8.10.149",
@@ -57,7 +57,7 @@
57
57
  "aws-cdk-lib": "2.187.0",
58
58
  "commit-and-tag-version": "^12",
59
59
  "constructs": "10.1.31",
60
- "esbuild": "^0.25.3",
60
+ "esbuild": "^0.25.4",
61
61
  "eslint": "^9",
62
62
  "eslint-import-resolver-typescript": "^2.7.1",
63
63
  "eslint-plugin-import": "^2.31.0",
@@ -68,7 +68,7 @@
68
68
  "JSONStream": "^1.3.5",
69
69
  "minipass": "3.2.1",
70
70
  "node-ical": "0.15.1",
71
- "projen": "^0.91.29",
71
+ "projen": "^0.91.30",
72
72
  "rrule": "^2.8.1",
73
73
  "standard-version": "^9",
74
74
  "tar": "^6.2.1",
@@ -97,7 +97,7 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "version": "14.15.96",
100
+ "version": "14.15.97",
101
101
  "jest": {
102
102
  "coverageProvider": "v8",
103
103
  "testMatch": [