exupery-core-bin 0.3.31 → 0.3.33

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.
@@ -27,6 +27,7 @@ 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
+ const t_path = __importStar(require("exupery-resources/dist/implementation/transformers/path/text"));
30
31
  exports.$$ = _easync.__create_resource_command(($p) => {
31
32
  const __possibly_escape_filename = (path, escape) => {
32
33
  if (escape) {
@@ -36,7 +37,7 @@ exports.$$ = _easync.__create_resource_command(($p) => {
36
37
  };
37
38
  return _easync.__create_command_promise({
38
39
  'execute': (on_success, on_error) => {
39
- (0, fs_1.mkdir)(__possibly_escape_filename($p.path, $p['escape spaces in path']), {
40
+ (0, fs_1.mkdir)(__possibly_escape_filename(t_path.Directory_Path($p.path), $p['escape spaces in path']), {
40
41
  'recursive': true,
41
42
  }, (err, path) => {
42
43
  if (err) {
@@ -34,7 +34,7 @@ const node_child_process_1 = require("node:child_process");
34
34
  */
35
35
  exports.$$ = _easync.__create_query(($p) => {
36
36
  const args = $p.args.__get_raw_copy();
37
- return _ei.__create_staging_result((on_value, on_error) => {
37
+ return _ei.__create_query_result((on_value, on_error) => {
38
38
  const child = (0, node_child_process_1.spawn)($p.program, args, {
39
39
  shell: false, // ✅ no implicit parsing
40
40
  });
@@ -27,7 +27,7 @@ exports.$$ = void 0;
27
27
  const _easync = __importStar(require("exupery-core-async"));
28
28
  const _ei = __importStar(require("exupery-core-internals"));
29
29
  exports.$$ = _easync.__create_query(() => {
30
- return _ei.__create_staging_result((on_value) => {
30
+ return _ei.__create_query_result((on_value) => {
31
31
  const stdin = process.stdin;
32
32
  let data = '';
33
33
  stdin.setEncoding('utf8');
@@ -34,7 +34,7 @@ exports.$$ = _easync.__create_query(($p) => {
34
34
  }
35
35
  return path;
36
36
  };
37
- return _ei.__create_staging_result((on_value, on_error) => {
37
+ return _ei.__create_query_result((on_value, on_error) => {
38
38
  (0, fs_1.readdir)(__possibly_escape_filename($p.path.path, $p.path['escape spaces in path']), {
39
39
  'encoding': 'utf-8',
40
40
  'withFileTypes': true,
@@ -34,7 +34,7 @@ exports.$$ = _easync.__create_query(($p) => {
34
34
  }
35
35
  return path;
36
36
  };
37
- return _ei.__create_staging_result((on_value, on_error) => {
37
+ return _ei.__create_query_result((on_value, on_error) => {
38
38
  (0, fs_1.readFile)(__possibly_escape_filename($p.path, $p['escape spaces in path']), { 'encoding': 'utf-8' }, (err, data) => {
39
39
  if (err) {
40
40
  on_error(_ei.block(() => {
@@ -34,7 +34,7 @@ exports.$$ = _easync.__create_query(($p) => {
34
34
  }
35
35
  return path;
36
36
  };
37
- return _ei.__create_staging_result((on_value, on_error) => {
37
+ return _ei.__create_query_result((on_value, on_error) => {
38
38
  (0, fs_1.stat)(__possibly_escape_filename($p.path, $p['escape spaces in path']), (err, stats) => {
39
39
  if (err) {
40
40
  on_error(_ei.block(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exupery-core-bin",
3
- "version": "0.3.31",
3
+ "version": "0.3.33",
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,8 +27,8 @@
27
27
  "url": "git+https://github.com/corno/exupery-core.git"
28
28
  },
29
29
  "dependencies": {
30
- "exupery-core-async": "^0.3.71",
31
- "exupery-core-internals": "^0.3.13",
32
- "exupery-resources": "^0.3.16"
30
+ "exupery-core-async": "^0.3.75",
31
+ "exupery-core-internals": "^0.3.17",
32
+ "exupery-resources": "^0.3.20"
33
33
  }
34
34
  }