Skip to content

Commit d47115c

Browse files
jlloyd-widenKSDaemon
authored andcommitted
reverting schema compiler changes
1 parent 50026a3 commit d47115c

File tree

3 files changed

+61
-217
lines changed

3 files changed

+61
-217
lines changed

packages/cubejs-schema-compiler/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@
7575
"jest": "^27",
7676
"mssql": "^10.0.2",
7777
"mysql": "^2.18.1",
78-
"node-fetch": "^3.3.2",
7978
"pg-promise": "^10.5.2",
79+
"request": "^2.88.0",
80+
"request-promise": "^4.2.4",
8081
"source-map-support": "^0.5.19",
8182
"sqlstring": "^2.3.1",
8283
"testcontainers": "^10.10.4",

packages/cubejs-schema-compiler/test/integration/postgres/async-module.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ describe('AsyncModule', () => {
77

88
it('gutter', async () => {
99
const { joinGraph, cubeEvaluator, compiler } = prepareCompiler(`
10-
const fetch = require('node-fetch');
10+
const rp = require('request-promise');
1111
1212
asyncModule(async () => {
13-
await fetch('http://www.google.com');
13+
await rp('http://www.google.com');
1414
1515
cube('visitors', {
1616
sql: \`

0 commit comments

Comments
 (0)