Skip to content

Commit

Permalink
chore: migrate to @smithy/util-stream
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinsha committed Oct 26, 2023
1 parent 7eee745 commit 8384843
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { writeFile } from 'node:fs/promises'
import { resolve } from 'node:path'

import { mockClient } from 'aws-sdk-client-mock'
import { sdkStreamMixin } from '@aws-sdk/util-stream-node'
import { sdkStreamMixin } from '@smithy/util-stream'
import { S3Client, PutObjectCommand, GetObjectCommand } from '@aws-sdk/client-s3'
import { mockedContext } from '../../../mock-utils/lambda-context'
import { test, expect, vi } from 'vitest'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Readable } from 'node:stream'
import { resolve } from 'node:path'

import { mockClient } from 'aws-sdk-client-mock'
import { sdkStreamMixin } from '@aws-sdk/util-stream-node'
import { sdkStreamMixin } from '@smithy/util-stream'
import { S3Client, PutObjectCommand, GetObjectCommand } from '@aws-sdk/client-s3'
import { test, assert } from 'vitest'

Expand Down
74 changes: 12 additions & 62 deletions transcript-orchestration/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions transcript-orchestration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@
"author": "fourTheorem Ltd.",
"license": "MIT",
"dependencies": {
"@aws-lambda-powertools/logger": "^1.5.0",
"@aws-lambda-powertools/metrics": "^1.5.0",
"@aws-lambda-powertools/tracer": "^1.5.0",
"@aws-sdk/client-ssm": "^3.245.0",
"@aws-sdk/lib-storage": "^3.245.0",
"@aws-sdk/client-s3": "^3.245.0",
"@aws-lambda-powertools/logger": "^1.14.0",
"@aws-lambda-powertools/metrics": "^1.14.0",
"@aws-lambda-powertools/tracer": "^1.14.0",
"@aws-sdk/client-s3": "^3.436.0",
"@aws-sdk/lib-storage": "^3.436.0",
"@middy/core": "^3.6.2",
"ffmpeg": "^0.0.4",
"readable-stream": "^4.3.0",
"undici": "^5.14.0"
},
"devDependencies": {
"@aws-sdk/types": "^3.226.0",
"@types/aws-lambda": "^8.10.109",
"@aws-sdk/types": "^3.433.0",
"@smithy/util-stream": "^2.0.17",
"@types/aws-lambda": "^8.10.125",
"@types/ffmpeg": "^1.0.4",
"@types/readable-stream": "^2.3.15",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"@vitest/coverage-c8": "^0.29.2",
"aws-sdk-client-mock": "^2.0.1",
"aws-sdk-client-mock": "^3.0.0",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-with-typescript": "^26.0.0",
Expand Down

0 comments on commit 8384843

Please sign in to comment.