Skip to content

Commit

Permalink
fix(snowflake): add proxy connection options (#17309)
Browse files Browse the repository at this point in the history
Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
  • Loading branch information
WikiRik and sdepold committed May 17, 2024
1 parent 6c5b6b7 commit 51b781e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/snowflake/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dependencies": {
"@sequelize/core": "workspace:*",
"@sequelize/utils": "workspace:*",
"@types/snowflake-sdk": "^1.6.20",
"@types/snowflake-sdk": "^1.6.23",
"lodash": "^4.17.21",
"snowflake-sdk": "^1.10.0"
}
Expand Down
5 changes: 5 additions & 0 deletions packages/snowflake/src/dialect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ const CONNECTION_OPTION_NAMES = getSynchronizedTypeKeys<SnowflakeConnectionOptio
clientSessionKeepAliveHeartbeatFrequency: undefined,
database: undefined,
password: undefined,
proxyHost: undefined,
proxyPort: undefined,
proxyProtocol: undefined,
proxyUser: undefined,
proxyPassword: undefined,
privateKey: undefined,
privateKeyPass: undefined,
privateKeyPath: undefined,
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2955,7 +2955,7 @@ __metadata:
dependencies:
"@sequelize/core": "workspace:*"
"@sequelize/utils": "workspace:*"
"@types/snowflake-sdk": "npm:^1.6.20"
"@types/snowflake-sdk": "npm:^1.6.23"
lodash: "npm:^4.17.21"
snowflake-sdk: "npm:^1.10.0"
languageName: unknown
Expand Down Expand Up @@ -4135,13 +4135,13 @@ __metadata:
languageName: node
linkType: hard

"@types/snowflake-sdk@npm:^1.6.20":
version: 1.6.22
resolution: "@types/snowflake-sdk@npm:1.6.22"
"@types/snowflake-sdk@npm:^1.6.23":
version: 1.6.23
resolution: "@types/snowflake-sdk@npm:1.6.23"
dependencies:
"@types/node": "npm:*"
generic-pool: "npm:^3.9.0"
checksum: 10c0/ff1a23c677ae9b23ef1b0b86ddf69e664737325293717ffe03552660080decf4429249a6cdefe03bf702b2952e3098acc6e896e0a0eaf1f14af095dbd2583d45
checksum: 10c0/225b8bd3084b95ad8845d602e0cbcd3396df89b26a71f13b4eb8e6cb4855f96f581ef970985376f17c04a7574b668c4cd3aa9c19935dde52cd7f6f722c1a75a9
languageName: node
linkType: hard

Expand Down

0 comments on commit 51b781e

Please sign in to comment.