Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
},
"resolutions": {
"@types/node": "^18",
"@types/ramda": "0.27.40"
"@types/ramda": "0.27.40",
"thrift": "0.20.0"
},
"license": "MIT",
"packageManager": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@ungap/structured-clone": "^0.3.4",
"body-parser": "^1.19.0",
"chrono-node": "^2.6.2",
"express": "^4.21.1",
"express-graphql": "^0.12.0",
"graphql": "^15.8.0",
"graphql-scalars": "^1.10.0",
Expand All @@ -50,7 +51,7 @@
},
"devDependencies": {
"@cubejs-backend/linter": "^1.0.0",
"@types/express": "^4.17.9",
"@types/express": "^4.17.21",
"@types/jest": "^27",
"@types/jsonwebtoken": "^9.0.2",
"@types/jwk-to-pem": "^2.0.0",
Expand All @@ -59,7 +60,6 @@
"@types/ramda": "^0.27.32",
"@types/supertest": "^2.0.10",
"@types/uuid": "^8.3.1",
"express": "^4.17.1",
"jest": "^27",
"mysql": "^2.18.1",
"should": "^13.2.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"jsonwebtoken": "^9.0.2",
"request": "^2.88.2",
"request-promise": "^4.2.5",
"semver": "^7.3.2",
"semver": "^7.6.3",
"source-map-support": "^0.5.19"
},
"resolutions": {
Expand All @@ -60,7 +60,7 @@
"@types/jsonwebtoken": "^9.0.2",
"@types/node": "^18",
"@types/request-promise": "^4.1.46",
"@types/semver": "^7.3.4",
"@types/semver": "^7.5.8",
"husky": "^4.2.3",
"jest": "^27",
"typescript": "~5.2.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-client-ngx/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"lib": {
"entryFile": "index.ts"
},
"whitelistedNonPeerDependencies": [
"allowedNonPeerDependencies": [
"@cubejs-client/core",
"fast-deep-equal"
]
}
}
14 changes: 7 additions & 7 deletions packages/cubejs-client-ngx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
"tslib": "^2.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^12.1.2",
"@angular/cli": "^12.1.2",
"@angular/compiler": "^12.1.2",
"@angular/compiler-cli": "^12.1.2",
"@angular/core": "^12.1.2",
"ng-packagr": "^12.1.2",
"@angular-devkit/build-angular": "^13.3.11",
"@angular/cli": "^13.3.11",
"@angular/compiler": "^13.3.11",
"@angular/compiler-cli": "^13.3.11",
"@angular/core": "^13.3.11",
"ng-packagr": "^13.3.1",
"npm-watch": "^0.7.0",
"tsickle": "^0.39.1",
"typescript": "~4.3.5"
"typescript": "~4.5.5"
},
"peerDependencies": {
"@cubejs-client/core": ">=0.28.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-hive-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"sasl-plain": "^0.1.0",
"saslmechanisms": "^0.1.1",
"sqlstring": "^2.3.1",
"thrift": "^0.9.3"
"thrift": "^0.20.0"
},
"license": "Apache-2.0",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-materialize-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@cubejs-backend/shared": "1.1.8",
"@types/pg": "^8.6.0",
"pg": "^8.6.0",
"semver": "7.3.7"
"semver": "^7.6.3"
},
"license": "Apache-2.0",
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-mongobi-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"@cubejs-backend/base-driver": "1.1.8",
"@cubejs-backend/shared": "1.1.8",
"@types/node": "^18",
"generic-pool": "^3.6.0",
"generic-pool": "^3.8.2",
"moment": "^2.29.1",
"mysql2": "^2.3.3"
"mysql2": "^3.11.5"
},
"license": "Apache-2.0",
"publishConfig": {
Expand Down
13 changes: 4 additions & 9 deletions packages/cubejs-mongobi-driver/src/MongoBIDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ export class MongoBIDriver extends BaseDriver implements DriverInterface {
// mysql2 uses own typings for ssl property, which is not correct
// Types of property 'pfx' are incompatible. Skipping validation with any cast
ssl: this.getSslOptions(dataSource) as any,
authPlugins: {
mysql_clear_password: () => async () => {
const password =
config.password ||
getEnv('dbPass', { dataSource }) ||
'';
return Buffer.from((password).concat('\0')).toString();
}
},
typeCast: (field: Field, next) => {
if (field.type === 'DATETIME') {
// Example value 1998-08-02 00:00:00
Expand All @@ -97,6 +88,10 @@ export class MongoBIDriver extends BaseDriver implements DriverInterface {

return next();
},
// mysql2 v3.x uses this flag by default and sends some connection attributes like:
// version, app-name. But mongosql which is based on mysql 5.7 is not able to proceed them, resulting in:
// Error: recv handshake response error: invalid connection attribute at index 0: EOF
flags: ['-CONNECT_ATTRS'],
...mongoBIDriverConfiguration
};
this.pool = genericPool.createPool({
Expand Down
1 change: 1 addition & 0 deletions packages/cubejs-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"react-responsive": "^8.0.1",
"react-router-dom": "^5.1.2",
"recharts": "^2.12.7",
"recursive-readdir": "2.2.3",
"sql-formatter": "^3.1.0",
"throttle-debounce": "^3.0.1",
"uuid": "^8.3.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-server-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"p-limit": "^3.1.0",
"promise-timeout": "^1.3.0",
"ramda": "^0.27.0",
"semver": "^6.3.0",
"semver": "^7.6.3",
"serve-static": "^1.13.2",
"sqlstring": "^2.3.1",
"uuid": "^8.3.2",
Expand All @@ -61,7 +61,7 @@
"@cubejs-backend/linter": "^1.0.0",
"@cubejs-client/playground": "1.1.6",
"@types/cross-spawn": "^6.0.2",
"@types/express": "^4.17.9",
"@types/express": "^4.17.21",
"@types/fs-extra": "^9.0.8",
"@types/jest": "^27",
"@types/jsonwebtoken": "^9.0.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/cubejs-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"body-parser": "^1.19.0",
"codesandbox-import-utils": "^2.1.12",
"cors": "^2.8.4",
"express": "^4.17.1",
"express": "^4.21.1",
"jsonwebtoken": "^9.0.2",
"semver": "^7.3.2",
"semver": "^7.6.3",
"source-map-support": "^0.5.19",
"ws": "^7.1.2"
},
Expand All @@ -66,9 +66,9 @@
"@oclif/dev-cli": "^1.23.1",
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.8",
"@types/express": "^4.17.11",
"@types/express": "^4.17.21",
"@types/node": "^18",
"@types/semver": "^7.3.4",
"@types/semver": "^7.5.8",
"@types/ws": "^7.2.9",
"@types/yarnpkg__lockfile": "^1.1.4",
"jest": "^27",
Expand Down
Loading
Loading