mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-25 14:06:27 +00:00
build(deps): update aws-sdk-js-v3 monorepo to v3.226.0 (#19444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
This commit is contained in:
parent
ec7dab3ae6
commit
99a7c8af89
6 changed files with 865 additions and 800 deletions
|
@ -171,6 +171,7 @@ describe('modules/datasource/aws-machine-image/index', () => {
|
|||
"applyToStack": [Function],
|
||||
"clone": [Function],
|
||||
"concat": [Function],
|
||||
"identify": [Function],
|
||||
"remove": [Function],
|
||||
"removeByTag": [Function],
|
||||
"resolve": [Function],
|
||||
|
@ -214,6 +215,7 @@ describe('modules/datasource/aws-machine-image/index', () => {
|
|||
"applyToStack": [Function],
|
||||
"clone": [Function],
|
||||
"concat": [Function],
|
||||
"identify": [Function],
|
||||
"remove": [Function],
|
||||
"removeByTag": [Function],
|
||||
"resolve": [Function],
|
||||
|
@ -257,6 +259,7 @@ describe('modules/datasource/aws-machine-image/index', () => {
|
|||
"applyToStack": [Function],
|
||||
"clone": [Function],
|
||||
"concat": [Function],
|
||||
"identify": [Function],
|
||||
"remove": [Function],
|
||||
"removeByTag": [Function],
|
||||
"resolve": [Function],
|
||||
|
|
|
@ -51,7 +51,7 @@ describe('modules/datasource/maven/s3', () => {
|
|||
Bucket: 'repobucket',
|
||||
Key: 'org/example/package/maven-metadata.xml',
|
||||
})
|
||||
.resolvesOnce({ Body: meta })
|
||||
.resolvesOnce({ Body: meta as never })
|
||||
.on(HeadObjectCommand, {
|
||||
Bucket: 'repobucket',
|
||||
Key: 'org/example/package/0.0.1/package-0.0.1.pom',
|
||||
|
|
6
lib/util/cache/repository/impl/s3.spec.ts
vendored
6
lib/util/cache/repository/impl/s3.spec.ts
vendored
|
@ -72,7 +72,7 @@ describe('util/cache/repository/impl/s3', () => {
|
|||
const json = '{}';
|
||||
s3Mock
|
||||
.on(GetObjectCommand, getObjectCommandInput)
|
||||
.resolvesOnce({ Body: Readable.from([json]) });
|
||||
.resolvesOnce({ Body: Readable.from([json]) as never });
|
||||
await expect(s3Cache.read()).resolves.toBe(json);
|
||||
expect(logger.warn).toHaveBeenCalledTimes(0);
|
||||
expect(logger.debug).toHaveBeenCalledWith('RepoCacheS3.read() - success');
|
||||
|
@ -91,7 +91,7 @@ describe('util/cache/repository/impl/s3', () => {
|
|||
GetObjectCommand,
|
||||
createGetObjectCommandInput(repository, url, folder)
|
||||
)
|
||||
.resolvesOnce({ Body: Readable.from([json]) });
|
||||
.resolvesOnce({ Body: Readable.from([json]) as never });
|
||||
await expect(s3Cache.read()).resolves.toBe(json);
|
||||
expect(logger.warn).toHaveBeenCalledTimes(0);
|
||||
expect(logger.error).toHaveBeenCalledTimes(0);
|
||||
|
@ -111,7 +111,7 @@ describe('util/cache/repository/impl/s3', () => {
|
|||
GetObjectCommand,
|
||||
createGetObjectCommandInput(repository, url, pathname + '/')
|
||||
)
|
||||
.resolvesOnce({ Body: Readable.from([json]) });
|
||||
.resolvesOnce({ Body: Readable.from([json]) as never });
|
||||
await expect(s3Cache.read()).resolves.toBe(json);
|
||||
expect(logger.debug).toHaveBeenCalledWith('RepoCacheS3.read() - success');
|
||||
expect(logger.warn).toHaveBeenCalledTimes(1);
|
||||
|
|
|
@ -35,7 +35,7 @@ describe('util/s3', () => {
|
|||
const client1 = s3.getS3Client();
|
||||
const client2 = getS3Client();
|
||||
expect(client1).not.toBe(client2);
|
||||
expect(await client1.config.endpoint()).toStrictEqual({
|
||||
expect(await client1.config.endpoint?.()).toStrictEqual({
|
||||
hostname: 'minio.domain.test',
|
||||
path: '/',
|
||||
port: undefined,
|
||||
|
|
12
package.json
12
package.json
|
@ -135,12 +135,12 @@
|
|||
"node": "^16.13.0 || >= 18.12.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-codecommit": "3.154.0",
|
||||
"@aws-sdk/client-ec2": "3.155.0",
|
||||
"@aws-sdk/client-ecr": "3.154.0",
|
||||
"@aws-sdk/client-iam": "3.154.0",
|
||||
"@aws-sdk/client-rds": "3.154.0",
|
||||
"@aws-sdk/client-s3": "3.154.0",
|
||||
"@aws-sdk/client-codecommit": "3.226.0",
|
||||
"@aws-sdk/client-ec2": "3.226.0",
|
||||
"@aws-sdk/client-ecr": "3.226.0",
|
||||
"@aws-sdk/client-iam": "3.226.0",
|
||||
"@aws-sdk/client-rds": "3.226.0",
|
||||
"@aws-sdk/client-s3": "3.226.0",
|
||||
"@breejs/later": "4.1.0",
|
||||
"@cheap-glitch/mi-cron": "1.0.1",
|
||||
"@iarna/toml": "3.0.0",
|
||||
|
|
Loading…
Reference in a new issue