Skip to content

Commit

Permalink
Disable DocumentClient deep import unsupported comments (#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Apr 11, 2024
1 parent f090978 commit 2615e01
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 97 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-foxes-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"aws-sdk-js-codemod": patch
---

Disable DocumentClient deep import unsupported comments

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

27 changes: 0 additions & 27 deletions src/transforms/v2-to-v3/apis/addNotSupportedComments.ts

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion src/transforms/v2-to-v3/apis/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export * from "./addEmptyObjectForUndefined";
export * from "./addNotSupportedClientComments";
export * from "./addNotSupportedComments";
export * from "./getClientIdentifiersRecord";
export * from "./getClientWaiterStates";
export * from "./getCommandName";
Expand Down
3 changes: 0 additions & 3 deletions src/transforms/v2-to-v3/transformer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { API, FileInfo } from "jscodeshift";

import {
addNotSupportedComments,
addNotSupportedClientComments,
removePromiseCalls,
replaceWaiterApi,
Expand Down Expand Up @@ -49,8 +48,6 @@ const transformer = async (file: FileInfo, api: API) => {
return file.source;
}

addNotSupportedComments(j, source, importType);

const v2GlobalName = getGlobalNameFromModule(j, source);
const v2ClientNamesRecord = getClientNamesRecord(j, source, importType);

Expand Down

0 comments on commit 2615e01

Please sign in to comment.