exupery-core-bin 0.3.14 → 0.3.15
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/dist/algorithms/procedures/copy.js +42 -41
- package/dist/algorithms/procedures/execute_any_procedure_executable.js +31 -30
- package/dist/algorithms/procedures/execute_any_smelly_procedure_executable.js +37 -36
- package/dist/algorithms/procedures/log.js +11 -10
- package/dist/algorithms/procedures/log_error.js +11 -10
- package/dist/algorithms/procedures/make_directory.js +28 -27
- package/dist/algorithms/procedures/remove.js +39 -38
- package/dist/algorithms/procedures/write_file.js +31 -30
- package/dist/algorithms/procedures/write_to_stderr.js +9 -8
- package/dist/algorithms/procedures/write_to_stdout.js +9 -8
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -27,45 +27,46 @@ exports.$$ = void 0;
|
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
28
|
const _ei = __importStar(require("exupery-core-internals"));
|
|
29
29
|
const fs_1 = require("fs");
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
30
|
+
exports.$$ = {
|
|
31
|
+
'execute with synchrounous data': ($p) => {
|
|
32
|
+
const __possibly_escape_filename = (path, escape) => {
|
|
33
|
+
if (escape) {
|
|
34
|
+
return path.replace(/ /g, '_');
|
|
35
|
+
}
|
|
36
|
+
return path;
|
|
37
|
+
};
|
|
38
|
+
return _easync.__create_procedure({
|
|
39
|
+
'execute': (on_success, on_exception) => {
|
|
40
|
+
const options = {};
|
|
41
|
+
$p.options.recursive.map(($) => { options.recursive = $; });
|
|
42
|
+
$p.options.force.map(($) => { options.force = $; });
|
|
43
|
+
$p.options.errorOnExist.map(($) => { options.errorOnExist = $; });
|
|
44
|
+
(0, fs_1.cp)(__possibly_escape_filename($p.source.path, $p.source['escape spaces in path']), __possibly_escape_filename($p.target.path, $p.target['escape spaces in path']), options, (err) => {
|
|
45
|
+
if (err) {
|
|
46
|
+
on_exception(_ei.block(() => {
|
|
47
|
+
if (err.code === 'ENOENT') {
|
|
48
|
+
return ['source does not exist', null];
|
|
49
|
+
}
|
|
50
|
+
if (err.code === 'EACCES' || err.code === 'EPERM') {
|
|
51
|
+
return ['permission denied', null];
|
|
52
|
+
}
|
|
53
|
+
if (err.code === 'EISDIR' || err.code === 'ERR_FS_EISDIR') {
|
|
54
|
+
return ['node is not a file', null];
|
|
55
|
+
}
|
|
56
|
+
if (err.code === 'EFBIG') {
|
|
57
|
+
return ['file too large', null];
|
|
58
|
+
}
|
|
59
|
+
if (err.code === 'EIO' || err.code === 'ENXIO') {
|
|
60
|
+
return ['device not ready', null];
|
|
61
|
+
}
|
|
62
|
+
return _ei.panic(`unhandled fs.cp error code: ${err.code}`);
|
|
63
|
+
}));
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
on_success();
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
70
72
|
};
|
|
71
|
-
exports.$$ = $$;
|
|
@@ -32,36 +32,37 @@ const node_child_process_1 = require("node:child_process");
|
|
|
32
32
|
* The executable being executed is assumed to only cause side effects
|
|
33
33
|
* and not return any meaningful data, std::out is therefor ignored
|
|
34
34
|
*/
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
return ['failed to spawn', { message: err instanceof Error ? err.message : `${err}` }];
|
|
49
|
-
}));
|
|
50
|
-
});
|
|
51
|
-
child.on("close", exitCode => {
|
|
52
|
-
if (exitCode === 0) {
|
|
53
|
-
on_success();
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
35
|
+
exports.$$ = {
|
|
36
|
+
'execute with synchrounous data': ($p) => {
|
|
37
|
+
const args = $p.args.__get_raw_copy();
|
|
38
|
+
return _easync.__create_procedure({
|
|
39
|
+
'execute': (on_success, on_exception) => {
|
|
40
|
+
const child = (0, node_child_process_1.spawn)($p.program, args, {
|
|
41
|
+
shell: false, // ✅ direct execution, no shell
|
|
42
|
+
});
|
|
43
|
+
let stderrData = "";
|
|
44
|
+
child.stderr.on("data", chunk => {
|
|
45
|
+
stderrData += chunk.toString("utf8");
|
|
46
|
+
});
|
|
47
|
+
child.on("error", err => {
|
|
56
48
|
on_exception(_ei.block(() => {
|
|
57
|
-
return ['
|
|
58
|
-
'exit code': exitCode === null ? _ei.not_set() : _ei.set(exitCode),
|
|
59
|
-
'stderr': stderrData
|
|
60
|
-
}];
|
|
49
|
+
return ['failed to spawn', { message: err instanceof Error ? err.message : `${err}` }];
|
|
61
50
|
}));
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
51
|
+
});
|
|
52
|
+
child.on("close", exitCode => {
|
|
53
|
+
if (exitCode === 0) {
|
|
54
|
+
on_success();
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
on_exception(_ei.block(() => {
|
|
58
|
+
return ['non zero exit code', {
|
|
59
|
+
'exit code': exitCode === null ? _ei.not_set() : _ei.set(exitCode),
|
|
60
|
+
'stderr': stderrData
|
|
61
|
+
}];
|
|
62
|
+
}));
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
66
68
|
};
|
|
67
|
-
exports.$$ = $$;
|
|
@@ -33,42 +33,43 @@ const node_child_process_1 = require("node:child_process");
|
|
|
33
33
|
* The executable being executed is assumed to only cause side effects
|
|
34
34
|
* and not return any meaningful data, std::out is therefor ignored
|
|
35
35
|
*/
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return ['failed to spawn', { message: err instanceof Error ? err.message : `${err}` }];
|
|
54
|
-
}));
|
|
55
|
-
});
|
|
56
|
-
child.on("close", exitCode => {
|
|
57
|
-
//what does an exit code of null even mean?
|
|
58
|
-
if (exitCode === 0) {
|
|
59
|
-
on_success();
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
36
|
+
exports.$$ = {
|
|
37
|
+
'execute with synchrounous data': ($p) => {
|
|
38
|
+
const args = $p.args.__get_raw_copy();
|
|
39
|
+
return _easync.__create_procedure({
|
|
40
|
+
'execute': (on_success, on_exception) => {
|
|
41
|
+
const child = (0, node_child_process_1.spawn)($p.program, args, {
|
|
42
|
+
shell: false, // ✅ direct execution, no shell
|
|
43
|
+
});
|
|
44
|
+
let stderrData = "";
|
|
45
|
+
let stdoutData = "";
|
|
46
|
+
child.stdout.on("data", chunk => {
|
|
47
|
+
stdoutData += chunk.toString("utf8");
|
|
48
|
+
});
|
|
49
|
+
child.stderr.on("data", chunk => {
|
|
50
|
+
stderrData += chunk.toString("utf8");
|
|
51
|
+
});
|
|
52
|
+
child.on("error", err => {
|
|
62
53
|
on_exception(_ei.block(() => {
|
|
63
|
-
return ['
|
|
64
|
-
'exit code': exitCode === null ? _ei.not_set() : _ei.set(exitCode),
|
|
65
|
-
'stderr': stderrData,
|
|
66
|
-
'stdout': stdoutData,
|
|
67
|
-
}];
|
|
54
|
+
return ['failed to spawn', { message: err instanceof Error ? err.message : `${err}` }];
|
|
68
55
|
}));
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
56
|
+
});
|
|
57
|
+
child.on("close", exitCode => {
|
|
58
|
+
//what does an exit code of null even mean?
|
|
59
|
+
if (exitCode === 0) {
|
|
60
|
+
on_success();
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
on_exception(_ei.block(() => {
|
|
64
|
+
return ['non zero exit code', {
|
|
65
|
+
'exit code': exitCode === null ? _ei.not_set() : _ei.set(exitCode),
|
|
66
|
+
'stderr': stderrData,
|
|
67
|
+
'stdout': stdoutData,
|
|
68
|
+
}];
|
|
69
|
+
}));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
73
75
|
};
|
|
74
|
-
exports.$$ = $$;
|
|
@@ -25,14 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
exports.$$ = {
|
|
29
|
+
'execute with synchrounous data': ($p) => {
|
|
30
|
+
return _easync.__create_procedure({
|
|
31
|
+
'execute': (on_success) => {
|
|
32
|
+
$p.lines.__for_each(($) => {
|
|
33
|
+
process.stdout.write($ + `\n`);
|
|
34
|
+
});
|
|
35
|
+
on_success();
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
37
39
|
};
|
|
38
|
-
exports.$$ = $$;
|
|
@@ -25,14 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
exports.$$ = {
|
|
29
|
+
'execute with synchrounous data': ($p) => {
|
|
30
|
+
return _easync.__create_procedure({
|
|
31
|
+
'execute': (on_success) => {
|
|
32
|
+
$p.lines.__for_each(($) => {
|
|
33
|
+
process.stderr.write($ + `\n`);
|
|
34
|
+
});
|
|
35
|
+
on_success();
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
37
39
|
};
|
|
38
|
-
exports.$$ = $$;
|
|
@@ -27,31 +27,32 @@ exports.$$ = void 0;
|
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
28
|
const _ei = __importStar(require("exupery-core-internals"));
|
|
29
29
|
const fs_1 = require("fs");
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
(
|
|
40
|
-
'
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
30
|
+
exports.$$ = {
|
|
31
|
+
'execute with synchrounous data': ($p) => {
|
|
32
|
+
const __possibly_escape_filename = (path, escape) => {
|
|
33
|
+
if (escape) {
|
|
34
|
+
return path.replace(/ /g, '_');
|
|
35
|
+
}
|
|
36
|
+
return path;
|
|
37
|
+
};
|
|
38
|
+
return _easync.__create_procedure({
|
|
39
|
+
'execute': (on_success, on_exception) => {
|
|
40
|
+
(0, fs_1.mkdir)(__possibly_escape_filename($p.path, $p['escape spaces in path']), {
|
|
41
|
+
'recursive': true,
|
|
42
|
+
}, (err, path) => {
|
|
43
|
+
if (err) {
|
|
44
|
+
on_exception(_ei.block(() => {
|
|
45
|
+
if (err.code === 'EEXIST') {
|
|
46
|
+
return ['directory already exists', null];
|
|
47
|
+
}
|
|
48
|
+
return _ei.panic(`unhandled fs.mkdir error code: ${err.code}`);
|
|
49
|
+
}));
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
on_success();
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
}
|
|
56
58
|
};
|
|
57
|
-
exports.$$ = $$;
|
|
@@ -27,45 +27,46 @@ exports.$$ = void 0;
|
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
28
|
const _ei = __importStar(require("exupery-core-internals"));
|
|
29
29
|
const fs_1 = require("fs");
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
(
|
|
40
|
-
'
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
if (err
|
|
44
|
-
|
|
30
|
+
exports.$$ = {
|
|
31
|
+
'execute with synchrounous data': ($p) => {
|
|
32
|
+
const __possibly_escape_filename = (path, escape) => {
|
|
33
|
+
if (escape) {
|
|
34
|
+
return path.replace(/ /g, '_');
|
|
35
|
+
}
|
|
36
|
+
return path;
|
|
37
|
+
};
|
|
38
|
+
return _easync.__create_procedure({
|
|
39
|
+
'execute': (on_success, on_exception) => {
|
|
40
|
+
(0, fs_1.rm)(__possibly_escape_filename($p.path.path, $p.path['escape spaces in path']), {
|
|
41
|
+
'recursive': true,
|
|
42
|
+
}, (err) => {
|
|
43
|
+
if (err) {
|
|
44
|
+
if (err.code === 'ENOENT' && !$p['error if not exists']) {
|
|
45
|
+
on_success();
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
on_exception(_ei.block(() => {
|
|
49
|
+
if (err.code === 'ENOENT') {
|
|
50
|
+
return ['node does not exist', null];
|
|
51
|
+
}
|
|
52
|
+
if (err.code === 'EACCES' || err.code === 'EPERM') {
|
|
53
|
+
return ['permission denied', null];
|
|
54
|
+
}
|
|
55
|
+
// if (err.code === 'EISDIR' || err.code === 'ENOTDIR') {
|
|
56
|
+
// return ['node is not a directory', null]
|
|
57
|
+
// }
|
|
58
|
+
// if (err.code === 'ERR_FS_EISDIR') {
|
|
59
|
+
// return ['node is a directory', null]
|
|
60
|
+
// }
|
|
61
|
+
return _ei.panic(`unhandled fs.rm error code: ${err.code}`);
|
|
62
|
+
}));
|
|
63
|
+
}
|
|
45
64
|
}
|
|
46
65
|
else {
|
|
47
|
-
|
|
48
|
-
if (err.code === 'ENOENT') {
|
|
49
|
-
return ['node does not exist', null];
|
|
50
|
-
}
|
|
51
|
-
if (err.code === 'EACCES' || err.code === 'EPERM') {
|
|
52
|
-
return ['permission denied', null];
|
|
53
|
-
}
|
|
54
|
-
// if (err.code === 'EISDIR' || err.code === 'ENOTDIR') {
|
|
55
|
-
// return ['node is not a directory', null]
|
|
56
|
-
// }
|
|
57
|
-
// if (err.code === 'ERR_FS_EISDIR') {
|
|
58
|
-
// return ['node is a directory', null]
|
|
59
|
-
// }
|
|
60
|
-
return _ei.panic(`unhandled fs.rm error code: ${err.code}`);
|
|
61
|
-
}));
|
|
66
|
+
on_success();
|
|
62
67
|
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
});
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
70
72
|
};
|
|
71
|
-
exports.$$ = $$;
|
|
@@ -28,29 +28,20 @@ const _easync = __importStar(require("exupery-core-async"));
|
|
|
28
28
|
const _ei = __importStar(require("exupery-core-internals"));
|
|
29
29
|
const fs_1 = require("fs");
|
|
30
30
|
const path_1 = require("path");
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
on_exception(_ei.block(() => {
|
|
46
|
-
if (err.code === 'EACCES' || err.code === 'EPERM') {
|
|
47
|
-
return ['permission denied', null];
|
|
48
|
-
}
|
|
49
|
-
return _ei.panic(`unhandled fs.writeFile error code: ${err.code}`);
|
|
50
|
-
}));
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
(0, fs_1.writeFile)(fname, $p.data, (err) => {
|
|
31
|
+
exports.$$ = {
|
|
32
|
+
'execute with synchrounous data': ($p) => {
|
|
33
|
+
const __possibly_escape_filename = (path, escape) => {
|
|
34
|
+
if (escape) {
|
|
35
|
+
return path.replace(/ /g, '_');
|
|
36
|
+
}
|
|
37
|
+
return path;
|
|
38
|
+
};
|
|
39
|
+
return _easync.__create_procedure({
|
|
40
|
+
'execute': (on_success, on_exception) => {
|
|
41
|
+
const fname = __possibly_escape_filename($p.path.path, $p.path['escape spaces in path']);
|
|
42
|
+
(0, fs_1.mkdir)((0, path_1.dirname)(fname), {
|
|
43
|
+
'recursive': true
|
|
44
|
+
}, (err, path) => {
|
|
54
45
|
if (err) {
|
|
55
46
|
on_exception(_ei.block(() => {
|
|
56
47
|
if (err.code === 'EACCES' || err.code === 'EPERM') {
|
|
@@ -58,13 +49,23 @@ const $$ = ($p) => {
|
|
|
58
49
|
}
|
|
59
50
|
return _ei.panic(`unhandled fs.writeFile error code: ${err.code}`);
|
|
60
51
|
}));
|
|
52
|
+
return;
|
|
61
53
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
54
|
+
(0, fs_1.writeFile)(fname, $p.data, (err) => {
|
|
55
|
+
if (err) {
|
|
56
|
+
on_exception(_ei.block(() => {
|
|
57
|
+
if (err.code === 'EACCES' || err.code === 'EPERM') {
|
|
58
|
+
return ['permission denied', null];
|
|
59
|
+
}
|
|
60
|
+
return _ei.panic(`unhandled fs.writeFile error code: ${err.code}`);
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
on_success();
|
|
65
|
+
}
|
|
66
|
+
});
|
|
65
67
|
});
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
69
71
|
};
|
|
70
|
-
exports.$$ = $$;
|
|
@@ -25,12 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
exports.$$ = {
|
|
29
|
+
'execute with synchrounous data': ($p) => {
|
|
30
|
+
return _easync.__create_procedure({
|
|
31
|
+
'execute': (on_success) => {
|
|
32
|
+
process.stderr.write($p);
|
|
33
|
+
on_success();
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
35
37
|
};
|
|
36
|
-
exports.$$ = $$;
|
|
@@ -25,12 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
exports.$$ = {
|
|
29
|
+
'execute with synchrounous data': ($p) => {
|
|
30
|
+
return _easync.__create_procedure({
|
|
31
|
+
'execute': (on_success) => {
|
|
32
|
+
process.stdout.write($p);
|
|
33
|
+
on_success();
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
35
37
|
};
|
|
36
|
-
exports.$$ = $$;
|
package/dist/index.js
CHANGED
|
@@ -68,7 +68,7 @@ const create_available_resources = () => {
|
|
|
68
68
|
* returned value when the async value completes.
|
|
69
69
|
*/
|
|
70
70
|
const run_main_procedure = (get_main) => {
|
|
71
|
-
get_main(create_available_resources())({
|
|
71
|
+
get_main(create_available_resources())['execute with synchrounous data']({
|
|
72
72
|
'arguments': _ei.array_literal(process.argv.slice(2))
|
|
73
73
|
}).__start(() => {
|
|
74
74
|
}, ($) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exupery-core-bin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.15",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"description": "this is one of the core packages for Exupery. it provides functionality to create executables",
|
|
6
6
|
"author": "Corno",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"url": "git+https://github.com/corno/exupery-core.git"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"exupery-core-async": "^0.3.
|
|
30
|
+
"exupery-core-async": "^0.3.13",
|
|
31
31
|
"exupery-core-internals": "^0.3.1",
|
|
32
32
|
"exupery-resources": "^0.3.6"
|
|
33
33
|
}
|