@gkalpak/cli-utils 0.1.10 → 0.2.1

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/jsconfig.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "compilerOptions": {
3
+ "allowUnreachableCode": false,
4
+ "allowUnusedLabels": false,
5
+ "checkJs": true,
6
+ "exactOptionalPropertyTypes": true,
7
+ "lib": [
8
+ "ES2022",
9
+ ],
10
+ "maxNodeModuleJsDepth": 0,
11
+ "module": "CommonJS",
12
+ "moduleResolution": "Node",
13
+ "newLine": "lf",
14
+ "noEmit": true,
15
+ "noFallthroughCasesInSwitch": true,
16
+ "noImplicitAny": false,
17
+ "noImplicitOverride": true,
18
+ "noImplicitReturns": true,
19
+ "noPropertyAccessFromIndexSignature": true,
20
+ "noUncheckedIndexedAccess": true,
21
+ "noUnusedLocals": true,
22
+ "noUnusedParameters": true,
23
+ "resolveJsonModule": true,
24
+ "skipLibCheck": true,
25
+ "strict": true,
26
+ "target": "ES2022",
27
+ },
28
+ "exclude": [
29
+ "./node_modules/",
30
+ "./out/",
31
+ "./src/",
32
+ ],
33
+ "include": [
34
+ "./",
35
+ ],
36
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"expand-cmd.js","sourceRoot":"","sources":["../../src/bin/expand-cmd.ts"],"names":[],"mappings":";;;AACA,wDAAkD;AAClD,0DAAoD;AAGpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE;IAC3B,MAAM,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAChD,MAAM,EAAC,IAAI,EAAE,MAAM,EAAC,GAAG,4BAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAE5D,4BAAY;QACV,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,8BAAa,CAAC,OAAO,CAAC,IAAI,CAAC,8BAAa,CAAC,CAAC,CAAC;CAChE"}
1
+ {"version":3,"file":"expand-cmd.js","sourceRoot":"","sources":["../../src/bin/expand-cmd.ts"],"names":[],"mappings":";;;AACA,wDAAkD;AAClD,0DAAoD;AAGpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,MAAM,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAChD,MAAM,EAAC,IAAI,EAAE,MAAM,EAAC,GAAG,4BAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAE5D,4BAAY;QACV,SAAS,CAAC,GAAa,EAAE,IAAI,EAAE,MAAM,CAAC;QACtC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,8BAAa,CAAC,OAAO,CAAC,IAAI,CAAC,8BAAa,CAAC,CAAC,CAAC;AACjE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"run.js","sourceRoot":"","sources":["../../src/bin/run.ts"],"names":[],"mappings":";;;AACA,wDAAkD;AAClD,0DAAoD;AAGpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE;IAC3B,MAAM,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAChD,MAAM,EAAC,IAAI,EAAE,MAAM,EAAC,GAAG,4BAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAE5D,4BAAY;QACV,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC;QACtB,KAAK,CAAC,8BAAa,CAAC,OAAO,CAAC,IAAI,CAAC,8BAAa,CAAC,CAAC,CAAC;CACpD"}
1
+ {"version":3,"file":"run.js","sourceRoot":"","sources":["../../src/bin/run.ts"],"names":[],"mappings":";;;AACA,wDAAkD;AAClD,0DAAoD;AAGpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,MAAM,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAChD,MAAM,EAAC,IAAI,EAAE,MAAM,EAAC,GAAG,4BAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAE5D,4BAAY;QACV,GAAG,CAAC,GAAa,EAAE,IAAI,EAAE,MAAM,CAAC;QAChC,KAAK,CAAC,8BAAa,CAAC,OAAO,CAAC,IAAI,CAAC,8BAAa,CAAC,CAAC,CAAC;AACrD,CAAC"}
@@ -0,0 +1 @@
1
+ {"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.float16.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/tslib/tslib.d.ts","../lib/command-utils.d.ts","../lib/internal-utils.d.ts","../../src/bin/expand-cmd.ts","../../src/bin/run.ts","../../node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../node_modules/@types/node/web-globals/blob.d.ts","../../node_modules/@types/node/web-globals/console.d.ts","../../node_modules/@types/node/web-globals/crypto.d.ts","../../node_modules/@types/node/web-globals/domexception.d.ts","../../node_modules/@types/node/web-globals/encoding.d.ts","../../node_modules/@types/node/web-globals/events.d.ts","../../node_modules/undici-types/utility.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client-stats.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/round-robin-pool.d.ts","../../node_modules/undici-types/h2c-client.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-call-history.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/snapshot-agent.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/undici-types/retry-handler.d.ts","../../node_modules/undici-types/retry-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cache-interceptor.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/util.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/eventsource.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/web-globals/fetch.d.ts","../../node_modules/@types/node/web-globals/importmeta.d.ts","../../node_modules/@types/node/web-globals/messaging.d.ts","../../node_modules/@types/node/web-globals/navigator.d.ts","../../node_modules/@types/node/web-globals/performance.d.ts","../../node_modules/@types/node/web-globals/storage.d.ts","../../node_modules/@types/node/web-globals/streams.d.ts","../../node_modules/@types/node/web-globals/timers.d.ts","../../node_modules/@types/node/web-globals/url.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/inspector.generated.d.ts","../../node_modules/@types/node/inspector/promises.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/path/posix.d.ts","../../node_modules/@types/node/path/win32.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/quic.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/sqlite.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/test/reporters.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/util/types.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/index.d.ts"],"fileIdsList":[[68,128,129,131,139,143,146,148,149,150,162],[68,130,131,139,143,146,148,149,150,162],[131,139,143,146,148,149,150,162],[68,131,139,143,146,148,149,150,162,170],[68,131,132,137,139,142,143,146,148,149,150,152,162,167,179],[68,131,132,133,139,142,143,146,148,149,150,162],[68,131,139,143,146,148,149,150,162],[68,131,134,139,143,146,148,149,150,162,180],[68,131,135,136,139,143,146,148,149,150,153,162],[68,131,136,139,143,146,148,149,150,162,167,176],[68,131,137,139,142,143,146,148,149,150,152,162],[68,130,131,138,139,143,146,148,149,150,162],[68,131,139,140,143,146,148,149,150,162],[68,131,139,141,142,143,146,148,149,150,162],[68,130,131,139,142,143,146,148,149,150,162],[68,131,139,142,143,144,146,148,149,150,162,167,179],[68,131,139,142,143,144,146,148,149,150,162,167,170],[68,118,131,139,142,143,145,146,148,149,150,152,162,167,179],[68,131,139,142,143,145,146,148,149,150,152,162,167,176,179],[68,131,139,143,145,146,147,148,149,150,162,167,176,179],[66,67,68,69,70,71,72,73,74,75,76,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186],[68,131,139,142,143,146,148,149,150,162],[68,131,139,143,146,148,150,162],[68,131,139,143,146,148,149,150,151,162,179],[68,131,139,142,143,146,148,149,150,152,162,167],[68,131,139,143,146,148,149,150,153,162],[68,131,139,143,146,148,149,150,154,162],[68,131,139,142,143,146,148,149,150,157,162],[68,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186],[68,131,139,143,146,148,149,150,159,162],[68,131,139,143,146,148,149,150,160,162],[68,131,136,139,143,146,148,149,150,152,162,170],[68,131,139,142,143,146,148,149,150,162,163],[68,131,139,143,146,148,149,150,162,164,180,183],[68,131,139,142,143,146,148,149,150,162,167,169,170],[68,131,139,143,146,148,149,150,162,168,170],[68,131,139,143,146,148,149,150,162,170,180],[68,131,139,143,146,148,149,150,162,171],[68,128,131,139,143,146,148,149,150,162,167,173,179],[68,131,139,143,146,148,149,150,162,167,172],[68,131,139,142,143,146,148,149,150,162,174,175],[68,131,139,143,146,148,149,150,162,174,175],[68,131,136,139,143,146,148,149,150,152,162,167,176],[68,131,139,143,146,148,149,150,162,177],[68,131,139,143,146,148,149,150,152,162,178],[68,131,139,143,145,146,148,149,150,160,162,179],[68,131,139,143,146,148,149,150,162,180,181],[68,131,136,139,143,146,148,149,150,162,181],[68,131,139,143,146,148,149,150,162,167,182],[68,131,139,143,146,148,149,150,151,162,183],[68,131,139,143,146,148,149,150,162,184],[68,131,134,139,143,146,148,149,150,162],[68,131,136,139,143,146,148,149,150,162],[68,131,139,143,146,148,149,150,162,180],[68,118,131,139,143,146,148,149,150,162],[68,131,139,143,146,148,149,150,162,179],[68,131,139,143,146,148,149,150,162,185],[68,131,139,143,146,148,149,150,157,162],[68,131,139,143,146,148,149,150,162,175],[68,118,131,139,142,143,144,146,148,149,150,157,162,167,170,179,182,183,185],[68,131,139,143,146,148,149,150,162,167,186],[68,83,86,89,90,131,139,143,146,148,149,150,162,179],[68,86,131,139,143,146,148,149,150,162,167,179],[68,86,90,131,139,143,146,148,149,150,162,179],[68,131,139,143,146,148,149,150,162,167],[68,80,131,139,143,146,148,149,150,162],[68,84,131,139,143,146,148,149,150,162],[68,82,83,86,131,139,143,146,148,149,150,162,179],[68,131,139,143,146,148,149,150,152,162,176],[68,131,139,143,146,148,149,150,162,187],[68,80,131,139,143,146,148,149,150,162,187],[68,82,86,131,139,143,146,148,149,150,152,162,179],[68,77,78,79,81,85,131,139,142,143,146,148,149,150,162,167,179],[68,86,95,103,131,139,143,146,148,149,150,162],[68,78,84,131,139,143,146,148,149,150,162],[68,86,112,113,131,139,143,146,148,149,150,162],[68,78,81,86,131,139,143,146,148,149,150,162,170,179,187],[68,86,131,139,143,146,148,149,150,162],[68,82,86,131,139,143,146,148,149,150,162,179],[68,77,131,139,143,146,148,149,150,162],[68,80,81,82,84,85,86,87,88,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,113,114,115,116,117,131,139,143,146,148,149,150,162],[68,86,105,108,131,139,143,146,148,149,150,162],[68,86,95,96,97,131,139,143,146,148,149,150,162],[68,84,86,96,98,131,139,143,146,148,149,150,162],[68,85,131,139,143,146,148,149,150,162],[68,78,80,86,131,139,143,146,148,149,150,162],[68,86,90,96,98,131,139,143,146,148,149,150,162],[68,90,131,139,143,146,148,149,150,162],[68,84,86,89,131,139,143,146,148,149,150,162,179],[68,78,82,86,95,131,139,143,146,148,149,150,162],[68,86,105,131,139,143,146,148,149,150,162],[68,98,131,139,143,146,148,149,150,162],[68,80,86,112,131,139,143,146,148,149,150,162,170,185,187],[61,62,63,68,131,139,143,146,148,149,150,162]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},"8144cfc881544706b4a8d691bfd46c7358c76558d44591b3ca5fd3a68c393ccd","68a6f97633a9195418052107e759c8e5d12c061e3a2d393af4581c447099fb98",{"version":"9ca276b432fd712adc2fa99fde75cc5df572c473d1c9eecd02c5dc52f9d51273","signature":"43e818adf60173644896298637f47b01d5819b17eda46eaa32d0c7d64724d012"},{"version":"c0e7e0a15732364d3fa38b65eb1628a1f5060b49f078e8b277eb9d0a7190998a","signature":"43e818adf60173644896298637f47b01d5819b17eda46eaa32d0c7d64724d012"},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"438b41419b1df9f1fbe33b5e1b18f5853432be205991d1b19f5b7f351675541e","affectsGlobalScope":true,"impliedFormat":1},{"version":"096116f8fedc1765d5bd6ef360c257b4a9048e5415054b3bf3c41b07f8951b0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"156a859e21ef3244d13afeeba4e49760a6afa035c149dda52f0c45ea8903b338","impliedFormat":1},{"version":"10ec5e82144dfac6f04fa5d1d6c11763b3e4dbbac6d99101427219ab3e2ae887","impliedFormat":1},{"version":"615754924717c0b1e293e083b83503c0a872717ad5aa60ed7f1a699eb1b4ea5c","impliedFormat":1},{"version":"074de5b2fdead0165a2757e3aaef20f27a6347b1c36adea27d51456795b37682","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"24371e69a38fc33e268d4a8716dbcda430d6c2c414a99ff9669239c4b8f40dea","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"3e11fce78ad8c0e1d1db4ba5f0652285509be3acdd519529bc8fcef85f7dafd9","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"9c32412007b5662fd34a8eb04292fb5314ec370d7016d1c2fb8aa193c807fe22","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"4d327f7d72ad0918275cea3eee49a6a8dc8114ae1d5b7f3f5d0774de75f7439a","impliedFormat":1},{"version":"6ebe8ebb8659aaa9d1acbf3710d7dae3e923e97610238b9511c25dc39023a166","impliedFormat":1},{"version":"e85d7f8068f6a26710bff0cc8c0fc5e47f71089c3780fbede05857331d2ddec9","impliedFormat":1},{"version":"7befaf0e76b5671be1d47b77fcc65f2b0aad91cc26529df1904f4a7c46d216e9","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"8aee8b6d4f9f62cf3776cda1305fb18763e2aade7e13cea5bbe699112df85214","impliedFormat":1},{"version":"c63b9ada8c72f95aac5db92aea07e5e87ec810353cdf63b2d78f49a58662cf6c","impliedFormat":1},{"version":"1cc2a09e1a61a5222d4174ab358a9f9de5e906afe79dbf7363d871a7edda3955","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"b64d4d1c5f877f9c666e98e833f0205edb9384acc46e98a1fef344f64d6aba44","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"12950411eeab8563b349cb7959543d92d8d02c289ed893d78499a19becb5a8cc","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"c9381908473a1c92cb8c516b184e75f4d226dad95c3a85a5af35f670064d9a2f","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"3fad5618174d74a34ee006406d4eb37e8d07dd62eb1315dbf52f48d31a337547","impliedFormat":1},{"version":"7e49f52a159435fc8df4de9dc377ef5860732ca2dc9efec1640531d3cf5da7a3","impliedFormat":1},{"version":"dd4bde4bdc2e5394aed6855e98cf135dfdf5dd6468cad842e03116d31bbcc9bc","impliedFormat":1},{"version":"4d4e879009a84a47c05350b8dca823036ba3a29a3038efed1be76c9f81e45edf","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b50a819485ffe0d237bf0d131e92178d14d11e2aa873d73615a9ec578b341f5","impliedFormat":1},{"version":"9ba13b47cb450a438e3076c4a3f6afb9dc85e17eae50f26d4b2d72c0688c9251","impliedFormat":1},{"version":"b64cd4401633ea4ecadfd700ddc8323a13b63b106ac7127c1d2726f32424622c","impliedFormat":1},{"version":"37c6e5fe5715814412b43cc9b50b24c67a63c4e04e753e0d1305970d65417a60","impliedFormat":1},{"version":"1d024184fb57c58c5c91823f9d10b4915a4867b7934e89115fd0d861a9df27c8","impliedFormat":1},{"version":"ee0e4946247f842c6dd483cbb60a5e6b484fee07996e3a7bc7343dfb68a04c5d","impliedFormat":1},{"version":"ef051f42b7e0ef5ca04552f54c4552eac84099d64b6c5ad0ef4033574b6035b8","impliedFormat":1},{"version":"853a43154f1d01b0173d9cbd74063507ece57170bad7a3b68f3fa1229ad0a92f","impliedFormat":1},{"version":"56231e3c39a031bfb0afb797690b20ed4537670c93c0318b72d5180833d98b72","impliedFormat":1},{"version":"5cc7c39031bfd8b00ad58f32143d59eb6ffc24f5d41a20931269011dccd36c5e","impliedFormat":1},{"version":"12d602a8fe4c2f2ba4f7804f5eda8ba07e0c83bf5cf0cda8baffa2e9967bfb77","affectsGlobalScope":true,"impliedFormat":1},{"version":"f96a48183254c00d24575401f1a761b4ce4927d927407e7862a83e06ce5d6964","impliedFormat":1},{"version":"cc25940cfb27aa538e60d465f98bb5068d4d7d33131861ace43f04fe6947d68f","impliedFormat":1},{"version":"8db46b61a690f15b245cf16270db044dc047dce9f93b103a59f50262f677ea1f","impliedFormat":1},{"version":"01ff95aa1443e3f7248974e5a771f513cb2ac158c8898f470a1792f817bee497","impliedFormat":1},{"version":"757227c8b345c57d76f7f0e3bbad7a91ffca23f1b2547cbed9e10025816c9cb7","impliedFormat":1},{"version":"42a05d8f239f74587d4926aba8cc54792eed8e8a442c7adc9b38b516642aadfe","impliedFormat":1},{"version":"e843c4c3582948689477a98129c080d2a6919cf44b6b1eed8f992642fe141cf5","impliedFormat":1},{"version":"101f482fd48cb4c7c0468dcc6d62c843d842977aea6235644b1edd05e81fbf22","impliedFormat":1},{"version":"266bee0a41e9c3ba335583e21e9277ae03822402cf5e8e1d99f5196853613b98","affectsGlobalScope":true,"impliedFormat":1},{"version":"386606f8a297988535cb1401959041cfa7f59d54b8a9ed09738e65c98684c976","impliedFormat":1},{"version":"3ef397f12387eff17f550bc484ea7c27d21d43816bbe609d495107f44b97e933","impliedFormat":1},{"version":"1023282e2ba810bc07905d3668349fbd37a26411f0c8f94a70ef3c05fe523fcf","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"e236b5eba291f51bdf32c231673e6cab81b5410850e61f51a7a524dddadc0f95","impliedFormat":1},{"version":"9cc9d479fb2283d21495e1eb22dccce6cbeaa1e2d87832fe390f6b61b1ff537d","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f2c62938251b45715fd2a9887060ec4fbc8724727029d1cbce373747252bdd7","impliedFormat":1},{"version":"e3ace08b6bbd84655d41e244677b474fd995923ffef7149ddb68af8848b60b05","impliedFormat":1},{"version":"132580b0e86c48fab152bab850fc57a4b74fe915c8958d2ccb052b809a44b61c","impliedFormat":1},{"version":"90a278f5fab7557e69e97056c0841adf269c42697194f0bd5c5e69152637d4b3","impliedFormat":1},{"version":"69c9a5a9392e8564bd81116e1ed93b13205201fb44cb35a7fde8c9f9e21c4b23","impliedFormat":1},{"version":"5f8fc37f8434691ffac1bfd8fc2634647da2c0e84253ab5d2dd19a7718915b35","impliedFormat":1},{"version":"5981c2340fd8b076cae8efbae818d42c11ffc615994cb060b1cd390795f1be2b","impliedFormat":1},{"version":"3e4e0959c67965a12a0976d58ba1ef64c49d852aaaf0e91148a64d3681ca22c9","impliedFormat":1},{"version":"1edcf2f36fc332615846bde6dcc71a8fe526065505bc5e3dcfd65a14becdf698","affectsGlobalScope":true,"impliedFormat":1},{"version":"0250da3eb85c99624f974e77ef355cdf86f43980251bc371475c2b397ba55bcd","impliedFormat":1},{"version":"f1c93e046fb3d9b7f8249629f4b63dc068dd839b824dd0aa39a5e68476dc9420","impliedFormat":1},{"version":"3d3a5f27ffbc06c885dd4d5f9ee20de61faf877fe2c3a7051c4825903d9a7fdc","impliedFormat":1},{"version":"12806f9f085598ef930edaf2467a5fa1789a878fba077cd27e85dc5851e11834","impliedFormat":1},{"version":"1c7573c37465af751be31717e70588b16a272a974e790427fc9558b8e9b199d1","impliedFormat":1},{"version":"a43fe41c33d0a192a0ecaf9b92e87bef3709c9972e6d53c42c49251ccb962d69","impliedFormat":1},{"version":"a177959203c017fad3ecc4f3d96c8757a840957a4959a3ae00dab9d35961ca6c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc727ccf9b36e257ff982ea0badeffbfc2c151802f741bddff00c6af3b784cf","impliedFormat":1},{"version":"ca279fadaa088b63f123c86ffb4dda5116f8dba23e6e93e63a2b48262320be38","impliedFormat":1},{"version":"4844a4c9b4b1e812b257676ed8a80b3f3be0e29bf05e742cc2ea9c3c6865e6c6","impliedFormat":1},{"version":"064878a60367e0407c42fb7ba02a2ea4d83257357dc20088e549bd4d89433e9c","impliedFormat":1},{"version":"cca8917838a876e2d7016c9b6af57cbf11fdf903c5fdd8e613fa31840b2957bf","impliedFormat":1},{"version":"d91ae55e4282c22b9c21bc26bd3ef637d3fe132507b10529ae68bf76f5de785b","impliedFormat":1},{"version":"b484ec11ba00e3a2235562a41898d55372ccabe607986c6fa4f4aba72093749f","impliedFormat":1},{"version":"bc9b17634d5e75b9040d8b414bb5bc936273e8100212816e905e39948cd9de96","impliedFormat":1},{"version":"41ef7992c555671a8fe54db302788adefa191ded810a50329b79d20a6772d14c","impliedFormat":1},{"version":"041a7781b9127ab568d2cdcce62c58fdea7c7407f40b8c50045d7866a2727130","impliedFormat":1},{"version":"4c5e90ddbcd177ad3f2ffc909ae217c87820f1e968f6959e4b6ba38a8cec935e","impliedFormat":1},{"version":"b70dd9a44e1ac42f030bb12e7d79117eac7cb74170d72d381a1e7913320af23a","impliedFormat":1},{"version":"55cdbeebe76a1fa18bbd7e7bf73350a2173926bd3085bb050cf5a5397025ee4e","impliedFormat":1}],"root":[64,65],"options":{"allowUnreachableCode":false,"allowUnusedLabels":false,"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"importHelpers":true,"module":1,"newLine":1,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"..","rootDir":"../../src","sourceMap":true,"strict":true,"target":9},"referencedMap":[[128,1],[129,1],[130,2],[68,3],[131,4],[132,5],[133,6],[66,7],[134,8],[135,9],[136,10],[137,11],[138,12],[139,13],[140,13],[141,14],[142,15],[143,16],[144,17],[69,7],[67,7],[145,18],[146,19],[147,20],[187,21],[148,22],[149,23],[150,22],[151,24],[152,25],[153,26],[154,27],[155,27],[156,27],[157,28],[158,29],[159,30],[160,31],[161,32],[162,33],[163,33],[164,34],[165,7],[166,7],[167,35],[168,36],[169,35],[170,37],[171,38],[172,39],[173,40],[174,41],[175,42],[176,43],[177,44],[178,45],[179,46],[180,47],[181,48],[182,49],[183,50],[184,51],[70,22],[71,7],[72,52],[73,53],[74,7],[75,54],[76,7],[119,55],[120,56],[121,57],[122,57],[123,58],[124,7],[125,4],[126,59],[127,56],[185,60],[186,61],[61,7],[59,7],[60,7],[10,7],[12,7],[11,7],[2,7],[13,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[20,7],[3,7],[21,7],[22,7],[4,7],[23,7],[27,7],[24,7],[25,7],[26,7],[28,7],[29,7],[30,7],[5,7],[31,7],[32,7],[33,7],[34,7],[6,7],[38,7],[35,7],[36,7],[37,7],[39,7],[7,7],[40,7],[45,7],[46,7],[41,7],[42,7],[43,7],[44,7],[8,7],[50,7],[47,7],[48,7],[49,7],[51,7],[9,7],[52,7],[53,7],[54,7],[56,7],[55,7],[1,7],[57,7],[58,7],[95,62],[107,63],[92,64],[108,65],[117,66],[83,67],[84,68],[82,69],[116,70],[111,71],[115,72],[86,73],[104,74],[85,75],[114,76],[80,77],[81,71],[87,78],[88,7],[94,79],[91,78],[78,80],[118,81],[109,82],[98,83],[97,78],[99,84],[102,85],[96,86],[100,87],[112,70],[89,88],[90,89],[103,90],[79,65],[106,91],[105,78],[93,89],[101,92],[110,7],[77,7],[113,93],[62,7],[63,7],[64,94],[65,94]],"latestChangedDtsFile":"./run.d.ts","version":"5.9.3"}
@@ -136,7 +136,7 @@ export declare class CommandUtils {
136
136
  private parseRawCmd;
137
137
  private parseSingleCmd;
138
138
  private transformForDryrun;
139
- private trimOutput;
139
+ private cleanUpOutput;
140
140
  }
141
141
  export declare const commandUtils: CommandUtils;
142
142
  //# sourceMappingURL=command-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command-utils.d.ts","sourceRoot":"","sources":["../../src/lib/command-utils.ts"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEhC;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAQD,qBAAa,YAAY;IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACU,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC;IAuE/F;;;;;;;;;;;;;OAaG;IACI,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG;QAAC,IAAI,EAAE,MAAM,EAAE,CAAC;QAAC,MAAM,EAAE,UAAU,CAAA;KAAC;IAkB9E;;;;;;;;;;;;;;;;OAgBG;IACU,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,GAAE,MAAM,EAAO,EAAE,MAAM,GAAE,UAAe,GAAG,OAAO,CAAC,MAAM,CAAC;IAWnG;;;;;;;;;;;;;;;OAeG;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EAAO,EAAE,MAAM,GAAE,UAAe,GAAG,OAAO,CAAC,MAAM,CAAC;IAWnG;;;;;;;;;;;;;;;OAeG;IACI,eAAe,CAClB,MAAM,EAAE,MAAM,EACd,EAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,UAAc,EAAE,WAAW,EAAC,GAAE,UAAe,GAC5E,OAAO,CAAC,MAAM,CAAC;IAmFlB,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,QAAQ;IAQhB,OAAO,CAAC,WAAW;IAiBnB,OAAO,CAAC,cAAc;IA+BtB,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,aAAa;CAMtB;AAED,eAAO,MAAM,YAAY,cAAqB,CAAC"}
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.commandUtils = exports.CommandUtils = void 0;
4
- const tslib_1 = require("tslib");
5
- const child_process_1 = require("child_process");
6
- const stream_1 = require("stream");
4
+ const node_child_process_1 = require("node:child_process");
5
+ const node_stream_1 = require("node:stream");
7
6
  const internal_utils_1 = require("./internal-utils");
8
7
  const process_utils_1 = require("./process-utils");
9
8
  class CommandUtils {
@@ -40,63 +39,61 @@ class CommandUtils {
40
39
  * @return A promise that resolves with the expanded command, with arguments substituted (including running
41
40
  * default/fallback value sub-commands, as necessary).
42
41
  */
43
- expandCmd(cmd, runtimeArgs, config) {
44
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
45
- // 1: leading \s
46
- // 2, 5: $*
47
- // 3, 6: $\d+*
48
- // 4, 7: $\d+
49
- // 8: default/fallback value (possibly with `returnOutput` limit)
50
- const re = /(\s{0,1})\\?\$(?:(\*)|([1-9]+)\*|(\d+)|{(?:(\*)|([1-9]+)\*|(\d+))(?::([^}]*))?})/g;
51
- const subCommands = new Map();
52
- let expandedCmd = cmd.replace(re, (_, g1, g2, g3, g4, g5, g6, g7, g8) => {
53
- const transformValue = (val) => !val ? '' : `${g1}${val}`;
54
- // Value based on the supplied arguments.
55
- const startIdx = (g2 || g5) ? 0 : (g3 || g6 || g4 || g7) - 1;
56
- const endIdx = (g2 || g5 || g3 || g6) ? runtimeArgs.length : +(g4 || g7);
57
- let value = runtimeArgs.slice(startIdx, endIdx).join(' ');
58
- // No argument(s), fall back to default.
59
- if (!value && g8) {
60
- const match = /^::(.+)$/.exec(g8);
61
- if (!match) {
62
- // It is a plain ol' fallback value.
63
- value = g8;
64
- }
65
- else {
66
- // It is a command.
67
- let returnOutput = true;
68
- const subCmd = match[1].replace(/ --gkcu-returnOutput=(\d+)$/, (__, g) => {
69
- returnOutput = +g;
70
- return '';
71
- });
72
- const placeholder = `${Math.random()}`;
73
- if (!subCommands.has(subCmd)) {
74
- subCommands.set(subCmd, []);
75
- }
76
- subCommands.get(subCmd).push({ placeholder, returnOutput, transformValue });
77
- return placeholder;
42
+ async expandCmd(cmd, runtimeArgs, config) {
43
+ // 1: leading \s
44
+ // 2, 5: $*
45
+ // 3, 6: $\d+*
46
+ // 4, 7: $\d+
47
+ // 8: default/fallback value (possibly with `returnOutput` limit)
48
+ const re = /(\s{0,1})\\?\$(?:(\*)|([1-9]+)\*|(\d+)|{(?:(\*)|([1-9]+)\*|(\d+))(?::([^}]*))?})/g;
49
+ const subCommands = new Map();
50
+ let expandedCmd = cmd.replace(re, (_, g1, g2, g3, g4, g5, g6, g7, g8) => {
51
+ const transformValue = (val) => !val ? '' : `${g1}${val}`;
52
+ // Value based on the supplied arguments.
53
+ const startIdx = (g2 || g5) ? 0 : (g3 || g6 || g4 || g7) - 1;
54
+ const endIdx = (g2 || g5 || g3 || g6) ? runtimeArgs.length : +(g4 || g7);
55
+ let value = runtimeArgs.slice(startIdx, endIdx).join(' ');
56
+ // No argument(s), fall back to default.
57
+ if (!value && g8) {
58
+ const match = /^::(.+)$/.exec(g8);
59
+ if (!match) {
60
+ // It is a plain ol' fallback value.
61
+ value = g8;
62
+ }
63
+ else {
64
+ // It is a command.
65
+ let returnOutput = true;
66
+ const subCmd = match[1].replace(/ --gkcu-returnOutput=(\d+)$/, (__, g) => {
67
+ returnOutput = +g;
68
+ return '';
69
+ });
70
+ const placeholder = `${Math.random()}`;
71
+ if (!subCommands.has(subCmd)) {
72
+ subCommands.set(subCmd, []);
78
73
  }
74
+ subCommands.get(subCmd).push({ placeholder, returnOutput, transformValue });
75
+ return placeholder;
79
76
  }
80
- return transformValue(value);
81
- });
82
- const subCommandPromises = Array.from(subCommands.entries()).map(([subCmd, infoList]) => {
83
- const hasNumericReturnOutput = infoList.some(info => typeof info.returnOutput === 'number');
84
- const returnOutput = hasNumericReturnOutput ? Infinity : true;
85
- const runConfig = Object.assign({}, config, { returnOutput });
86
- const subCmdPromise = this.run(subCmd, runtimeArgs, runConfig).then(result => this.trimOutput(result));
87
- const replPromises = infoList.map(info => subCmdPromise.then(result => {
88
- // Retrieve the part of the output that this sub-command cares about.
89
- const value = (typeof info.returnOutput === 'number') ? this.getLastLines(result, info.returnOutput) : result;
90
- // Construct the replacement for this sub-command (e.g. leading whitespace may vary).
91
- const repl = info.transformValue(config.dryrun ? `{{${value.replace(/\s/g, '_')}}}` : value);
92
- // Replace in `expandedCmd`.
93
- expandedCmd = expandedCmd.replace(info.placeholder, repl);
94
- }));
95
- return Promise.all(replPromises);
96
- });
97
- yield Promise.all(subCommandPromises);
98
- return expandedCmd;
77
+ }
78
+ return transformValue(value);
79
+ });
80
+ const subCommandPromises = Array.from(subCommands.entries()).map(([subCmd, infoList]) => {
81
+ const hasNumericReturnOutput = infoList.some(info => typeof info.returnOutput === 'number');
82
+ const returnOutput = hasNumericReturnOutput ? Infinity : true;
83
+ const runConfig = Object.assign({}, config, { returnOutput });
84
+ const subCmdPromise = this.run(subCmd, runtimeArgs, runConfig).then(result => this.cleanUpOutput(result));
85
+ const replPromises = infoList.map(info => subCmdPromise.then(result => {
86
+ // Retrieve the part of the output that this sub-command cares about.
87
+ const value = (typeof info.returnOutput === 'number') ? this.getLastLines(result, info.returnOutput) : result;
88
+ // Construct the replacement for this sub-command (e.g. leading whitespace may vary).
89
+ const repl = info.transformValue(config.dryrun ? `{{${value.replace(/\s/g, '_')}}}` : value);
90
+ // Replace in `expandedCmd`.
91
+ expandedCmd = expandedCmd.replace(info.placeholder, repl);
92
+ }));
93
+ return Promise.all(replPromises);
99
94
  });
95
+ await Promise.all(subCommandPromises);
96
+ return expandedCmd;
100
97
  }
101
98
  /**
102
99
  * Preprocess a list of input arguments (e.g. `process.argv.slice(2)`) into a list of arguments that can be used for
@@ -143,15 +140,13 @@ class CommandUtils {
143
140
  * @return A promise that resolves once the command has been executed. The resolved value is either an empty string or
144
141
  * (some part of) the output of the command (if `returnOutput` is set and not false).
145
142
  */
146
- run(cmd, runtimeArgs = [], config = {}) {
147
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
148
- const expandedCmd = yield this.expandCmd(cmd, runtimeArgs, config);
149
- if (config.debug) {
150
- this.debugMessage(`Input command: '${cmd}'`);
151
- this.debugMessage(`Expanded command: '${expandedCmd}'`);
152
- }
153
- return this.spawnAsPromised(expandedCmd, config);
154
- });
143
+ async run(cmd, runtimeArgs = [], config = {}) {
144
+ const expandedCmd = await this.expandCmd(cmd, runtimeArgs, config);
145
+ if (config.debug) {
146
+ this.debugMessage(`Input command: '${cmd}'`);
147
+ this.debugMessage(`Expanded command: '${expandedCmd}'`);
148
+ }
149
+ return this.spawnAsPromised(expandedCmd, config);
155
150
  }
156
151
  /**
157
152
  * Spawn a complex command (or series of piped commands) and return a promise that resolves or rejects based on the
@@ -179,9 +174,7 @@ class CommandUtils {
179
174
  if (debug) {
180
175
  this.debugMessage(' Reseting the output and cursor styles.');
181
176
  }
182
- // Reset the output style (e.g. bold) and show the cursor.
183
- process.stdout.write('\u001b[0m');
184
- process.stdout.write('\u001b[?25h');
177
+ internal_utils_1.internalUtils.resetOutputStyle(process.stdout);
185
178
  };
186
179
  const cancelCleanUp = process_utils_1.processUtils.doOnExit(process, cleanUp);
187
180
  const unsuppressTbj = suppressTbj ?
@@ -215,7 +208,7 @@ class CommandUtils {
215
208
  this.debugMessage(` Running ${idx + 1}/${arr.length}: '${executable}', '${args.join(', ')}'\n` +
216
209
  ` (sapVersion: ${sapVersion}, stdio: ${options.stdio.join(', ')})`);
217
210
  }
218
- const proc = child_process_1.spawn(executable, args, options).
211
+ const proc = (0, node_child_process_1.spawn)(executable, args, options).
219
212
  on('error', reject).
220
213
  on('exit', (code, signal) => {
221
214
  if (code !== 0)
@@ -228,7 +221,7 @@ class CommandUtils {
228
221
  return proc.stdout;
229
222
  }, null);
230
223
  if (returnOutput) {
231
- const outputStream = new stream_1.PassThrough();
224
+ const outputStream = new node_stream_1.PassThrough();
232
225
  outputStream.on('data', d => data += d);
233
226
  lastStdout.pipe(outputStream);
234
227
  if (returnOutputSubset) {
@@ -240,7 +233,7 @@ class CommandUtils {
240
233
  }
241
234
  // Methods - Private
242
235
  debugMessage(msg) {
243
- const { gray } = require('chalk');
236
+ const { gray } = require('chalk').default; // eslint-disable-line @typescript-eslint/no-require-imports
244
237
  const formatted = msg.
245
238
  split('\n').
246
239
  map(line => gray(`[debug] ${line}`)).
@@ -270,10 +263,11 @@ class CommandUtils {
270
263
  return rawCmd.
271
264
  split(/\s+\|\s+/).
272
265
  map(cmd => this.parseSingleCmd(cmd, dryrun));
273
- case 2:
266
+ case 2: {
274
267
  // Since it will be executed in a shell, there is no need to handle anything specially. (Or is it?)
275
268
  const executable = !dryrun ? rawCmd : `node --print '${JSON.stringify(rawCmd).replace(/'/g, '\\\'')}'`;
276
- return [{ executable, args: [] }];
269
+ return [{ args: [], executable }];
270
+ }
277
271
  default:
278
272
  throw new Error(`Unknown 'sapVersion' (${sapVersion}).`);
279
273
  }
@@ -285,7 +279,7 @@ class CommandUtils {
285
279
  const newTokens = (idx % 2) ? [`"${str}"`] : str.split(' ');
286
280
  const lastToken = arr[arr.length - 1];
287
281
  if (lastToken)
288
- arr[arr.length - 1] += newTokens.shift();
282
+ arr[arr.length - 1] = lastToken + newTokens.shift();
289
283
  return arr.concat(newTokens);
290
284
  }, []).
291
285
  filter(x => x).
@@ -311,10 +305,10 @@ class CommandUtils {
311
305
  this.insertAfter(tokens, 'echo', '&&');
312
306
  this.insertAfter(tokens, 'echo', '||');
313
307
  }
314
- trimOutput(str) {
315
- const cursorMoveRe = /\u001b\[\d+[a-d]/gi;
316
- return str.
317
- replace(cursorMoveRe, '').
308
+ cleanUpOutput(str) {
309
+ return internal_utils_1.internalUtils.
310
+ stripOutputStyleResetSequences(str).
311
+ replace(internal_utils_1.internalUtils.escapeSeqRes.moveCursor, '').
318
312
  trim();
319
313
  }
320
314
  }
@@ -1 +1 @@
1
- {"version":3,"file":"command-utils.js","sourceRoot":"","sources":["../../src/lib/command-utils.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAClD,mCAA6C;AAC7C,qDAA+C;AAC/C,mDAA6C;AAyD7C,MAAa,YAAY;IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACU,SAAS,CAAC,GAAW,EAAE,WAAqB,EAAE,MAAkB;;YAC3E,gBAAgB;YAChB,WAAW;YACX,cAAc;YACd,aAAa;YACb,iEAAiE;YACjE,MAAM,EAAE,GAAG,mFAAmF,CAAC;YAC/F,MAAM,WAAW,GAAG,IAAI,GAAG,EAA6B,CAAC;YAEzD,IAAI,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;gBACtE,MAAM,cAAc,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,GAAG,EAAE,CAAC;gBAElE,yCAAyC;gBACzC,MAAM,QAAQ,GAAG,CAAC,EAA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ArWD,oCAqWC;AAEY,QAAA,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC"}
@@ -1,7 +1,19 @@
1
1
  export declare class InternalUtils {
2
+ readonly escapeSeqs: {
3
+ readonly resetBold: "\u001B[0m";
4
+ readonly showCursor: "\u001B[?25h";
5
+ };
6
+ readonly escapeSeqRes: {
7
+ readonly moveCursor: RegExp;
8
+ readonly resetBold: RegExp;
9
+ readonly showCursor: RegExp;
10
+ };
11
+ private outputStyleResetSeqNames;
2
12
  finallyAsPromised<T>(promise: Promise<T>, callback: () => void | Promise<void>): Promise<T>;
3
13
  noop(): undefined;
4
14
  onError(err?: Error | string | number): void;
15
+ resetOutputStyle(stream: NodeJS.WriteStream): void;
16
+ stripOutputStyleResetSequences(str: string): string;
5
17
  }
6
18
  export declare const internalUtils: InternalUtils;
7
19
  //# sourceMappingURL=internal-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal-utils.d.ts","sourceRoot":"","sources":["../../src/lib/internal-utils.ts"],"names":[],"mappings":"AAAA,qBAAa,aAAa;IACX,iBAAiB,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAMjG,IAAI;IAIJ,OAAO,CAAC,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI;CAYpD;AAED,eAAO,MAAM,aAAa,eAAsB,CAAC"}
1
+ {"version":3,"file":"internal-utils.d.ts","sourceRoot":"","sources":["../../src/lib/internal-utils.ts"],"names":[],"mappings":"AAAA,qBAAa,aAAa;IACxB,SAAgB,UAAU;;;MAGf;IACX,SAAgB,YAAY;;;;MAMjB;IAEX,OAAO,CAAC,wBAAwB,CAAwC;IAE3D,iBAAiB,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAMjG,IAAI;IAIJ,OAAO,CAAC,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI;IAa5C,gBAAgB,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW;IAK3C,8BAA8B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;CAG3D;AAED,eAAO,MAAM,aAAa,eAAsB,CAAC"}
@@ -1,18 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.internalUtils = exports.InternalUtils = void 0;
4
- const tslib_1 = require("tslib");
5
4
  class InternalUtils {
6
- finallyAsPromised(promise, callback) {
7
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
8
- return promise.then(val => Promise.resolve(callback()).then(() => val), err => Promise.resolve(callback()).then(() => Promise.reject(err)));
9
- });
5
+ escapeSeqs = {
6
+ resetBold: '\u001b[0m',
7
+ showCursor: '\u001b[?25h',
8
+ };
9
+ escapeSeqRes = {
10
+ /* eslint-disable no-control-regex */
11
+ moveCursor: /\u001b\[\d+[a-d]/gi,
12
+ resetBold: /\u001b\[0m/gi,
13
+ showCursor: /\u001b\[\?25h/gi,
14
+ /* eslint-enable no-control-regex */
15
+ };
16
+ outputStyleResetSeqNames = ['resetBold', 'showCursor'];
17
+ async finallyAsPromised(promise, callback) {
18
+ return promise.then(val => Promise.resolve(callback()).then(() => val), err => Promise.resolve(callback()).then(() => Promise.reject(err)));
10
19
  }
11
20
  noop() {
12
21
  return undefined;
13
22
  }
14
23
  onError(err) {
15
- const { red } = require('chalk');
24
+ const { red } = require('chalk').default; // eslint-disable-line @typescript-eslint/no-require-imports
16
25
  const isExitCode = !!err && (typeof err === 'number');
17
26
  const errorMsg = (err instanceof Error) ?
18
27
  err.stack : isExitCode ?
@@ -21,6 +30,13 @@ class InternalUtils {
21
30
  console.error(red(errorMsg));
22
31
  process.exit(isExitCode ? err : 1);
23
32
  }
33
+ resetOutputStyle(stream) {
34
+ // Reset the output style (e.g. bold) and show the cursor.
35
+ this.outputStyleResetSeqNames.forEach(seqName => stream.write(this.escapeSeqs[seqName]));
36
+ }
37
+ stripOutputStyleResetSequences(str) {
38
+ return this.outputStyleResetSeqNames.reduce((aggr, seqName) => aggr.replace(this.escapeSeqRes[seqName], ''), str);
39
+ }
24
40
  }
25
41
  exports.InternalUtils = InternalUtils;
26
42
  exports.internalUtils = new InternalUtils();
@@ -1 +1 @@
1
- {"version":3,"file":"internal-utils.js","sourceRoot":"","sources":["../../src/lib/internal-utils.ts"],"names":[],"mappings":";;;;AAAA,MAAa,aAAa;IACX,iBAAiB,CAAI,OAAmB,EAAE,QAAoC;;YACzF,OAAO,OAAO,CAAC,IAAI,CACjB,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAClD,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACxE,CAAC;KAAA;IAEM,IAAI;QACT,OAAO,SAAS,CAAC;IACnB,CAAC;IAEM,OAAO,CAAC,GAA6B;QAC1C,MAAM,EAAC,GAAG,EAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;QAE/B,MAAM,UAAU,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC;QACtD,MAAM,QAAQ,GAAG,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC;YACvC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;YACxB,cAAc,GAAG,EAAE,CAAC,CAAC;YACrB,UAAU,GAAG,EAAE,CAAC;QA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AAK,QAAQ,CAAC,CAAC;QACtD,MAAM,QAAQ,GAAG,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC;YACvC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;YACtB,cAAc,GAAG,EAAE,CAAC,CAAC;YACrB,UAAU,GAAG,EAAE,CAAC;QAEpB,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC7B,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,GAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/C,CAAC;IAEM,gBAAgB,CAAC,MAA0B;QAChD,0DAA0D;QAC1D,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3F,CAAC;IAEM,8BAA8B,CAAC,GAAW;QAC/C,OAAO,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;IACpH,CAAC;CACF;AA9CD,sCA8CC;AAEY,QAAA,aAAa,GAAG,IAAI,aAAa,EAAE,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export declare class ProcessUtils {
3
2
  /**
4
3
  * Run the specified `action`, when `exit` or `SIGINT` are fired on the specified process.
@@ -1 +1 @@
1
- {"version":3,"file":"process-utils.d.ts","sourceRoot":"","sources":["../../src/lib/process-utils.ts"],"names":[],"mappings":";AAGA,qBAAa,YAAY;IACvB;;;;;;;OAOG;IACI,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC,OAAO,KAAK,IAAI;IA0B7F;;;;;;;;;;;;;;OAcG;IACI,qCAAqC,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,GAAG,MAAM,IAAI;CAkB/E;AAED,eAAO,MAAM,YAAY,cAAqB,CAAC"}
1
+ {"version":3,"file":"process-utils.d.ts","sourceRoot":"","sources":["../../src/lib/process-utils.ts"],"names":[],"mappings":"AAGA,qBAAa,YAAY;IACvB;;;;;;;OAOG;IACI,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC,OAAO,KAAK,IAAI;IA0B7F;;;;;;;;;;;;;;OAcG;IACI,qCAAqC,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,GAAG,MAAM,IAAI;CAkB/E;AAED,eAAO,MAAM,YAAY,cAAqB,CAAC"}
@@ -55,11 +55,11 @@ class ProcessUtils {
55
55
  return internal_utils_1.internalUtils.noop;
56
56
  }
57
57
  // On Windows, suppress the "Terminate batch job (Y/N)?" confirmation.
58
- const rl = require('readline');
58
+ const rl = require('readline'); // eslint-disable-line @typescript-eslint/no-require-imports
59
59
  const rlInstance = rl.
60
60
  createInterface({ input: proc.stdin, output: proc.stdout }).
61
61
  on('SIGINT', () => {
62
- const { exec } = require('child_process');
62
+ const { exec } = require('child_process'); // eslint-disable-line @typescript-eslint/no-require-imports
63
63
  exec(`taskkill /F /PID ${proc.pid} /T`);
64
64
  });
65
65
  // Closing synchronously sometimes results in stale output (for whatever reason).
@@ -1 +1 @@
1
- {"version":3,"file":"process-utils.js","sourceRoot":"","sources":["../../src/lib/process-utils.ts"],"names":[],"mappings":";;;AAAA,qDAA+C;AAG/C,MAAa,YAAY;IACvB;;;;;;;OAOG;IACI,QAAQ,CAAC,IAAoB,EAAE,MAAuD;QAC3F,IAAI,CAAC,IAAI,EAAE;YACT,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC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AW,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;QAEpE,OAAO,GAAG,EAAE;YACV,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;YAC1C,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;QACzE,CAAC,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACI,qCAAqC,CAAC,IAAoB;QAC/D,IAAI,IAAI,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;YAC9B,yDAAyD;YACzD,OAAO,8BAAa,CAAC,IAAI,CAAC;QAC5B,CAAC;QAED,sEAAsE;QACtE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,4DAA4D;QAC5F,MAAM,UAAU,GAAG,EAAE;YACnB,eAAe,CAAC,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAC,CAAC;YACzD,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;YAChB,MAAM,EAAC,IAAI,EAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,4DAA4D;YACrG,IAAI,CAAC,oBAAoB,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAC;QAEL,iFAAiF;QACjF,OAAO,GAAG,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC;IACvD,CAAC;CACF;AApED,oCAoEC;AAEY,QAAA,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC"}
@@ -65,7 +65,6 @@ export declare class TestingUtils {
65
65
  */
66
66
  withJasmineTimeout(newTimeout: number, testSuite: () => void): () => void;
67
67
  private normalizeNewlines;
68
- private stripCleanUpCharacters;
69
68
  }
70
69
  export declare const testingUtils: TestingUtils;
71
70
  //# sourceMappingURL=testing-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing-utils.d.ts","sourceRoot":"","sources":["../../src/lib/testing-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAGzD,qBAAa,YAAY;IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACU,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC;IAKvE;;;;;;;;;;;;;;;;;;OAkBG;IACI,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,KAAK,OAAO,CAAC,MAAM,CAAC;IAKxG;;;;;;;;;;;;;OAaG;IACI,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAgBhF,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,sBAAsB;CAG/B;AAED,eAAO,MAAM,YAAY,cAAqB,CAAC"}
1
+ {"version":3,"file":"testing-utils.d.ts","sourceRoot":"","sources":["../../src/lib/testing-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAIzD,qBAAa,YAAY;IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACU,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC;IAKvE;;;;;;;;;;;;;;;;;;OAkBG;IACI,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,KAAK,OAAO,CAAC,MAAM,CAAC;IAKxG;;;;;;;;;;;;;OAaG;IACI,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAgBhF,OAAO,CAAC,iBAAiB;CAG1B;AAED,eAAO,MAAM,YAAY,cAAqB,CAAC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.testingUtils = exports.TestingUtils = void 0;
4
- const tslib_1 = require("tslib");
4
+ /// <reference types="jasmine" />
5
5
  const command_utils_1 = require("./command-utils");
6
+ const internal_utils_1 = require("./internal-utils");
6
7
  class TestingUtils {
7
8
  /**
8
9
  * Run the specified command using {@link CommandUtils#spawnAsPromised spawnAsPromised()}, capture the output and
@@ -32,11 +33,9 @@ class TestingUtils {
32
33
  * @return A promise that resolves once the command has been executed. The resolved value is the output of the
33
34
  * command.
34
35
  */
35
- testCmd(cmd, config) {
36
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
37
- const result = yield command_utils_1.commandUtils.spawnAsPromised(cmd, Object.assign({ returnOutput: true }, config));
38
- return this.normalizeNewlines(this.stripCleanUpCharacters(result)).trim();
39
- });
36
+ async testCmd(cmd, config) {
37
+ const result = await command_utils_1.commandUtils.spawnAsPromised(cmd, { returnOutput: true, ...config });
38
+ return this.normalizeNewlines(internal_utils_1.internalUtils.stripOutputStyleResetSequences(result).trim());
40
39
  }
41
40
  /**
42
41
  * Create a function that can be used for testing a Node.js script with {@link TestingUtils#testCmd testCmd()}. It can
@@ -90,9 +89,6 @@ class TestingUtils {
90
89
  normalizeNewlines(str) {
91
90
  return str.replace(/\r\n?/g, '\n');
92
91
  }
93
- stripCleanUpCharacters(str) {
94
- return str.replace(/\u001b\[(?:0m|\?25h)/gi, '');
95
- }
96
92
  }
97
93
  exports.TestingUtils = TestingUtils;
98
94
  exports.testingUtils = new TestingUtils();
@@ -1 +1 @@
1
- {"version":3,"file":"testing-utils.js","sourceRoot":"","sources":["../../src/lib/testing-utils.ts"],"names":[],"mappings":";;;;AAAA,m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BAAoB;IACZ,iBAAiB,CAAC,GAAW;QACnC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IACrC,CAAC;CACF;AA3FD,oCA2FC;AAEY,QAAA,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.float16.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/tslib/tslib.d.ts","../../src/lib/internal-utils.ts","../../src/lib/process-utils.ts","../../src/lib/command-utils.ts","../../node_modules/@types/jasmine/index.d.ts","../../src/lib/testing-utils.ts","../../src/lib/index.ts","../../node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../node_modules/@types/node/web-globals/blob.d.ts","../../node_modules/@types/node/web-globals/console.d.ts","../../node_modules/@types/node/web-globals/crypto.d.ts","../../node_modules/@types/node/web-globals/domexception.d.ts","../../node_modules/@types/node/web-globals/encoding.d.ts","../../node_modules/@types/node/web-globals/events.d.ts","../../node_modules/undici-types/utility.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client-stats.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/round-robin-pool.d.ts","../../node_modules/undici-types/h2c-client.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-call-history.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/snapshot-agent.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/undici-types/retry-handler.d.ts","../../node_modules/undici-types/retry-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cache-interceptor.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/util.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/eventsource.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/web-globals/fetch.d.ts","../../node_modules/@types/node/web-globals/importmeta.d.ts","../../node_modules/@types/node/web-globals/messaging.d.ts","../../node_modules/@types/node/web-globals/navigator.d.ts","../../node_modules/@types/node/web-globals/performance.d.ts","../../node_modules/@types/node/web-globals/storage.d.ts","../../node_modules/@types/node/web-globals/streams.d.ts","../../node_modules/@types/node/web-globals/timers.d.ts","../../node_modules/@types/node/web-globals/url.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/inspector.generated.d.ts","../../node_modules/@types/node/inspector/promises.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/path/posix.d.ts","../../node_modules/@types/node/path/win32.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/quic.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/sqlite.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/test/reporters.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/util/types.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/index.d.ts"],"fileIdsList":[[70,133,141,145,148,150,151,152,164],[70,130,131,133,141,145,148,150,151,152,164],[70,132,133,141,145,148,150,151,152,164],[133,141,145,148,150,151,152,164],[70,133,141,145,148,150,151,152,164,172],[70,133,134,139,141,144,145,148,150,151,152,154,164,169,181],[70,133,134,135,141,144,145,148,150,151,152,164],[70,133,136,141,145,148,150,151,152,164,182],[70,133,137,138,141,145,148,150,151,152,155,164],[70,133,138,141,145,148,150,151,152,164,169,178],[70,133,139,141,144,145,148,150,151,152,154,164],[70,132,133,140,141,145,148,150,151,152,164],[70,133,141,142,145,148,150,151,152,164],[70,133,141,143,144,145,148,150,151,152,164],[70,132,133,141,144,145,148,150,151,152,164],[70,133,141,144,145,146,148,150,151,152,164,169,181],[70,133,141,144,145,146,148,150,151,152,164,169,172],[70,120,133,141,144,145,147,148,150,151,152,154,164,169,181],[70,133,141,144,145,147,148,150,151,152,154,164,169,178,181],[70,133,141,145,147,148,149,150,151,152,164,169,178,181],[68,69,70,71,72,73,74,75,76,77,78,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188],[70,133,141,144,145,148,150,151,152,164],[70,133,141,145,148,150,152,164],[70,133,141,145,148,150,151,152,153,164,181],[70,133,141,144,145,148,150,151,152,154,164,169],[70,133,141,145,148,150,151,152,155,164],[70,133,141,145,148,150,151,152,156,164],[70,133,141,144,145,148,150,151,152,159,164],[70,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188],[70,133,141,145,148,150,151,152,161,164],[70,133,141,145,148,150,151,152,162,164],[70,133,138,141,145,148,150,151,152,154,164,172],[70,133,141,144,145,148,150,151,152,164,165],[70,133,141,145,148,150,151,152,164,166,182,185],[70,133,141,144,145,148,150,151,152,164,169,171,172],[70,133,141,145,148,150,151,152,164,170,172],[70,133,141,145,148,150,151,152,164,172,182],[70,133,141,145,148,150,151,152,164,173],[70,130,133,141,145,148,150,151,152,164,169,175,181],[70,133,141,145,148,150,151,152,164,169,174],[70,133,141,144,145,148,150,151,152,164,176,177],[70,133,141,145,148,150,151,152,164,176,177],[70,133,138,141,145,148,150,151,152,154,164,169,178],[70,133,141,145,148,150,151,152,164,179],[70,133,141,145,148,150,151,152,154,164,180],[70,133,141,145,147,148,150,151,152,162,164,181],[70,133,141,145,148,150,151,152,164,182,183],[70,133,138,141,145,148,150,151,152,164,183],[70,133,141,145,148,150,151,152,164,169,184],[70,133,141,145,148,150,151,152,153,164,185],[70,133,141,145,148,150,151,152,164,186],[70,133,136,141,145,148,150,151,152,164],[70,133,138,141,145,148,150,151,152,164],[70,133,141,145,148,150,151,152,164,182],[70,120,133,141,145,148,150,151,152,164],[70,133,141,145,148,150,151,152,164,181],[70,133,141,145,148,150,151,152,164,187],[70,133,141,145,148,150,151,152,159,164],[70,133,141,145,148,150,151,152,164,177],[70,120,133,141,144,145,146,148,150,151,152,159,164,169,172,181,184,185,187],[70,133,141,145,148,150,151,152,164,169,188],[70,85,88,91,92,133,141,145,148,150,151,152,164,181],[70,88,133,141,145,148,150,151,152,164,169,181],[70,88,92,133,141,145,148,150,151,152,164,181],[70,133,141,145,148,150,151,152,164,169],[70,82,133,141,145,148,150,151,152,164],[70,86,133,141,145,148,150,151,152,164],[70,84,85,88,133,141,145,148,150,151,152,164,181],[70,133,141,145,148,150,151,152,154,164,178],[70,133,141,145,148,150,151,152,164,189],[70,82,133,141,145,148,150,151,152,164,189],[70,84,88,133,141,145,148,150,151,152,154,164,181],[70,79,80,81,83,87,133,141,144,145,148,150,151,152,164,169,181],[70,88,97,105,133,141,145,148,150,151,152,164],[70,80,86,133,141,145,148,150,151,152,164],[70,88,114,115,133,141,145,148,150,151,152,164],[70,80,83,88,133,141,145,148,150,151,152,164,172,181,189],[70,88,133,141,145,148,150,151,152,164],[70,84,88,133,141,145,148,150,151,152,164,181],[70,79,133,141,145,148,150,151,152,164],[70,82,83,84,86,87,88,89,90,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,115,116,117,118,119,133,141,145,148,150,151,152,164],[70,88,107,110,133,141,145,148,150,151,152,164],[70,88,97,98,99,133,141,145,148,150,151,152,164],[70,86,88,98,100,133,141,145,148,150,151,152,164],[70,87,133,141,145,148,150,151,152,164],[70,80,82,88,133,141,145,148,150,151,152,164],[70,88,92,98,100,133,141,145,148,150,151,152,164],[70,92,133,141,145,148,150,151,152,164],[70,86,88,91,133,141,145,148,150,151,152,164,181],[70,80,84,88,97,133,141,145,148,150,151,152,164],[70,88,107,133,141,145,148,150,151,152,164],[70,100,133,141,145,148,150,151,152,164],[70,82,88,114,133,141,145,148,150,151,152,164,172,187,189],[61,62,63,70,133,134,141,145,148,150,151,152,164,169],[61,63,64,66,70,133,141,145,148,150,151,152,164],[61,70,133,141,145,148,150,151,152,164],[61,62,70,133,141,145,148,150,151,152,164],[61,62,64,65,70,133,141,145,148,150,151,152,164]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"0e3c9180ddb5d6ebce3b35bf82b382073b4913f47d75912bea0d6b832b30393e","signature":"68a6f97633a9195418052107e759c8e5d12c061e3a2d393af4581c447099fb98"},{"version":"8d9c86f79b088c4759ec37b1fa3da5f049273462ea4d00d28d0401543f9be4ae","signature":"20d52cf5f922566392e3a1cb960290dbb6e46766ee484df54f1612736a84ca80"},{"version":"172585418c959877a9d62f768cf517d5023f754dea594f6ef595fb980243a466","signature":"8144cfc881544706b4a8d691bfd46c7358c76558d44591b3ca5fd3a68c393ccd"},{"version":"236878e9dcb61fe47a2181eeb4207156042fc9617ca0c0e70bec583f6a067c4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bb314f745d5efd865c3a2fb52009bd3eda86cd46e22f141d61b8a57fe9c92b4","signature":"55c2c75787cbb74ad0b536358e5e3100509f2fca5764d9dc63922bde936ae8d4"},{"version":"4e0620f75a887e44fa54a1655151ed22abc571d523acbf9bf93f0590937347b5","signature":"eb7630413bfd6ce95c230f09397c5c4c4dd51c771b6e2eaabf1897bb870dfd57"},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"438b41419b1df9f1fbe33b5e1b18f5853432be205991d1b19f5b7f351675541e","affectsGlobalScope":true,"impliedFormat":1},{"version":"096116f8fedc1765d5bd6ef360c257b4a9048e5415054b3bf3c41b07f8951b0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"156a859e21ef3244d13afeeba4e49760a6afa035c149dda52f0c45ea8903b338","impliedFormat":1},{"version":"10ec5e82144dfac6f04fa5d1d6c11763b3e4dbbac6d99101427219ab3e2ae887","impliedFormat":1},{"version":"615754924717c0b1e293e083b83503c0a872717ad5aa60ed7f1a699eb1b4ea5c","impliedFormat":1},{"version":"074de5b2fdead0165a2757e3aaef20f27a6347b1c36adea27d51456795b37682","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"24371e69a38fc33e268d4a8716dbcda430d6c2c414a99ff9669239c4b8f40dea","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"3e11fce78ad8c0e1d1db4ba5f0652285509be3acdd519529bc8fcef85f7dafd9","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"9c32412007b5662fd34a8eb04292fb5314ec370d7016d1c2fb8aa193c807fe22","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"4d327f7d72ad0918275cea3eee49a6a8dc8114ae1d5b7f3f5d0774de75f7439a","impliedFormat":1},{"version":"6ebe8ebb8659aaa9d1acbf3710d7dae3e923e97610238b9511c25dc39023a166","impliedFormat":1},{"version":"e85d7f8068f6a26710bff0cc8c0fc5e47f71089c3780fbede05857331d2ddec9","impliedFormat":1},{"version":"7befaf0e76b5671be1d47b77fcc65f2b0aad91cc26529df1904f4a7c46d216e9","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"8aee8b6d4f9f62cf3776cda1305fb18763e2aade7e13cea5bbe699112df85214","impliedFormat":1},{"version":"c63b9ada8c72f95aac5db92aea07e5e87ec810353cdf63b2d78f49a58662cf6c","impliedFormat":1},{"version":"1cc2a09e1a61a5222d4174ab358a9f9de5e906afe79dbf7363d871a7edda3955","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"b64d4d1c5f877f9c666e98e833f0205edb9384acc46e98a1fef344f64d6aba44","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"12950411eeab8563b349cb7959543d92d8d02c289ed893d78499a19becb5a8cc","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"c9381908473a1c92cb8c516b184e75f4d226dad95c3a85a5af35f670064d9a2f","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"3fad5618174d74a34ee006406d4eb37e8d07dd62eb1315dbf52f48d31a337547","impliedFormat":1},{"version":"7e49f52a159435fc8df4de9dc377ef5860732ca2dc9efec1640531d3cf5da7a3","impliedFormat":1},{"version":"dd4bde4bdc2e5394aed6855e98cf135dfdf5dd6468cad842e03116d31bbcc9bc","impliedFormat":1},{"version":"4d4e879009a84a47c05350b8dca823036ba3a29a3038efed1be76c9f81e45edf","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b50a819485ffe0d237bf0d131e92178d14d11e2aa873d73615a9ec578b341f5","impliedFormat":1},{"version":"9ba13b47cb450a438e3076c4a3f6afb9dc85e17eae50f26d4b2d72c0688c9251","impliedFormat":1},{"version":"b64cd4401633ea4ecadfd700ddc8323a13b63b106ac7127c1d2726f32424622c","impliedFormat":1},{"version":"37c6e5fe5715814412b43cc9b50b24c67a63c4e04e753e0d1305970d65417a60","impliedFormat":1},{"version":"1d024184fb57c58c5c91823f9d10b4915a4867b7934e89115fd0d861a9df27c8","impliedFormat":1},{"version":"ee0e4946247f842c6dd483cbb60a5e6b484fee07996e3a7bc7343dfb68a04c5d","impliedFormat":1},{"version":"ef051f42b7e0ef5ca04552f54c4552eac84099d64b6c5ad0ef4033574b6035b8","impliedFormat":1},{"version":"853a43154f1d01b0173d9cbd74063507ece57170bad7a3b68f3fa1229ad0a92f","impliedFormat":1},{"version":"56231e3c39a031bfb0afb797690b20ed4537670c93c0318b72d5180833d98b72","impliedFormat":1},{"version":"5cc7c39031bfd8b00ad58f32143d59eb6ffc24f5d41a20931269011dccd36c5e","impliedFormat":1},{"version":"12d602a8fe4c2f2ba4f7804f5eda8ba07e0c83bf5cf0cda8baffa2e9967bfb77","affectsGlobalScope":true,"impliedFormat":1},{"version":"f96a48183254c00d24575401f1a761b4ce4927d927407e7862a83e06ce5d6964","impliedFormat":1},{"version":"cc25940cfb27aa538e60d465f98bb5068d4d7d33131861ace43f04fe6947d68f","impliedFormat":1},{"version":"8db46b61a690f15b245cf16270db044dc047dce9f93b103a59f50262f677ea1f","impliedFormat":1},{"version":"01ff95aa1443e3f7248974e5a771f513cb2ac158c8898f470a1792f817bee497","impliedFormat":1},{"version":"757227c8b345c57d76f7f0e3bbad7a91ffca23f1b2547cbed9e10025816c9cb7","impliedFormat":1},{"version":"42a05d8f239f74587d4926aba8cc54792eed8e8a442c7adc9b38b516642aadfe","impliedFormat":1},{"version":"e843c4c3582948689477a98129c080d2a6919cf44b6b1eed8f992642fe141cf5","impliedFormat":1},{"version":"101f482fd48cb4c7c0468dcc6d62c843d842977aea6235644b1edd05e81fbf22","impliedFormat":1},{"version":"266bee0a41e9c3ba335583e21e9277ae03822402cf5e8e1d99f5196853613b98","affectsGlobalScope":true,"impliedFormat":1},{"version":"386606f8a297988535cb1401959041cfa7f59d54b8a9ed09738e65c98684c976","impliedFormat":1},{"version":"3ef397f12387eff17f550bc484ea7c27d21d43816bbe609d495107f44b97e933","impliedFormat":1},{"version":"1023282e2ba810bc07905d3668349fbd37a26411f0c8f94a70ef3c05fe523fcf","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"e236b5eba291f51bdf32c231673e6cab81b5410850e61f51a7a524dddadc0f95","impliedFormat":1},{"version":"9cc9d479fb2283d21495e1eb22dccce6cbeaa1e2d87832fe390f6b61b1ff537d","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f2c62938251b45715fd2a9887060ec4fbc8724727029d1cbce373747252bdd7","impliedFormat":1},{"version":"e3ace08b6bbd84655d41e244677b474fd995923ffef7149ddb68af8848b60b05","impliedFormat":1},{"version":"132580b0e86c48fab152bab850fc57a4b74fe915c8958d2ccb052b809a44b61c","impliedFormat":1},{"version":"90a278f5fab7557e69e97056c0841adf269c42697194f0bd5c5e69152637d4b3","impliedFormat":1},{"version":"69c9a5a9392e8564bd81116e1ed93b13205201fb44cb35a7fde8c9f9e21c4b23","impliedFormat":1},{"version":"5f8fc37f8434691ffac1bfd8fc2634647da2c0e84253ab5d2dd19a7718915b35","impliedFormat":1},{"version":"5981c2340fd8b076cae8efbae818d42c11ffc615994cb060b1cd390795f1be2b","impliedFormat":1},{"version":"3e4e0959c67965a12a0976d58ba1ef64c49d852aaaf0e91148a64d3681ca22c9","impliedFormat":1},{"version":"1edcf2f36fc332615846bde6dcc71a8fe526065505bc5e3dcfd65a14becdf698","affectsGlobalScope":true,"impliedFormat":1},{"version":"0250da3eb85c99624f974e77ef355cdf86f43980251bc371475c2b397ba55bcd","impliedFormat":1},{"version":"f1c93e046fb3d9b7f8249629f4b63dc068dd839b824dd0aa39a5e68476dc9420","impliedFormat":1},{"version":"3d3a5f27ffbc06c885dd4d5f9ee20de61faf877fe2c3a7051c4825903d9a7fdc","impliedFormat":1},{"version":"12806f9f085598ef930edaf2467a5fa1789a878fba077cd27e85dc5851e11834","impliedFormat":1},{"version":"1c7573c37465af751be31717e70588b16a272a974e790427fc9558b8e9b199d1","impliedFormat":1},{"version":"a43fe41c33d0a192a0ecaf9b92e87bef3709c9972e6d53c42c49251ccb962d69","impliedFormat":1},{"version":"a177959203c017fad3ecc4f3d96c8757a840957a4959a3ae00dab9d35961ca6c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc727ccf9b36e257ff982ea0badeffbfc2c151802f741bddff00c6af3b784cf","impliedFormat":1},{"version":"ca279fadaa088b63f123c86ffb4dda5116f8dba23e6e93e63a2b48262320be38","impliedFormat":1},{"version":"4844a4c9b4b1e812b257676ed8a80b3f3be0e29bf05e742cc2ea9c3c6865e6c6","impliedFormat":1},{"version":"064878a60367e0407c42fb7ba02a2ea4d83257357dc20088e549bd4d89433e9c","impliedFormat":1},{"version":"cca8917838a876e2d7016c9b6af57cbf11fdf903c5fdd8e613fa31840b2957bf","impliedFormat":1},{"version":"d91ae55e4282c22b9c21bc26bd3ef637d3fe132507b10529ae68bf76f5de785b","impliedFormat":1},{"version":"b484ec11ba00e3a2235562a41898d55372ccabe607986c6fa4f4aba72093749f","impliedFormat":1},{"version":"bc9b17634d5e75b9040d8b414bb5bc936273e8100212816e905e39948cd9de96","impliedFormat":1},{"version":"41ef7992c555671a8fe54db302788adefa191ded810a50329b79d20a6772d14c","impliedFormat":1},{"version":"041a7781b9127ab568d2cdcce62c58fdea7c7407f40b8c50045d7866a2727130","impliedFormat":1},{"version":"4c5e90ddbcd177ad3f2ffc909ae217c87820f1e968f6959e4b6ba38a8cec935e","impliedFormat":1},{"version":"b70dd9a44e1ac42f030bb12e7d79117eac7cb74170d72d381a1e7913320af23a","impliedFormat":1},{"version":"55cdbeebe76a1fa18bbd7e7bf73350a2173926bd3085bb050cf5a5397025ee4e","impliedFormat":1}],"root":[[62,64],66,67],"options":{"allowUnreachableCode":false,"allowUnusedLabels":false,"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"importHelpers":true,"module":1,"newLine":1,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"..","rootDir":"../../src","sourceMap":true,"strict":true,"target":9},"referencedMap":[[65,1],[130,2],[131,2],[132,3],[70,4],[133,5],[134,6],[135,7],[68,1],[136,8],[137,9],[138,10],[139,11],[140,12],[141,13],[142,13],[143,14],[144,15],[145,16],[146,17],[71,1],[69,1],[147,18],[148,19],[149,20],[189,21],[150,22],[151,23],[152,22],[153,24],[154,25],[155,26],[156,27],[157,27],[158,27],[159,28],[160,29],[161,30],[162,31],[163,32],[164,33],[165,33],[166,34],[167,1],[168,1],[169,35],[170,36],[171,35],[172,37],[173,38],[174,39],[175,40],[176,41],[177,42],[178,43],[179,44],[180,45],[181,46],[182,47],[183,48],[184,49],[185,50],[186,51],[72,22],[73,1],[74,52],[75,53],[76,1],[77,54],[78,1],[121,55],[122,56],[123,57],[124,57],[125,58],[126,1],[127,5],[128,59],[129,56],[187,60],[188,61],[61,1],[59,1],[60,1],[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[21,1],[22,1],[4,1],[23,1],[27,1],[24,1],[25,1],[26,1],[28,1],[29,1],[30,1],[5,1],[31,1],[32,1],[33,1],[34,1],[6,1],[38,1],[35,1],[36,1],[37,1],[39,1],[7,1],[40,1],[45,1],[46,1],[41,1],[42,1],[43,1],[44,1],[8,1],[50,1],[47,1],[48,1],[49,1],[51,1],[9,1],[52,1],[53,1],[54,1],[56,1],[55,1],[1,1],[57,1],[58,1],[97,62],[109,63],[94,64],[110,65],[119,66],[85,67],[86,68],[84,69],[118,70],[113,71],[117,72],[88,73],[106,74],[87,75],[116,76],[82,77],[83,71],[89,78],[90,1],[96,79],[93,78],[80,80],[120,81],[111,82],[100,83],[99,78],[101,84],[104,85],[98,86],[102,87],[114,70],[91,88],[92,89],[105,90],[81,65],[108,91],[107,78],[95,89],[103,92],[112,1],[79,1],[115,93],[64,94],[67,95],[62,96],[63,97],[66,98]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@gkalpak/cli-utils",
3
- "version": "0.1.10",
3
+ "version": "0.2.1",
4
4
  "description": "A private collection of utilities for developing cli tools.",
5
5
  "keywords": [
6
6
  "Private",
7
7
  "Utility"
8
8
  ],
9
9
  "main": "out/lib/index.js",
10
- "typings": "out/lib/index.d.ts",
10
+ "types": "out/lib/index.d.ts",
11
11
  "scripts": {
12
- "prebuild": "npm run clean-out",
12
+ "prebuild": "npm run clean-up",
13
13
  "build": "npm run ~~build",
14
14
  "prebuild-watch": "npm run prebuild",
15
15
  "build-watch": "npm run ~~build-watch",
16
- "clean-out": "node --eval \"require('shelljs').rm('-rf', 'out/');\"",
16
+ "clean-up": "node --eval \"require('shelljs/global'); set('-e'); rm('-rf', 'out/');\"",
17
17
  "predev": "npm run build || true",
18
18
  "dev": "run-p ~~build-watch ~~test-unit-watch",
19
- "lint": "tslint --project tsconfig.json",
19
+ "lint": "run-p ~~lint-code ~~typecheck-scripts",
20
20
  "prerelease": "npm test",
21
21
  "release": "node out/bin/run \"npm version \\${*:patch}\"",
22
22
  "postrelease": "npm publish",
@@ -27,12 +27,14 @@
27
27
  "pretest-unit": "npm run build",
28
28
  "test-unit": "npm run ~~test-unit",
29
29
  "postversion": "git push && git push --tags",
30
- "~~build": "tsc --project ./",
30
+ "~~build": "tsc --build tsconfig.json",
31
31
  "~~build-watch": "npm run ~~build -- --watch",
32
+ "~~lint-code": "eslint ./",
32
33
  "~~test-e2e": "jasmine out/test/e2e/**/*.spec.js",
33
34
  "~~test-pkg": "node scripts/test-pkg",
34
35
  "~~test-unit": "jasmine out/test/unit/**/*.spec.js",
35
- "~~test-unit-watch": "watch \"npm run ~~test-unit\" out/ --wait 1"
36
+ "~~test-unit-watch": "watch \"npm run ~~test-unit\" out/ --wait 1",
37
+ "~~typecheck-scripts": "tsc --project jsconfig.json"
36
38
  },
37
39
  "bin": {
38
40
  "gkcu-expand-cmd": "out/bin/expand-cmd.js",
@@ -46,19 +48,23 @@
46
48
  "url": "git+https://github.com/gkalpak/cli-utils.git"
47
49
  },
48
50
  "dependencies": {
49
- "chalk": "^4.1.1",
50
- "tslib": "^2.3.0"
51
+ "chalk": "^5.6.2",
52
+ "tslib": "^2.8.1"
51
53
  },
52
54
  "devDependencies": {
53
- "@types/jasmine": "^3.8.1",
54
- "@types/node": "^16.4.1",
55
- "jasmine": "^3.8.0",
55
+ "@types/jasmine": "^6.0.0",
56
+ "@types/node": "^25.4.0",
57
+ "@types/shelljs": "^0.10.0",
58
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
59
+ "@typescript-eslint/parser": "^8.57.0",
60
+ "eslint": "^8.57.1",
61
+ "eslint-import-resolver-typescript": "^4.4.4",
62
+ "eslint-plugin-import": "^2.32.0",
63
+ "eslint-plugin-jasmine": "^4.2.2",
64
+ "jasmine": "^6.1.0",
56
65
  "npm-run-all": "^4.1.5",
57
- "shelljs": "^0.8.4",
58
- "source-map-support": "^0.5.19",
59
- "tslint": "^6.1.3",
60
- "tslint-jasmine-noSkipOrFocus": "^1.0.9",
61
- "typescript": "^4.3.5",
62
- "watch": "^1.0.2"
66
+ "shelljs": "^0.10.0",
67
+ "source-map-support": "^0.5.21",
68
+ "typescript": "^5.9.3"
63
69
  }
64
70
  }
@@ -49,6 +49,6 @@ if (require.main === module) {
49
49
  const {args, config} = commandUtils.preprocessArgs(rawArgs);
50
50
 
51
51
  commandUtils.
52
- expandCmd(cmd, args, config).
52
+ expandCmd(cmd as string, args, config).
53
53
  then(console.log, internalUtils.onError.bind(internalUtils));
54
54
  }
package/src/bin/run.ts CHANGED
@@ -52,6 +52,6 @@ if (require.main === module) {
52
52
  const {args, config} = commandUtils.preprocessArgs(rawArgs);
53
53
 
54
54
  commandUtils.
55
- run(cmd, args, config).
55
+ run(cmd as string, args, config).
56
56
  catch(internalUtils.onError.bind(internalUtils));
57
57
  }
@@ -0,0 +1,14 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "composite": true,
5
+ },
6
+ "references": [
7
+ {"path": "../lib/tsconfig.json"},
8
+ ],
9
+ "exclude": [
10
+ ],
11
+ "include": [
12
+ "**/*.ts",
13
+ ],
14
+ }
@@ -1,5 +1,6 @@
1
- import {spawn, SpawnOptions} from 'child_process';
2
- import {PassThrough, Readable} from 'stream';
1
+ import {spawn, SpawnOptions} from 'node:child_process';
2
+ import {PassThrough, Readable} from 'node:stream';
3
+
3
4
  import {internalUtils} from './internal-utils';
4
5
  import {processUtils} from './process-utils';
5
6
 
@@ -119,7 +120,7 @@ export class CommandUtils {
119
120
  } else {
120
121
  // It is a command.
121
122
  let returnOutput: boolean | number = true;
122
- const subCmd = match[1].replace(/ --gkcu-returnOutput=(\d+)$/, (__, g) => {
123
+ const subCmd = match[1]!.replace(/ --gkcu-returnOutput=(\d+)$/, (__, g) => {
123
124
  returnOutput = +g;
124
125
  return '';
125
126
  });
@@ -143,7 +144,7 @@ export class CommandUtils {
143
144
  const returnOutput = hasNumericReturnOutput ? Infinity : true;
144
145
  const runConfig: IRunConfig = Object.assign({}, config, {returnOutput});
145
146
 
146
- const subCmdPromise = this.run(subCmd, runtimeArgs, runConfig).then(result => this.trimOutput(result));
147
+ const subCmdPromise = this.run(subCmd, runtimeArgs, runConfig).then(result => this.cleanUpOutput(result));
147
148
  const replPromises = infoList.map(info => subCmdPromise.then(result => {
148
149
  // Retrieve the part of the output that this sub-command cares about.
149
150
  const value = (typeof info.returnOutput === 'number') ? this.getLastLines(result, info.returnOutput) : result;
@@ -184,7 +185,7 @@ export class CommandUtils {
184
185
  const [key, ...rest] = arg.split('=');
185
186
  const value = rest.join('=');
186
187
 
187
- config[key] = +value || value || true;
188
+ config[key as string] = +value || value || true;
188
189
  };
189
190
 
190
191
  const config = Object.create(null);
@@ -240,8 +241,8 @@ export class CommandUtils {
240
241
  * (some part of) the output of the command (if `returnOutput` is set and not false).
241
242
  */
242
243
  public spawnAsPromised(
243
- rawCmd: string,
244
- {debug, dryrun, returnOutput, sapVersion = 1, suppressTbj}: IRunConfig = {},
244
+ rawCmd: string,
245
+ {debug, dryrun, returnOutput, sapVersion = 1, suppressTbj}: IRunConfig = {},
245
246
  ): Promise<string> {
246
247
  const returnOutputSubset = (typeof returnOutput === 'number');
247
248
 
@@ -255,9 +256,7 @@ export class CommandUtils {
255
256
  this.debugMessage(' Reseting the output and cursor styles.');
256
257
  }
257
258
 
258
- // Reset the output style (e.g. bold) and show the cursor.
259
- process.stdout.write('\u001b[0m');
260
- process.stdout.write('\u001b[?25h');
259
+ internalUtils.resetOutputStyle(process.stdout);
261
260
  };
262
261
  const cancelCleanUp = processUtils.doOnExit(process, cleanUp);
263
262
  const unsuppressTbj = suppressTbj ?
@@ -296,8 +295,8 @@ export class CommandUtils {
296
295
 
297
296
  if (debug) {
298
297
  this.debugMessage(
299
- ` Running ${idx + 1}/${arr.length}: '${executable}', '${args.join(', ')}'\n` +
300
- ` (sapVersion: ${sapVersion}, stdio: ${(options.stdio as string[]).join(', ')})`);
298
+ ` Running ${idx + 1}/${arr.length}: '${executable}', '${args.join(', ')}'\n` +
299
+ ` (sapVersion: ${sapVersion}, stdio: ${(options.stdio as string[]).join(', ')})`);
301
300
  }
302
301
 
303
302
  const proc = spawn(executable, args, options).
@@ -328,7 +327,7 @@ export class CommandUtils {
328
327
 
329
328
  // Methods - Private
330
329
  private debugMessage(msg: string): void {
331
- const {gray} = require('chalk');
330
+ const {gray} = require('chalk').default; // eslint-disable-line @typescript-eslint/no-require-imports
332
331
  const formatted = msg.
333
332
  split('\n').
334
333
  map(line => gray(`[debug] ${line}`)).
@@ -364,10 +363,11 @@ export class CommandUtils {
364
363
  return rawCmd.
365
364
  split(/\s+\|\s+/).
366
365
  map(cmd => this.parseSingleCmd(cmd, dryrun));
367
- case 2:
366
+ case 2: {
368
367
  // Since it will be executed in a shell, there is no need to handle anything specially. (Or is it?)
369
368
  const executable = !dryrun ? rawCmd : `node --print '${JSON.stringify(rawCmd).replace(/'/g, '\\\'')}'`;
370
- return [{executable, args: []}];
369
+ return [{args: [], executable}];
370
+ }
371
371
  default:
372
372
  throw new Error(`Unknown 'sapVersion' (${sapVersion}).`);
373
373
  }
@@ -380,7 +380,7 @@ export class CommandUtils {
380
380
  const newTokens = (idx % 2) ? [`"${str}"`] : str.split(' ');
381
381
  const lastToken = arr[arr.length - 1];
382
382
 
383
- if (lastToken) arr[arr.length - 1] += newTokens.shift();
383
+ if (lastToken) arr[arr.length - 1] = lastToken + newTokens.shift();
384
384
 
385
385
  return arr.concat(newTokens);
386
386
  }, [] as string[]).
@@ -410,10 +410,10 @@ export class CommandUtils {
410
410
  this.insertAfter(tokens, 'echo', '||');
411
411
  }
412
412
 
413
- private trimOutput(str: string): string {
414
- const cursorMoveRe = /\u001b\[\d+[a-d]/gi;
415
- return str.
416
- replace(cursorMoveRe, '').
413
+ private cleanUpOutput(str: string): string {
414
+ return internalUtils.
415
+ stripOutputStyleResetSequences(str).
416
+ replace(internalUtils.escapeSeqRes.moveCursor, '').
417
417
  trim();
418
418
  }
419
419
  }
@@ -1,8 +1,22 @@
1
1
  export class InternalUtils {
2
+ public readonly escapeSeqs = {
3
+ resetBold: '\u001b[0m',
4
+ showCursor: '\u001b[?25h',
5
+ } as const;
6
+ public readonly escapeSeqRes = {
7
+ /* eslint-disable no-control-regex */
8
+ moveCursor: /\u001b\[\d+[a-d]/gi,
9
+ resetBold: /\u001b\[0m/gi,
10
+ showCursor: /\u001b\[\?25h/gi,
11
+ /* eslint-enable no-control-regex */
12
+ } as const;
13
+
14
+ private outputStyleResetSeqNames = ['resetBold', 'showCursor'] as const;
15
+
2
16
  public async finallyAsPromised<T>(promise: Promise<T>, callback: () => void | Promise<void>): Promise<T> {
3
17
  return promise.then(
4
- val => Promise.resolve(callback()).then(() => val),
5
- err => Promise.resolve(callback()).then(() => Promise.reject(err)));
18
+ val => Promise.resolve(callback()).then(() => val),
19
+ err => Promise.resolve(callback()).then(() => Promise.reject(err)));
6
20
  }
7
21
 
8
22
  public noop() {
@@ -10,17 +24,26 @@ export class InternalUtils {
10
24
  }
11
25
 
12
26
  public onError(err?: Error | string | number): void {
13
- const {red} = require('chalk');
27
+ const {red} = require('chalk').default; // eslint-disable-line @typescript-eslint/no-require-imports
14
28
 
15
29
  const isExitCode = !!err && (typeof err === 'number');
16
30
  const errorMsg = (err instanceof Error) ?
17
31
  err.stack : isExitCode ?
18
- `Exit code: ${err}` :
19
- `Error: ${err}`;
32
+ `Exit code: ${err}` :
33
+ `Error: ${err}`;
20
34
 
21
35
  console.error(red(errorMsg));
22
36
  process.exit(isExitCode ? err as number : 1);
23
37
  }
38
+
39
+ public resetOutputStyle(stream: NodeJS.WriteStream) {
40
+ // Reset the output style (e.g. bold) and show the cursor.
41
+ this.outputStyleResetSeqNames.forEach(seqName => stream.write(this.escapeSeqs[seqName]));
42
+ }
43
+
44
+ public stripOutputStyleResetSequences(str: string): string {
45
+ return this.outputStyleResetSeqNames.reduce((aggr, seqName) => aggr.replace(this.escapeSeqRes[seqName], ''), str);
46
+ }
24
47
  }
25
48
 
26
49
  export const internalUtils = new InternalUtils();
@@ -58,11 +58,11 @@ export class ProcessUtils {
58
58
  }
59
59
 
60
60
  // On Windows, suppress the "Terminate batch job (Y/N)?" confirmation.
61
- const rl = require('readline');
61
+ const rl = require('readline'); // eslint-disable-line @typescript-eslint/no-require-imports
62
62
  const rlInstance = rl.
63
63
  createInterface({input: proc.stdin, output: proc.stdout}).
64
64
  on('SIGINT', () => {
65
- const {exec} = require('child_process');
65
+ const {exec} = require('child_process'); // eslint-disable-line @typescript-eslint/no-require-imports
66
66
  exec(`taskkill /F /PID ${proc.pid} /T`);
67
67
  });
68
68
 
@@ -1,4 +1,6 @@
1
+ /// <reference types="jasmine" />
1
2
  import {commandUtils, IRunConfig} from './command-utils';
3
+ import {internalUtils} from './internal-utils';
2
4
 
3
5
 
4
6
  export class TestingUtils {
@@ -32,7 +34,7 @@ export class TestingUtils {
32
34
  */
33
35
  public async testCmd(cmd: string, config?: IRunConfig): Promise<string> {
34
36
  const result = await commandUtils.spawnAsPromised(cmd, {returnOutput: true, ...config});
35
- return this.normalizeNewlines(this.stripCleanUpCharacters(result)).trim();
37
+ return this.normalizeNewlines(internalUtils.stripOutputStyleResetSequences(result).trim());
36
38
  }
37
39
 
38
40
  /**
@@ -92,10 +94,6 @@ export class TestingUtils {
92
94
  private normalizeNewlines(str: string): string {
93
95
  return str.replace(/\r\n?/g, '\n');
94
96
  }
95
-
96
- private stripCleanUpCharacters(str: string): string {
97
- return str.replace(/\u001b\[(?:0m|\?25h)/gi, '');
98
- }
99
97
  }
100
98
 
101
99
  export const testingUtils = new TestingUtils();
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "composite": true,
5
+ },
6
+ "exclude": [
7
+ ],
8
+ "include": [
9
+ "**/*.ts",
10
+ ],
11
+ }
package/tsconfig.json CHANGED
@@ -1,21 +1,40 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "module": "commonjs",
4
- "target": "es2015",
5
- "outDir": "out/",
3
+ "allowUnreachableCode": false,
4
+ "allowUnusedLabels": false,
5
+ "declaration": true,
6
+ "declarationMap": true,
7
+ "exactOptionalPropertyTypes": true,
8
+ "importHelpers": true,
6
9
  "lib": [
7
- "es6"
10
+ "DOM",
11
+ "ES2022",
8
12
  ],
9
- "sourceMap": true,
13
+ "module": "CommonJS",
14
+ "moduleResolution": "Node",
15
+ "newLine": "lf",
16
+ "noFallthroughCasesInSwitch": true,
17
+ "noImplicitOverride": true,
18
+ "noImplicitReturns": true,
19
+ "noPropertyAccessFromIndexSignature": true,
20
+ "noUncheckedIndexedAccess": true,
21
+ "noUnusedLocals": true,
22
+ "noUnusedParameters": true,
23
+ "outDir": "out/",
10
24
  "rootDir": "src/",
25
+ "sourceMap": true,
11
26
  "strict": true,
12
- "noUnusedLocals": true,
13
- "declaration": true,
14
- "declarationMap": true,
15
- "importHelpers": true,
16
- "newLine": "lf"
27
+ "target": "ES2022",
28
+ "types": [
29
+ "node",
30
+ ],
17
31
  },
18
- "include": [
19
- "src/"
20
- ]
32
+ "files": [
33
+ ],
34
+ "references": [
35
+ {"path": "src/bin/tsconfig.json"},
36
+ {"path": "src/lib/tsconfig.json"},
37
+ {"path": "src/test/unit/tsconfig.json"},
38
+ {"path": "src/test/e2e/tsconfig.json"},
39
+ ],
21
40
  }