@lightdash/warehouses 2.185.4 → 2.193.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,7 +13,7 @@ const afterHandshake = { tcpConnected: true, handshakeCompleted: true };
|
|
|
13
13
|
}), before)).toBe('resolve');
|
|
14
14
|
});
|
|
15
15
|
(0, vitest_1.it)('maps anything before the TCP connect to tcp, including a dropped SYN', () => {
|
|
16
|
-
(0, vitest_1.expect)((0, sshTunnelFailure_1.classifySshClientError)(err('connect ETIMEDOUT
|
|
16
|
+
(0, vitest_1.expect)((0, sshTunnelFailure_1.classifySshClientError)(err('connect ETIMEDOUT 203.0.113.10:22 after 10000ms', {
|
|
17
17
|
code: 'ETIMEDOUT',
|
|
18
18
|
}), before)).toBe('tcp');
|
|
19
19
|
(0, vitest_1.expect)((0, sshTunnelFailure_1.classifySshClientError)(err('connect ECONNREFUSED 127.0.0.1:2222', {
|
|
@@ -42,7 +42,7 @@ const afterHandshake = { tcpConnected: true, handshakeCompleted: true };
|
|
|
42
42
|
});
|
|
43
43
|
(0, vitest_1.describe)('describeSshTunnelFailure', () => {
|
|
44
44
|
const base = {
|
|
45
|
-
sshHost: '
|
|
45
|
+
sshHost: '203.0.113.10',
|
|
46
46
|
sshPort: 22,
|
|
47
47
|
sshUser: 'lightdash',
|
|
48
48
|
databaseHost: 'redshift.internal',
|
|
@@ -52,7 +52,7 @@ const afterHandshake = { tcpConnected: true, handshakeCompleted: true };
|
|
|
52
52
|
};
|
|
53
53
|
(0, vitest_1.it)('tells the bastion admin which IP to allow on tcp failures', () => {
|
|
54
54
|
const message = (0, sshTunnelFailure_1.describeSshTunnelFailure)({ ...base, stage: 'tcp' });
|
|
55
|
-
(0, vitest_1.expect)(message).toContain('Could not reach
|
|
55
|
+
(0, vitest_1.expect)(message).toContain('Could not reach 203.0.113.10 on port 22');
|
|
56
56
|
(0, vitest_1.expect)(message).toContain('from Lightdash (35.1.2.3)');
|
|
57
57
|
(0, vitest_1.expect)(message).toContain('Allow inbound SSH from 35.1.2.3');
|
|
58
58
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightdash/warehouses",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.193.1",
|
|
4
4
|
"description": "Warehouse connectors for Lightdash",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"@databricks/sql": "1.13.0",
|
|
22
22
|
"@duckdb/node-api": "1.5.2-r.2",
|
|
23
23
|
"@google-cloud/bigquery": "8.3.1",
|
|
24
|
+
"@lightdash/common": "2.193.1",
|
|
24
25
|
"node-fetch": "2.7.0",
|
|
25
26
|
"pg": "8.13.1",
|
|
26
27
|
"pg-cursor": "2.10.0",
|
|
27
28
|
"pg-protocol": "1.10.3",
|
|
28
29
|
"snowflake-sdk": "2.3.4",
|
|
29
30
|
"ssh2": "1.14.0",
|
|
30
|
-
"trino-client": "0.2.9"
|
|
31
|
-
"@lightdash/common": "2.185.4"
|
|
31
|
+
"trino-client": "0.2.9"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"oxlint": "1.75.0",
|