From d50e1ce273ef945cd82ecd0a9480546134efe55b Mon Sep 17 00:00:00 2001 From: David Szmolka <69192509+sfc-gh-dszmolka@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:04:22 +0100 Subject: [PATCH] SNOW-1789663 package moved to smithy from aws-sdk (#950) --- README.md | 2 +- lib/file_transfer_agent/s3_util.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 931d1f352..425ed0d9e 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ or npm run test:unit ``` -To run single test file use `test:single` script, e.g. run tests in `test/unit/snowflake_test.js` only: +To run a single test file use `test:single` script, e.g. run tests in `test/unit/snowflake_test.js` only: ``` npm run test:single -- test/unit/snowflake_test.js diff --git a/lib/file_transfer_agent/s3_util.js b/lib/file_transfer_agent/s3_util.js index 9608b4c23..088d780b2 100644 --- a/lib/file_transfer_agent/s3_util.js +++ b/lib/file_transfer_agent/s3_util.js @@ -2,7 +2,7 @@ * Copyright (c) 2015-2024 Snowflake Computing Inc. All rights reserved. */ -const { NodeHttpHandler } = require('@aws-sdk/node-http-handler'); +const { NodeHttpHandler } = require('@smithy/node-http-handler'); const EncryptionMetadata = require('./encrypt_util').EncryptionMetadata; const FileHeader = require('./file_util').FileHeader; const expandTilde = require('expand-tilde'); diff --git a/package.json b/package.json index 0e68f95d4..560f137da 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Node.js driver for Snowflake", "dependencies": { "@aws-sdk/client-s3": "^3.388.0", - "@aws-sdk/node-http-handler": "^3.374.0", + "@smithy/node-http-handler": "^3.2.5", "@azure/storage-blob": "12.18.x", "@google-cloud/storage": "^7.7.0", "@techteamer/ocsp": "1.0.1",