@squiz/job-runner-lib 2.4.0 → 2.5.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 61edb6e: Fix S3 key validation vulnerabilities
8
+
9
+ ## 2.5.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 1c41058: Updated packages
14
+
3
15
  ## 2.4.0
4
16
 
5
17
  ### Minor Changes
@@ -13,6 +13,12 @@ export declare class S3RepositoryBase {
13
13
  protected s3Client: S3Client;
14
14
  protected bucketName: string;
15
15
  constructor(s3Client: S3Client, bucketName: string);
16
+ /**
17
+ * Validates S3 key to prevent malicious input
18
+ * @param {string} key The S3 object key to validate
19
+ * @private
20
+ */
21
+ private validateS3Key;
16
22
  /**
17
23
  * Save object into S3.
18
24
  * @param {string} key The S3 object key.
@@ -14,7 +14,6 @@ export interface RunJobTaskParams {
14
14
  shortRegion: string;
15
15
  shortEnvironment: string;
16
16
  clusterArn: string;
17
- subnets: Array<string>;
18
17
  taskDefinitionArn: string;
19
18
  tenantId: string;
20
19
  }