@cubejs-backend/shared 0.28.55 → 0.29.0
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 +21 -0
- package/dist/src/node-check.js +4 -4
- package/dist/src/node-check.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,27 @@
|
|
|
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.0](https://github.com/cube-js/cube.js/compare/v0.28.67...v0.29.0) (2021-12-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Reverts
|
|
10
|
+
|
|
11
|
+
* Revert "BREAKING CHANGE: 0.29 (#3809)" (#3811) ([db005ed](https://github.com/cube-js/cube.js/commit/db005edc04d48e8251250ab9d0e19f496cf3b52b)), closes [#3809](https://github.com/cube-js/cube.js/issues/3809) [#3811](https://github.com/cube-js/cube.js/issues/3811)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
* BREAKING CHANGE: 0.29 (#3809) ([6f1418b](https://github.com/cube-js/cube.js/commit/6f1418b9963774844f341682e594601a56bb0084)), closes [#3809](https://github.com/cube-js/cube.js/issues/3809)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### BREAKING CHANGES
|
|
18
|
+
|
|
19
|
+
* Drop support for Node.js 10 (12.x is a minimal version)
|
|
20
|
+
* Upgrade Node.js to 14 for Docker images
|
|
21
|
+
* Drop support for Node.js 15
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
6
27
|
## [0.28.55](https://github.com/cube-js/cube.js/compare/v0.28.54...v0.28.55) (2021-11-12)
|
|
7
28
|
|
|
8
29
|
|
package/dist/src/node-check.js
CHANGED
|
@@ -9,14 +9,14 @@ const currentNodeVersion = process_1.default.versions.node;
|
|
|
9
9
|
const semver = currentNodeVersion.split('.');
|
|
10
10
|
const major = parseInt(semver[0], 10);
|
|
11
11
|
const minor = parseInt(semver[1], 10);
|
|
12
|
-
if (major <
|
|
12
|
+
if (major < 12 || major === 15) {
|
|
13
13
|
console.error(color_1.default.red(`You are running Node.js ${currentNodeVersion}.\n` +
|
|
14
|
-
'Cube.js CLI requires Node.js
|
|
15
|
-
'Please update your
|
|
14
|
+
'Cube.js CLI requires Node.js 12 or higher (except 15). \n' +
|
|
15
|
+
'Please update your Node.js version.'));
|
|
16
16
|
process_1.default.exit(1);
|
|
17
17
|
}
|
|
18
18
|
if (major === 10) {
|
|
19
19
|
process_1.default.emitWarning(color_1.default.red(`You are running Node.js ${currentNodeVersion}.\n` +
|
|
20
|
-
'Support for Node.js
|
|
20
|
+
'Support for Node.js 12 will be removed soon. Please upgrade to Node.js 14 or higher.'));
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=node-check.js.map
|
|
@@ -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,KAAK,GAAG,QAAQ,CAAU,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAE/C,IAAI,KAAK,GAAG,EAAE,IAAI,
|
|
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,KAAK,GAAG,QAAQ,CAAU,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAE/C,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.
|
|
3
|
+
"version": "0.29.0",
|
|
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",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"dist/src/*"
|
|
18
18
|
],
|
|
19
19
|
"engines": {
|
|
20
|
-
"node": ">=
|
|
20
|
+
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
|
|
21
21
|
},
|
|
22
22
|
"author": "Cube Dev, Inc.",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@cubejs-backend/linter": "^0.
|
|
25
|
+
"@cubejs-backend/linter": "^0.29.0",
|
|
26
26
|
"@types/bytes": "^3.1.0",
|
|
27
27
|
"@types/cli-progress": "^3.9.1",
|
|
28
28
|
"@types/decompress": "^4.2.3",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
".*\\.d\\.ts"
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "15502010fedcb085860d4f35267a57a6d60aa9ab"
|
|
69
69
|
}
|