We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No transformation for getObject(params).createReadStream()
import { S3 } from "aws-sdk"; import { Readable } from "stream"; const client = new S3({ region: "us-west-2" }); const response: Readable = client .getObject({ Bucket: "my-bucket", Key: "my-key" }) .createReadStream();
import { S3 } from "@aws-sdk/client-s3"; import { Readable } from "stream"; const client = new S3({ region: "us-west-2" }); const response: Readable = client .getObject({ Bucket: "my-bucket", Key: "my-key" }) .createReadStream();
This is an issue since createReadStream does not exist on getObject in v3.
createReadStream
import { S3 } from "aws-sdk"; import { Readable } from "stream"; const client = new S3({ region: "us-west-2" }); const response: Readable = (await client .getObject({ Bucket: "my-bucket", Key: "my-key" })) .Body;
aws-sdk-js-codemod: 1.3.6 - jscodeshift: 0.15.2 - recast: 0.23.4
The text was updated successfully, but these errors were encountered:
https://github.com/RocketChat/Rocket.Chat/blob/3da6e14f97572c91073f12ed4ebdb1eb19d23016/apps/meteor/app/file-upload/ufs/AmazonS3/server.ts#L151
Sorry, something went wrong.
No branches or pull requests
Self-service
Describe the bug
No transformation for getObject(params).createReadStream()
Steps to reproduce
Observed behavior
This is an issue since
createReadStream
does not exist on getObject in v3.Expected behavior
Environment
Additional context
The text was updated successfully, but these errors were encountered: