@forzalabs/remora 0.0.54-nasco.3 → 0.0.55-nasco.3
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/Constants.js +1 -1
- package/engines/dataset/Dataset.js +4 -2
- package/package.json +2 -2
package/Constants.js
CHANGED
|
@@ -32,8 +32,10 @@ const XMLParser_1 = __importDefault(require("../parsing/XMLParser"));
|
|
|
32
32
|
const DriverFactory_1 = __importDefault(require("../../drivers/DriverFactory"));
|
|
33
33
|
const Helper_1 = __importDefault(require("../../helper/Helper"));
|
|
34
34
|
const Algo_1 = __importDefault(require("../../core/Algo"));
|
|
35
|
+
const Environment_1 = __importDefault(require("../Environment"));
|
|
35
36
|
class Dataset {
|
|
36
|
-
constructor(name, file, batchSize
|
|
37
|
+
constructor(name, file, batchSize) {
|
|
38
|
+
var _a;
|
|
37
39
|
this._pipeline = [];
|
|
38
40
|
this.getPath = () => this._path;
|
|
39
41
|
this.setPath = (path) => {
|
|
@@ -845,7 +847,7 @@ class Dataset {
|
|
|
845
847
|
};
|
|
846
848
|
this._name = name;
|
|
847
849
|
this._file = file;
|
|
848
|
-
this._batchSize = batchSize;
|
|
850
|
+
this._batchSize = (_a = batchSize !== null && batchSize !== void 0 ? batchSize : parseInt(Environment_1.default.get('MAX_ITEMS_IN_MEMORY'))) !== null && _a !== void 0 ? _a : Constants_1.default.defaults.MAX_ITEMS_IN_MEMORY;
|
|
849
851
|
this._dimensions = [];
|
|
850
852
|
this._delimiter = ',';
|
|
851
853
|
this._size = 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forzalabs/remora",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.55-nasco.3",
|
|
4
4
|
"description": "A powerful CLI tool for seamless data translation.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"private": false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"sync": "cd ../dev_ops && npm run sync",
|
|
12
|
-
"dev": "
|
|
12
|
+
"dev": "npx tsx scripts/dev.ts",
|
|
13
13
|
"tsc-check": "npx tsc --noemit",
|
|
14
14
|
"init": "npx tsx ./src/index.ts init",
|
|
15
15
|
"version": "npx tsx ./src/index.ts -v",
|