synckit 0.7.0 → 0.7.3
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/LICENSE +1 -1
- package/README.md +20 -10
- package/lib/index.cjs +27 -14
- package/lib/index.js +27 -11
- package/lib/index.js.map +1 -1
- package/lib/types.d.ts +1 -1
- package/package.json +41 -9
- package/lib/tsconfig.tsbuildinfo +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
@@ -1,15 +1,11 @@
|
|
1
1
|
# synckit
|
2
2
|
|
3
|
-
[](https://github.com/un-ts/synckit/actions/workflows/ci.yml)
|
4
|
+
[](https://codecov.io/gh/un-ts/synckit)
|
5
|
+
[](https://lgtm.com/projects/g/un-ts/synckit/context:javascript)
|
6
|
+
[](https://github.com/plantain-00/type-coverage)
|
7
7
|
[](https://www.npmjs.com/package/synckit)
|
8
|
-
[](https://david-dm.org/rx-ts/synckit?type=peer)
|
11
|
-
[](https://david-dm.org/rx-ts/synckit)
|
12
|
-
[](https://david-dm.org/rx-ts/synckit?type=dev)
|
8
|
+
[](https://github.com/un-ts/synckit/releases)
|
13
9
|
|
14
10
|
[](https://conventionalcommits.org)
|
15
11
|
[](https://renovatebot.com)
|
@@ -26,6 +22,8 @@ Perform async work synchronously in Node.js using `worker_threads` with first-cl
|
|
26
22
|
- [Envs](#envs)
|
27
23
|
- [TypeScript](#typescript)
|
28
24
|
- [Benchmark](#benchmark)
|
25
|
+
- [Sponsors](#sponsors)
|
26
|
+
- [Backers](#backers)
|
29
27
|
- [Changelog](#changelog)
|
30
28
|
- [License](#license)
|
31
29
|
|
@@ -64,7 +62,7 @@ runAsWorker(async (...args) => {
|
|
64
62
|
})
|
65
63
|
```
|
66
64
|
|
67
|
-
You must make sure, the `result` is
|
65
|
+
You must make sure, the `result` is serializable by [`Structured Clone Algorithm`](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm)
|
68
66
|
|
69
67
|
### Envs
|
70
68
|
|
@@ -90,6 +88,18 @@ See [benchmark.cjs](./benchmarks/benchmark.cjs.txt) and [benchmark.esm](./benchm
|
|
90
88
|
|
91
89
|
You can try it with running `yarn benchmark` by yourself. [Here](./benchmarks/benchmark.js) is the benchmark source code.
|
92
90
|
|
91
|
+
## Sponsors
|
92
|
+
|
93
|
+
| 1stG | RxTS | UnTS |
|
94
|
+
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
95
|
+
| [](https://opencollective.com/1stG) | [](https://opencollective.com/rxts) | [](https://opencollective.com/unts) |
|
96
|
+
|
97
|
+
## Backers
|
98
|
+
|
99
|
+
| 1stG | RxTS | UnTS |
|
100
|
+
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
|
101
|
+
| [](https://opencollective.com/1stG) | [](https://opencollective.com/unts) | [](https://opencollective.com/unts) |
|
102
|
+
|
93
103
|
## Changelog
|
94
104
|
|
95
105
|
Detailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).
|
package/lib/index.cjs
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
6
|
-
var path = require('path');
|
7
|
-
var
|
8
|
-
var
|
5
|
+
var node_module = require('node:module');
|
6
|
+
var path = require('node:path');
|
7
|
+
var node_url = require('node:url');
|
8
|
+
var node_worker_threads = require('node:worker_threads');
|
9
9
|
var utils = require('@pkgr/utils');
|
10
10
|
|
11
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
@@ -61,14 +61,27 @@ function createSyncFn(workerPath, bufferSizeOrOptions, timeout) {
|
|
61
61
|
syncFnCache.set(workerPath, syncFn);
|
62
62
|
return syncFn;
|
63
63
|
}
|
64
|
-
const cjsRequire = typeof require === "undefined" ?
|
64
|
+
const cjsRequire = typeof require === "undefined" ? node_module.createRequire(import_meta.url) : require;
|
65
65
|
const dataUrl = (code) => new URL(`data:text/javascript,${encodeURIComponent(code)}`);
|
66
66
|
const setupTsNode = (workerPath, execArgv) => {
|
67
67
|
if (!/[/\\]node_modules[/\\]/.test(workerPath)) {
|
68
68
|
const ext = path__default["default"].extname(workerPath);
|
69
|
-
if (!ext || ext
|
70
|
-
const
|
71
|
-
|
69
|
+
if (!ext || /\.[cm]?js$/.test(ext)) {
|
70
|
+
const workPathWithoutExt = ext ? workerPath.slice(0, -ext.length) : workerPath;
|
71
|
+
let extensions;
|
72
|
+
switch (ext) {
|
73
|
+
case ".cjs":
|
74
|
+
extensions = ["cts", "cjs"];
|
75
|
+
break;
|
76
|
+
case ".mjs":
|
77
|
+
extensions = ["mts", "mjs"];
|
78
|
+
break;
|
79
|
+
default:
|
80
|
+
extensions = [".ts", ".js"];
|
81
|
+
break;
|
82
|
+
}
|
83
|
+
const found = utils.tryExtensions(workPathWithoutExt, extensions);
|
84
|
+
if (found && (!ext || found !== workPathWithoutExt)) {
|
72
85
|
workerPath = found;
|
73
86
|
}
|
74
87
|
}
|
@@ -98,14 +111,14 @@ function startWorkerThread(workerPath, {
|
|
98
111
|
timeout = DEFAULT_TIMEOUT,
|
99
112
|
execArgv = DEFAULT_EXEC_ARGV
|
100
113
|
} = {}) {
|
101
|
-
const { port1: mainPort, port2: workerPort } = new
|
114
|
+
const { port1: mainPort, port2: workerPort } = new node_worker_threads.MessageChannel();
|
102
115
|
const {
|
103
116
|
isTs,
|
104
117
|
tsUseEsm,
|
105
118
|
workerPath: finalWorkerPath,
|
106
119
|
execArgv: finalExecArgv
|
107
120
|
} = setupTsNode(workerPath, execArgv);
|
108
|
-
const worker = new
|
121
|
+
const worker = new node_worker_threads.Worker(isTs ? tsUseEsm ? dataUrl(`import '${String(node_url.pathToFileURL(finalWorkerPath))}'`) : `require('ts-node/register');require('${finalWorkerPath.replace(/\\/g, "\\\\")}')` : node_url.pathToFileURL(finalWorkerPath), {
|
109
122
|
eval: isTs && !tsUseEsm,
|
110
123
|
workerData: { workerPort },
|
111
124
|
transferList: [workerPort],
|
@@ -127,7 +140,7 @@ function startWorkerThread(workerPath, {
|
|
127
140
|
result,
|
128
141
|
error,
|
129
142
|
properties
|
130
|
-
} =
|
143
|
+
} = node_worker_threads.receiveMessageOnPort(mainPort).message;
|
131
144
|
if (id !== id2) {
|
132
145
|
throw new Error(`Internal error: Expected id ${id} but got id ${id2}`);
|
133
146
|
}
|
@@ -140,11 +153,11 @@ function startWorkerThread(workerPath, {
|
|
140
153
|
return syncFn;
|
141
154
|
}
|
142
155
|
function runAsWorker(fn) {
|
143
|
-
if (!
|
156
|
+
if (!node_worker_threads.workerData) {
|
144
157
|
return;
|
145
158
|
}
|
146
|
-
const { workerPort } =
|
147
|
-
|
159
|
+
const { workerPort } = node_worker_threads.workerData;
|
160
|
+
node_worker_threads.parentPort.on("message", ({ sharedBuffer, id, args }) => {
|
148
161
|
(() => __async(this, null, function* () {
|
149
162
|
const sharedBufferView = new Int32Array(sharedBuffer);
|
150
163
|
let msg;
|
package/lib/index.js
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
var _a;
|
2
2
|
import { __awaiter } from "tslib";
|
3
|
-
import { createRequire } from 'module';
|
4
|
-
import path from 'path';
|
5
|
-
import { pathToFileURL } from 'url';
|
6
|
-
import { MessageChannel, Worker, receiveMessageOnPort,
|
3
|
+
import { createRequire } from 'node:module';
|
4
|
+
import path from 'node:path';
|
5
|
+
import { pathToFileURL } from 'node:url';
|
6
|
+
import { MessageChannel, Worker, receiveMessageOnPort,
|
7
|
+
// type-coverage:ignore-next-line -- we can't control
|
8
|
+
workerData, parentPort, } from 'node:worker_threads';
|
7
9
|
import { findUp, tryExtensions } from '@pkgr/utils';
|
8
10
|
export * from './types.js';
|
9
11
|
const { SYNCKIT_BUFFER_SIZE, SYNCKIT_TIMEOUT, SYNCKIT_EXEC_ARV } = process.env;
|
@@ -50,16 +52,29 @@ const dataUrl = (code) => new URL(`data:text/javascript,${encodeURIComponent(cod
|
|
50
52
|
const setupTsNode = (workerPath, execArgv) => {
|
51
53
|
if (!/[/\\]node_modules[/\\]/.test(workerPath)) {
|
52
54
|
const ext = path.extname(workerPath);
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
55
|
+
if (!ext || /\.[cm]?js$/.test(ext)) {
|
56
|
+
const workPathWithoutExt = ext
|
57
|
+
? workerPath.slice(0, -ext.length)
|
58
|
+
: workerPath;
|
59
|
+
let extensions;
|
60
|
+
switch (ext) {
|
61
|
+
case '.cjs':
|
62
|
+
extensions = ['cts', 'cjs'];
|
63
|
+
break;
|
64
|
+
case '.mjs':
|
65
|
+
extensions = ['mts', 'mjs'];
|
66
|
+
break;
|
67
|
+
default:
|
68
|
+
extensions = ['.ts', '.js'];
|
69
|
+
break;
|
70
|
+
}
|
71
|
+
const found = tryExtensions(workPathWithoutExt, extensions);
|
72
|
+
if (found && (!ext || found !== workPathWithoutExt)) {
|
57
73
|
workerPath = found;
|
58
74
|
}
|
59
75
|
}
|
60
76
|
}
|
61
77
|
const isTs = /\.[cm]?ts$/.test(workerPath);
|
62
|
-
// TODO: it does not work for `ts-node` for now
|
63
78
|
let tsUseEsm = workerPath.endsWith('.mts');
|
64
79
|
if (isTs) {
|
65
80
|
if (!tsUseEsm) {
|
@@ -87,8 +102,8 @@ function startWorkerThread(workerPath, { bufferSize = DEFAULT_WORKER_BUFFER_SIZE
|
|
87
102
|
const worker = new Worker(isTs
|
88
103
|
? tsUseEsm
|
89
104
|
? dataUrl(`import '${String(pathToFileURL(finalWorkerPath))}'`)
|
90
|
-
: `require('ts-node/register');require('${finalWorkerPath}')`
|
91
|
-
: finalWorkerPath, {
|
105
|
+
: `require('ts-node/register');require('${finalWorkerPath.replace(/\\/g, '\\\\')}')`
|
106
|
+
: pathToFileURL(finalWorkerPath), {
|
92
107
|
eval: isTs && !tsUseEsm,
|
93
108
|
workerData: { workerPort },
|
94
109
|
transferList: [workerPort],
|
@@ -122,6 +137,7 @@ function startWorkerThread(workerPath, { bufferSize = DEFAULT_WORKER_BUFFER_SIZE
|
|
122
137
|
}
|
123
138
|
/* istanbul ignore next */
|
124
139
|
export function runAsWorker(fn) {
|
140
|
+
// type-coverage:ignore-next-line -- we can't control
|
125
141
|
if (!workerData) {
|
126
142
|
return;
|
127
143
|
}
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,EACL,cAAc,EACd,MAAM,EACN,oBAAoB;AACpB,qDAAqD;AACrD,UAAU,EACV,UAAU,GACX,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAWnD,cAAc,YAAY,CAAA;AAE1B,MAAM,EAAE,mBAAmB,EAAE,eAAe,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,GAAG,CAAA;AAE9E,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB;IACpD,CAAC,CAAC,CAAC,mBAAmB;IACtB,CAAC,CAAC,SAAS,CAAA;AAEb,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAA;AAE7E,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,IAAI,IAAI,CAAA;AAErE,0BAA0B;AAC1B,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAA,g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AAC,UAAU,EAAE;QACf,OAAM;KACP;IAED,MAAM,EAAE,UAAU,EAAE,GAAG,UAAwB,CAAA;IAC/C,UAAW,CAAC,EAAE,CACZ,SAAS,EACT,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAsC,EAAE,EAAE;QACjE,mEAAmE;QACnE,CAAC;QAAA,CAAC,GAAS,EAAE;YACX,MAAM,gBAAgB,GAAG,IAAI,UAAU,CAAC,YAAY,CAAC,CAAA;YACrD,IAAI,GAA2B,CAAA;YAC/B,IAAI;gBACF,GAAG,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,EAAE,CAAA;aACxC;YAAC,OAAO,KAAc,EAAE;gBACvB,GAAG,GAAG;oBACJ,EAAE;oBACF,KAAK;oBACL,UAAU,EAAE,iBAAiB,CAAC,KAAK,CAAC;iBACrC,CAAA;aACF;YACD,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;YAC3B,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;YACnC,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAA;QACrC,CAAC,CAAA,CAAC,EAAE,CAAA;IACN,CAAC,CACF,CAAA;AACH,CAAC"}
|
package/lib/types.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
-
import { MessagePort } from 'worker_threads';
|
2
|
+
import { MessagePort } from 'node:worker_threads';
|
3
3
|
export declare type AnyFn<R = any, T extends any[] = any[]> = (...args: T) => R;
|
4
4
|
export declare type AnyPromise<T = any> = Promise<T>;
|
5
5
|
export declare type AnyAsyncFn<T = any> = AnyFn<Promise<T>>;
|
package/package.json
CHANGED
@@ -1,25 +1,57 @@
|
|
1
1
|
{
|
2
2
|
"name": "synckit",
|
3
|
-
"version": "0.7.
|
3
|
+
"version": "0.7.3",
|
4
4
|
"type": "module",
|
5
|
-
"description": "Perform async work synchronously in Node.js using `worker_threads
|
5
|
+
"description": "Perform async work synchronously in Node.js using `worker_threads` with first-class TypeScript support.",
|
6
6
|
"repository": "git+https://github.com/rx-ts/synckit.git",
|
7
|
-
"author": "JounQin <admin@1stg.me>",
|
7
|
+
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
|
8
|
+
"donate": {
|
9
|
+
"recipients": [
|
10
|
+
{
|
11
|
+
"name": "unts",
|
12
|
+
"platform": "opencollective",
|
13
|
+
"address": "https://opencollective.com/unts",
|
14
|
+
"weight": 60
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"name": "rxts",
|
18
|
+
"platform": "opencollective",
|
19
|
+
"address": "https://opencollective.com/rxts",
|
20
|
+
"weight": 20
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "1stG",
|
24
|
+
"email": "i@1stg.me",
|
25
|
+
"weight": 20,
|
26
|
+
"platforms": [
|
27
|
+
{
|
28
|
+
"platform": "opencollective",
|
29
|
+
"address": "https://opencollective.com/1stG"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"platform": "patreon",
|
33
|
+
"address": "https://www.patreon.com/1stG"
|
34
|
+
}
|
35
|
+
]
|
36
|
+
}
|
37
|
+
]
|
38
|
+
},
|
39
|
+
"funding": "https://opencollective.com/unts",
|
8
40
|
"license": "MIT",
|
9
41
|
"engines": {
|
10
|
-
"node": "
|
42
|
+
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
|
11
43
|
},
|
12
44
|
"main": "./lib/index.cjs",
|
13
45
|
"module": "./lib/index.js",
|
14
46
|
"exports": {
|
47
|
+
"types": "./lib/index.d.ts",
|
15
48
|
"import": "./lib/index.js",
|
16
|
-
"require": "./lib/index.cjs"
|
17
|
-
"types": "./lib/index.d.ts"
|
49
|
+
"require": "./lib/index.cjs"
|
18
50
|
},
|
19
51
|
"types": "./lib/index.d.ts",
|
20
52
|
"files": [
|
21
53
|
"lib",
|
22
|
-
"
|
54
|
+
"!**/*.tsbuildinfo"
|
23
55
|
],
|
24
56
|
"keywords": [
|
25
57
|
"deasync",
|
@@ -32,7 +64,7 @@
|
|
32
64
|
"synckit"
|
33
65
|
],
|
34
66
|
"dependencies": {
|
35
|
-
"@pkgr/utils": "^2.0
|
36
|
-
"tslib": "^2.
|
67
|
+
"@pkgr/utils": "^2.3.0",
|
68
|
+
"tslib": "^2.4.0"
|
37
69
|
}
|
38
70
|
}
|
package/lib/tsconfig.tsbuildinfo
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"program":{"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.esnext.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.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.es2020.bigint.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.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.object.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/tslib/tslib.d.ts","../node_modules/@pkgr/utils/lib/browser.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.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/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/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/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.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/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/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@pkgr/utils/lib/constants.d.ts","../node_modules/@pkgr/utils/lib/helpers.d.ts","../node_modules/@pkgr/utils/lib/monorepo.d.ts","../node_modules/@pkgr/utils/lib/index.d.ts","../src/types.ts","../src/index.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/acorn/index.d.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../node_modules/@types/concat-stream/index.d.ts","../node_modules/@types/ms/index.d.ts","../node_modules/@types/debug/index.d.ts","../node_modules/@types/estree-jsx/index.d.ts","../node_modules/@types/fs-extra/index.d.ts","../node_modules/@types/minimatch/index.d.ts","../node_modules/@types/glob/index.d.ts","../node_modules/@types/graceful-fs/index.d.ts","../node_modules/@types/unist/index.d.ts","../node_modules/@types/hast/index.d.ts","../node_modules/ci-info/index.d.ts","../node_modules/@types/is-ci/index.d.ts","../node_modules/@types/is-empty/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/chalk/index.d.ts","../node_modules/jest-diff/build/cleanupSemantic.d.ts","../node_modules/pretty-format/build/types.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/types.d.ts","../node_modules/jest-diff/build/diffLines.d.ts","../node_modules/jest-diff/build/printDiffs.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/jest-matcher-utils/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/js-yaml/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/json5/index.d.ts","../node_modules/@types/mdast/index.d.ts","../node_modules/@types/minimist/index.d.ts","../node_modules/@types/normalize-package-data/index.d.ts","../node_modules/@types/parse-json/index.d.ts","../node_modules/@types/prettier/index.d.ts","../node_modules/@types/resolve/index.d.ts","../node_modules/@types/semver/index.d.ts","../node_modules/@types/stack-utils/index.d.ts","../node_modules/@types/supports-color/index.d.ts","../node_modules/@types/uuid/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2f93dda35dafec68ec217c9ce67f0f4fbbbb030c055ac312641565ad60dd7e26","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","28f6c454a2f6c8613c293643c966f96628e7fe25febcd342d87005c97c7ed0ef","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"712ba0d43b44d144dfd01593f61af6e2e21cfae83e834d297643e7973e55ed61","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","3ec24a75848049c40ffd02b74f5af2b284966f387ba8792205bf383ce2ab9f96","ef92f5dd26a9edbe2c307995cf93f34562d2bce995cc4e531f425f88ad207182","f27368f9bf090fd45a71e36c3c972cc3c507480dbb31c2e27a967cb2f8de7e21","1ce6a39497cf044e6fadbab6168bc4bca7ce22de621881b849eff82b8eb7db57","6b8149136ef66cb861366832ab7158ecba62f14c77c79735485b28f7a9bb7969","c58b2f4e06661a7e263b2c28d9f258664c22a9136a12c2554953060605c25d01","7d7c8ef7d48a035142c07dae60545ecc0e4af4c337742760cb09726f2f8e31db","3777eb752cef9aa8dd35bb997145413310008aa54ec44766de81a7ad891526cd","2ff9995137f3e5d68971388ec58af0c79721626323884513f9f5e2e996ac1fdd","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","1a7cc144992d79b062c22ac0309c6624dbb0d49bbddff7ea3b9daa0c17bcac0a","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","310a0cc92822ada13db096f9970a576de760b2f82a3782a24af62cb5a07e0aff","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","f54243828d27a24d59ebf25740dfe6e7dff3931723f8ce7b658cdbe766f89da9","6de408de17cb0e3fa3a5e3d0f79bd104848d98dbfa72e92fddfa1a4aa3d8393c","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0","913754f9281683f22d98d0ba7796896cee30c302baefa3dda69f61af8de244d8","a3e5b8b86e7bd38d9afdc294875c4445c535319e288d3a13c1e2e41f9af934f2","d45d40831ccbd547e3f4ae8f326420b9e454dd27fa970f417c8e94a23e93db29","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"3fe15a491a792852283caeece8142bc7427a29c183d9fec8691d95a49c8932a1","affectsGlobalScope":true},"686e548ae30250d62532c8cacb43fccc922b693408371bd3503563c4a0f28eed","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","6209c901f30cc321f4b86800d11fad3d67e73a3308f19946b1bc642af0280298","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","87352bb579421f6938177a53bb66e8514067b4872ccaa5fe08ddbca56364570c","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","105fa3d1b286795f9ac1b82f5a737db303dfe65ebc9830c1938a2bbe538a861f","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438"],"options":{"declaration":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"jsx":1,"module":99,"noImplicitOverride":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":2},"fileIdsList":[[95,111],[95],[95,102],[51,95,103,104,105],[95,109],[95,111,112,113,114,115],[95,111,113],[84,95,102],[95,118],[68,95,102],[67,68,95,102,122],[95,125],[95,127],[95,130],[95,131],[95,136,141],[52,95],[55,95],[56,61,95],[57,67,68,75,84,94,95],[57,58,67,75,95],[59,95],[60,61,68,76,95],[61,84,91,95],[62,64,67,75,95],[63,95],[64,65,95],[66,67,95],[67,95],[67,68,69,84,94,95],[67,68,69,84,95],[70,75,84,94,95],[67,68,70,71,75,84,91,94,95],[70,72,84,91,94,95],[52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101],[67,73,95],[74,94,95],[64,67,75,84,95],[76,95],[77,95],[55,78,95],[79,93,95,99],[80,95],[81,95],[67,82,95],[82,83,95,97],[67,84,85,86,95],[84,86,95],[84,85,95],[87,95],[88,95],[67,89,90,95],[89,90,95],[61,75,84,91,95],[92,95],[75,93,95],[56,70,81,94,95],[61,95],[84,95,96],[95,97],[95,98],[56,61,67,69,78,84,94,95,97,99],[84,95,100],[95,156],[95,134,137],[95,134,137,138,139],[95,136],[95,133,140],[95,135],[50,74,77,94,95,99,106,107],[50,95,99]],"referencedMap":[[113,1],[111,2],[51,2],[103,3],[104,2],[106,4],[105,2],[110,5],[116,6],[112,1],[114,7],[115,1],[117,8],[119,9],[120,5],[109,2],[121,10],[123,11],[124,10],[126,12],[128,13],[129,2],[130,2],[131,14],[132,15],[142,16],[143,2],[144,2],[145,2],[146,12],[122,2],[147,2],[118,2],[52,17],[53,17],[55,18],[56,19],[57,20],[58,21],[59,22],[60,23],[61,24],[62,25],[63,26],[64,27],[65,27],[66,28],[67,29],[68,30],[69,31],[54,2],[101,2],[70,32],[71,33],[72,34],[102,35],[73,36],[74,37],[75,38],[76,39],[77,40],[78,41],[79,42],[80,43],[81,44],[82,45],[83,46],[84,47],[86,48],[85,49],[87,50],[88,51],[89,52],[90,53],[91,54],[92,55],[93,56],[94,57],[95,58],[96,59],[97,60],[98,61],[99,62],[100,63],[148,2],[149,2],[150,2],[151,3],[152,2],[153,2],[154,2],[125,2],[155,2],[156,2],[157,64],[133,2],[127,2],[134,2],[138,65],[140,66],[139,65],[137,67],[141,68],[136,69],[135,2],[50,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[4,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[5,2],[28,2],[29,2],[30,2],[31,2],[6,2],[32,2],[33,2],[34,2],[35,2],[7,2],[40,2],[36,2],[37,2],[38,2],[39,2],[8,2],[44,2],[41,2],[42,2],[43,2],[45,2],[9,2],[46,2],[47,2],[48,2],[1,2],[10,2],[49,2],[108,70],[107,71]],"exportedModulesMap":[[113,1],[111,2],[51,2],[103,3],[104,2],[106,4],[105,2],[110,5],[116,6],[112,1],[114,7],[115,1],[117,8],[119,9],[120,5],[109,2],[121,10],[123,11],[124,10],[126,12],[128,13],[129,2],[130,2],[131,14],[132,15],[142,16],[143,2],[144,2],[145,2],[146,12],[122,2],[147,2],[118,2],[52,17],[53,17],[55,18],[56,19],[57,20],[58,21],[59,22],[60,23],[61,24],[62,25],[63,26],[64,27],[65,27],[66,28],[67,29],[68,30],[69,31],[54,2],[101,2],[70,32],[71,33],[72,34],[102,35],[73,36],[74,37],[75,38],[76,39],[77,40],[78,41],[79,42],[80,43],[81,44],[82,45],[83,46],[84,47],[86,48],[85,49],[87,50],[88,51],[89,52],[90,53],[91,54],[92,55],[93,56],[94,57],[95,58],[96,59],[97,60],[98,61],[99,62],[100,63],[148,2],[149,2],[150,2],[151,3],[152,2],[153,2],[154,2],[125,2],[155,2],[156,2],[157,64],[133,2],[127,2],[134,2],[138,65],[140,66],[139,65],[137,67],[141,68],[136,69],[135,2],[50,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[4,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[5,2],[28,2],[29,2],[30,2],[31,2],[6,2],[32,2],[33,2],[34,2],[35,2],[7,2],[40,2],[36,2],[37,2],[38,2],[39,2],[8,2],[44,2],[41,2],[42,2],[43,2],[45,2],[9,2],[46,2],[47,2],[48,2],[1,2],[10,2],[49,2],[108,70],[107,71]],"semanticDiagnosticsPerFile":[113,111,51,103,104,106,105,110,116,112,114,115,117,119,120,109,121,123,124,126,128,129,130,131,132,142,143,144,145,146,122,147,118,52,53,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,54,101,70,71,72,102,73,74,75,76,77,78,79,80,81,82,83,84,86,85,87,88,89,90,91,92,93,94,95,96,97,98,99,100,148,149,150,151,152,153,154,125,155,156,157,133,127,134,138,140,139,137,141,136,135,50,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,44,41,42,43,45,9,46,47,48,1,10,49,108,107]},"version":"4.6.3"}
|