diff --git a/packages/smithy-client/src/emitWarningIfUnsupportedVersion.spec.ts b/packages/smithy-client/src/emitWarningIfUnsupportedVersion.spec.ts index 16f829df3b2e6..c65db5f4adf08 100644 --- a/packages/smithy-client/src/emitWarningIfUnsupportedVersion.spec.ts +++ b/packages/smithy-client/src/emitWarningIfUnsupportedVersion.spec.ts @@ -1,4 +1,4 @@ -describe("emitWarningIfUnsupportedVersion", () => { +describe.skip("emitWarningIfUnsupportedVersion", () => { let emitWarningIfUnsupportedVersion; const emitWarning = process.emitWarning; const supportedVersion = "14.0.0"; diff --git a/packages/smithy-client/src/emitWarningIfUnsupportedVersion.ts b/packages/smithy-client/src/emitWarningIfUnsupportedVersion.ts index d335f2b1c62f2..a11dbb28763d2 100644 --- a/packages/smithy-client/src/emitWarningIfUnsupportedVersion.ts +++ b/packages/smithy-client/src/emitWarningIfUnsupportedVersion.ts @@ -9,13 +9,14 @@ let warningEmitted = false; export const emitWarningIfUnsupportedVersion = (version: string) => { if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 14) { warningEmitted = true; - process.emitWarning( - `The AWS SDK for JavaScript (v3) will\n` + - `no longer support Node.js ${version} on November 1, 2022.\n\n` + - `To continue receiving updates to AWS services, bug fixes, and security\n` + - `updates please upgrade to Node.js 14.x or later.\n\n` + - `For details, please refer our blog post: https://a.co/48dbdYz`, - `NodeDeprecationWarning` - ); + // ToDo: Turn back warning for future Node.js version deprecation + // process.emitWarning( + // `The AWS SDK for JavaScript (v3) will\n` + + // `no longer support Node.js ${version} on November 1, 2022.\n\n` + + // `To continue receiving updates to AWS services, bug fixes, and security\n` + + // `updates please upgrade to Node.js 14.x or later.\n\n` + + // `For details, please refer our blog post: https://a.co/48dbdYz`, + // `NodeDeprecationWarning` + // ); } };