Skip to content

Commit

Permalink
fix: move non-mandatory deps to peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Dec 26, 2023
1 parent 7207966 commit 6114cf0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@

This is the fork of [snowflake-connector-nodejs](https://github.com/snowflakedb/snowflake-connector-nodejs)
with the following changes:

- Fixes https://github.com/snowflakedb/snowflake-connector-nodejs/issues/449 by moving non-mandatory dependencies to peerDependencies. So, folks who don't need e.g AWS SDK don't have to "download the whole internet".

## Readme

********************************************************************************
NodeJS Driver for Snowflake
********************************************************************************
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{
"name": "snowflake-sdk",
"name": "@naturalcycles/snowflake-sdk",
"version": "1.9.2",
"description": "Node.js driver for Snowflake",
"dependencies": {
"@aws-sdk/client-s3": "^3.388.0",
"@azure/storage-blob": "^12.11.0",
"@google-cloud/storage": "^6.9.3",
"@techteamer/ocsp": "1.0.1",
"agent-base": "^6.0.2",
"asn1.js-rfc2560": "^5.0.0",
Expand Down Expand Up @@ -46,7 +43,10 @@
"test-console": "^2.0.0"
},
"peerDependencies": {
"asn1.js": "^5.4.1"
"asn1.js": "^5.4.1",
"@aws-sdk/client-s3": "^3.388.0",
"@azure/storage-blob": "^12.11.0",
"@google-cloud/storage": "^6.9.3"
},
"overrides": {
"semver": "^7.5.2"
Expand Down

0 comments on commit 6114cf0

Please sign in to comment.