Skip to content

Commit 5c08c5e

Browse files
authored
Bump dev dependencies, add Dependabot groups (#327)
1 parent 455fd25 commit 5c08c5e

File tree

6 files changed

+38
-26
lines changed

6 files changed

+38
-26
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@ updates:
44
- package-ecosystem: 'github-actions'
55
directory: '.github/workflows'
66
schedule:
7-
interval: 'daily'
7+
interval: 'weekly'
8+
day: 'monday'
9+
groups:
10+
workflows:
11+
dependency-type: 'development'
812
- package-ecosystem: 'npm'
913
directory: '/'
1014
schedule:
1115
interval: 'weekly'
1216
day: 'monday'
17+
groups:
18+
dev-dependencies:
19+
dependency-type: 'development'

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -43,50 +43,50 @@
4343
"prepare": "husky"
4444
},
4545
"devDependencies": {
46-
"@faker-js/faker": "^8.4.1",
46+
"@faker-js/faker": "^9.0.2",
4747
"@istanbuljs/nyc-config-typescript": "^1.0.2",
4848
"@types/jasmine": "^5.1.4",
49-
"@types/node": "^20.11.30",
49+
"@types/node": "^22.7.0",
5050
"@types/sinon": "^17.0.3",
5151
"@types/split2": "^4.2.3",
52-
"@types/uuid": "^9.0.8",
53-
"@typescript-eslint/eslint-plugin": "^7.3.1",
54-
"@typescript-eslint/parser": "^7.3.1",
55-
"apache-arrow": "^15.0.2",
56-
"eslint": "^8.57.0",
52+
"@types/uuid": "^10.0.0",
53+
"@typescript-eslint/eslint-plugin": "^8.7.0",
54+
"@typescript-eslint/parser": "^8.7.0",
55+
"apache-arrow": "^17.0.0",
56+
"eslint": "^8.57.1",
5757
"eslint-config-prettier": "^9.1.0",
58-
"eslint-plugin-expect-type": "^0.3.0",
59-
"eslint-plugin-prettier": "^5.1.3",
60-
"husky": "^9.0.11",
61-
"jasmine": "^5.1.0",
62-
"jasmine-core": "^5.1.2",
58+
"eslint-plugin-expect-type": "^0.4.3",
59+
"eslint-plugin-prettier": "^5.2.1",
60+
"husky": "^9.1.6",
61+
"jasmine": "^5.3.0",
62+
"jasmine-core": "^5.3.0",
6363
"jasmine-expect": "^5.0.0",
64-
"karma": "^6.4.3",
64+
"karma": "^6.4.4",
6565
"karma-chrome-launcher": "^3.2.0",
6666
"karma-firefox-launcher": "^2.1.3",
6767
"karma-jasmine": "^5.1.0",
6868
"karma-mocha-reporter": "^2.2.5",
6969
"karma-sourcemap-loader": "^0.4.0",
7070
"karma-typescript": "^5.5.4",
7171
"karma-webpack": "^5.0.1",
72-
"lint-staged": "^15.2.2",
73-
"nyc": "^15.1.0",
74-
"parquet-wasm": "0.6.0-beta.2",
75-
"prettier": "3.2.5",
76-
"sinon": "^17.0.1",
72+
"lint-staged": "^15.2.10",
73+
"nyc": "^17.1.0",
74+
"parquet-wasm": "0.6.1",
75+
"prettier": "3.3.3",
76+
"sinon": "^19.0.2",
7777
"source-map-support": "^0.5.21",
7878
"split2": "^4.2.0",
7979
"terser-webpack-plugin": "^5.3.10",
80-
"ts-jest": "^29.1.2",
80+
"ts-jest": "^29.2.5",
8181
"ts-loader": "^9.5.1",
8282
"ts-node": "^10.9.2",
8383
"tsconfig-paths": "^4.2.0",
8484
"tsconfig-paths-webpack-plugin": "^4.1.0",
85-
"typescript": "^5.4.3",
86-
"uuid": "^9.0.1",
87-
"webpack": "^5.91.0",
85+
"typescript": "^5.6.2",
86+
"uuid": "^10.0.0",
87+
"webpack": "^5.95.0",
8888
"webpack-cli": "^5.1.4",
89-
"webpack-merge": "^5.10.0"
89+
"webpack-merge": "^6.0.1"
9090
},
9191
"workspaces": [
9292
"./packages/*"

packages/client-common/__tests__/utils/client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export function createTestClient<Stream = unknown>(
6464
clickhouse_settings: clickHouseSettings,
6565
}
6666
if (process.env.browser) {
67+
// eslint-disable-next-line @typescript-eslint/no-require-imports
6768
return require('../../../client-web/src/client').createClient(cloudConfig)
6869
} else {
6970
// props to https://stackoverflow.com/a/41063795/4575540
@@ -80,6 +81,7 @@ export function createTestClient<Stream = unknown>(
8081
clickhouse_settings: clickHouseSettings,
8182
}
8283
if (process.env.browser) {
84+
// eslint-disable-next-line @typescript-eslint/no-require-imports
8385
return require('../../../client-web/src/client').createClient(localConfig) // eslint-disable-line @typescript-eslint/no-var-requires
8486
} else {
8587
// @ts-expect-error

packages/client-common/src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ export function createUrl(configURL: string | URL | undefined): URL {
276276
} catch (err) {
277277
throw new Error(
278278
'ClickHouse URL is malformed. Expected format: http[s]://[username:password@]hostname:port[/database][?param1=value1&param2=value2]',
279+
{ cause: err },
279280
)
280281
}
281282
if (url.protocol !== 'http:' && url.protocol !== 'https:') {

packages/client-node/__tests__/integration/node_query_format_types.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import { guid } from '@test/utils'
88
import type { ClickHouseClient } from '../../src'
99
import { createNodeTestClient } from '../utils/node_client'
1010

11+
/* eslint-disable @typescript-eslint/no-unused-expressions */
12+
1113
// Ignored and used only as a source for ESLint checks with $ExpectType
1214
// See also: https://www.npmjs.com/package/eslint-plugin-expect-type
1315
xdescribe('[Node.js] Query and ResultSet types', () => {

packages/client-node/src/connection/node_base_connection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ export abstract class NodeBaseConnection
390390
const tryDecompressResponseStream =
391391
params.op === 'Exec'
392392
? // allows to disable stream decompression for the `Exec` operation only
393-
params.decompress_response_stream ??
394-
this.params.compression.decompress_response
393+
(params.decompress_response_stream ??
394+
this.params.compression.decompress_response)
395395
: // there is nothing useful in the response stream for the `Command` operation,
396396
// and it is immediately destroyed; never decompress it
397397
false

0 commit comments

Comments
 (0)