@cubejs-backend/shared 0.29.18 → 0.29.28
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.
- package/CHANGELOG.md +35 -0
- package/dist/src/helpers.d.ts +6 -0
- package/dist/src/helpers.d.ts.map +1 -1
- package/dist/src/helpers.js +28 -1
- package/dist/src/helpers.js.map +1 -1
- package/dist/src/http-utils.d.ts +1 -0
- package/dist/src/http-utils.d.ts.map +1 -1
- package/dist/src/http-utils.js +9 -1
- package/dist/src/http-utils.js.map +1 -1
- package/dist/src/node-check.js +2 -2
- package/dist/src/node-check.js.map +1 -1
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.29.28](https://github.com/cube-js/cube.js/compare/v0.29.27...v0.29.28) (2022-02-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **@cubejs-backend/athena-driver:** Batching and export support ([#4039](https://github.com/cube-js/cube.js/issues/4039)) ([108f42a](https://github.com/cube-js/cube.js/commit/108f42afdd58ae0027b1b81730f7ca9e72ab9122))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.29.23](https://github.com/cube-js/cube.js/compare/v0.29.22...v0.29.23) (2022-01-26)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @cubejs-backend/shared
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [0.29.21](https://github.com/cube-js/cube.js/compare/v0.29.20...v0.29.21) (2022-01-17)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @cubejs-backend/shared
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [0.29.20](https://github.com/cube-js/cube.js/compare/v0.29.19...v0.29.20) (2022-01-10)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @cubejs-backend/shared
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [0.29.18](https://github.com/cube-js/cube.js/compare/v0.29.17...v0.29.18) (2022-01-09)
|
|
7
42
|
|
|
8
43
|
|
package/dist/src/helpers.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { Readable } from 'stream';
|
|
1
3
|
export declare function getRealType(value: any): string;
|
|
2
4
|
export declare function executeCommand(command: string, args: string | string[], options?: {}): Promise<void>;
|
|
5
|
+
export declare function assertNonNullable<T>(name: string, x: T): asserts x is NonNullable<T>;
|
|
6
|
+
export declare function checkNonNullable<T>(name: string, x: T): NonNullable<T>;
|
|
7
|
+
export declare function streamToArray<T>(stream: Readable): Promise<T[]>;
|
|
8
|
+
export declare function oldStreamToArray<T>(stream: NodeJS.ReadableStream): Promise<T[]>;
|
|
3
9
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,GAAG,MAAM,CAM9C;AAED,wBAAsB,cAAc,CAClC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,OAAO,KAAK,iBAsBb;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAIpF;AAGD,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAGtE;AAED,wBAAsB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAMrE;AAID,wBAAsB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,cAAc,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAErF"}
|
package/dist/src/helpers.js
CHANGED
|
@@ -3,8 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.executeCommand = exports.getRealType = void 0;
|
|
6
|
+
exports.oldStreamToArray = exports.streamToArray = exports.checkNonNullable = exports.assertNonNullable = exports.executeCommand = exports.getRealType = void 0;
|
|
7
7
|
const cross_spawn_1 = __importDefault(require("cross-spawn"));
|
|
8
|
+
const stream_1 = require("stream");
|
|
8
9
|
function getRealType(value) {
|
|
9
10
|
if (value === null) {
|
|
10
11
|
return 'null';
|
|
@@ -26,4 +27,30 @@ async function executeCommand(command, args, options = {}) {
|
|
|
26
27
|
});
|
|
27
28
|
}
|
|
28
29
|
exports.executeCommand = executeCommand;
|
|
30
|
+
function assertNonNullable(name, x) {
|
|
31
|
+
if (x === undefined || x === null) {
|
|
32
|
+
throw new Error(`${name} is not defined.`);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.assertNonNullable = assertNonNullable;
|
|
36
|
+
// If x is nullable, throws and error, else return x with a nonnulable type.
|
|
37
|
+
function checkNonNullable(name, x) {
|
|
38
|
+
assertNonNullable(name, x);
|
|
39
|
+
return x;
|
|
40
|
+
}
|
|
41
|
+
exports.checkNonNullable = checkNonNullable;
|
|
42
|
+
async function streamToArray(stream) {
|
|
43
|
+
const result = [];
|
|
44
|
+
for await (const x of stream) {
|
|
45
|
+
result.push(x);
|
|
46
|
+
}
|
|
47
|
+
return result;
|
|
48
|
+
}
|
|
49
|
+
exports.streamToArray = streamToArray;
|
|
50
|
+
// https://nodejs.org/api/stream.html#readablewrapstream
|
|
51
|
+
// https://nodejs.org/api/stream.html#compatibility-with-older-nodejs-versions
|
|
52
|
+
async function oldStreamToArray(stream) {
|
|
53
|
+
return streamToArray(new stream_1.Readable().wrap(stream));
|
|
54
|
+
}
|
|
55
|
+
exports.oldStreamToArray = oldStreamToArray;
|
|
29
56
|
//# sourceMappingURL=helpers.js.map
|
package/dist/src/helpers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAgC;
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAgC;AAChC,mCAAkC;AAElC,SAAgB,WAAW,CAAC,KAAU;IACpC,IAAI,KAAK,KAAK,IAAI,EAAE;QAClB,OAAO,MAAM,CAAC;KACf;IAED,OAAO,OAAO,KAAK,CAAC;AACtB,CAAC;AAND,kCAMC;AAEM,KAAK,UAAU,cAAc,CAClC,OAAe,EACf,IAAuB,EACvB,OAAO,GAAG,EAAE;IAEZ,MAAM,SAAS,GAAa,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC9E,MAAM,KAAK,GAAG,qBAAK,CACjB,OAAO,EACP,SAAS,EACT,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CACjC,CAAC;IAEF,OAAO,IAAI,OAAO,C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
|
|
10
10
|
cwd: string;
|
|
11
11
|
};
|
|
12
12
|
export declare function downloadAndExtractFile(url: string, { cwd }: DownloadAndExtractFile): Promise<void>;
|
|
13
|
+
export declare function downloadAndGunzip(url: string): Promise<string>;
|
|
13
14
|
export {};
|
|
14
15
|
//# sourceMappingURL=http-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-utils.d.ts","sourceRoot":"","sources":["../../src/http-utils.ts"],"names":[],"mappings":"AACA,OAAc,
|
|
1
|
+
{"version":3,"file":"http-utils.d.ts","sourceRoot":"","sources":["../../src/http-utils.ts"],"names":[],"mappings":"AACA,OAAc,EAAoB,QAAQ,EAAE,MAAM,YAAY,CAAC;AAc/D,aAAK,oBAAoB,GAAG,CAAC,IAAI,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,KAAK,IAAI,CAAC;AAE7F,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,oBAAoB,GACrC,OAAO,CAAC,MAAM,CAAC,CA2CjB;AAED,aAAK,sBAAsB,GAAG;IAC5B,YAAY,EAAE,OAAO,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,sBAAsB,iBAwCxF;AAED,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAKpE"}
|
package/dist/src/http-utils.js
CHANGED
|
@@ -22,7 +22,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
22
22
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.downloadAndExtractFile = exports.streamWithProgress = void 0;
|
|
25
|
+
exports.downloadAndGunzip = exports.downloadAndExtractFile = exports.streamWithProgress = void 0;
|
|
26
26
|
const decompress_1 = __importDefault(require("decompress"));
|
|
27
27
|
const node_fetch_1 = __importStar(require("node-fetch"));
|
|
28
28
|
const bytes_1 = __importDefault(require("bytes"));
|
|
@@ -33,6 +33,7 @@ const fs_1 = __importDefault(require("fs"));
|
|
|
33
33
|
const os = __importStar(require("os"));
|
|
34
34
|
const crypto_1 = __importDefault(require("crypto"));
|
|
35
35
|
const path = __importStar(require("path"));
|
|
36
|
+
const zlib_1 = require("zlib");
|
|
36
37
|
const errors_1 = require("./errors");
|
|
37
38
|
const proxy_1 = require("./proxy");
|
|
38
39
|
async function streamWithProgress(response, progressCallback) {
|
|
@@ -104,4 +105,11 @@ async function downloadAndExtractFile(url, { cwd }) {
|
|
|
104
105
|
bar.stop();
|
|
105
106
|
}
|
|
106
107
|
exports.downloadAndExtractFile = downloadAndExtractFile;
|
|
108
|
+
async function downloadAndGunzip(url) {
|
|
109
|
+
const response = await node_fetch_1.default(url);
|
|
110
|
+
const gz = await response.arrayBuffer();
|
|
111
|
+
const buffer = await zlib_1.gunzipSync(gz);
|
|
112
|
+
return buffer.toString();
|
|
113
|
+
}
|
|
114
|
+
exports.downloadAndGunzip = downloadAndGunzip;
|
|
107
115
|
//# sourceMappingURL=http-utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-utils.js","sourceRoot":"","sources":["../../src/http-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4DAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"http-utils.js","sourceRoot":"","sources":["../../src/http-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4DAAoC;AACpC,yDAA+D;AAC/D,kDAA0B;AAC1B,yDAA6C;AAC7C,+CAAyC;AACzC,uCAAsC;AACtC,4CAAoB;AACpB,uCAAyB;AACzB,oDAA4B;AAC5B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E;YACnB,KAAK;YACL,GAAG;SACJ,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,MAAM,oBAAU,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC;IAErC,IAAI;QACF,YAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;KAC9B;IAAC,OAAO,CAAC,EAAE;QACV,2BAAkB,CAAC,CAAC,CAAC,CAAC;KACvB;IAED,GAAG,CAAC,IAAI,EAAE,CAAC;AACb,CAAC;AAxCD,wDAwCC;AAEM,KAAK,UAAU,iBAAiB,CAAC,GAAW;IACjD,MAAM,QAAQ,GAAG,MAAM,oBAAK,CAAC,GAAG,CAAC,CAAC;IAClC,MAAM,EAAE,GAAG,MAAM,QAAQ,CAAC,WAAW,EAAE,CAAC;IACxC,MAAM,MAAM,GAAG,MAAM,iBAAU,CAAC,EAAE,CAAC,CAAC;IACpC,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;AAC3B,CAAC;AALD,8CAKC"}
|
package/dist/src/node-check.js
CHANGED
|
@@ -8,14 +8,14 @@ const color_1 = __importDefault(require("@oclif/color"));
|
|
|
8
8
|
const currentNodeVersion = process_1.default.versions.node;
|
|
9
9
|
const semver = currentNodeVersion.split('.');
|
|
10
10
|
const major = parseInt(semver[0], 10);
|
|
11
|
-
const
|
|
11
|
+
const _minor = parseInt(semver[1], 10);
|
|
12
12
|
if (major < 12 || major === 15) {
|
|
13
13
|
console.error(color_1.default.red(`You are running Node.js ${currentNodeVersion}.\n` +
|
|
14
14
|
'Cube.js CLI requires Node.js 12 or higher (except 15). \n' +
|
|
15
15
|
'Please update your Node.js version.'));
|
|
16
16
|
process_1.default.exit(1);
|
|
17
17
|
}
|
|
18
|
-
if (major ===
|
|
18
|
+
if (major === 12) {
|
|
19
19
|
process_1.default.emitWarning(color_1.default.red(`You are running Node.js ${currentNodeVersion}.\n` +
|
|
20
20
|
'Support for Node.js 12 will be removed soon. Please upgrade to Node.js 14 or higher.'));
|
|
21
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-check.js","sourceRoot":"","sources":["../../src/node-check.ts"],"names":[],"mappings":";;;;;AAAA,sDAA8B;AAC9B,yDAAiC;AAEjC,MAAM,kBAAkB,GAAG,iBAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;AACjD,MAAM,MAAM,GAAG,kBAAkB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAC7C,MAAM,KAAK,GAAG,QAAQ,CAAU,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAC/C,MAAM,
|
|
1
|
+
{"version":3,"file":"node-check.js","sourceRoot":"","sources":["../../src/node-check.ts"],"names":[],"mappings":";;;;;AAAA,sDAA8B;AAC9B,yDAAiC;AAEjC,MAAM,kBAAkB,GAAG,iBAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;AACjD,MAAM,MAAM,GAAG,kBAAkB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAC7C,MAAM,KAAK,GAAG,QAAQ,CAAU,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAC/C,MAAM,MAAM,GAAG,QAAQ,CAAU,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAEhD,IAAI,KAAK,GAAG,EAAE,IAAI,KAAK,KAAK,EAAE,EAAE;IAC9B,OAAO,CAAC,KAAK,CACX,eAAK,CAAC,GAAG,CACP,2BAA2B,kBAAkB,KAAK;QAClD,2DAA2D;QAC3D,qCAAqC,CACtC,CACF,CAAC;IACF,iBAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;CACjB;AAED,IAAI,KAAK,KAAK,EAAE,EAAE;IAChB,iBAAO,CAAC,WAAW,CACjB,eAAK,CAAC,GAAG,CACP,2BAA2B,kBAAkB,KAAK;QAClD,sFAAsF,CACvF,CACF,CAAC;CACH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-backend/shared",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.28",
|
|
4
4
|
"description": "Shared code for Cube.js backend packages",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"typings": "dist/src/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build": "rm -rf dist && npm run tsc",
|
|
9
9
|
"tsc": "tsc",
|
|
10
10
|
"watch": "tsc -w",
|
|
11
|
-
"lint": "eslint
|
|
11
|
+
"lint": "eslint src/* --ext .ts",
|
|
12
12
|
"lint:fix": "eslint --fix src/* --ext .ts",
|
|
13
13
|
"unit": "jest --coverage dist/test"
|
|
14
14
|
},
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"author": "Cube Dev, Inc.",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@cubejs-backend/linter": "^0.29.
|
|
25
|
+
"@cubejs-backend/linter": "^0.29.23",
|
|
26
26
|
"@types/bytes": "^3.1.0",
|
|
27
27
|
"@types/cli-progress": "^3.9.1",
|
|
28
28
|
"@types/decompress": "^4.2.3",
|
|
29
29
|
"@types/jest": "^26.0.16",
|
|
30
|
-
"@types/node": "^
|
|
30
|
+
"@types/node": "^12",
|
|
31
31
|
"@types/node-fetch": "^2.5.8",
|
|
32
32
|
"@types/throttle-debounce": "^2.1.0",
|
|
33
33
|
"jest": "^26.6.3",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"@oclif/color": "^0.1.2",
|
|
38
38
|
"bytes": "^3.1.0",
|
|
39
39
|
"cli-progress": "^3.9.0",
|
|
40
|
-
"colors": "1.4.0",
|
|
41
40
|
"cross-spawn": "^7.0.3",
|
|
42
41
|
"decompress": "^4.2.1",
|
|
43
42
|
"env-var": "^6.3.0",
|
|
@@ -69,5 +68,5 @@
|
|
|
69
68
|
".*\\.d\\.ts"
|
|
70
69
|
]
|
|
71
70
|
},
|
|
72
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "a258a9e046cbf0f4d60c3c0e694a8dc03ccad363"
|
|
73
72
|
}
|