@onivoro/server-process 1.7.0 → 1.12.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/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- export { dockerExec } from './lib/docker-exec';
2
- export { dockerExecCommand } from './lib/docker-exec-command';
3
1
  export { Docker } from './lib/docker';
4
2
  export { execPromise } from './lib/exec-promise';
5
3
  export { execRxAsJson } from './lib/exec-rx-as-json';
package/index.js CHANGED
@@ -1,24 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PSql = exports.listen = exports.exit = exports.execRx = exports.execRxAsLines = exports.execRxAsJson = exports.execPromise = exports.Docker = exports.dockerExecCommand = exports.dockerExec = void 0;
4
- var docker_exec_1 = require("./lib/docker-exec");
5
- Object.defineProperty(exports, "dockerExec", { enumerable: true, get: function () { return docker_exec_1.dockerExec; } });
6
- var docker_exec_command_1 = require("./lib/docker-exec-command");
7
- Object.defineProperty(exports, "dockerExecCommand", { enumerable: true, get: function () { return docker_exec_command_1.dockerExecCommand; } });
8
- var docker_1 = require("./lib/docker");
9
- Object.defineProperty(exports, "Docker", { enumerable: true, get: function () { return docker_1.Docker; } });
10
- var exec_promise_1 = require("./lib/exec-promise");
11
- Object.defineProperty(exports, "execPromise", { enumerable: true, get: function () { return exec_promise_1.execPromise; } });
12
- var exec_rx_as_json_1 = require("./lib/exec-rx-as-json");
13
- Object.defineProperty(exports, "execRxAsJson", { enumerable: true, get: function () { return exec_rx_as_json_1.execRxAsJson; } });
14
- var exec_rx_as_lines_1 = require("./lib/exec-rx-as-lines");
15
- Object.defineProperty(exports, "execRxAsLines", { enumerable: true, get: function () { return exec_rx_as_lines_1.execRxAsLines; } });
16
- var exec_rx_1 = require("./lib/exec-rx");
17
- Object.defineProperty(exports, "execRx", { enumerable: true, get: function () { return exec_rx_1.execRx; } });
18
- var exit_1 = require("./lib/exit");
19
- Object.defineProperty(exports, "exit", { enumerable: true, get: function () { return exit_1.exit; } });
20
- var listen_1 = require("./lib/listen");
21
- Object.defineProperty(exports, "listen", { enumerable: true, get: function () { return listen_1.listen; } });
22
- var psql_1 = require("./lib/psql");
23
- Object.defineProperty(exports, "PSql", { enumerable: true, get: function () { return psql_1.PSql; } });
24
- //# sourceMappingURL=index.js.map
1
+ export { Docker } from './lib/docker';
2
+ export { execPromise } from './lib/exec-promise';
3
+ export { execRxAsJson } from './lib/exec-rx-as-json';
4
+ export { execRxAsLines } from './lib/exec-rx-as-lines';
5
+ export { execRx } from './lib/exec-rx';
6
+ export { exit } from './lib/exit';
7
+ export { listen } from './lib/listen';
8
+ export { PSql } from './lib/psql';
package/lib/docker.d.ts CHANGED
@@ -1,10 +1,9 @@
1
1
  /// <reference types="node" />
2
2
  import { ExecOptions } from "child_process";
3
- import { ObjectEncodingOptions } from "fs";
3
+ import { BaseEncodingOptions } from "fs";
4
4
  export declare class Docker {
5
5
  readonly containerName: string;
6
6
  readonly binaryName: string;
7
7
  constructor(containerName: string, binaryName: string);
8
- execRx(cmd: string, options?: ObjectEncodingOptions & ExecOptions, emitStdErr?: boolean): import("rxjs").Observable<any>;
9
- execCommandRx(cmd: string, options?: ObjectEncodingOptions & ExecOptions, emitStdErr?: boolean): import("rxjs").Observable<any>;
8
+ execRx(cmd: string, options?: BaseEncodingOptions & ExecOptions, emitStdErr?: boolean): import("rxjs").Observable<any>;
10
9
  }
package/lib/docker.js CHANGED
@@ -1,20 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Docker = void 0;
4
- const docker_exec_1 = require("./docker-exec");
5
- const docker_exec_command_1 = require("./docker-exec-command");
6
- const exec_rx_1 = require("./exec-rx");
7
- class Docker {
1
+ import { execRx } from "./exec-rx";
2
+ export class Docker {
8
3
  constructor(containerName, binaryName) {
9
4
  this.containerName = containerName;
10
5
  this.binaryName = binaryName;
11
6
  }
12
7
  execRx(cmd, options, emitStdErr = true) {
13
- return (0, exec_rx_1.execRx)((0, docker_exec_1.dockerExec)(this.containerName, this.binaryName, cmd), options, emitStdErr);
14
- }
15
- execCommandRx(cmd, options, emitStdErr = true) {
16
- return (0, exec_rx_1.execRx)((0, docker_exec_command_1.dockerExecCommand)(this.containerName, this.binaryName, cmd), options, emitStdErr);
8
+ return execRx(`docker exec ${this.containerName} ${this.binaryName} ${cmd}`, options, emitStdErr);
17
9
  }
18
10
  }
19
- exports.Docker = Docker;
20
- //# sourceMappingURL=docker.js.map
@@ -1,4 +1,4 @@
1
1
  /// <reference types="node" />
2
2
  import { ExecOptions } from "child_process";
3
- import { ObjectEncodingOptions } from 'fs';
4
- export declare function execPromise(cmd: string, options?: ObjectEncodingOptions & ExecOptions): Promise<any>;
3
+ import { BaseEncodingOptions } from 'fs';
4
+ export declare function execPromise(cmd: string, options?: BaseEncodingOptions & ExecOptions): Promise<any>;
@@ -1,10 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.execPromise = void 0;
4
- const child_process_1 = require("child_process");
5
- function execPromise(cmd, options) {
1
+ import { exec } from "child_process";
2
+ export function execPromise(cmd, options) {
6
3
  return new Promise((resolve, reject) => {
7
- (0, child_process_1.exec)(cmd, options, (err, stdout) => {
4
+ exec(cmd, options, (err, stdout) => {
8
5
  if (err) {
9
6
  reject(err);
10
7
  }
@@ -14,5 +11,3 @@ function execPromise(cmd, options) {
14
11
  });
15
12
  });
16
13
  }
17
- exports.execPromise = execPromise;
18
- //# sourceMappingURL=exec-promise.js.map
@@ -1,2 +1,3 @@
1
+ /// <reference types="node" />
1
2
  import { ExecOptions } from 'child_process';
2
- export declare const execRxAsJson: (cmd: string, options?: ExecOptions, emitStdErr?: boolean) => import("rxjs").Observable<any>;
3
+ export declare const execRxAsJson: (cmd: string, options?: ExecOptions | undefined, emitStdErr?: boolean) => import("rxjs").Observable<any>;
@@ -1,10 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.execRxAsJson = void 0;
4
- const operators_1 = require("rxjs/operators");
5
- const exec_rx_1 = require("./exec-rx");
6
- const execRxAsJson = (cmd, options, emitStdErr = true) => {
7
- return (0, exec_rx_1.execRx)(cmd, options, emitStdErr).pipe((0, operators_1.map)((s) => JSON.parse(s)));
1
+ import { map } from 'rxjs/operators';
2
+ import { execRx } from './exec-rx';
3
+ export const execRxAsJson = (cmd, options, emitStdErr = true) => {
4
+ return execRx(cmd, options, emitStdErr).pipe(map((s) => JSON.parse(s)));
8
5
  };
9
- exports.execRxAsJson = execRxAsJson;
10
- //# sourceMappingURL=exec-rx-as-json.js.map
@@ -1,2 +1,3 @@
1
+ /// <reference types="node" />
1
2
  import { ExecOptions } from 'child_process';
2
- export declare const execRxAsLines: (cmd: string, options?: ExecOptions, emitStdErr?: boolean) => import("rxjs").Observable<string>;
3
+ export declare const execRxAsLines: (cmd: string, options?: ExecOptions | undefined, emitStdErr?: boolean) => import("rxjs").Observable<string>;
@@ -1,11 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.execRxAsLines = void 0;
4
- const rxjs_1 = require("rxjs");
5
- const operators_1 = require("rxjs/operators");
6
- const exec_rx_1 = require("./exec-rx");
7
- const execRxAsLines = (cmd, options, emitStdErr = true) => {
8
- return (0, exec_rx_1.execRx)(cmd, options, emitStdErr).pipe((0, operators_1.concatMap)((s) => (0, rxjs_1.from)(s.split('\n'))));
1
+ import { from } from 'rxjs';
2
+ import { concatMap } from 'rxjs/operators';
3
+ import { execRx } from './exec-rx';
4
+ export const execRxAsLines = (cmd, options, emitStdErr = true) => {
5
+ return execRx(cmd, options, emitStdErr).pipe(concatMap((s) => from(s.split('\n'))));
9
6
  };
10
- exports.execRxAsLines = execRxAsLines;
11
- //# sourceMappingURL=exec-rx-as-lines.js.map
package/lib/exec-rx.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
2
  import { ExecOptions } from "child_process";
3
- import { ObjectEncodingOptions as ObjectEncodingOptions } from 'fs';
3
+ import { BaseEncodingOptions } from 'fs';
4
4
  import { Observable } from "rxjs";
5
- export declare function execRx(cmd: string, options?: ObjectEncodingOptions & ExecOptions, emitStdErr?: boolean): Observable<any>;
5
+ export declare function execRx(cmd: string, options?: BaseEncodingOptions & ExecOptions, emitStdErr?: boolean): Observable<any>;
package/lib/exec-rx.js CHANGED
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.execRx = void 0;
4
- const child_process_1 = require("child_process");
5
- const rxjs_1 = require("rxjs");
6
- function execRx(cmd, options, emitStdErr = true) {
7
- return new rxjs_1.Observable((observer) => {
8
- (0, child_process_1.exec)(cmd, options, (err, stdout, stderr) => {
1
+ import { exec } from "child_process";
2
+ import { Observable } from "rxjs";
3
+ export function execRx(cmd, options, emitStdErr = true) {
4
+ return new Observable((observer) => {
5
+ exec(cmd, options, (err, stdout, stderr) => {
9
6
  if (err) {
10
7
  observer.error(err);
11
8
  }
@@ -16,5 +13,3 @@ function execRx(cmd, options, emitStdErr = true) {
16
13
  });
17
14
  });
18
15
  }
19
- exports.execRx = execRx;
20
- //# sourceMappingURL=exec-rx.js.map
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,19 @@
1
+ import { execRx } from './exec-rx';
2
+ import { of } from 'rxjs';
3
+ import { catchError } from 'rxjs/operators';
4
+ describe(execRx.name, () => {
5
+ describe('GIVEN command succeeds', () => {
6
+ it('returns the stdout', (done) => {
7
+ execRx(`cat ${__filename}`).subscribe((d) => {
8
+ expect(d).toEqual(expect.stringContaining('execRx worx!'));
9
+ done();
10
+ }, fail);
11
+ });
12
+ });
13
+ describe('GIVEN command fails', () => {
14
+ it('emits error', (done) => {
15
+ execRx(`cat ${__filename + 'blah'}`).pipe(catchError(() => of(done())))
16
+ .subscribe();
17
+ });
18
+ });
19
+ });
package/lib/exit.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const exit: (code: number) => any;
1
+ export declare const exit: (code: number) => () => never;
package/lib/exit.js CHANGED
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.exit = void 0;
4
- const exit = (code) => process.exit.bind(process, code);
5
- exports.exit = exit;
6
- //# sourceMappingURL=exit.js.map
1
+ export const exit = (code) => process.exit.bind(process, code);
package/lib/listen.d.ts CHANGED
@@ -1,9 +1,5 @@
1
- /// <reference types="node" />
2
1
  import { Subject } from 'rxjs';
3
- export declare const stdin: Subject<unknown>;
4
- export declare const stdout: Subject<unknown>;
5
- export declare const listen: (p?: NodeJS.Process) => {
6
- stdinLines: any;
2
+ export declare const listen: () => {
7
3
  stdout: Subject<unknown>;
8
4
  stdin: Subject<unknown>;
9
5
  };
package/lib/listen.js CHANGED
@@ -1,19 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.listen = exports.stdout = exports.stdin = void 0;
4
- const rxjs_1 = require("rxjs");
5
- const operators_1 = require("rxjs/operators");
6
- exports.stdin = new rxjs_1.Subject();
7
- exports.stdout = new rxjs_1.Subject();
8
- const observe = (observable) => observable.pipe((0, operators_1.map)(buffer => buffer.toString()), (0, operators_1.concatMap)((s) => (0, rxjs_1.from)(s === null || s === void 0 ? void 0 : s.split('\n'))));
9
- const listen = (p = process) => {
10
- p.stdin.on('data', d => exports.stdin.next(d));
11
- p.stdin.on('close', () => exports.stdin.complete());
12
- return {
13
- stdinLines: observe(exports.stdin.asObservable()),
14
- stdout: exports.stdout,
15
- stdin: exports.stdin
16
- };
1
+ import { Subject } from 'rxjs';
2
+ const stdin = new Subject();
3
+ const stdout = new Subject();
4
+ export const listen = () => {
5
+ process.stdin.on('data', d => stdin.next(d));
6
+ process.stdin.on('close', () => stdin.complete());
7
+ return { stdout, stdin };
17
8
  };
18
- exports.listen = listen;
19
- //# sourceMappingURL=listen.js.map
package/lib/psql.js CHANGED
@@ -1,21 +1,16 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PSql = void 0;
4
- const docker_1 = require("./docker");
5
- const exec_rx_1 = require("./exec-rx");
1
+ import { Docker } from "./docker";
2
+ import { execRx } from "./exec-rx";
6
3
  const binaryName = 'psql';
7
- class PSql {
4
+ export class PSql {
8
5
  constructor(containerName) {
9
6
  this.containerName = containerName;
10
- this.container = new docker_1.Docker(this.containerName, binaryName);
7
+ this.container = new Docker(this.containerName, binaryName);
11
8
  }
12
9
  execRx(cmd, db, username) {
13
10
  const dbOptions = db ? ['-d', db] : [];
14
11
  const commonArgs = ['-qtAX', '-U', username, ...dbOptions, '-c'].join(' ') + cmd;
15
12
  return this.containerName
16
13
  ? this.container.execRx(commonArgs)
17
- : (0, exec_rx_1.execRx)([binaryName, commonArgs].join(' '));
14
+ : execRx([binaryName, commonArgs].join(' '));
18
15
  }
19
16
  }
20
- exports.PSql = PSql;
21
- //# sourceMappingURL=psql.js.map
package/package.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "name": "@onivoro/server-process",
3
- "version": "1.7.0",
3
+ "version": "1.12.0",
4
+ "type": "module",
5
+ "main": "index.js",
4
6
  "repository": {
5
7
  "url": "https://github.com/onivoro/server-process.git"
6
8
  },
@@ -10,13 +12,13 @@
10
12
  "release": "rm -rf dist && npm run build && npm version minor && cp package.json dist && cd dist && npm publish --access public"
11
13
  },
12
14
  "devDependencies": {
13
- "@types/jest": "^27.0.2",
14
- "@types/node": "^16.11.7",
15
- "jest": "^27.3.1",
16
- "ts-jest": "^27.0.7",
17
- "typescript": "^4.4.4"
15
+ "@types/jest": "^26.0.14",
16
+ "@types/node": "^14.11.2",
17
+ "jest": "^26.4.2",
18
+ "ts-jest": "^26.4.1",
19
+ "typescript": "^4.0.3"
18
20
  },
19
21
  "dependencies": {
20
- "rxjs": "^7.4.0"
22
+ "rxjs": "^6.6.3"
21
23
  }
22
24
  }
package/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,iDAA+C;AAAtC,yGAAA,UAAU,OAAA;AACnB,iEAA8D;AAArD,wHAAA,iBAAiB,OAAA;AAC1B,uCAAsC;AAA7B,gGAAA,MAAM,OAAA;AACf,mDAAiD;AAAxC,2GAAA,WAAW,OAAA;AACpB,yDAAqD;AAA5C,+GAAA,YAAY,OAAA;AACrB,2DAAuD;AAA9C,iHAAA,aAAa,OAAA;AACtB,yCAAuC;AAA9B,iGAAA,MAAM,OAAA;AACf,mCAAkC;AAAzB,4FAAA,IAAI,OAAA;AACb,uCAAsC;AAA7B,gGAAA,MAAM,OAAA;AACf,mCAAkC;AAAzB,4FAAA,IAAI,OAAA"}
@@ -1 +0,0 @@
1
- export declare const dockerExecCommand: (containerName: any, binaryName: any, cmd: any) => string;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dockerExecCommand = void 0;
4
- const docker_exec_1 = require("./docker-exec");
5
- const dockerExecCommand = (containerName, binaryName, cmd) => (0, docker_exec_1.dockerExec)(containerName, binaryName, `-c "${cmd}"`);
6
- exports.dockerExecCommand = dockerExecCommand;
7
- //# sourceMappingURL=docker-exec-command.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"docker-exec-command.js","sourceRoot":"","sources":["../../src/lib/docker-exec-command.ts"],"names":[],"mappings":";;;AAAA,+CAA2C;AAEpC,MAAM,iBAAiB,GAAG,CAC/B,aAAa,EACb,UAAU,EACV,GAAG,EACH,EAAE,CAAC,IAAA,wBAAU,EAAC,aAAa,EAAE,UAAU,EAAE,OAAO,GAAG,GAAG,CAAC,CAAC;AAJ7C,QAAA,iBAAiB,qBAI4B"}
@@ -1 +0,0 @@
1
- export declare const dockerExec: (containerName: any, binaryName: any, cmd: any) => string;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dockerExec = void 0;
4
- const dockerExec = (containerName, binaryName, cmd) => `docker exec ${containerName} ${binaryName} ${cmd}`;
5
- exports.dockerExec = dockerExec;
6
- //# sourceMappingURL=docker-exec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"docker-exec.js","sourceRoot":"","sources":["../../src/lib/docker-exec.ts"],"names":[],"mappings":";;;AAAO,MAAM,UAAU,GAAG,CACxB,aAAa,EACb,UAAU,EACV,GAAG,EACH,EAAE,CAAC,eAAe,aAAa,IAAI,UAAU,IAAI,GAAG,EAAE,CAAC;AAJ5C,QAAA,UAAU,cAIkC"}
package/lib/docker.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"docker.js","sourceRoot":"","sources":["../../src/lib/docker.ts"],"names":[],"mappings":";;;AAEA,+CAA2C;AAC3C,+DAA0D;AAC1D,uCAAmC;AAEnC,MAAa,MAAM;IACjB,YACkB,aAAqB,EACrB,UAAkB;QADlB,kBAAa,GAAb,aAAa,CAAQ;QACrB,eAAU,GAAV,UAAU,CAAQ;IAChC,CAAC;IAEL,MAAM,CAAC,GAAW,EAAE,OAA6C,EAAE,UAAU,GAAG,IAAI;QAClF,OAAO,IAAA,gBAAM,EAAC,IAAA,wBAAU,EAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAC3F,CAAC;IAED,aAAa,CAAC,GAAW,EAAE,OAA6C,EAAE,UAAU,GAAG,IAAI;QACzF,OAAO,IAAA,gBAAM,EAAC,IAAA,uCAAiB,EAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAClG,CAAC;CACF;AAbD,wBAaC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"exec-promise.js","sourceRoot":"","sources":["../../src/lib/exec-promise.ts"],"names":[],"mappings":";;;AAAA,iDAAkD;AAGlD,SAAgB,WAAW,CAAC,GAAW,EAAE,OAA6C;IAClF,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACnC,IAAA,oBAAI,EAAC,GAAG,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;YAC/B,IAAI,GAAG,EAAE;gBACL,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;iBAAM;gBACH,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;aAC9B;QACL,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC;AAVD,kCAUC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"exec-rx-as-json.js","sourceRoot":"","sources":["../../src/lib/exec-rx-as-json.ts"],"names":[],"mappings":";;;AACA,8CAAqC;AACrC,uCAAmC;AAE5B,MAAM,YAAY,GAAG,CAAC,GAAW,EAAE,OAAqB,EAAE,UAAU,GAAG,IAAI,EAAE,EAAE;IACpF,OAAO,IAAA,gBAAM,EAAC,GAAG,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,IAAI,CAC1C,IAAA,eAAG,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAClC,CAAA;AACH,CAAC,CAAC;AAJW,QAAA,YAAY,gBAIvB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"exec-rx-as-lines.js","sourceRoot":"","sources":["../../src/lib/exec-rx-as-lines.ts"],"names":[],"mappings":";;;AACA,+BAA4B;AAC5B,8CAA2C;AAC3C,uCAAmC;AAE5B,MAAM,aAAa,GAAG,CAAC,GAAW,EAAE,OAAqB,EAAE,UAAU,GAAG,IAAI,EAAE,EAAE;IACrF,OAAO,IAAA,gBAAM,EAAC,GAAG,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,IAAI,CAC1C,IAAA,qBAAS,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,IAAA,WAAI,EAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,CAAA;AACH,CAAC,CAAC;AAJW,QAAA,aAAa,iBAIxB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"exec-rx.js","sourceRoot":"","sources":["../../src/lib/exec-rx.ts"],"names":[],"mappings":";;;AAAA,iDAAkD;AAElD,+BAAkC;AAElC,SAAgB,MAAM,CAAC,GAAW,EAAE,OAA6C,EAAE,UAAU,GAAC,IAAI;IAC9F,OAAO,IAAI,iBAAU,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC/B,IAAA,oBAAI,EAAC,GAAG,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;YACvC,IAAI,GAAG,EAAE;gBACL,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;aACvB;iBAAM;gBACH,QAAQ,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG,UAAU,IAAI,IAAI,MAAM,EAAE,EAAE,CAAC,CAAC;gBACxD,QAAQ,CAAC,QAAQ,EAAE,CAAC;aACvB;QACL,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC;AAXD,wBAWC"}
package/lib/exit.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"exit.js","sourceRoot":"","sources":["../../src/lib/exit.ts"],"names":[],"mappings":";;;AAAO,MAAM,IAAI,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAA1D,QAAA,IAAI,QAAsD"}
package/lib/listen.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"listen.js","sourceRoot":"","sources":["../../src/lib/listen.ts"],"names":[],"mappings":";;;AAAA,+BAAqC;AACrC,8CAAgD;AAEnC,QAAA,KAAK,GAAG,IAAI,cAAO,EAAE,CAAC;AACtB,QAAA,MAAM,GAAG,IAAI,cAAO,EAAE,CAAC;AAEpC,MAAM,OAA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