@budibase/string-templates 2.32.11 → 2.32.12
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/dist/bundle.cjs +1 -1
- package/dist/bundle.mjs +1 -1
- package/dist/errors.d.ts +10 -1
- package/dist/helpers/javascript.d.ts +3 -3
- package/dist/index.d.ts +4 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +2 -2
- package/src/errors.ts +19 -2
- package/src/helpers/javascript.ts +72 -9
- package/src/index.ts +42 -19
- package/src/types.ts +1 -0
- package/src/utilities.ts +7 -0
package/dist/errors.d.ts
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
-
export declare class
|
1
|
+
export declare class JsTimeoutError extends Error {
|
2
|
+
static message: string;
|
3
|
+
static code: string;
|
2
4
|
code: string;
|
5
|
+
constructor();
|
6
|
+
}
|
7
|
+
export declare class UserScriptError extends Error {
|
8
|
+
readonly userScriptError: Error;
|
9
|
+
static code: string;
|
10
|
+
code: string;
|
11
|
+
constructor(userScriptError: Error);
|
3
12
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
declare let runJS: ((js: string, context: any) => any) | undefined;
|
2
|
-
export declare const setJSRunner: (runner: typeof runJS) => (js: string, context: any) => any;
|
1
|
+
declare let runJS: ((js: string, context: Record<string, any>) => any) | undefined;
|
2
|
+
export declare const setJSRunner: (runner: typeof runJS) => (js: string, context: Record<string, any>) => any;
|
3
3
|
export declare const removeJSRunner: () => void;
|
4
4
|
declare let onErrorLog: (message: Error) => void;
|
5
5
|
export declare const setOnErrorLog: (delegate: typeof onErrorLog) => (message: Error) => void;
|
6
|
-
export declare function processJS(handlebars: string, context: any):
|
6
|
+
export declare function processJS(handlebars: string, context: any): any;
|
7
7
|
export {};
|
package/dist/index.d.ts
CHANGED
@@ -11,11 +11,7 @@ export { iifeWrapper } from "./iife";
|
|
11
11
|
* @param {object|undefined} [opts] optional - specify some options for processing.
|
12
12
|
* @returns {Promise<object|array>} The structure input, as fully updated as possible.
|
13
13
|
*/
|
14
|
-
export declare function processObject<T extends Record<string, any>>(object: T, context: object, opts?:
|
15
|
-
noHelpers?: boolean;
|
16
|
-
escapeNewlines?: boolean;
|
17
|
-
onlyFound?: boolean;
|
18
|
-
}): Promise<T>;
|
14
|
+
export declare function processObject<T extends Record<string, any>>(object: T, context: object, opts?: ProcessOptions): Promise<T>;
|
19
15
|
/**
|
20
16
|
* This will process a single handlebars containing string. If the string passed in has no valid handlebars statements
|
21
17
|
* then nothing will occur.
|
@@ -36,7 +32,7 @@ export declare function processString(string: string, context: object, opts?: Pr
|
|
36
32
|
*/
|
37
33
|
export declare function processObjectSync(object: {
|
38
34
|
[x: string]: any;
|
39
|
-
}, context: any, opts
|
35
|
+
}, context: any, opts?: ProcessOptions): object | Array<any>;
|
40
36
|
/**
|
41
37
|
* This will process a single handlebars containing string. If the string passed in has no valid handlebars statements
|
42
38
|
* then nothing will occur. This is a pure sync call and therefore does not have the full functionality of the async call.
|
@@ -1085,5 +1081,6 @@ export declare function findHBSBlocks(string: string): string[];
|
|
1085
1081
|
*/
|
1086
1082
|
export declare function doesContainString(template: any, string: any): boolean;
|
1087
1083
|
export declare function convertToJS(hbs: string): string;
|
1088
|
-
export {
|
1084
|
+
export { JsTimeoutError, UserScriptError } from "./errors";
|
1085
|
+
export declare function browserJSSetup(): void;
|
1089
1086
|
export declare function defaultJSSetup(): void;
|
@@ -1 +1 @@
|
|
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.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.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.esnext.intl.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/errors.ts","../src/iife.ts","../../../node_modules/handlebars/types/index.d.ts","../src/helpers/Helper.ts","../../../node_modules/dayjs/locale/types.d.ts","../../../node_modules/dayjs/locale/index.d.ts","../../../node_modules/dayjs/index.d.ts","../../../node_modules/dayjs/plugin/duration.d.ts","../../../node_modules/dayjs/plugin/advancedFormat.d.ts","../../../node_modules/dayjs/plugin/isoWeek.d.ts","../../../node_modules/dayjs/plugin/weekYear.d.ts","../../../node_modules/dayjs/plugin/weekOfYear.d.ts","../../../node_modules/dayjs/plugin/relativeTime.d.ts","../../../node_modules/dayjs/plugin/utc.d.ts","../../../node_modules/dayjs/plugin/timezone.d.ts","../src/helpers/date.ts","../src/helpers/constants.ts","../src/helpers/external.ts","../src/utilities.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash/fp.d.ts","../../../node_modules/@types/lodash/fp/cloneDeep.d.ts","../src/helpers/list.ts","../src/helpers/javascript.ts","../src/helpers/index.ts","../src/types.ts","../src/processors/preprocessor.ts","../src/processors/postprocessor.ts","../src/processors/index.ts","../src/conversion/index.ts","../src/manifest.json","../src/index.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/buffer/index.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.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.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/agent.d.ts","../node_modules/undici-types/mock-interceptor.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/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/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/filereader.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/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/dom-events.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/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/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/test.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/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"4a882ffbb4ed09d9b7734f784aebb1dfe488d63725c40759165c5d9c657ca029",{"version":"101a5d2b6cb7b5500052a42dade0090833c6ec18f587a3e52f9d932796c2d2cb","signature":"930b8530275fd082c29af6f65523902775e5a1604fa7477676587fb9899a45bd"},{"version":"723c40015eef4c59b2c099f472160bdf283be7a829ee013911f60e68547700b1","signature":"e9c75226885725165dc38bd0606a65beb452794f1ef6200877de28a6322f2d31"},{"version":"f3a68054f682f21cec1eb6bc37d3c4c7f73b7723c7256f8a1ccc75873024aaa6","affectsGlobalScope":true},{"version":"0f3f125a9b0ab02fe51c0dd9349fae8a3dcd96a133dfacf78fd9b289fa441aa8","signature":"b8685e42b045169cce837f3869129301898f8f587d884d291df56fcbede886f8"},{"version":"73a0ee6395819b063df4b148211985f2e1442945c1a057204cf4cf6281760dc3","affectsGlobalScope":true},"d05d8c67116dceafc62e691c47ac89f8f10cf7313cd1b2fb4fe801c2bf1bb1a7","3c5bb5207df7095882400323d692957e90ec17323ccff5fd5f29a1ecf3b165d0","112dc31db3c5f45551532c2f0ddd2b55c98762c3cb5fd113f7c255825e6e04b2","49123f65d0f1270a60f5cdb7220dea12d9fcbff320447c933511cb1f7168a11b","9ff194a196707954313c197ff74831edf396ee89f6b6e50cd5fe9e07b8d7d46b","e07e8ad944e11080473becbc5129b162302dd991b438f97dbff930e59d94ff98","da1de218850a5710c84587f9ceecac7106c62f92a75a121cb1106fca10aed46b","f684f2969931de8fb9a5164f8c8f51aaea4025f4eede98406a17642a605c2842","c868f50837eedd81fa9f61bd42de6665f74e7eb7a459135c6a14ac33ddc86798","56b2090352084289a1d572dfbddeed948906c0a0317a547ceb0ae6436ae44037",{"version":"8e4e1881895b80cc7154eb1e31595e0784ec11cc0930f0589c25dc502f071650","signature":"9041bc1bfa4e56b13e37cacea5f61f8155bb36345f369496fab6c5f4f15108e5"},{"version":"f326fcace00cf55fafa921268d0c4610c2050913824f431d3a79a742f7e4e5e7","signature":"47a87cfbddd5a0ae1c6155ac8c5183e6de4f40ecb2b2ddacbc510867448ae05e"},{"version":"3c18437a0e20b8450006233c1a432f75dd3a82f3e10314572900542fd437314c","signature":"7cfe147b80dccb9f427c59450407fdc7fc9b1ad44f60d42d75ac9c877064c4c1"},{"version":"7f959cebadc3dde7b2be97772573fb686d649968704110077dcb6dc87118e68a","signature":"acf44ed5304935d29f85ffdd12e92981c2bc1a9abb4e2a0956d1ad099e9eef84"},"32ab25b7b28b24a138d879ca371b18c8fdfdd564ad5107e1333c5aa5d5fea494","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6f294731b495c65ecf46a5694f0082954b961cf05463bea823f8014098eaffa0","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","b82fc740467e59abe3d6170417e461527d2a95610f55915fc59557c4b7be55ba","07f4a3755c28e85f366e753c73a1b447f691e11d0edf2d97af216343842699ac","164c9cda5f835244f0ce1de5d4874cf91bfb49141d0daf71fef8f3ee2caeaee2",{"version":"1438983dc578bfff7e967eafc68bed30cdbc7f78f4bde0589c50f0dd1d966591","signature":"98a5d38d7f4e434bb6e45f9042f6d6f573d0551238d8466fdc410a6c65572dab"},{"version":"07f2ff8f75afb522dfa24a75d882f09ffcd120b77aa30afc0d97ad88b8433369","signature":"0ec46beeed75e26cec533759fe98273bb5bbb4c4cb7969f47212fbfcf014d1ee"},{"version":"2d12d4231a8fc5dae4ea25a6c9a955558315a053632be6bc626ebbc6b1d1a533","signature":"ab036c0b1723784faae99f022d39b5c0665bdd0b33279e80b38a36e9ebcb91bb"},{"version":"63a3f1c10e74e0512d6adbbfe323411b975994cb797ac905efb1f6e4cb24cba0","signature":"ade7f4e7f0f81a4f6f76067ec1b549f49c2c42eaff8a80ce0a071a0745b93386"},{"version":"d12d27b750c115752ca780647aaf620d3bc2b7e678e2a264eef4554f3c126912","signature":"7af584840a465732c9aa51afaa4f5348144b5d02b8f6cee7b31e64db8c0cc741"},{"version":"48876573cacb5bf76fcc261839e019f117f02c5aeced4917a96e6d002b234443","signature":"190146b407cb5731ab2886aa2413a7d3fa3f551ac20a586a9a9540fb997bb6fb"},{"version":"26a7910f9ab4058ccb2dc29367d29a6d965fc886afa4d4ef95c32ebf622aefd3","signature":"d39711fe7e811e2eacb8afca02ead1a2731a2fc26c24163d4772a8beffd6ab10"},{"version":"1eee8c0d80ba5457bdc93abae0e7fd0742a885bc3c33cd2ef9077c12baab6e5b","signature":"65806d7ad4ebdc86e595451fd79df972c58730f71c2158af9cc3b581aeb7f6ee"},{"version":"913dd28522b0b766bf95e31fd67f59c004a51465515ac02598de4fe3ff4f8eeb","signature":"05ef868c2ea2dc06fd577ddb24e4172789b84c0f8cae6ea54c05ac049cab7895"},{"version":"f66a961e4ebc9251a49997b37a71b7e9919d15e8039aec966a74f322ede68418","signature":"5b7da781b7b3dd92e79c65842d3f90e2026de328376e1372dad635ce9ada467a"},"e142fda89ed689ea53d6f2c93693898464c7d29a0ae71c6dc8cdfe5a1d76c775","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"b028f7df55fa70e9d8939bba6c57967ee4eea0fc5d1911b52289978818ab10a3","affectsGlobalScope":true},"db3ec8993b7596a4ef47f309c7b25ee2505b519c13050424d9c34701e5973315",{"version":"5a38909344f43b30b74c90623f83f4412344e992f2ff158e3b6d3725af18dc02","affectsGlobalScope":true},"af49b066a76ce26673fe49d1885cc6b44153f1071ed2d952f2a90fccba1095c9","f22fd1dc2df53eaf5ce0ff9e0a3326fc66f880d6a652210d50563ae72625455f",{"version":"3ddbdb519e87a7827c4f0c4007013f3628ca0ebb9e2b018cf31e5b2f61c593f1","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"6d498d4fd8036ea02a4edcae10375854a0eb1df0496cf0b9d692577d3c0fd603","affectsGlobalScope":true},"24642567d3729bcc545bacb65ee7c0db423400c7f1ef757cab25d05650064f98","fd09b892597ab93e7f79745ce725a3aaf6dd005e8db20f0c63a5d10984cba328","a3be878ff1e1964ab2dc8e0a3b67087cf838731c7f3d8f603337e7b712fdd558","5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","9be74296ee565af0c12d7071541fdd23260f53c3da7731fb6361f61150a791f6",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"f501a53b94ba382d9ba396a5c486969a3abc68309828fa67f916035f5d37fe2b","affectsGlobalScope":true},"aa658b5d765f630c312ac9202d110bbaf2b82d180376457f0a9d57b42629714a","312ac7cbd070107766a9886fd27f9faad997ef57d93fdfb4095df2c618ac8162","2e9b4e7f9942af902eb85bae6066d04ef1afee51d61554a62d144df3da7dec94","672ad3045f329e94002256f8ed460cfd06173a50c92cde41edaadfacffd16808","64da4965d1e0559e134d9c1621ae400279a216f87ed00c4cce4f2c7c78021712","2205527b976f4f1844adc46a3f0528729fb68cac70027a5fb13c49ca23593797",{"version":"0166fce1204d520fdfd6b5febb3cda3deee438bcbf8ce9ffeb2b1bcde7155346","affectsGlobalScope":true},"d8b13eab85b532285031b06a971fa051bf0175d8fff68065a24a6da9c1c986cf","50c382ba1827988c59aa9cc9d046e386d55d70f762e9e352e95ee8cb7337cdb8","bb9627ab9d078c79bb5623de4ac8e5d08f806ec9b970962dfc83b3211373690d",{"version":"21d7e87f271e72d02f8d167edc902f90b04525edc7918f00f01dd0bd00599f7e","affectsGlobalScope":true},{"version":"6f6abdaf8764ef01a552a958f45e795b5e79153b87ddad3af5264b86d2681b72","affectsGlobalScope":true},"a215554477f7629e3dcbc8cde104bec036b78673650272f5ffdc5a2cee399a0a","c3497fc242aabfedcd430b5932412f94f157b5906568e737f6a18cc77b36a954","cdc1de3b672f9ef03ff15c443aa1b631edca35b6ae6970a7da6400647ff74d95","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","bf01fdd3b93cf633b3f7420718457af19c57ab8cbfea49268df60bae2e84d627","15c5e91b5f08be34a78e3d976179bf5b7a9cc28dc0ef1ffebffeb3c7812a2dca","5f461d6f5d9ff474f1121cc3fd86aa3cd67476c701f55c306d323c5112201207","65b39cc6b610a4a4aecc321f6efb436f10c0509d686124795b4c36a5e915b89e","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","d3edb86744e2c19f2c1503849ac7594a5e06024f2451bacae032390f2e20314a",{"version":"ea70400f0fe63efb412817f818a4f67afeb9f7edf4c6a320064b8dabe05588d4","affectsGlobalScope":true},{"version":"8a3e61347b8f80aa5af532094498bceb0c0b257b25a6aa8ab4880fd6ed57c95a","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","950f6810f7c80e0cffefcf1bcc6ade3485c94394720e334c3c2be3c16b6922fb","5475df7cfc493a08483c9d7aa61cc04791aecba9d0a2efc213f23c4006d4d3cd","000720870b275764c65e9f28ac97cc9e4d9e4a36942d4750ca8603e416e9c57c",{"version":"54412c70bacb9ed547ed6caae8836f712a83ccf58d94466f3387447ec4e82dc3","affectsGlobalScope":true},{"version":"e74e7b0baa7a24f073080091427d36a75836d584b9393e6ac2b1daf1647fe65a","affectsGlobalScope":true},"4c48e931a72f6971b5add7fdb1136be1d617f124594e94595f7114af749395e0","478eb5c32250678a906d91e0529c70243fc4d75477a08f3da408e2615396f558","e686a88c9ee004c8ba12ffc9d674ca3192a4c50ed0ca6bd5b2825c289e2b2bfe",{"version":"0d27932df2fbc3728e78b98892540e24084424ce12d3bd32f62a23cf307f411f","affectsGlobalScope":true},"4423fb3d6abe6eefb8d7f79eb2df9510824a216ec1c6feee46718c9b18e6d89f",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"01c47d1c006b3a15b51d89d7764fff7e4fabc4e412b3a61ee5357bd74b822879","cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"c8950367d1812758e9e354c695c60c3e6311bf2cd98b9f9eb469a19df8a9a486","affectsGlobalScope":true}],"root":[48,49,51,[63,66],[82,89],91],"options":{"declaration":true,"emitDeclarationOnly":false,"esModuleInterop":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitHelpers":true,"noImplicitAny":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"target":2},"fileIdsList":[[188],[190,193],[67,69,70,71,72,73,74,75,76,77,78,79],[67,68,70,71,72,73,74,75,76,77,78,79],[68,69,70,71,72,73,74,75,76,77,78,79],[67,68,69,71,72,73,74,75,76,77,78,79],[67,68,69,70,72,73,74,75,76,77,78,79],[67,68,69,70,71,73,74,75,76,77,78,79],[67,68,69,70,71,72,74,75,76,77,78,79],[67,68,69,70,71,72,73,75,76,77,78,79],[67,68,69,70,71,72,73,74,76,77,78,79],[67,68,69,70,71,72,73,74,75,77,78,79],[67,68,69,70,71,72,73,74,75,76,78,79],[67,68,69,70,71,72,73,74,75,76,77,79],[79],[80],[67,68,69,70,71,72,73,74,75,76,77,78],[53],[52],[54],[54,57,58,59,60,61,62],[54,55,58,59,60,61,62],[54,55,57,58,59,61,62],[54,55,57,58,59,60,61],[54,55,57,58,59,60,62],[54,55,57,58,60,61,62],[54,55,57,59,60,61,62],[186,192],[190],[187,191],[189],[92],[133],[134,139,169],[135,140,146,147,154,166,177],[135,136,146,154],[137,178],[138,139,147,155],[139,166,174],[140,142,146,154],[133,141],[142,143],[146],[144,146],[133,146],[146,147,148,166,177],[146,147,148,161,166,169],[131,134,182],[131,142,146,149,154,166,177],[146,147,149,150,154,166,174,177],[149,151,166,174,177],[92,93,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],[146,152],[153,177,182],[142,146,154,166],[155],[156],[133,157],[92,93,133,134,135,136,137,138,139,140,141,142,143,144,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],[159],[160],[146,161,162],[161,163,178,180],[134,146,166,167,168,169],[134,166,168],[166,167],[169],[170],[92,166],[146,172,173],[172,173],[139,154,166,174],[175],[154,176],[134,149,160,177],[139,178],[166,179],[153,180],[181],[134,139,146,148,157,166,177,180,182],[166,183],[103,107,177],[103,166,177],[98],[100,103,174,177],[154,174],[185],[98,185],[100,103,154,177],[95,96,99,102,134,146,166,177],[103,110],[95,101],[103,124,125],[99,103,134,169,177,185],[134,185],[124,134,185],[97,98,185],[103],[97,98,99,100,101,102,103,104,105,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,125,126,127,128,129,130],[103,118],[103,110,111],[101,103,111,112],[102],[95,98,103],[103,107,111,112],[107],[101,103,106,177],[95,100,103,110],[134,166],[98,103,124,134,182,185],[47,84],[47],[47,50],[47,54,55,56,57,58,59,60,61,62],[47,50,63,64],[47,50,51,64,65,82,83],[47,49,64,66,81,82],[47,63],[47,48,49,50,66,82,83,84,85,88,89,90,180],[47,66,85,86,87],[47,64],[47,66,84,85]],"referencedMap":[[189,1],[194,2],[68,3],[69,4],[67,5],[70,6],[71,7],[72,8],[73,9],[74,10],[75,11],[76,12],[77,13],[78,14],[80,15],[81,16],[79,17],[54,18],[53,19],[56,20],[55,21],[57,22],[60,23],[62,24],[61,25],[59,26],[58,27],[193,28],[191,29],[192,30],[190,31],[92,32],[93,32],[133,33],[134,34],[135,35],[136,36],[137,37],[138,38],[139,39],[140,40],[141,41],[142,42],[143,42],[145,43],[144,44],[146,45],[147,46],[148,47],[132,48],[149,49],[150,50],[151,51],[185,52],[152,53],[153,54],[154,55],[155,56],[156,57],[157,58],[158,59],[159,60],[160,61],[161,62],[162,62],[163,63],[166,64],[168,65],[167,66],[169,67],[170,68],[171,69],[172,70],[173,71],[174,72],[175,73],[176,74],[177,75],[178,76],[179,77],[180,78],[181,79],[182,80],[183,81],[110,82],[120,83],[109,82],[130,84],[101,85],[100,86],[129,87],[123,88],[128,89],[103,90],[117,91],[102,92],[126,93],[98,94],[97,95],[127,96],[99,97],[104,98],[108,98],[131,99],[121,100],[112,101],[113,102],[115,103],[111,104],[114,105],[124,87],[106,106],[107,107],[116,108],[96,109],[119,100],[118,98],[125,110],[89,111],[48,112],[51,113],[64,112],[63,114],[65,115],[84,116],[83,117],[82,118],[49,112],[91,119],[90,112],[88,120],[87,121],[86,122],[85,112],[66,112]]},"version":"5.5.2"}
|
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.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.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.esnext.intl.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/errors.ts","../src/iife.ts","../../../node_modules/handlebars/types/index.d.ts","../src/helpers/Helper.ts","../../../node_modules/dayjs/locale/types.d.ts","../../../node_modules/dayjs/locale/index.d.ts","../../../node_modules/dayjs/index.d.ts","../../../node_modules/dayjs/plugin/duration.d.ts","../../../node_modules/dayjs/plugin/advancedFormat.d.ts","../../../node_modules/dayjs/plugin/isoWeek.d.ts","../../../node_modules/dayjs/plugin/weekYear.d.ts","../../../node_modules/dayjs/plugin/weekOfYear.d.ts","../../../node_modules/dayjs/plugin/relativeTime.d.ts","../../../node_modules/dayjs/plugin/utc.d.ts","../../../node_modules/dayjs/plugin/timezone.d.ts","../src/helpers/date.ts","../src/helpers/constants.ts","../src/helpers/external.ts","../src/utilities.ts","../src/helpers/list.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash/fp.d.ts","../src/helpers/javascript.ts","../src/helpers/index.ts","../src/types.ts","../src/processors/preprocessor.ts","../src/processors/postprocessor.ts","../src/processors/index.ts","../src/conversion/index.ts","../src/manifest.json","../src/index.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/buffer/index.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.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.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/agent.d.ts","../node_modules/undici-types/mock-interceptor.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/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/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/filereader.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/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/dom-events.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/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/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/test.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/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"4a882ffbb4ed09d9b7734f784aebb1dfe488d63725c40759165c5d9c657ca029",{"version":"24f28aaf736ac9d1e0a06a07b3d33f1c6a6ac4f6be3a2b363c69b119f96667b5","signature":"39321e5a6ce89c11c4d8a87c3ab79cf1c89138d216ab948f60ee2976d650843f"},{"version":"723c40015eef4c59b2c099f472160bdf283be7a829ee013911f60e68547700b1","signature":"e9c75226885725165dc38bd0606a65beb452794f1ef6200877de28a6322f2d31"},{"version":"f3a68054f682f21cec1eb6bc37d3c4c7f73b7723c7256f8a1ccc75873024aaa6","affectsGlobalScope":true},{"version":"0f3f125a9b0ab02fe51c0dd9349fae8a3dcd96a133dfacf78fd9b289fa441aa8","signature":"b8685e42b045169cce837f3869129301898f8f587d884d291df56fcbede886f8"},{"version":"73a0ee6395819b063df4b148211985f2e1442945c1a057204cf4cf6281760dc3","affectsGlobalScope":true},"d05d8c67116dceafc62e691c47ac89f8f10cf7313cd1b2fb4fe801c2bf1bb1a7","3c5bb5207df7095882400323d692957e90ec17323ccff5fd5f29a1ecf3b165d0","112dc31db3c5f45551532c2f0ddd2b55c98762c3cb5fd113f7c255825e6e04b2","49123f65d0f1270a60f5cdb7220dea12d9fcbff320447c933511cb1f7168a11b","9ff194a196707954313c197ff74831edf396ee89f6b6e50cd5fe9e07b8d7d46b","e07e8ad944e11080473becbc5129b162302dd991b438f97dbff930e59d94ff98","da1de218850a5710c84587f9ceecac7106c62f92a75a121cb1106fca10aed46b","f684f2969931de8fb9a5164f8c8f51aaea4025f4eede98406a17642a605c2842","c868f50837eedd81fa9f61bd42de6665f74e7eb7a459135c6a14ac33ddc86798","56b2090352084289a1d572dfbddeed948906c0a0317a547ceb0ae6436ae44037",{"version":"8e4e1881895b80cc7154eb1e31595e0784ec11cc0930f0589c25dc502f071650","signature":"9041bc1bfa4e56b13e37cacea5f61f8155bb36345f369496fab6c5f4f15108e5"},{"version":"f326fcace00cf55fafa921268d0c4610c2050913824f431d3a79a742f7e4e5e7","signature":"47a87cfbddd5a0ae1c6155ac8c5183e6de4f40ecb2b2ddacbc510867448ae05e"},{"version":"3c18437a0e20b8450006233c1a432f75dd3a82f3e10314572900542fd437314c","signature":"7cfe147b80dccb9f427c59450407fdc7fc9b1ad44f60d42d75ac9c877064c4c1"},{"version":"08002715882359e15fa2cb9f8f7f3929eee93f3a6c1f2e3888311988f24745db","signature":"acf44ed5304935d29f85ffdd12e92981c2bc1a9abb4e2a0956d1ad099e9eef84"},{"version":"1438983dc578bfff7e967eafc68bed30cdbc7f78f4bde0589c50f0dd1d966591","signature":"98a5d38d7f4e434bb6e45f9042f6d6f573d0551238d8466fdc410a6c65572dab"},"32ab25b7b28b24a138d879ca371b18c8fdfdd564ad5107e1333c5aa5d5fea494","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6f294731b495c65ecf46a5694f0082954b961cf05463bea823f8014098eaffa0","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","b82fc740467e59abe3d6170417e461527d2a95610f55915fc59557c4b7be55ba","07f4a3755c28e85f366e753c73a1b447f691e11d0edf2d97af216343842699ac",{"version":"201af51baa319fad11ce49512075daf9ffd28665b27800f087f93bf62c4bb794","signature":"d9cdc6fa31cb2c1381b80cda32ff53c8145b0f80d399cb96fea550da7485ff22"},{"version":"2d12d4231a8fc5dae4ea25a6c9a955558315a053632be6bc626ebbc6b1d1a533","signature":"ab036c0b1723784faae99f022d39b5c0665bdd0b33279e80b38a36e9ebcb91bb"},{"version":"0f35a544683af32549a8a361321847e79030037c9d6131cb441fbf690aabff74","signature":"c32f92e573deff7dbde8e1405f10385fbcf5b657c12eff85d14d42d56476b7ea"},{"version":"d12d27b750c115752ca780647aaf620d3bc2b7e678e2a264eef4554f3c126912","signature":"7af584840a465732c9aa51afaa4f5348144b5d02b8f6cee7b31e64db8c0cc741"},{"version":"48876573cacb5bf76fcc261839e019f117f02c5aeced4917a96e6d002b234443","signature":"190146b407cb5731ab2886aa2413a7d3fa3f551ac20a586a9a9540fb997bb6fb"},{"version":"26a7910f9ab4058ccb2dc29367d29a6d965fc886afa4d4ef95c32ebf622aefd3","signature":"d39711fe7e811e2eacb8afca02ead1a2731a2fc26c24163d4772a8beffd6ab10"},{"version":"1eee8c0d80ba5457bdc93abae0e7fd0742a885bc3c33cd2ef9077c12baab6e5b","signature":"65806d7ad4ebdc86e595451fd79df972c58730f71c2158af9cc3b581aeb7f6ee"},{"version":"913dd28522b0b766bf95e31fd67f59c004a51465515ac02598de4fe3ff4f8eeb","signature":"05ef868c2ea2dc06fd577ddb24e4172789b84c0f8cae6ea54c05ac049cab7895"},{"version":"e8fac8c5ff1215a9f61c70a156a797d389f36e012c4a9dd0db653d049dd2955c","signature":"5c9ebdaa3907446a3ce1affcebc41c0072bf4d72d09dd0d6aaabbb8b4d718487"},"e142fda89ed689ea53d6f2c93693898464c7d29a0ae71c6dc8cdfe5a1d76c775","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"b028f7df55fa70e9d8939bba6c57967ee4eea0fc5d1911b52289978818ab10a3","affectsGlobalScope":true},"db3ec8993b7596a4ef47f309c7b25ee2505b519c13050424d9c34701e5973315",{"version":"5a38909344f43b30b74c90623f83f4412344e992f2ff158e3b6d3725af18dc02","affectsGlobalScope":true},"af49b066a76ce26673fe49d1885cc6b44153f1071ed2d952f2a90fccba1095c9","f22fd1dc2df53eaf5ce0ff9e0a3326fc66f880d6a652210d50563ae72625455f",{"version":"3ddbdb519e87a7827c4f0c4007013f3628ca0ebb9e2b018cf31e5b2f61c593f1","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"6d498d4fd8036ea02a4edcae10375854a0eb1df0496cf0b9d692577d3c0fd603","affectsGlobalScope":true},"24642567d3729bcc545bacb65ee7c0db423400c7f1ef757cab25d05650064f98","fd09b892597ab93e7f79745ce725a3aaf6dd005e8db20f0c63a5d10984cba328","a3be878ff1e1964ab2dc8e0a3b67087cf838731c7f3d8f603337e7b712fdd558","5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","9be74296ee565af0c12d7071541fdd23260f53c3da7731fb6361f61150a791f6",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"f501a53b94ba382d9ba396a5c486969a3abc68309828fa67f916035f5d37fe2b","affectsGlobalScope":true},"aa658b5d765f630c312ac9202d110bbaf2b82d180376457f0a9d57b42629714a","312ac7cbd070107766a9886fd27f9faad997ef57d93fdfb4095df2c618ac8162","2e9b4e7f9942af902eb85bae6066d04ef1afee51d61554a62d144df3da7dec94","672ad3045f329e94002256f8ed460cfd06173a50c92cde41edaadfacffd16808","64da4965d1e0559e134d9c1621ae400279a216f87ed00c4cce4f2c7c78021712","2205527b976f4f1844adc46a3f0528729fb68cac70027a5fb13c49ca23593797",{"version":"0166fce1204d520fdfd6b5febb3cda3deee438bcbf8ce9ffeb2b1bcde7155346","affectsGlobalScope":true},"d8b13eab85b532285031b06a971fa051bf0175d8fff68065a24a6da9c1c986cf","50c382ba1827988c59aa9cc9d046e386d55d70f762e9e352e95ee8cb7337cdb8","bb9627ab9d078c79bb5623de4ac8e5d08f806ec9b970962dfc83b3211373690d",{"version":"21d7e87f271e72d02f8d167edc902f90b04525edc7918f00f01dd0bd00599f7e","affectsGlobalScope":true},{"version":"6f6abdaf8764ef01a552a958f45e795b5e79153b87ddad3af5264b86d2681b72","affectsGlobalScope":true},"a215554477f7629e3dcbc8cde104bec036b78673650272f5ffdc5a2cee399a0a","c3497fc242aabfedcd430b5932412f94f157b5906568e737f6a18cc77b36a954","cdc1de3b672f9ef03ff15c443aa1b631edca35b6ae6970a7da6400647ff74d95","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","bf01fdd3b93cf633b3f7420718457af19c57ab8cbfea49268df60bae2e84d627","15c5e91b5f08be34a78e3d976179bf5b7a9cc28dc0ef1ffebffeb3c7812a2dca","5f461d6f5d9ff474f1121cc3fd86aa3cd67476c701f55c306d323c5112201207","65b39cc6b610a4a4aecc321f6efb436f10c0509d686124795b4c36a5e915b89e","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","d3edb86744e2c19f2c1503849ac7594a5e06024f2451bacae032390f2e20314a",{"version":"ea70400f0fe63efb412817f818a4f67afeb9f7edf4c6a320064b8dabe05588d4","affectsGlobalScope":true},{"version":"8a3e61347b8f80aa5af532094498bceb0c0b257b25a6aa8ab4880fd6ed57c95a","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","950f6810f7c80e0cffefcf1bcc6ade3485c94394720e334c3c2be3c16b6922fb","5475df7cfc493a08483c9d7aa61cc04791aecba9d0a2efc213f23c4006d4d3cd","000720870b275764c65e9f28ac97cc9e4d9e4a36942d4750ca8603e416e9c57c",{"version":"54412c70bacb9ed547ed6caae8836f712a83ccf58d94466f3387447ec4e82dc3","affectsGlobalScope":true},{"version":"e74e7b0baa7a24f073080091427d36a75836d584b9393e6ac2b1daf1647fe65a","affectsGlobalScope":true},"4c48e931a72f6971b5add7fdb1136be1d617f124594e94595f7114af749395e0","478eb5c32250678a906d91e0529c70243fc4d75477a08f3da408e2615396f558","e686a88c9ee004c8ba12ffc9d674ca3192a4c50ed0ca6bd5b2825c289e2b2bfe",{"version":"0d27932df2fbc3728e78b98892540e24084424ce12d3bd32f62a23cf307f411f","affectsGlobalScope":true},"4423fb3d6abe6eefb8d7f79eb2df9510824a216ec1c6feee46718c9b18e6d89f",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"01c47d1c006b3a15b51d89d7764fff7e4fabc4e412b3a61ee5357bd74b822879","cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"c8950367d1812758e9e354c695c60c3e6311bf2cd98b9f9eb469a19df8a9a486","affectsGlobalScope":true}],"root":[48,49,51,[63,67],[82,88],90],"options":{"declaration":true,"emitDeclarationOnly":false,"esModuleInterop":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitHelpers":true,"noImplicitAny":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"target":2},"fileIdsList":[[187],[189,192],[68,70,71,72,73,74,75,76,77,78,79,80],[68,69,71,72,73,74,75,76,77,78,79,80],[69,70,71,72,73,74,75,76,77,78,79,80],[68,69,70,72,73,74,75,76,77,78,79,80],[68,69,70,71,73,74,75,76,77,78,79,80],[68,69,70,71,72,74,75,76,77,78,79,80],[68,69,70,71,72,73,75,76,77,78,79,80],[68,69,70,71,72,73,74,76,77,78,79,80],[68,69,70,71,72,73,74,75,77,78,79,80],[68,69,70,71,72,73,74,75,76,78,79,80],[68,69,70,71,72,73,74,75,76,77,79,80],[68,69,70,71,72,73,74,75,76,77,78,80],[80],[68,69,70,71,72,73,74,75,76,77,78,79],[53],[52],[54],[54,57,58,59,60,61,62],[54,55,58,59,60,61,62],[54,55,57,58,59,61,62],[54,55,57,58,59,60,61],[54,55,57,58,59,60,62],[54,55,57,58,60,61,62],[54,55,57,59,60,61,62],[185,191],[189],[186,190],[188],[91],[132],[133,138,168],[134,139,145,146,153,165,176],[134,135,145,153],[136,177],[137,138,146,154],[138,165,173],[139,141,145,153],[132,140],[141,142],[145],[143,145],[132,145],[145,146,147,165,176],[145,146,147,160,165,168],[130,133,181],[130,141,145,148,153,165,176],[145,146,148,149,153,165,173,176],[148,150,165,173,176],[91,92,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],[145,151],[152,176,181],[141,145,153,165],[154],[155],[132,156],[91,92,132,133,134,135,136,137,138,139,140,141,142,143,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],[158],[159],[145,160,161],[160,162,177,179],[133,145,165,166,167,168],[133,165,167],[165,166],[168],[169],[91,165],[145,171,172],[171,172],[138,153,165,173],[174],[153,175],[133,148,159,176],[138,177],[165,178],[152,179],[180],[133,138,145,147,156,165,176,179,181],[165,182],[102,106,176],[102,165,176],[97],[99,102,173,176],[153,173],[184],[97,184],[99,102,153,176],[94,95,98,101,133,145,165,176],[102,109],[94,100],[102,123,124],[98,102,133,168,176,184],[133,184],[123,133,184],[96,97,184],[102],[96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,124,125,126,127,128,129],[102,117],[102,109,110],[100,102,110,111],[101],[94,97,102],[102,106,110,111],[106],[100,102,105,176],[94,99,102,109],[133,165],[97,102,123,133,181,184],[47,83],[47],[47,50],[47,54,55,56,57,58,59,60,61,62],[47,50,63,64],[47,50,51,64,65,67,82],[47,48,49,64,66,67,81],[47,63],[47,48,49,50,66,67,82,83,84,87,88,89,179],[47,66,84,85,86],[47,64],[47,66,83,84]],"referencedMap":[[188,1],[193,2],[69,3],[70,4],[68,5],[71,6],[72,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[81,15],[80,16],[54,17],[53,18],[56,19],[55,20],[57,21],[60,22],[62,23],[61,24],[59,25],[58,26],[192,27],[190,28],[191,29],[189,30],[91,31],[92,31],[132,32],[133,33],[134,34],[135,35],[136,36],[137,37],[138,38],[139,39],[140,40],[141,41],[142,41],[144,42],[143,43],[145,44],[146,45],[147,46],[131,47],[148,48],[149,49],[150,50],[184,51],[151,52],[152,53],[153,54],[154,55],[155,56],[156,57],[157,58],[158,59],[159,60],[160,61],[161,61],[162,62],[165,63],[167,64],[166,65],[168,66],[169,67],[170,68],[171,69],[172,70],[173,71],[174,72],[175,73],[176,74],[177,75],[178,76],[179,77],[180,78],[181,79],[182,80],[109,81],[119,82],[108,81],[129,83],[100,84],[99,85],[128,86],[122,87],[127,88],[102,89],[116,90],[101,91],[125,92],[97,93],[96,94],[126,95],[98,96],[103,97],[107,97],[130,98],[120,99],[111,100],[112,101],[114,102],[110,103],[113,104],[123,86],[105,105],[106,106],[115,107],[95,108],[118,99],[117,97],[124,109],[88,110],[48,111],[51,112],[64,111],[63,113],[65,114],[83,115],[82,116],[67,117],[49,111],[90,118],[89,111],[87,119],[86,120],[85,121],[84,111],[66,111]]},"version":"5.5.2"}
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@budibase/string-templates",
|
3
|
-
"version": "2.32.
|
3
|
+
"version": "2.32.12",
|
4
4
|
"description": "Handlebars wrapper for Budibase templating.",
|
5
5
|
"main": "dist/bundle.cjs",
|
6
6
|
"module": "dist/bundle.mjs",
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"ts-jest": "29.1.1",
|
49
49
|
"typescript": "5.5.2"
|
50
50
|
},
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "2732aec0ace12941b3a40a68945eae29567954db"
|
52
52
|
}
|
package/src/errors.ts
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
-
export class
|
2
|
-
|
1
|
+
export class JsTimeoutError extends Error {
|
2
|
+
static message = "Timed out while executing JS"
|
3
|
+
static code = "JS_TIMEOUT_ERROR"
|
4
|
+
code: string = JsTimeoutError.code
|
5
|
+
|
6
|
+
constructor() {
|
7
|
+
super(JsTimeoutError.message)
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
export class UserScriptError extends Error {
|
12
|
+
static code = "USER_SCRIPT_ERROR"
|
13
|
+
code: string = UserScriptError.code
|
14
|
+
|
15
|
+
constructor(readonly userScriptError: Error) {
|
16
|
+
super(
|
17
|
+
`error while running user-supplied JavaScript: ${userScriptError.toString()}`
|
18
|
+
)
|
19
|
+
}
|
3
20
|
}
|
@@ -1,12 +1,14 @@
|
|
1
|
-
import { atob, isJSAllowed } from "../utilities"
|
2
|
-
import cloneDeep from "lodash/fp/cloneDeep"
|
1
|
+
import { atob, isBackendService, isJSAllowed } from "../utilities"
|
3
2
|
import { LITERAL_MARKER } from "../helpers/constants"
|
4
3
|
import { getJsHelperList } from "./list"
|
5
4
|
import { iifeWrapper } from "../iife"
|
5
|
+
import { JsTimeoutError, UserScriptError } from "../errors"
|
6
|
+
import { cloneDeep } from "lodash/fp"
|
6
7
|
|
7
8
|
// The method of executing JS scripts depends on the bundle being built.
|
8
9
|
// This setter is used in the entrypoint (either index.js or index.mjs).
|
9
|
-
let runJS: ((js: string, context: any) => any) | undefined =
|
10
|
+
let runJS: ((js: string, context: Record<string, any>) => any) | undefined =
|
11
|
+
undefined
|
10
12
|
export const setJSRunner = (runner: typeof runJS) => (runJS = runner)
|
11
13
|
|
12
14
|
export const removeJSRunner = () => {
|
@@ -30,9 +32,19 @@ const removeSquareBrackets = (value: string) => {
|
|
30
32
|
return value
|
31
33
|
}
|
32
34
|
|
35
|
+
const isReservedKey = (key: string) =>
|
36
|
+
key === "snippets" ||
|
37
|
+
key === "helpers" ||
|
38
|
+
key.startsWith("snippets.") ||
|
39
|
+
key.startsWith("helpers.")
|
40
|
+
|
33
41
|
// Our context getter function provided to JS code as $.
|
34
42
|
// Extracts a value from context.
|
35
43
|
const getContextValue = (path: string, context: any) => {
|
44
|
+
// We populate `snippets` ourselves, don't allow access to it.
|
45
|
+
if (isReservedKey(path)) {
|
46
|
+
return undefined
|
47
|
+
}
|
36
48
|
const literalStringRegex = /^(["'`]).*\1$/
|
37
49
|
let data = context
|
38
50
|
// check if it's a literal string - just return path if its quoted
|
@@ -45,6 +57,7 @@ const getContextValue = (path: string, context: any) => {
|
|
45
57
|
}
|
46
58
|
data = data[removeSquareBrackets(key)]
|
47
59
|
})
|
60
|
+
|
48
61
|
return data
|
49
62
|
}
|
50
63
|
|
@@ -66,10 +79,23 @@ export function processJS(handlebars: string, context: any) {
|
|
66
79
|
snippetMap[snippet.name] = snippet.code
|
67
80
|
}
|
68
81
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
82
|
+
let clonedContext: Record<string, any>
|
83
|
+
if (isBackendService()) {
|
84
|
+
// On the backned, values are copied across the isolated-vm boundary and
|
85
|
+
// so we don't need to do any cloning here. This does create a fundamental
|
86
|
+
// difference in how JS executes on the frontend vs the backend, e.g.
|
87
|
+
// consider this snippet:
|
88
|
+
//
|
89
|
+
// $("array").push(2)
|
90
|
+
// return $("array")[1]
|
91
|
+
//
|
92
|
+
// With the context of `{ array: [1] }`, the backend will return
|
93
|
+
// `undefined` whereas the frontend will return `2`. We should fix this.
|
94
|
+
clonedContext = context
|
95
|
+
} else {
|
96
|
+
clonedContext = cloneDeep(context)
|
97
|
+
}
|
98
|
+
|
73
99
|
const sandboxContext = {
|
74
100
|
$: (path: string) => getContextValue(path, clonedContext),
|
75
101
|
helpers: getJsHelperList(),
|
@@ -94,12 +120,49 @@ export function processJS(handlebars: string, context: any) {
|
|
94
120
|
} catch (error: any) {
|
95
121
|
onErrorLog && onErrorLog(error)
|
96
122
|
|
123
|
+
const { noThrow = true } = context.__opts || {}
|
124
|
+
|
125
|
+
// The error handling below is quite messy, because it has fallen to
|
126
|
+
// string-templates to handle a variety of types of error specific to usages
|
127
|
+
// above it in the stack. It would be nice some day to refactor this to
|
128
|
+
// allow each user of processStringSync to handle errors in the way they see
|
129
|
+
// fit.
|
130
|
+
|
131
|
+
// This is to catch the error vm.runInNewContext() throws when the timeout
|
132
|
+
// is exceeded.
|
97
133
|
if (error.code === "ERR_SCRIPT_EXECUTION_TIMEOUT") {
|
98
134
|
return "Timed out while executing JS"
|
99
135
|
}
|
100
|
-
|
101
|
-
|
136
|
+
|
137
|
+
// This is to catch the JsRequestTimeoutError we throw when we detect a
|
138
|
+
// timeout across an entire request in the backend. We use a magic string
|
139
|
+
// because we can't import from the backend into string-templates.
|
140
|
+
if (error.code === "JS_REQUEST_TIMEOUT_ERROR") {
|
141
|
+
return error.message
|
102
142
|
}
|
143
|
+
|
144
|
+
// This is to catch the JsTimeoutError we throw when we detect a timeout in
|
145
|
+
// a single JS execution.
|
146
|
+
if (error.code === JsTimeoutError.code) {
|
147
|
+
return JsTimeoutError.message
|
148
|
+
}
|
149
|
+
|
150
|
+
// This is to catch the error that happens if a user-supplied JS script
|
151
|
+
// throws for reasons introduced by the user.
|
152
|
+
if (error.code === UserScriptError.code) {
|
153
|
+
if (noThrow) {
|
154
|
+
return error.userScriptError.toString()
|
155
|
+
}
|
156
|
+
throw error
|
157
|
+
}
|
158
|
+
|
159
|
+
if (error.name === "SyntaxError") {
|
160
|
+
if (noThrow) {
|
161
|
+
return error.toString()
|
162
|
+
}
|
163
|
+
throw error
|
164
|
+
}
|
165
|
+
|
103
166
|
return "Error while executing JS"
|
104
167
|
}
|
105
168
|
}
|
package/src/index.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { createContext, runInNewContext } from "vm"
|
2
2
|
import { create, TemplateDelegate } from "handlebars"
|
3
3
|
import { registerAll, registerMinimum } from "./helpers/index"
|
4
4
|
import { postprocess, preprocess } from "./processors"
|
@@ -16,6 +16,7 @@ import { removeJSRunner, setJSRunner } from "./helpers/javascript"
|
|
16
16
|
|
17
17
|
import manifest from "./manifest.json"
|
18
18
|
import { ProcessOptions } from "./types"
|
19
|
+
import { UserScriptError } from "./errors"
|
19
20
|
|
20
21
|
export { helpersToRemoveForJs, getJsHelperList } from "./helpers/list"
|
21
22
|
export { FIND_ANY_HBS_REGEX } from "./utilities"
|
@@ -122,7 +123,7 @@ function createTemplate(
|
|
122
123
|
export async function processObject<T extends Record<string, any>>(
|
123
124
|
object: T,
|
124
125
|
context: object,
|
125
|
-
opts?:
|
126
|
+
opts?: ProcessOptions
|
126
127
|
): Promise<T> {
|
127
128
|
testObject(object)
|
128
129
|
|
@@ -172,7 +173,7 @@ export async function processString(
|
|
172
173
|
export function processObjectSync(
|
173
174
|
object: { [x: string]: any },
|
174
175
|
context: any,
|
175
|
-
opts
|
176
|
+
opts?: ProcessOptions
|
176
177
|
): object | Array<any> {
|
177
178
|
testObject(object)
|
178
179
|
for (let key of Object.keys(object || {})) {
|
@@ -229,8 +230,12 @@ export function processStringSync(
|
|
229
230
|
} else {
|
230
231
|
return process(string)
|
231
232
|
}
|
232
|
-
} catch (err) {
|
233
|
-
|
233
|
+
} catch (err: any) {
|
234
|
+
const { noThrow = true } = opts || {}
|
235
|
+
if (noThrow) {
|
236
|
+
return input
|
237
|
+
}
|
238
|
+
throw err
|
234
239
|
}
|
235
240
|
}
|
236
241
|
|
@@ -448,23 +453,41 @@ export function convertToJS(hbs: string) {
|
|
448
453
|
return `${varBlock}${js}`
|
449
454
|
}
|
450
455
|
|
451
|
-
export {
|
456
|
+
export { JsTimeoutError, UserScriptError } from "./errors"
|
457
|
+
|
458
|
+
export function browserJSSetup() {
|
459
|
+
/**
|
460
|
+
* Use polyfilled vm to run JS scripts in a browser Env
|
461
|
+
*/
|
462
|
+
setJSRunner((js: string, context: Record<string, any>) => {
|
463
|
+
createContext(context)
|
464
|
+
|
465
|
+
const wrappedJs = `
|
466
|
+
result = {
|
467
|
+
result: null,
|
468
|
+
error: null,
|
469
|
+
};
|
470
|
+
|
471
|
+
try {
|
472
|
+
result.result = ${js};
|
473
|
+
} catch (e) {
|
474
|
+
result.error = e;
|
475
|
+
}
|
476
|
+
|
477
|
+
result;
|
478
|
+
`
|
479
|
+
|
480
|
+
const result = runInNewContext(wrappedJs, context, { timeout: 1000 })
|
481
|
+
if (result.error) {
|
482
|
+
throw new UserScriptError(result.error)
|
483
|
+
}
|
484
|
+
return result.result
|
485
|
+
})
|
486
|
+
}
|
452
487
|
|
453
488
|
export function defaultJSSetup() {
|
454
489
|
if (!isBackendService()) {
|
455
|
-
|
456
|
-
* Use polyfilled vm to run JS scripts in a browser Env
|
457
|
-
*/
|
458
|
-
setJSRunner((js: string, context: Context) => {
|
459
|
-
context = {
|
460
|
-
...context,
|
461
|
-
alert: undefined,
|
462
|
-
setInterval: undefined,
|
463
|
-
setTimeout: undefined,
|
464
|
-
}
|
465
|
-
createContext(context)
|
466
|
-
return runInNewContext(js, context, { timeout: 1000 })
|
467
|
-
})
|
490
|
+
browserJSSetup()
|
468
491
|
} else {
|
469
492
|
removeJSRunner()
|
470
493
|
}
|
package/src/types.ts
CHANGED
package/src/utilities.ts
CHANGED
@@ -4,7 +4,14 @@ export const FIND_HBS_REGEX = /{{([^{].*?)}}/g
|
|
4
4
|
export const FIND_ANY_HBS_REGEX = /{?{{([^{].*?)}}}?/g
|
5
5
|
export const FIND_TRIPLE_HBS_REGEX = /{{{([^{].*?)}}}/g
|
6
6
|
|
7
|
+
const isJest = () => typeof jest !== "undefined"
|
8
|
+
|
7
9
|
export const isBackendService = () => {
|
10
|
+
// We consider the tests for string-templates to be frontend, so that they
|
11
|
+
// test the frontend JS functionality.
|
12
|
+
if (isJest()) {
|
13
|
+
return false
|
14
|
+
}
|
8
15
|
return typeof window === "undefined"
|
9
16
|
}
|
10
17
|
|