@onivoro/server-process 1.24.2 → 22.0.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.
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { ExecOptions } from "child_process";
4
2
  import { EncodingOption } from "fs";
5
3
  export declare class Docker {
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Docker = void 0;
4
4
  const exec_rx_1 = require("./exec-rx");
5
5
  class Docker {
6
+ containerName;
7
+ binaryName;
6
8
  constructor(containerName, binaryName) {
7
9
  this.containerName = containerName;
8
10
  this.binaryName = binaryName;
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { ExecOptions } from "child_process";
4
2
  import { EncodingOption } from "fs";
5
3
  export declare function execPromise(cmd: string, options?: EncodingOption & ExecOptions): Promise<any>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.execPromise = void 0;
3
+ exports.execPromise = execPromise;
4
4
  const child_process_1 = require("child_process");
5
5
  function execPromise(cmd, options) {
6
6
  return new Promise((resolve, reject) => {
@@ -14,4 +14,3 @@ function execPromise(cmd, options) {
14
14
  });
15
15
  });
16
16
  }
17
- exports.execPromise = execPromise;
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  import { ExecOptions } from 'child_process';
3
2
  export declare const execRxAsJson: (cmd: string, options?: ExecOptions, emitStdErr?: boolean) => import("rxjs").Observable<any>;
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  import { ExecOptions } from 'child_process';
3
2
  export declare const execRxAsLines: (cmd: string, options?: ExecOptions, emitStdErr?: boolean) => import("rxjs").Observable<string>;
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { ExecOptions } from "child_process";
4
2
  import { EncodingOption } from "fs";
5
3
  import { Observable } from "rxjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.execRx = void 0;
3
+ exports.execRx = execRx;
4
4
  const child_process_1 = require("child_process");
5
5
  const rxjs_1 = require("rxjs");
6
6
  function execRx(cmd, options, emitStdErr = true) {
@@ -16,4 +16,3 @@ function execRx(cmd, options, emitStdErr = true) {
16
16
  });
17
17
  });
18
18
  }
19
- exports.execRx = execRx;
@@ -5,6 +5,7 @@ const docker_1 = require("./docker");
5
5
  const exec_rx_1 = require("./exec-rx");
6
6
  const binaryName = 'psql';
7
7
  class PSql {
8
+ containerName;
8
9
  constructor(containerName = '') {
9
10
  this.containerName = containerName;
10
11
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.spawnPromise = void 0;
3
+ exports.spawnPromise = spawnPromise;
4
4
  const child_process_1 = require("child_process");
5
5
  const data = 'data';
6
6
  function spawnPromise(program, args, options) {
@@ -26,4 +26,3 @@ function spawnPromise(program, args, options) {
26
26
  });
27
27
  });
28
28
  }
29
- exports.spawnPromise = spawnPromise;
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { ExecOptions } from "child_process";
4
2
  import { EncodingOption } from "fs";
5
3
  export declare class Docker {
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Docker = void 0;
4
4
  const exec_rx_1 = require("./exec-rx");
5
5
  class Docker {
6
+ containerName;
7
+ binaryName;
6
8
  constructor(containerName, binaryName) {
7
9
  this.containerName = containerName;
8
10
  this.binaryName = binaryName;
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { ExecOptions } from "child_process";
4
2
  import { EncodingOption } from "fs";
5
3
  export declare function execPromise(cmd: string, options?: EncodingOption & ExecOptions): Promise<any>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.execPromise = void 0;
3
+ exports.execPromise = execPromise;
4
4
  const child_process_1 = require("child_process");
5
5
  function execPromise(cmd, options) {
6
6
  return new Promise((resolve, reject) => {
@@ -14,4 +14,3 @@ function execPromise(cmd, options) {
14
14
  });
15
15
  });
16
16
  }
17
- exports.execPromise = execPromise;
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  import { ExecOptions } from 'child_process';
3
2
  export declare const execRxAsJson: (cmd: string, options?: ExecOptions, emitStdErr?: boolean) => import("rxjs").Observable<any>;
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  import { ExecOptions } from 'child_process';
3
2
  export declare const execRxAsLines: (cmd: string, options?: ExecOptions, emitStdErr?: boolean) => import("rxjs").Observable<string>;
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { ExecOptions } from "child_process";
4
2
  import { EncodingOption } from "fs";
5
3
  import { Observable } from "rxjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.execRx = void 0;
3
+ exports.execRx = execRx;
4
4
  const child_process_1 = require("child_process");
5
5
  const rxjs_1 = require("rxjs");
6
6
  function execRx(cmd, options, emitStdErr = true) {
@@ -16,4 +16,3 @@ function execRx(cmd, options, emitStdErr = true) {
16
16
  });
17
17
  });
18
18
  }
19
- exports.execRx = execRx;
@@ -5,6 +5,7 @@ const docker_1 = require("./docker");
5
5
  const exec_rx_1 = require("./exec-rx");
6
6
  const binaryName = 'psql';
7
7
  class PSql {
8
+ containerName;
8
9
  constructor(containerName = '') {
9
10
  this.containerName = containerName;
10
11
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.spawnPromise = void 0;
3
+ exports.spawnPromise = spawnPromise;
4
4
  const child_process_1 = require("child_process");
5
5
  const data = 'data';
6
6
  function spawnPromise(program, args, options) {
@@ -26,4 +26,3 @@ function spawnPromise(program, args, options) {
26
26
  });
27
27
  });
28
28
  }
29
- exports.spawnPromise = spawnPromise;
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { ExecOptions } from "child_process";
4
2
  import { EncodingOption } from "fs";
5
3
  export declare class Docker {
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { ExecOptions } from "child_process";
4
2
  import { EncodingOption } from "fs";
5
3
  export declare function execPromise(cmd: string, options?: EncodingOption & ExecOptions): Promise<any>;
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  import { ExecOptions } from 'child_process';
3
2
  export declare const execRxAsJson: (cmd: string, options?: ExecOptions, emitStdErr?: boolean) => import("rxjs").Observable<any>;
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  import { ExecOptions } from 'child_process';
3
2
  export declare const execRxAsLines: (cmd: string, options?: ExecOptions, emitStdErr?: boolean) => import("rxjs").Observable<string>;
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { ExecOptions } from "child_process";
4
2
  import { EncodingOption } from "fs";
5
3
  import { Observable } from "rxjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onivoro/server-process",
3
- "version": "1.24.2",
3
+ "version": "22.0.0",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/onivoro/server-process.git"
6
6
  },
@@ -30,13 +30,13 @@
30
30
  "module": "commonjs"
31
31
  },
32
32
  "devDependencies": {
33
- "@onivoro/cli": "*",
33
+ "@onivoro/cli": "^22.0.3",
34
34
  "@types/jest": "*",
35
- "@types/node": "18.19",
35
+ "@types/node": "^22.7.9",
36
36
  "typescript": "*"
37
37
  },
38
38
  "engines": {
39
- "node": "18.19.1",
40
- "npm": "10.2.4"
39
+ "node": "22.10.0",
40
+ "npm": "10.9.0"
41
41
  }
42
42
  }