diff --git a/.eslintrc.json b/.eslintrc.json index 650d68f1..d1a898eb 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -40,6 +40,8 @@ "register.js", "jest.js", "swc-config.js", + "website/**", + "test-app/hook.js", "!.projenrc.ts", "!projenrc/**/*.ts" ], diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0ef2fc9..a9e48a7a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,7 @@ jobs: outputs: self_mutation_happened: ${{ steps.self_mutation.outputs.self_mutation_happened }} env: + CI: "true" CLEAN_UP_STACK: "1" steps: - name: Checkout diff --git a/.npmignore b/.npmignore index b2b75205..396c05a3 100644 --- a/.npmignore +++ b/.npmignore @@ -21,3 +21,4 @@ dist tsconfig.tsbuildinfo /.eslintrc.json /test-app +/website diff --git a/.projen/deps.json b/.projen/deps.json index 9c8073ca..a250d841 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -20,6 +20,10 @@ "version": "2.28.1", "type": "build" }, + { + "name": "@aws-sdk/client-dynamodb", + "type": "build" + }, { "name": "@swc/jest", "type": "build" @@ -254,6 +258,10 @@ { "name": "minimatch", "type": "runtime" + }, + { + "name": "source-map", + "type": "runtime" } ], "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." diff --git a/.projen/tasks.json b/.projen/tasks.json index 83c22685..5a7e2ee5 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -126,7 +126,7 @@ "description": "Runs eslint against the codebase", "steps": [ { - "exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern src test test build-tools projenrc" + "exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern src test build-tools projenrc" } ] }, @@ -195,21 +195,40 @@ }, "steps": [ { - "exec": "cd ./test-app && yarn && yarn build && yarn synth --quiet" + "spawn": "test:fast" + }, + { + "spawn": "test:runtime" }, { - "exec": "jest --passWithNoTests --all --updateSnapshot" + "spawn": "test:app" }, { "spawn": "eslint" } ] }, + "test:app": { + "name": "test:app", + "steps": [ + { + "exec": "cd ./test-app && yarn && yarn build && yarn synth --quiet" + } + ] + }, "test:fast": { "name": "test:fast", "steps": [ { - "exec": "jest --testPathIgnorePatterns localstack --coverage false" + "exec": "jest --passWithNoTests --all --updateSnapshot --testPathIgnorePatterns '(localstack|runtime)'" + } + ] + }, + "test:runtime": { + "name": "test:runtime", + "steps": [ + { + "exec": "jest --passWithNoTests --all --updateSnapshot --testPathPattern '(localstack|runtime)' --no-cache" } ] }, diff --git a/.projenrc.ts b/.projenrc.ts index ef7cc90d..53600b51 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -102,6 +102,7 @@ const project = new CustomTypescriptProject({ "@swc/cli", "@swc/core@1.2.245", "@swc/register", + "source-map", ], devDeps: [ `@aws-cdk/aws-appsync-alpha@${MIN_CDK_VERSION}-alpha.0`, @@ -118,9 +119,11 @@ const project = new CustomTypescriptProject({ /** * For CDK Local Stack tests */ + "@aws-sdk/client-dynamodb", `@aws-cdk/cloud-assembly-schema@${MIN_CDK_VERSION}`, `@aws-cdk/cloudformation-diff@${MIN_CDK_VERSION}`, `@aws-cdk/cx-api@${MIN_CDK_VERSION}`, + "aws-sdk", `aws-cdk@${MIN_CDK_VERSION}`, `cdk-assets@${MIN_CDK_VERSION}`, "promptly", @@ -142,9 +145,8 @@ const project = new CustomTypescriptProject({ transform: { "^.+\\.(t|j)sx?$": ["./jest.js", {}], }, - // TODO: delete me, just to shorten the test cycle - testMatch: ["**/secret.localstack.test.ts"], }, + extraCliOptions: ["--testPathIgnorePatterns '(runtime|localstack)'"], }, scripts: { localstack: "./scripts/localstack", @@ -159,16 +161,24 @@ const project = new CustomTypescriptProject({ "typescript@^4.8.2", ], eslintOptions: { - dirs: ["src", "test"], - ignorePatterns: ["scripts/**", "register.js", "jest.js", "swc-config.js"], + dirs: ["src"], + ignorePatterns: [ + "scripts/**", + "register.js", + "jest.js", + "swc-config.js", + "website/**", + "test-app/hook.js", + ], lintProjenRc: false, }, tsconfig: { compilerOptions: { // @ts-ignore declarationMap: true, + lib: ["dom", "ES2022"], noUncheckedIndexedAccess: true, - lib: ["dom", "ES2019"], + resolveJsonModule: true, skipLibCheck: true, }, }, @@ -242,9 +252,7 @@ project.compileTask.env("TEST_DEPLOY_TARGET", "AWS"); project.compileTask.prependExec("ts-node ./scripts/sdk-gen.ts"); -project.testTask.prependExec( - "cd ./test-app && yarn && yarn build && yarn synth --quiet" -); +project.testTask.reset(); // To run tests on github using localstack instead of AWS, uncomment the below and comment out TEST_DEPLOY_TARGET. // project.testTask.prependExec("./scripts/localstack"); @@ -256,10 +264,25 @@ project.testTask.prependExec( project.testTask.env("TEST_DEPLOY_TARGET", "AWS"); project.testTask.env("NODE_OPTIONS", "--max-old-space-size=4096"); -const testFast = project.addTask("test:fast"); -testFast.exec(`jest --testPathIgnorePatterns localstack --coverage false`); +const testFast = project.addTask("test:fast", { + exec: "jest --passWithNoTests --all --updateSnapshot --testPathIgnorePatterns '(localstack|runtime)'", +}); + +const testRuntime = project.addTask("test:runtime", { + exec: "jest --passWithNoTests --all --updateSnapshot --testPathPattern '(localstack|runtime)' --no-cache", +}); + +const testApp = project.addTask("test:app", { + exec: "cd ./test-app && yarn && yarn build && yarn synth --quiet", +}); + +project.testTask.spawn(testFast); +project.testTask.spawn(testRuntime); +project.testTask.spawn(testApp); +project.testTask.spawn(project.tasks.tryFind("eslint")!); project.addPackageIgnore("/test-app"); +project.addPackageIgnore("/website"); // id-token is required for aws-actions/configure-aws-credentials@v1 with OIDC // https://github.com/aws-actions/configure-aws-credentials/issues/271#issuecomment-1012450577 @@ -269,7 +292,11 @@ project.buildWorkflow.workflow.jobs.build = { ...project.buildWorkflow.workflow.jobs.build, // deploy the clean up stack during tests to be available for the cleanup pull_request closed job // only do this for build workflow as the release workflow deletes immediately - env: { CLEAN_UP_STACK: "1" }, + env: { + // @ts-ignore + ...project.buildWorkflow.workflow.jobs.build.env, + CLEAN_UP_STACK: "1", + }, permissions: { // @ts-ignore ...project.buildWorkflow.workflow.jobs.build.permissions, diff --git a/.vscode/launch.json b/.vscode/launch.json index 834cbfc6..8e988eae 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -37,8 +37,8 @@ "type": "node", "request": "launch", "runtimeExecutable": "node", - "runtimeArgs": ["--nolazy"], - "args": ["./lib/message-board.js"], + "runtimeArgs": ["--nolazy", "-r", "./hook"], + "args": ["./src/message-board.ts"], "outFiles": [ "${workspaceRoot}/lib/**/*.js", "${workspaceRoot}/test-app/lib/**/*.js", @@ -98,6 +98,7 @@ "disableOptimisticBPs": true, "program": "${workspaceFolder}/node_modules/.bin/jest", "cwd": "${workspaceFolder}", + "runtimeArgs": ["--enable-source-maps"], "args": [ "--runInBand", "--watchAll=false", @@ -108,19 +109,33 @@ "--coverage=false" ] }, - + { + "name": ".projenrc.ts", + "type": "node", + "request": "launch", + "runtimeExecutable": "node", + "runtimeArgs": ["--nolazy", "-r", "@swc/register"], + "args": [".projenrc.ts"], + "cwd": "${workspaceRoot}", + "internalConsoleOptions": "openOnSessionStart", + "skipFiles": ["/**", "node_modules/**"], + "env": { + "TS_NODE_PROJECT": "${workspaceRoot}/test-app/tsconfig.json" + } + }, { "name": "generate aws sdk types", "type": "node", "request": "launch", "runtimeExecutable": "node", "runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], - - "args": ["scripts/sdk-gen.ts"], - + "args": ["./src/serialize-globals.ts"], "cwd": "${workspaceRoot}", "internalConsoleOptions": "openOnSessionStart", - "skipFiles": ["/**", "node_modules/**"] + "skipFiles": ["/**", "node_modules/**"], + "env": { + "TS_NODE_PROJECT": "${workspaceRoot}/tsconfig.json" + } } ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index f79e5125..8603516f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -41,5 +41,8 @@ "eslint.format.enable": false, "typescript.tsdk": "node_modules/typescript/lib", "jest.jestCommandLine": "node_modules/.bin/jest", + "jest.autoRun": { + "onStartup": [] + }, "cSpell.words": ["localstack", "stepfunctions", "typesafe"] } diff --git a/package.json b/package.json index 4a31dbf4..349838b0 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,9 @@ "pre-compile": "npx projen pre-compile", "release": "npx projen release", "test": "npx projen test", + "test:app": "npx projen test:app", "test:fast": "npx projen test:fast", + "test:runtime": "npx projen test:runtime", "test:update": "npx projen test:update", "test:watch": "npx projen test:watch", "unbump": "npx projen unbump", @@ -34,9 +36,10 @@ "@aws-cdk/cloud-assembly-schema": "2.28.1", "@aws-cdk/cloudformation-diff": "2.28.1", "@aws-cdk/cx-api": "2.28.1", + "@aws-sdk/client-dynamodb": "^3.145.0", "@swc/jest": "^0.2.22", "@types/fs-extra": "^9.0.13", - "@types/jest": "^28.1.8", + "@types/jest": "^29.0.3", "@types/minimatch": "^3.0.5", "@types/node": "^14", "@types/uuid": "^8.3.4", @@ -59,7 +62,7 @@ "eslint-plugin-prettier": "^4.2.1", "flatted": "^3.2.7", "graphql-request": "^4.3.0", - "jest": "^28.1.3", + "jest": "^29.0.3", "jest-junit": "^13", "json-schema": "^0.4.0", "npm-check-updates": "^15", @@ -68,7 +71,7 @@ "promptly": "^3.2.0", "proxy-agent": "^5.0.0", "standard-version": "^9", - "ts-jest": "^28.0.8", + "ts-jest": "^29.0.1", "ts-node": "^10.9.1", "ts-patch": "^2.0.2", "typesafe-dynamodb": "0.1.5", @@ -92,7 +95,8 @@ "@swc/register": "^0.1.10", "@types/aws-lambda": "^8.10.102", "fs-extra": "^10.1.0", - "minimatch": "^5.1.0" + "minimatch": "^5.1.0", + "source-map": "^0.7.4" }, "main": "lib/index.js", "license": "Apache-2.0", @@ -143,6 +147,10 @@ ] }, "types": "lib/index.d.ts", + "resolutions": { + "@types/responselike": "1.0.0", + "got": "12.3.1" + }, "lint-staged": { "*.{tsx,jsx,ts,js,json,md,css}": [ "eslint --fix" diff --git a/src/api.ts b/src/api.ts index 453ec892..e7dfb655 100644 --- a/src/api.ts +++ b/src/api.ts @@ -658,12 +658,13 @@ export class APIGatewayVTL extends VTL { } else if ( isPropAccessExpr(node) && isIdentifier(node.name) && - isInputBody(node.expr) && node.name.name === "data" ) { - // $input.data maps to `$input.path('$')` - // this returns a VTL object representing the root payload data - return `$input.path('$')`; + if (isInputBody(node.expr)) { + // $input.data maps to `$input.path('$')` + // this returns a VTL object representing the root payload data + return `$input.path('$')`; + } } return super.eval(node as any, returnVar); } diff --git a/src/asl/synth.ts b/src/asl/synth.ts index 00af9c33..acbd20cb 100644 --- a/src/asl/synth.ts +++ b/src/asl/synth.ts @@ -2923,6 +2923,7 @@ export class ASL { ): ASLGraph.NodeResults { const startArg = expr.args[0]?.expr; const endArg = expr.args[1]?.expr; + const value = this.eval(expr.expr.expr); const valueOutput = ASLGraph.getAslStateOutput(value); if (startArg === undefined && endArg === undefined) { @@ -3410,6 +3411,7 @@ export class ASL { `the 'callback' argument of map must be a function or arrow expression, found: ${callbackfn?.kindName}` ); } + return this.evalExprToJsonPath(expr.expr.expr, (listOutput) => { // we assume that an array literal or a call would return a variable. if ( @@ -4760,7 +4762,7 @@ function toStateName(node?: FunctionlessNode): string { } else if (isBooleanLiteralExpr(node)) { return `${node.value}`; } else if (isCallExpr(node) || isNewExpr(node)) { - if (isSuperKeyword(node.expr) || isImportKeyword(node.expr)) { + if (isImportKeyword(node.expr)) { throw new Error(`calling ${node.expr.kindName} is unsupported in ASL`); } return `${isNewExpr(node) ? "new " : ""}${toStateName( @@ -4795,7 +4797,6 @@ function toStateName(node?: FunctionlessNode): string { `${prop.kindName} is not supported by Step Functions` ); } - return toStateName(prop); }) .join(", ")}}`; diff --git a/src/aws-sdk/sdk.generated.ts b/src/aws-sdk/sdk.generated.ts index ddb58d2d..40d33360 100644 --- a/src/aws-sdk/sdk.generated.ts +++ b/src/aws-sdk/sdk.generated.ts @@ -12482,6 +12482,13 @@ export interface CloudTrail { input: AWS.CloudTrail.DescribeTrailsRequest, options: SdkCallOptions ): Promise; + /** + * Returns the specified CloudTrail service-linked channel. Amazon Web Services services create service-linked channels to view CloudTrail events. + */ + getChannel( + input: AWS.CloudTrail.GetChannelRequest, + options: SdkCallOptions + ): Promise; /** * Returns information about an event data store specified as either an ARN or the ID portion of the ARN. */ @@ -12524,6 +12531,13 @@ export interface CloudTrail { input: AWS.CloudTrail.GetTrailStatusRequest, options: SdkCallOptions ): Promise; + /** + * Returns all CloudTrail channels. + */ + listChannels( + input: AWS.CloudTrail.ListChannelsRequest, + options: SdkCallOptions + ): Promise; /** * Returns information about all event data stores in the account, in the current region. */ @@ -12616,7 +12630,7 @@ export interface CloudTrail { options: SdkCallOptions ): Promise; /** - * Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 90 and 2555. By default, TerminationProtection is enabled. AdvancedEventSelectors includes or excludes management and data events in your event data store; for more information about AdvancedEventSelectors, see PutEventSelectorsRequest$AdvancedEventSelectors. + * Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 90 and 2557. By default, TerminationProtection is enabled. AdvancedEventSelectors includes or excludes management and data events in your event data store; for more information about AdvancedEventSelectors, see PutEventSelectorsRequest$AdvancedEventSelectors. */ updateEventDataStore( input: AWS.CloudTrail.UpdateEventDataStoreRequest, @@ -24960,7 +24974,7 @@ export interface EC2 { options: SdkCallOptions ): Promise; /** - * We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You can only link an instance that's in the running state. An instance is automatically unlinked from a VPC when it's stopped - you can link it to the VPC again when you restart it. After you've linked an instance, you cannot change the VPC security groups that are associated with it. To change the security groups, you must first unlink the instance, and then link it again. Linking your instance to a VPC is sometimes referred to as attaching your instance. + * We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You can only link an instance that's in the running state. An instance is automatically unlinked from a VPC when it's stopped - you can link it to the VPC again when you restart it. After you've linked an instance, you cannot change the VPC security groups that are associated with it. To change the security groups, you must first unlink the instance, and then link it again. Linking your instance to a VPC is sometimes referred to as attaching your instance. */ attachClassicLinkVpc( input: AWS.EC2.AttachClassicLinkVpcRequest, @@ -25163,7 +25177,7 @@ export interface EC2 { options: SdkCallOptions ): Promise; /** - * Creates a default VPC with a size /16 IPv4 CIDR block and a default subnet in each Availability Zone. For more information about the components of a default VPC, see Default VPC and default subnets in the Amazon Virtual Private Cloud User Guide. You cannot specify the components of the default VPC yourself. If you deleted your previous default VPC, you can create a default VPC. You cannot have more than one default VPC per Region. If your account supports EC2-Classic, you cannot use this action to create a default VPC in a Region that supports EC2-Classic. If you want a default VPC in a Region that supports EC2-Classic, see "I really want a default VPC for my existing EC2 account. Is that possible?" in the Default VPCs FAQ. We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. + * Creates a default VPC with a size /16 IPv4 CIDR block and a default subnet in each Availability Zone. For more information about the components of a default VPC, see Default VPC and default subnets in the Amazon Virtual Private Cloud User Guide. You cannot specify the components of the default VPC yourself. If you deleted your previous default VPC, you can create a default VPC. You cannot have more than one default VPC per Region. If your account supports EC2-Classic, you cannot use this action to create a default VPC in a Region that supports EC2-Classic. If you want a default VPC in a Region that supports EC2-Classic, see "I really want a default VPC for my existing EC2 account. Is that possible?" in the Default VPCs FAQ. We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. */ createDefaultVpc( input: AWS.EC2.CreateDefaultVpcRequest, @@ -26185,7 +26199,7 @@ export interface EC2 { options: SdkCallOptions ): Promise; /** - * Describes one or more of your linked EC2-Classic instances. This request only returns information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot use this request to return information about other instances. We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. + * Describes one or more of your linked EC2-Classic instances. This request only returns information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot use this request to return information about other instances. We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. */ describeClassicLinkInstances( input: AWS.EC2.DescribeClassicLinkInstancesRequest, @@ -26318,7 +26332,7 @@ export interface EC2 { options: SdkCallOptions ): Promise; /** - * Describes one or more flow logs. To view the information in your flow logs (the log streams for the network interfaces), you must use the CloudWatch Logs console or the CloudWatch Logs API. + * Describes one or more flow logs. To view the published flow log records, you must view the log destination. For example, the CloudWatch Logs log group, the Amazon S3 bucket, or the Kinesis Data Firehose delivery stream. */ describeFlowLogs( input: AWS.EC2.DescribeFlowLogsRequest, @@ -26976,14 +26990,14 @@ export interface EC2 { options: SdkCallOptions ): Promise; /** - * Describes the ClassicLink status of one or more VPCs. We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. + * Describes the ClassicLink status of one or more VPCs. We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. */ describeVpcClassicLink( input: AWS.EC2.DescribeVpcClassicLinkRequest, options: SdkCallOptions ): Promise; /** - * We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. + * We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. */ describeVpcClassicLinkDnsSupport( input: AWS.EC2.DescribeVpcClassicLinkDnsSupportRequest, @@ -27060,7 +27074,7 @@ export interface EC2 { options: SdkCallOptions ): Promise; /** - * We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped. + * We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped. */ detachClassicLinkVpc( input: AWS.EC2.DetachClassicLinkVpcRequest, @@ -27151,14 +27165,14 @@ export interface EC2 { options: SdkCallOptions ): Promise<{}>; /** - * Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it. We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. + * Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it. We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. */ disableVpcClassicLink( input: AWS.EC2.DisableVpcClassicLinkRequest, options: SdkCallOptions ): Promise; /** - * Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. You must specify a VPC ID in the request. We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. + * Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. You must specify a VPC ID in the request. We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. */ disableVpcClassicLinkDnsSupport( input: AWS.EC2.DisableVpcClassicLinkDnsSupportRequest, @@ -27312,14 +27326,14 @@ export interface EC2 { options: SdkCallOptions ): Promise<{}>; /** - * We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot enable your VPC for ClassicLink if any of your VPC route tables have existing routes for address ranges within the 10.0.0.0/8 IP address range, excluding local routes for VPCs in the 10.0.0.0/16 and 10.1.0.0/16 IP address ranges. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. + * We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot enable your VPC for ClassicLink if any of your VPC route tables have existing routes for address ranges within the 10.0.0.0/8 IP address range, excluding local routes for VPCs in the 10.0.0.0/16 and 10.1.0.0/16 IP address ranges. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. */ enableVpcClassicLink( input: AWS.EC2.EnableVpcClassicLinkRequest, options: SdkCallOptions ): Promise; /** - * We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. You must specify a VPC ID in the request. + * We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS hostname of a linked EC2-Classic instance resolves to its private IP address when addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname of an instance in a VPC resolves to its private IP address when addressed from a linked EC2-Classic instance. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide. You must specify a VPC ID in the request. */ enableVpcClassicLinkDnsSupport( input: AWS.EC2.EnableVpcClassicLinkDnsSupportRequest, @@ -28012,7 +28026,7 @@ export interface EC2 { options: SdkCallOptions ): Promise; /** - * We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following: Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC. Enable/disable communication over the peering connection between instances in your VPC and an EC2-Classic instance that's linked to the peer VPC. Enable/disable the ability to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. If the peered VPCs are in the same Amazon Web Services account, you can enable DNS resolution for queries from the local VPC. This ensures that queries from the local VPC resolve to private IP addresses in the peer VPC. This option is not available if the peered VPCs are in different different Amazon Web Services accounts or different Regions. For peered VPCs in different Amazon Web Services accounts, each Amazon Web Services account owner must initiate a separate request to modify the peering connection options. For inter-region peering connections, you must use the Region for the requester VPC to modify the requester VPC peering options and the Region for the accepter VPC to modify the accepter VPC peering options. To verify which VPCs are the accepter and the requester for a VPC peering connection, use the DescribeVpcPeeringConnections command. + * We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide. Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following: Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC. Enable/disable communication over the peering connection between instances in your VPC and an EC2-Classic instance that's linked to the peer VPC. Enable/disable the ability to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. If the peered VPCs are in the same Amazon Web Services account, you can enable DNS resolution for queries from the local VPC. This ensures that queries from the local VPC resolve to private IP addresses in the peer VPC. This option is not available if the peered VPCs are in different different Amazon Web Services accounts or different Regions. For peered VPCs in different Amazon Web Services accounts, each Amazon Web Services account owner must initiate a separate request to modify the peering connection options. For inter-region peering connections, you must use the Region for the requester VPC to modify the requester VPC peering options and the Region for the accepter VPC to modify the accepter VPC peering options. To verify which VPCs are the accepter and the requester for a VPC peering connection, use the DescribeVpcPeeringConnections command. */ modifyVpcPeeringConnectionOptions( input: AWS.EC2.ModifyVpcPeeringConnectionOptionsRequest, @@ -40300,7 +40314,7 @@ export interface IdentityStore { options: SdkCallOptions ): Promise; /** - * Retrieves membership metadata and attributes from MembershipId in a group. + * Retrieves membership metadata and attributes from MembershipId in an identity store. */ describeGroupMembership( input: AWS.IdentityStore.DescribeGroupMembershipRequest, @@ -40321,7 +40335,7 @@ export interface IdentityStore { options: SdkCallOptions ): Promise; /** - * Retrieves the MembershipId in a group. + * Retrieves the MembershipId in an identity store. */ getGroupMembershipId( input: AWS.IdentityStore.GetGroupMembershipIdRequest, @@ -40335,7 +40349,7 @@ export interface IdentityStore { options: SdkCallOptions ): Promise; /** - * Returns if a member exists in specified groups. + * Checks the user's membership in all requested groups and returns if the member exists in all queried groups. */ isMemberInGroups( input: AWS.IdentityStore.IsMemberInGroupsRequest, @@ -40356,14 +40370,14 @@ export interface IdentityStore { options: SdkCallOptions ): Promise; /** - * Filtering for a group by the group DisplayName attribute is deprecated. Instead, use the GetGroupId API action. Lists all groups in the identity store. Returns a paginated list of complete Group objects. + * Lists the attribute name and value of the group that you specified in the search. We only support DisplayName as a valid filter attribute path currently, and filter is required. This API returns minimum attributes, including GroupId and group DisplayName in the response. */ listGroups( input: AWS.IdentityStore.ListGroupsRequest, options: SdkCallOptions ): Promise; /** - * Filtering for a user by the UserName attribute is deprecated. Instead, use the GetUserId API action. Lists all users in the identity store. Returns a paginated list of complete User objects. + * Lists the attribute name and value of the user that you specified in the search. We only support UserName as a valid filter attribute path currently, and filter is required. This API returns minimum attributes, including UserId and UserName in the response. */ listUsers( input: AWS.IdentityStore.ListUsersRequest, @@ -44027,7 +44041,7 @@ export interface IoTSiteWise { options: SdkCallOptions ): Promise; /** - * This API operation is in preview release for IoT SiteWise and is subject to change. We recommend that you use this operation only with test data, and not in production environments. Defines a job to ingest data to IoT SiteWise from Amazon S3. For more information, see Create a bulk import job (CLI) in the Amazon Simple Storage Service User Guide. You must enable IoT SiteWise to export data to Amazon S3 before you create a bulk import job. For more information about how to configure storage settings, see PutStorageConfiguration. + * Defines a job to ingest data to IoT SiteWise from Amazon S3. For more information, see Create a bulk import job (CLI) in the Amazon Simple Storage Service User Guide. You must enable IoT SiteWise to export data to Amazon S3 before you create a bulk import job. For more information about how to configure storage settings, see PutStorageConfiguration. */ createBulkImportJob( input: AWS.IoTSiteWise.CreateBulkImportJobRequest, @@ -44146,7 +44160,7 @@ export interface IoTSiteWise { options: SdkCallOptions ): Promise; /** - * This API operation is in preview release for IoT SiteWise and is subject to change. We recommend that you use this operation only with test data, and not in production environments. Retrieves information about a bulk import job request. For more information, see Describe a bulk import job (CLI) in the Amazon Simple Storage Service User Guide. + * Retrieves information about a bulk import job request. For more information, see Describe a bulk import job (CLI) in the Amazon Simple Storage Service User Guide. */ describeBulkImportJob( input: AWS.IoTSiteWise.DescribeBulkImportJobRequest, @@ -44293,7 +44307,7 @@ export interface IoTSiteWise { options: SdkCallOptions ): Promise; /** - * This API operation is in preview release for IoT SiteWise and is subject to change. We recommend that you use this operation only with test data, and not in production environments. Retrieves a paginated list of bulk import job requests. For more information, see List bulk import jobs (CLI) in the Amazon Simple Storage Service User Guide. + * Retrieves a paginated list of bulk import job requests. For more information, see List bulk import jobs (CLI) in the IoT SiteWise User Guide. */ listBulkImportJobs( input: AWS.IoTSiteWise.ListBulkImportJobsRequest, @@ -65149,7 +65163,7 @@ export interface Redshift { options: SdkCallOptions ): Promise; /** - * Modifies whether a cluster can use AQUA (Advanced Query Accelerator). + * This operation is retired. Calling this operation does not change AQUA configuration. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator). */ modifyAquaConfiguration( input: AWS.Redshift.ModifyAquaInputMessage, @@ -70227,7 +70241,7 @@ export interface SageMaker { options: SdkCallOptions ): Promise; /** - * Starts a model training job. After training completes, SageMaker saves the resulting model artifacts to an Amazon S3 location that you specify. If you choose to host your model using SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts in a machine learning service other than SageMaker, provided that you know how to use them for inference. In the request body, you provide the following: AlgorithmSpecification - Identifies the training algorithm to use. HyperParameters - Specify these algorithm-specific parameters to enable the estimation of model parameters during training. Hyperparameters can be tuned to optimize this learning process. For a list of hyperparameters for each training algorithm provided by SageMaker, see Algorithms. InputDataConfig - Describes the training dataset and the Amazon S3, EFS, or FSx location where it is stored. OutputDataConfig - Identifies the Amazon S3 bucket where you want SageMaker to save the results of model training. ResourceConfig - Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training. In distributed training, you specify more than one instance. EnableManagedSpotTraining - Optimize the cost of training machine learning models by up to 80% by using Amazon EC2 Spot instances. For more information, see Managed Spot Training. RoleArn - The Amazon Resource Name (ARN) that SageMaker assumes to perform tasks on your behalf during model training. You must grant this role the necessary permissions so that SageMaker can successfully complete model training. StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds to set a time limit for training. Use MaxWaitTimeInSeconds to specify how long a managed spot training job has to complete. Environment - The environment variables to set in the Docker container. RetryStrategy - The number of times to retry the job when the job fails due to an InternalServerError. For more information about SageMaker, see How It Works. + * Starts a model training job. After training completes, SageMaker saves the resulting model artifacts to an Amazon S3 location that you specify. If you choose to host your model using SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts in a machine learning service other than SageMaker, provided that you know how to use them for inference. In the request body, you provide the following: AlgorithmSpecification - Identifies the training algorithm to use. HyperParameters - Specify these algorithm-specific parameters to enable the estimation of model parameters during training. Hyperparameters can be tuned to optimize this learning process. For a list of hyperparameters for each training algorithm provided by SageMaker, see Algorithms. You must not include any security-sensitive information, such as account access IDs, secrets, and tokens, in the dictionary for configuring hyperparameters. SageMaker rejects the training job request and returns an exception error for detected credentials, if such user input is found. InputDataConfig - Describes the training dataset and the Amazon S3, EFS, or FSx location where it is stored. OutputDataConfig - Identifies the Amazon S3 bucket where you want SageMaker to save the results of model training. ResourceConfig - Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training. In distributed training, you specify more than one instance. EnableManagedSpotTraining - Optimize the cost of training machine learning models by up to 80% by using Amazon EC2 Spot instances. For more information, see Managed Spot Training. RoleArn - The Amazon Resource Name (ARN) that SageMaker assumes to perform tasks on your behalf during model training. You must grant this role the necessary permissions so that SageMaker can successfully complete model training. StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds to set a time limit for training. Use MaxWaitTimeInSeconds to specify how long a managed spot training job has to complete. Environment - The environment variables to set in the Docker container. RetryStrategy - The number of times to retry the job when the job fails due to an InternalServerError. For more information about SageMaker, see How It Works. */ createTrainingJob( input: AWS.SageMaker.CreateTrainingJobRequest, @@ -75921,6 +75935,13 @@ export interface SNS { input: AWS.SNS.DeleteTopicInput, options: SdkCallOptions ): Promise<{}>; + /** + * Retrieves the specified inline DataProtectionPolicy document that is stored in the specified Amazon SNS topic. + */ + getDataProtectionPolicy( + input: AWS.SNS.GetDataProtectionPolicyInput, + options: SdkCallOptions + ): Promise; /** * Retrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS. For more information, see Using Amazon SNS Mobile Push Notifications. */ @@ -76047,6 +76068,13 @@ export interface SNS { input: AWS.SNS.PublishBatchInput, options: SdkCallOptions ): Promise; + /** + * Adds or updates an inline policy document that is stored in the specified Amazon SNS topic. + */ + putDataProtectionPolicy( + input: AWS.SNS.PutDataProtectionPolicyInput, + options: SdkCallOptions + ): Promise<{}>; /** * Removes a statement from a topic's access control policy. */ diff --git a/src/aws-sdk/sdk.ts b/src/aws-sdk/sdk.ts index db49ed8a..49f62c70 100644 --- a/src/aws-sdk/sdk.ts +++ b/src/aws-sdk/sdk.ts @@ -84,6 +84,7 @@ const SFN_SERVICE_BLOCK_LIST: { "skipWaitTimeForInstanceTermination", ], ComprehendMedical: ["detectEntities"], + ControlTower: true, DirectConnect: [ "allocateConnectionOnInterconnect", "describeConnectionLoa", diff --git a/src/declaration.ts b/src/declaration.ts index 53c4be5d..bf87c4e7 100644 --- a/src/declaration.ts +++ b/src/declaration.ts @@ -40,7 +40,7 @@ abstract class BaseDecl< export class ClassDecl extends BaseDecl< NodeKind.ClassDecl, - undefined + BlockStmt | undefined > { readonly _classBrand?: C; constructor( @@ -74,7 +74,10 @@ export type ClassMember = | PropDecl | SetAccessorDecl; -export class ClassStaticBlockDecl extends BaseDecl { +export class ClassStaticBlockDecl extends BaseDecl< + NodeKind.ClassStaticBlockDecl, + ClassDecl | ClassExpr +> { constructor( /** * Range of text in the source file where this Node resides. @@ -100,16 +103,36 @@ export class ConstructorDecl extends BaseDecl { * * Only set on the root of the tree, i.e. when `this` is `undefined`. */ - readonly filename?: string + readonly filename: string | undefined, + /** + * The class or object that owns this {@link ConstructorDecl}. + * + * This value is only set if this {@link ConstructorDecl} is the root node in the tree (parent === undefined). + * + * ```ts + * class Foo { + * // ^ + * constructor() {} + * } + * ``` + */ + readonly ownedBy: ReferenceExpr | undefined ) { super(NodeKind.ConstructorDecl, span, arguments); this.ensureArrayOf(parameters, "parameters", [NodeKind.ParameterDecl]); this.ensure(body, "body", [NodeKind.BlockStmt]); this.ensure(filename, "filename", ["undefined", "string"]); + this.ensure(ownedBy, "ownedBy", ["undefined", NodeKind.ReferenceExpr]); } } -export class MethodDecl extends BaseDecl { +export class MethodDecl extends BaseDecl< + NodeKind.MethodDecl, + ClassDecl | ClassExpr | undefined +> { + // @ts-ignore + __methodBrand: F; + constructor( /** * Range of text in the source file where this Node resides. @@ -118,7 +141,6 @@ export class MethodDecl extends BaseDecl { readonly name: PropName, readonly parameters: ParameterDecl[], readonly body: BlockStmt, - /** * true if this function has an `async` modifier * ```ts @@ -149,7 +171,34 @@ export class MethodDecl extends BaseDecl { * * Only set on the root of the tree, i.e. when `this` is `undefined`. */ - readonly filename?: string + readonly filename: string | undefined, + /** + * `true` if this is a static setter on a class. + * + * ```ts + * class Foo { + * static method() { + * return value; + * } + * } + * ``` + */ + readonly isStatic: boolean | undefined, + /** + * The class or object that owns this {@link MethodDecl}. + * + * This value is only set if this {@link MethodDecl} is the root node in the tree (parent === undefined). + * + * ```ts + * class Foo { + * // ^ + * static method() { + * return value; + * } + * } + * ``` + */ + readonly ownedBy: ReferenceExpr | undefined ) { super(NodeKind.MethodDecl, span, arguments); this.ensure(name, "name", NodeKind.PropName); @@ -158,30 +207,81 @@ export class MethodDecl extends BaseDecl { this.ensure(isAsync, "isAsync", ["boolean"]); this.ensure(isAsterisk, "isAsterisk", ["boolean"]); this.ensure(filename, "filename", ["undefined", "string"]); + this.ensure(isStatic, "isStatic", ["undefined", "boolean"]); + this.ensure(ownedBy, "ownedBy", ["undefined", NodeKind.ReferenceExpr]); } } -export class PropDecl extends BaseDecl { +export class PropDecl extends BaseDecl< + NodeKind.PropDecl, + ClassDecl | ClassExpr +> { constructor( /** * Range of text in the source file where this Node resides. */ span: Span, + /** + * Name of the {@link PropDecl}. + * + * ```ts + * class Foo { + * prop; + * // ^ + * } + * ``` + */ readonly name: PropName, + /** + * `true` if this is a static setter on a class. + * + * ```ts + * class Foo { + * static prop: string = ? + * } + * ``` + */ readonly isStatic: boolean, - readonly initializer?: Expr + /** + * An optional initializer for the property. + * + * ```ts + * class Foo { + * prop = + * // ^ + * } + * ``` + */ + readonly initializer: Expr | undefined, + /** + * A reference to the {@link ClassDecl} or {@link ClassExpr} instance that owns this {@link PropDecl} + * + * This value is only set if this {@link PropDecl} is the root node in the tree (parent === undefined). + * + * ```ts + * class Foo { + * // ^ + * static prop: string = ? + * } + * ``` + */ + readonly ownedBy: ReferenceExpr | undefined ) { super(NodeKind.PropDecl, span, arguments); this.ensure(name, "name", NodeKind.PropName); this.ensure(isStatic, "isStatic", ["boolean"]); this.ensure(initializer, "initializer", ["undefined", "Expr"]); + this.ensure(ownedBy, "ownedBy", ["undefined", NodeKind.ReferenceExpr]); } } -export class GetAccessorDecl extends BaseDecl< +export class GetAccessorDecl any = () => any> extends BaseDecl< NodeKind.GetAccessorDecl, ClassDecl | ClassExpr | ObjectLiteralExpr > { + // @ts-ignore + __getterBrand: F; + constructor( /** * Range of text in the source file where this Node resides. @@ -189,8 +289,45 @@ export class GetAccessorDecl extends BaseDecl< span: Span, readonly name: PropName, readonly body: BlockStmt, + /** + * `true` if this is a static getter on a class. + * + * ```ts + * class Foo { + * static get getter() { + * return value; + * } + * } + * ``` + */ readonly isStatic: boolean | undefined, - readonly ownedBy: ReferenceExpr | undefined + /** + * The class or object that owns this {@link GetAccessorDecl}. This value is only set + * if this {@link GetAccessorDecl} is the root node in the tree (parent === undefined). + * + * ```ts + * const object = { + * // ^ + * get getter() { + * return value; + * } + * } + * + * class Foo { + * // ^ + * get getter() { + * return value; + * } + * } + * ``` + */ + readonly ownedBy: ReferenceExpr | undefined, + /** + * Name of the source file this node originates from. + * + * Only set on the root of the tree, i.e. when `this` is `undefined`. + */ + readonly filename?: string ) { super(NodeKind.GetAccessorDecl, span, arguments); this.ensure(name, "name", NodeKind.PropName); @@ -200,32 +337,83 @@ export class GetAccessorDecl extends BaseDecl< NodeKind.ReferenceExpr, "undefined", ]); + this.ensure(filename, "filename", ["string", "undefined"]); } } -export class SetAccessorDecl extends BaseDecl< +export class SetAccessorDecl< + F extends (val: any) => typeof val = (val: any) => typeof val +> extends BaseDecl< NodeKind.SetAccessorDecl, ClassDecl | ClassExpr | ObjectLiteralExpr > { + // @ts-ignore + __setterBrand: F; + constructor( /** * Range of text in the source file where this Node resides. */ span: Span, readonly name: PropName, - readonly parameter: ParameterDecl, + /** + * ```ts + * class Foo { + * static get setter(value) { + * // ^ + * _value = value; + * } + * } + * ``` + */ + readonly parameter: ParameterDecl | undefined, readonly body: BlockStmt, + /** + * `true` if this is a static setter on a class. + * + * ```ts + * class Foo { + * static get setter(value) { + * _value = value; + * } + * } + * ``` + */ readonly isStatic: boolean | undefined, - readonly ownedBy: ReferenceExpr | undefined + /** + * The class or object that owns this {@link SetAccessorDecl}. This value is only set + * if this {@link SetAccessorDecl} is the root node in the tree (parent === undefined). + * + * ```ts + * const object = { + * // ^ + * get setter(value) { + * _value = value; + * } + * } + * + * class Foo { + * // ^ + * get setter(value) { + * _value = value; + * } + * } + * ``` + */ + readonly ownedBy: ReferenceExpr | undefined, + /** + * Name of the source file this node originates from. + * + * Only set on the root of the tree, i.e. when `this` is `undefined`. + */ + readonly filename?: string ) { super(NodeKind.SetAccessorDecl, span, arguments); this.ensure(name, "name", NodeKind.PropName); - this.ensure(parameter, "parameter", [NodeKind.ParameterDecl]); + this.ensure(parameter, "parameter", ["undefined", NodeKind.ParameterDecl]); this.ensure(body, "body", [NodeKind.BlockStmt]); - this.ensure(isStatic, "isStatic", ["boolean", "undefined"]); - this.ensure(ownedBy, "ReferenceExpr", [ - NodeKind.ReferenceExpr, - "undefined", - ]); + this.ensure(isStatic, "isStatic", ["undefined", "boolean"]); + this.ensure(ownedBy, "ownedBy", ["undefined", NodeKind.ReferenceExpr]); + this.ensure(filename, "filename", ["undefined", "string"]); } } @@ -234,9 +422,10 @@ export type FunctionLike = | FunctionExpr | ArrowFunctionExpr; -export class FunctionDecl< - F extends AnyFunction = AnyFunction -> extends BaseDecl { +export class FunctionDecl extends BaseDecl< + NodeKind.FunctionDecl, + BlockStmt | undefined +> { readonly _functionBrand?: F; constructor( /** @@ -306,7 +495,8 @@ export class ParameterDecl extends BaseDecl< * ```ts * function foo(...rest) {} * ``` - */ readonly isRest: boolean + */ + readonly isRest: boolean ) { super(NodeKind.ParameterDecl, span, arguments); this.ensure(name, "name", NodeKind.BindingNames); diff --git a/src/event-bridge/event-pattern/synth.ts b/src/event-bridge/event-pattern/synth.ts index 75646cf0..3075a742 100644 --- a/src/event-bridge/event-pattern/synth.ts +++ b/src/event-bridge/event-pattern/synth.ts @@ -16,6 +16,7 @@ import { Expr, PropAccessExpr, UnaryExpr, + SuperKeyword, } from "../../expression"; import { isBinaryExpr, @@ -635,7 +636,9 @@ export const synthesizePatternDocument = ( /** * Recurse an expression to find a reference to the event. */ - const getEventReference = (expression: Expr): ReferencePath | undefined => { + const getEventReference = ( + expression: Expr | SuperKeyword + ): ReferencePath | undefined => { return getReferencePath(expression); }; diff --git a/src/expression.ts b/src/expression.ts index d4d73eb1..d6b2b60e 100644 --- a/src/expression.ts +++ b/src/expression.ts @@ -1,7 +1,6 @@ import type { BindingElem, ClassMember, - Decl, GetAccessorDecl, MethodDecl, ParameterDecl, @@ -16,7 +15,7 @@ import { isPropAssignExpr, isStringLiteralExpr, } from "./guards"; -import { BaseNode, FunctionlessNode } from "./node"; +import { BaseNode, BindingDecl, FunctionlessNode } from "./node"; import { NodeKind } from "./node-kind"; import { Span } from "./span"; import type { BlockStmt, Stmt } from "./statement"; @@ -74,14 +73,13 @@ export abstract class BaseExpr< | Expr | Stmt | VariableDecl - | undefined > extends BaseNode { readonly nodeKind: "Expr" = "Expr"; } export class ArrowFunctionExpr< F extends AnyFunction = AnyFunction -> extends BaseExpr { +> extends BaseExpr { readonly _functionBrand?: F; constructor( /** @@ -163,7 +161,7 @@ export class FunctionExpr< export class ClassExpr extends BaseExpr< NodeKind.ClassExpr, - undefined + FunctionlessNode | undefined > { readonly _classBrand?: C; constructor( @@ -210,11 +208,24 @@ export class ReferenceExpr< /** * A closure that produces the referred value. */ - readonly ref: () => R + readonly ref: () => R, + /** + * A number that uniquely identifies the variable within this AST. + * + * This is used to ensure that two ReferenceExpr's pointing to the same variable still point + * to the same variable after transformation. + */ + readonly id: number | undefined, + /** + * Unique ID of this {@link ReferenceExpr}. + */ + readonly referenceId: number | undefined ) { super(NodeKind.ReferenceExpr, span, arguments); this.ensure(name, "name", ["undefined", "string"]); this.ensure(ref, "ref", ["function"]); + this.ensure(id, "id", ["number", "undefined"]); + this.ensure(referenceId, "referenceId", ["number", "undefined"]); } } @@ -232,7 +243,7 @@ export class Identifier extends BaseExpr { this.ensure(name, "name", ["string"]); } - public lookup(): Decl | undefined { + public lookup(): BindingDecl | undefined { return this.getLexicalScope().get(this.name); } } @@ -249,7 +260,7 @@ export class PrivateIdentifier extends BaseExpr { this.ensure(name, "name", ["string"]); } - public lookup(): Decl | undefined { + public lookup(): BindingDecl | undefined { return this.getLexicalScope().get(this.name); } } @@ -260,7 +271,7 @@ export class PropAccessExpr extends BaseExpr { * Range of text in the source file where this Node resides. */ span: Span, - readonly expr: Expr, + readonly expr: Expr | SuperKeyword, readonly name: Identifier | PrivateIdentifier, /** * Whether this is using optional chaining. @@ -271,7 +282,7 @@ export class PropAccessExpr extends BaseExpr { readonly isOptional: boolean ) { super(NodeKind.PropAccessExpr, span, arguments); - this.ensure(expr, "expr", ["Expr"]); + this.ensure(expr, "expr", ["Expr", NodeKind.SuperKeyword]); this.ensure(name, "ref", [NodeKind.Identifier, NodeKind.PrivateIdentifier]); } } diff --git a/src/function.ts b/src/function.ts index eae25f35..cd615c1c 100644 --- a/src/function.ts +++ b/src/function.ts @@ -59,6 +59,10 @@ import { } from "./integration"; import { ReflectionSymbols, validateFunctionLike } from "./reflect"; import { isSecret } from "./secret"; +import { + serializeClosure, + serializeCodeWithSourceMap, +} from "./serialize-closure/serialize"; import { isStepFunction } from "./step-function"; import { isTable } from "./table"; import { AnyAsyncFunction, AnyFunction } from "./util"; @@ -507,6 +511,27 @@ interface FunctionBase { >; } +export enum SerializerImpl { + /** + * The default serializer, uses the v8 inspector API to introspect closures. + * + * It is slow and has caveats such as not properly serializing stable references to variables. + * + * @see https://github.com/functionless/nodejs-closure-serializer + */ + STABLE_DEBUGGER, + /** + * A new experimental serializer that makes use of Functionless's SWC AST + * reflection library that decorates syntax for use at runtime. + * + * It has not been as well tested, but is fast, synchronous and has support for + * stable references and other features. + * + * @see https://www.npmjs.com/package/@functionless/ast-reflection + */ + EXPERIMENTAL_SWC, +} + const PromisesSymbol = Symbol.for("functionless.Function.promises"); export interface FunctionProps @@ -514,6 +539,19 @@ export interface FunctionProps aws_lambda.FunctionProps, "code" | "handler" | "runtime" | "onSuccess" | "onFailure" > { + /** + * Whether to generate source maps for serialized closures and + * to set --enableSourceMaps on NODE_OPTIONS environment variable. + * + * Only supported when using {@link SerializerImpl.EXPERIMENTAL_SWC}. + * + * @default true + */ + sourceMaps?: boolean; + /** + * Which {@link SerializerImpl} to use when serializing closures. + */ + serializer?: SerializerImpl; /** * Method which allows runtime computation of AWS client configuration. * ```ts @@ -656,6 +694,17 @@ export class Function< onFailure ), environment: { + ...(props?.environment ?? {}), + ...(props?.sourceMaps !== false + ? { + // merge --enableSourceMaps + NODE_OPTIONS: `--enable-source-maps${ + props?.environment?.NODE_OPTIONS + ? ` ${props.environment.NODE_OPTIONS}` + : "" + }`, + } + : {}), functionless_infer: Lazy.string({ produce: () => { // retrieve and bind all found native integrations. Will fail if the integration does not support native integration. @@ -687,8 +736,19 @@ export class Function< // Start serializing process, add the callback to the promises so we can later ensure completion Function.promises.push( (async () => { + const serializerImpl = + props?.serializer ?? SerializerImpl.EXPERIMENTAL_SWC; + const sourceMaps = + props?.sourceMaps ?? + // if using SWC serializer, enable source maps by default + // otherwise disable by default + (serializerImpl === SerializerImpl.EXPERIMENTAL_SWC ? true : false); try { - await callbackLambdaCode.generate(nativeIntegrationsPrewarm); + await callbackLambdaCode.generate( + nativeIntegrationsPrewarm, + serializerImpl, + sourceMaps + ); } catch (e) { if (e instanceof SynthError) { throw new SynthError( @@ -779,7 +839,7 @@ export class CallbackLambdaCode extends aws_lambda.Code { constructor( private func: AnyAsyncFunction, - private props?: CallbackLambdaCodeProps + private props: CallbackLambdaCodeProps ) { super(); } @@ -799,7 +859,9 @@ export class CallbackLambdaCode extends aws_lambda.Code { * https://twitter.com/samgoodwin89/status/1516887131108438016?s=20&t=7GRGOQ1Bp0h_cPsJgFk3Ww */ public async generate( - integrationPrewarms: NativeIntegration["preWarm"][] + integrationPrewarms: NativeIntegration["preWarm"][], + serializerImpl: SerializerImpl, + sourceMaps: boolean ) { if (!this.scope) { throw new SynthError( @@ -820,10 +882,11 @@ export class CallbackLambdaCode extends aws_lambda.Code { const [serialized, tokens] = await serialize( this.func, integrationPrewarms, + serializerImpl, this.props ); - - const bundled = await bundle(serialized); + const bundledPackage = await bundle(serialized, sourceMaps); + const bundled = bundledPackage.contents; const asset = aws_lambda.Code.fromAsset("", { assetHashType: AssetHashType.OUTPUT, @@ -833,17 +896,16 @@ export class CallbackLambdaCode extends aws_lambda.Code { user: scope.node.addr, local: { tryBundle(outdir, _opts) { - fs.writeFileSync( - path.resolve(outdir, "index.js"), - bundled.contents - ); + fs.writeFileSync(path.resolve(outdir, "index.js"), bundled); return true; }, }, }, }); - tokens.forEach((t) => scope.addEnvironment(t.env, t.token)); + tokens.forEach((t) => { + scope.addEnvironment(t.env, t.token); + }); const funcResource = scope.node.findChild( "Resource" @@ -915,213 +977,84 @@ interface TokenContext { export async function serialize( func: AnyAsyncFunction, integrationPrewarms: NativeIntegration["preWarm"][], + serializerImpl: SerializerImpl = SerializerImpl.STABLE_DEBUGGER, props?: PrewarmProps ): Promise<[string, TokenContext[]]> { let tokens: string[] = []; const preWarmContext = new NativePreWarmContext(props); - const result = await serializeFunction( - // factory function allows us to prewarm the clients and other context. - integrationPrewarms.length > 0 - ? () => { - integrationPrewarms.forEach((i) => i?.(preWarmContext)); - return func; - } - : func, - { - isFactoryFunction: integrationPrewarms.length > 0, - transformers: [ - (ctx) => - /** - * TS Transformer for erasing calls to the generated `register` and `bind` functions - * from all emitted closures. - */ - function eraseBindAndRegister(node: ts.Node): ts.Node { - if (ts.isCallExpression(node) && ts.isIdentifier(node.expression)) { - if (node.expression.text === RegisterFunctionName) { - // register(func, ast) - // => func - return ts.visitEachChild( - node.arguments[0]!, - eraseBindAndRegister, - ctx - ); - } else if (node.expression.text === BindFunctionName) { - // bind(func, self, ...args) - // => func.bind(self, ...args) - return ts.factory.createCallExpression( - eraseBindAndRegister(node.arguments[0]!) as ts.Expression, - undefined, - node.arguments.map( - (arg) => eraseBindAndRegister(arg) as ts.Expression - ) - ); - } - } - return ts.visitEachChild(node, eraseBindAndRegister, ctx); - }, - ], - shouldCaptureProp: (_, propName) => { - // do not serialize the AST property on functions - return propName !== ReflectionSymbols.AST; - }, - serialize: (obj) => { - if (typeof obj === "string") { - const reversed = - Tokenization.reverse(obj, { failConcat: false }) ?? - Tokenization.reverseString(obj).tokens; - if (!Array.isArray(reversed) || reversed.length > 0) { - if (Array.isArray(reversed)) { - tokens = [ - ...tokens, - ...reversed.map((s) => validateResolvable(s).toString()), - ]; - } else { - tokens = [...tokens, validateResolvable(reversed).toString()]; - } - } - } else if (typeof obj === "object") { - return obj - ? transformIntegration(transformResource(transformCfnResource(obj))) - : obj; - - /** - * Remove unnecessary fields from {@link CfnResource} that bloat or fail the closure serialization. - */ - function transformCfnResource(o: unknown) { - if (Resource.isResource(o as any)) { - const { node, stack, env, ...rest } = o as unknown as Resource; - return rest; - } else if (CfnResource.isCfnResource(o as any)) { - const { - stack, - node, - creationStack, - // don't need to serialize at runtime - _toCloudFormation, - // @ts-ignore - private - adds the tag manager, which we don't need - cfnProperties, - ...rest - } = transformTable(o as CfnResource); - return transformTaggableResource(rest); - } else if (Token.isUnresolved(o)) { - const reversed = validateResolvable(Tokenization.reverse(o)!); - - if (Reference.isReference(reversed)) { - tokens.push(reversed.toString()); - return reversed.toString(); - } else if (SecretValue.isSecretValue(reversed)) { - throw new SynthError( - ErrorCodes.Unsafe_use_of_secrets, - "Found unsafe use of SecretValue token in a Function." - ); - } else if ("value" in reversed) { - return (reversed as unknown as { value: any }).value; - } - // TODO: fail at runtime and warn at compiler time when a token cannot be serialized - return {}; - } - return o; - } - - /** - * When the StreamArn attribute is used in a Cfn template, but streamSpecification is - * undefined, then the deployment fails. Lets make sure that doesn't happen. - */ - function transformTable(o: CfnResource): CfnResource { - if ( - o.cfnResourceType === aws_dynamodb.CfnTable.CFN_RESOURCE_TYPE_NAME - ) { - const table = o as aws_dynamodb.CfnTable; - if (!table.streamSpecification) { - const { attrStreamArn, ...rest } = table; - - return rest as unknown as CfnResource; - } - } - - return o; - } - - /** - * CDK Tag manager bundles in ~200kb of junk we don't need at runtime, - */ - function transformTaggableResource(o: any) { - if (TagManager.isTaggable(o)) { - const { tags, ...rest } = o; - return rest; - } - return o; - } - - /** - * Remove unnecessary fields from {@link CfnTable} that bloat or fail the closure serialization. - */ - function transformIntegration(integ: unknown): any { - if (integ && isIntegration(integ)) { - const c = integ.native?.call; - const call = - typeof c !== "undefined" - ? function (...args: any[]) { - return c(args, preWarmContext); - } - : integ.unhandledContext - ? function () { - integ.unhandledContext!(integ.kind, "Function"); - } - : function () { - throw new Error(); - }; - - for (const prop in integ) { - if (!INTEGRATION_TYPE_KEYS.includes(prop as any)) { - // @ts-ignore - call[prop] = integ[prop]; + const f = func; + + const preWarms = integrationPrewarms; + const result = + serializerImpl === SerializerImpl.EXPERIMENTAL_SWC + ? serializeCodeWithSourceMap( + serializeClosure( + integrationPrewarms.length > 0 + ? () => { + preWarms.forEach((i) => i?.(preWarmContext)); + return f; } - } - - return call; - } - return integ; - } - - /** - * TODO, make this configuration based. - * https://github.com/functionless/functionless/issues/239 - */ - function transformResource(integ: unknown): any { - if ( - integ && - (isFunction(integ) || - isTable(integ) || - isStepFunction(integ) || - isEventBus(integ) || - isSecret(integ)) - ) { - const { resource, ...rest } = integ; - - return rest; + : f, + { + shouldCaptureProp, + serialize: serializeHook, + isFactoryFunction: integrationPrewarms.length > 0, } - return integ; - } - } - return true; - - function validateResolvable(resolvable: IResolvable) { - if (Token.isUnresolved(resolvable)) { - const tokenSource = Tokenization.reverse(resolvable)!; - if (SecretValue.isSecretValue(tokenSource)) { - throw new SynthError( - ErrorCodes.Unsafe_use_of_secrets, - "Found unsafe use of SecretValue token in a Function." - ); + ) + ) + : ( + await serializeFunction( + // factory function allows us to prewarm the clients and other context. + integrationPrewarms.length > 0 + ? () => { + integrationPrewarms.forEach((i) => i?.(preWarmContext)); + return func; + } + : func, + { + isFactoryFunction: integrationPrewarms.length > 0, + transformers: [ + (ctx) => + /** + * TS Transformer for erasing calls to the generated `register` and `bind` functions + * from all emitted closures. + */ + function eraseBindAndRegister(node: ts.Node): ts.Node { + if ( + ts.isCallExpression(node) && + ts.isIdentifier(node.expression) + ) { + if (node.expression.text === RegisterFunctionName) { + // register(func, ast) + // => func + return ts.visitEachChild( + node.arguments[0]!, + eraseBindAndRegister, + ctx + ); + } else if (node.expression.text === BindFunctionName) { + // bind(func, self, ...args) + // => func.bind(self, ...args) + return ts.factory.createCallExpression( + eraseBindAndRegister( + node.arguments[0]! + ) as ts.Expression, + undefined, + node.arguments.map( + (arg) => eraseBindAndRegister(arg) as ts.Expression + ) + ); + } + } + return ts.visitEachChild(node, eraseBindAndRegister, ctx); + }, + ], + serialize: serializeHook, + shouldCaptureProp, } - } - return resolvable; - } - }, - } - ); + ) + ).text; /** * A map of token id to unique index. @@ -1152,16 +1085,182 @@ export async function serialize( const resultText = tokenContext.reduce( // TODO: support templated strings (r, t) => r.split(`"${t.token}"`).join(`process.env.${t.env}`), - result.text + result ); return [resultText, tokenContext]; + + function shouldCaptureProp( + _: any, + propName: string | symbol | number + ): boolean { + // do not serialize the AST property on functions + return propName !== ReflectionSymbols.AST; + } + + function serializeHook(obj: any): any { + if (typeof obj === "string") { + const reversed = + Tokenization.reverse(obj, { failConcat: false }) ?? + Tokenization.reverseString(obj).tokens; + if (!Array.isArray(reversed) || reversed.length > 0) { + if (Array.isArray(reversed)) { + tokens = [ + ...tokens, + ...reversed.map((s) => validateResolvable(s).toString()), + ]; + } else { + tokens = [...tokens, validateResolvable(reversed).toString()]; + } + } + } else if (typeof obj === "object") { + return obj + ? transformIntegration(transformResource(transformCfnResource(obj))) + : obj; + + /** + * Remove unnecessary fields from {@link CfnResource} that bloat or fail the closure serialization. + */ + function transformCfnResource(o: unknown) { + if (Resource.isResource(o as any)) { + const { node, stack, env, ...rest } = o as unknown as Resource; + return rest; + } else if (CfnResource.isCfnResource(o as any)) { + const { + stack, + node, + creationStack, + // don't need to serialize at runtime + _toCloudFormation, + // @ts-ignore - private - adds the tag manager, which we don't need + cfnProperties, + ...rest + } = transformTable(o as CfnResource); + return transformTaggableResource(rest); + } else if (Token.isUnresolved(o)) { + const reversed = validateResolvable(Tokenization.reverse(o)!); + + if (Reference.isReference(reversed)) { + tokens.push(reversed.toString()); + return reversed.toString(); + } else if (SecretValue.isSecretValue(reversed)) { + throw new SynthError( + ErrorCodes.Unsafe_use_of_secrets, + "Found unsafe use of SecretValue token in a Function." + ); + } else if ("value" in reversed) { + return (reversed as unknown as { value: any }).value; + } + // TODO: fail at runtime and warn at compiler time when a token cannot be serialized + return {}; + } + return o; + } + + /** + * When the StreamArn attribute is used in a Cfn template, but streamSpecification is + * undefined, then the deployment fails. Lets make sure that doesn't happen. + */ + function transformTable(o: CfnResource): CfnResource { + if ( + o.cfnResourceType === aws_dynamodb.CfnTable.CFN_RESOURCE_TYPE_NAME + ) { + const table = o as aws_dynamodb.CfnTable; + if (!table.streamSpecification) { + const { attrStreamArn, ...rest } = table; + + return rest as unknown as CfnResource; + } + } + + return o; + } + + /** + * CDK Tag manager bundles in ~200kb of junk we don't need at runtime, + */ + function transformTaggableResource(o: any) { + if (TagManager.isTaggable(o)) { + const { tags, ...rest } = o; + return rest; + } + return o; + } + + /** + * Remove unnecessary fields from {@link CfnTable} that bloat or fail the closure serialization. + */ + function transformIntegration(integ: unknown): any { + if (integ && isIntegration(integ)) { + const c = integ.native?.call; + const call = + typeof c !== "undefined" + ? function (...args: any[]) { + return c(args, preWarmContext); + } + : integ.unhandledContext + ? function () { + integ.unhandledContext!(integ.kind, "Function"); + } + : function () { + throw new Error(); + }; + + for (const prop in integ) { + if (!INTEGRATION_TYPE_KEYS.includes(prop as any)) { + // @ts-ignore + call[prop] = integ[prop]; + } + } + + return call; + } + return integ; + } + + /** + * TODO, make this configuration based. + * https://github.com/functionless/functionless/issues/239 + */ + function transformResource(integ: unknown): any { + if ( + integ && + (isFunction(integ) || + isTable(integ) || + isStepFunction(integ) || + isEventBus(integ) || + isSecret(integ)) + ) { + const { resource, ...rest } = integ; + return rest; + } + return integ; + } + } + return true; + + function validateResolvable(resolvable: IResolvable) { + if (Token.isUnresolved(resolvable)) { + const tokenSource = Tokenization.reverse(resolvable)!; + if (SecretValue.isSecretValue(tokenSource)) { + throw new SynthError( + ErrorCodes.Unsafe_use_of_secrets, + "Found unsafe use of SecretValue token in a Function." + ); + } + } + return resolvable; + } + } } /** * Bundles a serialized function with esbuild. */ -export async function bundle(text: string): Promise { +export async function bundle( + text: string, + sourceMap: boolean = false +): Promise { const bundle = await esbuild.build({ stdin: { contents: text, @@ -1173,6 +1272,7 @@ export async function bundle(text: string): Promise { platform: "node", target: "node14", external: ["aws-sdk", "aws-cdk-lib", "esbuild"], + sourcemap: sourceMap ? "inline" : undefined, }); // a bundled output will be one file diff --git a/src/guards.ts b/src/guards.ts index 4e34477d..20327eef 100644 --- a/src/guards.ts +++ b/src/guards.ts @@ -128,6 +128,8 @@ export const isFunctionLike = typeGuard( NodeKind.ArrowFunctionExpr ); +export const isClassLike = typeGuard(NodeKind.ClassDecl, NodeKind.ClassExpr); + export const isClassDecl = typeGuard(NodeKind.ClassDecl); export const isClassStaticBlockDecl = typeGuard(NodeKind.ClassStaticBlockDecl); export const isConstructorDecl = typeGuard(NodeKind.ConstructorDecl); @@ -168,7 +170,6 @@ export function typeGuard( return (a: any): a is Extract => kinds.find((kind) => a?.kind === kind) !== undefined; } - export function isVariableReference(expr: Expr): expr is VariableReference { return ( isIdentifier(expr) || isPropAccessExpr(expr) || isElementAccessExpr(expr) diff --git a/src/index.ts b/src/index.ts index 4b2a6d25..baabc70a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,6 +12,7 @@ export * from "./event-bridge"; export * from "./event-source"; export * from "./expression"; export * from "./function"; +export * from "./function-prewarm"; export * from "./guards"; export * from "./iterable"; export * from "./node-kind"; @@ -22,6 +23,7 @@ export * from "./reflect"; export * from "./s-expression"; export * from "./secret"; export * from "./serializer"; +export * from "./serialize-closure/serialize"; export * from "./statement"; export * from "./step-function"; export * from "./table"; diff --git a/src/integration.ts b/src/integration.ts index ed1127ea..658de11e 100644 --- a/src/integration.ts +++ b/src/integration.ts @@ -309,7 +309,7 @@ export function findDeepIntegrations( node.fork( new CallExpr( node.span, - new ReferenceExpr(node.expr.span, "", () => integration), + new ReferenceExpr(node.expr.span, "", () => integration, 0, 0), node.args.map((arg) => arg.clone()), false ) @@ -420,7 +420,10 @@ export function tryResolveReferences( return tryResolveReferences(defaultValue, undefined); } } else if (isReferenceExpr(node) || isThisExpr(node)) { - return [node.ref?.()]; + const ref = node.ref?.(); + if (ref) { + return [ref]; + } } else if (isIdentifier(node)) { return tryResolveReferences(node.lookup(), defaultValue); } else if (isBindingElem(node)) { diff --git a/src/node.ts b/src/node.ts index a811ce86..93fc0792 100644 --- a/src/node.ts +++ b/src/node.ts @@ -1,7 +1,9 @@ import type { BindingElem, BindingPattern, + ClassDecl, Decl, + FunctionDecl, ParameterDecl, VariableDecl, VariableDeclList, @@ -14,7 +16,9 @@ import { } from "./ensure"; import type { Err } from "./error"; import type { + ClassExpr, Expr, + FunctionExpr, ImportKeyword, SuperKeyword, TemplateHead, @@ -27,13 +31,19 @@ import { isBindingPattern, isBlockStmt, isCatchClause, + isClassDecl, + isClassExpr, + isClassLike, isDoStmt, isForInStmt, isForOfStmt, isForStmt, + isFunctionDecl, + isFunctionExpr, isFunctionLike, isIdentifier, isIfStmt, + isMethodDecl, isNode, isParameterDecl, isReturnStmt, @@ -69,13 +79,20 @@ export interface HasParent { } type Binding = [string, BindingDecl]; -export type BindingDecl = VariableDecl | ParameterDecl | BindingElem; +export type BindingDecl = + | VariableDecl + | ParameterDecl + | BindingElem + | ClassDecl + | ClassExpr + | FunctionDecl + | FunctionExpr; export abstract class BaseNode< Kind extends NodeKind, - Parent extends FunctionlessNode | undefined = FunctionlessNode | undefined + Parent extends FunctionlessNode | undefined = FunctionlessNode > { - abstract readonly nodeKind: "Err" | "Expr" | "Stmt" | "Decl" | "Node"; + abstract readonly nodeKind: "Decl" | "Err" | "Expr" | "Node" | "Stmt"; // @ts-ignore - we have a convention to set this in the parent constructor readonly parent: Parent; @@ -139,6 +156,22 @@ export abstract class BaseNode< return node; } + /** + * @returns the name of the file this node originates from. + */ + public getFileName(): string { + if ( + (isFunctionLike(this) || isClassLike(this) || isMethodDecl(this)) && + this.filename + ) { + return this.filename; + } else if (this.parent === undefined) { + throw new Error(`cannot get filename of orphaned node`); + } else { + return this.parent.getFileName(); + } + } + protected ensureArrayOf( arr: any[], fieldName: string, @@ -466,14 +499,36 @@ export abstract class BaseNode< } else if (isBindingPattern(node)) { return node.bindings.flatMap((b) => getNames(b, kind)); } else if (isFunctionLike(node)) { - if (kind === "sibling") return []; - return node.parameters.flatMap((param) => getNames(param, kind)); + if (kind === "sibling" && isFunctionDecl(node)) { + if (node.name) { + return [[node.name, node]]; + } else { + return []; + } + } + const parameters = node.parameters.flatMap((param) => + getNames(param, kind) + ); + if ((isFunctionExpr(node) || isFunctionDecl(node)) && node.name) { + return [[node.name, node], ...parameters]; + } else { + return parameters; + } } else if (isForInStmt(node) || isForOfStmt(node) || isForStmt(node)) { if (kind === "sibling") return []; return getNames(node.initializer, kind); } else if (isCatchClause(node) && node.variableDecl?.name) { if (kind === "sibling") return []; return getNames(node.variableDecl, kind); + } else if (isClassDecl(node) || (isClassExpr(node) && node.name)) { + if (kind === "sibling" && isClassDecl(node)) { + if (node.name) { + return [[node.name.name, node]]; + } else { + return []; + } + } + return [[node.name!.name, node]]; } else { return []; } diff --git a/src/reflect.ts b/src/reflect.ts index 65774de3..b209ff4f 100644 --- a/src/reflect.ts +++ b/src/reflect.ts @@ -1,4 +1,9 @@ -import { FunctionLike } from "./declaration"; +import { + FunctionLike, + GetAccessorDecl, + MethodDecl, + SetAccessorDecl, +} from "./declaration"; import { Err } from "./error"; import { ErrorCodes, SynthError } from "./error-code"; import { isFunctionLike, isErr, isNewExpr } from "./guards"; @@ -8,6 +13,8 @@ import { parseSExpr } from "./s-expression"; import { AnyAsyncFunction, AnyFunction } from "./util"; import { forEachChild } from "./visit"; +const Global: any = global; + /** * A macro (compile-time) function that converts an ArrowFunction or FunctionExpression to a {@link FunctionDecl}. * @@ -36,10 +43,18 @@ import { forEachChild } from "./visit"; */ export function reflect( func: F -): FunctionLike | Err | undefined { - if (func.name.startsWith("bound ")) { +): + | FunctionLike + | MethodDecl + | GetAccessorDecl + | SetAccessorDecl + | Err + | undefined { + if (func.name === "bound requireModuleOrMock") { + return undefined; + } else if (func.name.startsWith("bound ")) { // native bound function - const targetFunc = (func)[ReflectionSymbols.TargetFunction]; + const targetFunc = unbind(func)?.targetFunction; if (targetFunc) { return reflect(targetFunc); } else { @@ -52,7 +67,7 @@ export function reflect( if (!reflectCache.has(astCallback)) { reflectCache.set( astCallback, - parseSExpr(astCallback()) as FunctionLike | Err + parseSExpr(astCallback()) as FunctionLike | Err ); } return reflectCache.get(astCallback) as FunctionLike | Err | undefined; @@ -60,15 +75,103 @@ export function reflect( return undefined; } -const Global: any = global; +export interface BoundFunctionComponents { + /** + * The target function + */ + targetFunction: F; + /** + * The `this` argument bound to the function. + */ + boundThis: any; + /** + * The arguments bound to the function. + */ + boundArgs: any[]; +} + +/** + * Unbind a bound function into its components. + * @param boundFunction the bound function + * @returns the targetFunction, boundThis and boundArgs if this is a bound function compiled with Functionless, otherwise undefined. + */ +export function unbind( + boundFunction: F +): BoundFunctionComponents | undefined { + if (boundFunction.name.startsWith("bound ")) { + const targetFunction = (boundFunction)[ + ReflectionSymbols.TargetFunction + ]; + const boundThis = (boundFunction)[ReflectionSymbols.BoundThis]; + const boundArgs = (boundFunction)[ReflectionSymbols.BoundArgs]; + if (targetFunction) { + return { + targetFunction, + boundThis, + boundArgs, + }; + } + } + return undefined; +} + +/** + * The components of a {@link Proxy}. + */ +export interface ProxyComponents { + /** + * The target object that the {@link Proxy} is intercepting. + */ + target: T; + /** + * The {@link ProxyHandler} interceptor handler functions. + */ + handler: ProxyHandler; +} + +/** + * Reverses a {@link Proxy} instance into the args that were used to created it. + * + * ```ts + * const proxy = new Proxy({ hello: "world" }, { get: () => {} }); + * + * const components = reverseProxy(proxy); + * components.target // { hello: "world" } + * components.handler // { get: () => {} } + * ``` + * + * @param proxy the proxy instance + * @returns the {@link ProxyComponents} if this proxy can be reversed, or `undefined`. + */ +export function reverseProxy( + proxy: T +): ProxyComponents | undefined { + const reversed = getProxyMap().get(proxy); + if (reversed) { + return { + target: reversed[0], + handler: reversed[1], + }; + } + return undefined; +} + +/** + * @returns the global WeakMap containing all intercepted Proxies. + */ +function getProxyMap() { + return (Global[Global.Symbol.for("functionless:Proxies")] = + Global[Global.Symbol.for("functionless:Proxies")] ?? new Global.WeakMap()); +} // to prevent the closure serializer from trying to import all of functionless. export const deploymentOnlyModule = true; export const ReflectionSymbolNames = { AST: "functionless:AST", - BoundThis: "functionless:BoundThis", BoundArgs: "functionless:BoundArgs", + BoundThis: "functionless:BoundThis", + Proxies: "functionless:Proxies", Reflect: "functionless:Reflect", TargetFunction: "functionless:TargetFunction", } as const; @@ -77,6 +180,7 @@ export const ReflectionSymbols = { AST: Symbol.for(ReflectionSymbolNames.AST), BoundArgs: Symbol.for(ReflectionSymbolNames.BoundArgs), BoundThis: Symbol.for(ReflectionSymbolNames.BoundThis), + Proxies: Symbol.for(ReflectionSymbolNames.Proxies), Reflect: Symbol.for(ReflectionSymbolNames.Reflect), TargetFunction: Symbol.for(ReflectionSymbolNames.TargetFunction), } as const; @@ -169,7 +273,7 @@ function validateFunctionlessNodeSemantics( // we should definitely make this a Symbol typeof clazz.FunctionlessType === "string" ); - if (references?.length > 0) { + if (references.length > 0) { throw new SynthError( ErrorCodes.Unsupported_initialization_of_resources, "Cannot initialize new CDK resources in a runtime function." diff --git a/src/serialize-closure/globals.json b/src/serialize-closure/globals.json new file mode 100644 index 00000000..b5afaf9c --- /dev/null +++ b/src/serialize-closure/globals.json @@ -0,0 +1,235 @@ +[ + "AbortController", + "AbortSignal", + "AggregateError", + "Array", + "ArrayBuffer", + "Atomics", + "BigInt", + "BigInt64Array", + "BigUint64Array", + "Blob", + "Boolean", + "BroadcastChannel", + "Buffer", + "ByteLengthQueuingStrategy", + "Cache", + "caches", + "CacheStorage", + "CanvasGradient", + "CanvasPattern", + "Client", + "Clients", + "CloseEvent", + "console", + "CountQueuingStrategy", + "crossOriginIsolated", + "crypto", + "Crypto", + "CryptoKey", + "CustomEvent", + "DataView", + "Date", + "decodeURI", + "decodeURIComponent", + "DedicatedWorkerGlobalScope", + "DOMException", + "DOMMatrix", + "DOMMatrixReadOnly", + "DOMPoint", + "DOMPointReadOnly", + "DOMQuad", + "DOMRect", + "DOMRectReadOnly", + "DOMStringList", + "encodeURI", + "encodeURIComponent", + "Error", + "ErrorEvent", + "escape", + "eval", + "EvalError", + "Event", + "EventSource", + "EventTarget", + "ExtendableEvent", + "ExtendableMessageEvent", + "FetchEvent", + "File", + "FileList", + "FileReader", + "FileReaderSync", + "FileSystemDirectoryHandle", + "FileSystemFileHandle", + "FileSystemHandle", + "FinalizationRegistry", + "Float32Array", + "Float64Array", + "FontFace", + "FontFaceSet", + "FontFaceSetLoadEvent", + "fonts", + "FormData", + "Function", + "Headers", + "IDBCursor", + "IDBCursorWithValue", + "IDBDatabase", + "IDBFactory", + "IDBIndex", + "IDBKeyRange", + "IDBObjectStore", + "IDBOpenDBRequest", + "IDBRequest", + "IDBTransaction", + "IDBVersionChangeEvent", + "ImageBitmap", + "ImageBitmapRenderingContext", + "ImageData", + "indexedDB", + "Infinity", + "Int16Array", + "Int32Array", + "Int8Array", + "isFinite", + "isNaN", + "isSecureContext", + "JSON", + "location", + "Lock", + "LockManager", + "Math", + "Map", + "MediaCapabilities", + "MessageChannel", + "MessageEvent", + "MessagePort", + "name", + "NaN", + "NavigationPreloadManager", + "navigator", + "NetworkInformation", + "Notification", + "NotificationEvent", + "Number", + "Object", + "onerror", + "onlanguagechange", + "onmessage", + "onmessageerror", + "onoffline", + "ononline", + "onrejectionhandled", + "onunhandledrejection", + "origin", + "parseFloat", + "parseInt", + "Path2D", + "performance", + "Performance", + "PerformanceEntry", + "PerformanceMark", + "PerformanceMeasure", + "PerformanceObserver", + "PerformanceObserverEntryList", + "PerformanceResourceTiming", + "PerformanceServerTiming", + "Permissions", + "PermissionStatus", + "process", + "ProgressEvent", + "Promise", + "PromiseRejectionEvent", + "Proxy", + "PushEvent", + "PushManager", + "PushMessageData", + "PushSubscription", + "PushSubscriptionOptions", + "RangeError", + "ReadableStream", + "ReadableStreamDefaultController", + "ReadableStreamDefaultReader", + "ReferenceError", + "Reflect", + "RegExp", + "Request", + "Response", + "RTCEncodedAudioFrame", + "RTCEncodedVideoFrame", + "SecurityPolicyViolationEvent", + "self", + "ServiceWorker", + "ServiceWorkerContainer", + "ServiceWorkerGlobalScope", + "ServiceWorkerRegistration", + "Set", + "SharedArrayBuffer", + "SharedWorkerGlobalScope", + "StorageManager", + "String", + "SubtleCrypto", + "Symbol", + "Symbol", + "SyntaxError", + "TextDecoder", + "TextDecoderStream", + "TextEncoder", + "TextEncoderStream", + "TextMetrics", + "TransformStream", + "TransformStreamDefaultController", + "TypeError", + "Uint16Array", + "Uint32Array", + "Uint8Array", + "Uint8ClampedArray", + "unescape", + "URIError", + "URL", + "URLSearchParams", + "VideoColorSpace", + "WeakMap", + "WeakRef", + "WeakSet", + "WebGL2RenderingContext", + "WebGLActiveInfo", + "WebGLBuffer", + "WebGLContextEvent", + "WebGLFramebuffer", + "WebGLProgram", + "WebGLQuery", + "WebGLRenderbuffer", + "WebGLRenderingContext", + "WebGLSampler", + "WebGLShader", + "WebGLShaderPrecisionFormat", + "WebGLSync", + "WebGLTexture", + "WebGLTransformFeedback", + "WebGLUniformLocation", + "WebGLVertexArrayObject", + "WebSocket", + "WindowClient", + "Worker", + "WorkerGlobalScope", + "WorkerLocation", + "WorkerNavigator", + "WritableStream", + "WritableStreamDefaultController", + "WritableStreamDefaultWriter", + "XMLHttpRequest", + "XMLHttpRequestEventTarget", + "XMLHttpRequestUpload", + + "clearImmediate", + "clearInterval", + "clearTimeout", + "hasOwnProperty", + "performance", + "queueMicrotask", + "require", + "setImmediate", + "setInterval", + "setTimeout" +] diff --git a/src/serialize-closure/globals.ts b/src/serialize-closure/globals.ts new file mode 100644 index 00000000..32ec6f3d --- /dev/null +++ b/src/serialize-closure/globals.ts @@ -0,0 +1,147 @@ +// sourced from the lib.*.d.ts files +import module from "module"; +import globals from "./globals.json"; +import { callExpr, idExpr, propAccessExpr, stringExpr } from "./util"; + +export const Globals = new Map string>(); + +for (const valueName of globals) { + if (valueName in global) { + registerValue(global[valueName as keyof typeof global], idExpr(valueName)); + } +} + +const ignore = [ + "_http_agent", + "_http_client", + "_http_common", + "_http_incoming", + "_http_outgoing", + "_http_server", + "_stream_duplex", + "_stream_passthrough", + "_stream_readable", + "_stream_transform", + "_stream_wrap", + "_stream_writable", + "_tls_common", + "_tls_wrap", + // "assert", + // "assert/strict", + // "async_hooks", + // "buffer", + // "child_process", + // "cluster", + // "console", + // "constants", + // "crypto", + // "dgram", + // "diagnostics_channel", + // "dns", + // "dns/promises", + // "domain", + // "events", + // "fs", + // "fs/promises", + // "http", + // "http2", + // "https", + // "inspector", + // "module", + // "net", + // "os", + // "path", + // "path/posix", + // "path/win32", + // "perf_hooks", + // "process", + // "punycode", + // "querystring", + // "readline", + // "repl", + // "stream", + // "stream/consumers", + // "stream/promises", + // "stream/web", + // "string_decoder", + "sys", + // "timers", + // "timers/promises", + // "tls", + // "trace_events", + // "tty", + // "url", + // "util", + // "util/types", + // "v8", + // "vm", + // "worker_threads", + // "zlib", +]; + +for (const moduleName of module.builtinModules) { + if (ignore.includes(moduleName) || moduleName.startsWith("_")) { + continue; + } + // eslint-disable-next-line @typescript-eslint/no-require-imports + const module = require(moduleName); + const requireModule = callExpr(idExpr("require"), [stringExpr(moduleName)]); + registerValue(module, requireModule); + registerOwnProperties( + module, + requireModule, + true, + // skip crypto.DEFAULT_ENCODING to avoid complaints about deprecated APIs + // TODO: is this a good tenet? Only support non-deprecated APIs? + moduleName === "crypto" ? ["DEFAULT_ENCODING"] : [] + ); +} + +function registerValue(value: any, expr: string) { + if (Globals.has(value)) { + return; + } + if (typeof value === "object" || typeof value === "function") { + Globals.set(value, () => expr); + registerOwnProperties(value, expr, false); + if (typeof value === "function") { + registerValue(value.prototype, propAccessExpr(expr, "prototype")); + } else if (value && typeof value === "object") { + // registerValue(value.constructor, propAccessExpr(expr, "constructor")); + } + } +} + +function registerOwnProperties( + value: any, + expr: string, + isModule: boolean, + skip: string[] = [] +) { + if ( + value && + (typeof value === "object" || typeof value === "function") && + !(Array.isArray(value) && value !== Array.prototype) + ) { + // go through each of its properties + + for (const propName of Object.getOwnPropertyNames(value)) { + if (skip.includes(propName)) { + continue; + } else if (value === process && propName === "env") { + // never serialize environment variables + continue; + } else if (value === module && propName === "_cache") { + // never serialize the module cache + continue; + } + const propDesc = Object.getOwnPropertyDescriptor(value, propName); + if (propDesc?.get && isModule) { + registerValue(propDesc.get(), propAccessExpr(expr, propName)); + } else if (!propDesc?.writable) { + continue; + } + registerValue(propDesc.value, propAccessExpr(expr, propName)); + } + } +} diff --git a/src/serialize-closure/serialize.ts b/src/serialize-closure/serialize.ts new file mode 100644 index 00000000..7c9fc7b0 --- /dev/null +++ b/src/serialize-closure/serialize.ts @@ -0,0 +1,1493 @@ +import fs from "fs"; +import path from "path"; +import util from "util"; +import { Token } from "aws-cdk-lib"; +import { CodeWithSourceMap, SourceNode } from "source-map"; + +import { assertNever } from "../assert"; +import { + BindingName, + ClassDecl, + FunctionLike, + GetAccessorDecl, + MethodDecl, + SetAccessorDecl, + VariableDeclKind, +} from "../declaration"; +import { ClassExpr } from "../expression"; +import { + isArgument, + isArrayBinding, + isArrayLiteralExpr, + isArrowFunctionExpr, + isAwaitExpr, + isBigIntExpr, + isBinaryExpr, + isBindingElem, + isBlockStmt, + isBooleanLiteralExpr, + isBreakStmt, + isCallExpr, + isCaseClause, + isCatchClause, + isClassDecl, + isClassExpr, + isClassStaticBlockDecl, + isComputedPropertyNameExpr, + isConditionExpr, + isConstructorDecl, + isContinueStmt, + isDebuggerStmt, + isDefaultClause, + isDeleteExpr, + isDoStmt, + isElementAccessExpr, + isEmptyStmt, + isErr, + isExprStmt, + isForInStmt, + isForOfStmt, + isForStmt, + isFunctionDecl, + isFunctionExpr, + isFunctionLike, + isGetAccessorDecl, + isIdentifier, + isIfStmt, + isImportKeyword, + isLabelledStmt, + isMethodDecl, + isNewExpr, + isNoSubstitutionTemplateLiteral, + isNullLiteralExpr, + isNumberLiteralExpr, + isObjectBinding, + isObjectLiteralExpr, + isOmittedExpr, + isParameterDecl, + isParenthesizedExpr, + isPostfixUnaryExpr, + isPrivateIdentifier, + isPropAccessExpr, + isPropAssignExpr, + isPropDecl, + isReferenceExpr, + isRegexExpr, + isReturnStmt, + isSetAccessorDecl, + isSpreadAssignExpr, + isSpreadElementExpr, + isStringLiteralExpr, + isSuperKeyword, + isSwitchStmt, + isTaggedTemplateExpr, + isTemplateExpr, + isTemplateHead, + isTemplateMiddle, + isTemplateSpan, + isTemplateTail, + isThisExpr, + isThrowStmt, + isTryStmt, + isTypeOfExpr, + isUnaryExpr, + isUndefinedLiteralExpr, + isVariableDecl, + isVariableDeclList, + isVariableStmt, + isVoidExpr, + isWhileStmt, + isWithStmt, + isYieldExpr, +} from "../guards"; +import { FunctionlessNode } from "../node"; +import { reflect, reverseProxy, unbind } from "../reflect"; +import { AnyClass, AnyFunction, evalToConstant } from "../util"; +import { forEachChild } from "../visit"; +import { Globals } from "./globals"; +import { + exprStmt, + assignExpr, + propAccessExpr, + idExpr, + stringExpr, + undefinedExpr, + nullExpr, + trueExpr, + falseExpr, + numberExpr, + objectExpr, + definePropertyExpr, + getOwnPropertyDescriptorExpr, + callExpr, + setPropertyStmt, + newExpr, + bigIntExpr, + regExpr, + SourceNodeOrString, + createSourceNode, + createSourceNodeWithoutSpan, +} from "./util"; + +export interface SerializeClosureProps { + /** + * A function to prevent serialization of certain values captured during the serialization. + */ + serialize?: (o: any) => boolean | any; + /** + * A function to prevent serialization of a {@link property} on an {@link obj} + * + * @param obj the object containing the property + * @param property the value of the property name + */ + shouldCaptureProp?: (obj: any, property: string | number | symbol) => boolean; + /** + * If this is a function which, when invoked, will produce the actual entrypoint function. + * Useful for when serializing a function that has high startup cost that only wants to be + * run once. The signature of this function should be: () => (provider_handler_args...) => provider_result + * + * This will then be emitted as: `exports.[exportName] = serialized_func_name();` + * + * In other words, the function will be invoked (once) and the resulting inner function will + * be what is exported. + */ + isFactoryFunction?: boolean; +} + +/** + * Serialize a {@link CodeWithSourceMap} to a JavaScript string with the source map + * as a base64-encoded comment at the end of the file. + * + * @param code the code and source map + * @returns a a JavaScript string with the source map as a base64-encoded comment at the end of the file. + */ +export function serializeCodeWithSourceMap(code: CodeWithSourceMap) { + const map = Buffer.from(JSON.stringify(code.map.toJSON())).toString("base64"); + return `${code.code}\n//# sourceMappingURL=data:application/json;base64,${map}`; +} + +// cache a map of directory -> module id +const moduleIdCache = new Map(); + +/** + * Serialize a closure to a bundle that can be remotely executed. + * @param func + * @param options ES Build options. + * @returns a string + */ +export function serializeClosure( + func: AnyFunction, + options?: SerializeClosureProps +): CodeWithSourceMap { + interface RequiredModule { + path: string; + exportName?: string; + exportValue: any; + module: NodeModule; + } + + // walk the entire require.cache and store a map of value + // -> the module that exported it + // -> the name of the exported value + // -> the path of the module + const requireCache = new Map( + Object.entries(require.cache).flatMap(([path, module]) => { + try { + return [ + [ + module?.exports as any, + { + path, + exportName: undefined, + exportValue: module?.exports, + module, + }, + ], + ...(Object.entries( + Object.getOwnPropertyDescriptors(module?.exports ?? {}) + ).map(([exportName, exportValue]) => { + return [ + exportValue.value, + { + path, + exportName, + exportValue: exportValue.value, + module: module, + }, + ]; + }) as [any, RequiredModule][]), + ]; + } catch (err) { + throw err; + } + }) + ); + + const uniqueName = (() => { + let i = 0; + + return (illegalNames?: Set) => { + let name; + do { + name = `v${i++}`; + } while (illegalNames?.has(name)); + return name; + }; + })(); + + const statements: (SourceNode | string)[] = []; + + // stores a map of value to a ts.Expression producing that value + const valueIds = new Map(); + + const singleton = (() => { + return function (value: any, produce: () => string): string { + // optimize for number of map get/set operations as this is hot code + let expr = valueIds.get(value); + if (expr === undefined) { + expr = produce(); + valueIds.set(value, expr); + } + return expr; + }; + })(); + + // stores a map of a `` to a ts.Identifier pointing to the unique location of that variable + const referenceIds = new Map(); + // map ReferenceExpr (syntactically) to the Closure Instance ID + const referenceInstanceIDs = new Map(); + + const funcAst = reflect(func)!; + const handler = serialize(func); + emit( + createSourceNode( + funcAst, + `exports.handler = ${handler}${options?.isFactoryFunction ? "()" : ""}` + ) + ); + + // looks like TS does not expose the source-map functionality + // TODO: figure out how to generate a source map since we have all the information ... + const script = new SourceNode(1, 0, "index.js", statements); + + return script.toStringWithSourceMap(); + + function emit(...stmts: (string | SourceNode)[]) { + statements.push(...stmts.flatMap((stmt) => [stmt, "\n"])); + } + + function emitVarDecl( + varKind: "const" | "let" | "var", + varName: string, + expr?: SourceNodeOrString | undefined + ): string { + emit( + createSourceNodeWithoutSpan( + varKind, + " ", + varName, + ...(expr ? [" = ", expr] : []), + ";" + ) + ); + return varName; + } + + function emitRequire(mod: string) { + // const vMod = require("module-name"); + return emitVarDecl( + "const", + uniqueName(), + callExpr(idExpr("require"), [stringExpr(mod)]) + ); + } + + function serialize(value: any): string { + let serializedVal = valueIds.get(value); + if (serializedVal === undefined) { + serializedVal = serializeHook(value); + valueIds.set(value, serializedVal); + } + return serializedVal; + } + + function serializeHook(value: any) { + if (options?.serialize) { + const result = options.serialize(value); + if (result === false) { + // do not serialize - emit `undefined`. + return undefinedExpr(); + } else if (result === true) { + // `true` means serialize the original value + return serializeValue(value); + } else { + // otherwise, serialize the modified value + return serializeValue(result); + } + } else { + // there is no serialize hook, so just serialize the original value + return serializeValue(value); + } + } + + function serializeValue(value: any): string { + if (value === undefined) { + return undefinedExpr(); + } else if (value === null) { + return nullExpr(); + } else if (value === true) { + return trueExpr(); + } else if (value === false) { + return falseExpr(); + } else if (typeof value === "number") { + return numberExpr(value); + } else if (typeof value === "bigint") { + return bigIntExpr(value); + } else if (typeof value === "symbol") { + const symbol = serialize(Symbol); + return singleton(value, () => { + if (typeof value.description === "string") { + if (value === Symbol.for(value.description)) { + // Symbol.for(description) + return callExpr(propAccessExpr(symbol, "for"), [ + stringExpr(value.description), + ]); + } else { + // Symbol(description) + return callExpr(symbol, [stringExpr(value.description)]); + } + } else { + // Symbol() + return callExpr(symbol, []); + } + }); + } else if (typeof value === "string") { + return stringExpr(value); + } else if (value instanceof RegExp) { + return singleton(value, () => regExpr(value)); + } else if (value instanceof Date) { + return singleton(value, () => + newExpr(idExpr("Date"), [numberExpr(value.getTime())]) + ); + } else if (Array.isArray(value)) { + // TODO: should we check the array's prototype? + + // emit an empty array + // var vArr = [] + const arr = singleton(value, () => + emitVarDecl("const", uniqueName(), `[]`) + ); + + if (value.length > 0) { + // for each item in the array, serialize the value and push it into the array + // vArr.push(vItem1, vItem2) + emit( + exprStmt(callExpr(propAccessExpr(arr, "push"), value.map(serialize))) + ); + } + + return arr; + } else if (util.types.isProxy(value)) { + const components = reverseProxy(value); + if (components) { + const target = serialize(components.target); + const handler = serialize(components.handler); + return emitVarDecl( + "const", + uniqueName(), + newExpr(idExpr("Proxy"), [target, handler]) + ); + } + throw new Error( + `cannot reverse Proxy - make sure you are compiling with Functionless` + ); + } else if (typeof value === "object") { + if (Globals.has(value)) { + return emitVarDecl("const", uniqueName(), Globals.get(value)!()); + } + + const mod = requireCache.get(value); + + if (mod) { + return serializeModule(value, mod); + } + + if ( + Object.hasOwn(value, "constructor") && + typeof value.constructor === "function" && + value.constructor.prototype === value + ) { + // this is the prototype value of a Function/class + const clazz = serialize(value.constructor); + return singleton(value, () => propAccessExpr(clazz, "prototype")); + } + + const prototype = Object.getPrototypeOf(value); + + // serialize the prototype first + // there should be no circular references between an object instance and its prototype + // if we need to handle circular references between an instance and prototype, then we can + // switch to a strategy of emitting an object and then calling Object.setPrototypeOf + const serializedPrototype = + prototype !== Object.prototype ? serialize(prototype) : undefined; + + // emit an empty object with the correct prototype + // e.g. `var vObj = Object.create(vPrototype);` + const obj = singleton(value, () => + emitVarDecl( + "const", + uniqueName(), + serializedPrototype + ? callExpr(propAccessExpr(idExpr("Object"), "create"), [ + serializedPrototype, + ]) + : objectExpr({}) + ) + ); + + defineProperties(value, obj); + + return obj; + } else if (typeof value === "function") { + if (Globals.has(value)) { + return singleton(value, () => + emitVarDecl("const", uniqueName(), Globals.get(value)!()) + ); + } + + const exportedValue = requireCache.get(value); + + // if this is a reference to an exported value from a module + // and we're using esbuild, then emit a require + if (exportedValue) { + return serializeModule(value, exportedValue); + } + + // if this is a bound closure, try and reconstruct it from its components + const boundFunction = serializeBoundFunction(value); + if (boundFunction) { + return boundFunction; + } + + const ast = reflect(value); + + if (ast === undefined) { + // this function does not have its AST available, so apply some heuristics + // to serialize it or fail + return serializeUnknownFunction(value); + } else if (isFunctionLike(ast)) { + return serializeFunction(value, ast); + } else if (isClassDecl(ast) || isClassExpr(ast)) { + return serializeClass(value, ast); + } else if (isMethodDecl(ast)) { + /** + * This is a reference to a method - pull it out as an individual function + * + * This occurs in two cases: + * 1. a reference to a method on an object + * ```ts + * class Foo { + * method() { } + * } + * + * const method = Foo.prototype.method; + * + * serialize(() => { + * // serialize method as a function + * method(); + * }) + * ``` + * 2. a reference to a method on an object + * + * ```ts + * const o = { + * prop: "value"; + * method() { + * return this.prop; + * } + * } + * ``` + */ + return serializeMethodAsFunction(ast); + } else if (isErr(ast)) { + throw ast.error; + } + console.error("cannot serialize node:", ast); + throw new Error(`cannot serialize node: ${ast.nodeKind}`); + } + + console.error("cannot serialize value:", value); + throw new Error(`cannot serialize value: ${value}`); + } + + /** + * Require a module and import the exported value. + * + * ```ts + * const mod = require("module-id"). + * ``` + * + * CAVEAT: only importing values exported by the module's index. + * + * ```ts + * // will map to require("aws-sdk").DynamoDB; + * const DynamoDB = require("aws-sdk/clients/dynamodb"); + * ``` + */ + function serializeModule(value: unknown, mod: RequiredModule) { + const exports = mod.module?.exports; + if (exports === undefined) { + throw new Error(`undefined exports`); + } + const requireMod = singleton(exports, () => { + const moduleId = getModuleId(mod.path); + return emitRequire(moduleId); + }); + return singleton(value, () => + emitVarDecl( + "const", + uniqueName(), + mod.exportName ? propAccessExpr(requireMod, mod.exportName) : requireMod + ) + ); + } + + /** + * Find the module-id of a jsFile by recursively walking back until + * finding the `package.json`. + * + * If the `package.json` isn't found, then the direct path of the file is returned. + */ + function getModuleId(jsFile: string): string { + return findModuleName(path.dirname(jsFile)) ?? jsFile; + + function findModuleName(dir: string): string | null { + let moduleId = moduleIdCache.get(dir); + if (moduleId !== undefined) { + return moduleId; + } + moduleIdCache.set(dir, (moduleId = _findModuleName(dir))); + return moduleId; + } + + function _findModuleName(dir: string): string | null { + if (path.resolve(dir) === path.resolve(process.cwd())) { + // reached the root workspace - could not resolve the module ID + return null; + } + const pkgJsonPath = path.join(dir, "package.json"); + if (fs.existsSync(pkgJsonPath)) { + const pkgJson = JSON.parse( + fs.readFileSync(pkgJsonPath).toString("utf-8") + ); + if (typeof pkgJson.name === "string") { + if (pkgJson.name === "functionless") { + // always in-memory serialize functionless + return null; + } + return pkgJson.name; + } + } + return findModuleName(path.join(dir, "..")); + } + } + + function serializeFunction(value: AnyFunction, ast: FunctionLike) { + // declare an empty var for this function + const func = singleton(value, () => emitVarDecl("var", uniqueName())); + + emit(exprStmt(assignExpr(func, toSourceNode(ast, getIllegalNames(ast))))); + + defineProperties(value, func); + + return func; + } + + function getIllegalNames(ast: FunctionlessNode): Set { + const names = new Set(); + forEachChild(ast, function visit(node) { + if (isParameterDecl(node) || isVariableDecl(node)) { + getNames(node.name).forEach((name) => names.add(name)); + } else if ( + (isFunctionDecl(node) || + isFunctionExpr(node) || + isClassDecl(node) || + isClassExpr(node)) && + node.name + ) { + if (typeof node.name === "string") { + names.add(node.name); + } else { + names.add(node.name.name); + } + } + forEachChild(node, visit); + }); + return names; + } + + function getNames(name: BindingName): string[] { + if (isIdentifier(name)) { + return [name.name]; + } else { + return name.bindings.flatMap((binding) => + isBindingElem(binding) ? getNames(binding.name) : [] + ); + } + } + + function serializeBoundFunction(func: AnyFunction) { + const components = unbind(func); + if (components) { + const boundThis = serialize(components.boundThis); + const boundArgs = serialize(components.boundArgs); + const targetFunction = serialize(components.targetFunction); + + return singleton(func, () => + emitVarDecl( + "const", + uniqueName(), + callExpr(propAccessExpr(targetFunction, "bind"), [ + boundThis, + boundArgs, + ]) + ) + ); + } + return undefined; + } + + function serializeUnknownFunction(value: AnyFunction) { + if (value.name === "bound requireModuleOrMock") { + // heuristic to catch Jest's hacked-up require + return idExpr("require"); + } else if (value.name === "Object") { + return serialize(Object); + } + + throw new Error( + `cannot serialize closures that were not compiled with Functionless unless they are exported by a module: ${func}` + ); + } + + function serializeClass( + classVal: AnyClass, + classAST: ClassExpr | ClassDecl + ): string { + // emit the class to the closure + const classDecl = singleton(classVal, () => + emitVarDecl("var", uniqueName()) + ); + + emit( + exprStmt( + assignExpr(classDecl, toSourceNode(classAST, getIllegalNames(classAST))) + ) + ); + + monkeyPatch(classDecl, classVal, classVal, ["prototype"]); + monkeyPatch( + propAccessExpr(classDecl, "prototype"), + classVal.prototype, + classVal, + ["constructor"] + ); + + return classDecl; + } + + function defineProperties(value: unknown, expr: string, ignore?: string[]) { + const ignoreSet = ignore ? new Set() : undefined; + // for each of the object's own properties, emit a statement that assigns the value of that property + // vObj.propName = vValue + Object.getOwnPropertyNames(value) + .filter( + (propName) => + ignoreSet?.has(propName) !== true && + (options?.shouldCaptureProp?.(value, propName) ?? true) + ) + .forEach((propName) => { + const propDescriptor = Object.getOwnPropertyDescriptor( + value, + propName + )!; + + if ( + !propDescriptor.writable && + (propName === "length" || + propName === "name" || + propName === "arguments" || + propName === "caller") + ) { + // don't attempt to write Function's length and name properties + return; + } + + if ( + propDescriptor.get === undefined && + propDescriptor.set === undefined + ) { + emit( + setPropertyStmt(expr, propName, serialize(propDescriptor.value)) + ); + } else { + const getter = propDescriptor.get + ? serialize(propDescriptor.get) + : undefinedExpr(); + const setter = propDescriptor.set + ? serialize(propDescriptor.set) + : undefinedExpr(); + + emit( + exprStmt( + definePropertyExpr( + expr, + stringExpr(propName), + objectExpr({ + get: getter, + set: setter, + }) + ) + ) + ); + } + }); + } + + /** + * Detect properties that have been patched on the original class and + * emit statements to re-apply the patched values. + */ + function monkeyPatch( + /** + * A ts.Expression pointing to the value within the closure that contains the + * patched properties. + */ + varName: SourceNodeOrString, + /** + * The value being serialized. + */ + varValue: any, + /** + * The class that "owns" this value. + */ + ownedBy: AnyClass, + /** + * A list of names that should not be considered, such as `prototype` or `constructor`. + */ + exclude: string[] = [] + ) { + // discover any properties that have been monkey-patched and overwrite them + for (const [propName, propDescriptor] of Object.entries( + Object.getOwnPropertyDescriptors(varValue) + ).filter(([propName]) => !exclude.includes(propName))) { + if (propDescriptor.get || propDescriptor.set) { + const get = propAccessor("get", propDescriptor); + const set = propAccessor("set", propDescriptor); + + if (get?.patched || set?.patched) { + emit( + exprStmt( + definePropertyExpr( + varName, + stringExpr(propName), + objectExpr({ + ...(get + ? { + get: get.patched ?? get.original, + } + : {}), + ...(set + ? { + set: set.patched ?? set.original, + } + : {}), + }) + ) + ) + ); + } + + type PatchedPropAccessor = + | { + patched: SourceNodeOrString; + original?: never; + } + | { + patched?: never; + original: SourceNodeOrString; + }; + + /** + * If this getter/setter has changed from the original declaration, then + * serialize its value and monkey-patch it back in. + */ + function propAccessor( + kind: "get" | "set", + propDescriptor: PropertyDescriptor + ): PatchedPropAccessor | undefined { + const getterOrSetter = propDescriptor[kind]; + if (getterOrSetter === undefined) { + return undefined; + } + const ast = reflect(getterOrSetter); + if (ast === undefined) { + throw new Error( + `${`${kind}ter`} was not compiled with functionless` + ); + } + if ( + (kind === "get" && isGetAccessorDecl(ast)) || + (kind === "set" && isSetAccessorDecl(ast)) + ) { + const owner = ( + ast as GetAccessorDecl | SetAccessorDecl + ).ownedBy!.ref(); + if (owner === ownedBy) { + return { + original: propAccessExpr( + getOwnPropertyDescriptorExpr(varName, stringExpr(propName)), + kind + ), + }; + } else { + // a monkey-patched getter/setter + return { + patched: serialize(getterOrSetter), + }; + } + } else if (isFunctionLike(ast) || isMethodDecl(ast)) { + return { + patched: serialize(getterOrSetter), + }; + } + return undefined; + } + } else if (typeof propDescriptor.value === "function") { + // method + const method = propDescriptor.value; + const methodAST = reflect(method); + if (methodAST === undefined) { + throw new Error(`method ${method.toString()} cannot be reflected`); + } else if (isMethodDecl(methodAST)) { + if (methodAST.ownedBy!.ref() !== ownedBy) { + // this is a monkey-patched method, overwrite the value + emit(setPropertyStmt(varName, propName, serialize(method))); + } else { + // this is the same method as declared in the class, so do nothing + } + } else if (isFunctionLike(methodAST)) { + // a method that has been patched with a function decl/expr or arrow expr. + emit(setPropertyStmt(varName, propName, serialize(method))); + } else { + throw new Error( + `Cannot monkey-patch a method with a ${methodAST.kindName}` + ); + } + } else if (propDescriptor.writable) { + // this is a literal value, like an object, so let's serialize it and set + emit( + setPropertyStmt(varName, propName, serialize(propDescriptor.value)) + ); + } + } + } + + /** + * Serialize a {@link MethodDecl} as a Function so that it can be individually referenced. + */ + function serializeMethodAsFunction(node: MethodDecl): string { + // find all names used as identifiers in the AST + // we must ensure that no free variables collide with these names + const illegalNames = getIllegalNames(node); + + const methodName = uniqueName(); + + emit( + createSourceNode(node, [ + `const ${methodName} = `, + ...(node.isAsync ? ["async "] : []), + "function ", + ...(node.name ? [toSourceNode(node.name, illegalNames)] : []), + ...(node.isAsterisk ? ["*"] : []), + "(", + ...commaSeparatedListSourceNode(node.parameters, illegalNames), + ")", + toSourceNode(node.body, illegalNames), + ]) + ); + + return methodName; + } + + /** + * Serialize a {@link FunctionlessNode} to a {@link SourceNode} representing the JavaScript. + * + * The {@link SourceNode} contains strings and other nested {@link SourceNode}s. Together, + * they form an entire JS file. Whenever a {@link FunctionlessNode} is mapped to a {@link SourceNode}, + * the {@link FunctionlessNode.span} and {@link FunctionlessNode.getFileName} are included + * in the {@link SourceNode} so that a source map can be generated mapping the serialized + * JS back to the source code that created it. + * + * @param node + * @param illegalNames names used within the {@link node} that should not be used + * as free variable names. + */ + function toSourceNode( + node: FunctionlessNode, + illegalNames: Set + ): SourceNode { + if (isReferenceExpr(node)) { + if (isRequire(node.ref())) { + return createSourceNode(node, "require"); + } + // get the set of ReferenceExpr instances for thisId + let thisId = + node.referenceId !== undefined + ? referenceInstanceIDs.get(node.referenceId) + : undefined; + thisId = thisId === undefined ? 0 : thisId + 1; + if (node.referenceId) { + referenceInstanceIDs.set(node.referenceId, thisId); + } + + // a key that uniquely identifies the variable pointed to by this reference + const varKey = `${node.getFileName()} ${node.name} ${node.id} ${thisId}`; + + // a ts.Identifier that uniquely references the memory location of this variable in the serialized closure + let varId: string | undefined = referenceIds.get(varKey); + if (varId === undefined) { + varId = uniqueName(illegalNames); + referenceIds.set(varKey, varId); + + const value = serialize(node.ref()); + + // emit a unique variable with the current value + emitVarDecl("var", varId, value); + } + return createSourceNode(node, varId); + } else if (isArrowFunctionExpr(node)) { + return createSourceNode(node, [ + ...(node.isAsync ? ["async "] : []), + "(", + ...commaSeparatedListSourceNode(node.parameters, illegalNames), + ") => ", + toSourceNode(node.body, illegalNames), + ]); + } else if (isFunctionDecl(node) || isFunctionExpr(node)) { + return createSourceNode(node, [ + ...(node.isAsync ? ["async "] : []), + "function ", + ...(node.isAsterisk ? ["*"] : []), + ...(node.name ? [node.name] : []), + "(", + ...commaSeparatedListSourceNode(node.parameters, illegalNames), + ")", + toSourceNode(node.body, illegalNames), + ]); + } else if (isParameterDecl(node)) { + return createSourceNode(node, [ + ...(node.isRest ? ["..."] : []), + toSourceNode(node.name, illegalNames), + ...(node.initializer + ? ["=", toSourceNode(node.initializer, illegalNames)] + : []), + ]); + } else if (isBlockStmt(node)) { + return createSourceNode(node, [ + "{\n", + ...node.statements.flatMap((stmt) => [ + toSourceNode(stmt, illegalNames), + "\n", + ]), + "}\n", + ]); + } else if (isThisExpr(node)) { + return createSourceNode(node, ["this"]); + } else if (isSuperKeyword(node)) { + return createSourceNode(node, ["super"]); + } else if (isIdentifier(node)) { + return createSourceNode(node, [node.name]); + } else if (isPrivateIdentifier(node)) { + return createSourceNode(node, [node.name]); + } else if (isPropAccessExpr(node)) { + const val = evalToConstant(node); + if (val?.constant) { + if (Token.isUnresolved(val.constant)) { + // if this is a reference to a Token, pluck it + return createSourceNode(node, [serialize(val.constant)]); + } + } + return createSourceNode(node, [ + toSourceNode(node.expr, illegalNames), + ...(node.isOptional ? ["?."] : ["."]), + toSourceNode(node.name, illegalNames), + ]); + } else if (isElementAccessExpr(node)) { + const val = evalToConstant(node); + if (val?.constant) { + if (Token.isUnresolved(val.constant)) { + // if this is a reference to a Token, pluck it + return createSourceNode(node, [serialize(val.constant)]); + } + } + return createSourceNode(node, [ + toSourceNode(node.expr, illegalNames), + ...(node.isOptional ? ["?."] : []), + "[", + toSourceNode(node.element, illegalNames), + "]", + ]); + } else if (isCallExpr(node)) { + return createSourceNode(node, [ + toSourceNode(node.expr, illegalNames), + ...(node.isOptional ? ["?."] : []), + "(", + ...commaSeparatedListSourceNode(node.args, illegalNames), + ")", + ]); + } else if (isNewExpr(node)) { + return createSourceNode(node, [ + "new ", + toSourceNode(node.expr, illegalNames), + "(", + ...node.args.flatMap((arg) => [toSourceNode(arg, illegalNames), ","]), + ")", + ]); + } else if (isArgument(node)) { + return toSourceNode(node.expr, illegalNames); + } else if (isUndefinedLiteralExpr(node)) { + return createSourceNode(node, "undefined"); + } else if (isNullLiteralExpr(node)) { + return createSourceNode(node, "null"); + } else if (isBooleanLiteralExpr(node)) { + return createSourceNode(node, node.value ? "true" : "false"); + } else if (isNumberLiteralExpr(node)) { + return createSourceNode(node, node.value.toString(10)); + } else if (isBigIntExpr(node)) { + return createSourceNode(node, `${node.value.toString(10)}n`); + } else if (isStringLiteralExpr(node)) { + return createSourceNode(node, stringExpr(node.value)); + } else if (isArrayLiteralExpr(node)) { + return createSourceNode(node, [ + "[", + ...node.items.flatMap((item) => [ + toSourceNode(item, illegalNames), + ",", + ]), + "]", + ]); + } else if (isSpreadElementExpr(node)) { + return createSourceNode(node, [ + "...", + toSourceNode(node.expr, illegalNames), + ]); + } else if (isObjectLiteralExpr(node)) { + return createSourceNode(node, [ + "{", + ...commaSeparatedListSourceNode(node.properties, illegalNames), + "}", + ]); + } else if (isPropAssignExpr(node)) { + return createSourceNode(node, [ + toSourceNode(node.name, illegalNames), + ":", + toSourceNode(node.expr, illegalNames), + ]); + } else if (isSpreadAssignExpr(node)) { + return createSourceNode(node, [ + "...", + toSourceNode(node.expr, illegalNames), + ]); + } else if (isComputedPropertyNameExpr(node)) { + return createSourceNode(node, [ + "[", + toSourceNode(node.expr, illegalNames), + "]", + ]); + } else if (isOmittedExpr(node)) { + return createSourceNode(node, ""); + } else if (isVariableStmt(node)) { + return toSourceNode(node.declList, illegalNames); + } else if (isVariableDeclList(node)) { + return createSourceNode(node, [ + node.varKind === VariableDeclKind.Const + ? "const" + : node.varKind === VariableDeclKind.Let + ? "let" + : "var", + " ", + ...node.decls.flatMap((decl, i) => [ + toSourceNode(decl, illegalNames), + ...(i < node.decls.length - 1 ? [","] : []), + ]), + ]); + } else if (isVariableDecl(node)) { + return createSourceNode(node, [ + toSourceNode(node.name, illegalNames), + ...(node.initializer + ? ["=", toSourceNode(node.initializer, illegalNames)] + : []), + ]); + } else if (isBindingElem(node)) { + return createSourceNode(node, [ + ...(node.rest ? ["..."] : []), + ...(node.propertyName + ? [toSourceNode(node.propertyName, illegalNames), ":"] + : []), + toSourceNode(node.name, illegalNames), + ...(node.initializer + ? ["=", toSourceNode(node.initializer, illegalNames)] + : []), + ]); + } else if (isObjectBinding(node)) { + return createSourceNode(node, [ + "{", + ...commaSeparatedListSourceNode(node.bindings, illegalNames), + "}", + ]); + } else if (isArrayBinding(node)) { + return createSourceNode(node, [ + "[", + ...commaSeparatedListSourceNode(node.bindings, illegalNames), + "]", + ]); + } else if (isClassDecl(node) || isClassExpr(node)) { + return createSourceNode(node, [ + "class ", + ...(node.name ? [toSourceNode(node.name, illegalNames)] : []), + ...(node.heritage + ? [" extends ", toSourceNode(node.heritage, illegalNames)] + : []), + "{\n", + ...node.members.flatMap((member) => [ + toSourceNode(member, illegalNames), + "\n", + ]), + "}", + ]); + } else if (isClassStaticBlockDecl(node)) { + return createSourceNode(node, [ + "static ", + toSourceNode(node.block, illegalNames), + ]); + } else if (isConstructorDecl(node)) { + return createSourceNode(node, [ + "constructor(", + ...node.parameters.flatMap((param, i) => [ + toSourceNode(param, illegalNames), + ...(i < node.parameters.length ? [","] : []), + ]), + ")", + toSourceNode(node.body, illegalNames), + ]); + } else if (isPropDecl(node)) { + return createSourceNode(node, [ + ...(node.isStatic ? ["static "] : [""]), + toSourceNode(node.name, illegalNames), + ...(node.initializer + ? [" = ", toSourceNode(node.initializer, illegalNames)] + : []), + ]); + } else if (isMethodDecl(node)) { + return createSourceNode(node, [ + ...(node.isAsync ? [" async "] : []), + ...(node.isAsterisk ? ["*"] : []), + toSourceNode(node.name, illegalNames), + "(", + ...commaSeparatedListSourceNode(node.parameters, illegalNames), + ")", + toSourceNode(node.body, illegalNames), + ]); + } else if (isGetAccessorDecl(node)) { + return createSourceNode(node, [ + "get ", + toSourceNode(node.name, illegalNames), + "()", + toSourceNode(node.body, illegalNames), + ]); + } else if (isSetAccessorDecl(node)) { + return createSourceNode(node, [ + "set ", + toSourceNode(node.name, illegalNames), + "(", + ...(node.parameter ? [toSourceNode(node.parameter, illegalNames)] : []), + ")", + toSourceNode(node.body, illegalNames), + ]); + } else if (isExprStmt(node)) { + return createSourceNode(node, [ + toSourceNode(node.expr, illegalNames), + ";", + ]); + } else if (isAwaitExpr(node)) { + return createSourceNode(node, [ + "await ", + toSourceNode(node.expr, illegalNames), + ]); + } else if (isYieldExpr(node)) { + return createSourceNode(node, [ + "yield", + ...(node.delegate ? ["*"] : []), + " ", + toSourceNode(node.expr, illegalNames), + ]); + } else if (isUnaryExpr(node)) { + return createSourceNode(node, [ + node.op, + toSourceNode(node.expr, illegalNames), + ]); + } else if (isPostfixUnaryExpr(node)) { + return createSourceNode(node, [ + toSourceNode(node.expr, illegalNames), + node.op, + ]); + } else if (isBinaryExpr(node)) { + return createSourceNode(node, [ + toSourceNode(node.left, illegalNames), + " ", + node.op, + " ", + toSourceNode(node.right, illegalNames), + ]); + } else if (isConditionExpr(node)) { + return createSourceNode(node, [ + toSourceNode(node.when, illegalNames), + " ? ", + toSourceNode(node.then, illegalNames), + " : ", + toSourceNode(node._else, illegalNames), + ]); + } else if (isIfStmt(node)) { + return createSourceNode(node, [ + "if (", + toSourceNode(node.when, illegalNames), + ")", + ...(isBlockStmt(node.then) + ? [toSourceNode(node.then, illegalNames)] + : [toSourceNode(node.then, illegalNames), ";"]), + + ...(node._else + ? ["else ", toSourceNode(node._else, illegalNames)] + : []), + ]); + } else if (isSwitchStmt(node)) { + return createSourceNode(node, [ + "switch (", + toSourceNode(node.expr, illegalNames), + ") {\n", + ...node.clauses.flatMap((clause) => [ + toSourceNode(clause, illegalNames), + "\n", + ]), + "}", + ]); + } else if (isCaseClause(node)) { + return createSourceNode(node, [ + "case ", + toSourceNode(node.expr, illegalNames), + ":", + ...node.statements.flatMap((stmt) => [ + toSourceNode(stmt, illegalNames), + "\n", + ]), + ]); + } else if (isDefaultClause(node)) { + return createSourceNode(node, [ + "default:\n", + ...node.statements.flatMap((stmt) => [ + toSourceNode(stmt, illegalNames), + "\n", + ]), + ]); + } else if (isForStmt(node)) { + return createSourceNode(node, [ + "for (", + ...(node.initializer + ? [toSourceNode(node.initializer, illegalNames)] + : []), + ";", + ...(node.condition ? [toSourceNode(node.condition, illegalNames)] : []), + ";", + ...(node.incrementor + ? [toSourceNode(node.incrementor, illegalNames)] + : []), + ")", + toSourceNode(node.stmt, illegalNames), + ]); + } else if (isForOfStmt(node)) { + return createSourceNode(node, [ + "for", + ...(node.isAwait ? [" await "] : []), + "(", + toSourceNode(node.initializer, illegalNames), + " of ", + toSourceNode(node.expr, illegalNames), + ")", + toSourceNode(node.stmt, illegalNames), + ]); + } else if (isForInStmt(node)) { + return createSourceNode(node, [ + "for", + toSourceNode(node.initializer, illegalNames), + " in ", + toSourceNode(node.expr, illegalNames), + ")", + toSourceNode(node.stmt, illegalNames), + ]); + } else if (isWhileStmt(node)) { + return createSourceNode(node, [ + "while (", + toSourceNode(node.condition, illegalNames), + ")", + toSourceNode(node.stmt, illegalNames), + ]); + } else if (isDoStmt(node)) { + return createSourceNode(node, [ + "do", + toSourceNode(node.stmt, illegalNames), + "while (", + toSourceNode(node.condition, illegalNames), + ");", + ]); + } else if (isBreakStmt(node)) { + return createSourceNode(node, "break;"); + } else if (isContinueStmt(node)) { + return createSourceNode(node, "continue;"); + } else if (isLabelledStmt(node)) { + return createSourceNode(node, [ + `${node.label.name}:`, + toSourceNode(node.stmt, illegalNames), + ]); + } else if (isTryStmt(node)) { + return createSourceNode(node, [ + `try `, + toSourceNode(node.tryBlock, illegalNames), + ...(node.catchClause + ? [toSourceNode(node.catchClause, illegalNames)] + : []), + ...(node.finallyBlock + ? ["finally ", toSourceNode(node.finallyBlock, illegalNames)] + : []), + ]); + } else if (isCatchClause(node)) { + return createSourceNode(node, [ + `catch`, + ...(node.variableDecl + ? ["(", toSourceNode(node.variableDecl, illegalNames), ")"] + : []), + toSourceNode(node.block, illegalNames), + ]); + } else if (isThrowStmt(node)) { + return createSourceNode(node, [ + `throw `, + toSourceNode(node.expr, illegalNames), + ";", + ]); + } else if (isDeleteExpr(node)) { + return createSourceNode(node, [ + `delete `, + toSourceNode(node.expr, illegalNames), + ";", + ]); + } else if (isParenthesizedExpr(node)) { + return createSourceNode(node, [ + `(`, + toSourceNode(node.expr, illegalNames), + ")", + ]); + } else if (isRegexExpr(node)) { + return createSourceNode(node, [ + "/", + node.regex.source, + "/", + node.regex.flags, + ]); + } else if (isTemplateExpr(node)) { + return createSourceNode(node, [ + "`", + node.head.text, + ...node.spans.map((span) => toSourceNode(span, illegalNames)), + "`", + ]); + } else if (isTaggedTemplateExpr(node)) { + return createSourceNode(node, [ + toSourceNode(node.tag, illegalNames), + toSourceNode(node.template, illegalNames), + ]); + } else if (isNoSubstitutionTemplateLiteral(node)) { + return createSourceNode(node, ["`", node.text, "`"]); + } else if ( + isTemplateHead(node) || + isTemplateMiddle(node) || + isTemplateTail(node) + ) { + return createSourceNode(node, node.text); + } else if (isTemplateSpan(node)) { + return createSourceNode(node, [ + createSourceNode(node, [ + "${", + toSourceNode(node.expr, illegalNames), + "}", + ]), + toSourceNode(node.literal, illegalNames), + ]); + } else if (isTypeOfExpr(node)) { + return createSourceNode(node, [ + "typeof ", + toSourceNode(node.expr, illegalNames), + ]); + } else if (isVoidExpr(node)) { + return createSourceNode(node, [ + "void ", + toSourceNode(node.expr, illegalNames), + ]); + } else if (isDebuggerStmt(node)) { + return createSourceNode(node, "debugger;"); + } else if (isEmptyStmt(node)) { + return createSourceNode(node, ";"); + } else if (isReturnStmt(node)) { + return createSourceNode( + node, + node.expr + ? ["return ", toSourceNode(node.expr, illegalNames), ";"] + : "return;" + ); + } else if (isImportKeyword(node)) { + return createSourceNode(node, "import"); + } else if (isWithStmt(node)) { + return createSourceNode(node, [ + "with(", + toSourceNode(node.expr, illegalNames), + ")", + toSourceNode(node.stmt, illegalNames), + ]); + } else if (isErr(node)) { + throw node.error; + } else { + return assertNever(node); + } + } + + function commaSeparatedListSourceNode( + nodes: FunctionlessNode[], + illegalNames: Set + ): (string | SourceNode)[] { + return nodes.flatMap((node, i) => [ + toSourceNode(node, illegalNames), + ...(i < nodes.length - 1 ? [","] : []), + ]); + } +} + +/** + * Heuristic for detecting whether a value is the require function. + * + * Detects both the intrinsic require and jest's patched require. + */ +function isRequire(a: any): boolean { + return ( + a === require || + (typeof a === "function" && a.name === "bound requireModuleOrMock") + ); +} diff --git a/src/serialize-closure/util.ts b/src/serialize-closure/util.ts new file mode 100644 index 00000000..1cefe91f --- /dev/null +++ b/src/serialize-closure/util.ts @@ -0,0 +1,169 @@ +import path from "path"; +import { SourceNode } from "source-map"; +import { FunctionlessNode } from "../node"; + +export function undefinedExpr() { + return "undefined"; +} + +export function nullExpr() { + return "null"; +} + +export function trueExpr() { + return "true"; +} + +export function falseExpr() { + return "false"; +} + +export function idExpr(name: string) { + return name; +} + +export function stringExpr(name: string) { + // this seems dangerous - are we handling this right? + return `"${name.replaceAll('"', '\\"').replaceAll("\n", "\\n")}"`; +} + +export function numberExpr(num: number) { + return num.toString(10); +} + +export function bigIntExpr(num: bigint) { + return `${num.toString(10)}n`; +} + +export function regExpr(regex: RegExp) { + return `/${regex.source}/${regex.flags}`; +} + +export function objectExpr(obj: Record) { + return createSourceNodeWithoutSpan( + "{", + ...Object.entries(obj).flatMap(([name, val]) => [ + createSourceNodeWithoutSpan(name, " : ", val), + ",", + ]), + "}" + ); +} + +export type SourceNodeOrString = string | SourceNode; + +export function createSourceNodeWithoutSpan( + ...exprs: S +): S extends string ? string : SourceNodeOrString { + if (exprs.every((expr) => typeof expr === "string")) { + return exprs.join(""); + } else { + return new SourceNode(null, null, "index.js", exprs) as any; + } +} + +export function createSourceNode( + node: FunctionlessNode, + chunks: string | SourceNodeOrString[] +) { + const absoluteFileName = node.getFileName(); + + return new SourceNode( + node.span[0], + node.span[1], + path.relative(process.cwd(), absoluteFileName), + chunks + ); +} + +const propNameRegex = /^[_a-zA-Z][_a-zA-Z0-9]*$/g; + +export function propAccessExpr( + expr: S, + name: string +): S extends string ? string : SourceNodeOrString { + if (name.match(propNameRegex)) { + return createSourceNodeWithoutSpan(expr, ".", name) as S extends string + ? string + : SourceNodeOrString; + } else { + return createSourceNodeWithoutSpan( + expr, + "[", + stringExpr(name), + "]" + ) as S extends string ? string : SourceNodeOrString; + } +} + +export function assignExpr( + left: SourceNodeOrString | SourceNode, + right: SourceNodeOrString | SourceNode +) { + return createSourceNodeWithoutSpan(left, " = ", right); +} + +export function callExpr< + E extends SourceNodeOrString, + A extends SourceNodeOrString +>(expr: E, args: A[]): E | A extends string ? string : SourceNodeOrString { + return createSourceNodeWithoutSpan( + expr, + "(", + ...args.flatMap((arg, i) => (i < args.length - 1 ? [arg, ","] : [arg])), + ")" + ) as E | A extends string ? string : SourceNodeOrString; +} + +export function newExpr(expr: string, args: string[]): string; +export function newExpr(expr: SourceNodeOrString, args: SourceNodeOrString[]) { + return createSourceNodeWithoutSpan( + "new ", + expr, + "(", + ...args.flatMap((arg) => [arg, ","]), + ")" + ); +} + +export function exprStmt(expr: SourceNodeOrString | SourceNode) { + return createSourceNodeWithoutSpan(expr, ";"); +} + +export function setPropertyStmt( + on: SourceNodeOrString, + key: string, + value: SourceNodeOrString +) { + return createSourceNodeWithoutSpan(setPropertyExpr(on, key, value), ";"); +} + +export function setPropertyExpr( + on: SourceNodeOrString, + key: string, + value: SourceNodeOrString +) { + return assignExpr(propAccessExpr(on, key), value); +} + +export function definePropertyExpr( + on: SourceNodeOrString, + name: SourceNodeOrString, + value: SourceNodeOrString +) { + return callExpr(propAccessExpr(idExpr("Object"), "defineProperty"), [ + on, + name, + value, + ]); +} + +export function getOwnPropertyDescriptorExpr( + obj: SourceNodeOrString, + key: SourceNodeOrString +) { + return callExpr( + propAccessExpr(idExpr("Object"), "getOwnPropertyDescriptor"), + [obj, key] + ); +} diff --git a/src/statement.ts b/src/statement.ts index 02a5eeef..55662c3c 100644 --- a/src/statement.ts +++ b/src/statement.ts @@ -39,7 +39,7 @@ export type Stmt = export abstract class BaseStmt< Kind extends NodeKind, - Parent extends FunctionlessNode | undefined = BlockStmt | IfStmt + Parent extends FunctionlessNode = BlockStmt | IfStmt > extends BaseNode { readonly nodeKind: "Stmt" = "Stmt"; diff --git a/src/step-function.ts b/src/step-function.ts index 94c306ec..59044bc7 100644 --- a/src/step-function.ts +++ b/src/step-function.ts @@ -652,6 +652,7 @@ export type StepFunctionCause = * } * ``` */ +// @ts-ignore - TODO: rename error and cause export class StepFunctionError extends Error { static readonly kind = "StepFunctionError"; diff --git a/src/vtl.ts b/src/vtl.ts index b038f33d..8e04dba2 100644 --- a/src/vtl.ts +++ b/src/vtl.ts @@ -13,6 +13,7 @@ import { Expr, Identifier, ReferenceExpr, + SuperKeyword, ThisExpr, } from "./expression"; import { @@ -324,9 +325,12 @@ export abstract class VTL { * @param node the {@link Expr} or {@link Stmt} to evaluate. * @returns a variable reference to the evaluated value */ - public eval(node?: Expr, returnVar?: string): string; + public eval(node?: Expr | SuperKeyword, returnVar?: string): string; public eval(node: Stmt, returnVar?: string): void; - public eval(node?: Expr | Stmt, returnVar?: string): string | void { + public eval( + node?: Expr | Stmt | SuperKeyword, + returnVar?: string + ): string | void { if (!node) { return "$null"; } @@ -1052,7 +1056,7 @@ export abstract class VTL { * @return [firstVariable, list variable, render function] */ private flattenListMapOperations( - expr: Expr, + expr: Expr | SuperKeyword, // Should start with $ returnVariable: string, before: (firstVariable: string, list: string) => void, diff --git a/test-app/hook.js b/test-app/hook.js index a4883120..347d034b 100644 --- a/test-app/hook.js +++ b/test-app/hook.js @@ -2,8 +2,9 @@ const register = require("@swc/register/lib/node").default; const path = require("path"); const src = path.join(__dirname, "src"); -const functionlessLib = path.resolve(__dirname, "..", "lib"); +const functionlessLib = path.dirname(require.resolve("functionless")); register({ + sourceMaps: true, ignore: [ (file) => { if (file.startsWith(src) || file.startsWith(functionlessLib)) { diff --git a/test-app/src/order-processing-queue.ts b/test-app/src/order-processing-queue.ts index 94f4a3a1..0c271b65 100644 --- a/test-app/src/order-processing-queue.ts +++ b/test-app/src/order-processing-queue.ts @@ -1,5 +1,18 @@ -import { App, aws_logs, aws_stepfunctions, Stack } from "aws-cdk-lib"; -import { Queue, Function, EventBus, Event, StepFunction } from "functionless"; +import { + App, + aws_logs, + aws_stepfunctions, + SecretValue, + Stack, +} from "aws-cdk-lib"; +import { + Queue, + Function, + EventBus, + Event, + StepFunction, + JsonSecret, +} from "functionless"; const app = new App(); const stack = new Stack(app, "queue"); @@ -166,3 +179,28 @@ new StepFunction( }); } ); + +export interface UserPass { + username: string; + password: string; +} + +const secret = new JsonSecret(stack, "JsonSecret", { + secretStringValue: SecretValue.unsafePlainText( + JSON.stringify({ + username: "sam", + password: "sam", + }) + ), +}); + +new Function(stack, "SecretFunc", async (input: "get" | UserPass) => { + if (input === "get") { + return (await secret.getSecretValue()).SecretValue; + } else { + const response = await secret.putSecretValue({ + SecretValue: input, + }); + return response; + } +}); diff --git a/test-app/yarn.lock b/test-app/yarn.lock index bd799af7..4571da4f 100644 --- a/test-app/yarn.lock +++ b/test-app/yarn.lock @@ -2808,6 +2808,7 @@ function.prototype.name@^1.1.5: "@types/aws-lambda" "^8.10.102" fs-extra "^10.1.0" minimatch "^5.1.0" + source-map "^0.7.4" functions-have-names@^1.2.2: version "1.2.3" @@ -4214,7 +4215,7 @@ source-map@^0.6.0: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.7.3: +source-map@^0.7.3, source-map@^0.7.4: version "0.7.4" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== diff --git a/test/__snapshots__/api.test.ts.snap b/test/__snapshots__/api.test.ts.snap index 734bce36..e03c5e11 100644 --- a/test/__snapshots__/api.test.ts.snap +++ b/test/__snapshots__/api.test.ts.snap @@ -1,51 +1,51 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`AWS integration with DynamoDB Table 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { +{ + "integrationResponses": [ + { + "responseTemplates": { "application/json": "#set($v1 = $input.path('$').Item != $null) #if($v1) -{\\"data\\":$input.json('$.Item')} +{"data":$input.json('$.Item')} #else #set($context.responseOverride.status = 404) $util.qr($context.responseOverride.status) -{\\"requestId\\":$input.json('$.requestId'),\\"missing\\":true} +{"requestId":$input.json('$.requestId'),"missing":true} #end", }, "statusCode": "200", }, ], - "requestTemplates": Object { + "requestTemplates": { "application/json": "{ - \\"TableName\\":\\"__REPLACED_TOKEN\\", - \\"Key\\":{\\"pk\\":{\\"S\\":$input.json('$.id')}} + "TableName":"__REPLACED_TOKEN", + "Key":{"pk":{"S":$input.json('$.id')}} }", }, } `; exports[`AWS integration with Event Bus 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { - "application/json": "\\"success\\"", +{ + "integrationResponses": [ + { + "responseTemplates": { + "application/json": ""success"", }, "statusCode": "200", }, ], - "requestTemplates": Object { - "application/json": "#set($context.requestOverride.header.X-Amz-Target = \\"AWSEvents.PutEvents\\") -#set($context.requestOverride.header.Content-Type = \\"application/x-amz-json-1.1\\") + "requestTemplates": { + "application/json": "#set($context.requestOverride.header.X-Amz-Target = "AWSEvents.PutEvents") +#set($context.requestOverride.header.Content-Type = "application/x-amz-json-1.1") { -\\"Entries\\":[{ - \\"Source\\":\\"source\\", -\\"Detail\\":\\"$util.escapeJavaScript($input.json('$'))\\", -\\"DetailType\\":\\"data\\", -\\"Resources\\":[\\"a\\",\\"$util.escapeJavaScript($input.json('$.value'))\\"], - \\"EventBusName\\":\\"__REPLACED_TOKEN\\" +"Entries":[{ + "Source":"source", +"Detail":"$util.escapeJavaScript($input.json('$'))", +"DetailType":"data", +"Resources":["a","$util.escapeJavaScript($input.json('$.value'))"], + "EventBusName":"__REPLACED_TOKEN" } ]}", }, @@ -53,10 +53,10 @@ Object { `; exports[`AWS integration with Express Step Function 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { +{ + "integrationResponses": [ + { + "responseTemplates": { "application/json": "#set($v1 = $input.path('$').status == 'SUCCEEDED') #if($v1) $input.json('$.output') @@ -69,150 +69,150 @@ $input.json('$.error') "statusCode": "200", }, ], - "requestTemplates": Object { + "requestTemplates": { "application/json": "{ -\\"stateMachineArn\\":\\"__REPLACED_TOKEN\\", -\\"input\\":\\"{\\\\\\"num\\\\\\":$input.params('num'),\\\\\\"str\\\\\\":\\\\\\"$input.params('str')\\\\\\"}\\" +"stateMachineArn":"__REPLACED_TOKEN", +"input":"{\\"num\\":$input.params('num'),\\"str\\":\\"$input.params('str')\\"}" }", }, } `; exports[`AWS integration with Function 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { - "application/json": "{\\"result\\":$input.json('$')}", +{ + "integrationResponses": [ + { + "responseTemplates": { + "application/json": "{"result":$input.json('$')}", }, "statusCode": "200", }, ], - "requestTemplates": Object { + "requestTemplates": { "application/json": "$input.json('$.prop')", }, } `; exports[`AWS integration with Standard Step Function 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { +{ + "integrationResponses": [ + { + "responseTemplates": { "application/json": "$input.json('$.executionArn')", }, "statusCode": "200", }, ], - "requestTemplates": Object { + "requestTemplates": { "application/json": "{ -\\"stateMachineArn\\":\\"__REPLACED_TOKEN\\", -\\"input\\":\\"{\\\\\\"num\\\\\\":$input.params('num'),\\\\\\"str\\\\\\":\\\\\\"$input.params('str')\\\\\\"}\\" +"stateMachineArn":"__REPLACED_TOKEN", +"input":"{\\"num\\":$input.params('num'),\\"str\\":\\"$input.params('str')\\"}" }", }, } `; exports[`AWS integration with Standard Step Function using input data 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { +{ + "integrationResponses": [ + { + "responseTemplates": { "application/json": "$input.json('$.executionArn')", }, "statusCode": "200", }, ], - "requestTemplates": Object { + "requestTemplates": { "application/json": "{ -\\"stateMachineArn\\":\\"__REPLACED_TOKEN\\", -\\"input\\":\\"{\\\\\\"num\\\\\\":$input.params('num'),\\\\\\"obj\\\\\\":$util.escapeJavaScript($input.json('$'))}\\" +"stateMachineArn":"__REPLACED_TOKEN", +"input":"{\\"num\\":$input.params('num'),\\"obj\\":$util.escapeJavaScript($input.json('$'))}" }", }, } `; exports[`mock integration with object literal 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { - "application/json": "{\\"response\\":\\"OK\\"}", +{ + "integrationResponses": [ + { + "responseTemplates": { + "application/json": "{"response":"OK"}", }, "selectionPattern": "^200$", "statusCode": "200", }, - Object { - "responseTemplates": Object { - "application/json": "{\\"response\\":\\"BAD\\"}", + { + "responseTemplates": { + "application/json": "{"response":"BAD"}", }, "selectionPattern": "^500$", "statusCode": "500", }, ], - "requestTemplates": Object { - "application/json": "{\\"statusCode\\":$input.params('code')}", + "requestTemplates": { + "application/json": "{"statusCode":$input.params('code')}", }, } `; exports[`mock integration with object literal and literal type in pathParameters 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { - "application/json": "{\\"response\\":\\"OK\\"}", +{ + "integrationResponses": [ + { + "responseTemplates": { + "application/json": "{"response":"OK"}", }, "selectionPattern": "^200$", "statusCode": "200", }, - Object { - "responseTemplates": Object { - "application/json": "{\\"response\\":\\"BAD\\"}", + { + "responseTemplates": { + "application/json": "{"response":"BAD"}", }, "selectionPattern": "^500$", "statusCode": "500", }, ], - "requestTemplates": Object { - "application/json": "{\\"statusCode\\":$input.params('code')}", + "requestTemplates": { + "application/json": "{"statusCode":$input.params('code')}", }, } `; exports[`return $input.data 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { +{ + "integrationResponses": [ + { + "responseTemplates": { "application/json": "$input.json('$')", }, "statusCode": "200", }, ], - "requestTemplates": Object { + "requestTemplates": { "application/json": "{ - \\"TableName\\":\\"__REPLACED_TOKEN\\", - \\"Key\\":{\\"pk\\":{\\"S\\":$input.json('$.id')}} + "TableName":"__REPLACED_TOKEN", + "Key":{"pk":{"S":$input.json('$.id')}} }", }, } `; exports[`return $input.data.list[0] 1`] = ` -Object { - "integrationResponses": Array [ - Object { - "responseTemplates": Object { +{ + "integrationResponses": [ + { + "responseTemplates": { "application/json": "$input.json('$')", }, "statusCode": "200", }, ], - "requestTemplates": Object { + "requestTemplates": { "application/json": "{ - \\"TableName\\":\\"__REPLACED_TOKEN\\", - \\"Key\\":{\\"pk\\":{\\"S\\":$input.json('$.list[0]')}} + "TableName":"__REPLACED_TOKEN", + "Key":{"pk":{"S":$input.json('$.list[0]')}} }", }, } diff --git a/test/__snapshots__/appsync.test.ts.snap b/test/__snapshots__/appsync.test.ts.snap index ce4e0cb7..8fdcfcc8 100644 --- a/test/__snapshots__/appsync.test.ts.snap +++ b/test/__snapshots__/appsync.test.ts.snap @@ -1,30 +1,30 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`deconstruct integration response 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end #set($context.stash.exec = 'exec1') { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson($context.stash.exec) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson($context.stash.exec) } } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.executionArn = $sfn__result.executionArn) {}", @@ -36,13 +36,13 @@ Array [ `; exports[`deconstruct integration response 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "executionArn": "exec1", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.DescribeExecution", }, @@ -53,13 +53,13 @@ Object { `; exports[`integrations separated by in 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end #set($v1 = {}) -#set($v2 = {\\"version\\": \\"2018-05-29\\", \\"operation\\": \\"Invoke\\", \\"payload\\": $v1}) +#set($v2 = {"version": "2018-05-29", "operation": "Invoke", "payload": $v1}) $util.toJson($v2)", "#set($context.stash.fnl_tmp_0 = $context.result) {}", @@ -67,7 +67,7 @@ $util.toJson($v2)", #return($context.stash.return__val) #end #set($v1 = {}) -#set($v2 = {\\"version\\": \\"2018-05-29\\", \\"operation\\": \\"Invoke\\", \\"payload\\": $v1}) +#set($v2 = {"version": "2018-05-29", "operation": "Invoke", "payload": $v1}) $util.toJson($v2)", "#set($context.stash.fnl_tmp_1 = $context.result) {}", @@ -91,38 +91,38 @@ $util.toJson($v2)", `; exports[`integrations separated by in 2`] = ` -Object { +{ "operation": "Invoke", - "payload": Object {}, + "payload": {}, "version": "2018-05-29", } `; exports[`machine describe exec return 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end #set($context.stash.exec = 'exec1') { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson($context.stash.exec) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson($context.stash.exec) } } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set( $context.stash.return__flag = true ) #set( $context.stash.return__val = $sfn__result ) @@ -134,13 +134,13 @@ Array [ `; exports[`machine describe exec return 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "executionArn": "exec1", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.DescribeExecution", }, @@ -151,30 +151,30 @@ Object { `; exports[`machine describe exec var 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end #set($context.stash.exec = 'exec1') { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson($context.stash.exec) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson($context.stash.exec) } } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.v = $sfn__result) {}", @@ -186,13 +186,13 @@ Array [ `; exports[`machine describe exec var 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "executionArn": "exec1", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.DescribeExecution", }, @@ -203,22 +203,22 @@ Object { `; exports[`multiple isolated integrations 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson('exec1') + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson('exec1') } } }", @@ -227,16 +227,16 @@ Array [ #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson('exec2') + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson('exec2') } } }", @@ -245,16 +245,16 @@ Array [ #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson('exec3') + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson('exec3') } } }", @@ -263,16 +263,16 @@ Array [ #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson('exec4') + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson('exec4') } } }", @@ -284,13 +284,13 @@ Array [ `; exports[`multiple isolated integrations 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "executionArn": "exec1", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.DescribeExecution", }, @@ -301,7 +301,7 @@ Object { `; exports[`multiple linked integrations 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -311,21 +311,21 @@ Array [ $util.qr($v1.put('input', $util.toJson($v2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.res1 = $sfn__result) {}", @@ -336,21 +336,21 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) $util.qr($v1.put('input', $util.toJson($context.stash.res1))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.res2 = $sfn__result) {}", @@ -361,15 +361,15 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) $util.qr($v1.put('input', $util.toJson($context.stash.res2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "{}", @@ -380,14 +380,14 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) `; exports[`multiple linked integrations 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "input": "{}", "stateMachineArn": "__REPLACED_TOKEN", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.StartExecution", }, @@ -398,7 +398,7 @@ Object { `; exports[`multiple linked integrations post-compute 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -408,21 +408,21 @@ Array [ $util.qr($v1.put('input', $util.toJson($v2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.res1 = $sfn__result) {}", @@ -433,21 +433,21 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) $util.qr($v1.put('input', $util.toJson($context.stash.res1))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.res2 = $sfn__result) {}", @@ -458,21 +458,21 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) $util.qr($v1.put('input', $util.toJson($context.stash.res2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.result = $sfn__result) {}", @@ -484,14 +484,14 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) `; exports[`multiple linked integrations post-compute 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "input": "{}", "stateMachineArn": "__REPLACED_TOKEN", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.StartExecution", }, @@ -502,7 +502,7 @@ Object { `; exports[`multiple linked integrations pre-compute 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -514,21 +514,21 @@ $util.qr($v2.put('x', $context.stash.x)) $util.qr($v1.put('input', $util.toJson($v2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.res1 = $sfn__result) {}", @@ -539,21 +539,21 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) $util.qr($v1.put('input', $util.toJson($context.stash.res1))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.res2 = $sfn__result) {}", @@ -564,15 +564,15 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) $util.qr($v1.put('input', $util.toJson($context.stash.res2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "{}", @@ -583,14 +583,14 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) `; exports[`multiple linked integrations pre-compute 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { - "input": "{\\"x\\":\\"y\\"}", + "params": { + "body": { + "input": "{"x":"y"}", "stateMachineArn": "__REPLACED_TOKEN", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.StartExecution", }, @@ -601,51 +601,51 @@ Object { `; exports[`multiple linked integrations with mutation 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson('exec1') + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson('exec1') } } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.res1 = $sfn__result) {}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end -#set($context.stash.formatted = \\"status: \${context.stash.res1.status}\\") +#set($context.stash.formatted = "status: \${context.stash.res1.status}") #set($v1 = {}) #set($v2 = {}) $util.qr($v2.put('x', $context.stash.formatted)) $util.qr($v1.put('input', $util.toJson($v2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "{}", @@ -656,13 +656,13 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) `; exports[`multiple linked integrations with mutation 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "executionArn": "exec1", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.DescribeExecution", }, @@ -673,29 +673,29 @@ Object { `; exports[`multiple linked integrations with props 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson('exec1') + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson('exec1') } } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.res1 = $sfn__result) {}", @@ -703,23 +703,23 @@ Array [ #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson($context.stash.res1.executionArn) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson($context.stash.res1.executionArn) } } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.res2 = $sfn__result) {}", @@ -727,16 +727,16 @@ Array [ #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson($context.stash.res2.executionArn) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson($context.stash.res2.executionArn) } } }", @@ -748,13 +748,13 @@ Array [ `; exports[`multiple linked integrations with props 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "executionArn": "exec1", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.DescribeExecution", }, @@ -765,7 +765,7 @@ Object { `; exports[`multiple nested integrations 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -775,21 +775,21 @@ Array [ $util.qr($v1.put('input', $util.toJson($v2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.fnl_tmp_0 = $sfn__result) {}", @@ -800,21 +800,21 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) $util.qr($v1.put('input', $util.toJson($context.stash.fnl_tmp_0))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.fnl_tmp_1 = $sfn__result) {}", @@ -825,15 +825,15 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) $util.qr($v1.put('input', $util.toJson($context.stash.fnl_tmp_1))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "{}", @@ -844,14 +844,14 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) `; exports[`multiple nested integrations 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "input": "{}", "stateMachineArn": "__REPLACED_TOKEN", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.StartExecution", }, @@ -862,29 +862,29 @@ Object { `; exports[`multiple nested integrations prop access 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson('exec1') + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson('exec1') } } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.fnl_tmp_0 = $sfn__result) {}", @@ -892,23 +892,23 @@ Array [ #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson($context.stash.fnl_tmp_0.executionArn) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson($context.stash.fnl_tmp_0.executionArn) } } }", "#if($context.result.statusCode == 200) #set($sfn__result = $util.parseJson($context.result.body)) #else - $util.error($context.result.body, \\"$context.result.statusCode\\") + $util.error($context.result.body, "$context.result.statusCode") #end #set($context.stash.fnl_tmp_1 = $sfn__result) {}", @@ -916,16 +916,16 @@ Array [ #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson($context.stash.fnl_tmp_1.executionArn) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson($context.stash.fnl_tmp_1.executionArn) } } }", @@ -937,13 +937,13 @@ Array [ `; exports[`multiple nested integrations prop access 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "executionArn": "exec1", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.DescribeExecution", }, @@ -954,22 +954,22 @@ Object { `; exports[`step function describe execution machine describe exec string 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson('exec1') + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson('exec1') } } }", @@ -981,13 +981,13 @@ Array [ `; exports[`step function describe execution machine describe exec string 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "executionArn": "exec1", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.DescribeExecution", }, @@ -998,23 +998,23 @@ Object { `; exports[`step function integration machine describe exec 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end #set($context.stash.exec = 'exec1') { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.DescribeExecution\\" - }, - \\"body\\": { - \\"executionArn\\": $util.toJson($context.stash.exec) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.DescribeExecution" + }, + "body": { + "executionArn": $util.toJson($context.stash.exec) } } }", @@ -1026,13 +1026,13 @@ Array [ `; exports[`step function integration machine describe exec 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "executionArn": "exec1", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.DescribeExecution", }, @@ -1043,7 +1043,7 @@ Object { `; exports[`step function integration machine with dynamic parameters 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -1054,15 +1054,15 @@ $util.qr($v2.put('id', $context.arguments.id)) $util.qr($v1.put('input', $util.toJson($v2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "{}", @@ -1073,14 +1073,14 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) `; exports[`step function integration machine with dynamic parameters 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { - "input": "{\\"id\\":\\"1\\"}", + "params": { + "body": { + "input": "{"id":"1"}", "stateMachineArn": "__REPLACED_TOKEN", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.StartExecution", }, @@ -1091,7 +1091,7 @@ Object { `; exports[`step function integration machine with name 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -1100,15 +1100,15 @@ Array [ $util.qr($v1.put('name', $context.arguments.id)) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "{}", @@ -1119,14 +1119,14 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) `; exports[`step function integration machine with name 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "name": "1", "stateMachineArn": "__REPLACED_TOKEN", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.StartExecution", }, @@ -1137,7 +1137,7 @@ Object { `; exports[`step function integration machine with no parameters 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -1145,15 +1145,15 @@ Array [ #set($v1 = {}) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "{}", @@ -1164,13 +1164,13 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) `; exports[`step function integration machine with no parameters 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { + "params": { + "body": { "stateMachineArn": "__REPLACED_TOKEN", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.StartExecution", }, @@ -1181,7 +1181,7 @@ Object { `; exports[`step function integration machine with static parameters 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -1192,15 +1192,15 @@ $util.qr($v2.put('id', '1')) $util.qr($v1.put('input', $util.toJson($v2))) $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) { - \\"version\\": \\"2018-05-29\\", - \\"method\\": \\"POST\\", - \\"resourcePath\\": \\"/\\", - \\"params\\": { - \\"headers\\": { - \\"content-type\\": \\"application/x-amz-json-1.0\\", - \\"x-amz-target\\": \\"AWSStepFunctions.StartExecution\\" - }, - \\"body\\": $util.toJson($v1) + "version": "2018-05-29", + "method": "POST", + "resourcePath": "/", + "params": { + "headers": { + "content-type": "application/x-amz-json-1.0", + "x-amz-target": "AWSStepFunctions.StartExecution" + }, + "body": $util.toJson($v1) } }", "{}", @@ -1211,14 +1211,14 @@ $util.qr($v1.put('stateMachineArn', '__REPLACED_TOKEN')) `; exports[`step function integration machine with static parameters 2`] = ` -Object { +{ "method": "POST", - "params": Object { - "body": Object { - "input": "{\\"id\\":\\"1\\"}", + "params": { + "body": { + "input": "{"id":"1"}", "stateMachineArn": "__REPLACED_TOKEN", }, - "headers": Object { + "headers": { "content-type": "application/x-amz-json-1.0", "x-amz-target": "AWSStepFunctions.StartExecution", }, diff --git a/test/__snapshots__/function.test.ts.snap b/test/__snapshots__/function.test.ts.snap index e92db830..7d0b5208 100644 --- a/test/__snapshots__/function.test.ts.snap +++ b/test/__snapshots__/function.test.ts.snap @@ -1,12 +1,12 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`call function 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end -#set($v1 = {\\"version\\": \\"2018-05-29\\", \\"operation\\": \\"Invoke\\", \\"payload\\": $context.arguments}) +#set($v1 = {"version": "2018-05-29", "operation": "Invoke", "payload": $context.arguments}) $util.toJson($v1)", "#set( $context.stash.return__flag = true ) #set( $context.stash.return__val = $context.result ) @@ -18,12 +18,12 @@ $util.toJson($v1)", `; exports[`call function and conditional return 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end -#set($v1 = {\\"version\\": \\"2018-05-29\\", \\"operation\\": \\"Invoke\\", \\"payload\\": $context.arguments}) +#set($v1 = {"version": "2018-05-29", "operation": "Invoke", "payload": $context.arguments}) $util.toJson($v1)", "#set($context.stash.result = $context.result) {}", @@ -44,7 +44,7 @@ $util.toJson($v1)", `; exports[`call function including optional arg 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -52,7 +52,7 @@ Array [ #set($v1 = {}) $util.qr($v1.put('arg', $context.arguments.arg)) $util.qr($v1.put('optional', 'hello')) -#set($v2 = {\\"version\\": \\"2018-05-29\\", \\"operation\\": \\"Invoke\\", \\"payload\\": $v1}) +#set($v2 = {"version": "2018-05-29", "operation": "Invoke", "payload": $v1}) $util.toJson($v2)", "#set( $context.stash.return__flag = true ) #set( $context.stash.return__val = $context.result ) @@ -64,12 +64,12 @@ $util.toJson($v2)", `; exports[`call function including with no parameters 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end -#set($v1 = {\\"version\\": \\"2018-05-29\\", \\"operation\\": \\"Invoke\\", \\"payload\\": $null}) +#set($v1 = {"version": "2018-05-29", "operation": "Invoke", "payload": $null}) $util.toJson($v1)", "#set( $context.stash.return__flag = true ) #set( $context.stash.return__val = $context.result ) @@ -81,12 +81,12 @@ $util.toJson($v1)", `; exports[`call function including with void result 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end -#set($v1 = {\\"version\\": \\"2018-05-29\\", \\"operation\\": \\"Invoke\\", \\"payload\\": $context.arguments}) +#set($v1 = {"version": "2018-05-29", "operation": "Invoke", "payload": $context.arguments}) $util.toJson($v1)", "#set( $context.stash.return__flag = true ) #set( $context.stash.return__val = $context.result ) @@ -98,12 +98,12 @@ $util.toJson($v1)", `; exports[`call function omitting optional arg 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) #end -#set($v1 = {\\"version\\": \\"2018-05-29\\", \\"operation\\": \\"Invoke\\", \\"payload\\": $context.arguments}) +#set($v1 = {"version": "2018-05-29", "operation": "Invoke", "payload": $context.arguments}) $util.toJson($v1)", "#set( $context.stash.return__flag = true ) #set( $context.stash.return__val = $context.result ) diff --git a/test/__snapshots__/serialize-closure.test.ts.snap b/test/__snapshots__/serialize-closure.test.ts.snap new file mode 100644 index 00000000..814c0aba --- /dev/null +++ b/test/__snapshots__/serialize-closure.test.ts.snap @@ -0,0 +1,1253 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`all observers of a free variable share the same reference 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = function up(){ +v3 += 2; +} +; +v2.prototype = v2.prototype; +var v1 = v2; +var v5; +v5 = function down(){ +v3 -= 1; +} +; +v5.prototype = v5.prototype; +var v4 = v5; +v0 = () => { +v1(); +v4(); +return v3; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ21FRSxhQUFjO0FBQ1osTUFBSyxDQUFMLENBRFk7QUFBQTtDRG5FaEI7QUFBQTtBQUFBO0FBQUE7S0N1RUUsZUFBZ0I7QUFDZCxNQUFLLENBQUwsQ0FEYztBQUFBO0NEdkVsQjtBQUFBO0FBQUE7S0MyRXNDLE1BQU07QUFDeEMsS0FEd0M7QUFFeEMsS0FGd0M7QUFHeEMsT0FBTyxFQUFQLENBSHdDO0FBQUE7Q0QzRTVDO0FDMkVzQyxvQkQzRXRDIn0=" +`; + +exports[`all observers of a free variable share the same reference even when two instances 1`] = ` +"var v0; +const v2 = []; +var v3; +var v5; +var v6 = 0; +v5 = function up(){ +v6 += 2; +} +; +v5.prototype = v5.prototype; +var v4 = v5; +var v8; +v8 = function down(){ +v6 -= 1; +} +; +v8.prototype = v8.prototype; +var v7 = v8; +v3 = () => { +v4(); +v7(); +return v6; +} +; +var v9; +var v11; +var v12 = 0; +v11 = function up(){ +v12 += 2; +} +; +v11.prototype = v11.prototype; +var v10 = v11; +var v14; +v14 = function down(){ +v12 -= 1; +} +; +v14.prototype = v14.prototype; +var v13 = v14; +v9 = () => { +v10(); +v13(); +return v12; +} +; +v2.push(v3,v9); +var v1 = v2; +v0 = () => { +return v1.map((closure) => { +return closure(); +} +); +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7S0N3RkksYUFBYztBQUNaLE1BQUssQ0FBTCxDQURZO0FBQUE7Q0R4RmxCO0FBQUE7QUFBQTtBQUFBO0tDNEZJLGVBQWdCO0FBQ2QsTUFBSyxDQUFMLENBRGM7QUFBQTtDRDVGcEI7QUFBQTtBQUFBO0tDZ0dXLE1BQU07QUFDWCxLQURXO0FBRVgsS0FGVztBQUdYLE9BQU8sRUFBUCxDQUhXO0FBQUE7Q0RoR2pCO0FBQUE7QUFBQTtBQUFBO01Dd0ZJLGFBQWM7QUFDWixPQUFLLENBQUwsQ0FEWTtBQUFBO0NEeEZsQjtBQUFBO0FBQUE7QUFBQTtNQzRGSSxlQUFnQjtBQUNkLE9BQUssQ0FBTCxDQURjO0FBQUE7Q0Q1RnBCO0FBQUE7QUFBQTtLQ2dHVyxNQUFNO0FBQ1gsTUFEVztBQUVYLE1BRlc7QUFHWCxPQUFPLEdBQVAsQ0FIVztBQUFBO0NEaEdqQjtBQUFBO0FBQUE7S0N1R3NDLE1BQU07QUFDeEMsT0FBTyxHQUFTLEdBQVQsQ0FBYSxDQUFDLE9BQUQsS0FBYTtBQUFBO0FBQUE7QUFBMUIsQ0FBUCxDQUR3QztBQUFBO0NEdkc1QztBQ3VHc0Msb0JEdkd0QyJ9" +`; + +exports[`avoid collision with a catch variable 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let _v=0 +try { +throw 2; +} +catch(v1){ +_v = v1; +} + +let free=v2 +return _v + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0NncEJzQyxNQUFNO0FBQ3hDLElBQUksR0FBYSxDQUR1QjtBQUV4QyxJQUFJO0FBQ0YsTUFBTSxDQUFOLENBREU7QUFBQTtBQUVGLE1BQU8sRUFBUCxDQUFXO0FBQ1gsS0FBSyxFQUFMLENBRFc7QUFBQTtBQUoyQjtBQVF4QyxJQUFJLEtBQU8sRUFSNkI7QUFTeEMsT0FBTyxLQUFLLElBQVosQ0FUd0M7QUFBQTtDRGhwQjVDO0FDZ3BCc0Msb0JEaHBCdEMifQ==" +`; + +exports[`avoid collision with a locally scoped array binding 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let free=v2 +const [v1]=[2,] +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0NxZXNDLE1BQU07QUFFeEMsSUFBSSxLQUFPLEVBRjZCO0FBSXhDLE1BQU0sQ0FBQyxFQUFELEVBQU8sQ0FBQyxDQUFELEVBSjJCO0FBS3hDLE9BQU8sS0FBSyxJQUFaLENBTHdDO0FBQUE7Q0RyZTVDO0FDcWVzQyxvQkRyZXRDIn0=" +`; + +exports[`avoid collision with a locally scoped array binding with nested object binding 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let free=v2 +const [{v1}]=[{v1:2},] +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0NrZnNDLE1BQU07QUFFeEMsSUFBSSxLQUFPLEVBRjZCO0FBSXhDLE1BQU0sQ0FBQyxDQUFFLEVBQUYsQ0FBRCxFQUFXLENBQUMsQ0FBRSxHQUFJLENBQU4sQ0FBRCxFQUp1QjtBQUt4QyxPQUFPLEtBQUssSUFBWixDQUx3QztBQUFBO0NEbGY1QztBQ2tmc0Msb0JEbGZ0QyJ9" +`; + +exports[`avoid collision with a locally scoped class 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let free=v2 +class v1{ +foo = 2 +} +return new v1().foo + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0M4Z0JzQyxNQUFNO0FBRXhDLElBQUksS0FBTyxFQUY2QjtBQUl4QyxNQUFNLEVBQU47QUFDRSxNQUFNLENBRFI7QUFBQSxDQUp3QztBQU94QyxPQUFPLElBQUksRUFBSixHQUFTLEdBQVQsR0FBZSxJQUF0QixDQVB3QztBQUFBO0NEOWdCNUM7QUM4Z0JzQyxvQkQ5Z0J0QyJ9" +`; + +exports[`avoid collision with a locally scoped function 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let free=v2 +function v1(){ +return 2; +} + +return v1() + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0MrZnNDLE1BQU07QUFFeEMsSUFBSSxLQUFPLEVBRjZCO0FBSXhDLGFBQWM7QUFDWixPQUFPLENBQVAsQ0FEWTtBQUFBO0FBSjBCO0FBT3hDLE9BQU8sT0FBTyxJQUFkLENBUHdDO0FBQUE7Q0QvZjVDO0FDK2ZzQyxvQkQvZnRDIn0=" +`; + +exports[`avoid collision with a locally scoped object binding variable 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let free=v2 +const {v1}={v1:2} +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0MyY3NDLE1BQU07QUFFeEMsSUFBSSxLQUFPLEVBRjZCO0FBSXhDLE1BQU0sQ0FBRSxFQUFGLEVBQVMsQ0FBRSxHQUFJLENBQU4sQ0FKeUI7QUFLeEMsT0FBTyxLQUFLLElBQVosQ0FMd0M7QUFBQTtDRDNjNUM7QUMyY3NDLG9CRDNjdEMifQ==" +`; + +exports[`avoid collision with a locally scoped object binding variable with renamed property 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let free=v2 +const {v2:v1}={v2:2} +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0N3ZHNDLE1BQU07QUFFeEMsSUFBSSxLQUFPLEVBRjZCO0FBSXhDLE1BQU0sQ0FBRSxHQUFJLEVBQU4sRUFBYSxDQUFFLEdBQUksQ0FBTixDQUpxQjtBQUt4QyxPQUFPLEtBQUssSUFBWixDQUx3QztBQUFBO0NEeGQ1QztBQ3dkc0Msb0JEeGR0QyJ9" +`; + +exports[`avoid collision with a locally scoped variable 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let free=v2 +const v1=2 +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0M4YnNDLE1BQU07QUFFeEMsSUFBSSxLQUFPLEVBRjZCO0FBSXhDLE1BQU0sR0FBSyxDQUo2QjtBQUt4QyxPQUFPLEtBQUssSUFBWixDQUx3QztBQUFBO0NEOWI1QztBQzhic0Msb0JEOWJ0QyJ9" +`; + +exports[`avoid collision with a parameter array binding 1`] = ` +"var v0; +var v2 = 1; +v0 = ([v1]) => { +let free=v2 +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0M4akJzQyxDQUFDLENBQUMsRUFBRCxDQUFELEtBQW9CO0FBRXRELElBQUksS0FBTyxFQUYyQztBQUd0RCxPQUFPLEtBQUssSUFBWixDQUhzRDtBQUFBO0NEOWpCMUQ7QUM4akJzQyxvQkQ5akJ0QyJ9" +`; + +exports[`avoid collision with a parameter declaration 1`] = ` +"var v0; +var v2 = 1; +v0 = (v1) => { +let free=v2 +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0M2aEJzQyxDQUFDLEVBQUQsS0FBZ0I7QUFFbEQsSUFBSSxLQUFPLEVBRnVDO0FBR2xELE9BQU8sS0FBSyxJQUFaLENBSGtEO0FBQUE7Q0Q3aEJ0RDtBQzZoQnNDLG9CRDdoQnRDIn0=" +`; + +exports[`avoid collision with a parameter object binding 1`] = ` +"var v0; +var v2 = 1; +v0 = ({v1}) => { +let free=v2 +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0N3aUJzQyxDQUFDLENBQUUsRUFBRixDQUFELEtBQTRCO0FBRTlELElBQUksS0FBTyxFQUZtRDtBQUc5RCxPQUFPLEtBQUssSUFBWixDQUg4RDtBQUFBO0NEeGlCbEU7QUN3aUJzQyxvQkR4aUJ0QyJ9" +`; + +exports[`avoid collision with a parameter object binding renamed 1`] = ` +"var v0; +var v2 = 1; +v0 = ({v2:v1}) => { +let free=v2 +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0NtakJzQyxDQUFDLENBQUUsR0FBSSxFQUFOLENBQUQsS0FBZ0M7QUFFbEUsSUFBSSxLQUFPLEVBRnVEO0FBR2xFLE9BQU8sS0FBSyxJQUFaLENBSGtFO0FBQUE7Q0RuakJ0RTtBQ21qQnNDLG9CRG5qQnRDIn0=" +`; + +exports[`avoid collision with a parameter with object binding nested in array binding 1`] = ` +"var v0; +var v2 = 1; +v0 = ([{v1}]) => { +let free=v2 +return v1 + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0N5a0JzQyxDQUFDLENBQUMsQ0FBRSxFQUFGLENBQUQsQ0FBRCxLQUFnQztBQUVsRSxJQUFJLEtBQU8sRUFGdUQ7QUFHbEUsT0FBTyxLQUFLLElBQVosQ0FIa0U7QUFBQTtDRHprQnRFO0FDeWtCc0Msb0JEemtCdEMifQ==" +`; + +exports[`avoid collision with a variable declaration array binding in for-of 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let _v=0 +for(const [v1] of [[2,],]){ +_v = v1; +} + +let free=v2 +return _v + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0Npb0JzQyxNQUFNO0FBQ3hDLElBQUksR0FBYSxDQUR1QjtBQUV4QyxJQUFLLE1BQU0sQ0FBQyxFQUFELENBQVgsSUFBbUIsQ0FBQyxDQUFDLENBQUQsRUFBRCxFQUFuQixDQUEwQjtBQUN4QixLQUFLLEVBQUwsQ0FEd0I7QUFBQTtBQUZjO0FBTXhDLElBQUksS0FBTyxFQU42QjtBQU94QyxPQUFPLEtBQUssSUFBWixDQVB3QztBQUFBO0NEam9CNUM7QUNpb0JzQyxvQkRqb0J0QyJ9" +`; + +exports[`avoid collision with a variable declaration in for-of 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let _v=0 +for(const v1 of [2,]){ +_v = v1; +} + +let free=v2 +return _v + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0NvbEJzQyxNQUFNO0FBQ3hDLElBQUksR0FBYSxDQUR1QjtBQUV4QyxJQUFLLE1BQU0sRUFBWCxJQUFpQixDQUFDLENBQUQsRUFBakIsQ0FBc0I7QUFDcEIsS0FBSyxFQUFMLENBRG9CO0FBQUE7QUFGa0I7QUFNeEMsSUFBSSxLQUFPLEVBTjZCO0FBT3hDLE9BQU8sS0FBSyxJQUFaLENBUHdDO0FBQUE7Q0RwbEI1QztBQ29sQnNDLG9CRHBsQnRDIn0=" +`; + +exports[`avoid collision with a variable declaration object binding in for-of 1`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let _v=0 +for(const {v1} of [{v1:2},]){ +_v = v1; +} + +let free=v2 +return _v + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0NtbUJzQyxNQUFNO0FBQ3hDLElBQUksR0FBYSxDQUR1QjtBQUV4QyxJQUFLLE1BQU0sQ0FBRSxFQUFGLENBQVgsSUFBcUIsQ0FBQyxDQUFFLEdBQUksQ0FBTixDQUFELEVBQXJCLENBQWtDO0FBQ2hDLEtBQUssRUFBTCxDQURnQztBQUFBO0FBRk07QUFNeEMsSUFBSSxLQUFPLEVBTjZCO0FBT3hDLE9BQU8sS0FBSyxJQUFaLENBUHdDO0FBQUE7Q0RubUI1QztBQ21tQnNDLG9CRG5tQnRDIn0=" +`; + +exports[`avoid collision with a variable declaration object binding in for-of 2`] = ` +"var v0; +var v2 = 1; +v0 = () => { +let _v=0 +for(const {v1} of [{v1:2},]){ +_v = v1; +} + +let free=v2 +return _v + free; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0NrbkJzQyxNQUFNO0FBQ3hDLElBQUksR0FBYSxDQUR1QjtBQUV4QyxJQUFLLE1BQU0sQ0FBRSxFQUFGLENBQVgsSUFBcUIsQ0FBQyxDQUFFLEdBQUksQ0FBTixDQUFELEVBQXJCLENBQWtDO0FBQ2hDLEtBQUssRUFBTCxDQURnQztBQUFBO0FBRk07QUFNeEMsSUFBSSxLQUFPLEVBTjZCO0FBT3hDLE9BQU8sS0FBSyxJQUFaLENBUHdDO0FBQUE7Q0RsbkI1QztBQ2tuQnNDLG9CRGxuQnRDIn0=" +`; + +exports[`avoid name collision with a closure's lexical scope 1`] = ` +"var v0; +var v2; +var v4; +var v5 = 0; +v4 = class v1{ +foo(){ +return (v5 += 1); +} + +}; +var v3 = v4; +v2 = class v2 extends v3{ +}; +var v1 = v2; +v0 = () => { +const v3=new v1() +return v3.foo(); +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0tDNmFFLE1BQU0sRUFBTjtBQUNTLEdBQVAsRUFBYTtBQUNYLE9BQU8sQ0FBQyxNQUFNLENBQVAsQ0FBUCxDQURXO0FBQUE7QUFEZjtBQUFBLEMsQ0Q3YUY7QUFBQTtLQ2tiRSxNQUFNLEVBQU4sU0FBaUIsRUFBakI7QUFBQSxDLENEbGJGO0FBQUE7S0NvYnNDLE1BQU07QUFDeEMsTUFBTSxHQUFLLElBQUksRUFBSixFQUQ2QjtBQUV4QyxPQUFPLEdBQUcsR0FBSCxFQUFQLENBRndDO0FBQUE7Q0RwYjVDO0FDb2JzQyxvQkRwYnRDIn0=" +`; + +exports[`broad spectrum syntax test 1`] = ` +"var v0; +const v2 = Promise; +var v1 = v2; +const v4 = Error; +var v3 = v4; +const v6 = Symbol; +var v5 = v6; +const v8 = Math; +var v7 = v8; +var v9 = NaN; +v0 = async () => { +const arrowExpr=(a,...b) => { +return [a,...b,]; +} + +const arrowBlockExpr=(a,...b) => { +return [a,...b,]; +} + +const asyncArrowExpr=async () => { +return "asyncArrowExpr"; +} + +async function asyncFuncDecl(){ +return "asyncFuncDecl"; +} + +function funcDecl(a,...b){ +return [a,...b,]; +} + +const funcExpr=function funcExpr(a,...b){ +return [a,...b,]; +} + +const anonFuncExpr=function (a,...b){ +return [a,...b,]; +} + +const asyncFuncExpr=async function asyncFuncExpr(){ +return "asyncFuncExpr"; +} + +const anonAsyncFuncExpr=async function (){ +return "anonAsyncFuncExpr"; +} + +let getterSetterVal +const obj={prop:"prop",getProp(){ +return this.prop + " 1"; +} +,get getterSetter(){ +return getterSetterVal; +} +,set getterSetter(val){ +getterSetterVal = val; +} +} +const {a,b:c,d:[e],f="f"}={a:"a",b:"b",d:["e",]} +obj.getterSetter = "getterSetter"; +class Foo{ +static VAL = "VAL" +static { +Foo.VAL = "VAL 1"; +this.VAL = \`\${this.VAL} 2\`; +} + +constructor(prop,val,){ +this.prop = prop; +this.val = val; +} + +method(){ +return \`\${this.prop} \${this.val} \${Foo.VAL}\`; +} + + async asyncMethod(){ +const result=await new v1((resolve) => { +return resolve("asyncResult"); +} +,) +return result; +} + +*generatorMethod(){ +yield "yielded item"; +yield* generatorFuncDecl(); +yield* generatorFuncExpr(); +yield* anonGeneratorFuncExpr(); +} + +} +function *generatorFuncDecl(){ +yield "yielded in function decl"; +} + +const generatorFuncExpr=function *generatorFuncExpr(){ +yield "yielded in function expr"; +} + +const anonGeneratorFuncExpr=function *(){ +yield "yielded in anonymous function expr"; +} + +class Bar extends Foo{ +constructor(){ +super("bar prop","bar val"); +} + +method(){ +return \`bar \${super.method()}\`; +} + +} +const foo=new Foo("foo prop","foo val",) +const bar=new Bar() +const generator=foo.generatorMethod() +function ifTest(condition){ +if (condition === 0){ +return "if"; +} +else if (condition === 1){ +return "else if"; +} +else { +return "else"; +} + +} + +const whileStmts=[] +while (whileStmts.length === 0){ +whileStmts.push("while block"); +} + +while (whileStmts.length === 1){ +whileStmts.push("while stmt"); +} + +const doWhileStmts=[] +do{ +doWhileStmts.push("do while block"); +} +while (doWhileStmts.length === 0); +do{ +doWhileStmts.push("do while stmt"); +} +while (doWhileStmts.length === 1); +const whileTrue=[] +while (true){ +whileTrue.push(\`while true \${whileTrue.length}\`); +if (whileTrue.length === 1){ +continue; +} + +break; +} + +const tryCatchErr=[] +try { +tryCatchErr.push("try"); +throw new v3("catch",); +} +catch(err){ +tryCatchErr.push(err.message); +} +finally { +tryCatchErr.push("finally"); +} + +const tryCatch=[] +try { +tryCatch.push("try 2"); +throw new v3("",); +} +catch{ +tryCatch.push("catch 2"); +} +finally { +tryCatch.push("finally 2"); +} + +const tryNoFinally=[] +try { +tryNoFinally.push("try 3"); +throw new v3("",); +} +catch{ +tryNoFinally.push("catch 3"); +} + +const tryNoCatch=[] +try { +(() => { +try { +tryNoCatch.push("try 4"); +throw new v3("",); +} +finally { +tryNoCatch.push("finally 4"); +} + +} +)(); +} +catch{ +} + +const deleteObj={notDeleted:"value",prop:"prop","spaces prop":"spaces prop",[v5.for("prop")]:"symbol prop"} +delete deleteObj.prop;; +delete deleteObj["spaces prop"];; +delete deleteObj[v5.for("prop")];; +const regex=/a.*/g +let unicode +{ +var HECOMḚṮH=42 +const _="___" +const $="$$" +const ƒ={π:v7.PI,ø:[],Ø:v9,e:2.718281828459045,root2:2.718281828459045,α:2.5029,δ:4.6692,ζ:1.2020569,φ:1.61803398874,γ:1.30357,K:2.685452001,oo:Infinity * Infinity,A:1.2824271291,C10:0.12345678910111213,c:299792458} +unicode = {ƒ:ƒ,out:\`\${HECOMḚṮH}\${_}\${$}\`}; +} + +var homecometh={H̹̙̦̮͉̩̗̗ͧ̇̏̊̾Eͨ͆͒̆ͮ̃͏̷̮̣̫̤̣Cͯ̂͐͏̨̛͔̦̟͈̻O̜͎͍͙͚̬̝̣̽ͮ͐͗̀ͤ̍̀͢M̴̡̲̭͍͇̼̟̯̦̉̒͠Ḛ̛̙̞̪̗ͥͤͩ̾͑̔͐ͅṮ̴̷̷̗̼͍̿̿̓̽͐H̙̙̔̄͜:42} +const parens=(2 + 3) * 2 +function tag(strings,...args){ +return \`tag \${strings.map((str,i) => { +return \`\${str} \${args[i]}\`; +} +).join("|")}\`; +} + +const noSubstitutionTemplateLiteral=\`hello world\` +const {head,...rest}={head:"head",rest1:"rest1",rest2:"rest2"} +const [head2,...rest2]=["head array","rest array1","rest array2",] +const binary=true && false +const fooInstanceOf=foo instanceof Foo +const condition=binary ? "condition true" : "condition false" +let switchDefault +switch (0) { +case 1:switchDefault = "switchCase"; +break; + +default: +switchDefault = "switchDefault"; + +} +let switchCase +switch (0) { +case 0:switchCase = "switchCase"; +break; + +default: +switchDefault = "switchDefault"; + +} +let num=0 +const str="hello" +const typeOf=typeof str +const array=[1,2,] +const object={key:"value"} +const key="key" +const element=object[key] +const unary=!str +const postfix=num++ +const prefix=++num +const binaryOp=(num += 1) +debugger; +return [...arrowExpr("a","b","c"),...arrowBlockExpr("A","B","C"),...funcDecl("d","e","f"),...funcExpr("g","h","i"),...anonFuncExpr("j","k","l"),await asyncArrowExpr(),await asyncFuncDecl(),await asyncFuncExpr(),await anonAsyncFuncExpr(),obj.prop,obj.getProp(),obj.getterSetter,a,c,e,f,(() => { +return "foo"; +} +)(),(function (){ +return "bar"; +} +)(),(function baz(){ +return "baz"; +} +)(),foo.method(),bar.method(),await foo.asyncMethod(),generator.next().value,generator.next().value,generator.next().value,generator.next().value,ifTest(0),ifTest(1),ifTest(2),...whileStmts,...doWhileStmts,...whileTrue,...tryCatchErr,...tryCatch,...tryNoFinally,...tryNoCatch,deleteObj,regex.test("abc"),unicode,homecometh,parens,tag\`\${1} + \${2} + \${3}\`,noSubstitutionTemplateLiteral,typeof "hello world",void 0,rest,head2,rest2,binary,fooInstanceOf,condition,switchDefault,switchCase,typeOf,array,element,unary,postfix,prefix,binaryOp,]; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0tDb3pCc0MsWUFBWTtBQUM5QyxNQUFNLFVBQVksQ0FBQyxDQUFELENBQVksR0FBRyxDQUFmLEtBQStCO0FBQUEsUUFBQyxDQUFELENBQUksR0FBRyxDQUFQO0FBQUE7QUFESDtBQUU5QyxNQUFNLGVBQWlCLENBQUMsQ0FBRCxDQUFZLEdBQUcsQ0FBZixLQUErQjtBQUNwRCxPQUFPLENBQUMsQ0FBRCxDQUFJLEdBQUcsQ0FBUCxFQUFQLENBRG9EO0FBQUE7QUFGUjtBQUs5QyxNQUFNLGVBQWlCLFlBQVk7QUFDakMsT0FBTyxnQkFBUCxDQURpQztBQUFBO0FBTFc7QUFROUMsOEJBQStCO0FBQzdCLE9BQU8sZUFBUCxDQUQ2QjtBQUFBO0FBUmU7QUFXOUMsa0JBQWtCLENBQWxCLENBQTZCLEdBQUcsQ0FBaEMsQ0FBNkM7QUFDM0MsT0FBTyxDQUFDLENBQUQsQ0FBSSxHQUFHLENBQVAsRUFBUCxDQUQyQztBQUFBO0FBWEM7QUFjOUMsTUFBTSxTQUFXLGtCQUFrQixDQUFsQixDQUE2QixHQUFHLENBQWhDLENBQTZDO0FBQzVELE9BQU8sQ0FBQyxDQUFELENBQUksR0FBRyxDQUFQLEVBQVAsQ0FENEQ7QUFBQTtBQWRoQjtBQWlCOUMsTUFBTSxhQUFlLFVBQVUsQ0FBVixDQUFxQixHQUFHLENBQXhCLENBQXFDO0FBQ3hELE9BQU8sQ0FBQyxDQUFELENBQUksR0FBRyxDQUFQLEVBQVAsQ0FEd0Q7QUFBQTtBQWpCWjtBQW9COUMsTUFBTSxjQUFnQiw4QkFBK0I7QUFDbkQsT0FBTyxlQUFQLENBRG1EO0FBQUE7QUFwQlA7QUF1QjlDLE1BQU0sa0JBQW9CLGlCQUFrQjtBQUMxQyxPQUFPLG1CQUFQLENBRDBDO0FBQUE7QUF2QkU7QUEyQjlDLElBQUksZUEzQjBDO0FBNEI5QyxNQUFNLElBQU0sQ0FDVixLQUFNLE1BREksQ0FFVixTQUFVO0FBQ1IsT0FBTyxLQUFLLElBQUwsR0FBWSxJQUFuQixDQURRO0FBQUE7QUFGQSxDQUtWLElBQUksWUFBSixFQUEyQjtBQUN6QixPQUFPLGVBQVAsQ0FEeUI7QUFBQTtBQUxqQixDQVFWLElBQUksWUFBSixDQUFpQixHQUFqQixDQUE4QjtBQUM1QixrQkFBa0IsR0FBbEIsQ0FENEI7QUFBQTtBQVJwQixDQTVCa0M7QUEwQzlDLE1BQU0sQ0FDSixDQURJLENBRUosRUFBRyxDQUZDLENBR0osRUFBRyxDQUFDLENBQUQsQ0FIQyxDQUlKLEVBQUksR0FKQSxFQUtGLENBQ0YsRUFBRyxHQURELENBRUYsRUFBRyxHQUZELENBR0YsRUFBRyxDQUFDLEdBQUQsRUFIRCxDQS9DMEM7QUFxRDlDLElBQUksWUFBSixHQUFtQixjQUFuQixDQXJEOEM7QUF1RDlDLE1BQU0sR0FBTjtBQUNFLE9BQU8sR0FBUCxHQUFhLEtBRGY7QUFFRSxPQUFPO0FBQ0wsSUFBSSxHQUFKLEdBQVUsT0FBVixDQURLO0FBRUwsS0FBSyxHQUFMLEdBQVcsQ0FBRyxPQUFLLEdBQUwsQ0FBUyxFQUFaLENBQVgsQ0FGSztBQUFBO0FBRlQ7QUFPRSxZQUFxQixJQUFyQixDQUFtQyxHQUFuQyxFQUFnRDtBQWwzQnRELFNBazNCMkIsT0FsM0IzQixDQWszQnNEO0FBQzlDLEtBQUssR0FBTCxHQUFXLEdBQVgsQ0FEOEM7QUFBQTtBQVBsRDtBQVVTLE1BQVAsRUFBZ0I7QUFDZCxPQUFPLENBQUcsT0FBSyxJQUFMLENBQVUsQ0FBRyxPQUFLLEdBQUwsQ0FBUyxDQUFHLE1BQUksR0FBSixDQUE1QixDQUFQLENBRGM7QUFBQTtBQVZsQjtBQWNFLE9BQWEsV0FBYixFQUEyQjtBQUN6QixNQUFNLE9BQVMsTUFBTSxJQUFJLEVBQUosQ0FBb0IsQ0FBQyxPQUFELEtBQ3ZDO0FBQUEsZUFBUSxhQUFSO0FBQUE7QUFEbUIsRUFESTtBQUl6QixPQUFPLE1BQVAsQ0FKeUI7QUFBQTtBQWQ3QjtBQXFCRSxDQUFRLGVBQVIsRUFBK0I7QUFDN0IsTUFBTSxjQUFOLENBRDZCO0FBRTdCLE9BQU8sbUJBQVAsQ0FGNkI7QUFHN0IsT0FBTyxtQkFBUCxDQUg2QjtBQUk3QixPQUFPLHVCQUFQLENBSjZCO0FBQUE7QUFyQmpDO0FBQUEsQ0F2RDhDO0FBb0Y5Qyw2QkFBOEI7QUFDNUIsTUFBTSwwQkFBTixDQUQ0QjtBQUFBO0FBcEZnQjtBQXdGOUMsTUFBTSxrQkFBb0IsNkJBQThCO0FBQ3RELE1BQU0sMEJBQU4sQ0FEc0Q7QUFBQTtBQXhGVjtBQTRGOUMsTUFBTSxzQkFBd0IsWUFBYTtBQUN6QyxNQUFNLG9DQUFOLENBRHlDO0FBQUE7QUE1Rkc7QUFnRzlDLE1BQU0sR0FBTixTQUFrQixHQUFsQjtBQUNFLGFBQWM7QUFDWixNQUFNLFVBQU4sQ0FBa0IsU0FBbEIsRUFEWTtBQUFBO0FBRGhCO0FBS1MsTUFBUCxFQUFnQjtBQUNkLE9BQU8sS0FBTyxRQUFNLE1BQU4sR0FBUCxDQUFQLENBRGM7QUFBQTtBQUxsQjtBQUFBLENBaEc4QztBQTBHOUMsTUFBTSxJQUFNLElBQUksR0FBSixDQUFRLFVBQVIsQ0FBb0IsU0FBcEIsRUExR2tDO0FBMkc5QyxNQUFNLElBQU0sSUFBSSxHQUFKLEVBM0drQztBQTRHOUMsTUFBTSxVQUFZLElBQUksZUFBSixFQTVHNEI7QUE4RzlDLGdCQUFnQixTQUFoQixDQUFzQztBQUNwQyxJQUFJLGNBQWMsQ0FBbEIsQ0FBcUI7QUFDbkIsT0FBTyxJQUFQLENBRG1CO0FBQUE7QUFBckIsS0FFTyxJQUFJLGNBQWMsQ0FBbEIsQ0FBcUI7QUFDMUIsT0FBTyxTQUFQLENBRDBCO0FBQUE7QUFBckIsS0FFQTtBQUNMLE9BQU8sTUFBUCxDQURLO0FBQUE7QUFMNkI7QUFBQTtBQTlHUTtBQXdIOUMsTUFBTSxXQUFhLEVBeEgyQjtBQXlIOUMsT0FBTyxXQUFXLE1BQVgsS0FBc0IsQ0FBN0IsQ0FBZ0M7QUFDOUIsV0FBVyxJQUFYLENBQWdCLGFBQWhCLEVBRDhCO0FBQUE7QUF6SGM7QUE2SDlDLE9BQU8sV0FBVyxNQUFYLEtBQXNCLENBQTdCLENBQWdDO0FBQUEsV0FBVyxJQUFYLENBQWdCLFlBQWhCO0FBQUE7QUE3SGM7QUErSDlDLE1BQU0sYUFBZSxFQS9IeUI7QUFnSTlDLEVBQUc7QUFDRCxhQUFhLElBQWIsQ0FBa0IsZ0JBQWxCLEVBREM7QUFBQTtBQUFILE9BRVMsYUFBYSxNQUFiLEtBQXdCLENBRmpDLEVBaEk4QztBQW9JOUMsRUFBRztBQUFBLGFBQWEsSUFBYixDQUFrQixlQUFsQjtBQUFBO0FBQUgsT0FDTyxhQUFhLE1BQWIsS0FBd0IsQ0FEL0IsRUFwSThDO0FBdUk5QyxNQUFNLFVBQVksRUF2STRCO0FBd0k5QyxPQUFPLElBQVAsQ0FBYTtBQUNYLFVBQVUsSUFBVixDQUFlLFlBQWMsWUFBVSxNQUFWLENBQWQsQ0FBZixFQURXO0FBRVgsSUFBSSxVQUFVLE1BQVYsS0FBcUIsQ0FBekIsQ0FBNEI7QUFDMUIsU0FEMEI7QUFBQTtBQUZqQjtBQUtYLE1BTFc7QUFBQTtBQXhJaUM7QUFnSjlDLE1BQU0sWUFBYyxFQWhKMEI7QUFpSjlDLElBQUk7QUFDRixZQUFZLElBQVosQ0FBaUIsS0FBakIsRUFERTtBQUVGLE1BQU0sSUFBSSxFQUFKLENBQVUsT0FBVixFQUFOLENBRkU7QUFBQTtBQUdGLE1BQU8sR0FBUCxDQUFpQjtBQUNqQixZQUFZLElBQVosQ0FBaUIsSUFBSSxPQUFyQixFQURpQjtBQUFBO0FBSG5CLFFBS1U7QUFDUixZQUFZLElBQVosQ0FBaUIsU0FBakIsRUFEUTtBQUFBO0FBdEpvQztBQTBKOUMsTUFBTSxTQUFXLEVBMUo2QjtBQTJKOUMsSUFBSTtBQUNGLFNBQVMsSUFBVCxDQUFjLE9BQWQsRUFERTtBQUVGLE1BQU0sSUFBSSxFQUFKLENBQVUsRUFBVixFQUFOLENBRkU7QUFBQTtBQUdGLEtBQU07QUFDTixTQUFTLElBQVQsQ0FBYyxTQUFkLEVBRE07QUFBQTtBQUhSLFFBS1U7QUFDUixTQUFTLElBQVQsQ0FBYyxXQUFkLEVBRFE7QUFBQTtBQWhLb0M7QUFvSzlDLE1BQU0sYUFBZSxFQXBLeUI7QUFxSzlDLElBQUk7QUFDRixhQUFhLElBQWIsQ0FBa0IsT0FBbEIsRUFERTtBQUVGLE1BQU0sSUFBSSxFQUFKLENBQVUsRUFBVixFQUFOLENBRkU7QUFBQTtBQUdGLEtBQU07QUFDTixhQUFhLElBQWIsQ0FBa0IsU0FBbEIsRUFETTtBQUFBO0FBeEtzQztBQTRLOUMsTUFBTSxXQUF1QixFQTVLaUI7QUE2SzlDLElBQUk7QUFDRixDQUFDLE1BQU07QUFDTCxJQUFJO0FBQ0YsV0FBVyxJQUFYLENBQWdCLE9BQWhCLEVBREU7QUFFRixNQUFNLElBQUksRUFBSixDQUFVLEVBQVYsRUFBTixDQUZFO0FBQUE7QUFBSixRQUdVO0FBQ1IsV0FBVyxJQUFYLENBQWdCLFdBQWhCLEVBRFE7QUFBQTtBQUpMO0FBQUE7QUFBUCxJQURFO0FBQUE7QUFTRixLQUFNO0FBQUE7QUF0THNDO0FBd0w5QyxNQUFNLFVBQWlCLENBQ3JCLFdBQVksT0FEUyxDQUVyQixLQUFNLE1BRmUsQ0FHckIsY0FBZSxhQUhNLENBSXJCLENBQUMsR0FBTyxHQUFQLENBQVcsTUFBWCxDQUFELEVBQXNCLGFBSkQsQ0F4THVCO0FBOEw5QyxPQUFPLFVBQVUsSUFBakIsRUE5TDhDO0FBK0w5QyxPQUFPLFVBQVUsYUFBVixDQUFQLEVBL0w4QztBQWdNOUMsT0FBTyxVQUFVLEdBQU8sR0FBUCxDQUFXLE1BQVgsQ0FBVixDQUFQLEVBaE04QztBQWtNOUMsTUFBTSxNQUFRLE1BbE1nQztBQW9NOUMsSUFBSSxPQXBNMEM7QUFxTTlDO0FBQ0UsSUFBSSxTQUFXLEVBRGpCO0FBRUUsTUFBTSxFQUFJLEtBRlo7QUFHRSxNQUFNLEVBQUksSUFIWjtBQUlFLE1BQU0sRUFBSSxDQUNSLEVBQUcsR0FBSyxFQURBLENBRVIsRUFBRyxFQUZLLENBR1IsRUFBRyxFQUhLLENBSVIsRUFBRyxpQkFKSyxDQUtSLE1BQU8saUJBTEMsQ0FNUixFQUFHLE1BTkssQ0FPUixFQUFHLE1BUEssQ0FRUixFQUFHLFNBUkssQ0FTUixFQUFHLGFBVEssQ0FVUixFQUFHLE9BVkssQ0FXUixFQUFHLFdBWEssQ0FZUixHQUFJLFdBQWlCLFFBWmIsQ0FhUixFQUFHLFlBYkssQ0FjUixJQUFLLG1CQWRHLENBZVIsRUFBRyxTQWZLLENBSlo7QUFxQkUsVUFBVSxDQUFFLEdBQUYsQ0FBSyxJQUFLLENBQUcsV0FBVyxJQUFJLElBQWxCLENBQVYsQ0FBVixDQXJCRjtBQUFBO0FBck04QztBQTZOOUMsSUFBSSxXQUFhLENBQUUseUdBQVUsRUFBWixDQTdONkI7QUErTjlDLE1BQU0sT0FBUyxDQUFDLElBQUksQ0FBTCxJQUFVLENBL05xQjtBQWlPOUMsYUFBYSxPQUFiLENBQTRDLEdBQUcsSUFBL0MsQ0FBK0Q7QUFFN0QsT0FBTyxLQUFPLFVBQVEsR0FBUixDQUFZLENBQUMsR0FBRCxDQUFNLENBQU4sS0FBWTtBQUFBLFFBQUcsTUFBSSxDQUFHLE9BQUssQ0FBTCxFQUFWO0FBQUE7QUFBeEIsRUFBNkMsSUFBN0MsQ0FBa0QsR0FBbEQsRUFBUCxDQUFQLENBRjZEO0FBQUE7QUFqT2pCO0FBc085QyxNQUFNLDhCQUFnQyxhQXRPUTtBQXdPOUMsTUFBTSxDQUFFLElBQUYsQ0FBUSxHQUFHLElBQVgsRUFBb0IsQ0FBRSxLQUFNLE1BQVIsQ0FBZ0IsTUFBTyxPQUF2QixDQUFnQyxNQUFPLE9BQXZDLENBeE9vQjtBQXlPOUMsTUFBTSxDQUFDLEtBQUQsQ0FBUSxHQUFHLEtBQVgsRUFBb0IsQ0FBQyxZQUFELENBQWUsYUFBZixDQUE4QixhQUE5QixFQXpPb0I7QUEyTzlDLE1BQU0sT0FBUyxRQUFRLEtBM091QjtBQTRPOUMsTUFBTSxjQUFnQixlQUFlLEdBNU9TO0FBNk85QyxNQUFNLFVBQVksU0FBUyxnQkFBVCxHQUE0QixpQkE3T0E7QUErTzlDLElBQUksYUEvTzBDO0FBZ1A5QyxRQUFRLENBQVI7QUFDRSxLQUFLLENBQUwsQ0FDRSxnQkFBZ0IsWUFBaEIsQ0FERjtBQUVFLE1BRkY7QUFERjtBQUlFO0FBQ0UsZ0JBQWdCLGVBQWhCLENBREY7QUFKRjtBQUFBLENBaFA4QztBQXdQOUMsSUFBSSxVQXhQMEM7QUF5UDlDLFFBQVEsQ0FBUjtBQUNFLEtBQUssQ0FBTCxDQUNFLGFBQWEsWUFBYixDQURGO0FBRUUsTUFGRjtBQURGO0FBSUU7QUFDRSxnQkFBZ0IsZUFBaEIsQ0FERjtBQUpGO0FBQUEsQ0F6UDhDO0FBaVE5QyxJQUFJLElBQU0sQ0FqUW9DO0FBa1E5QyxNQUFNLElBQU0sT0FsUWtDO0FBbVE5QyxNQUFNLE9BQVMsT0FBTyxHQW5Rd0I7QUFxUTlDLE1BQU0sTUFBUSxDQUFDLENBQUQsQ0FBSSxDQUFKLEVBclFnQztBQXNROUMsTUFBTSxPQUFTLENBQUUsSUFBSyxPQUFQLENBdFErQjtBQXVROUMsTUFBTSxJQUFNLEtBdlFrQztBQXdROUMsTUFBTSxRQUFVLE9BQU8sR0FBUCxDQXhROEI7QUF5UTlDLE1BQU0sTUFBUSxDQUFDLEdBelErQjtBQTBROUMsTUFBTSxRQUFVLEtBMVE4QjtBQTJROUMsTUFBTSxPQUFTLEVBQUUsR0EzUTZCO0FBNFE5QyxNQUFNLFNBQVcsQ0FBQyxPQUFPLENBQVIsQ0E1UTZCO0FBK1E5QyxTQS9ROEM7QUFpUjlDLE9BQU8sQ0FDTCxHQUFHLFVBQVUsR0FBVixDQUFlLEdBQWYsQ0FBb0IsR0FBcEIsQ0FERSxDQUVMLEdBQUcsZUFBZSxHQUFmLENBQW9CLEdBQXBCLENBQXlCLEdBQXpCLENBRkUsQ0FHTCxHQUFHLFNBQVMsR0FBVCxDQUFjLEdBQWQsQ0FBbUIsR0FBbkIsQ0FIRSxDQUlMLEdBQUcsU0FBUyxHQUFULENBQWMsR0FBZCxDQUFtQixHQUFuQixDQUpFLENBS0wsR0FBRyxhQUFhLEdBQWIsQ0FBa0IsR0FBbEIsQ0FBdUIsR0FBdkIsQ0FMRSxDQU1MLE1BQU0sZ0JBTkQsQ0FPTCxNQUFNLGVBUEQsQ0FRTCxNQUFNLGVBUkQsQ0FTTCxNQUFNLG1CQVRELENBVUwsSUFBSSxJQVZDLENBV0wsSUFBSSxPQUFKLEVBWEssQ0FZTCxJQUFJLFlBWkMsQ0FhTCxDQWJLLENBY0wsQ0FkSyxDQWVMLENBZkssQ0FnQkwsQ0FoQkssQ0FpQkwsQ0FBQyxNQUFNO0FBQ0wsT0FBTyxLQUFQLENBREs7QUFBQTtBQUFQLEdBakJLLENBb0JMLENBQUMsV0FBWTtBQUNYLE9BQU8sS0FBUCxDQURXO0FBQUE7QUFBYixHQXBCSyxDQXVCTCxDQUFDLGNBQWU7QUFDZCxPQUFPLEtBQVAsQ0FEYztBQUFBO0FBQWhCLEdBdkJLLENBMEJMLElBQUksTUFBSixFQTFCSyxDQTJCTCxJQUFJLE1BQUosRUEzQkssQ0E0QkwsTUFBTSxJQUFJLFdBQUosRUE1QkQsQ0E2QkwsVUFBVSxJQUFWLEdBQWlCLEtBN0JaLENBOEJMLFVBQVUsSUFBVixHQUFpQixLQTlCWixDQStCTCxVQUFVLElBQVYsR0FBaUIsS0EvQlosQ0FnQ0wsVUFBVSxJQUFWLEdBQWlCLEtBaENaLENBaUNMLE9BQU8sQ0FBUCxDQWpDSyxDQWtDTCxPQUFPLENBQVAsQ0FsQ0ssQ0FtQ0wsT0FBTyxDQUFQLENBbkNLLENBb0NMLEdBQUcsVUFwQ0UsQ0FxQ0wsR0FBRyxZQXJDRSxDQXNDTCxHQUFHLFNBdENFLENBdUNMLEdBQUcsV0F2Q0UsQ0F3Q0wsR0FBRyxRQXhDRSxDQXlDTCxHQUFHLFlBekNFLENBMENMLEdBQUcsVUExQ0UsQ0EyQ0wsU0EzQ0ssQ0E0Q0wsTUFBTSxJQUFOLENBQVcsS0FBWCxDQTVDSyxDQTZDTCxPQTdDSyxDQThDTCxVQTlDSyxDQStDTCxNQS9DSyxDQWdETCxHQUFHLENBQUcsSUFBRSxHQUFLLElBQUUsR0FBSyxJQUFqQixDQWhERSxDQWlETCw2QkFqREssQ0FrREwsT0FBTyxhQWxERixDQW1ETCxLQUFLLENBbkRBLENBb0RMLElBcERLLENBcURMLEtBckRLLENBc0RMLEtBdERLLENBdURMLE1BdkRLLENBd0RMLGFBeERLLENBeURMLFNBekRLLENBMERMLGFBMURLLENBMkRMLFVBM0RLLENBNERMLE1BNURLLENBNkRMLEtBN0RLLENBOERMLE9BOURLLENBK0RMLEtBL0RLLENBZ0VMLE9BaEVLLENBaUVMLE1BakVLLENBa0VMLFFBbEVLLEVBQVAsQ0FqUjhDO0FBQUE7Q0RwekJsRDtBQ296QnNDLG9CRHB6QnRDIn0=" +`; + +exports[`instantiating the AWS SDK 1`] = ` +"var v0; +const v2 = require("aws-sdk"); +var v1 = v2; +v0 = () => { +const client=new v1.DynamoDB() +return client; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ2dxQnNDLE1BQU07QUFDeEMsTUFBTSxPQUFTLElBQUksR0FBSSxRQUFSLEVBRHlCO0FBR3hDLE9BQU8sTUFBUCxDQUh3QztBQUFBO0NEaHFCNUM7QUNncUJzQyxvQkRocUJ0QyJ9" +`; + +exports[`instantiating the AWS SDK v3 1`] = ` +"var v0; +const v2 = require("@aws-sdk/client-dynamodb"); +const v3 = v2.DynamoDBClient; +var v1 = v3; +v0 = () => { +const client=new v1({},) +return client; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0tDd3JCc0MsTUFBTTtBQUN4QyxNQUFNLE9BQVMsSUFBSSxFQUFKLENBQW1CLEVBQW5CLEVBRHlCO0FBR3hDLE9BQU8sTUFBUCxDQUh3QztBQUFBO0NEeHJCNUM7QUN3ckJzQyxvQkR4ckJ0QyJ9" +`; + +exports[`serialize a bound function 1`] = ` +"var v0; +const v2 = {}; +v2.prop = "hello"; +const v3 = []; +var v4; +v4 = function foo(){ +return this.prop; +} +; +v4.prototype = v4.prototype; +const v5 = v4.bind(v2,v3); +var v1 = v5; +v0 = () => { +return v1(); +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7S0NrdEJlLGNBQXFDO0FBQ2hELE9BQU8sS0FBSyxJQUFaLENBRGdEO0FBQUE7Q0RsdEJwRDtBQUFBO0FBQUE7QUFBQTtLQzB0QnNDLE1BQU07QUFDeEMsT0FBTyxJQUFQLENBRHdDO0FBQUE7Q0QxdEI1QztBQzB0QnNDLG9CRDF0QnRDIn0=" +`; + +exports[`serialize a class declaration 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +method(){ +v3++; +return v3; +} + +}; +var v1 = v2; +v0 = () => { +const foo=new v1() +foo.method(); +foo.method(); +return v3; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ3NIRSxNQUFNLEdBQU47QUFDUyxNQUFQLEVBQWdCO0FBQ2QsS0FEYztBQUVkLE9BQU8sRUFBUCxDQUZjO0FBQUE7QUFEbEI7QUFBQSxDLENEdEhGO0FBQUE7S0M2SHNDLE1BQU07QUFDeEMsTUFBTSxJQUFNLElBQUksRUFBSixFQUQ0QjtBQUd4QyxJQUFJLE1BQUosR0FId0M7QUFJeEMsSUFBSSxNQUFKLEdBSndDO0FBS3hDLE9BQU8sRUFBUCxDQUx3QztBQUFBO0NEN0g1QztBQzZIc0Msb0JEN0h0QyJ9" +`; + +exports[`serialize a class declaration with constructor 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +constructor(){ +v3 += 1; +} + +method(){ +v3++; +return v3; +} + +}; +var v1 = v2; +v0 = () => { +const foo=new v1() +foo.method(); +foo.method(); +return v3; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQzBJRSxNQUFNLEdBQU47QUFDRSxhQUFjO0FBQ1osTUFBSyxDQUFMLENBRFk7QUFBQTtBQURoQjtBQUtTLE1BQVAsRUFBZ0I7QUFDZCxLQURjO0FBRWQsT0FBTyxFQUFQLENBRmM7QUFBQTtBQUxsQjtBQUFBLEMsQ0QxSUY7QUFBQTtLQ3FKc0MsTUFBTTtBQUN4QyxNQUFNLElBQU0sSUFBSSxFQUFKLEVBRDRCO0FBR3hDLElBQUksTUFBSixHQUh3QztBQUl4QyxJQUFJLE1BQUosR0FKd0M7QUFLeEMsT0FBTyxFQUFQLENBTHdDO0FBQUE7Q0RySjVDO0FDcUpzQyxvQkRySnRDIn0=" +`; + +exports[`serialize a class hierarchy 1`] = ` +"var v0; +var v2; +var v4; +var v5 = 0; +v4 = class Foo{ +method(){ +return (v5 += 1); +} + +}; +var v3 = v4; +v2 = class Bar extends v3{ +method(){ +return super.method() + 1; +} + +}; +var v1 = v2; +v0 = () => { +const bar=new v1() +return [bar.method(),v5,]; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0tDOFhFLE1BQU0sR0FBTjtBQUNTLE1BQVAsRUFBZ0I7QUFDZCxPQUFPLENBQUMsTUFBSyxDQUFOLENBQVAsQ0FEYztBQUFBO0FBRGxCO0FBQUEsQyxDRDlYRjtBQUFBO0tDb1lFLE1BQU0sR0FBTixTQUFrQixFQUFsQjtBQUNTLE1BQVAsRUFBZ0I7QUFDZCxPQUFPLE1BQU0sTUFBTixLQUFpQixDQUF4QixDQURjO0FBQUE7QUFEbEI7QUFBQSxDLENEcFlGO0FBQUE7S0MwWXNDLE1BQU07QUFDeEMsTUFBTSxJQUFNLElBQUksRUFBSixFQUQ0QjtBQUd4QyxPQUFPLENBQUMsSUFBSSxNQUFKLEVBQUQsQ0FBZSxFQUFmLEVBQVAsQ0FId0M7QUFBQTtDRDFZNUM7QUMwWXNDLG9CRDFZdEMifQ==" +`; + +exports[`serialize a class method calling super 1`] = ` +"var v0; +var v2; +var v4; +v4 = class Foo{ +constructor(value,){ +this.value = value; +} + +method(){ +return \`hello \${this.value}\`; +} + +}; +var v3 = v4; +v2 = class Bar extends v3{ +method(){ +return \`\${super.method()}!\`; +} + +}; +const v5 = Object.create(v2.prototype); +v5.value = "world"; +var v1 = v5; +v0 = () => { +return v1.method(); +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ294QkUsTUFBTSxHQUFOO0FBQ0UsWUFBcUIsS0FBckIsRUFBb0M7QUFyeEJ4QyxVQXF4QnlCLFFBcnhCekIsQ0FxeEJ3QztBQUFBO0FBRHRDO0FBRVMsTUFBUCxFQUFnQjtBQUNkLE9BQU8sT0FBUyxPQUFLLEtBQUwsQ0FBVCxDQUFQLENBRGM7QUFBQTtBQUZsQjtBQUFBLEMsQ0RweEJGO0FBQUE7S0MweEJFLE1BQU0sR0FBTixTQUFrQixFQUFsQjtBQUNTLE1BQVAsRUFBZ0I7QUFDZCxPQUFPLENBQUcsUUFBTSxNQUFOLEdBQWUsQ0FBbEIsQ0FBUCxDQURjO0FBQUE7QUFEbEI7QUFBQSxDLENEMXhCRjtBQUFBO0FBQUE7QUFBQTtLQ2l5QnNDLE1BQU07QUFBQSxVQUFJLE1BQUo7QUFBQTtDRGp5QjVDO0FDaXlCc0Msb0JEanlCdEMifQ==" +`; + +exports[`serialize a class mix-in 1`] = ` +"var v0; +var v2; +var v4; +var v5 = 0; +v4 = () => { +return class Foo{ +method(){ +return (v5 += 1); +} + +}; +} +; +var v3 = v4; +v2 = class Bar extends v3(){ +method(){ +return super.method() + 1; +} + +}; +var v1 = v2; +v0 = () => { +const bar=new v1() +return [bar.method(),v5,]; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0tDcVpnQixNQUNaO0FBQUEsYUFBTSxHQUFOO0FBQ1MsTUFBUCxFQUFnQjtBQUNkLE9BQU8sQ0FBQyxNQUFLLENBQU4sQ0FBUCxDQURjO0FBQUE7QUFEbEI7QUFBQTtBQUFBO0NEdFpKO0FBQUE7S0M0WkUsTUFBTSxHQUFOLFNBQWtCLElBQWxCO0FBQ1MsTUFBUCxFQUFnQjtBQUNkLE9BQU8sTUFBTSxNQUFOLEtBQWlCLENBQXhCLENBRGM7QUFBQTtBQURsQjtBQUFBLEMsQ0Q1WkY7QUFBQTtLQ2thc0MsTUFBTTtBQUN4QyxNQUFNLElBQU0sSUFBSSxFQUFKLEVBRDRCO0FBR3hDLE9BQU8sQ0FBQyxJQUFJLE1BQUosRUFBRCxDQUFlLEVBQWYsRUFBUCxDQUh3QztBQUFBO0NEbGE1QztBQ2thc0Msb0JEbGF0QyJ9" +`; + +exports[`serialize a class value 1`] = ` +"var v0; +var v2; +v2 = class Foo{ +constructor(value,){ +this.value = value; +} + +method(){ +return \`hello \${this.value}\`; +} + +}; +const v3 = Object.create(v2.prototype); +v3.value = "world"; +var v1 = v3; +v0 = () => { +return v1.method(); +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0Nzd0JFLE1BQU0sR0FBTjtBQUNFLFlBQXFCLEtBQXJCLEVBQW9DO0FBdndCeEMsVUF1d0J5QixRQXZ3QnpCLENBdXdCd0M7QUFBQTtBQUR0QztBQUVTLE1BQVAsRUFBZ0I7QUFDZCxPQUFPLE9BQVMsT0FBSyxLQUFMLENBQVQsQ0FBUCxDQURjO0FBQUE7QUFGbEI7QUFBQSxDLENEdHdCRjtBQUFBO0FBQUE7QUFBQTtLQzh3QnNDLE1BQU07QUFBQSxVQUFJLE1BQUo7QUFBQTtDRDl3QjVDO0FDOHdCc0Msb0JEOXdCdEMifQ==" +`; + +exports[`serialize a monkey-patched class getter 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +get method(){ +return (v3 += 1); +} + +}; +const v4 = function get(){ +return (v3 += 2); +} + +Object.defineProperty(v2.prototype,"method",{get : v4,}); +var v1 = v2; +v0 = () => { +const foo=new v1() +foo.method; +foo.method; +return v3; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ2dSRSxNQUFNLEdBQU47QUFDRSxJQUFXLE1BQVgsRUFBb0I7QUFDbEIsT0FBTyxDQUFDLE1BQUssQ0FBTixDQUFQLENBRGtCO0FBQUE7QUFEdEI7QUFBQSxDLENEaFJGO0FDdVJJLHlCQUFNO0FBQ0osT0FBTyxDQUFDLE1BQUssQ0FBTixDQUFQLENBREk7QUFBQTtBRHZSVjtBQUFBO0FBQUE7S0M0UnNDLE1BQU07QUFDeEMsTUFBTSxJQUFNLElBQUksRUFBSixFQUQ0QjtBQUd4QyxJQUFJLE1BQUosQ0FId0M7QUFJeEMsSUFBSSxNQUFKLENBSndDO0FBS3hDLE9BQU8sRUFBUCxDQUx3QztBQUFBO0NENVI1QztBQzRSc0Msb0JENVJ0QyJ9" +`; + +exports[`serialize a monkey-patched class getter and setter 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +set method(val){ +v3 += val; +} + +get method(){ +return v3; +} + +}; +const v4 = function get(){ +return v3 + 1; +} + +const v5 = function set(val){ +v3 += val + 1; +} + +Object.defineProperty(v2.prototype,"method",{get : v4,set : v5,}); +var v1 = v2; +v0 = () => { +const foo=new v1() +foo.method = 1; +foo.method = 1; +return foo.method; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ2tVRSxNQUFNLEdBQU47QUFDRSxJQUFXLE1BQVgsQ0FBa0IsR0FBbEIsQ0FBK0I7QUFDN0IsTUFBSyxHQUFMLENBRDZCO0FBQUE7QUFEakM7QUFJRSxJQUFXLE1BQVgsRUFBb0I7QUFDbEIsT0FBTyxFQUFQLENBRGtCO0FBQUE7QUFKdEI7QUFBQSxDLENEbFVGO0FDK1VJLHlCQUFNO0FBQ0osT0FBTyxLQUFJLENBQVgsQ0FESTtBQUFBO0FEL1VWO0FDNFVJLHdCQUFJLEdBQUosQ0FBaUI7QUFDZixNQUFLLE1BQU0sQ0FBWCxDQURlO0FBQUE7QUQ1VXJCO0FBQUE7QUFBQTtLQ29Wc0MsTUFBTTtBQUN4QyxNQUFNLElBQU0sSUFBSSxFQUFKLEVBRDRCO0FBR3hDLElBQUksTUFBSixHQUFhLENBQWIsQ0FId0M7QUFJeEMsSUFBSSxNQUFKLEdBQWEsQ0FBYixDQUp3QztBQUt4QyxPQUFPLElBQUksTUFBWCxDQUx3QztBQUFBO0NEcFY1QztBQ29Wc0Msb0JEcFZ0QyJ9" +`; + +exports[`serialize a monkey-patched class getter while setter remains unchanged 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +set method(val){ +v3 += val; +} + +get method(){ +return v3; +} + +}; +const v4 = function get(){ +return v3 + 1; +} + +Object.defineProperty(v2.prototype,"method",{get : v4,set : Object.getOwnPropertyDescriptor(v2.prototype,"method").set,}); +var v1 = v2; +v0 = () => { +const foo=new v1() +foo.method = 1; +foo.method = 1; +return foo.method; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ2lXRSxNQUFNLEdBQU47QUFDRSxJQUFXLE1BQVgsQ0FBa0IsR0FBbEIsQ0FBK0I7QUFDN0IsTUFBSyxHQUFMLENBRDZCO0FBQUE7QUFEakM7QUFJRSxJQUFXLE1BQVgsRUFBb0I7QUFDbEIsT0FBTyxFQUFQLENBRGtCO0FBQUE7QUFKdEI7QUFBQSxDLENEaldGO0FDNFdJLHlCQUFNO0FBQ0osT0FBTyxLQUFJLENBQVgsQ0FESTtBQUFBO0FENVdWO0FBQUE7QUFBQTtLQ2lYc0MsTUFBTTtBQUN4QyxNQUFNLElBQU0sSUFBSSxFQUFKLEVBRDRCO0FBR3hDLElBQUksTUFBSixHQUFhLENBQWIsQ0FId0M7QUFJeEMsSUFBSSxNQUFKLEdBQWEsQ0FBYixDQUp3QztBQUt4QyxPQUFPLElBQUksTUFBWCxDQUx3QztBQUFBO0NEalg1QztBQ2lYc0Msb0JEalh0QyJ9" +`; + +exports[`serialize a monkey-patched class method 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +method(){ +v3 += 1; +} + +}; +var v4; +v4 = function (){ +v3 += 2; +} +; +v4.prototype = v4.prototype; +v2.prototype.method = v4; +var v1 = v2; +v0 = () => { +const foo=new v1() +foo.method(); +foo.method(); +return v3; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQzBORSxNQUFNLEdBQU47QUFDUyxNQUFQLEVBQWdCO0FBQ2QsTUFBSyxDQUFMLENBRGM7QUFBQTtBQURsQjtBQUFBLEMsQ0QxTkY7QUFBQTtLQ2dPeUIsV0FBWTtBQUNqQyxNQUFLLENBQUwsQ0FEaUM7QUFBQTtDRGhPckM7QUFBQTtBQUFBO0FBQUE7S0NvT3NDLE1BQU07QUFDeEMsTUFBTSxJQUFNLElBQUksRUFBSixFQUQ0QjtBQUd4QyxJQUFJLE1BQUosR0FId0M7QUFJeEMsSUFBSSxNQUFKLEdBSndDO0FBS3hDLE9BQU8sRUFBUCxDQUx3QztBQUFBO0NEcE81QztBQ29Pc0Msb0JEcE90QyJ9" +`; + +exports[`serialize a monkey-patched class method that has been re-set 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +method(){ +v3 += 1; +} + +}; +var v4; +v4 = function (){ +v3 += 2; +} +; +v4.prototype = v4.prototype; +v2.prototype.method = v4; +var v1 = v2; +const v6 = function method(){ +v3 += 1; +} + +var v5 = v6; +v0 = () => { +const foo=new v1() +foo.method(); +v1.prototype.method = v5; +foo.method(); +return v3; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ2lQRSxNQUFNLEdBQU47QUFDUyxNQUFQLEVBQWdCO0FBQ2QsTUFBSyxDQUFMLENBRGM7QUFBQTtBQURsQjtBQUFBLEMsQ0RqUEY7QUFBQTtLQ3lQeUIsV0FBWTtBQUNqQyxNQUFLLENBQUwsQ0FEaUM7QUFBQTtDRHpQckM7QUFBQTtBQUFBO0FBQUE7QUNrUEksb0JBQU8sTUFBUCxFQUFnQjtBQUNkLE1BQUssQ0FBTCxDQURjO0FBQUE7QURsUHBCO0FBQUE7S0M2UGtCLE1BQU07QUFDcEIsTUFBTSxJQUFNLElBQUksRUFBSixFQURRO0FBR3BCLElBQUksTUFBSixHQUhvQjtBQUtwQixHQUFJLFNBQUosQ0FBYyxNQUFkLEdBQXVCLEVBQXZCLENBTG9CO0FBT3BCLElBQUksTUFBSixHQVBvQjtBQVFwQixPQUFPLEVBQVAsQ0FSb0I7QUFBQTtDRDdQeEI7QUM2UGtCLG9CRDdQbEIifQ==" +`; + +exports[`serialize a monkey-patched class setter 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +set method(val){ +v3 += val; +} + +}; +const v4 = function set(val){ +v3 += val + 1; +} + +Object.defineProperty(v2.prototype,"method",{set : v4,}); +var v1 = v2; +v0 = () => { +const foo=new v1() +foo.method = 1; +foo.method = 1; +return v3; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ3lTRSxNQUFNLEdBQU47QUFDRSxJQUFXLE1BQVgsQ0FBa0IsR0FBbEIsQ0FBK0I7QUFDN0IsTUFBSyxHQUFMLENBRDZCO0FBQUE7QUFEakM7QUFBQSxDLENEelNGO0FDZ1RJLHdCQUFJLEdBQUosQ0FBaUI7QUFDZixNQUFLLE1BQU0sQ0FBWCxDQURlO0FBQUE7QURoVHJCO0FBQUE7QUFBQTtLQ3FUc0MsTUFBTTtBQUN4QyxNQUFNLElBQU0sSUFBSSxFQUFKLEVBRDRCO0FBR3hDLElBQUksTUFBSixHQUFhLENBQWIsQ0FId0M7QUFJeEMsSUFBSSxNQUFKLEdBQWEsQ0FBYixDQUp3QztBQUt4QyxPQUFPLEVBQVAsQ0FMd0M7QUFBQTtDRHJUNUM7QUNxVHNDLG9CRHJUdEMifQ==" +`; + +exports[`serialize a monkey-patched static class arrow function 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +static method = () => { +v3 += 1; +} + +}; +var v4; +v4 = function (){ +v3 += 2; +} +; +v4.prototype = v4.prototype; +v2.method = v4; +var v1 = v2; +v0 = () => { +v1.method(); +v1.method(); +return v3; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ3VMRSxNQUFNLEdBQU47QUFDRSxPQUFjLE1BQWQsR0FBdUIsTUFBTTtBQUMzQixNQUFLLENBQUwsQ0FEMkI7QUFBQTtBQUQvQjtBQUFBLEMsQ0R2TEY7QUFBQTtLQzZMZSxXQUFZO0FBQ3ZCLE1BQUssQ0FBTCxDQUR1QjtBQUFBO0NEN0wzQjtBQUFBO0FBQUE7QUFBQTtLQ2lNc0MsTUFBTTtBQUN4QyxHQUFJLE1BQUosR0FEd0M7QUFFeEMsR0FBSSxNQUFKLEdBRndDO0FBR3hDLE9BQU8sRUFBUCxDQUh3QztBQUFBO0NEak01QztBQ2lNc0Msb0JEak10QyJ9" +`; + +exports[`serialize a monkey-patched static class method 1`] = ` +"var v0; +var v2; +var v3 = 0; +v2 = class Foo{ +method(){ +v3 += 1; +} + +}; +var v4; +v4 = function (){ +v3 += 2; +} +; +v4.prototype = v4.prototype; +v2.method = v4; +var v1 = v2; +v0 = () => { +v1.method(); +v1.method(); +return v3; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ2tLRSxNQUFNLEdBQU47QUFDZ0IsTUFBZCxFQUF1QjtBQUNyQixNQUFLLENBQUwsQ0FEcUI7QUFBQTtBQUR6QjtBQUFBLEMsQ0RsS0Y7QUFBQTtLQ3dLZSxXQUFZO0FBQ3ZCLE1BQUssQ0FBTCxDQUR1QjtBQUFBO0NEeEszQjtBQUFBO0FBQUE7QUFBQTtLQzRLc0MsTUFBTTtBQUN4QyxHQUFJLE1BQUosR0FEd0M7QUFFeEMsR0FBSSxNQUFKLEdBRndDO0FBR3hDLE9BQU8sRUFBUCxDQUh3QztBQUFBO0NENUs1QztBQzRLc0Msb0JENUt0QyJ9" +`; + +exports[`serialize a monkey-patched static class property 1`] = ` +"var v0; +var v2; +v2 = class Foo{ +static prop = 1 +}; +v2.prop = 2; +var v1 = v2; +v0 = () => { +return v1.prop; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7S0MyTUUsTUFBTSxHQUFOO0FBQ0UsT0FBYyxJQUFkLEdBQXFCLENBRHZCO0FBQUEsQyxDRDNNRjtBQUFBO0FBQUE7S0NpTnNDLE1BQU07QUFDeEMsT0FBTyxHQUFJLElBQVgsQ0FEd0M7QUFBQTtDRGpONUM7QUNpTnNDLG9CRGpOdEMifQ==" +`; + +exports[`serialize a proxy 1`] = ` +"var v0; +const v2 = {}; +v2.value = "hello"; +const v3 = {}; +var v4; +v4 = (self,name) => { +return \`\${self[name]} world\`; +} +; +v3.get = v4; +const v5 = new Proxy(v2,v3,); +var v1 = v5; +v0 = () => { +return v1.value; +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7S0N1dUJXLENBQUMsSUFBRCxDQUFPLElBQVAsS0FBZ0I7QUFDbkIsT0FBTyxDQUFHLE9BQUssSUFBTCxFQUFnQyxNQUFuQyxDQUFQLENBRG1CO0FBQUE7Q0R2dUIzQjtBQUFBO0FBQUE7QUFBQTtLQzZ1QnNDLE1BQU07QUFDeEMsT0FBTyxHQUFNLEtBQWIsQ0FEd0M7QUFBQTtDRDd1QjVDO0FDNnVCc0Msb0JEN3VCdEMifQ==" +`; + +exports[`serialize a this reference in an object literal 1`] = ` +"var v0; +const v2 = {}; +v2.prop = "prop"; +const v3 = function get(){ +return this.prop; +} + +v2.get = v3; +var v1 = v2; +v0 = () => { +return v1.get(); +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQ3l5QkkseUJBQU07QUFDSixPQUFPLEtBQUssSUFBWixDQURJO0FBQUE7QUR6eUJWO0FBQUE7QUFBQTtLQzh5QnNDLE1BQU07QUFBQSxVQUFJLEdBQUo7QUFBQTtDRDl5QjVDO0FDOHlCc0Msb0JEOXlCdEMifQ==" +`; + +exports[`serialize an imported module 1`] = ` +"var v0; +v0 = function isNode(a){ +return typeof a?.kind === "number"; +} +; +v0.prototype = v0.prototype; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwic3JjL2d1YXJkcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtLQ01PLGdCQUFnQixDQUFoQixDQUErQztBQUNwRCxPQUFPLE9BQU8sR0FBRyxJQUFWLEtBQW1CLFFBQTFCLENBRG9EO0FBQUE7Q0ROdEQ7QUFBQTtBQ01PLG9CRE5QIn0=" +`; + +exports[`should serialize NativePreWarmContext 1`] = ` +"var v0; +var v2; +v2 = class NativePreWarmContext{ +constructor(props,){ +this.props = props; +this.cache = {}; +} + +get(key){ +return this.cache[key]; +} + +getOrInit(client){ +if (!this.cache[client.key]){ +this.cache[client.key] = client.init(client.key,this.props); +} + +return this.cache[client.key]; +} + +}; +const v3 = Object.create(v2.prototype); +v3.props = undefined; +const v4 = {}; +v3.cache = v4; +var v1 = v3; +v0 = () => { +return v1.getOrInit({key:"key",init:() => { +return "value"; +} +}); +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwic3JjL2Z1bmN0aW9uLXByZXdhcm0udHMiLCJ0ZXN0L3NlcmlhbGl6ZS1jbG9zdXJlLnRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtLQ2tITyxNQUFNLG9CQUFOO0FBR0wsWUFBb0IsS0FBcEIsRUFBMEM7QUFySDVDLFVBcUhzQixRQXJIdEIsQ0FxSDRDO0FBQ3hDLEtBQUssS0FBTCxHQUFhLEVBQWIsQ0FEd0M7QUFBQTtBQUhyQztBQU9FLEdBQVAsQ0FBYyxHQUFkLENBQXVEO0FBQ3JELE9BQU8sS0FBSyxLQUFMLENBQVcsR0FBWCxDQUFQLENBRHFEO0FBQUE7QUFQbEQ7QUFXRSxTQUFQLENBQW9CLE1BQXBCLENBQWlFO0FBQy9ELElBQUksQ0FBQyxLQUFLLEtBQUwsQ0FBVyxPQUFPLEdBQWxCLENBQUwsQ0FBNkI7QUFDM0IsS0FBSyxLQUFMLENBQVcsT0FBTyxHQUFsQixJQUF5QixPQUFPLElBQVAsQ0FBWSxPQUFPLEdBQW5CLENBQXdCLEtBQUssS0FBN0IsQ0FBekIsQ0FEMkI7QUFBQTtBQURrQztBQUkvRCxPQUFPLEtBQUssS0FBTCxDQUFXLE9BQU8sR0FBbEIsQ0FBUCxDQUorRDtBQUFBO0FBWDVEO0FBQUEsQyxDRGxIUDtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7S0V5dkNzQyxNQUFNO0FBQ3hDLE9BQU8sR0FBUSxTQUFSLENBQWtCLENBQ3ZCLElBQUssS0FEa0IsQ0FFdkIsS0FBTSxNQUFNO0FBQUE7QUFBQTtBQUZXLENBQWxCLENBQVAsQ0FEd0M7QUFBQTtDRnp2QzVDO0FFeXZDc0Msb0JGenZDdEMifQ==" +`; + +exports[`thrown errors map back to source 1`] = ` +"var v0; +const v2 = Error; +var v1 = v2; +v0 = () => { +throw new v1("oops",); +} +; +exports.handler = v0 + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIiwidGVzdC9zZXJpYWxpemUtY2xvc3VyZS50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtLQ3F2QnNDLE1BQU07QUFDeEMsTUFBTSxJQUFJLEVBQUosQ0FBVSxNQUFWLEVBQU4sQ0FEd0M7QUFBQTtDRHJ2QjVDO0FDcXZCc0Msb0JEcnZCdEMifQ==" +`; diff --git a/test/__snapshots__/serialize.test.ts.snap b/test/__snapshots__/serialize.test.ts.snap index 3a3fe9d7..34898b64 100644 --- a/test/__snapshots__/serialize.test.ts.snap +++ b/test/__snapshots__/serialize.test.ts.snap @@ -3,12 +3,12 @@ exports[`serialize axios import 1`] = ` "exports.handler = __f0; -var __axios = {default: require(\\"axios/index.js\\")}; +var __axios = {default: require("axios/index.js")}; function __f0() { return (function() { let _axios = __axios; - return (async () => { return _axios.default.get(\\"https://functionless.org\\"); });; + return (async () => { return _axios.default.get("https://functionless.org"); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -21,8 +21,8 @@ var __commonJS = (cb, mod) => function __require() { // node_modules/axios/lib/helpers/bind.js var require_bind = __commonJS({ - \\"node_modules/axios/lib/helpers/bind.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/bind.js"(exports2, module2) { + "use strict"; module2.exports = function bind(fn, thisArg) { return function wrap() { var args = new Array(arguments.length); @@ -37,8 +37,8 @@ var require_bind = __commonJS({ // node_modules/axios/lib/utils.js var require_utils = __commonJS({ - \\"node_modules/axios/lib/utils.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/utils.js"(exports2, module2) { + "use strict"; var bind = require_bind(); var toString = Object.prototype.toString; var kindOf = function(cache) { @@ -57,15 +57,15 @@ var require_utils = __commonJS({ return Array.isArray(val); } function isUndefined(val) { - return typeof val === \\"undefined\\"; + return typeof val === "undefined"; } function isBuffer(val) { - return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && typeof val.constructor.isBuffer === \\"function\\" && val.constructor.isBuffer(val); + return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && typeof val.constructor.isBuffer === "function" && val.constructor.isBuffer(val); } - var isArrayBuffer = kindOfTest(\\"ArrayBuffer\\"); + var isArrayBuffer = kindOfTest("ArrayBuffer"); function isArrayBufferView(val) { var result; - if (typeof ArrayBuffer !== \\"undefined\\" && ArrayBuffer.isView) { + if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) { result = ArrayBuffer.isView(val); } else { result = val && val.buffer && isArrayBuffer(val.buffer); @@ -73,50 +73,50 @@ var require_utils = __commonJS({ return result; } function isString(val) { - return typeof val === \\"string\\"; + return typeof val === "string"; } function isNumber(val) { - return typeof val === \\"number\\"; + return typeof val === "number"; } function isObject(val) { - return val !== null && typeof val === \\"object\\"; + return val !== null && typeof val === "object"; } function isPlainObject(val) { - if (kindOf(val) !== \\"object\\") { + if (kindOf(val) !== "object") { return false; } var prototype = Object.getPrototypeOf(val); return prototype === null || prototype === Object.prototype; } - var isDate = kindOfTest(\\"Date\\"); - var isFile = kindOfTest(\\"File\\"); - var isBlob = kindOfTest(\\"Blob\\"); - var isFileList = kindOfTest(\\"FileList\\"); + var isDate = kindOfTest("Date"); + var isFile = kindOfTest("File"); + var isBlob = kindOfTest("Blob"); + var isFileList = kindOfTest("FileList"); function isFunction(val) { - return toString.call(val) === \\"[object Function]\\"; + return toString.call(val) === "[object Function]"; } function isStream(val) { return isObject(val) && isFunction(val.pipe); } function isFormData(thing) { - var pattern = \\"[object FormData]\\"; - return thing && (typeof FormData === \\"function\\" && thing instanceof FormData || toString.call(thing) === pattern || isFunction(thing.toString) && thing.toString() === pattern); + var pattern = "[object FormData]"; + return thing && (typeof FormData === "function" && thing instanceof FormData || toString.call(thing) === pattern || isFunction(thing.toString) && thing.toString() === pattern); } - var isURLSearchParams = kindOfTest(\\"URLSearchParams\\"); + var isURLSearchParams = kindOfTest("URLSearchParams"); function trim(str) { - return str.trim ? str.trim() : str.replace(/^\\\\s+|\\\\s+$/g, \\"\\"); + return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, ""); } function isStandardBrowserEnv() { - if (typeof navigator !== \\"undefined\\" && (navigator.product === \\"ReactNative\\" || navigator.product === \\"NativeScript\\" || navigator.product === \\"NS\\")) { + if (typeof navigator !== "undefined" && (navigator.product === "ReactNative" || navigator.product === "NativeScript" || navigator.product === "NS")) { return false; } - return typeof window !== \\"undefined\\" && typeof document !== \\"undefined\\"; + return typeof window !== "undefined" && typeof document !== "undefined"; } function forEach(obj, fn) { - if (obj === null || typeof obj === \\"undefined\\") { + if (obj === null || typeof obj === "undefined") { return; } - if (typeof obj !== \\"object\\") { + if (typeof obj !== "object") { obj = [obj]; } if (isArray(obj)) { @@ -151,7 +151,7 @@ var require_utils = __commonJS({ } function extend(a, b, thisArg) { forEach(b, function assignValue(val, key) { - if (thisArg && typeof val === \\"function\\") { + if (thisArg && typeof val === "function") { a[key] = bind(val, thisArg); } else { a[key] = val; @@ -215,7 +215,7 @@ var require_utils = __commonJS({ return function(thing) { return TypedArray && thing instanceof TypedArray; }; - }(typeof Uint8Array !== \\"undefined\\" && Object.getPrototypeOf(Uint8Array)); + }(typeof Uint8Array !== "undefined" && Object.getPrototypeOf(Uint8Array)); module2.exports = { isArray, isArrayBuffer, @@ -253,11 +253,11 @@ var require_utils = __commonJS({ // node_modules/axios/lib/helpers/buildURL.js var require_buildURL = __commonJS({ - \\"node_modules/axios/lib/helpers/buildURL.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/buildURL.js"(exports2, module2) { + "use strict"; var utils = require_utils(); function encode(val) { - return encodeURIComponent(val).replace(/%3A/gi, \\":\\").replace(/%24/g, \\"$\\").replace(/%2C/gi, \\",\\").replace(/%20/g, \\"+\\").replace(/%5B/gi, \\"[\\").replace(/%5D/gi, \\"]\\"); + return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } module2.exports = function buildURL(url, params, paramsSerializer) { if (!params) { @@ -271,11 +271,11 @@ var require_buildURL = __commonJS({ } else { var parts = []; utils.forEach(params, function serialize(val, key) { - if (val === null || typeof val === \\"undefined\\") { + if (val === null || typeof val === "undefined") { return; } if (utils.isArray(val)) { - key = key + \\"[]\\"; + key = key + "[]"; } else { val = [val]; } @@ -285,17 +285,17 @@ var require_buildURL = __commonJS({ } else if (utils.isObject(v)) { v = JSON.stringify(v); } - parts.push(encode(key) + \\"=\\" + encode(v)); + parts.push(encode(key) + "=" + encode(v)); }); }); - serializedParams = parts.join(\\"&\\"); + serializedParams = parts.join("&"); } if (serializedParams) { - var hashmarkIndex = url.indexOf(\\"#\\"); + var hashmarkIndex = url.indexOf("#"); if (hashmarkIndex !== -1) { url = url.slice(0, hashmarkIndex); } - url += (url.indexOf(\\"?\\") === -1 ? \\"?\\" : \\"&\\") + serializedParams; + url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams; } return url; }; @@ -304,8 +304,8 @@ var require_buildURL = __commonJS({ // node_modules/axios/lib/core/InterceptorManager.js var require_InterceptorManager = __commonJS({ - \\"node_modules/axios/lib/core/InterceptorManager.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/core/InterceptorManager.js"(exports2, module2) { + "use strict"; var utils = require_utils(); function InterceptorManager() { this.handlers = []; @@ -337,8 +337,8 @@ var require_InterceptorManager = __commonJS({ // node_modules/axios/lib/helpers/normalizeHeaderName.js var require_normalizeHeaderName = __commonJS({ - \\"node_modules/axios/lib/helpers/normalizeHeaderName.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/normalizeHeaderName.js"(exports2, module2) { + "use strict"; var utils = require_utils(); module2.exports = function normalizeHeaderName(headers, normalizedName) { utils.forEach(headers, function processHeader(value, name) { @@ -353,13 +353,13 @@ var require_normalizeHeaderName = __commonJS({ // node_modules/axios/lib/core/AxiosError.js var require_AxiosError = __commonJS({ - \\"node_modules/axios/lib/core/AxiosError.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/core/AxiosError.js"(exports2, module2) { + "use strict"; var utils = require_utils(); function AxiosError(message, code, config, request, response) { Error.call(this); this.message = message; - this.name = \\"AxiosError\\"; + this.name = "AxiosError"; code && (this.code = code); config && (this.config = config); request && (this.request = request); @@ -385,21 +385,21 @@ var require_AxiosError = __commonJS({ var prototype = AxiosError.prototype; var descriptors = {}; [ - \\"ERR_BAD_OPTION_VALUE\\", - \\"ERR_BAD_OPTION\\", - \\"ECONNABORTED\\", - \\"ETIMEDOUT\\", - \\"ERR_NETWORK\\", - \\"ERR_FR_TOO_MANY_REDIRECTS\\", - \\"ERR_DEPRECATED\\", - \\"ERR_BAD_RESPONSE\\", - \\"ERR_BAD_REQUEST\\", - \\"ERR_CANCELED\\" + "ERR_BAD_OPTION_VALUE", + "ERR_BAD_OPTION", + "ECONNABORTED", + "ETIMEDOUT", + "ERR_NETWORK", + "ERR_FR_TOO_MANY_REDIRECTS", + "ERR_DEPRECATED", + "ERR_BAD_RESPONSE", + "ERR_BAD_REQUEST", + "ERR_CANCELED" ].forEach(function(code) { descriptors[code] = { value: code }; }); Object.defineProperties(AxiosError, descriptors); - Object.defineProperty(prototype, \\"isAxiosError\\", { value: true }); + Object.defineProperty(prototype, "isAxiosError", { value: true }); AxiosError.from = function(error, code, config, request, response, customProps) { var axiosError = Object.create(prototype); utils.toFlatObject(error, axiosError, function filter(obj) { @@ -416,8 +416,8 @@ var require_AxiosError = __commonJS({ // node_modules/axios/lib/defaults/transitional.js var require_transitional = __commonJS({ - \\"node_modules/axios/lib/defaults/transitional.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/defaults/transitional.js"(exports2, module2) { + "use strict"; module2.exports = { silentJSONParsing: true, forcedJSONParsing: true, @@ -428,38 +428,38 @@ var require_transitional = __commonJS({ // node_modules/axios/lib/helpers/toFormData.js var require_toFormData = __commonJS({ - \\"node_modules/axios/lib/helpers/toFormData.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/toFormData.js"(exports2, module2) { + "use strict"; var utils = require_utils(); function toFormData(obj, formData) { formData = formData || new FormData(); var stack = []; function convertValue(value) { if (value === null) - return \\"\\"; + return ""; if (utils.isDate(value)) { return value.toISOString(); } if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) { - return typeof Blob === \\"function\\" ? new Blob([value]) : Buffer.from(value); + return typeof Blob === "function" ? new Blob([value]) : Buffer.from(value); } return value; } function build(data, parentKey) { if (utils.isPlainObject(data) || utils.isArray(data)) { if (stack.indexOf(data) !== -1) { - throw Error(\\"Circular reference detected in \\" + parentKey); + throw Error("Circular reference detected in " + parentKey); } stack.push(data); utils.forEach(data, function each(value, key) { if (utils.isUndefined(value)) return; - var fullKey = parentKey ? parentKey + \\".\\" + key : key; + var fullKey = parentKey ? parentKey + "." + key : key; var arr; - if (value && !parentKey && typeof value === \\"object\\") { - if (utils.endsWith(key, \\"{}\\")) { + if (value && !parentKey && typeof value === "object") { + if (utils.endsWith(key, "{}")) { value = JSON.stringify(value); - } else if (utils.endsWith(key, \\"[]\\") && (arr = utils.toArray(value))) { + } else if (utils.endsWith(key, "[]") && (arr = utils.toArray(value))) { arr.forEach(function(el) { !utils.isUndefined(el) && formData.append(fullKey, convertValue(el)); }); @@ -482,8 +482,8 @@ var require_toFormData = __commonJS({ // node_modules/axios/lib/core/settle.js var require_settle = __commonJS({ - \\"node_modules/axios/lib/core/settle.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/core/settle.js"(exports2, module2) { + "use strict"; var AxiosError = require_AxiosError(); module2.exports = function settle(resolve, reject, response) { var validateStatus = response.config.validateStatus; @@ -491,7 +491,7 @@ var require_settle = __commonJS({ resolve(response); } else { reject(new AxiosError( - \\"Request failed with status code \\" + response.status, + "Request failed with status code " + response.status, [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, @@ -504,34 +504,34 @@ var require_settle = __commonJS({ // node_modules/axios/lib/helpers/cookies.js var require_cookies = __commonJS({ - \\"node_modules/axios/lib/helpers/cookies.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/cookies.js"(exports2, module2) { + "use strict"; var utils = require_utils(); module2.exports = utils.isStandardBrowserEnv() ? function standardBrowserEnv() { return { write: function write(name, value, expires, path, domain, secure) { var cookie = []; - cookie.push(name + \\"=\\" + encodeURIComponent(value)); + cookie.push(name + "=" + encodeURIComponent(value)); if (utils.isNumber(expires)) { - cookie.push(\\"expires=\\" + new Date(expires).toGMTString()); + cookie.push("expires=" + new Date(expires).toGMTString()); } if (utils.isString(path)) { - cookie.push(\\"path=\\" + path); + cookie.push("path=" + path); } if (utils.isString(domain)) { - cookie.push(\\"domain=\\" + domain); + cookie.push("domain=" + domain); } if (secure === true) { - cookie.push(\\"secure\\"); + cookie.push("secure"); } - document.cookie = cookie.join(\\"; \\"); + document.cookie = cookie.join("; "); }, read: function read(name) { - var match = document.cookie.match(new RegExp(\\"(^|;\\\\\\\\s*)(\\" + name + \\")=([^;]*)\\")); + var match = document.cookie.match(new RegExp("(^|;\\\\s*)(" + name + ")=([^;]*)")); return match ? decodeURIComponent(match[3]) : null; }, remove: function remove(name) { - this.write(name, \\"\\", Date.now() - 864e5); + this.write(name, "", Date.now() - 864e5); } }; }() : function nonStandardBrowserEnv() { @@ -550,28 +550,28 @@ var require_cookies = __commonJS({ // node_modules/axios/lib/helpers/isAbsoluteURL.js var require_isAbsoluteURL = __commonJS({ - \\"node_modules/axios/lib/helpers/isAbsoluteURL.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/isAbsoluteURL.js"(exports2, module2) { + "use strict"; module2.exports = function isAbsoluteURL(url) { - return /^([a-z][a-z\\\\d+\\\\-.]*:)?\\\\/\\\\//i.test(url); + return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url); }; } }); // node_modules/axios/lib/helpers/combineURLs.js var require_combineURLs = __commonJS({ - \\"node_modules/axios/lib/helpers/combineURLs.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/combineURLs.js"(exports2, module2) { + "use strict"; module2.exports = function combineURLs(baseURL, relativeURL) { - return relativeURL ? baseURL.replace(/\\\\/+$/, \\"\\") + \\"/\\" + relativeURL.replace(/^\\\\/+/, \\"\\") : baseURL; + return relativeURL ? baseURL.replace(/\\/+$/, "") + "/" + relativeURL.replace(/^\\/+/, "") : baseURL; }; } }); // node_modules/axios/lib/core/buildFullPath.js var require_buildFullPath = __commonJS({ - \\"node_modules/axios/lib/core/buildFullPath.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/core/buildFullPath.js"(exports2, module2) { + "use strict"; var isAbsoluteURL = require_isAbsoluteURL(); var combineURLs = require_combineURLs(); module2.exports = function buildFullPath(baseURL, requestedURL) { @@ -585,27 +585,27 @@ var require_buildFullPath = __commonJS({ // node_modules/axios/lib/helpers/parseHeaders.js var require_parseHeaders = __commonJS({ - \\"node_modules/axios/lib/helpers/parseHeaders.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/parseHeaders.js"(exports2, module2) { + "use strict"; var utils = require_utils(); var ignoreDuplicateOf = [ - \\"age\\", - \\"authorization\\", - \\"content-length\\", - \\"content-type\\", - \\"etag\\", - \\"expires\\", - \\"from\\", - \\"host\\", - \\"if-modified-since\\", - \\"if-unmodified-since\\", - \\"last-modified\\", - \\"location\\", - \\"max-forwards\\", - \\"proxy-authorization\\", - \\"referer\\", - \\"retry-after\\", - \\"user-agent\\" + "age", + "authorization", + "content-length", + "content-type", + "etag", + "expires", + "from", + "host", + "if-modified-since", + "if-unmodified-since", + "last-modified", + "location", + "max-forwards", + "proxy-authorization", + "referer", + "retry-after", + "user-agent" ]; module2.exports = function parseHeaders(headers) { var parsed = {}; @@ -615,18 +615,18 @@ var require_parseHeaders = __commonJS({ if (!headers) { return parsed; } - utils.forEach(headers.split(\\"\\\\n\\"), function parser(line) { - i = line.indexOf(\\":\\"); + utils.forEach(headers.split("\\n"), function parser(line) { + i = line.indexOf(":"); key = utils.trim(line.substr(0, i)).toLowerCase(); val = utils.trim(line.substr(i + 1)); if (key) { if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) { return; } - if (key === \\"set-cookie\\") { + if (key === "set-cookie") { parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]); } else { - parsed[key] = parsed[key] ? parsed[key] + \\", \\" + val : val; + parsed[key] = parsed[key] ? parsed[key] + ", " + val : val; } } }); @@ -637,29 +637,29 @@ var require_parseHeaders = __commonJS({ // node_modules/axios/lib/helpers/isURLSameOrigin.js var require_isURLSameOrigin = __commonJS({ - \\"node_modules/axios/lib/helpers/isURLSameOrigin.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/isURLSameOrigin.js"(exports2, module2) { + "use strict"; var utils = require_utils(); module2.exports = utils.isStandardBrowserEnv() ? function standardBrowserEnv() { var msie = /(msie|trident)/i.test(navigator.userAgent); - var urlParsingNode = document.createElement(\\"a\\"); + var urlParsingNode = document.createElement("a"); var originURL; function resolveURL(url) { var href = url; if (msie) { - urlParsingNode.setAttribute(\\"href\\", href); + urlParsingNode.setAttribute("href", href); href = urlParsingNode.href; } - urlParsingNode.setAttribute(\\"href\\", href); + urlParsingNode.setAttribute("href", href); return { href: urlParsingNode.href, - protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, \\"\\") : \\"\\", + protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, "") : "", host: urlParsingNode.host, - search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\\\?/, \\"\\") : \\"\\", - hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, \\"\\") : \\"\\", + search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, "") : "", + hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, "") : "", hostname: urlParsingNode.hostname, port: urlParsingNode.port, - pathname: urlParsingNode.pathname.charAt(0) === \\"/\\" ? urlParsingNode.pathname : \\"/\\" + urlParsingNode.pathname + pathname: urlParsingNode.pathname.charAt(0) === "/" ? urlParsingNode.pathname : "/" + urlParsingNode.pathname }; } originURL = resolveURL(window.location.href); @@ -677,13 +677,13 @@ var require_isURLSameOrigin = __commonJS({ // node_modules/axios/lib/cancel/CanceledError.js var require_CanceledError = __commonJS({ - \\"node_modules/axios/lib/cancel/CanceledError.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/cancel/CanceledError.js"(exports2, module2) { + "use strict"; var AxiosError = require_AxiosError(); var utils = require_utils(); function CanceledError(message) { - AxiosError.call(this, message == null ? \\"canceled\\" : message, AxiosError.ERR_CANCELED); - this.name = \\"CanceledError\\"; + AxiosError.call(this, message == null ? "canceled" : message, AxiosError.ERR_CANCELED); + this.name = "CanceledError"; } utils.inherits(CanceledError, AxiosError, { __CANCEL__: true @@ -694,19 +694,19 @@ var require_CanceledError = __commonJS({ // node_modules/axios/lib/helpers/parseProtocol.js var require_parseProtocol = __commonJS({ - \\"node_modules/axios/lib/helpers/parseProtocol.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/parseProtocol.js"(exports2, module2) { + "use strict"; module2.exports = function parseProtocol(url) { - var match = /^([-+\\\\w]{1,25})(:?\\\\/\\\\/|:)/.exec(url); - return match && match[1] || \\"\\"; + var match = /^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(url); + return match && match[1] || ""; }; } }); // node_modules/axios/lib/adapters/xhr.js var require_xhr = __commonJS({ - \\"node_modules/axios/lib/adapters/xhr.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/adapters/xhr.js"(exports2, module2) { + "use strict"; var utils = require_utils(); var settle = require_settle(); var cookies = require_cookies(); @@ -729,17 +729,17 @@ var require_xhr = __commonJS({ config.cancelToken.unsubscribe(onCanceled); } if (config.signal) { - config.signal.removeEventListener(\\"abort\\", onCanceled); + config.signal.removeEventListener("abort", onCanceled); } } if (utils.isFormData(requestData) && utils.isStandardBrowserEnv()) { - delete requestHeaders[\\"Content-Type\\"]; + delete requestHeaders["Content-Type"]; } var request = new XMLHttpRequest(); if (config.auth) { - var username = config.auth.username || \\"\\"; - var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : \\"\\"; - requestHeaders.Authorization = \\"Basic \\" + btoa(username + \\":\\" + password); + var username = config.auth.username || ""; + var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : ""; + requestHeaders.Authorization = "Basic " + btoa(username + ":" + password); } var fullPath = buildFullPath(config.baseURL, config.url); request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true); @@ -748,8 +748,8 @@ var require_xhr = __commonJS({ if (!request) { return; } - var responseHeaders = \\"getAllResponseHeaders\\" in request ? parseHeaders(request.getAllResponseHeaders()) : null; - var responseData = !responseType || responseType === \\"text\\" || responseType === \\"json\\" ? request.responseText : request.response; + var responseHeaders = "getAllResponseHeaders" in request ? parseHeaders(request.getAllResponseHeaders()) : null; + var responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response; var response = { data: responseData, status: request.status, @@ -767,14 +767,14 @@ var require_xhr = __commonJS({ }, response); request = null; } - if (\\"onloadend\\" in request) { + if ("onloadend" in request) { request.onloadend = onloadend; } else { request.onreadystatechange = function handleLoad() { if (!request || request.readyState !== 4) { return; } - if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf(\\"file:\\") === 0)) { + if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf("file:") === 0)) { return; } setTimeout(onloadend); @@ -784,15 +784,15 @@ var require_xhr = __commonJS({ if (!request) { return; } - reject(new AxiosError(\\"Request aborted\\", AxiosError.ECONNABORTED, config, request)); + reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config, request)); request = null; }; request.onerror = function handleError() { - reject(new AxiosError(\\"Network Error\\", AxiosError.ERR_NETWORK, config, request, request)); + reject(new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request, request)); request = null; }; request.ontimeout = function handleTimeout() { - var timeoutErrorMessage = config.timeout ? \\"timeout of \\" + config.timeout + \\"ms exceeded\\" : \\"timeout exceeded\\"; + var timeoutErrorMessage = config.timeout ? "timeout of " + config.timeout + "ms exceeded" : "timeout exceeded"; var transitional = config.transitional || transitionalDefaults; if (config.timeoutErrorMessage) { timeoutErrorMessage = config.timeoutErrorMessage; @@ -811,9 +811,9 @@ var require_xhr = __commonJS({ requestHeaders[config.xsrfHeaderName] = xsrfValue; } } - if (\\"setRequestHeader\\" in request) { + if ("setRequestHeader" in request) { utils.forEach(requestHeaders, function setRequestHeader(val, key) { - if (typeof requestData === \\"undefined\\" && key.toLowerCase() === \\"content-type\\") { + if (typeof requestData === "undefined" && key.toLowerCase() === "content-type") { delete requestHeaders[key]; } else { request.setRequestHeader(key, val); @@ -823,14 +823,14 @@ var require_xhr = __commonJS({ if (!utils.isUndefined(config.withCredentials)) { request.withCredentials = !!config.withCredentials; } - if (responseType && responseType !== \\"json\\") { + if (responseType && responseType !== "json") { request.responseType = config.responseType; } - if (typeof config.onDownloadProgress === \\"function\\") { - request.addEventListener(\\"progress\\", config.onDownloadProgress); + if (typeof config.onDownloadProgress === "function") { + request.addEventListener("progress", config.onDownloadProgress); } - if (typeof config.onUploadProgress === \\"function\\" && request.upload) { - request.upload.addEventListener(\\"progress\\", config.onUploadProgress); + if (typeof config.onUploadProgress === "function" && request.upload) { + request.upload.addEventListener("progress", config.onUploadProgress); } if (config.cancelToken || config.signal) { onCanceled = function(cancel) { @@ -843,15 +843,15 @@ var require_xhr = __commonJS({ }; config.cancelToken && config.cancelToken.subscribe(onCanceled); if (config.signal) { - config.signal.aborted ? onCanceled() : config.signal.addEventListener(\\"abort\\", onCanceled); + config.signal.aborted ? onCanceled() : config.signal.addEventListener("abort", onCanceled); } } if (!requestData) { requestData = null; } var protocol = parseProtocol(fullPath); - if (protocol && [\\"http\\", \\"https\\", \\"file\\"].indexOf(protocol) === -1) { - reject(new AxiosError(\\"Unsupported protocol \\" + protocol + \\":\\", AxiosError.ERR_BAD_REQUEST, config)); + if (protocol && ["http", "https", "file"].indexOf(protocol) === -1) { + reject(new AxiosError("Unsupported protocol " + protocol + ":", AxiosError.ERR_BAD_REQUEST, config)); return; } request.send(requestData); @@ -862,7 +862,7 @@ var require_xhr = __commonJS({ // node_modules/debug/node_modules/ms/index.js var require_ms = __commonJS({ - \\"node_modules/debug/node_modules/ms/index.js\\"(exports2, module2) { + "node_modules/debug/node_modules/ms/index.js"(exports2, module2) { var s = 1e3; var m = s * 60; var h = m * 60; @@ -872,13 +872,13 @@ var require_ms = __commonJS({ module2.exports = function(val, options) { options = options || {}; var type = typeof val; - if (type === \\"string\\" && val.length > 0) { + if (type === "string" && val.length > 0) { return parse(val); - } else if (type === \\"number\\" && isFinite(val)) { + } else if (type === "number" && isFinite(val)) { return options.long ? fmtLong(val) : fmtShort(val); } throw new Error( - \\"val is not a non-empty string or a valid number. val=\\" + JSON.stringify(val) + "val is not a non-empty string or a valid number. val=" + JSON.stringify(val) ); }; function parse(str) { @@ -886,52 +886,52 @@ var require_ms = __commonJS({ if (str.length > 100) { return; } - var match = /^(-?(?:\\\\d+)?\\\\.?\\\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( str ); if (!match) { return; } var n = parseFloat(match[1]); - var type = (match[2] || \\"ms\\").toLowerCase(); + var type = (match[2] || "ms").toLowerCase(); switch (type) { - case \\"years\\": - case \\"year\\": - case \\"yrs\\": - case \\"yr\\": - case \\"y\\": + case "years": + case "year": + case "yrs": + case "yr": + case "y": return n * y; - case \\"weeks\\": - case \\"week\\": - case \\"w\\": + case "weeks": + case "week": + case "w": return n * w; - case \\"days\\": - case \\"day\\": - case \\"d\\": + case "days": + case "day": + case "d": return n * d; - case \\"hours\\": - case \\"hour\\": - case \\"hrs\\": - case \\"hr\\": - case \\"h\\": + case "hours": + case "hour": + case "hrs": + case "hr": + case "h": return n * h; - case \\"minutes\\": - case \\"minute\\": - case \\"mins\\": - case \\"min\\": - case \\"m\\": + case "minutes": + case "minute": + case "mins": + case "min": + case "m": return n * m; - case \\"seconds\\": - case \\"second\\": - case \\"secs\\": - case \\"sec\\": - case \\"s\\": + case "seconds": + case "second": + case "secs": + case "sec": + case "s": return n * s; - case \\"milliseconds\\": - case \\"millisecond\\": - case \\"msecs\\": - case \\"msec\\": - case \\"ms\\": + case "milliseconds": + case "millisecond": + case "msecs": + case "msec": + case "ms": return n; default: return void 0; @@ -940,45 +940,45 @@ var require_ms = __commonJS({ function fmtShort(ms) { var msAbs = Math.abs(ms); if (msAbs >= d) { - return Math.round(ms / d) + \\"d\\"; + return Math.round(ms / d) + "d"; } if (msAbs >= h) { - return Math.round(ms / h) + \\"h\\"; + return Math.round(ms / h) + "h"; } if (msAbs >= m) { - return Math.round(ms / m) + \\"m\\"; + return Math.round(ms / m) + "m"; } if (msAbs >= s) { - return Math.round(ms / s) + \\"s\\"; + return Math.round(ms / s) + "s"; } - return ms + \\"ms\\"; + return ms + "ms"; } function fmtLong(ms) { var msAbs = Math.abs(ms); if (msAbs >= d) { - return plural(ms, msAbs, d, \\"day\\"); + return plural(ms, msAbs, d, "day"); } if (msAbs >= h) { - return plural(ms, msAbs, h, \\"hour\\"); + return plural(ms, msAbs, h, "hour"); } if (msAbs >= m) { - return plural(ms, msAbs, m, \\"minute\\"); + return plural(ms, msAbs, m, "minute"); } if (msAbs >= s) { - return plural(ms, msAbs, s, \\"second\\"); + return plural(ms, msAbs, s, "second"); } - return ms + \\" ms\\"; + return ms + " ms"; } function plural(ms, msAbs, n, name) { var isPlural = msAbs >= n * 1.5; - return Math.round(ms / n) + \\" \\" + name + (isPlural ? \\"s\\" : \\"\\"); + return Math.round(ms / n) + " " + name + (isPlural ? "s" : ""); } } }); // node_modules/debug/src/common.js var require_common = __commonJS({ - \\"node_modules/debug/src/common.js\\"(exports2, module2) { + "node_modules/debug/src/common.js"(exports2, module2) { function setup(env) { createDebug.debug = createDebug; createDebug.default = createDebug; @@ -1020,17 +1020,17 @@ var require_common = __commonJS({ self.curr = curr; prevTime = curr; args[0] = createDebug.coerce(args[0]); - if (typeof args[0] !== \\"string\\") { - args.unshift(\\"%O\\"); + if (typeof args[0] !== "string") { + args.unshift("%O"); } let index = 0; args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { - if (match === \\"%%\\") { - return \\"%\\"; + if (match === "%%") { + return "%"; } index++; const formatter = createDebug.formatters[format]; - if (typeof formatter === \\"function\\") { + if (typeof formatter === "function") { const val = args[index]; match = formatter.call(self, val); args.splice(index, 1); @@ -1047,7 +1047,7 @@ var require_common = __commonJS({ debug.color = createDebug.selectColor(namespace); debug.extend = extend; debug.destroy = createDebug.destroy; - Object.defineProperty(debug, \\"enabled\\", { + Object.defineProperty(debug, "enabled", { enumerable: true, configurable: false, get: () => { @@ -1064,13 +1064,13 @@ var require_common = __commonJS({ enableOverride = v; } }); - if (typeof createDebug.init === \\"function\\") { + if (typeof createDebug.init === "function") { createDebug.init(debug); } return debug; } function extend(namespace, delimiter) { - const newDebug = createDebug(this.namespace + (typeof delimiter === \\"undefined\\" ? \\":\\" : delimiter) + namespace); + const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace); newDebug.log = this.log; return newDebug; } @@ -1080,30 +1080,30 @@ var require_common = __commonJS({ createDebug.names = []; createDebug.skips = []; let i; - const split = (typeof namespaces === \\"string\\" ? namespaces : \\"\\").split(/[\\\\s,]+/); + const split = (typeof namespaces === "string" ? namespaces : "").split(/[\\s,]+/); const len = split.length; for (i = 0; i < len; i++) { if (!split[i]) { continue; } - namespaces = split[i].replace(/\\\\*/g, \\".*?\\"); - if (namespaces[0] === \\"-\\") { - createDebug.skips.push(new RegExp(\\"^\\" + namespaces.slice(1) + \\"$\\")); + namespaces = split[i].replace(/\\*/g, ".*?"); + if (namespaces[0] === "-") { + createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$")); } else { - createDebug.names.push(new RegExp(\\"^\\" + namespaces + \\"$\\")); + createDebug.names.push(new RegExp("^" + namespaces + "$")); } } } function disable() { const namespaces = [ ...createDebug.names.map(toNamespace), - ...createDebug.skips.map(toNamespace).map((namespace) => \\"-\\" + namespace) - ].join(\\",\\"); - createDebug.enable(\\"\\"); + ...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace) + ].join(","); + createDebug.enable(""); return namespaces; } function enabled(name) { - if (name[name.length - 1] === \\"*\\") { + if (name[name.length - 1] === "*") { return true; } let i; @@ -1121,7 +1121,7 @@ var require_common = __commonJS({ return false; } function toNamespace(regexp) { - return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\\\\.\\\\*\\\\?$/, \\"*\\"); + return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\\.\\*\\?$/, "*"); } function coerce(val) { if (val instanceof Error) { @@ -1130,7 +1130,7 @@ var require_common = __commonJS({ return val; } function destroy() { - console.warn(\\"Instance method \`debug.destroy()\` is deprecated and no longer does anything. It will be removed in the next major version of \`debug\`.\\"); + console.warn("Instance method \`debug.destroy()\` is deprecated and no longer does anything. It will be removed in the next major version of \`debug\`."); } createDebug.enable(createDebug.load()); return createDebug; @@ -1141,7 +1141,7 @@ var require_common = __commonJS({ // node_modules/debug/src/browser.js var require_browser = __commonJS({ - \\"node_modules/debug/src/browser.js\\"(exports2, module2) { + "node_modules/debug/src/browser.js"(exports2, module2) { exports2.formatArgs = formatArgs; exports2.save = save; exports2.load = load; @@ -1152,112 +1152,112 @@ var require_browser = __commonJS({ return () => { if (!warned) { warned = true; - console.warn(\\"Instance method \`debug.destroy()\` is deprecated and no longer does anything. It will be removed in the next major version of \`debug\`.\\"); + console.warn("Instance method \`debug.destroy()\` is deprecated and no longer does anything. It will be removed in the next major version of \`debug\`."); } }; })(); exports2.colors = [ - \\"#0000CC\\", - \\"#0000FF\\", - \\"#0033CC\\", - \\"#0033FF\\", - \\"#0066CC\\", - \\"#0066FF\\", - \\"#0099CC\\", - \\"#0099FF\\", - \\"#00CC00\\", - \\"#00CC33\\", - \\"#00CC66\\", - \\"#00CC99\\", - \\"#00CCCC\\", - \\"#00CCFF\\", - \\"#3300CC\\", - \\"#3300FF\\", - \\"#3333CC\\", - \\"#3333FF\\", - \\"#3366CC\\", - \\"#3366FF\\", - \\"#3399CC\\", - \\"#3399FF\\", - \\"#33CC00\\", - \\"#33CC33\\", - \\"#33CC66\\", - \\"#33CC99\\", - \\"#33CCCC\\", - \\"#33CCFF\\", - \\"#6600CC\\", - \\"#6600FF\\", - \\"#6633CC\\", - \\"#6633FF\\", - \\"#66CC00\\", - \\"#66CC33\\", - \\"#9900CC\\", - \\"#9900FF\\", - \\"#9933CC\\", - \\"#9933FF\\", - \\"#99CC00\\", - \\"#99CC33\\", - \\"#CC0000\\", - \\"#CC0033\\", - \\"#CC0066\\", - \\"#CC0099\\", - \\"#CC00CC\\", - \\"#CC00FF\\", - \\"#CC3300\\", - \\"#CC3333\\", - \\"#CC3366\\", - \\"#CC3399\\", - \\"#CC33CC\\", - \\"#CC33FF\\", - \\"#CC6600\\", - \\"#CC6633\\", - \\"#CC9900\\", - \\"#CC9933\\", - \\"#CCCC00\\", - \\"#CCCC33\\", - \\"#FF0000\\", - \\"#FF0033\\", - \\"#FF0066\\", - \\"#FF0099\\", - \\"#FF00CC\\", - \\"#FF00FF\\", - \\"#FF3300\\", - \\"#FF3333\\", - \\"#FF3366\\", - \\"#FF3399\\", - \\"#FF33CC\\", - \\"#FF33FF\\", - \\"#FF6600\\", - \\"#FF6633\\", - \\"#FF9900\\", - \\"#FF9933\\", - \\"#FFCC00\\", - \\"#FFCC33\\" + "#0000CC", + "#0000FF", + "#0033CC", + "#0033FF", + "#0066CC", + "#0066FF", + "#0099CC", + "#0099FF", + "#00CC00", + "#00CC33", + "#00CC66", + "#00CC99", + "#00CCCC", + "#00CCFF", + "#3300CC", + "#3300FF", + "#3333CC", + "#3333FF", + "#3366CC", + "#3366FF", + "#3399CC", + "#3399FF", + "#33CC00", + "#33CC33", + "#33CC66", + "#33CC99", + "#33CCCC", + "#33CCFF", + "#6600CC", + "#6600FF", + "#6633CC", + "#6633FF", + "#66CC00", + "#66CC33", + "#9900CC", + "#9900FF", + "#9933CC", + "#9933FF", + "#99CC00", + "#99CC33", + "#CC0000", + "#CC0033", + "#CC0066", + "#CC0099", + "#CC00CC", + "#CC00FF", + "#CC3300", + "#CC3333", + "#CC3366", + "#CC3399", + "#CC33CC", + "#CC33FF", + "#CC6600", + "#CC6633", + "#CC9900", + "#CC9933", + "#CCCC00", + "#CCCC33", + "#FF0000", + "#FF0033", + "#FF0066", + "#FF0099", + "#FF00CC", + "#FF00FF", + "#FF3300", + "#FF3333", + "#FF3366", + "#FF3399", + "#FF33CC", + "#FF33FF", + "#FF6600", + "#FF6633", + "#FF9900", + "#FF9933", + "#FFCC00", + "#FFCC33" ]; function useColors() { - if (typeof window !== \\"undefined\\" && window.process && (window.process.type === \\"renderer\\" || window.process.__nwjs)) { + if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) { return true; } - if (typeof navigator !== \\"undefined\\" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\\\/(\\\\d+)/)) { + if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) { return false; } - return typeof document !== \\"undefined\\" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== \\"undefined\\" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== \\"undefined\\" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\\\/(\\\\d+)/) && parseInt(RegExp.$1, 10) >= 31 || typeof navigator !== \\"undefined\\" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\\\/(\\\\d+)/); + return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/); } function formatArgs(args) { - args[0] = (this.useColors ? \\"%c\\" : \\"\\") + this.namespace + (this.useColors ? \\" %c\\" : \\" \\") + args[0] + (this.useColors ? \\"%c \\" : \\" \\") + \\"+\\" + module2.exports.humanize(this.diff); + args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff); if (!this.useColors) { return; } - const c = \\"color: \\" + this.color; - args.splice(1, 0, c, \\"color: inherit\\"); + const c = "color: " + this.color; + args.splice(1, 0, c, "color: inherit"); let index = 0; let lastC = 0; args[0].replace(/%[a-zA-Z%]/g, (match) => { - if (match === \\"%%\\") { + if (match === "%%") { return; } index++; - if (match === \\"%c\\") { + if (match === "%c") { lastC = index; } }); @@ -1268,9 +1268,9 @@ var require_browser = __commonJS({ function save(namespaces) { try { if (namespaces) { - exports2.storage.setItem(\\"debug\\", namespaces); + exports2.storage.setItem("debug", namespaces); } else { - exports2.storage.removeItem(\\"debug\\"); + exports2.storage.removeItem("debug"); } } catch (error) { } @@ -1278,10 +1278,10 @@ var require_browser = __commonJS({ function load() { let r; try { - r = exports2.storage.getItem(\\"debug\\"); + r = exports2.storage.getItem("debug"); } catch (error) { } - if (!r && typeof process !== \\"undefined\\" && \\"env\\" in process) { + if (!r && typeof process !== "undefined" && "env" in process) { r = process.env.DEBUG; } return r; @@ -1298,7 +1298,7 @@ var require_browser = __commonJS({ try { return JSON.stringify(v); } catch (error) { - return \\"[UnexpectedJSONParseError]: \\" + error.message; + return "[UnexpectedJSONParseError]: " + error.message; } }; } @@ -1306,12 +1306,12 @@ var require_browser = __commonJS({ // node_modules/has-flag/index.js var require_has_flag = __commonJS({ - \\"node_modules/has-flag/index.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/has-flag/index.js"(exports2, module2) { + "use strict"; module2.exports = (flag, argv = process.argv) => { - const prefix = flag.startsWith(\\"-\\") ? \\"\\" : flag.length === 1 ? \\"-\\" : \\"--\\"; + const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--"; const position = argv.indexOf(prefix + flag); - const terminatorPosition = argv.indexOf(\\"--\\"); + const terminatorPosition = argv.indexOf("--"); return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); }; } @@ -1319,22 +1319,22 @@ var require_has_flag = __commonJS({ // node_modules/supports-color/index.js var require_supports_color = __commonJS({ - \\"node_modules/supports-color/index.js\\"(exports2, module2) { - \\"use strict\\"; - var os = require(\\"os\\"); - var tty = require(\\"tty\\"); + "node_modules/supports-color/index.js"(exports2, module2) { + "use strict"; + var os = require("os"); + var tty = require("tty"); var hasFlag = require_has_flag(); var { env } = process; var forceColor; - if (hasFlag(\\"no-color\\") || hasFlag(\\"no-colors\\") || hasFlag(\\"color=false\\") || hasFlag(\\"color=never\\")) { + if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) { forceColor = 0; - } else if (hasFlag(\\"color\\") || hasFlag(\\"colors\\") || hasFlag(\\"color=true\\") || hasFlag(\\"color=always\\")) { + } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) { forceColor = 1; } - if (\\"FORCE_COLOR\\" in env) { - if (env.FORCE_COLOR === \\"true\\") { + if ("FORCE_COLOR" in env) { + if (env.FORCE_COLOR === "true") { forceColor = 1; - } else if (env.FORCE_COLOR === \\"false\\") { + } else if (env.FORCE_COLOR === "false") { forceColor = 0; } else { forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3); @@ -1355,44 +1355,44 @@ var require_supports_color = __commonJS({ if (forceColor === 0) { return 0; } - if (hasFlag(\\"color=16m\\") || hasFlag(\\"color=full\\") || hasFlag(\\"color=truecolor\\")) { + if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) { return 3; } - if (hasFlag(\\"color=256\\")) { + if (hasFlag("color=256")) { return 2; } if (haveStream && !streamIsTTY && forceColor === void 0) { return 0; } const min = forceColor || 0; - if (env.TERM === \\"dumb\\") { + if (env.TERM === "dumb") { return min; } - if (process.platform === \\"win32\\") { - const osRelease = os.release().split(\\".\\"); + if (process.platform === "win32") { + const osRelease = os.release().split("."); if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) { return Number(osRelease[2]) >= 14931 ? 3 : 2; } return 1; } - if (\\"CI\\" in env) { - if ([\\"TRAVIS\\", \\"CIRCLECI\\", \\"APPVEYOR\\", \\"GITLAB_CI\\", \\"GITHUB_ACTIONS\\", \\"BUILDKITE\\"].some((sign) => sign in env) || env.CI_NAME === \\"codeship\\") { + if ("CI" in env) { + if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") { return 1; } return min; } - if (\\"TEAMCITY_VERSION\\" in env) { - return /^(9\\\\.(0*[1-9]\\\\d*)\\\\.|\\\\d{2,}\\\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; + if ("TEAMCITY_VERSION" in env) { + return /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; } - if (env.COLORTERM === \\"truecolor\\") { + if (env.COLORTERM === "truecolor") { return 3; } - if (\\"TERM_PROGRAM\\" in env) { - const version = parseInt((env.TERM_PROGRAM_VERSION || \\"\\").split(\\".\\")[0], 10); + if ("TERM_PROGRAM" in env) { + const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10); switch (env.TERM_PROGRAM) { - case \\"iTerm.app\\": + case "iTerm.app": return version >= 3 ? 3 : 2; - case \\"Apple_Terminal\\": + case "Apple_Terminal": return 2; } } @@ -1402,7 +1402,7 @@ var require_supports_color = __commonJS({ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { return 1; } - if (\\"COLORTERM\\" in env) { + if ("COLORTERM" in env) { return 1; } return min; @@ -1421,9 +1421,9 @@ var require_supports_color = __commonJS({ // node_modules/debug/src/node.js var require_node = __commonJS({ - \\"node_modules/debug/src/node.js\\"(exports2, module2) { - var tty = require(\\"tty\\"); - var util = require(\\"util\\"); + "node_modules/debug/src/node.js"(exports2, module2) { + var tty = require("tty"); + var util = require("util"); exports2.init = init; exports2.log = log; exports2.formatArgs = formatArgs; @@ -1433,7 +1433,7 @@ var require_node = __commonJS({ exports2.destroy = util.deprecate( () => { }, - \\"Instance method \`debug.destroy()\` is deprecated and no longer does anything. It will be removed in the next major version of \`debug\`.\\" + "Instance method \`debug.destroy()\` is deprecated and no longer does anything. It will be removed in the next major version of \`debug\`." ); exports2.colors = [6, 2, 3, 4, 5, 1]; try { @@ -1531,7 +1531,7 @@ var require_node = __commonJS({ val = true; } else if (/^(no|off|false|disabled)$/i.test(val)) { val = false; - } else if (val === \\"null\\") { + } else if (val === "null") { val = null; } else { val = Number(val); @@ -1540,28 +1540,28 @@ var require_node = __commonJS({ return obj; }, {}); function useColors() { - return \\"colors\\" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd); + return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd); } function formatArgs(args) { const { namespace: name, useColors: useColors2 } = this; if (useColors2) { const c = this.color; - const colorCode = \\"\\\\x1B[3\\" + (c < 8 ? c : \\"8;5;\\" + c); - const prefix = \` \${colorCode};1m\${name} \\\\x1B[0m\`; - args[0] = prefix + args[0].split(\\"\\\\n\\").join(\\"\\\\n\\" + prefix); - args.push(colorCode + \\"m+\\" + module2.exports.humanize(this.diff) + \\"\\\\x1B[0m\\"); + const colorCode = "\\x1B[3" + (c < 8 ? c : "8;5;" + c); + const prefix = \` \${colorCode};1m\${name} \\x1B[0m\`; + args[0] = prefix + args[0].split("\\n").join("\\n" + prefix); + args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\\x1B[0m"); } else { - args[0] = getDate() + name + \\" \\" + args[0]; + args[0] = getDate() + name + " " + args[0]; } } function getDate() { if (exports2.inspectOpts.hideDate) { - return \\"\\"; + return ""; } - return new Date().toISOString() + \\" \\"; + return new Date().toISOString() + " "; } function log(...args) { - return process.stderr.write(util.format(...args) + \\"\\\\n\\"); + return process.stderr.write(util.format(...args) + "\\n"); } function save(namespaces) { if (namespaces) { @@ -1584,7 +1584,7 @@ var require_node = __commonJS({ var { formatters } = module2.exports; formatters.o = function(v) { this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts).split(\\"\\\\n\\").map((str) => str.trim()).join(\\" \\"); + return util.inspect(v, this.inspectOpts).split("\\n").map((str) => str.trim()).join(" "); }; formatters.O = function(v) { this.inspectOpts.colors = this.useColors; @@ -1595,8 +1595,8 @@ var require_node = __commonJS({ // node_modules/debug/src/index.js var require_src = __commonJS({ - \\"node_modules/debug/src/index.js\\"(exports2, module2) { - if (typeof process === \\"undefined\\" || process.type === \\"renderer\\" || process.browser === true || process.__nwjs) { + "node_modules/debug/src/index.js"(exports2, module2) { + if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) { module2.exports = require_browser(); } else { module2.exports = require_node(); @@ -1606,15 +1606,15 @@ var require_src = __commonJS({ // node_modules/follow-redirects/debug.js var require_debug = __commonJS({ - \\"node_modules/follow-redirects/debug.js\\"(exports2, module2) { + "node_modules/follow-redirects/debug.js"(exports2, module2) { var debug; module2.exports = function() { if (!debug) { try { - debug = require_src()(\\"follow-redirects\\"); + debug = require_src()("follow-redirects"); } catch (error) { } - if (typeof debug !== \\"function\\") { + if (typeof debug !== "function") { debug = function() { }; } @@ -1626,15 +1626,15 @@ var require_debug = __commonJS({ // node_modules/follow-redirects/index.js var require_follow_redirects = __commonJS({ - \\"node_modules/follow-redirects/index.js\\"(exports2, module2) { - var url = require(\\"url\\"); + "node_modules/follow-redirects/index.js"(exports2, module2) { + var url = require("url"); var URL = url.URL; - var http = require(\\"http\\"); - var https = require(\\"https\\"); - var Writable = require(\\"stream\\").Writable; - var assert = require(\\"assert\\"); + var http = require("http"); + var https = require("https"); + var Writable = require("stream").Writable; + var assert = require("assert"); var debug = require_debug(); - var events = [\\"abort\\", \\"aborted\\", \\"connect\\", \\"error\\", \\"socket\\", \\"timeout\\"]; + var events = ["abort", "aborted", "connect", "error", "socket", "timeout"]; var eventHandlers = /* @__PURE__ */ Object.create(null); events.forEach(function(event) { eventHandlers[event] = function(arg1, arg2, arg3) { @@ -1642,20 +1642,20 @@ var require_follow_redirects = __commonJS({ }; }); var RedirectionError = createErrorType( - \\"ERR_FR_REDIRECTION_FAILURE\\", - \\"Redirected request failed\\" + "ERR_FR_REDIRECTION_FAILURE", + "Redirected request failed" ); var TooManyRedirectsError = createErrorType( - \\"ERR_FR_TOO_MANY_REDIRECTS\\", - \\"Maximum number of redirects exceeded\\" + "ERR_FR_TOO_MANY_REDIRECTS", + "Maximum number of redirects exceeded" ); var MaxBodyLengthExceededError = createErrorType( - \\"ERR_FR_MAX_BODY_LENGTH_EXCEEDED\\", - \\"Request body larger than maxBodyLength limit\\" + "ERR_FR_MAX_BODY_LENGTH_EXCEEDED", + "Request body larger than maxBodyLength limit" ); var WriteAfterEndError = createErrorType( - \\"ERR_STREAM_WRITE_AFTER_END\\", - \\"write after end\\" + "ERR_STREAM_WRITE_AFTER_END", + "write after end" ); function RedirectableRequest(options, responseCallback) { Writable.call(this); @@ -1668,7 +1668,7 @@ var require_follow_redirects = __commonJS({ this._requestBodyLength = 0; this._requestBodyBuffers = []; if (responseCallback) { - this.on(\\"response\\", responseCallback); + this.on("response", responseCallback); } var self = this; this._onNativeResponse = function(response) { @@ -1679,16 +1679,16 @@ var require_follow_redirects = __commonJS({ RedirectableRequest.prototype = Object.create(Writable.prototype); RedirectableRequest.prototype.abort = function() { abortRequest(this._currentRequest); - this.emit(\\"abort\\"); + this.emit("abort"); }; RedirectableRequest.prototype.write = function(data, encoding, callback) { if (this._ending) { throw new WriteAfterEndError(); } - if (!(typeof data === \\"string\\" || typeof data === \\"object\\" && \\"length\\" in data)) { - throw new TypeError(\\"data should be a string, Buffer or Uint8Array\\"); + if (!(typeof data === "string" || typeof data === "object" && "length" in data)) { + throw new TypeError("data should be a string, Buffer or Uint8Array"); } - if (typeof encoding === \\"function\\") { + if (typeof encoding === "function") { callback = encoding; encoding = null; } @@ -1703,15 +1703,15 @@ var require_follow_redirects = __commonJS({ this._requestBodyBuffers.push({ data, encoding }); this._currentRequest.write(data, encoding, callback); } else { - this.emit(\\"error\\", new MaxBodyLengthExceededError()); + this.emit("error", new MaxBodyLengthExceededError()); this.abort(); } }; RedirectableRequest.prototype.end = function(data, encoding, callback) { - if (typeof data === \\"function\\") { + if (typeof data === "function") { callback = data; data = encoding = null; - } else if (typeof encoding === \\"function\\") { + } else if (typeof encoding === "function") { callback = encoding; encoding = null; } @@ -1740,15 +1740,15 @@ var require_follow_redirects = __commonJS({ var self = this; function destroyOnTimeout(socket) { socket.setTimeout(msecs); - socket.removeListener(\\"timeout\\", socket.destroy); - socket.addListener(\\"timeout\\", socket.destroy); + socket.removeListener("timeout", socket.destroy); + socket.addListener("timeout", socket.destroy); } function startTimer(socket) { if (self._timeout) { clearTimeout(self._timeout); } self._timeout = setTimeout(function() { - self.emit(\\"timeout\\"); + self.emit("timeout"); clearTimer(); }, msecs); destroyOnTimeout(socket); @@ -1758,41 +1758,41 @@ var require_follow_redirects = __commonJS({ clearTimeout(self._timeout); self._timeout = null; } - self.removeListener(\\"abort\\", clearTimer); - self.removeListener(\\"error\\", clearTimer); - self.removeListener(\\"response\\", clearTimer); + self.removeListener("abort", clearTimer); + self.removeListener("error", clearTimer); + self.removeListener("response", clearTimer); if (callback) { - self.removeListener(\\"timeout\\", callback); + self.removeListener("timeout", callback); } if (!self.socket) { - self._currentRequest.removeListener(\\"socket\\", startTimer); + self._currentRequest.removeListener("socket", startTimer); } } if (callback) { - this.on(\\"timeout\\", callback); + this.on("timeout", callback); } if (this.socket) { startTimer(this.socket); } else { - this._currentRequest.once(\\"socket\\", startTimer); + this._currentRequest.once("socket", startTimer); } - this.on(\\"socket\\", destroyOnTimeout); - this.on(\\"abort\\", clearTimer); - this.on(\\"error\\", clearTimer); - this.on(\\"response\\", clearTimer); + this.on("socket", destroyOnTimeout); + this.on("abort", clearTimer); + this.on("error", clearTimer); + this.on("response", clearTimer); return this; }; [ - \\"flushHeaders\\", - \\"getHeader\\", - \\"setNoDelay\\", - \\"setSocketKeepAlive\\" + "flushHeaders", + "getHeader", + "setNoDelay", + "setSocketKeepAlive" ].forEach(function(method) { RedirectableRequest.prototype[method] = function(a, b) { return this._currentRequest[method](a, b); }; }); - [\\"aborted\\", \\"connection\\", \\"socket\\"].forEach(function(property) { + ["aborted", "connection", "socket"].forEach(function(property) { Object.defineProperty(RedirectableRequest.prototype, property, { get: function() { return this._currentRequest[property]; @@ -1810,7 +1810,7 @@ var require_follow_redirects = __commonJS({ delete options.host; } if (!options.pathname && options.path) { - var searchPos = options.path.indexOf(\\"?\\"); + var searchPos = options.path.indexOf("?"); if (searchPos < 0) { options.pathname = options.path; } else { @@ -1823,7 +1823,7 @@ var require_follow_redirects = __commonJS({ var protocol = this._options.protocol; var nativeProtocol = this._options.nativeProtocols[protocol]; if (!nativeProtocol) { - this.emit(\\"error\\", new TypeError(\\"Unsupported protocol \\" + protocol)); + this.emit("error", new TypeError("Unsupported protocol " + protocol)); return; } if (this._options.agents) { @@ -1835,7 +1835,7 @@ var require_follow_redirects = __commonJS({ for (var event of events) { request.on(event, eventHandlers[event]); } - this._currentUrl = /^\\\\//.test(this._options.path) ? url.format(this._options) : this._currentUrl = this._options.path; + this._currentUrl = /^\\//.test(this._options.path) ? url.format(this._options) : this._currentUrl = this._options.path; if (this._isRedirect) { var i = 0; var self = this; @@ -1843,7 +1843,7 @@ var require_follow_redirects = __commonJS({ (function writeNext(error) { if (request === self._currentRequest) { if (error) { - self.emit(\\"error\\", error); + self.emit("error", error); } else if (i < buffers.length) { var buffer = buffers[i++]; if (!request.finished) { @@ -1869,48 +1869,48 @@ var require_follow_redirects = __commonJS({ if (!location || this._options.followRedirects === false || statusCode < 300 || statusCode >= 400) { response.responseUrl = this._currentUrl; response.redirects = this._redirects; - this.emit(\\"response\\", response); + this.emit("response", response); this._requestBodyBuffers = []; return; } abortRequest(this._currentRequest); response.destroy(); if (++this._redirectCount > this._options.maxRedirects) { - this.emit(\\"error\\", new TooManyRedirectsError()); + this.emit("error", new TooManyRedirectsError()); return; } var requestHeaders; var beforeRedirect = this._options.beforeRedirect; if (beforeRedirect) { requestHeaders = Object.assign({ - Host: response.req.getHeader(\\"host\\") + Host: response.req.getHeader("host") }, this._options.headers); } var method = this._options.method; - if ((statusCode === 301 || statusCode === 302) && this._options.method === \\"POST\\" || statusCode === 303 && !/^(?:GET|HEAD)$/.test(this._options.method)) { - this._options.method = \\"GET\\"; + if ((statusCode === 301 || statusCode === 302) && this._options.method === "POST" || statusCode === 303 && !/^(?:GET|HEAD)$/.test(this._options.method)) { + this._options.method = "GET"; this._requestBodyBuffers = []; removeMatchingHeaders(/^content-/i, this._options.headers); } var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers); var currentUrlParts = url.parse(this._currentUrl); var currentHost = currentHostHeader || currentUrlParts.host; - var currentUrl = /^\\\\w+:/.test(location) ? this._currentUrl : url.format(Object.assign(currentUrlParts, { host: currentHost })); + var currentUrl = /^\\w+:/.test(location) ? this._currentUrl : url.format(Object.assign(currentUrlParts, { host: currentHost })); var redirectUrl; try { redirectUrl = url.resolve(currentUrl, location); } catch (cause) { - this.emit(\\"error\\", new RedirectionError(cause)); + this.emit("error", new RedirectionError(cause)); return; } - debug(\\"redirecting to\\", redirectUrl); + debug("redirecting to", redirectUrl); this._isRedirect = true; var redirectUrlParts = url.parse(redirectUrl); Object.assign(this._options, redirectUrlParts); - if (redirectUrlParts.protocol !== currentUrlParts.protocol && redirectUrlParts.protocol !== \\"https:\\" || redirectUrlParts.host !== currentHost && !isSubdomain(redirectUrlParts.host, currentHost)) { + if (redirectUrlParts.protocol !== currentUrlParts.protocol && redirectUrlParts.protocol !== "https:" || redirectUrlParts.host !== currentHost && !isSubdomain(redirectUrlParts.host, currentHost)) { removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers); } - if (typeof beforeRedirect === \\"function\\") { + if (typeof beforeRedirect === "function") { var responseDetails = { headers: response.headers, statusCode @@ -1923,7 +1923,7 @@ var require_follow_redirects = __commonJS({ try { beforeRedirect(this._options, responseDetails, requestDetails); } catch (err) { - this.emit(\\"error\\", err); + this.emit("error", err); return; } this._sanitizeOptions(this._options); @@ -1931,7 +1931,7 @@ var require_follow_redirects = __commonJS({ try { this._performRequest(); } catch (cause) { - this.emit(\\"error\\", new RedirectionError(cause)); + this.emit("error", new RedirectionError(cause)); } }; function wrap(protocols) { @@ -1941,11 +1941,11 @@ var require_follow_redirects = __commonJS({ }; var nativeProtocols = {}; Object.keys(protocols).forEach(function(scheme) { - var protocol = scheme + \\":\\"; + var protocol = scheme + ":"; var nativeProtocol = nativeProtocols[protocol] = protocols[scheme]; var wrappedProtocol = exports3[scheme] = Object.create(nativeProtocol); function request(input, options, callback) { - if (typeof input === \\"string\\") { + if (typeof input === "string") { var urlStr = input; try { input = urlToOptions(new URL(urlStr)); @@ -1959,7 +1959,7 @@ var require_follow_redirects = __commonJS({ options = input; input = { protocol }; } - if (typeof options === \\"function\\") { + if (typeof options === "function") { callback = options; options = null; } @@ -1968,8 +1968,8 @@ var require_follow_redirects = __commonJS({ maxBodyLength: exports3.maxBodyLength }, input, options); options.nativeProtocols = nativeProtocols; - assert.equal(options.protocol, protocol, \\"protocol mismatch\\"); - debug(\\"options\\", options); + assert.equal(options.protocol, protocol, "protocol mismatch"); + debug("options", options); return new RedirectableRequest(options, callback); } function get(input, options, callback) { @@ -1989,14 +1989,14 @@ var require_follow_redirects = __commonJS({ function urlToOptions(urlObject) { var options = { protocol: urlObject.protocol, - hostname: urlObject.hostname.startsWith(\\"[\\") ? urlObject.hostname.slice(1, -1) : urlObject.hostname, + hostname: urlObject.hostname.startsWith("[") ? urlObject.hostname.slice(1, -1) : urlObject.hostname, hash: urlObject.hash, search: urlObject.search, pathname: urlObject.pathname, path: urlObject.pathname + urlObject.search, href: urlObject.href }; - if (urlObject.port !== \\"\\") { + if (urlObject.port !== "") { options.port = Number(urlObject.port); } return options; @@ -2009,7 +2009,7 @@ var require_follow_redirects = __commonJS({ delete headers[header]; } } - return lastValue === null || typeof lastValue === \\"undefined\\" ? void 0 : String(lastValue).trim(); + return lastValue === null || typeof lastValue === "undefined" ? void 0 : String(lastValue).trim(); } function createErrorType(code, defaultMessage) { function CustomError(cause) { @@ -2017,13 +2017,13 @@ var require_follow_redirects = __commonJS({ if (!cause) { this.message = defaultMessage; } else { - this.message = defaultMessage + \\": \\" + cause.message; + this.message = defaultMessage + ": " + cause.message; this.cause = cause; } } CustomError.prototype = new Error(); CustomError.prototype.constructor = CustomError; - CustomError.prototype.name = \\"Error [\\" + code + \\"]\\"; + CustomError.prototype.name = "Error [" + code + "]"; CustomError.prototype.code = code; return CustomError; } @@ -2031,12 +2031,12 @@ var require_follow_redirects = __commonJS({ for (var event of events) { request.removeListener(event, eventHandlers[event]); } - request.on(\\"error\\", noop); + request.on("error", noop); request.abort(); } function isSubdomain(subdomain, domain) { const dot = subdomain.length - domain.length - 1; - return dot > 0 && subdomain[dot] === \\".\\" && subdomain.endsWith(domain); + return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain); } module2.exports = wrap({ http, https }); module2.exports.wrap = wrap; @@ -2045,41 +2045,41 @@ var require_follow_redirects = __commonJS({ // node_modules/axios/lib/env/data.js var require_data = __commonJS({ - \\"node_modules/axios/lib/env/data.js\\"(exports2, module2) { + "node_modules/axios/lib/env/data.js"(exports2, module2) { module2.exports = { - \\"version\\": \\"0.27.2\\" + "version": "0.27.2" }; } }); // node_modules/axios/lib/adapters/http.js var require_http = __commonJS({ - \\"node_modules/axios/lib/adapters/http.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/adapters/http.js"(exports2, module2) { + "use strict"; var utils = require_utils(); var settle = require_settle(); var buildFullPath = require_buildFullPath(); var buildURL = require_buildURL(); - var http = require(\\"http\\"); - var https = require(\\"https\\"); + var http = require("http"); + var https = require("https"); var httpFollow = require_follow_redirects().http; var httpsFollow = require_follow_redirects().https; - var url = require(\\"url\\"); - var zlib = require(\\"zlib\\"); + var url = require("url"); + var zlib = require("zlib"); var VERSION = require_data().version; var transitionalDefaults = require_transitional(); var AxiosError = require_AxiosError(); var CanceledError = require_CanceledError(); var isHttps = /https:?/; - var supportedProtocols = [\\"http:\\", \\"https:\\", \\"file:\\"]; + var supportedProtocols = ["http:", "https:", "file:"]; function setProxy(options, proxy, location) { options.hostname = proxy.host; options.host = proxy.host; options.port = proxy.port; options.path = location; if (proxy.auth) { - var base64 = Buffer.from(proxy.auth.username + \\":\\" + proxy.auth.password, \\"utf8\\").toString(\\"base64\\"); - options.headers[\\"Proxy-Authorization\\"] = \\"Basic \\" + base64; + var base64 = Buffer.from(proxy.auth.username + ":" + proxy.auth.password, "utf8").toString("base64"); + options.headers["Proxy-Authorization"] = "Basic " + base64; } options.beforeRedirect = function beforeRedirect(redirection) { redirection.headers.host = redirection.host; @@ -2094,7 +2094,7 @@ var require_http = __commonJS({ config.cancelToken.unsubscribe(onCanceled); } if (config.signal) { - config.signal.removeEventListener(\\"abort\\", onCanceled); + config.signal.removeEventListener("abort", onCanceled); } } var resolve = function resolve2(value) { @@ -2113,12 +2113,12 @@ var require_http = __commonJS({ Object.keys(headers).forEach(function storeLowerName(name) { headerNames[name.toLowerCase()] = name; }); - if (\\"user-agent\\" in headerNames) { - if (!headers[headerNames[\\"user-agent\\"]]) { - delete headers[headerNames[\\"user-agent\\"]]; + if ("user-agent" in headerNames) { + if (!headers[headerNames["user-agent"]]) { + delete headers[headerNames["user-agent"]]; } } else { - headers[\\"User-Agent\\"] = \\"axios/\\" + VERSION; + headers["User-Agent"] = "axios/" + VERSION; } if (utils.isFormData(data) && utils.isFunction(data.getHeaders)) { Object.assign(headers, data.getHeaders()); @@ -2127,46 +2127,46 @@ var require_http = __commonJS({ } else if (utils.isArrayBuffer(data)) { data = Buffer.from(new Uint8Array(data)); } else if (utils.isString(data)) { - data = Buffer.from(data, \\"utf-8\\"); + data = Buffer.from(data, "utf-8"); } else { return reject(new AxiosError( - \\"Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream\\", + "Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream", AxiosError.ERR_BAD_REQUEST, config )); } if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) { return reject(new AxiosError( - \\"Request body larger than maxBodyLength limit\\", + "Request body larger than maxBodyLength limit", AxiosError.ERR_BAD_REQUEST, config )); } - if (!headerNames[\\"content-length\\"]) { - headers[\\"Content-Length\\"] = data.length; + if (!headerNames["content-length"]) { + headers["Content-Length"] = data.length; } } var auth = void 0; if (config.auth) { - var username = config.auth.username || \\"\\"; - var password = config.auth.password || \\"\\"; - auth = username + \\":\\" + password; + var username = config.auth.username || ""; + var password = config.auth.password || ""; + auth = username + ":" + password; } var fullPath = buildFullPath(config.baseURL, config.url); var parsed = url.parse(fullPath); var protocol = parsed.protocol || supportedProtocols[0]; if (supportedProtocols.indexOf(protocol) === -1) { return reject(new AxiosError( - \\"Unsupported protocol \\" + protocol, + "Unsupported protocol " + protocol, AxiosError.ERR_BAD_REQUEST, config )); } if (!auth && parsed.auth) { - var urlAuth = parsed.auth.split(\\":\\"); - var urlUsername = urlAuth[0] || \\"\\"; - var urlPassword = urlAuth[1] || \\"\\"; - auth = urlUsername + \\":\\" + urlPassword; + var urlAuth = parsed.auth.split(":"); + var urlUsername = urlAuth[0] || ""; + var urlPassword = urlAuth[1] || ""; + auth = urlUsername + ":" + urlPassword; } if (auth && headerNames.authorization) { delete headers[headerNames.authorization]; @@ -2174,7 +2174,7 @@ var require_http = __commonJS({ var isHttpsRequest = isHttps.test(protocol); var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent; try { - buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\\\?/, \\"\\"); + buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ""); } catch (err) { var customErr = new Error(err.message); customErr.config = config; @@ -2183,7 +2183,7 @@ var require_http = __commonJS({ reject(customErr); } var options = { - path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\\\?/, \\"\\"), + path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ""), method: config.method.toUpperCase(), headers, agent, @@ -2198,24 +2198,24 @@ var require_http = __commonJS({ } var proxy = config.proxy; if (!proxy && proxy !== false) { - var proxyEnv = protocol.slice(0, -1) + \\"_proxy\\"; + var proxyEnv = protocol.slice(0, -1) + "_proxy"; var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()]; if (proxyUrl) { var parsedProxyUrl = url.parse(proxyUrl); var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY; var shouldProxy = true; if (noProxyEnv) { - var noProxy = noProxyEnv.split(\\",\\").map(function trim(s) { + var noProxy = noProxyEnv.split(",").map(function trim(s) { return s.trim(); }); shouldProxy = !noProxy.some(function proxyMatch(proxyElement) { if (!proxyElement) { return false; } - if (proxyElement === \\"*\\") { + if (proxyElement === "*") { return true; } - if (proxyElement[0] === \\".\\" && parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) { + if (proxyElement[0] === "." && parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) { return true; } return parsed.hostname === proxyElement; @@ -2228,7 +2228,7 @@ var require_http = __commonJS({ protocol: parsedProxyUrl.protocol }; if (parsedProxyUrl.auth) { - var proxyUrlAuth = parsedProxyUrl.auth.split(\\":\\"); + var proxyUrlAuth = parsedProxyUrl.auth.split(":"); proxy.auth = { username: proxyUrlAuth[0], password: proxyUrlAuth[1] @@ -2238,8 +2238,8 @@ var require_http = __commonJS({ } } if (proxy) { - options.headers.host = parsed.hostname + (parsed.port ? \\":\\" + parsed.port : \\"\\"); - setProxy(options, proxy, protocol + \\"//\\" + parsed.hostname + (parsed.port ? \\":\\" + parsed.port : \\"\\") + options.path); + options.headers.host = parsed.hostname + (parsed.port ? ":" + parsed.port : ""); + setProxy(options, proxy, protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options.path); } var transport; var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true); @@ -2267,13 +2267,13 @@ var require_http = __commonJS({ return; var stream = res; var lastRequest = res.req || req; - if (res.statusCode !== 204 && lastRequest.method !== \\"HEAD\\" && config.decompress !== false) { - switch (res.headers[\\"content-encoding\\"]) { - case \\"gzip\\": - case \\"compress\\": - case \\"deflate\\": + if (res.statusCode !== 204 && lastRequest.method !== "HEAD" && config.decompress !== false) { + switch (res.headers["content-encoding"]) { + case "gzip": + case "compress": + case "deflate": stream = stream.pipe(zlib.createUnzip()); - delete res.headers[\\"content-encoding\\"]; + delete res.headers["content-encoding"]; break; } } @@ -2284,49 +2284,49 @@ var require_http = __commonJS({ config, request: lastRequest }; - if (config.responseType === \\"stream\\") { + if (config.responseType === "stream") { response.data = stream; settle(resolve, reject, response); } else { var responseBuffer = []; var totalResponseBytes = 0; - stream.on(\\"data\\", function handleStreamData(chunk) { + stream.on("data", function handleStreamData(chunk) { responseBuffer.push(chunk); totalResponseBytes += chunk.length; if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) { rejected = true; stream.destroy(); reject(new AxiosError( - \\"maxContentLength size of \\" + config.maxContentLength + \\" exceeded\\", + "maxContentLength size of " + config.maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, lastRequest )); } }); - stream.on(\\"aborted\\", function handlerStreamAborted() { + stream.on("aborted", function handlerStreamAborted() { if (rejected) { return; } stream.destroy(); reject(new AxiosError( - \\"maxContentLength size of \\" + config.maxContentLength + \\" exceeded\\", + "maxContentLength size of " + config.maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, lastRequest )); }); - stream.on(\\"error\\", function handleStreamError(err) { + stream.on("error", function handleStreamError(err) { if (req.aborted) return; reject(AxiosError.from(err, null, config, lastRequest)); }); - stream.on(\\"end\\", function handleStreamEnd() { + stream.on("end", function handleStreamEnd() { try { var responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer); - if (config.responseType !== \\"arraybuffer\\") { + if (config.responseType !== "arraybuffer") { responseData = responseData.toString(config.responseEncoding); - if (!config.responseEncoding || config.responseEncoding === \\"utf8\\") { + if (!config.responseEncoding || config.responseEncoding === "utf8") { responseData = utils.stripBOM(responseData); } } @@ -2338,17 +2338,17 @@ var require_http = __commonJS({ }); } }); - req.on(\\"error\\", function handleRequestError(err) { + req.on("error", function handleRequestError(err) { reject(AxiosError.from(err, null, config, req)); }); - req.on(\\"socket\\", function handleRequestSocket(socket) { + req.on("socket", function handleRequestSocket(socket) { socket.setKeepAlive(true, 1e3 * 60); }); if (config.timeout) { var timeout = parseInt(config.timeout, 10); if (isNaN(timeout)) { reject(new AxiosError( - \\"error trying to parse \`config.timeout\` to int\\", + "error trying to parse \`config.timeout\` to int", AxiosError.ERR_BAD_OPTION_VALUE, config, req @@ -2359,7 +2359,7 @@ var require_http = __commonJS({ req.abort(); var transitional = config.transitional || transitionalDefaults; reject(new AxiosError( - \\"timeout of \\" + timeout + \\"ms exceeded\\", + "timeout of " + timeout + "ms exceeded", transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req @@ -2375,11 +2375,11 @@ var require_http = __commonJS({ }; config.cancelToken && config.cancelToken.subscribe(onCanceled); if (config.signal) { - config.signal.aborted ? onCanceled() : config.signal.addEventListener(\\"abort\\", onCanceled); + config.signal.aborted ? onCanceled() : config.signal.addEventListener("abort", onCanceled); } } if (utils.isStream(data)) { - data.on(\\"error\\", function handleStreamError(err) { + data.on("error", function handleStreamError(err) { reject(AxiosError.from(err, config, null, req)); }).pipe(req); } else { @@ -2392,9 +2392,9 @@ var require_http = __commonJS({ // node_modules/delayed-stream/lib/delayed_stream.js var require_delayed_stream = __commonJS({ - \\"node_modules/delayed-stream/lib/delayed_stream.js\\"(exports2, module2) { - var Stream = require(\\"stream\\").Stream; - var util = require(\\"util\\"); + "node_modules/delayed-stream/lib/delayed_stream.js"(exports2, module2) { + var Stream = require("stream").Stream; + var util = require("util"); module2.exports = DelayedStream; function DelayedStream() { this.source = null; @@ -2418,14 +2418,14 @@ var require_delayed_stream = __commonJS({ delayedStream._handleEmit(arguments); return realEmit.apply(source, arguments); }; - source.on(\\"error\\", function() { + source.on("error", function() { }); if (delayedStream.pauseStream) { source.pause(); } return delayedStream; }; - Object.defineProperty(DelayedStream.prototype, \\"readable\\", { + Object.defineProperty(DelayedStream.prototype, "readable", { configurable: true, enumerable: true, get: function() { @@ -2461,7 +2461,7 @@ var require_delayed_stream = __commonJS({ this.emit.apply(this, args); return; } - if (args[0] === \\"data\\") { + if (args[0] === "data") { this.dataSize += args[1].length; this._checkIfMaxDataSizeExceeded(); } @@ -2475,17 +2475,17 @@ var require_delayed_stream = __commonJS({ return; } this._maxDataSizeExceeded = true; - var message = \\"DelayedStream#maxDataSize of \\" + this.maxDataSize + \\" bytes exceeded.\\"; - this.emit(\\"error\\", new Error(message)); + var message = "DelayedStream#maxDataSize of " + this.maxDataSize + " bytes exceeded."; + this.emit("error", new Error(message)); }; } }); // node_modules/combined-stream/lib/combined_stream.js var require_combined_stream = __commonJS({ - \\"node_modules/combined-stream/lib/combined_stream.js\\"(exports2, module2) { - var util = require(\\"util\\"); - var Stream = require(\\"stream\\").Stream; + "node_modules/combined-stream/lib/combined_stream.js"(exports2, module2) { + var util = require("util"); + var Stream = require("stream").Stream; var DelayedStream = require_delayed_stream(); module2.exports = CombinedStream; function CombinedStream() { @@ -2510,7 +2510,7 @@ var require_combined_stream = __commonJS({ return combinedStream; }; CombinedStream.isStreamLike = function(stream) { - return typeof stream !== \\"function\\" && typeof stream !== \\"string\\" && typeof stream !== \\"boolean\\" && typeof stream !== \\"number\\" && !Buffer.isBuffer(stream); + return typeof stream !== "function" && typeof stream !== "string" && typeof stream !== "boolean" && typeof stream !== "number" && !Buffer.isBuffer(stream); }; CombinedStream.prototype.append = function(stream) { var isStreamLike = CombinedStream.isStreamLike(stream); @@ -2520,7 +2520,7 @@ var require_combined_stream = __commonJS({ maxDataSize: Infinity, pauseStream: this.pauseStreams }); - stream.on(\\"data\\", this._checkDataSize.bind(this)); + stream.on("data", this._checkDataSize.bind(this)); stream = newStream; } this._handleErrors(stream); @@ -2554,11 +2554,11 @@ var require_combined_stream = __commonJS({ }; CombinedStream.prototype._realGetNext = function() { var stream = this._streams.shift(); - if (typeof stream == \\"undefined\\") { + if (typeof stream == "undefined") { this.end(); return; } - if (typeof stream !== \\"function\\") { + if (typeof stream !== "function") { this._pipeNext(stream); return; } @@ -2566,7 +2566,7 @@ var require_combined_stream = __commonJS({ getStream(function(stream2) { var isStreamLike = CombinedStream.isStreamLike(stream2); if (isStreamLike) { - stream2.on(\\"data\\", this._checkDataSize.bind(this)); + stream2.on("data", this._checkDataSize.bind(this)); this._handleErrors(stream2); } this._pipeNext(stream2); @@ -2576,7 +2576,7 @@ var require_combined_stream = __commonJS({ this._currentStream = stream; var isStreamLike = CombinedStream.isStreamLike(stream); if (isStreamLike) { - stream.on(\\"end\\", this._getNext.bind(this)); + stream.on("end", this._getNext.bind(this)); stream.pipe(this, { end: false }); return; } @@ -2586,20 +2586,20 @@ var require_combined_stream = __commonJS({ }; CombinedStream.prototype._handleErrors = function(stream) { var self = this; - stream.on(\\"error\\", function(err) { + stream.on("error", function(err) { self._emitError(err); }); }; CombinedStream.prototype.write = function(data) { - this.emit(\\"data\\", data); + this.emit("data", data); }; CombinedStream.prototype.pause = function() { if (!this.pauseStreams) { return; } - if (this.pauseStreams && this._currentStream && typeof this._currentStream.pause == \\"function\\") + if (this.pauseStreams && this._currentStream && typeof this._currentStream.pause == "function") this._currentStream.pause(); - this.emit(\\"pause\\"); + this.emit("pause"); }; CombinedStream.prototype.resume = function() { if (!this._released) { @@ -2607,17 +2607,17 @@ var require_combined_stream = __commonJS({ this.writable = true; this._getNext(); } - if (this.pauseStreams && this._currentStream && typeof this._currentStream.resume == \\"function\\") + if (this.pauseStreams && this._currentStream && typeof this._currentStream.resume == "function") this._currentStream.resume(); - this.emit(\\"resume\\"); + this.emit("resume"); }; CombinedStream.prototype.end = function() { this._reset(); - this.emit(\\"end\\"); + this.emit("end"); }; CombinedStream.prototype.destroy = function() { this._reset(); - this.emit(\\"close\\"); + this.emit("close"); }; CombinedStream.prototype._reset = function() { this.writable = false; @@ -2629,7 +2629,7 @@ var require_combined_stream = __commonJS({ if (this.dataSize <= this.maxDataSize) { return; } - var message = \\"DelayedStream#maxDataSize of \\" + this.maxDataSize + \\" bytes exceeded.\\"; + var message = "DelayedStream#maxDataSize of " + this.maxDataSize + " bytes exceeded."; this._emitError(new Error(message)); }; CombinedStream.prototype._updateDataSize = function() { @@ -2647,8530 +2647,8530 @@ var require_combined_stream = __commonJS({ }; CombinedStream.prototype._emitError = function(err) { this._reset(); - this.emit(\\"error\\", err); + this.emit("error", err); }; } }); // node_modules/mime-db/db.json var require_db = __commonJS({ - \\"node_modules/mime-db/db.json\\"(exports2, module2) { + "node_modules/mime-db/db.json"(exports2, module2) { module2.exports = { - \\"application/1d-interleaved-parityfec\\": { - source: \\"iana\\" + "application/1d-interleaved-parityfec": { + source: "iana" }, - \\"application/3gpdash-qoe-report+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/3gpdash-qoe-report+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/3gpp-ims+xml\\": { - source: \\"iana\\", + "application/3gpp-ims+xml": { + source: "iana", compressible: true }, - \\"application/3gpphal+json\\": { - source: \\"iana\\", + "application/3gpphal+json": { + source: "iana", compressible: true }, - \\"application/3gpphalforms+json\\": { - source: \\"iana\\", + "application/3gpphalforms+json": { + source: "iana", compressible: true }, - \\"application/a2l\\": { - source: \\"iana\\" + "application/a2l": { + source: "iana" }, - \\"application/ace+cbor\\": { - source: \\"iana\\" + "application/ace+cbor": { + source: "iana" }, - \\"application/activemessage\\": { - source: \\"iana\\" + "application/activemessage": { + source: "iana" }, - \\"application/activity+json\\": { - source: \\"iana\\", + "application/activity+json": { + source: "iana", compressible: true }, - \\"application/alto-costmap+json\\": { - source: \\"iana\\", + "application/alto-costmap+json": { + source: "iana", compressible: true }, - \\"application/alto-costmapfilter+json\\": { - source: \\"iana\\", + "application/alto-costmapfilter+json": { + source: "iana", compressible: true }, - \\"application/alto-directory+json\\": { - source: \\"iana\\", + "application/alto-directory+json": { + source: "iana", compressible: true }, - \\"application/alto-endpointcost+json\\": { - source: \\"iana\\", + "application/alto-endpointcost+json": { + source: "iana", compressible: true }, - \\"application/alto-endpointcostparams+json\\": { - source: \\"iana\\", + "application/alto-endpointcostparams+json": { + source: "iana", compressible: true }, - \\"application/alto-endpointprop+json\\": { - source: \\"iana\\", + "application/alto-endpointprop+json": { + source: "iana", compressible: true }, - \\"application/alto-endpointpropparams+json\\": { - source: \\"iana\\", + "application/alto-endpointpropparams+json": { + source: "iana", compressible: true }, - \\"application/alto-error+json\\": { - source: \\"iana\\", + "application/alto-error+json": { + source: "iana", compressible: true }, - \\"application/alto-networkmap+json\\": { - source: \\"iana\\", + "application/alto-networkmap+json": { + source: "iana", compressible: true }, - \\"application/alto-networkmapfilter+json\\": { - source: \\"iana\\", + "application/alto-networkmapfilter+json": { + source: "iana", compressible: true }, - \\"application/alto-updatestreamcontrol+json\\": { - source: \\"iana\\", + "application/alto-updatestreamcontrol+json": { + source: "iana", compressible: true }, - \\"application/alto-updatestreamparams+json\\": { - source: \\"iana\\", + "application/alto-updatestreamparams+json": { + source: "iana", compressible: true }, - \\"application/aml\\": { - source: \\"iana\\" + "application/aml": { + source: "iana" }, - \\"application/andrew-inset\\": { - source: \\"iana\\", - extensions: [\\"ez\\"] + "application/andrew-inset": { + source: "iana", + extensions: ["ez"] }, - \\"application/applefile\\": { - source: \\"iana\\" + "application/applefile": { + source: "iana" }, - \\"application/applixware\\": { - source: \\"apache\\", - extensions: [\\"aw\\"] + "application/applixware": { + source: "apache", + extensions: ["aw"] }, - \\"application/at+jwt\\": { - source: \\"iana\\" + "application/at+jwt": { + source: "iana" }, - \\"application/atf\\": { - source: \\"iana\\" + "application/atf": { + source: "iana" }, - \\"application/atfx\\": { - source: \\"iana\\" + "application/atfx": { + source: "iana" }, - \\"application/atom+xml\\": { - source: \\"iana\\", + "application/atom+xml": { + source: "iana", compressible: true, - extensions: [\\"atom\\"] + extensions: ["atom"] }, - \\"application/atomcat+xml\\": { - source: \\"iana\\", + "application/atomcat+xml": { + source: "iana", compressible: true, - extensions: [\\"atomcat\\"] + extensions: ["atomcat"] }, - \\"application/atomdeleted+xml\\": { - source: \\"iana\\", + "application/atomdeleted+xml": { + source: "iana", compressible: true, - extensions: [\\"atomdeleted\\"] + extensions: ["atomdeleted"] }, - \\"application/atomicmail\\": { - source: \\"iana\\" + "application/atomicmail": { + source: "iana" }, - \\"application/atomsvc+xml\\": { - source: \\"iana\\", + "application/atomsvc+xml": { + source: "iana", compressible: true, - extensions: [\\"atomsvc\\"] + extensions: ["atomsvc"] }, - \\"application/atsc-dwd+xml\\": { - source: \\"iana\\", + "application/atsc-dwd+xml": { + source: "iana", compressible: true, - extensions: [\\"dwd\\"] + extensions: ["dwd"] }, - \\"application/atsc-dynamic-event-message\\": { - source: \\"iana\\" + "application/atsc-dynamic-event-message": { + source: "iana" }, - \\"application/atsc-held+xml\\": { - source: \\"iana\\", + "application/atsc-held+xml": { + source: "iana", compressible: true, - extensions: [\\"held\\"] + extensions: ["held"] }, - \\"application/atsc-rdt+json\\": { - source: \\"iana\\", + "application/atsc-rdt+json": { + source: "iana", compressible: true }, - \\"application/atsc-rsat+xml\\": { - source: \\"iana\\", + "application/atsc-rsat+xml": { + source: "iana", compressible: true, - extensions: [\\"rsat\\"] + extensions: ["rsat"] }, - \\"application/atxml\\": { - source: \\"iana\\" + "application/atxml": { + source: "iana" }, - \\"application/auth-policy+xml\\": { - source: \\"iana\\", + "application/auth-policy+xml": { + source: "iana", compressible: true }, - \\"application/bacnet-xdd+zip\\": { - source: \\"iana\\", + "application/bacnet-xdd+zip": { + source: "iana", compressible: false }, - \\"application/batch-smtp\\": { - source: \\"iana\\" + "application/batch-smtp": { + source: "iana" }, - \\"application/bdoc\\": { + "application/bdoc": { compressible: false, - extensions: [\\"bdoc\\"] + extensions: ["bdoc"] }, - \\"application/beep+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/beep+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/calendar+json\\": { - source: \\"iana\\", + "application/calendar+json": { + source: "iana", compressible: true }, - \\"application/calendar+xml\\": { - source: \\"iana\\", + "application/calendar+xml": { + source: "iana", compressible: true, - extensions: [\\"xcs\\"] + extensions: ["xcs"] }, - \\"application/call-completion\\": { - source: \\"iana\\" + "application/call-completion": { + source: "iana" }, - \\"application/cals-1840\\": { - source: \\"iana\\" + "application/cals-1840": { + source: "iana" }, - \\"application/captive+json\\": { - source: \\"iana\\", + "application/captive+json": { + source: "iana", compressible: true }, - \\"application/cbor\\": { - source: \\"iana\\" + "application/cbor": { + source: "iana" }, - \\"application/cbor-seq\\": { - source: \\"iana\\" + "application/cbor-seq": { + source: "iana" }, - \\"application/cccex\\": { - source: \\"iana\\" + "application/cccex": { + source: "iana" }, - \\"application/ccmp+xml\\": { - source: \\"iana\\", + "application/ccmp+xml": { + source: "iana", compressible: true }, - \\"application/ccxml+xml\\": { - source: \\"iana\\", + "application/ccxml+xml": { + source: "iana", compressible: true, - extensions: [\\"ccxml\\"] + extensions: ["ccxml"] }, - \\"application/cdfx+xml\\": { - source: \\"iana\\", + "application/cdfx+xml": { + source: "iana", compressible: true, - extensions: [\\"cdfx\\"] + extensions: ["cdfx"] }, - \\"application/cdmi-capability\\": { - source: \\"iana\\", - extensions: [\\"cdmia\\"] + "application/cdmi-capability": { + source: "iana", + extensions: ["cdmia"] }, - \\"application/cdmi-container\\": { - source: \\"iana\\", - extensions: [\\"cdmic\\"] + "application/cdmi-container": { + source: "iana", + extensions: ["cdmic"] }, - \\"application/cdmi-domain\\": { - source: \\"iana\\", - extensions: [\\"cdmid\\"] + "application/cdmi-domain": { + source: "iana", + extensions: ["cdmid"] }, - \\"application/cdmi-object\\": { - source: \\"iana\\", - extensions: [\\"cdmio\\"] + "application/cdmi-object": { + source: "iana", + extensions: ["cdmio"] }, - \\"application/cdmi-queue\\": { - source: \\"iana\\", - extensions: [\\"cdmiq\\"] + "application/cdmi-queue": { + source: "iana", + extensions: ["cdmiq"] }, - \\"application/cdni\\": { - source: \\"iana\\" + "application/cdni": { + source: "iana" }, - \\"application/cea\\": { - source: \\"iana\\" + "application/cea": { + source: "iana" }, - \\"application/cea-2018+xml\\": { - source: \\"iana\\", + "application/cea-2018+xml": { + source: "iana", compressible: true }, - \\"application/cellml+xml\\": { - source: \\"iana\\", + "application/cellml+xml": { + source: "iana", compressible: true }, - \\"application/cfw\\": { - source: \\"iana\\" + "application/cfw": { + source: "iana" }, - \\"application/city+json\\": { - source: \\"iana\\", + "application/city+json": { + source: "iana", compressible: true }, - \\"application/clr\\": { - source: \\"iana\\" + "application/clr": { + source: "iana" }, - \\"application/clue+xml\\": { - source: \\"iana\\", + "application/clue+xml": { + source: "iana", compressible: true }, - \\"application/clue_info+xml\\": { - source: \\"iana\\", + "application/clue_info+xml": { + source: "iana", compressible: true }, - \\"application/cms\\": { - source: \\"iana\\" + "application/cms": { + source: "iana" }, - \\"application/cnrp+xml\\": { - source: \\"iana\\", + "application/cnrp+xml": { + source: "iana", compressible: true }, - \\"application/coap-group+json\\": { - source: \\"iana\\", + "application/coap-group+json": { + source: "iana", compressible: true }, - \\"application/coap-payload\\": { - source: \\"iana\\" + "application/coap-payload": { + source: "iana" }, - \\"application/commonground\\": { - source: \\"iana\\" + "application/commonground": { + source: "iana" }, - \\"application/conference-info+xml\\": { - source: \\"iana\\", + "application/conference-info+xml": { + source: "iana", compressible: true }, - \\"application/cose\\": { - source: \\"iana\\" + "application/cose": { + source: "iana" }, - \\"application/cose-key\\": { - source: \\"iana\\" + "application/cose-key": { + source: "iana" }, - \\"application/cose-key-set\\": { - source: \\"iana\\" + "application/cose-key-set": { + source: "iana" }, - \\"application/cpl+xml\\": { - source: \\"iana\\", + "application/cpl+xml": { + source: "iana", compressible: true, - extensions: [\\"cpl\\"] + extensions: ["cpl"] }, - \\"application/csrattrs\\": { - source: \\"iana\\" + "application/csrattrs": { + source: "iana" }, - \\"application/csta+xml\\": { - source: \\"iana\\", + "application/csta+xml": { + source: "iana", compressible: true }, - \\"application/cstadata+xml\\": { - source: \\"iana\\", + "application/cstadata+xml": { + source: "iana", compressible: true }, - \\"application/csvm+json\\": { - source: \\"iana\\", + "application/csvm+json": { + source: "iana", compressible: true }, - \\"application/cu-seeme\\": { - source: \\"apache\\", - extensions: [\\"cu\\"] + "application/cu-seeme": { + source: "apache", + extensions: ["cu"] }, - \\"application/cwt\\": { - source: \\"iana\\" + "application/cwt": { + source: "iana" }, - \\"application/cybercash\\": { - source: \\"iana\\" + "application/cybercash": { + source: "iana" }, - \\"application/dart\\": { + "application/dart": { compressible: true }, - \\"application/dash+xml\\": { - source: \\"iana\\", + "application/dash+xml": { + source: "iana", compressible: true, - extensions: [\\"mpd\\"] + extensions: ["mpd"] }, - \\"application/dash-patch+xml\\": { - source: \\"iana\\", + "application/dash-patch+xml": { + source: "iana", compressible: true, - extensions: [\\"mpp\\"] + extensions: ["mpp"] }, - \\"application/dashdelta\\": { - source: \\"iana\\" + "application/dashdelta": { + source: "iana" }, - \\"application/davmount+xml\\": { - source: \\"iana\\", + "application/davmount+xml": { + source: "iana", compressible: true, - extensions: [\\"davmount\\"] + extensions: ["davmount"] }, - \\"application/dca-rft\\": { - source: \\"iana\\" + "application/dca-rft": { + source: "iana" }, - \\"application/dcd\\": { - source: \\"iana\\" + "application/dcd": { + source: "iana" }, - \\"application/dec-dx\\": { - source: \\"iana\\" + "application/dec-dx": { + source: "iana" }, - \\"application/dialog-info+xml\\": { - source: \\"iana\\", + "application/dialog-info+xml": { + source: "iana", compressible: true }, - \\"application/dicom\\": { - source: \\"iana\\" + "application/dicom": { + source: "iana" }, - \\"application/dicom+json\\": { - source: \\"iana\\", + "application/dicom+json": { + source: "iana", compressible: true }, - \\"application/dicom+xml\\": { - source: \\"iana\\", + "application/dicom+xml": { + source: "iana", compressible: true }, - \\"application/dii\\": { - source: \\"iana\\" + "application/dii": { + source: "iana" }, - \\"application/dit\\": { - source: \\"iana\\" + "application/dit": { + source: "iana" }, - \\"application/dns\\": { - source: \\"iana\\" + "application/dns": { + source: "iana" }, - \\"application/dns+json\\": { - source: \\"iana\\", + "application/dns+json": { + source: "iana", compressible: true }, - \\"application/dns-message\\": { - source: \\"iana\\" + "application/dns-message": { + source: "iana" }, - \\"application/docbook+xml\\": { - source: \\"apache\\", + "application/docbook+xml": { + source: "apache", compressible: true, - extensions: [\\"dbk\\"] + extensions: ["dbk"] }, - \\"application/dots+cbor\\": { - source: \\"iana\\" + "application/dots+cbor": { + source: "iana" }, - \\"application/dskpp+xml\\": { - source: \\"iana\\", + "application/dskpp+xml": { + source: "iana", compressible: true }, - \\"application/dssc+der\\": { - source: \\"iana\\", - extensions: [\\"dssc\\"] + "application/dssc+der": { + source: "iana", + extensions: ["dssc"] }, - \\"application/dssc+xml\\": { - source: \\"iana\\", + "application/dssc+xml": { + source: "iana", compressible: true, - extensions: [\\"xdssc\\"] + extensions: ["xdssc"] }, - \\"application/dvcs\\": { - source: \\"iana\\" + "application/dvcs": { + source: "iana" }, - \\"application/ecmascript\\": { - source: \\"iana\\", + "application/ecmascript": { + source: "iana", compressible: true, - extensions: [\\"es\\", \\"ecma\\"] + extensions: ["es", "ecma"] }, - \\"application/edi-consent\\": { - source: \\"iana\\" + "application/edi-consent": { + source: "iana" }, - \\"application/edi-x12\\": { - source: \\"iana\\", + "application/edi-x12": { + source: "iana", compressible: false }, - \\"application/edifact\\": { - source: \\"iana\\", + "application/edifact": { + source: "iana", compressible: false }, - \\"application/efi\\": { - source: \\"iana\\" + "application/efi": { + source: "iana" }, - \\"application/elm+json\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/elm+json": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/elm+xml\\": { - source: \\"iana\\", + "application/elm+xml": { + source: "iana", compressible: true }, - \\"application/emergencycalldata.cap+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/emergencycalldata.cap+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/emergencycalldata.comment+xml\\": { - source: \\"iana\\", + "application/emergencycalldata.comment+xml": { + source: "iana", compressible: true }, - \\"application/emergencycalldata.control+xml\\": { - source: \\"iana\\", + "application/emergencycalldata.control+xml": { + source: "iana", compressible: true }, - \\"application/emergencycalldata.deviceinfo+xml\\": { - source: \\"iana\\", + "application/emergencycalldata.deviceinfo+xml": { + source: "iana", compressible: true }, - \\"application/emergencycalldata.ecall.msd\\": { - source: \\"iana\\" + "application/emergencycalldata.ecall.msd": { + source: "iana" }, - \\"application/emergencycalldata.providerinfo+xml\\": { - source: \\"iana\\", + "application/emergencycalldata.providerinfo+xml": { + source: "iana", compressible: true }, - \\"application/emergencycalldata.serviceinfo+xml\\": { - source: \\"iana\\", + "application/emergencycalldata.serviceinfo+xml": { + source: "iana", compressible: true }, - \\"application/emergencycalldata.subscriberinfo+xml\\": { - source: \\"iana\\", + "application/emergencycalldata.subscriberinfo+xml": { + source: "iana", compressible: true }, - \\"application/emergencycalldata.veds+xml\\": { - source: \\"iana\\", + "application/emergencycalldata.veds+xml": { + source: "iana", compressible: true }, - \\"application/emma+xml\\": { - source: \\"iana\\", + "application/emma+xml": { + source: "iana", compressible: true, - extensions: [\\"emma\\"] + extensions: ["emma"] }, - \\"application/emotionml+xml\\": { - source: \\"iana\\", + "application/emotionml+xml": { + source: "iana", compressible: true, - extensions: [\\"emotionml\\"] + extensions: ["emotionml"] }, - \\"application/encaprtp\\": { - source: \\"iana\\" + "application/encaprtp": { + source: "iana" }, - \\"application/epp+xml\\": { - source: \\"iana\\", + "application/epp+xml": { + source: "iana", compressible: true }, - \\"application/epub+zip\\": { - source: \\"iana\\", + "application/epub+zip": { + source: "iana", compressible: false, - extensions: [\\"epub\\"] + extensions: ["epub"] }, - \\"application/eshop\\": { - source: \\"iana\\" + "application/eshop": { + source: "iana" }, - \\"application/exi\\": { - source: \\"iana\\", - extensions: [\\"exi\\"] + "application/exi": { + source: "iana", + extensions: ["exi"] }, - \\"application/expect-ct-report+json\\": { - source: \\"iana\\", + "application/expect-ct-report+json": { + source: "iana", compressible: true }, - \\"application/express\\": { - source: \\"iana\\", - extensions: [\\"exp\\"] + "application/express": { + source: "iana", + extensions: ["exp"] }, - \\"application/fastinfoset\\": { - source: \\"iana\\" + "application/fastinfoset": { + source: "iana" }, - \\"application/fastsoap\\": { - source: \\"iana\\" + "application/fastsoap": { + source: "iana" }, - \\"application/fdt+xml\\": { - source: \\"iana\\", + "application/fdt+xml": { + source: "iana", compressible: true, - extensions: [\\"fdt\\"] + extensions: ["fdt"] }, - \\"application/fhir+json\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/fhir+json": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/fhir+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/fhir+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/fido.trusted-apps+json\\": { + "application/fido.trusted-apps+json": { compressible: true }, - \\"application/fits\\": { - source: \\"iana\\" + "application/fits": { + source: "iana" }, - \\"application/flexfec\\": { - source: \\"iana\\" + "application/flexfec": { + source: "iana" }, - \\"application/font-sfnt\\": { - source: \\"iana\\" + "application/font-sfnt": { + source: "iana" }, - \\"application/font-tdpfr\\": { - source: \\"iana\\", - extensions: [\\"pfr\\"] + "application/font-tdpfr": { + source: "iana", + extensions: ["pfr"] }, - \\"application/font-woff\\": { - source: \\"iana\\", + "application/font-woff": { + source: "iana", compressible: false }, - \\"application/framework-attributes+xml\\": { - source: \\"iana\\", + "application/framework-attributes+xml": { + source: "iana", compressible: true }, - \\"application/geo+json\\": { - source: \\"iana\\", + "application/geo+json": { + source: "iana", compressible: true, - extensions: [\\"geojson\\"] + extensions: ["geojson"] }, - \\"application/geo+json-seq\\": { - source: \\"iana\\" + "application/geo+json-seq": { + source: "iana" }, - \\"application/geopackage+sqlite3\\": { - source: \\"iana\\" + "application/geopackage+sqlite3": { + source: "iana" }, - \\"application/geoxacml+xml\\": { - source: \\"iana\\", + "application/geoxacml+xml": { + source: "iana", compressible: true }, - \\"application/gltf-buffer\\": { - source: \\"iana\\" + "application/gltf-buffer": { + source: "iana" }, - \\"application/gml+xml\\": { - source: \\"iana\\", + "application/gml+xml": { + source: "iana", compressible: true, - extensions: [\\"gml\\"] + extensions: ["gml"] }, - \\"application/gpx+xml\\": { - source: \\"apache\\", + "application/gpx+xml": { + source: "apache", compressible: true, - extensions: [\\"gpx\\"] + extensions: ["gpx"] }, - \\"application/gxf\\": { - source: \\"apache\\", - extensions: [\\"gxf\\"] + "application/gxf": { + source: "apache", + extensions: ["gxf"] }, - \\"application/gzip\\": { - source: \\"iana\\", + "application/gzip": { + source: "iana", compressible: false, - extensions: [\\"gz\\"] + extensions: ["gz"] }, - \\"application/h224\\": { - source: \\"iana\\" + "application/h224": { + source: "iana" }, - \\"application/held+xml\\": { - source: \\"iana\\", + "application/held+xml": { + source: "iana", compressible: true }, - \\"application/hjson\\": { - extensions: [\\"hjson\\"] + "application/hjson": { + extensions: ["hjson"] }, - \\"application/http\\": { - source: \\"iana\\" + "application/http": { + source: "iana" }, - \\"application/hyperstudio\\": { - source: \\"iana\\", - extensions: [\\"stk\\"] + "application/hyperstudio": { + source: "iana", + extensions: ["stk"] }, - \\"application/ibe-key-request+xml\\": { - source: \\"iana\\", + "application/ibe-key-request+xml": { + source: "iana", compressible: true }, - \\"application/ibe-pkg-reply+xml\\": { - source: \\"iana\\", + "application/ibe-pkg-reply+xml": { + source: "iana", compressible: true }, - \\"application/ibe-pp-data\\": { - source: \\"iana\\" + "application/ibe-pp-data": { + source: "iana" }, - \\"application/iges\\": { - source: \\"iana\\" + "application/iges": { + source: "iana" }, - \\"application/im-iscomposing+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/im-iscomposing+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/index\\": { - source: \\"iana\\" + "application/index": { + source: "iana" }, - \\"application/index.cmd\\": { - source: \\"iana\\" + "application/index.cmd": { + source: "iana" }, - \\"application/index.obj\\": { - source: \\"iana\\" + "application/index.obj": { + source: "iana" }, - \\"application/index.response\\": { - source: \\"iana\\" + "application/index.response": { + source: "iana" }, - \\"application/index.vnd\\": { - source: \\"iana\\" + "application/index.vnd": { + source: "iana" }, - \\"application/inkml+xml\\": { - source: \\"iana\\", + "application/inkml+xml": { + source: "iana", compressible: true, - extensions: [\\"ink\\", \\"inkml\\"] + extensions: ["ink", "inkml"] }, - \\"application/iotp\\": { - source: \\"iana\\" + "application/iotp": { + source: "iana" }, - \\"application/ipfix\\": { - source: \\"iana\\", - extensions: [\\"ipfix\\"] + "application/ipfix": { + source: "iana", + extensions: ["ipfix"] }, - \\"application/ipp\\": { - source: \\"iana\\" + "application/ipp": { + source: "iana" }, - \\"application/isup\\": { - source: \\"iana\\" + "application/isup": { + source: "iana" }, - \\"application/its+xml\\": { - source: \\"iana\\", + "application/its+xml": { + source: "iana", compressible: true, - extensions: [\\"its\\"] + extensions: ["its"] }, - \\"application/java-archive\\": { - source: \\"apache\\", + "application/java-archive": { + source: "apache", compressible: false, - extensions: [\\"jar\\", \\"war\\", \\"ear\\"] + extensions: ["jar", "war", "ear"] }, - \\"application/java-serialized-object\\": { - source: \\"apache\\", + "application/java-serialized-object": { + source: "apache", compressible: false, - extensions: [\\"ser\\"] + extensions: ["ser"] }, - \\"application/java-vm\\": { - source: \\"apache\\", + "application/java-vm": { + source: "apache", compressible: false, - extensions: [\\"class\\"] + extensions: ["class"] }, - \\"application/javascript\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/javascript": { + source: "iana", + charset: "UTF-8", compressible: true, - extensions: [\\"js\\", \\"mjs\\"] + extensions: ["js", "mjs"] }, - \\"application/jf2feed+json\\": { - source: \\"iana\\", + "application/jf2feed+json": { + source: "iana", compressible: true }, - \\"application/jose\\": { - source: \\"iana\\" + "application/jose": { + source: "iana" }, - \\"application/jose+json\\": { - source: \\"iana\\", + "application/jose+json": { + source: "iana", compressible: true }, - \\"application/jrd+json\\": { - source: \\"iana\\", + "application/jrd+json": { + source: "iana", compressible: true }, - \\"application/jscalendar+json\\": { - source: \\"iana\\", + "application/jscalendar+json": { + source: "iana", compressible: true }, - \\"application/json\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/json": { + source: "iana", + charset: "UTF-8", compressible: true, - extensions: [\\"json\\", \\"map\\"] + extensions: ["json", "map"] }, - \\"application/json-patch+json\\": { - source: \\"iana\\", + "application/json-patch+json": { + source: "iana", compressible: true }, - \\"application/json-seq\\": { - source: \\"iana\\" + "application/json-seq": { + source: "iana" }, - \\"application/json5\\": { - extensions: [\\"json5\\"] + "application/json5": { + extensions: ["json5"] }, - \\"application/jsonml+json\\": { - source: \\"apache\\", + "application/jsonml+json": { + source: "apache", compressible: true, - extensions: [\\"jsonml\\"] + extensions: ["jsonml"] }, - \\"application/jwk+json\\": { - source: \\"iana\\", + "application/jwk+json": { + source: "iana", compressible: true }, - \\"application/jwk-set+json\\": { - source: \\"iana\\", + "application/jwk-set+json": { + source: "iana", compressible: true }, - \\"application/jwt\\": { - source: \\"iana\\" + "application/jwt": { + source: "iana" }, - \\"application/kpml-request+xml\\": { - source: \\"iana\\", + "application/kpml-request+xml": { + source: "iana", compressible: true }, - \\"application/kpml-response+xml\\": { - source: \\"iana\\", + "application/kpml-response+xml": { + source: "iana", compressible: true }, - \\"application/ld+json\\": { - source: \\"iana\\", + "application/ld+json": { + source: "iana", compressible: true, - extensions: [\\"jsonld\\"] + extensions: ["jsonld"] }, - \\"application/lgr+xml\\": { - source: \\"iana\\", + "application/lgr+xml": { + source: "iana", compressible: true, - extensions: [\\"lgr\\"] + extensions: ["lgr"] }, - \\"application/link-format\\": { - source: \\"iana\\" + "application/link-format": { + source: "iana" }, - \\"application/load-control+xml\\": { - source: \\"iana\\", + "application/load-control+xml": { + source: "iana", compressible: true }, - \\"application/lost+xml\\": { - source: \\"iana\\", + "application/lost+xml": { + source: "iana", compressible: true, - extensions: [\\"lostxml\\"] + extensions: ["lostxml"] }, - \\"application/lostsync+xml\\": { - source: \\"iana\\", + "application/lostsync+xml": { + source: "iana", compressible: true }, - \\"application/lpf+zip\\": { - source: \\"iana\\", + "application/lpf+zip": { + source: "iana", compressible: false }, - \\"application/lxf\\": { - source: \\"iana\\" + "application/lxf": { + source: "iana" }, - \\"application/mac-binhex40\\": { - source: \\"iana\\", - extensions: [\\"hqx\\"] + "application/mac-binhex40": { + source: "iana", + extensions: ["hqx"] }, - \\"application/mac-compactpro\\": { - source: \\"apache\\", - extensions: [\\"cpt\\"] + "application/mac-compactpro": { + source: "apache", + extensions: ["cpt"] }, - \\"application/macwriteii\\": { - source: \\"iana\\" + "application/macwriteii": { + source: "iana" }, - \\"application/mads+xml\\": { - source: \\"iana\\", + "application/mads+xml": { + source: "iana", compressible: true, - extensions: [\\"mads\\"] + extensions: ["mads"] }, - \\"application/manifest+json\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/manifest+json": { + source: "iana", + charset: "UTF-8", compressible: true, - extensions: [\\"webmanifest\\"] + extensions: ["webmanifest"] }, - \\"application/marc\\": { - source: \\"iana\\", - extensions: [\\"mrc\\"] + "application/marc": { + source: "iana", + extensions: ["mrc"] }, - \\"application/marcxml+xml\\": { - source: \\"iana\\", + "application/marcxml+xml": { + source: "iana", compressible: true, - extensions: [\\"mrcx\\"] + extensions: ["mrcx"] }, - \\"application/mathematica\\": { - source: \\"iana\\", - extensions: [\\"ma\\", \\"nb\\", \\"mb\\"] + "application/mathematica": { + source: "iana", + extensions: ["ma", "nb", "mb"] }, - \\"application/mathml+xml\\": { - source: \\"iana\\", + "application/mathml+xml": { + source: "iana", compressible: true, - extensions: [\\"mathml\\"] + extensions: ["mathml"] }, - \\"application/mathml-content+xml\\": { - source: \\"iana\\", + "application/mathml-content+xml": { + source: "iana", compressible: true }, - \\"application/mathml-presentation+xml\\": { - source: \\"iana\\", + "application/mathml-presentation+xml": { + source: "iana", compressible: true }, - \\"application/mbms-associated-procedure-description+xml\\": { - source: \\"iana\\", + "application/mbms-associated-procedure-description+xml": { + source: "iana", compressible: true }, - \\"application/mbms-deregister+xml\\": { - source: \\"iana\\", + "application/mbms-deregister+xml": { + source: "iana", compressible: true }, - \\"application/mbms-envelope+xml\\": { - source: \\"iana\\", + "application/mbms-envelope+xml": { + source: "iana", compressible: true }, - \\"application/mbms-msk+xml\\": { - source: \\"iana\\", + "application/mbms-msk+xml": { + source: "iana", compressible: true }, - \\"application/mbms-msk-response+xml\\": { - source: \\"iana\\", + "application/mbms-msk-response+xml": { + source: "iana", compressible: true }, - \\"application/mbms-protection-description+xml\\": { - source: \\"iana\\", + "application/mbms-protection-description+xml": { + source: "iana", compressible: true }, - \\"application/mbms-reception-report+xml\\": { - source: \\"iana\\", + "application/mbms-reception-report+xml": { + source: "iana", compressible: true }, - \\"application/mbms-register+xml\\": { - source: \\"iana\\", + "application/mbms-register+xml": { + source: "iana", compressible: true }, - \\"application/mbms-register-response+xml\\": { - source: \\"iana\\", + "application/mbms-register-response+xml": { + source: "iana", compressible: true }, - \\"application/mbms-schedule+xml\\": { - source: \\"iana\\", + "application/mbms-schedule+xml": { + source: "iana", compressible: true }, - \\"application/mbms-user-service-description+xml\\": { - source: \\"iana\\", + "application/mbms-user-service-description+xml": { + source: "iana", compressible: true }, - \\"application/mbox\\": { - source: \\"iana\\", - extensions: [\\"mbox\\"] + "application/mbox": { + source: "iana", + extensions: ["mbox"] }, - \\"application/media-policy-dataset+xml\\": { - source: \\"iana\\", + "application/media-policy-dataset+xml": { + source: "iana", compressible: true, - extensions: [\\"mpf\\"] + extensions: ["mpf"] }, - \\"application/media_control+xml\\": { - source: \\"iana\\", + "application/media_control+xml": { + source: "iana", compressible: true }, - \\"application/mediaservercontrol+xml\\": { - source: \\"iana\\", + "application/mediaservercontrol+xml": { + source: "iana", compressible: true, - extensions: [\\"mscml\\"] + extensions: ["mscml"] }, - \\"application/merge-patch+json\\": { - source: \\"iana\\", + "application/merge-patch+json": { + source: "iana", compressible: true }, - \\"application/metalink+xml\\": { - source: \\"apache\\", + "application/metalink+xml": { + source: "apache", compressible: true, - extensions: [\\"metalink\\"] + extensions: ["metalink"] }, - \\"application/metalink4+xml\\": { - source: \\"iana\\", + "application/metalink4+xml": { + source: "iana", compressible: true, - extensions: [\\"meta4\\"] + extensions: ["meta4"] }, - \\"application/mets+xml\\": { - source: \\"iana\\", + "application/mets+xml": { + source: "iana", compressible: true, - extensions: [\\"mets\\"] + extensions: ["mets"] }, - \\"application/mf4\\": { - source: \\"iana\\" + "application/mf4": { + source: "iana" }, - \\"application/mikey\\": { - source: \\"iana\\" + "application/mikey": { + source: "iana" }, - \\"application/mipc\\": { - source: \\"iana\\" + "application/mipc": { + source: "iana" }, - \\"application/missing-blocks+cbor-seq\\": { - source: \\"iana\\" + "application/missing-blocks+cbor-seq": { + source: "iana" }, - \\"application/mmt-aei+xml\\": { - source: \\"iana\\", + "application/mmt-aei+xml": { + source: "iana", compressible: true, - extensions: [\\"maei\\"] + extensions: ["maei"] }, - \\"application/mmt-usd+xml\\": { - source: \\"iana\\", + "application/mmt-usd+xml": { + source: "iana", compressible: true, - extensions: [\\"musd\\"] + extensions: ["musd"] }, - \\"application/mods+xml\\": { - source: \\"iana\\", + "application/mods+xml": { + source: "iana", compressible: true, - extensions: [\\"mods\\"] + extensions: ["mods"] }, - \\"application/moss-keys\\": { - source: \\"iana\\" + "application/moss-keys": { + source: "iana" }, - \\"application/moss-signature\\": { - source: \\"iana\\" + "application/moss-signature": { + source: "iana" }, - \\"application/mosskey-data\\": { - source: \\"iana\\" + "application/mosskey-data": { + source: "iana" }, - \\"application/mosskey-request\\": { - source: \\"iana\\" + "application/mosskey-request": { + source: "iana" }, - \\"application/mp21\\": { - source: \\"iana\\", - extensions: [\\"m21\\", \\"mp21\\"] + "application/mp21": { + source: "iana", + extensions: ["m21", "mp21"] }, - \\"application/mp4\\": { - source: \\"iana\\", - extensions: [\\"mp4s\\", \\"m4p\\"] + "application/mp4": { + source: "iana", + extensions: ["mp4s", "m4p"] }, - \\"application/mpeg4-generic\\": { - source: \\"iana\\" + "application/mpeg4-generic": { + source: "iana" }, - \\"application/mpeg4-iod\\": { - source: \\"iana\\" + "application/mpeg4-iod": { + source: "iana" }, - \\"application/mpeg4-iod-xmt\\": { - source: \\"iana\\" + "application/mpeg4-iod-xmt": { + source: "iana" }, - \\"application/mrb-consumer+xml\\": { - source: \\"iana\\", + "application/mrb-consumer+xml": { + source: "iana", compressible: true }, - \\"application/mrb-publish+xml\\": { - source: \\"iana\\", + "application/mrb-publish+xml": { + source: "iana", compressible: true }, - \\"application/msc-ivr+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/msc-ivr+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/msc-mixer+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/msc-mixer+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/msword\\": { - source: \\"iana\\", + "application/msword": { + source: "iana", compressible: false, - extensions: [\\"doc\\", \\"dot\\"] + extensions: ["doc", "dot"] }, - \\"application/mud+json\\": { - source: \\"iana\\", + "application/mud+json": { + source: "iana", compressible: true }, - \\"application/multipart-core\\": { - source: \\"iana\\" + "application/multipart-core": { + source: "iana" }, - \\"application/mxf\\": { - source: \\"iana\\", - extensions: [\\"mxf\\"] + "application/mxf": { + source: "iana", + extensions: ["mxf"] }, - \\"application/n-quads\\": { - source: \\"iana\\", - extensions: [\\"nq\\"] + "application/n-quads": { + source: "iana", + extensions: ["nq"] }, - \\"application/n-triples\\": { - source: \\"iana\\", - extensions: [\\"nt\\"] + "application/n-triples": { + source: "iana", + extensions: ["nt"] }, - \\"application/nasdata\\": { - source: \\"iana\\" + "application/nasdata": { + source: "iana" }, - \\"application/news-checkgroups\\": { - source: \\"iana\\", - charset: \\"US-ASCII\\" + "application/news-checkgroups": { + source: "iana", + charset: "US-ASCII" }, - \\"application/news-groupinfo\\": { - source: \\"iana\\", - charset: \\"US-ASCII\\" + "application/news-groupinfo": { + source: "iana", + charset: "US-ASCII" }, - \\"application/news-transmission\\": { - source: \\"iana\\" + "application/news-transmission": { + source: "iana" }, - \\"application/nlsml+xml\\": { - source: \\"iana\\", + "application/nlsml+xml": { + source: "iana", compressible: true }, - \\"application/node\\": { - source: \\"iana\\", - extensions: [\\"cjs\\"] + "application/node": { + source: "iana", + extensions: ["cjs"] }, - \\"application/nss\\": { - source: \\"iana\\" + "application/nss": { + source: "iana" }, - \\"application/oauth-authz-req+jwt\\": { - source: \\"iana\\" + "application/oauth-authz-req+jwt": { + source: "iana" }, - \\"application/oblivious-dns-message\\": { - source: \\"iana\\" + "application/oblivious-dns-message": { + source: "iana" }, - \\"application/ocsp-request\\": { - source: \\"iana\\" + "application/ocsp-request": { + source: "iana" }, - \\"application/ocsp-response\\": { - source: \\"iana\\" + "application/ocsp-response": { + source: "iana" }, - \\"application/octet-stream\\": { - source: \\"iana\\", + "application/octet-stream": { + source: "iana", compressible: false, - extensions: [\\"bin\\", \\"dms\\", \\"lrf\\", \\"mar\\", \\"so\\", \\"dist\\", \\"distz\\", \\"pkg\\", \\"bpk\\", \\"dump\\", \\"elc\\", \\"deploy\\", \\"exe\\", \\"dll\\", \\"deb\\", \\"dmg\\", \\"iso\\", \\"img\\", \\"msi\\", \\"msp\\", \\"msm\\", \\"buffer\\"] + extensions: ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"] }, - \\"application/oda\\": { - source: \\"iana\\", - extensions: [\\"oda\\"] + "application/oda": { + source: "iana", + extensions: ["oda"] }, - \\"application/odm+xml\\": { - source: \\"iana\\", + "application/odm+xml": { + source: "iana", compressible: true }, - \\"application/odx\\": { - source: \\"iana\\" + "application/odx": { + source: "iana" }, - \\"application/oebps-package+xml\\": { - source: \\"iana\\", + "application/oebps-package+xml": { + source: "iana", compressible: true, - extensions: [\\"opf\\"] + extensions: ["opf"] }, - \\"application/ogg\\": { - source: \\"iana\\", + "application/ogg": { + source: "iana", compressible: false, - extensions: [\\"ogx\\"] + extensions: ["ogx"] }, - \\"application/omdoc+xml\\": { - source: \\"apache\\", + "application/omdoc+xml": { + source: "apache", compressible: true, - extensions: [\\"omdoc\\"] + extensions: ["omdoc"] }, - \\"application/onenote\\": { - source: \\"apache\\", - extensions: [\\"onetoc\\", \\"onetoc2\\", \\"onetmp\\", \\"onepkg\\"] + "application/onenote": { + source: "apache", + extensions: ["onetoc", "onetoc2", "onetmp", "onepkg"] }, - \\"application/opc-nodeset+xml\\": { - source: \\"iana\\", + "application/opc-nodeset+xml": { + source: "iana", compressible: true }, - \\"application/oscore\\": { - source: \\"iana\\" + "application/oscore": { + source: "iana" }, - \\"application/oxps\\": { - source: \\"iana\\", - extensions: [\\"oxps\\"] + "application/oxps": { + source: "iana", + extensions: ["oxps"] }, - \\"application/p21\\": { - source: \\"iana\\" + "application/p21": { + source: "iana" }, - \\"application/p21+zip\\": { - source: \\"iana\\", + "application/p21+zip": { + source: "iana", compressible: false }, - \\"application/p2p-overlay+xml\\": { - source: \\"iana\\", + "application/p2p-overlay+xml": { + source: "iana", compressible: true, - extensions: [\\"relo\\"] + extensions: ["relo"] }, - \\"application/parityfec\\": { - source: \\"iana\\" + "application/parityfec": { + source: "iana" }, - \\"application/passport\\": { - source: \\"iana\\" + "application/passport": { + source: "iana" }, - \\"application/patch-ops-error+xml\\": { - source: \\"iana\\", + "application/patch-ops-error+xml": { + source: "iana", compressible: true, - extensions: [\\"xer\\"] + extensions: ["xer"] }, - \\"application/pdf\\": { - source: \\"iana\\", + "application/pdf": { + source: "iana", compressible: false, - extensions: [\\"pdf\\"] + extensions: ["pdf"] }, - \\"application/pdx\\": { - source: \\"iana\\" + "application/pdx": { + source: "iana" }, - \\"application/pem-certificate-chain\\": { - source: \\"iana\\" + "application/pem-certificate-chain": { + source: "iana" }, - \\"application/pgp-encrypted\\": { - source: \\"iana\\", + "application/pgp-encrypted": { + source: "iana", compressible: false, - extensions: [\\"pgp\\"] + extensions: ["pgp"] }, - \\"application/pgp-keys\\": { - source: \\"iana\\", - extensions: [\\"asc\\"] + "application/pgp-keys": { + source: "iana", + extensions: ["asc"] }, - \\"application/pgp-signature\\": { - source: \\"iana\\", - extensions: [\\"asc\\", \\"sig\\"] + "application/pgp-signature": { + source: "iana", + extensions: ["asc", "sig"] }, - \\"application/pics-rules\\": { - source: \\"apache\\", - extensions: [\\"prf\\"] + "application/pics-rules": { + source: "apache", + extensions: ["prf"] }, - \\"application/pidf+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/pidf+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/pidf-diff+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/pidf-diff+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/pkcs10\\": { - source: \\"iana\\", - extensions: [\\"p10\\"] + "application/pkcs10": { + source: "iana", + extensions: ["p10"] }, - \\"application/pkcs12\\": { - source: \\"iana\\" + "application/pkcs12": { + source: "iana" }, - \\"application/pkcs7-mime\\": { - source: \\"iana\\", - extensions: [\\"p7m\\", \\"p7c\\"] + "application/pkcs7-mime": { + source: "iana", + extensions: ["p7m", "p7c"] }, - \\"application/pkcs7-signature\\": { - source: \\"iana\\", - extensions: [\\"p7s\\"] + "application/pkcs7-signature": { + source: "iana", + extensions: ["p7s"] }, - \\"application/pkcs8\\": { - source: \\"iana\\", - extensions: [\\"p8\\"] + "application/pkcs8": { + source: "iana", + extensions: ["p8"] }, - \\"application/pkcs8-encrypted\\": { - source: \\"iana\\" + "application/pkcs8-encrypted": { + source: "iana" }, - \\"application/pkix-attr-cert\\": { - source: \\"iana\\", - extensions: [\\"ac\\"] + "application/pkix-attr-cert": { + source: "iana", + extensions: ["ac"] }, - \\"application/pkix-cert\\": { - source: \\"iana\\", - extensions: [\\"cer\\"] + "application/pkix-cert": { + source: "iana", + extensions: ["cer"] }, - \\"application/pkix-crl\\": { - source: \\"iana\\", - extensions: [\\"crl\\"] + "application/pkix-crl": { + source: "iana", + extensions: ["crl"] }, - \\"application/pkix-pkipath\\": { - source: \\"iana\\", - extensions: [\\"pkipath\\"] + "application/pkix-pkipath": { + source: "iana", + extensions: ["pkipath"] }, - \\"application/pkixcmp\\": { - source: \\"iana\\", - extensions: [\\"pki\\"] + "application/pkixcmp": { + source: "iana", + extensions: ["pki"] }, - \\"application/pls+xml\\": { - source: \\"iana\\", + "application/pls+xml": { + source: "iana", compressible: true, - extensions: [\\"pls\\"] + extensions: ["pls"] }, - \\"application/poc-settings+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/poc-settings+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/postscript\\": { - source: \\"iana\\", + "application/postscript": { + source: "iana", compressible: true, - extensions: [\\"ai\\", \\"eps\\", \\"ps\\"] + extensions: ["ai", "eps", "ps"] }, - \\"application/ppsp-tracker+json\\": { - source: \\"iana\\", + "application/ppsp-tracker+json": { + source: "iana", compressible: true }, - \\"application/problem+json\\": { - source: \\"iana\\", + "application/problem+json": { + source: "iana", compressible: true }, - \\"application/problem+xml\\": { - source: \\"iana\\", + "application/problem+xml": { + source: "iana", compressible: true }, - \\"application/provenance+xml\\": { - source: \\"iana\\", + "application/provenance+xml": { + source: "iana", compressible: true, - extensions: [\\"provx\\"] + extensions: ["provx"] }, - \\"application/prs.alvestrand.titrax-sheet\\": { - source: \\"iana\\" + "application/prs.alvestrand.titrax-sheet": { + source: "iana" }, - \\"application/prs.cww\\": { - source: \\"iana\\", - extensions: [\\"cww\\"] + "application/prs.cww": { + source: "iana", + extensions: ["cww"] }, - \\"application/prs.cyn\\": { - source: \\"iana\\", - charset: \\"7-BIT\\" + "application/prs.cyn": { + source: "iana", + charset: "7-BIT" }, - \\"application/prs.hpub+zip\\": { - source: \\"iana\\", + "application/prs.hpub+zip": { + source: "iana", compressible: false }, - \\"application/prs.nprend\\": { - source: \\"iana\\" + "application/prs.nprend": { + source: "iana" }, - \\"application/prs.plucker\\": { - source: \\"iana\\" + "application/prs.plucker": { + source: "iana" }, - \\"application/prs.rdf-xml-crypt\\": { - source: \\"iana\\" + "application/prs.rdf-xml-crypt": { + source: "iana" }, - \\"application/prs.xsf+xml\\": { - source: \\"iana\\", + "application/prs.xsf+xml": { + source: "iana", compressible: true }, - \\"application/pskc+xml\\": { - source: \\"iana\\", + "application/pskc+xml": { + source: "iana", compressible: true, - extensions: [\\"pskcxml\\"] + extensions: ["pskcxml"] }, - \\"application/pvd+json\\": { - source: \\"iana\\", + "application/pvd+json": { + source: "iana", compressible: true }, - \\"application/qsig\\": { - source: \\"iana\\" + "application/qsig": { + source: "iana" }, - \\"application/raml+yaml\\": { + "application/raml+yaml": { compressible: true, - extensions: [\\"raml\\"] + extensions: ["raml"] }, - \\"application/raptorfec\\": { - source: \\"iana\\" + "application/raptorfec": { + source: "iana" }, - \\"application/rdap+json\\": { - source: \\"iana\\", + "application/rdap+json": { + source: "iana", compressible: true }, - \\"application/rdf+xml\\": { - source: \\"iana\\", + "application/rdf+xml": { + source: "iana", compressible: true, - extensions: [\\"rdf\\", \\"owl\\"] + extensions: ["rdf", "owl"] }, - \\"application/reginfo+xml\\": { - source: \\"iana\\", + "application/reginfo+xml": { + source: "iana", compressible: true, - extensions: [\\"rif\\"] + extensions: ["rif"] }, - \\"application/relax-ng-compact-syntax\\": { - source: \\"iana\\", - extensions: [\\"rnc\\"] + "application/relax-ng-compact-syntax": { + source: "iana", + extensions: ["rnc"] }, - \\"application/remote-printing\\": { - source: \\"iana\\" + "application/remote-printing": { + source: "iana" }, - \\"application/reputon+json\\": { - source: \\"iana\\", + "application/reputon+json": { + source: "iana", compressible: true }, - \\"application/resource-lists+xml\\": { - source: \\"iana\\", + "application/resource-lists+xml": { + source: "iana", compressible: true, - extensions: [\\"rl\\"] + extensions: ["rl"] }, - \\"application/resource-lists-diff+xml\\": { - source: \\"iana\\", + "application/resource-lists-diff+xml": { + source: "iana", compressible: true, - extensions: [\\"rld\\"] + extensions: ["rld"] }, - \\"application/rfc+xml\\": { - source: \\"iana\\", + "application/rfc+xml": { + source: "iana", compressible: true }, - \\"application/riscos\\": { - source: \\"iana\\" + "application/riscos": { + source: "iana" }, - \\"application/rlmi+xml\\": { - source: \\"iana\\", + "application/rlmi+xml": { + source: "iana", compressible: true }, - \\"application/rls-services+xml\\": { - source: \\"iana\\", + "application/rls-services+xml": { + source: "iana", compressible: true, - extensions: [\\"rs\\"] + extensions: ["rs"] }, - \\"application/route-apd+xml\\": { - source: \\"iana\\", + "application/route-apd+xml": { + source: "iana", compressible: true, - extensions: [\\"rapd\\"] + extensions: ["rapd"] }, - \\"application/route-s-tsid+xml\\": { - source: \\"iana\\", + "application/route-s-tsid+xml": { + source: "iana", compressible: true, - extensions: [\\"sls\\"] + extensions: ["sls"] }, - \\"application/route-usd+xml\\": { - source: \\"iana\\", + "application/route-usd+xml": { + source: "iana", compressible: true, - extensions: [\\"rusd\\"] + extensions: ["rusd"] }, - \\"application/rpki-ghostbusters\\": { - source: \\"iana\\", - extensions: [\\"gbr\\"] + "application/rpki-ghostbusters": { + source: "iana", + extensions: ["gbr"] }, - \\"application/rpki-manifest\\": { - source: \\"iana\\", - extensions: [\\"mft\\"] + "application/rpki-manifest": { + source: "iana", + extensions: ["mft"] }, - \\"application/rpki-publication\\": { - source: \\"iana\\" + "application/rpki-publication": { + source: "iana" }, - \\"application/rpki-roa\\": { - source: \\"iana\\", - extensions: [\\"roa\\"] + "application/rpki-roa": { + source: "iana", + extensions: ["roa"] }, - \\"application/rpki-updown\\": { - source: \\"iana\\" + "application/rpki-updown": { + source: "iana" }, - \\"application/rsd+xml\\": { - source: \\"apache\\", + "application/rsd+xml": { + source: "apache", compressible: true, - extensions: [\\"rsd\\"] + extensions: ["rsd"] }, - \\"application/rss+xml\\": { - source: \\"apache\\", + "application/rss+xml": { + source: "apache", compressible: true, - extensions: [\\"rss\\"] + extensions: ["rss"] }, - \\"application/rtf\\": { - source: \\"iana\\", + "application/rtf": { + source: "iana", compressible: true, - extensions: [\\"rtf\\"] + extensions: ["rtf"] }, - \\"application/rtploopback\\": { - source: \\"iana\\" + "application/rtploopback": { + source: "iana" }, - \\"application/rtx\\": { - source: \\"iana\\" + "application/rtx": { + source: "iana" }, - \\"application/samlassertion+xml\\": { - source: \\"iana\\", + "application/samlassertion+xml": { + source: "iana", compressible: true }, - \\"application/samlmetadata+xml\\": { - source: \\"iana\\", + "application/samlmetadata+xml": { + source: "iana", compressible: true }, - \\"application/sarif+json\\": { - source: \\"iana\\", + "application/sarif+json": { + source: "iana", compressible: true }, - \\"application/sarif-external-properties+json\\": { - source: \\"iana\\", + "application/sarif-external-properties+json": { + source: "iana", compressible: true }, - \\"application/sbe\\": { - source: \\"iana\\" + "application/sbe": { + source: "iana" }, - \\"application/sbml+xml\\": { - source: \\"iana\\", + "application/sbml+xml": { + source: "iana", compressible: true, - extensions: [\\"sbml\\"] + extensions: ["sbml"] }, - \\"application/scaip+xml\\": { - source: \\"iana\\", + "application/scaip+xml": { + source: "iana", compressible: true }, - \\"application/scim+json\\": { - source: \\"iana\\", + "application/scim+json": { + source: "iana", compressible: true }, - \\"application/scvp-cv-request\\": { - source: \\"iana\\", - extensions: [\\"scq\\"] + "application/scvp-cv-request": { + source: "iana", + extensions: ["scq"] }, - \\"application/scvp-cv-response\\": { - source: \\"iana\\", - extensions: [\\"scs\\"] + "application/scvp-cv-response": { + source: "iana", + extensions: ["scs"] }, - \\"application/scvp-vp-request\\": { - source: \\"iana\\", - extensions: [\\"spq\\"] + "application/scvp-vp-request": { + source: "iana", + extensions: ["spq"] }, - \\"application/scvp-vp-response\\": { - source: \\"iana\\", - extensions: [\\"spp\\"] + "application/scvp-vp-response": { + source: "iana", + extensions: ["spp"] }, - \\"application/sdp\\": { - source: \\"iana\\", - extensions: [\\"sdp\\"] + "application/sdp": { + source: "iana", + extensions: ["sdp"] }, - \\"application/secevent+jwt\\": { - source: \\"iana\\" + "application/secevent+jwt": { + source: "iana" }, - \\"application/senml+cbor\\": { - source: \\"iana\\" + "application/senml+cbor": { + source: "iana" }, - \\"application/senml+json\\": { - source: \\"iana\\", + "application/senml+json": { + source: "iana", compressible: true }, - \\"application/senml+xml\\": { - source: \\"iana\\", + "application/senml+xml": { + source: "iana", compressible: true, - extensions: [\\"senmlx\\"] + extensions: ["senmlx"] }, - \\"application/senml-etch+cbor\\": { - source: \\"iana\\" + "application/senml-etch+cbor": { + source: "iana" }, - \\"application/senml-etch+json\\": { - source: \\"iana\\", + "application/senml-etch+json": { + source: "iana", compressible: true }, - \\"application/senml-exi\\": { - source: \\"iana\\" + "application/senml-exi": { + source: "iana" }, - \\"application/sensml+cbor\\": { - source: \\"iana\\" + "application/sensml+cbor": { + source: "iana" }, - \\"application/sensml+json\\": { - source: \\"iana\\", + "application/sensml+json": { + source: "iana", compressible: true }, - \\"application/sensml+xml\\": { - source: \\"iana\\", + "application/sensml+xml": { + source: "iana", compressible: true, - extensions: [\\"sensmlx\\"] + extensions: ["sensmlx"] }, - \\"application/sensml-exi\\": { - source: \\"iana\\" + "application/sensml-exi": { + source: "iana" }, - \\"application/sep+xml\\": { - source: \\"iana\\", + "application/sep+xml": { + source: "iana", compressible: true }, - \\"application/sep-exi\\": { - source: \\"iana\\" + "application/sep-exi": { + source: "iana" }, - \\"application/session-info\\": { - source: \\"iana\\" + "application/session-info": { + source: "iana" }, - \\"application/set-payment\\": { - source: \\"iana\\" + "application/set-payment": { + source: "iana" }, - \\"application/set-payment-initiation\\": { - source: \\"iana\\", - extensions: [\\"setpay\\"] + "application/set-payment-initiation": { + source: "iana", + extensions: ["setpay"] }, - \\"application/set-registration\\": { - source: \\"iana\\" + "application/set-registration": { + source: "iana" }, - \\"application/set-registration-initiation\\": { - source: \\"iana\\", - extensions: [\\"setreg\\"] + "application/set-registration-initiation": { + source: "iana", + extensions: ["setreg"] }, - \\"application/sgml\\": { - source: \\"iana\\" + "application/sgml": { + source: "iana" }, - \\"application/sgml-open-catalog\\": { - source: \\"iana\\" + "application/sgml-open-catalog": { + source: "iana" }, - \\"application/shf+xml\\": { - source: \\"iana\\", + "application/shf+xml": { + source: "iana", compressible: true, - extensions: [\\"shf\\"] + extensions: ["shf"] }, - \\"application/sieve\\": { - source: \\"iana\\", - extensions: [\\"siv\\", \\"sieve\\"] + "application/sieve": { + source: "iana", + extensions: ["siv", "sieve"] }, - \\"application/simple-filter+xml\\": { - source: \\"iana\\", + "application/simple-filter+xml": { + source: "iana", compressible: true }, - \\"application/simple-message-summary\\": { - source: \\"iana\\" + "application/simple-message-summary": { + source: "iana" }, - \\"application/simplesymbolcontainer\\": { - source: \\"iana\\" + "application/simplesymbolcontainer": { + source: "iana" }, - \\"application/sipc\\": { - source: \\"iana\\" + "application/sipc": { + source: "iana" }, - \\"application/slate\\": { - source: \\"iana\\" + "application/slate": { + source: "iana" }, - \\"application/smil\\": { - source: \\"iana\\" + "application/smil": { + source: "iana" }, - \\"application/smil+xml\\": { - source: \\"iana\\", + "application/smil+xml": { + source: "iana", compressible: true, - extensions: [\\"smi\\", \\"smil\\"] + extensions: ["smi", "smil"] }, - \\"application/smpte336m\\": { - source: \\"iana\\" + "application/smpte336m": { + source: "iana" }, - \\"application/soap+fastinfoset\\": { - source: \\"iana\\" + "application/soap+fastinfoset": { + source: "iana" }, - \\"application/soap+xml\\": { - source: \\"iana\\", + "application/soap+xml": { + source: "iana", compressible: true }, - \\"application/sparql-query\\": { - source: \\"iana\\", - extensions: [\\"rq\\"] + "application/sparql-query": { + source: "iana", + extensions: ["rq"] }, - \\"application/sparql-results+xml\\": { - source: \\"iana\\", + "application/sparql-results+xml": { + source: "iana", compressible: true, - extensions: [\\"srx\\"] + extensions: ["srx"] }, - \\"application/spdx+json\\": { - source: \\"iana\\", + "application/spdx+json": { + source: "iana", compressible: true }, - \\"application/spirits-event+xml\\": { - source: \\"iana\\", + "application/spirits-event+xml": { + source: "iana", compressible: true }, - \\"application/sql\\": { - source: \\"iana\\" + "application/sql": { + source: "iana" }, - \\"application/srgs\\": { - source: \\"iana\\", - extensions: [\\"gram\\"] + "application/srgs": { + source: "iana", + extensions: ["gram"] }, - \\"application/srgs+xml\\": { - source: \\"iana\\", + "application/srgs+xml": { + source: "iana", compressible: true, - extensions: [\\"grxml\\"] + extensions: ["grxml"] }, - \\"application/sru+xml\\": { - source: \\"iana\\", + "application/sru+xml": { + source: "iana", compressible: true, - extensions: [\\"sru\\"] + extensions: ["sru"] }, - \\"application/ssdl+xml\\": { - source: \\"apache\\", + "application/ssdl+xml": { + source: "apache", compressible: true, - extensions: [\\"ssdl\\"] + extensions: ["ssdl"] }, - \\"application/ssml+xml\\": { - source: \\"iana\\", + "application/ssml+xml": { + source: "iana", compressible: true, - extensions: [\\"ssml\\"] + extensions: ["ssml"] }, - \\"application/stix+json\\": { - source: \\"iana\\", + "application/stix+json": { + source: "iana", compressible: true }, - \\"application/swid+xml\\": { - source: \\"iana\\", + "application/swid+xml": { + source: "iana", compressible: true, - extensions: [\\"swidtag\\"] + extensions: ["swidtag"] }, - \\"application/tamp-apex-update\\": { - source: \\"iana\\" + "application/tamp-apex-update": { + source: "iana" }, - \\"application/tamp-apex-update-confirm\\": { - source: \\"iana\\" + "application/tamp-apex-update-confirm": { + source: "iana" }, - \\"application/tamp-community-update\\": { - source: \\"iana\\" + "application/tamp-community-update": { + source: "iana" }, - \\"application/tamp-community-update-confirm\\": { - source: \\"iana\\" + "application/tamp-community-update-confirm": { + source: "iana" }, - \\"application/tamp-error\\": { - source: \\"iana\\" + "application/tamp-error": { + source: "iana" }, - \\"application/tamp-sequence-adjust\\": { - source: \\"iana\\" + "application/tamp-sequence-adjust": { + source: "iana" }, - \\"application/tamp-sequence-adjust-confirm\\": { - source: \\"iana\\" + "application/tamp-sequence-adjust-confirm": { + source: "iana" }, - \\"application/tamp-status-query\\": { - source: \\"iana\\" + "application/tamp-status-query": { + source: "iana" }, - \\"application/tamp-status-response\\": { - source: \\"iana\\" + "application/tamp-status-response": { + source: "iana" }, - \\"application/tamp-update\\": { - source: \\"iana\\" + "application/tamp-update": { + source: "iana" }, - \\"application/tamp-update-confirm\\": { - source: \\"iana\\" + "application/tamp-update-confirm": { + source: "iana" }, - \\"application/tar\\": { + "application/tar": { compressible: true }, - \\"application/taxii+json\\": { - source: \\"iana\\", + "application/taxii+json": { + source: "iana", compressible: true }, - \\"application/td+json\\": { - source: \\"iana\\", + "application/td+json": { + source: "iana", compressible: true }, - \\"application/tei+xml\\": { - source: \\"iana\\", + "application/tei+xml": { + source: "iana", compressible: true, - extensions: [\\"tei\\", \\"teicorpus\\"] + extensions: ["tei", "teicorpus"] }, - \\"application/tetra_isi\\": { - source: \\"iana\\" + "application/tetra_isi": { + source: "iana" }, - \\"application/thraud+xml\\": { - source: \\"iana\\", + "application/thraud+xml": { + source: "iana", compressible: true, - extensions: [\\"tfi\\"] + extensions: ["tfi"] }, - \\"application/timestamp-query\\": { - source: \\"iana\\" + "application/timestamp-query": { + source: "iana" }, - \\"application/timestamp-reply\\": { - source: \\"iana\\" + "application/timestamp-reply": { + source: "iana" }, - \\"application/timestamped-data\\": { - source: \\"iana\\", - extensions: [\\"tsd\\"] + "application/timestamped-data": { + source: "iana", + extensions: ["tsd"] }, - \\"application/tlsrpt+gzip\\": { - source: \\"iana\\" + "application/tlsrpt+gzip": { + source: "iana" }, - \\"application/tlsrpt+json\\": { - source: \\"iana\\", + "application/tlsrpt+json": { + source: "iana", compressible: true }, - \\"application/tnauthlist\\": { - source: \\"iana\\" + "application/tnauthlist": { + source: "iana" }, - \\"application/token-introspection+jwt\\": { - source: \\"iana\\" + "application/token-introspection+jwt": { + source: "iana" }, - \\"application/toml\\": { + "application/toml": { compressible: true, - extensions: [\\"toml\\"] + extensions: ["toml"] }, - \\"application/trickle-ice-sdpfrag\\": { - source: \\"iana\\" + "application/trickle-ice-sdpfrag": { + source: "iana" }, - \\"application/trig\\": { - source: \\"iana\\", - extensions: [\\"trig\\"] + "application/trig": { + source: "iana", + extensions: ["trig"] }, - \\"application/ttml+xml\\": { - source: \\"iana\\", + "application/ttml+xml": { + source: "iana", compressible: true, - extensions: [\\"ttml\\"] + extensions: ["ttml"] }, - \\"application/tve-trigger\\": { - source: \\"iana\\" + "application/tve-trigger": { + source: "iana" }, - \\"application/tzif\\": { - source: \\"iana\\" + "application/tzif": { + source: "iana" }, - \\"application/tzif-leap\\": { - source: \\"iana\\" + "application/tzif-leap": { + source: "iana" }, - \\"application/ubjson\\": { + "application/ubjson": { compressible: false, - extensions: [\\"ubj\\"] + extensions: ["ubj"] }, - \\"application/ulpfec\\": { - source: \\"iana\\" + "application/ulpfec": { + source: "iana" }, - \\"application/urc-grpsheet+xml\\": { - source: \\"iana\\", + "application/urc-grpsheet+xml": { + source: "iana", compressible: true }, - \\"application/urc-ressheet+xml\\": { - source: \\"iana\\", + "application/urc-ressheet+xml": { + source: "iana", compressible: true, - extensions: [\\"rsheet\\"] + extensions: ["rsheet"] }, - \\"application/urc-targetdesc+xml\\": { - source: \\"iana\\", + "application/urc-targetdesc+xml": { + source: "iana", compressible: true, - extensions: [\\"td\\"] + extensions: ["td"] }, - \\"application/urc-uisocketdesc+xml\\": { - source: \\"iana\\", + "application/urc-uisocketdesc+xml": { + source: "iana", compressible: true }, - \\"application/vcard+json\\": { - source: \\"iana\\", + "application/vcard+json": { + source: "iana", compressible: true }, - \\"application/vcard+xml\\": { - source: \\"iana\\", + "application/vcard+xml": { + source: "iana", compressible: true }, - \\"application/vemmi\\": { - source: \\"iana\\" + "application/vemmi": { + source: "iana" }, - \\"application/vividence.scriptfile\\": { - source: \\"apache\\" + "application/vividence.scriptfile": { + source: "apache" }, - \\"application/vnd.1000minds.decision-model+xml\\": { - source: \\"iana\\", + "application/vnd.1000minds.decision-model+xml": { + source: "iana", compressible: true, - extensions: [\\"1km\\"] + extensions: ["1km"] }, - \\"application/vnd.3gpp-prose+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp-prose+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp-prose-pc3ch+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp-prose-pc3ch+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp-v2x-local-service-information\\": { - source: \\"iana\\" + "application/vnd.3gpp-v2x-local-service-information": { + source: "iana" }, - \\"application/vnd.3gpp.5gnas\\": { - source: \\"iana\\" + "application/vnd.3gpp.5gnas": { + source: "iana" }, - \\"application/vnd.3gpp.access-transfer-events+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.access-transfer-events+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.bsf+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.bsf+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.gmop+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.gmop+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.gtpc\\": { - source: \\"iana\\" + "application/vnd.3gpp.gtpc": { + source: "iana" }, - \\"application/vnd.3gpp.interworking-data\\": { - source: \\"iana\\" + "application/vnd.3gpp.interworking-data": { + source: "iana" }, - \\"application/vnd.3gpp.lpp\\": { - source: \\"iana\\" + "application/vnd.3gpp.lpp": { + source: "iana" }, - \\"application/vnd.3gpp.mc-signalling-ear\\": { - source: \\"iana\\" + "application/vnd.3gpp.mc-signalling-ear": { + source: "iana" }, - \\"application/vnd.3gpp.mcdata-affiliation-command+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcdata-affiliation-command+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcdata-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcdata-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcdata-payload\\": { - source: \\"iana\\" + "application/vnd.3gpp.mcdata-payload": { + source: "iana" }, - \\"application/vnd.3gpp.mcdata-service-config+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcdata-service-config+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcdata-signalling\\": { - source: \\"iana\\" + "application/vnd.3gpp.mcdata-signalling": { + source: "iana" }, - \\"application/vnd.3gpp.mcdata-ue-config+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcdata-ue-config+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcdata-user-profile+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcdata-user-profile+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-affiliation-command+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-affiliation-command+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-floor-request+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-floor-request+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-location-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-location-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-mbms-usage-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-mbms-usage-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-service-config+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-service-config+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-signed+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-signed+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-ue-config+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-ue-config+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-ue-init-config+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-ue-init-config+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcptt-user-profile+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcptt-user-profile+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcvideo-affiliation-command+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcvideo-affiliation-command+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcvideo-affiliation-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcvideo-affiliation-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcvideo-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcvideo-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcvideo-location-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcvideo-location-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcvideo-mbms-usage-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcvideo-mbms-usage-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcvideo-service-config+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcvideo-service-config+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcvideo-transmission-request+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcvideo-transmission-request+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcvideo-ue-config+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcvideo-ue-config+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mcvideo-user-profile+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mcvideo-user-profile+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.mid-call+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.mid-call+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.ngap\\": { - source: \\"iana\\" + "application/vnd.3gpp.ngap": { + source: "iana" }, - \\"application/vnd.3gpp.pfcp\\": { - source: \\"iana\\" + "application/vnd.3gpp.pfcp": { + source: "iana" }, - \\"application/vnd.3gpp.pic-bw-large\\": { - source: \\"iana\\", - extensions: [\\"plb\\"] + "application/vnd.3gpp.pic-bw-large": { + source: "iana", + extensions: ["plb"] }, - \\"application/vnd.3gpp.pic-bw-small\\": { - source: \\"iana\\", - extensions: [\\"psb\\"] + "application/vnd.3gpp.pic-bw-small": { + source: "iana", + extensions: ["psb"] }, - \\"application/vnd.3gpp.pic-bw-var\\": { - source: \\"iana\\", - extensions: [\\"pvb\\"] + "application/vnd.3gpp.pic-bw-var": { + source: "iana", + extensions: ["pvb"] }, - \\"application/vnd.3gpp.s1ap\\": { - source: \\"iana\\" + "application/vnd.3gpp.s1ap": { + source: "iana" }, - \\"application/vnd.3gpp.sms\\": { - source: \\"iana\\" + "application/vnd.3gpp.sms": { + source: "iana" }, - \\"application/vnd.3gpp.sms+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.sms+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.srvcc-ext+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.srvcc-ext+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.srvcc-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.srvcc-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.state-and-event-info+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.state-and-event-info+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp.ussd+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp.ussd+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp2.bcmcsinfo+xml\\": { - source: \\"iana\\", + "application/vnd.3gpp2.bcmcsinfo+xml": { + source: "iana", compressible: true }, - \\"application/vnd.3gpp2.sms\\": { - source: \\"iana\\" + "application/vnd.3gpp2.sms": { + source: "iana" }, - \\"application/vnd.3gpp2.tcap\\": { - source: \\"iana\\", - extensions: [\\"tcap\\"] + "application/vnd.3gpp2.tcap": { + source: "iana", + extensions: ["tcap"] }, - \\"application/vnd.3lightssoftware.imagescal\\": { - source: \\"iana\\" + "application/vnd.3lightssoftware.imagescal": { + source: "iana" }, - \\"application/vnd.3m.post-it-notes\\": { - source: \\"iana\\", - extensions: [\\"pwn\\"] + "application/vnd.3m.post-it-notes": { + source: "iana", + extensions: ["pwn"] }, - \\"application/vnd.accpac.simply.aso\\": { - source: \\"iana\\", - extensions: [\\"aso\\"] + "application/vnd.accpac.simply.aso": { + source: "iana", + extensions: ["aso"] }, - \\"application/vnd.accpac.simply.imp\\": { - source: \\"iana\\", - extensions: [\\"imp\\"] + "application/vnd.accpac.simply.imp": { + source: "iana", + extensions: ["imp"] }, - \\"application/vnd.acucobol\\": { - source: \\"iana\\", - extensions: [\\"acu\\"] + "application/vnd.acucobol": { + source: "iana", + extensions: ["acu"] }, - \\"application/vnd.acucorp\\": { - source: \\"iana\\", - extensions: [\\"atc\\", \\"acutc\\"] + "application/vnd.acucorp": { + source: "iana", + extensions: ["atc", "acutc"] }, - \\"application/vnd.adobe.air-application-installer-package+zip\\": { - source: \\"apache\\", + "application/vnd.adobe.air-application-installer-package+zip": { + source: "apache", compressible: false, - extensions: [\\"air\\"] + extensions: ["air"] }, - \\"application/vnd.adobe.flash.movie\\": { - source: \\"iana\\" + "application/vnd.adobe.flash.movie": { + source: "iana" }, - \\"application/vnd.adobe.formscentral.fcdt\\": { - source: \\"iana\\", - extensions: [\\"fcdt\\"] + "application/vnd.adobe.formscentral.fcdt": { + source: "iana", + extensions: ["fcdt"] }, - \\"application/vnd.adobe.fxp\\": { - source: \\"iana\\", - extensions: [\\"fxp\\", \\"fxpl\\"] + "application/vnd.adobe.fxp": { + source: "iana", + extensions: ["fxp", "fxpl"] }, - \\"application/vnd.adobe.partial-upload\\": { - source: \\"iana\\" + "application/vnd.adobe.partial-upload": { + source: "iana" }, - \\"application/vnd.adobe.xdp+xml\\": { - source: \\"iana\\", + "application/vnd.adobe.xdp+xml": { + source: "iana", compressible: true, - extensions: [\\"xdp\\"] + extensions: ["xdp"] }, - \\"application/vnd.adobe.xfdf\\": { - source: \\"iana\\", - extensions: [\\"xfdf\\"] + "application/vnd.adobe.xfdf": { + source: "iana", + extensions: ["xfdf"] }, - \\"application/vnd.aether.imp\\": { - source: \\"iana\\" + "application/vnd.aether.imp": { + source: "iana" }, - \\"application/vnd.afpc.afplinedata\\": { - source: \\"iana\\" + "application/vnd.afpc.afplinedata": { + source: "iana" }, - \\"application/vnd.afpc.afplinedata-pagedef\\": { - source: \\"iana\\" + "application/vnd.afpc.afplinedata-pagedef": { + source: "iana" }, - \\"application/vnd.afpc.cmoca-cmresource\\": { - source: \\"iana\\" + "application/vnd.afpc.cmoca-cmresource": { + source: "iana" }, - \\"application/vnd.afpc.foca-charset\\": { - source: \\"iana\\" + "application/vnd.afpc.foca-charset": { + source: "iana" }, - \\"application/vnd.afpc.foca-codedfont\\": { - source: \\"iana\\" + "application/vnd.afpc.foca-codedfont": { + source: "iana" }, - \\"application/vnd.afpc.foca-codepage\\": { - source: \\"iana\\" + "application/vnd.afpc.foca-codepage": { + source: "iana" }, - \\"application/vnd.afpc.modca\\": { - source: \\"iana\\" + "application/vnd.afpc.modca": { + source: "iana" }, - \\"application/vnd.afpc.modca-cmtable\\": { - source: \\"iana\\" + "application/vnd.afpc.modca-cmtable": { + source: "iana" }, - \\"application/vnd.afpc.modca-formdef\\": { - source: \\"iana\\" + "application/vnd.afpc.modca-formdef": { + source: "iana" }, - \\"application/vnd.afpc.modca-mediummap\\": { - source: \\"iana\\" + "application/vnd.afpc.modca-mediummap": { + source: "iana" }, - \\"application/vnd.afpc.modca-objectcontainer\\": { - source: \\"iana\\" + "application/vnd.afpc.modca-objectcontainer": { + source: "iana" }, - \\"application/vnd.afpc.modca-overlay\\": { - source: \\"iana\\" + "application/vnd.afpc.modca-overlay": { + source: "iana" }, - \\"application/vnd.afpc.modca-pagesegment\\": { - source: \\"iana\\" + "application/vnd.afpc.modca-pagesegment": { + source: "iana" }, - \\"application/vnd.age\\": { - source: \\"iana\\", - extensions: [\\"age\\"] + "application/vnd.age": { + source: "iana", + extensions: ["age"] }, - \\"application/vnd.ah-barcode\\": { - source: \\"iana\\" + "application/vnd.ah-barcode": { + source: "iana" }, - \\"application/vnd.ahead.space\\": { - source: \\"iana\\", - extensions: [\\"ahead\\"] + "application/vnd.ahead.space": { + source: "iana", + extensions: ["ahead"] }, - \\"application/vnd.airzip.filesecure.azf\\": { - source: \\"iana\\", - extensions: [\\"azf\\"] + "application/vnd.airzip.filesecure.azf": { + source: "iana", + extensions: ["azf"] }, - \\"application/vnd.airzip.filesecure.azs\\": { - source: \\"iana\\", - extensions: [\\"azs\\"] + "application/vnd.airzip.filesecure.azs": { + source: "iana", + extensions: ["azs"] }, - \\"application/vnd.amadeus+json\\": { - source: \\"iana\\", + "application/vnd.amadeus+json": { + source: "iana", compressible: true }, - \\"application/vnd.amazon.ebook\\": { - source: \\"apache\\", - extensions: [\\"azw\\"] + "application/vnd.amazon.ebook": { + source: "apache", + extensions: ["azw"] }, - \\"application/vnd.amazon.mobi8-ebook\\": { - source: \\"iana\\" + "application/vnd.amazon.mobi8-ebook": { + source: "iana" }, - \\"application/vnd.americandynamics.acc\\": { - source: \\"iana\\", - extensions: [\\"acc\\"] + "application/vnd.americandynamics.acc": { + source: "iana", + extensions: ["acc"] }, - \\"application/vnd.amiga.ami\\": { - source: \\"iana\\", - extensions: [\\"ami\\"] + "application/vnd.amiga.ami": { + source: "iana", + extensions: ["ami"] }, - \\"application/vnd.amundsen.maze+xml\\": { - source: \\"iana\\", + "application/vnd.amundsen.maze+xml": { + source: "iana", compressible: true }, - \\"application/vnd.android.ota\\": { - source: \\"iana\\" + "application/vnd.android.ota": { + source: "iana" }, - \\"application/vnd.android.package-archive\\": { - source: \\"apache\\", + "application/vnd.android.package-archive": { + source: "apache", compressible: false, - extensions: [\\"apk\\"] + extensions: ["apk"] }, - \\"application/vnd.anki\\": { - source: \\"iana\\" + "application/vnd.anki": { + source: "iana" }, - \\"application/vnd.anser-web-certificate-issue-initiation\\": { - source: \\"iana\\", - extensions: [\\"cii\\"] + "application/vnd.anser-web-certificate-issue-initiation": { + source: "iana", + extensions: ["cii"] }, - \\"application/vnd.anser-web-funds-transfer-initiation\\": { - source: \\"apache\\", - extensions: [\\"fti\\"] + "application/vnd.anser-web-funds-transfer-initiation": { + source: "apache", + extensions: ["fti"] }, - \\"application/vnd.antix.game-component\\": { - source: \\"iana\\", - extensions: [\\"atx\\"] + "application/vnd.antix.game-component": { + source: "iana", + extensions: ["atx"] }, - \\"application/vnd.apache.arrow.file\\": { - source: \\"iana\\" + "application/vnd.apache.arrow.file": { + source: "iana" }, - \\"application/vnd.apache.arrow.stream\\": { - source: \\"iana\\" + "application/vnd.apache.arrow.stream": { + source: "iana" }, - \\"application/vnd.apache.thrift.binary\\": { - source: \\"iana\\" + "application/vnd.apache.thrift.binary": { + source: "iana" }, - \\"application/vnd.apache.thrift.compact\\": { - source: \\"iana\\" + "application/vnd.apache.thrift.compact": { + source: "iana" }, - \\"application/vnd.apache.thrift.json\\": { - source: \\"iana\\" + "application/vnd.apache.thrift.json": { + source: "iana" }, - \\"application/vnd.api+json\\": { - source: \\"iana\\", + "application/vnd.api+json": { + source: "iana", compressible: true }, - \\"application/vnd.aplextor.warrp+json\\": { - source: \\"iana\\", + "application/vnd.aplextor.warrp+json": { + source: "iana", compressible: true }, - \\"application/vnd.apothekende.reservation+json\\": { - source: \\"iana\\", + "application/vnd.apothekende.reservation+json": { + source: "iana", compressible: true }, - \\"application/vnd.apple.installer+xml\\": { - source: \\"iana\\", + "application/vnd.apple.installer+xml": { + source: "iana", compressible: true, - extensions: [\\"mpkg\\"] + extensions: ["mpkg"] }, - \\"application/vnd.apple.keynote\\": { - source: \\"iana\\", - extensions: [\\"key\\"] + "application/vnd.apple.keynote": { + source: "iana", + extensions: ["key"] }, - \\"application/vnd.apple.mpegurl\\": { - source: \\"iana\\", - extensions: [\\"m3u8\\"] + "application/vnd.apple.mpegurl": { + source: "iana", + extensions: ["m3u8"] }, - \\"application/vnd.apple.numbers\\": { - source: \\"iana\\", - extensions: [\\"numbers\\"] + "application/vnd.apple.numbers": { + source: "iana", + extensions: ["numbers"] }, - \\"application/vnd.apple.pages\\": { - source: \\"iana\\", - extensions: [\\"pages\\"] + "application/vnd.apple.pages": { + source: "iana", + extensions: ["pages"] }, - \\"application/vnd.apple.pkpass\\": { + "application/vnd.apple.pkpass": { compressible: false, - extensions: [\\"pkpass\\"] + extensions: ["pkpass"] }, - \\"application/vnd.arastra.swi\\": { - source: \\"iana\\" + "application/vnd.arastra.swi": { + source: "iana" }, - \\"application/vnd.aristanetworks.swi\\": { - source: \\"iana\\", - extensions: [\\"swi\\"] + "application/vnd.aristanetworks.swi": { + source: "iana", + extensions: ["swi"] }, - \\"application/vnd.artisan+json\\": { - source: \\"iana\\", + "application/vnd.artisan+json": { + source: "iana", compressible: true }, - \\"application/vnd.artsquare\\": { - source: \\"iana\\" + "application/vnd.artsquare": { + source: "iana" }, - \\"application/vnd.astraea-software.iota\\": { - source: \\"iana\\", - extensions: [\\"iota\\"] + "application/vnd.astraea-software.iota": { + source: "iana", + extensions: ["iota"] }, - \\"application/vnd.audiograph\\": { - source: \\"iana\\", - extensions: [\\"aep\\"] + "application/vnd.audiograph": { + source: "iana", + extensions: ["aep"] }, - \\"application/vnd.autopackage\\": { - source: \\"iana\\" + "application/vnd.autopackage": { + source: "iana" }, - \\"application/vnd.avalon+json\\": { - source: \\"iana\\", + "application/vnd.avalon+json": { + source: "iana", compressible: true }, - \\"application/vnd.avistar+xml\\": { - source: \\"iana\\", + "application/vnd.avistar+xml": { + source: "iana", compressible: true }, - \\"application/vnd.balsamiq.bmml+xml\\": { - source: \\"iana\\", + "application/vnd.balsamiq.bmml+xml": { + source: "iana", compressible: true, - extensions: [\\"bmml\\"] + extensions: ["bmml"] }, - \\"application/vnd.balsamiq.bmpr\\": { - source: \\"iana\\" + "application/vnd.balsamiq.bmpr": { + source: "iana" }, - \\"application/vnd.banana-accounting\\": { - source: \\"iana\\" + "application/vnd.banana-accounting": { + source: "iana" }, - \\"application/vnd.bbf.usp.error\\": { - source: \\"iana\\" + "application/vnd.bbf.usp.error": { + source: "iana" }, - \\"application/vnd.bbf.usp.msg\\": { - source: \\"iana\\" + "application/vnd.bbf.usp.msg": { + source: "iana" }, - \\"application/vnd.bbf.usp.msg+json\\": { - source: \\"iana\\", + "application/vnd.bbf.usp.msg+json": { + source: "iana", compressible: true }, - \\"application/vnd.bekitzur-stech+json\\": { - source: \\"iana\\", + "application/vnd.bekitzur-stech+json": { + source: "iana", compressible: true }, - \\"application/vnd.bint.med-content\\": { - source: \\"iana\\" + "application/vnd.bint.med-content": { + source: "iana" }, - \\"application/vnd.biopax.rdf+xml\\": { - source: \\"iana\\", + "application/vnd.biopax.rdf+xml": { + source: "iana", compressible: true }, - \\"application/vnd.blink-idb-value-wrapper\\": { - source: \\"iana\\" + "application/vnd.blink-idb-value-wrapper": { + source: "iana" }, - \\"application/vnd.blueice.multipass\\": { - source: \\"iana\\", - extensions: [\\"mpm\\"] + "application/vnd.blueice.multipass": { + source: "iana", + extensions: ["mpm"] }, - \\"application/vnd.bluetooth.ep.oob\\": { - source: \\"iana\\" + "application/vnd.bluetooth.ep.oob": { + source: "iana" }, - \\"application/vnd.bluetooth.le.oob\\": { - source: \\"iana\\" + "application/vnd.bluetooth.le.oob": { + source: "iana" }, - \\"application/vnd.bmi\\": { - source: \\"iana\\", - extensions: [\\"bmi\\"] + "application/vnd.bmi": { + source: "iana", + extensions: ["bmi"] }, - \\"application/vnd.bpf\\": { - source: \\"iana\\" + "application/vnd.bpf": { + source: "iana" }, - \\"application/vnd.bpf3\\": { - source: \\"iana\\" + "application/vnd.bpf3": { + source: "iana" }, - \\"application/vnd.businessobjects\\": { - source: \\"iana\\", - extensions: [\\"rep\\"] + "application/vnd.businessobjects": { + source: "iana", + extensions: ["rep"] }, - \\"application/vnd.byu.uapi+json\\": { - source: \\"iana\\", + "application/vnd.byu.uapi+json": { + source: "iana", compressible: true }, - \\"application/vnd.cab-jscript\\": { - source: \\"iana\\" + "application/vnd.cab-jscript": { + source: "iana" }, - \\"application/vnd.canon-cpdl\\": { - source: \\"iana\\" + "application/vnd.canon-cpdl": { + source: "iana" }, - \\"application/vnd.canon-lips\\": { - source: \\"iana\\" + "application/vnd.canon-lips": { + source: "iana" }, - \\"application/vnd.capasystems-pg+json\\": { - source: \\"iana\\", + "application/vnd.capasystems-pg+json": { + source: "iana", compressible: true }, - \\"application/vnd.cendio.thinlinc.clientconf\\": { - source: \\"iana\\" + "application/vnd.cendio.thinlinc.clientconf": { + source: "iana" }, - \\"application/vnd.century-systems.tcp_stream\\": { - source: \\"iana\\" + "application/vnd.century-systems.tcp_stream": { + source: "iana" }, - \\"application/vnd.chemdraw+xml\\": { - source: \\"iana\\", + "application/vnd.chemdraw+xml": { + source: "iana", compressible: true, - extensions: [\\"cdxml\\"] + extensions: ["cdxml"] }, - \\"application/vnd.chess-pgn\\": { - source: \\"iana\\" + "application/vnd.chess-pgn": { + source: "iana" }, - \\"application/vnd.chipnuts.karaoke-mmd\\": { - source: \\"iana\\", - extensions: [\\"mmd\\"] + "application/vnd.chipnuts.karaoke-mmd": { + source: "iana", + extensions: ["mmd"] }, - \\"application/vnd.ciedi\\": { - source: \\"iana\\" + "application/vnd.ciedi": { + source: "iana" }, - \\"application/vnd.cinderella\\": { - source: \\"iana\\", - extensions: [\\"cdy\\"] + "application/vnd.cinderella": { + source: "iana", + extensions: ["cdy"] }, - \\"application/vnd.cirpack.isdn-ext\\": { - source: \\"iana\\" + "application/vnd.cirpack.isdn-ext": { + source: "iana" }, - \\"application/vnd.citationstyles.style+xml\\": { - source: \\"iana\\", + "application/vnd.citationstyles.style+xml": { + source: "iana", compressible: true, - extensions: [\\"csl\\"] + extensions: ["csl"] }, - \\"application/vnd.claymore\\": { - source: \\"iana\\", - extensions: [\\"cla\\"] + "application/vnd.claymore": { + source: "iana", + extensions: ["cla"] }, - \\"application/vnd.cloanto.rp9\\": { - source: \\"iana\\", - extensions: [\\"rp9\\"] + "application/vnd.cloanto.rp9": { + source: "iana", + extensions: ["rp9"] }, - \\"application/vnd.clonk.c4group\\": { - source: \\"iana\\", - extensions: [\\"c4g\\", \\"c4d\\", \\"c4f\\", \\"c4p\\", \\"c4u\\"] + "application/vnd.clonk.c4group": { + source: "iana", + extensions: ["c4g", "c4d", "c4f", "c4p", "c4u"] }, - \\"application/vnd.cluetrust.cartomobile-config\\": { - source: \\"iana\\", - extensions: [\\"c11amc\\"] + "application/vnd.cluetrust.cartomobile-config": { + source: "iana", + extensions: ["c11amc"] }, - \\"application/vnd.cluetrust.cartomobile-config-pkg\\": { - source: \\"iana\\", - extensions: [\\"c11amz\\"] + "application/vnd.cluetrust.cartomobile-config-pkg": { + source: "iana", + extensions: ["c11amz"] }, - \\"application/vnd.coffeescript\\": { - source: \\"iana\\" + "application/vnd.coffeescript": { + source: "iana" }, - \\"application/vnd.collabio.xodocuments.document\\": { - source: \\"iana\\" + "application/vnd.collabio.xodocuments.document": { + source: "iana" }, - \\"application/vnd.collabio.xodocuments.document-template\\": { - source: \\"iana\\" + "application/vnd.collabio.xodocuments.document-template": { + source: "iana" }, - \\"application/vnd.collabio.xodocuments.presentation\\": { - source: \\"iana\\" + "application/vnd.collabio.xodocuments.presentation": { + source: "iana" }, - \\"application/vnd.collabio.xodocuments.presentation-template\\": { - source: \\"iana\\" + "application/vnd.collabio.xodocuments.presentation-template": { + source: "iana" }, - \\"application/vnd.collabio.xodocuments.spreadsheet\\": { - source: \\"iana\\" + "application/vnd.collabio.xodocuments.spreadsheet": { + source: "iana" }, - \\"application/vnd.collabio.xodocuments.spreadsheet-template\\": { - source: \\"iana\\" + "application/vnd.collabio.xodocuments.spreadsheet-template": { + source: "iana" }, - \\"application/vnd.collection+json\\": { - source: \\"iana\\", + "application/vnd.collection+json": { + source: "iana", compressible: true }, - \\"application/vnd.collection.doc+json\\": { - source: \\"iana\\", + "application/vnd.collection.doc+json": { + source: "iana", compressible: true }, - \\"application/vnd.collection.next+json\\": { - source: \\"iana\\", + "application/vnd.collection.next+json": { + source: "iana", compressible: true }, - \\"application/vnd.comicbook+zip\\": { - source: \\"iana\\", + "application/vnd.comicbook+zip": { + source: "iana", compressible: false }, - \\"application/vnd.comicbook-rar\\": { - source: \\"iana\\" + "application/vnd.comicbook-rar": { + source: "iana" }, - \\"application/vnd.commerce-battelle\\": { - source: \\"iana\\" + "application/vnd.commerce-battelle": { + source: "iana" }, - \\"application/vnd.commonspace\\": { - source: \\"iana\\", - extensions: [\\"csp\\"] + "application/vnd.commonspace": { + source: "iana", + extensions: ["csp"] }, - \\"application/vnd.contact.cmsg\\": { - source: \\"iana\\", - extensions: [\\"cdbcmsg\\"] + "application/vnd.contact.cmsg": { + source: "iana", + extensions: ["cdbcmsg"] }, - \\"application/vnd.coreos.ignition+json\\": { - source: \\"iana\\", + "application/vnd.coreos.ignition+json": { + source: "iana", compressible: true }, - \\"application/vnd.cosmocaller\\": { - source: \\"iana\\", - extensions: [\\"cmc\\"] + "application/vnd.cosmocaller": { + source: "iana", + extensions: ["cmc"] }, - \\"application/vnd.crick.clicker\\": { - source: \\"iana\\", - extensions: [\\"clkx\\"] + "application/vnd.crick.clicker": { + source: "iana", + extensions: ["clkx"] }, - \\"application/vnd.crick.clicker.keyboard\\": { - source: \\"iana\\", - extensions: [\\"clkk\\"] + "application/vnd.crick.clicker.keyboard": { + source: "iana", + extensions: ["clkk"] }, - \\"application/vnd.crick.clicker.palette\\": { - source: \\"iana\\", - extensions: [\\"clkp\\"] + "application/vnd.crick.clicker.palette": { + source: "iana", + extensions: ["clkp"] }, - \\"application/vnd.crick.clicker.template\\": { - source: \\"iana\\", - extensions: [\\"clkt\\"] + "application/vnd.crick.clicker.template": { + source: "iana", + extensions: ["clkt"] }, - \\"application/vnd.crick.clicker.wordbank\\": { - source: \\"iana\\", - extensions: [\\"clkw\\"] + "application/vnd.crick.clicker.wordbank": { + source: "iana", + extensions: ["clkw"] }, - \\"application/vnd.criticaltools.wbs+xml\\": { - source: \\"iana\\", + "application/vnd.criticaltools.wbs+xml": { + source: "iana", compressible: true, - extensions: [\\"wbs\\"] + extensions: ["wbs"] }, - \\"application/vnd.cryptii.pipe+json\\": { - source: \\"iana\\", + "application/vnd.cryptii.pipe+json": { + source: "iana", compressible: true }, - \\"application/vnd.crypto-shade-file\\": { - source: \\"iana\\" + "application/vnd.crypto-shade-file": { + source: "iana" }, - \\"application/vnd.cryptomator.encrypted\\": { - source: \\"iana\\" + "application/vnd.cryptomator.encrypted": { + source: "iana" }, - \\"application/vnd.cryptomator.vault\\": { - source: \\"iana\\" + "application/vnd.cryptomator.vault": { + source: "iana" }, - \\"application/vnd.ctc-posml\\": { - source: \\"iana\\", - extensions: [\\"pml\\"] + "application/vnd.ctc-posml": { + source: "iana", + extensions: ["pml"] }, - \\"application/vnd.ctct.ws+xml\\": { - source: \\"iana\\", + "application/vnd.ctct.ws+xml": { + source: "iana", compressible: true }, - \\"application/vnd.cups-pdf\\": { - source: \\"iana\\" + "application/vnd.cups-pdf": { + source: "iana" }, - \\"application/vnd.cups-postscript\\": { - source: \\"iana\\" + "application/vnd.cups-postscript": { + source: "iana" }, - \\"application/vnd.cups-ppd\\": { - source: \\"iana\\", - extensions: [\\"ppd\\"] + "application/vnd.cups-ppd": { + source: "iana", + extensions: ["ppd"] }, - \\"application/vnd.cups-raster\\": { - source: \\"iana\\" + "application/vnd.cups-raster": { + source: "iana" }, - \\"application/vnd.cups-raw\\": { - source: \\"iana\\" + "application/vnd.cups-raw": { + source: "iana" }, - \\"application/vnd.curl\\": { - source: \\"iana\\" + "application/vnd.curl": { + source: "iana" }, - \\"application/vnd.curl.car\\": { - source: \\"apache\\", - extensions: [\\"car\\"] + "application/vnd.curl.car": { + source: "apache", + extensions: ["car"] }, - \\"application/vnd.curl.pcurl\\": { - source: \\"apache\\", - extensions: [\\"pcurl\\"] + "application/vnd.curl.pcurl": { + source: "apache", + extensions: ["pcurl"] }, - \\"application/vnd.cyan.dean.root+xml\\": { - source: \\"iana\\", + "application/vnd.cyan.dean.root+xml": { + source: "iana", compressible: true }, - \\"application/vnd.cybank\\": { - source: \\"iana\\" + "application/vnd.cybank": { + source: "iana" }, - \\"application/vnd.cyclonedx+json\\": { - source: \\"iana\\", + "application/vnd.cyclonedx+json": { + source: "iana", compressible: true }, - \\"application/vnd.cyclonedx+xml\\": { - source: \\"iana\\", + "application/vnd.cyclonedx+xml": { + source: "iana", compressible: true }, - \\"application/vnd.d2l.coursepackage1p0+zip\\": { - source: \\"iana\\", + "application/vnd.d2l.coursepackage1p0+zip": { + source: "iana", compressible: false }, - \\"application/vnd.d3m-dataset\\": { - source: \\"iana\\" + "application/vnd.d3m-dataset": { + source: "iana" }, - \\"application/vnd.d3m-problem\\": { - source: \\"iana\\" + "application/vnd.d3m-problem": { + source: "iana" }, - \\"application/vnd.dart\\": { - source: \\"iana\\", + "application/vnd.dart": { + source: "iana", compressible: true, - extensions: [\\"dart\\"] + extensions: ["dart"] }, - \\"application/vnd.data-vision.rdz\\": { - source: \\"iana\\", - extensions: [\\"rdz\\"] + "application/vnd.data-vision.rdz": { + source: "iana", + extensions: ["rdz"] }, - \\"application/vnd.datapackage+json\\": { - source: \\"iana\\", + "application/vnd.datapackage+json": { + source: "iana", compressible: true }, - \\"application/vnd.dataresource+json\\": { - source: \\"iana\\", + "application/vnd.dataresource+json": { + source: "iana", compressible: true }, - \\"application/vnd.dbf\\": { - source: \\"iana\\", - extensions: [\\"dbf\\"] + "application/vnd.dbf": { + source: "iana", + extensions: ["dbf"] }, - \\"application/vnd.debian.binary-package\\": { - source: \\"iana\\" + "application/vnd.debian.binary-package": { + source: "iana" }, - \\"application/vnd.dece.data\\": { - source: \\"iana\\", - extensions: [\\"uvf\\", \\"uvvf\\", \\"uvd\\", \\"uvvd\\"] + "application/vnd.dece.data": { + source: "iana", + extensions: ["uvf", "uvvf", "uvd", "uvvd"] }, - \\"application/vnd.dece.ttml+xml\\": { - source: \\"iana\\", + "application/vnd.dece.ttml+xml": { + source: "iana", compressible: true, - extensions: [\\"uvt\\", \\"uvvt\\"] + extensions: ["uvt", "uvvt"] }, - \\"application/vnd.dece.unspecified\\": { - source: \\"iana\\", - extensions: [\\"uvx\\", \\"uvvx\\"] + "application/vnd.dece.unspecified": { + source: "iana", + extensions: ["uvx", "uvvx"] }, - \\"application/vnd.dece.zip\\": { - source: \\"iana\\", - extensions: [\\"uvz\\", \\"uvvz\\"] + "application/vnd.dece.zip": { + source: "iana", + extensions: ["uvz", "uvvz"] }, - \\"application/vnd.denovo.fcselayout-link\\": { - source: \\"iana\\", - extensions: [\\"fe_launch\\"] + "application/vnd.denovo.fcselayout-link": { + source: "iana", + extensions: ["fe_launch"] }, - \\"application/vnd.desmume.movie\\": { - source: \\"iana\\" + "application/vnd.desmume.movie": { + source: "iana" }, - \\"application/vnd.dir-bi.plate-dl-nosuffix\\": { - source: \\"iana\\" + "application/vnd.dir-bi.plate-dl-nosuffix": { + source: "iana" }, - \\"application/vnd.dm.delegation+xml\\": { - source: \\"iana\\", + "application/vnd.dm.delegation+xml": { + source: "iana", compressible: true }, - \\"application/vnd.dna\\": { - source: \\"iana\\", - extensions: [\\"dna\\"] + "application/vnd.dna": { + source: "iana", + extensions: ["dna"] }, - \\"application/vnd.document+json\\": { - source: \\"iana\\", + "application/vnd.document+json": { + source: "iana", compressible: true }, - \\"application/vnd.dolby.mlp\\": { - source: \\"apache\\", - extensions: [\\"mlp\\"] + "application/vnd.dolby.mlp": { + source: "apache", + extensions: ["mlp"] }, - \\"application/vnd.dolby.mobile.1\\": { - source: \\"iana\\" + "application/vnd.dolby.mobile.1": { + source: "iana" }, - \\"application/vnd.dolby.mobile.2\\": { - source: \\"iana\\" + "application/vnd.dolby.mobile.2": { + source: "iana" }, - \\"application/vnd.doremir.scorecloud-binary-document\\": { - source: \\"iana\\" + "application/vnd.doremir.scorecloud-binary-document": { + source: "iana" }, - \\"application/vnd.dpgraph\\": { - source: \\"iana\\", - extensions: [\\"dpg\\"] + "application/vnd.dpgraph": { + source: "iana", + extensions: ["dpg"] }, - \\"application/vnd.dreamfactory\\": { - source: \\"iana\\", - extensions: [\\"dfac\\"] + "application/vnd.dreamfactory": { + source: "iana", + extensions: ["dfac"] }, - \\"application/vnd.drive+json\\": { - source: \\"iana\\", + "application/vnd.drive+json": { + source: "iana", compressible: true }, - \\"application/vnd.ds-keypoint\\": { - source: \\"apache\\", - extensions: [\\"kpxx\\"] + "application/vnd.ds-keypoint": { + source: "apache", + extensions: ["kpxx"] }, - \\"application/vnd.dtg.local\\": { - source: \\"iana\\" + "application/vnd.dtg.local": { + source: "iana" }, - \\"application/vnd.dtg.local.flash\\": { - source: \\"iana\\" + "application/vnd.dtg.local.flash": { + source: "iana" }, - \\"application/vnd.dtg.local.html\\": { - source: \\"iana\\" + "application/vnd.dtg.local.html": { + source: "iana" }, - \\"application/vnd.dvb.ait\\": { - source: \\"iana\\", - extensions: [\\"ait\\"] + "application/vnd.dvb.ait": { + source: "iana", + extensions: ["ait"] }, - \\"application/vnd.dvb.dvbisl+xml\\": { - source: \\"iana\\", + "application/vnd.dvb.dvbisl+xml": { + source: "iana", compressible: true }, - \\"application/vnd.dvb.dvbj\\": { - source: \\"iana\\" + "application/vnd.dvb.dvbj": { + source: "iana" }, - \\"application/vnd.dvb.esgcontainer\\": { - source: \\"iana\\" + "application/vnd.dvb.esgcontainer": { + source: "iana" }, - \\"application/vnd.dvb.ipdcdftnotifaccess\\": { - source: \\"iana\\" + "application/vnd.dvb.ipdcdftnotifaccess": { + source: "iana" }, - \\"application/vnd.dvb.ipdcesgaccess\\": { - source: \\"iana\\" + "application/vnd.dvb.ipdcesgaccess": { + source: "iana" }, - \\"application/vnd.dvb.ipdcesgaccess2\\": { - source: \\"iana\\" + "application/vnd.dvb.ipdcesgaccess2": { + source: "iana" }, - \\"application/vnd.dvb.ipdcesgpdd\\": { - source: \\"iana\\" + "application/vnd.dvb.ipdcesgpdd": { + source: "iana" }, - \\"application/vnd.dvb.ipdcroaming\\": { - source: \\"iana\\" + "application/vnd.dvb.ipdcroaming": { + source: "iana" }, - \\"application/vnd.dvb.iptv.alfec-base\\": { - source: \\"iana\\" + "application/vnd.dvb.iptv.alfec-base": { + source: "iana" }, - \\"application/vnd.dvb.iptv.alfec-enhancement\\": { - source: \\"iana\\" + "application/vnd.dvb.iptv.alfec-enhancement": { + source: "iana" }, - \\"application/vnd.dvb.notif-aggregate-root+xml\\": { - source: \\"iana\\", + "application/vnd.dvb.notif-aggregate-root+xml": { + source: "iana", compressible: true }, - \\"application/vnd.dvb.notif-container+xml\\": { - source: \\"iana\\", + "application/vnd.dvb.notif-container+xml": { + source: "iana", compressible: true }, - \\"application/vnd.dvb.notif-generic+xml\\": { - source: \\"iana\\", + "application/vnd.dvb.notif-generic+xml": { + source: "iana", compressible: true }, - \\"application/vnd.dvb.notif-ia-msglist+xml\\": { - source: \\"iana\\", + "application/vnd.dvb.notif-ia-msglist+xml": { + source: "iana", compressible: true }, - \\"application/vnd.dvb.notif-ia-registration-request+xml\\": { - source: \\"iana\\", + "application/vnd.dvb.notif-ia-registration-request+xml": { + source: "iana", compressible: true }, - \\"application/vnd.dvb.notif-ia-registration-response+xml\\": { - source: \\"iana\\", + "application/vnd.dvb.notif-ia-registration-response+xml": { + source: "iana", compressible: true }, - \\"application/vnd.dvb.notif-init+xml\\": { - source: \\"iana\\", + "application/vnd.dvb.notif-init+xml": { + source: "iana", compressible: true }, - \\"application/vnd.dvb.pfr\\": { - source: \\"iana\\" + "application/vnd.dvb.pfr": { + source: "iana" }, - \\"application/vnd.dvb.service\\": { - source: \\"iana\\", - extensions: [\\"svc\\"] + "application/vnd.dvb.service": { + source: "iana", + extensions: ["svc"] }, - \\"application/vnd.dxr\\": { - source: \\"iana\\" + "application/vnd.dxr": { + source: "iana" }, - \\"application/vnd.dynageo\\": { - source: \\"iana\\", - extensions: [\\"geo\\"] + "application/vnd.dynageo": { + source: "iana", + extensions: ["geo"] }, - \\"application/vnd.dzr\\": { - source: \\"iana\\" + "application/vnd.dzr": { + source: "iana" }, - \\"application/vnd.easykaraoke.cdgdownload\\": { - source: \\"iana\\" + "application/vnd.easykaraoke.cdgdownload": { + source: "iana" }, - \\"application/vnd.ecdis-update\\": { - source: \\"iana\\" + "application/vnd.ecdis-update": { + source: "iana" }, - \\"application/vnd.ecip.rlp\\": { - source: \\"iana\\" + "application/vnd.ecip.rlp": { + source: "iana" }, - \\"application/vnd.eclipse.ditto+json\\": { - source: \\"iana\\", + "application/vnd.eclipse.ditto+json": { + source: "iana", compressible: true }, - \\"application/vnd.ecowin.chart\\": { - source: \\"iana\\", - extensions: [\\"mag\\"] + "application/vnd.ecowin.chart": { + source: "iana", + extensions: ["mag"] }, - \\"application/vnd.ecowin.filerequest\\": { - source: \\"iana\\" + "application/vnd.ecowin.filerequest": { + source: "iana" }, - \\"application/vnd.ecowin.fileupdate\\": { - source: \\"iana\\" + "application/vnd.ecowin.fileupdate": { + source: "iana" }, - \\"application/vnd.ecowin.series\\": { - source: \\"iana\\" + "application/vnd.ecowin.series": { + source: "iana" }, - \\"application/vnd.ecowin.seriesrequest\\": { - source: \\"iana\\" + "application/vnd.ecowin.seriesrequest": { + source: "iana" }, - \\"application/vnd.ecowin.seriesupdate\\": { - source: \\"iana\\" + "application/vnd.ecowin.seriesupdate": { + source: "iana" }, - \\"application/vnd.efi.img\\": { - source: \\"iana\\" + "application/vnd.efi.img": { + source: "iana" }, - \\"application/vnd.efi.iso\\": { - source: \\"iana\\" + "application/vnd.efi.iso": { + source: "iana" }, - \\"application/vnd.emclient.accessrequest+xml\\": { - source: \\"iana\\", + "application/vnd.emclient.accessrequest+xml": { + source: "iana", compressible: true }, - \\"application/vnd.enliven\\": { - source: \\"iana\\", - extensions: [\\"nml\\"] + "application/vnd.enliven": { + source: "iana", + extensions: ["nml"] }, - \\"application/vnd.enphase.envoy\\": { - source: \\"iana\\" + "application/vnd.enphase.envoy": { + source: "iana" }, - \\"application/vnd.eprints.data+xml\\": { - source: \\"iana\\", + "application/vnd.eprints.data+xml": { + source: "iana", compressible: true }, - \\"application/vnd.epson.esf\\": { - source: \\"iana\\", - extensions: [\\"esf\\"] + "application/vnd.epson.esf": { + source: "iana", + extensions: ["esf"] }, - \\"application/vnd.epson.msf\\": { - source: \\"iana\\", - extensions: [\\"msf\\"] + "application/vnd.epson.msf": { + source: "iana", + extensions: ["msf"] }, - \\"application/vnd.epson.quickanime\\": { - source: \\"iana\\", - extensions: [\\"qam\\"] + "application/vnd.epson.quickanime": { + source: "iana", + extensions: ["qam"] }, - \\"application/vnd.epson.salt\\": { - source: \\"iana\\", - extensions: [\\"slt\\"] + "application/vnd.epson.salt": { + source: "iana", + extensions: ["slt"] }, - \\"application/vnd.epson.ssf\\": { - source: \\"iana\\", - extensions: [\\"ssf\\"] + "application/vnd.epson.ssf": { + source: "iana", + extensions: ["ssf"] }, - \\"application/vnd.ericsson.quickcall\\": { - source: \\"iana\\" + "application/vnd.ericsson.quickcall": { + source: "iana" }, - \\"application/vnd.espass-espass+zip\\": { - source: \\"iana\\", + "application/vnd.espass-espass+zip": { + source: "iana", compressible: false }, - \\"application/vnd.eszigno3+xml\\": { - source: \\"iana\\", + "application/vnd.eszigno3+xml": { + source: "iana", compressible: true, - extensions: [\\"es3\\", \\"et3\\"] + extensions: ["es3", "et3"] }, - \\"application/vnd.etsi.aoc+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.aoc+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.asic-e+zip\\": { - source: \\"iana\\", + "application/vnd.etsi.asic-e+zip": { + source: "iana", compressible: false }, - \\"application/vnd.etsi.asic-s+zip\\": { - source: \\"iana\\", + "application/vnd.etsi.asic-s+zip": { + source: "iana", compressible: false }, - \\"application/vnd.etsi.cug+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.cug+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.iptvcommand+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.iptvcommand+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.iptvdiscovery+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.iptvdiscovery+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.iptvprofile+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.iptvprofile+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.iptvsad-bc+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.iptvsad-bc+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.iptvsad-cod+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.iptvsad-cod+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.iptvsad-npvr+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.iptvsad-npvr+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.iptvservice+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.iptvservice+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.iptvsync+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.iptvsync+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.iptvueprofile+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.iptvueprofile+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.mcid+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.mcid+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.mheg5\\": { - source: \\"iana\\" + "application/vnd.etsi.mheg5": { + source: "iana" }, - \\"application/vnd.etsi.overload-control-policy-dataset+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.overload-control-policy-dataset+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.pstn+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.pstn+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.sci+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.sci+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.simservs+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.simservs+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.timestamp-token\\": { - source: \\"iana\\" + "application/vnd.etsi.timestamp-token": { + source: "iana" }, - \\"application/vnd.etsi.tsl+xml\\": { - source: \\"iana\\", + "application/vnd.etsi.tsl+xml": { + source: "iana", compressible: true }, - \\"application/vnd.etsi.tsl.der\\": { - source: \\"iana\\" + "application/vnd.etsi.tsl.der": { + source: "iana" }, - \\"application/vnd.eu.kasparian.car+json\\": { - source: \\"iana\\", + "application/vnd.eu.kasparian.car+json": { + source: "iana", compressible: true }, - \\"application/vnd.eudora.data\\": { - source: \\"iana\\" + "application/vnd.eudora.data": { + source: "iana" }, - \\"application/vnd.evolv.ecig.profile\\": { - source: \\"iana\\" + "application/vnd.evolv.ecig.profile": { + source: "iana" }, - \\"application/vnd.evolv.ecig.settings\\": { - source: \\"iana\\" + "application/vnd.evolv.ecig.settings": { + source: "iana" }, - \\"application/vnd.evolv.ecig.theme\\": { - source: \\"iana\\" + "application/vnd.evolv.ecig.theme": { + source: "iana" }, - \\"application/vnd.exstream-empower+zip\\": { - source: \\"iana\\", + "application/vnd.exstream-empower+zip": { + source: "iana", compressible: false }, - \\"application/vnd.exstream-package\\": { - source: \\"iana\\" + "application/vnd.exstream-package": { + source: "iana" }, - \\"application/vnd.ezpix-album\\": { - source: \\"iana\\", - extensions: [\\"ez2\\"] + "application/vnd.ezpix-album": { + source: "iana", + extensions: ["ez2"] }, - \\"application/vnd.ezpix-package\\": { - source: \\"iana\\", - extensions: [\\"ez3\\"] + "application/vnd.ezpix-package": { + source: "iana", + extensions: ["ez3"] }, - \\"application/vnd.f-secure.mobile\\": { - source: \\"iana\\" + "application/vnd.f-secure.mobile": { + source: "iana" }, - \\"application/vnd.familysearch.gedcom+zip\\": { - source: \\"iana\\", + "application/vnd.familysearch.gedcom+zip": { + source: "iana", compressible: false }, - \\"application/vnd.fastcopy-disk-image\\": { - source: \\"iana\\" + "application/vnd.fastcopy-disk-image": { + source: "iana" }, - \\"application/vnd.fdf\\": { - source: \\"iana\\", - extensions: [\\"fdf\\"] + "application/vnd.fdf": { + source: "iana", + extensions: ["fdf"] }, - \\"application/vnd.fdsn.mseed\\": { - source: \\"iana\\", - extensions: [\\"mseed\\"] + "application/vnd.fdsn.mseed": { + source: "iana", + extensions: ["mseed"] }, - \\"application/vnd.fdsn.seed\\": { - source: \\"iana\\", - extensions: [\\"seed\\", \\"dataless\\"] + "application/vnd.fdsn.seed": { + source: "iana", + extensions: ["seed", "dataless"] }, - \\"application/vnd.ffsns\\": { - source: \\"iana\\" + "application/vnd.ffsns": { + source: "iana" }, - \\"application/vnd.ficlab.flb+zip\\": { - source: \\"iana\\", + "application/vnd.ficlab.flb+zip": { + source: "iana", compressible: false }, - \\"application/vnd.filmit.zfc\\": { - source: \\"iana\\" + "application/vnd.filmit.zfc": { + source: "iana" }, - \\"application/vnd.fints\\": { - source: \\"iana\\" + "application/vnd.fints": { + source: "iana" }, - \\"application/vnd.firemonkeys.cloudcell\\": { - source: \\"iana\\" + "application/vnd.firemonkeys.cloudcell": { + source: "iana" }, - \\"application/vnd.flographit\\": { - source: \\"iana\\", - extensions: [\\"gph\\"] + "application/vnd.flographit": { + source: "iana", + extensions: ["gph"] }, - \\"application/vnd.fluxtime.clip\\": { - source: \\"iana\\", - extensions: [\\"ftc\\"] + "application/vnd.fluxtime.clip": { + source: "iana", + extensions: ["ftc"] }, - \\"application/vnd.font-fontforge-sfd\\": { - source: \\"iana\\" + "application/vnd.font-fontforge-sfd": { + source: "iana" }, - \\"application/vnd.framemaker\\": { - source: \\"iana\\", - extensions: [\\"fm\\", \\"frame\\", \\"maker\\", \\"book\\"] + "application/vnd.framemaker": { + source: "iana", + extensions: ["fm", "frame", "maker", "book"] }, - \\"application/vnd.frogans.fnc\\": { - source: \\"iana\\", - extensions: [\\"fnc\\"] + "application/vnd.frogans.fnc": { + source: "iana", + extensions: ["fnc"] }, - \\"application/vnd.frogans.ltf\\": { - source: \\"iana\\", - extensions: [\\"ltf\\"] + "application/vnd.frogans.ltf": { + source: "iana", + extensions: ["ltf"] }, - \\"application/vnd.fsc.weblaunch\\": { - source: \\"iana\\", - extensions: [\\"fsc\\"] + "application/vnd.fsc.weblaunch": { + source: "iana", + extensions: ["fsc"] }, - \\"application/vnd.fujifilm.fb.docuworks\\": { - source: \\"iana\\" + "application/vnd.fujifilm.fb.docuworks": { + source: "iana" }, - \\"application/vnd.fujifilm.fb.docuworks.binder\\": { - source: \\"iana\\" + "application/vnd.fujifilm.fb.docuworks.binder": { + source: "iana" }, - \\"application/vnd.fujifilm.fb.docuworks.container\\": { - source: \\"iana\\" + "application/vnd.fujifilm.fb.docuworks.container": { + source: "iana" }, - \\"application/vnd.fujifilm.fb.jfi+xml\\": { - source: \\"iana\\", + "application/vnd.fujifilm.fb.jfi+xml": { + source: "iana", compressible: true }, - \\"application/vnd.fujitsu.oasys\\": { - source: \\"iana\\", - extensions: [\\"oas\\"] + "application/vnd.fujitsu.oasys": { + source: "iana", + extensions: ["oas"] }, - \\"application/vnd.fujitsu.oasys2\\": { - source: \\"iana\\", - extensions: [\\"oa2\\"] + "application/vnd.fujitsu.oasys2": { + source: "iana", + extensions: ["oa2"] }, - \\"application/vnd.fujitsu.oasys3\\": { - source: \\"iana\\", - extensions: [\\"oa3\\"] + "application/vnd.fujitsu.oasys3": { + source: "iana", + extensions: ["oa3"] }, - \\"application/vnd.fujitsu.oasysgp\\": { - source: \\"iana\\", - extensions: [\\"fg5\\"] + "application/vnd.fujitsu.oasysgp": { + source: "iana", + extensions: ["fg5"] }, - \\"application/vnd.fujitsu.oasysprs\\": { - source: \\"iana\\", - extensions: [\\"bh2\\"] + "application/vnd.fujitsu.oasysprs": { + source: "iana", + extensions: ["bh2"] }, - \\"application/vnd.fujixerox.art-ex\\": { - source: \\"iana\\" + "application/vnd.fujixerox.art-ex": { + source: "iana" }, - \\"application/vnd.fujixerox.art4\\": { - source: \\"iana\\" + "application/vnd.fujixerox.art4": { + source: "iana" }, - \\"application/vnd.fujixerox.ddd\\": { - source: \\"iana\\", - extensions: [\\"ddd\\"] + "application/vnd.fujixerox.ddd": { + source: "iana", + extensions: ["ddd"] }, - \\"application/vnd.fujixerox.docuworks\\": { - source: \\"iana\\", - extensions: [\\"xdw\\"] + "application/vnd.fujixerox.docuworks": { + source: "iana", + extensions: ["xdw"] }, - \\"application/vnd.fujixerox.docuworks.binder\\": { - source: \\"iana\\", - extensions: [\\"xbd\\"] + "application/vnd.fujixerox.docuworks.binder": { + source: "iana", + extensions: ["xbd"] }, - \\"application/vnd.fujixerox.docuworks.container\\": { - source: \\"iana\\" + "application/vnd.fujixerox.docuworks.container": { + source: "iana" }, - \\"application/vnd.fujixerox.hbpl\\": { - source: \\"iana\\" + "application/vnd.fujixerox.hbpl": { + source: "iana" }, - \\"application/vnd.fut-misnet\\": { - source: \\"iana\\" + "application/vnd.fut-misnet": { + source: "iana" }, - \\"application/vnd.futoin+cbor\\": { - source: \\"iana\\" + "application/vnd.futoin+cbor": { + source: "iana" }, - \\"application/vnd.futoin+json\\": { - source: \\"iana\\", + "application/vnd.futoin+json": { + source: "iana", compressible: true }, - \\"application/vnd.fuzzysheet\\": { - source: \\"iana\\", - extensions: [\\"fzs\\"] + "application/vnd.fuzzysheet": { + source: "iana", + extensions: ["fzs"] }, - \\"application/vnd.genomatix.tuxedo\\": { - source: \\"iana\\", - extensions: [\\"txd\\"] + "application/vnd.genomatix.tuxedo": { + source: "iana", + extensions: ["txd"] }, - \\"application/vnd.gentics.grd+json\\": { - source: \\"iana\\", + "application/vnd.gentics.grd+json": { + source: "iana", compressible: true }, - \\"application/vnd.geo+json\\": { - source: \\"iana\\", + "application/vnd.geo+json": { + source: "iana", compressible: true }, - \\"application/vnd.geocube+xml\\": { - source: \\"iana\\", + "application/vnd.geocube+xml": { + source: "iana", compressible: true }, - \\"application/vnd.geogebra.file\\": { - source: \\"iana\\", - extensions: [\\"ggb\\"] + "application/vnd.geogebra.file": { + source: "iana", + extensions: ["ggb"] }, - \\"application/vnd.geogebra.slides\\": { - source: \\"iana\\" + "application/vnd.geogebra.slides": { + source: "iana" }, - \\"application/vnd.geogebra.tool\\": { - source: \\"iana\\", - extensions: [\\"ggt\\"] + "application/vnd.geogebra.tool": { + source: "iana", + extensions: ["ggt"] }, - \\"application/vnd.geometry-explorer\\": { - source: \\"iana\\", - extensions: [\\"gex\\", \\"gre\\"] + "application/vnd.geometry-explorer": { + source: "iana", + extensions: ["gex", "gre"] }, - \\"application/vnd.geonext\\": { - source: \\"iana\\", - extensions: [\\"gxt\\"] + "application/vnd.geonext": { + source: "iana", + extensions: ["gxt"] }, - \\"application/vnd.geoplan\\": { - source: \\"iana\\", - extensions: [\\"g2w\\"] + "application/vnd.geoplan": { + source: "iana", + extensions: ["g2w"] }, - \\"application/vnd.geospace\\": { - source: \\"iana\\", - extensions: [\\"g3w\\"] + "application/vnd.geospace": { + source: "iana", + extensions: ["g3w"] }, - \\"application/vnd.gerber\\": { - source: \\"iana\\" + "application/vnd.gerber": { + source: "iana" }, - \\"application/vnd.globalplatform.card-content-mgt\\": { - source: \\"iana\\" + "application/vnd.globalplatform.card-content-mgt": { + source: "iana" }, - \\"application/vnd.globalplatform.card-content-mgt-response\\": { - source: \\"iana\\" + "application/vnd.globalplatform.card-content-mgt-response": { + source: "iana" }, - \\"application/vnd.gmx\\": { - source: \\"iana\\", - extensions: [\\"gmx\\"] + "application/vnd.gmx": { + source: "iana", + extensions: ["gmx"] }, - \\"application/vnd.google-apps.document\\": { + "application/vnd.google-apps.document": { compressible: false, - extensions: [\\"gdoc\\"] + extensions: ["gdoc"] }, - \\"application/vnd.google-apps.presentation\\": { + "application/vnd.google-apps.presentation": { compressible: false, - extensions: [\\"gslides\\"] + extensions: ["gslides"] }, - \\"application/vnd.google-apps.spreadsheet\\": { + "application/vnd.google-apps.spreadsheet": { compressible: false, - extensions: [\\"gsheet\\"] + extensions: ["gsheet"] }, - \\"application/vnd.google-earth.kml+xml\\": { - source: \\"iana\\", + "application/vnd.google-earth.kml+xml": { + source: "iana", compressible: true, - extensions: [\\"kml\\"] + extensions: ["kml"] }, - \\"application/vnd.google-earth.kmz\\": { - source: \\"iana\\", + "application/vnd.google-earth.kmz": { + source: "iana", compressible: false, - extensions: [\\"kmz\\"] + extensions: ["kmz"] }, - \\"application/vnd.gov.sk.e-form+xml\\": { - source: \\"iana\\", + "application/vnd.gov.sk.e-form+xml": { + source: "iana", compressible: true }, - \\"application/vnd.gov.sk.e-form+zip\\": { - source: \\"iana\\", + "application/vnd.gov.sk.e-form+zip": { + source: "iana", compressible: false }, - \\"application/vnd.gov.sk.xmldatacontainer+xml\\": { - source: \\"iana\\", + "application/vnd.gov.sk.xmldatacontainer+xml": { + source: "iana", compressible: true }, - \\"application/vnd.grafeq\\": { - source: \\"iana\\", - extensions: [\\"gqf\\", \\"gqs\\"] + "application/vnd.grafeq": { + source: "iana", + extensions: ["gqf", "gqs"] }, - \\"application/vnd.gridmp\\": { - source: \\"iana\\" + "application/vnd.gridmp": { + source: "iana" }, - \\"application/vnd.groove-account\\": { - source: \\"iana\\", - extensions: [\\"gac\\"] + "application/vnd.groove-account": { + source: "iana", + extensions: ["gac"] }, - \\"application/vnd.groove-help\\": { - source: \\"iana\\", - extensions: [\\"ghf\\"] + "application/vnd.groove-help": { + source: "iana", + extensions: ["ghf"] }, - \\"application/vnd.groove-identity-message\\": { - source: \\"iana\\", - extensions: [\\"gim\\"] + "application/vnd.groove-identity-message": { + source: "iana", + extensions: ["gim"] }, - \\"application/vnd.groove-injector\\": { - source: \\"iana\\", - extensions: [\\"grv\\"] + "application/vnd.groove-injector": { + source: "iana", + extensions: ["grv"] }, - \\"application/vnd.groove-tool-message\\": { - source: \\"iana\\", - extensions: [\\"gtm\\"] + "application/vnd.groove-tool-message": { + source: "iana", + extensions: ["gtm"] }, - \\"application/vnd.groove-tool-template\\": { - source: \\"iana\\", - extensions: [\\"tpl\\"] + "application/vnd.groove-tool-template": { + source: "iana", + extensions: ["tpl"] }, - \\"application/vnd.groove-vcard\\": { - source: \\"iana\\", - extensions: [\\"vcg\\"] + "application/vnd.groove-vcard": { + source: "iana", + extensions: ["vcg"] }, - \\"application/vnd.hal+json\\": { - source: \\"iana\\", + "application/vnd.hal+json": { + source: "iana", compressible: true }, - \\"application/vnd.hal+xml\\": { - source: \\"iana\\", + "application/vnd.hal+xml": { + source: "iana", compressible: true, - extensions: [\\"hal\\"] + extensions: ["hal"] }, - \\"application/vnd.handheld-entertainment+xml\\": { - source: \\"iana\\", + "application/vnd.handheld-entertainment+xml": { + source: "iana", compressible: true, - extensions: [\\"zmm\\"] + extensions: ["zmm"] }, - \\"application/vnd.hbci\\": { - source: \\"iana\\", - extensions: [\\"hbci\\"] + "application/vnd.hbci": { + source: "iana", + extensions: ["hbci"] }, - \\"application/vnd.hc+json\\": { - source: \\"iana\\", + "application/vnd.hc+json": { + source: "iana", compressible: true }, - \\"application/vnd.hcl-bireports\\": { - source: \\"iana\\" + "application/vnd.hcl-bireports": { + source: "iana" }, - \\"application/vnd.hdt\\": { - source: \\"iana\\" + "application/vnd.hdt": { + source: "iana" }, - \\"application/vnd.heroku+json\\": { - source: \\"iana\\", + "application/vnd.heroku+json": { + source: "iana", compressible: true }, - \\"application/vnd.hhe.lesson-player\\": { - source: \\"iana\\", - extensions: [\\"les\\"] + "application/vnd.hhe.lesson-player": { + source: "iana", + extensions: ["les"] }, - \\"application/vnd.hl7cda+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/vnd.hl7cda+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/vnd.hl7v2+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/vnd.hl7v2+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/vnd.hp-hpgl\\": { - source: \\"iana\\", - extensions: [\\"hpgl\\"] + "application/vnd.hp-hpgl": { + source: "iana", + extensions: ["hpgl"] }, - \\"application/vnd.hp-hpid\\": { - source: \\"iana\\", - extensions: [\\"hpid\\"] + "application/vnd.hp-hpid": { + source: "iana", + extensions: ["hpid"] }, - \\"application/vnd.hp-hps\\": { - source: \\"iana\\", - extensions: [\\"hps\\"] + "application/vnd.hp-hps": { + source: "iana", + extensions: ["hps"] }, - \\"application/vnd.hp-jlyt\\": { - source: \\"iana\\", - extensions: [\\"jlt\\"] + "application/vnd.hp-jlyt": { + source: "iana", + extensions: ["jlt"] }, - \\"application/vnd.hp-pcl\\": { - source: \\"iana\\", - extensions: [\\"pcl\\"] + "application/vnd.hp-pcl": { + source: "iana", + extensions: ["pcl"] }, - \\"application/vnd.hp-pclxl\\": { - source: \\"iana\\", - extensions: [\\"pclxl\\"] + "application/vnd.hp-pclxl": { + source: "iana", + extensions: ["pclxl"] }, - \\"application/vnd.httphone\\": { - source: \\"iana\\" + "application/vnd.httphone": { + source: "iana" }, - \\"application/vnd.hydrostatix.sof-data\\": { - source: \\"iana\\", - extensions: [\\"sfd-hdstx\\"] + "application/vnd.hydrostatix.sof-data": { + source: "iana", + extensions: ["sfd-hdstx"] }, - \\"application/vnd.hyper+json\\": { - source: \\"iana\\", + "application/vnd.hyper+json": { + source: "iana", compressible: true }, - \\"application/vnd.hyper-item+json\\": { - source: \\"iana\\", + "application/vnd.hyper-item+json": { + source: "iana", compressible: true }, - \\"application/vnd.hyperdrive+json\\": { - source: \\"iana\\", + "application/vnd.hyperdrive+json": { + source: "iana", compressible: true }, - \\"application/vnd.hzn-3d-crossword\\": { - source: \\"iana\\" + "application/vnd.hzn-3d-crossword": { + source: "iana" }, - \\"application/vnd.ibm.afplinedata\\": { - source: \\"iana\\" + "application/vnd.ibm.afplinedata": { + source: "iana" }, - \\"application/vnd.ibm.electronic-media\\": { - source: \\"iana\\" + "application/vnd.ibm.electronic-media": { + source: "iana" }, - \\"application/vnd.ibm.minipay\\": { - source: \\"iana\\", - extensions: [\\"mpy\\"] + "application/vnd.ibm.minipay": { + source: "iana", + extensions: ["mpy"] }, - \\"application/vnd.ibm.modcap\\": { - source: \\"iana\\", - extensions: [\\"afp\\", \\"listafp\\", \\"list3820\\"] + "application/vnd.ibm.modcap": { + source: "iana", + extensions: ["afp", "listafp", "list3820"] }, - \\"application/vnd.ibm.rights-management\\": { - source: \\"iana\\", - extensions: [\\"irm\\"] + "application/vnd.ibm.rights-management": { + source: "iana", + extensions: ["irm"] }, - \\"application/vnd.ibm.secure-container\\": { - source: \\"iana\\", - extensions: [\\"sc\\"] + "application/vnd.ibm.secure-container": { + source: "iana", + extensions: ["sc"] }, - \\"application/vnd.iccprofile\\": { - source: \\"iana\\", - extensions: [\\"icc\\", \\"icm\\"] + "application/vnd.iccprofile": { + source: "iana", + extensions: ["icc", "icm"] }, - \\"application/vnd.ieee.1905\\": { - source: \\"iana\\" + "application/vnd.ieee.1905": { + source: "iana" }, - \\"application/vnd.igloader\\": { - source: \\"iana\\", - extensions: [\\"igl\\"] + "application/vnd.igloader": { + source: "iana", + extensions: ["igl"] }, - \\"application/vnd.imagemeter.folder+zip\\": { - source: \\"iana\\", + "application/vnd.imagemeter.folder+zip": { + source: "iana", compressible: false }, - \\"application/vnd.imagemeter.image+zip\\": { - source: \\"iana\\", + "application/vnd.imagemeter.image+zip": { + source: "iana", compressible: false }, - \\"application/vnd.immervision-ivp\\": { - source: \\"iana\\", - extensions: [\\"ivp\\"] + "application/vnd.immervision-ivp": { + source: "iana", + extensions: ["ivp"] }, - \\"application/vnd.immervision-ivu\\": { - source: \\"iana\\", - extensions: [\\"ivu\\"] + "application/vnd.immervision-ivu": { + source: "iana", + extensions: ["ivu"] }, - \\"application/vnd.ims.imsccv1p1\\": { - source: \\"iana\\" + "application/vnd.ims.imsccv1p1": { + source: "iana" }, - \\"application/vnd.ims.imsccv1p2\\": { - source: \\"iana\\" + "application/vnd.ims.imsccv1p2": { + source: "iana" }, - \\"application/vnd.ims.imsccv1p3\\": { - source: \\"iana\\" + "application/vnd.ims.imsccv1p3": { + source: "iana" }, - \\"application/vnd.ims.lis.v2.result+json\\": { - source: \\"iana\\", + "application/vnd.ims.lis.v2.result+json": { + source: "iana", compressible: true }, - \\"application/vnd.ims.lti.v2.toolconsumerprofile+json\\": { - source: \\"iana\\", + "application/vnd.ims.lti.v2.toolconsumerprofile+json": { + source: "iana", compressible: true }, - \\"application/vnd.ims.lti.v2.toolproxy+json\\": { - source: \\"iana\\", + "application/vnd.ims.lti.v2.toolproxy+json": { + source: "iana", compressible: true }, - \\"application/vnd.ims.lti.v2.toolproxy.id+json\\": { - source: \\"iana\\", + "application/vnd.ims.lti.v2.toolproxy.id+json": { + source: "iana", compressible: true }, - \\"application/vnd.ims.lti.v2.toolsettings+json\\": { - source: \\"iana\\", + "application/vnd.ims.lti.v2.toolsettings+json": { + source: "iana", compressible: true }, - \\"application/vnd.ims.lti.v2.toolsettings.simple+json\\": { - source: \\"iana\\", + "application/vnd.ims.lti.v2.toolsettings.simple+json": { + source: "iana", compressible: true }, - \\"application/vnd.informedcontrol.rms+xml\\": { - source: \\"iana\\", + "application/vnd.informedcontrol.rms+xml": { + source: "iana", compressible: true }, - \\"application/vnd.informix-visionary\\": { - source: \\"iana\\" + "application/vnd.informix-visionary": { + source: "iana" }, - \\"application/vnd.infotech.project\\": { - source: \\"iana\\" + "application/vnd.infotech.project": { + source: "iana" }, - \\"application/vnd.infotech.project+xml\\": { - source: \\"iana\\", + "application/vnd.infotech.project+xml": { + source: "iana", compressible: true }, - \\"application/vnd.innopath.wamp.notification\\": { - source: \\"iana\\" + "application/vnd.innopath.wamp.notification": { + source: "iana" }, - \\"application/vnd.insors.igm\\": { - source: \\"iana\\", - extensions: [\\"igm\\"] + "application/vnd.insors.igm": { + source: "iana", + extensions: ["igm"] }, - \\"application/vnd.intercon.formnet\\": { - source: \\"iana\\", - extensions: [\\"xpw\\", \\"xpx\\"] + "application/vnd.intercon.formnet": { + source: "iana", + extensions: ["xpw", "xpx"] }, - \\"application/vnd.intergeo\\": { - source: \\"iana\\", - extensions: [\\"i2g\\"] + "application/vnd.intergeo": { + source: "iana", + extensions: ["i2g"] }, - \\"application/vnd.intertrust.digibox\\": { - source: \\"iana\\" + "application/vnd.intertrust.digibox": { + source: "iana" }, - \\"application/vnd.intertrust.nncp\\": { - source: \\"iana\\" + "application/vnd.intertrust.nncp": { + source: "iana" }, - \\"application/vnd.intu.qbo\\": { - source: \\"iana\\", - extensions: [\\"qbo\\"] + "application/vnd.intu.qbo": { + source: "iana", + extensions: ["qbo"] }, - \\"application/vnd.intu.qfx\\": { - source: \\"iana\\", - extensions: [\\"qfx\\"] + "application/vnd.intu.qfx": { + source: "iana", + extensions: ["qfx"] }, - \\"application/vnd.iptc.g2.catalogitem+xml\\": { - source: \\"iana\\", + "application/vnd.iptc.g2.catalogitem+xml": { + source: "iana", compressible: true }, - \\"application/vnd.iptc.g2.conceptitem+xml\\": { - source: \\"iana\\", + "application/vnd.iptc.g2.conceptitem+xml": { + source: "iana", compressible: true }, - \\"application/vnd.iptc.g2.knowledgeitem+xml\\": { - source: \\"iana\\", + "application/vnd.iptc.g2.knowledgeitem+xml": { + source: "iana", compressible: true }, - \\"application/vnd.iptc.g2.newsitem+xml\\": { - source: \\"iana\\", + "application/vnd.iptc.g2.newsitem+xml": { + source: "iana", compressible: true }, - \\"application/vnd.iptc.g2.newsmessage+xml\\": { - source: \\"iana\\", + "application/vnd.iptc.g2.newsmessage+xml": { + source: "iana", compressible: true }, - \\"application/vnd.iptc.g2.packageitem+xml\\": { - source: \\"iana\\", + "application/vnd.iptc.g2.packageitem+xml": { + source: "iana", compressible: true }, - \\"application/vnd.iptc.g2.planningitem+xml\\": { - source: \\"iana\\", + "application/vnd.iptc.g2.planningitem+xml": { + source: "iana", compressible: true }, - \\"application/vnd.ipunplugged.rcprofile\\": { - source: \\"iana\\", - extensions: [\\"rcprofile\\"] + "application/vnd.ipunplugged.rcprofile": { + source: "iana", + extensions: ["rcprofile"] }, - \\"application/vnd.irepository.package+xml\\": { - source: \\"iana\\", + "application/vnd.irepository.package+xml": { + source: "iana", compressible: true, - extensions: [\\"irp\\"] + extensions: ["irp"] }, - \\"application/vnd.is-xpr\\": { - source: \\"iana\\", - extensions: [\\"xpr\\"] + "application/vnd.is-xpr": { + source: "iana", + extensions: ["xpr"] }, - \\"application/vnd.isac.fcs\\": { - source: \\"iana\\", - extensions: [\\"fcs\\"] + "application/vnd.isac.fcs": { + source: "iana", + extensions: ["fcs"] }, - \\"application/vnd.iso11783-10+zip\\": { - source: \\"iana\\", + "application/vnd.iso11783-10+zip": { + source: "iana", compressible: false }, - \\"application/vnd.jam\\": { - source: \\"iana\\", - extensions: [\\"jam\\"] + "application/vnd.jam": { + source: "iana", + extensions: ["jam"] }, - \\"application/vnd.japannet-directory-service\\": { - source: \\"iana\\" + "application/vnd.japannet-directory-service": { + source: "iana" }, - \\"application/vnd.japannet-jpnstore-wakeup\\": { - source: \\"iana\\" + "application/vnd.japannet-jpnstore-wakeup": { + source: "iana" }, - \\"application/vnd.japannet-payment-wakeup\\": { - source: \\"iana\\" + "application/vnd.japannet-payment-wakeup": { + source: "iana" }, - \\"application/vnd.japannet-registration\\": { - source: \\"iana\\" + "application/vnd.japannet-registration": { + source: "iana" }, - \\"application/vnd.japannet-registration-wakeup\\": { - source: \\"iana\\" + "application/vnd.japannet-registration-wakeup": { + source: "iana" }, - \\"application/vnd.japannet-setstore-wakeup\\": { - source: \\"iana\\" + "application/vnd.japannet-setstore-wakeup": { + source: "iana" }, - \\"application/vnd.japannet-verification\\": { - source: \\"iana\\" + "application/vnd.japannet-verification": { + source: "iana" }, - \\"application/vnd.japannet-verification-wakeup\\": { - source: \\"iana\\" + "application/vnd.japannet-verification-wakeup": { + source: "iana" }, - \\"application/vnd.jcp.javame.midlet-rms\\": { - source: \\"iana\\", - extensions: [\\"rms\\"] + "application/vnd.jcp.javame.midlet-rms": { + source: "iana", + extensions: ["rms"] }, - \\"application/vnd.jisp\\": { - source: \\"iana\\", - extensions: [\\"jisp\\"] + "application/vnd.jisp": { + source: "iana", + extensions: ["jisp"] }, - \\"application/vnd.joost.joda-archive\\": { - source: \\"iana\\", - extensions: [\\"joda\\"] + "application/vnd.joost.joda-archive": { + source: "iana", + extensions: ["joda"] }, - \\"application/vnd.jsk.isdn-ngn\\": { - source: \\"iana\\" + "application/vnd.jsk.isdn-ngn": { + source: "iana" }, - \\"application/vnd.kahootz\\": { - source: \\"iana\\", - extensions: [\\"ktz\\", \\"ktr\\"] + "application/vnd.kahootz": { + source: "iana", + extensions: ["ktz", "ktr"] }, - \\"application/vnd.kde.karbon\\": { - source: \\"iana\\", - extensions: [\\"karbon\\"] + "application/vnd.kde.karbon": { + source: "iana", + extensions: ["karbon"] }, - \\"application/vnd.kde.kchart\\": { - source: \\"iana\\", - extensions: [\\"chrt\\"] + "application/vnd.kde.kchart": { + source: "iana", + extensions: ["chrt"] }, - \\"application/vnd.kde.kformula\\": { - source: \\"iana\\", - extensions: [\\"kfo\\"] + "application/vnd.kde.kformula": { + source: "iana", + extensions: ["kfo"] }, - \\"application/vnd.kde.kivio\\": { - source: \\"iana\\", - extensions: [\\"flw\\"] + "application/vnd.kde.kivio": { + source: "iana", + extensions: ["flw"] }, - \\"application/vnd.kde.kontour\\": { - source: \\"iana\\", - extensions: [\\"kon\\"] + "application/vnd.kde.kontour": { + source: "iana", + extensions: ["kon"] }, - \\"application/vnd.kde.kpresenter\\": { - source: \\"iana\\", - extensions: [\\"kpr\\", \\"kpt\\"] + "application/vnd.kde.kpresenter": { + source: "iana", + extensions: ["kpr", "kpt"] }, - \\"application/vnd.kde.kspread\\": { - source: \\"iana\\", - extensions: [\\"ksp\\"] + "application/vnd.kde.kspread": { + source: "iana", + extensions: ["ksp"] }, - \\"application/vnd.kde.kword\\": { - source: \\"iana\\", - extensions: [\\"kwd\\", \\"kwt\\"] + "application/vnd.kde.kword": { + source: "iana", + extensions: ["kwd", "kwt"] }, - \\"application/vnd.kenameaapp\\": { - source: \\"iana\\", - extensions: [\\"htke\\"] + "application/vnd.kenameaapp": { + source: "iana", + extensions: ["htke"] }, - \\"application/vnd.kidspiration\\": { - source: \\"iana\\", - extensions: [\\"kia\\"] + "application/vnd.kidspiration": { + source: "iana", + extensions: ["kia"] }, - \\"application/vnd.kinar\\": { - source: \\"iana\\", - extensions: [\\"kne\\", \\"knp\\"] + "application/vnd.kinar": { + source: "iana", + extensions: ["kne", "knp"] }, - \\"application/vnd.koan\\": { - source: \\"iana\\", - extensions: [\\"skp\\", \\"skd\\", \\"skt\\", \\"skm\\"] + "application/vnd.koan": { + source: "iana", + extensions: ["skp", "skd", "skt", "skm"] }, - \\"application/vnd.kodak-descriptor\\": { - source: \\"iana\\", - extensions: [\\"sse\\"] + "application/vnd.kodak-descriptor": { + source: "iana", + extensions: ["sse"] }, - \\"application/vnd.las\\": { - source: \\"iana\\" + "application/vnd.las": { + source: "iana" }, - \\"application/vnd.las.las+json\\": { - source: \\"iana\\", + "application/vnd.las.las+json": { + source: "iana", compressible: true }, - \\"application/vnd.las.las+xml\\": { - source: \\"iana\\", + "application/vnd.las.las+xml": { + source: "iana", compressible: true, - extensions: [\\"lasxml\\"] + extensions: ["lasxml"] }, - \\"application/vnd.laszip\\": { - source: \\"iana\\" + "application/vnd.laszip": { + source: "iana" }, - \\"application/vnd.leap+json\\": { - source: \\"iana\\", + "application/vnd.leap+json": { + source: "iana", compressible: true }, - \\"application/vnd.liberty-request+xml\\": { - source: \\"iana\\", + "application/vnd.liberty-request+xml": { + source: "iana", compressible: true }, - \\"application/vnd.llamagraphics.life-balance.desktop\\": { - source: \\"iana\\", - extensions: [\\"lbd\\"] + "application/vnd.llamagraphics.life-balance.desktop": { + source: "iana", + extensions: ["lbd"] }, - \\"application/vnd.llamagraphics.life-balance.exchange+xml\\": { - source: \\"iana\\", + "application/vnd.llamagraphics.life-balance.exchange+xml": { + source: "iana", compressible: true, - extensions: [\\"lbe\\"] + extensions: ["lbe"] }, - \\"application/vnd.logipipe.circuit+zip\\": { - source: \\"iana\\", + "application/vnd.logipipe.circuit+zip": { + source: "iana", compressible: false }, - \\"application/vnd.loom\\": { - source: \\"iana\\" + "application/vnd.loom": { + source: "iana" }, - \\"application/vnd.lotus-1-2-3\\": { - source: \\"iana\\", - extensions: [\\"123\\"] + "application/vnd.lotus-1-2-3": { + source: "iana", + extensions: ["123"] }, - \\"application/vnd.lotus-approach\\": { - source: \\"iana\\", - extensions: [\\"apr\\"] + "application/vnd.lotus-approach": { + source: "iana", + extensions: ["apr"] }, - \\"application/vnd.lotus-freelance\\": { - source: \\"iana\\", - extensions: [\\"pre\\"] + "application/vnd.lotus-freelance": { + source: "iana", + extensions: ["pre"] }, - \\"application/vnd.lotus-notes\\": { - source: \\"iana\\", - extensions: [\\"nsf\\"] + "application/vnd.lotus-notes": { + source: "iana", + extensions: ["nsf"] }, - \\"application/vnd.lotus-organizer\\": { - source: \\"iana\\", - extensions: [\\"org\\"] + "application/vnd.lotus-organizer": { + source: "iana", + extensions: ["org"] }, - \\"application/vnd.lotus-screencam\\": { - source: \\"iana\\", - extensions: [\\"scm\\"] + "application/vnd.lotus-screencam": { + source: "iana", + extensions: ["scm"] }, - \\"application/vnd.lotus-wordpro\\": { - source: \\"iana\\", - extensions: [\\"lwp\\"] + "application/vnd.lotus-wordpro": { + source: "iana", + extensions: ["lwp"] }, - \\"application/vnd.macports.portpkg\\": { - source: \\"iana\\", - extensions: [\\"portpkg\\"] + "application/vnd.macports.portpkg": { + source: "iana", + extensions: ["portpkg"] }, - \\"application/vnd.mapbox-vector-tile\\": { - source: \\"iana\\", - extensions: [\\"mvt\\"] + "application/vnd.mapbox-vector-tile": { + source: "iana", + extensions: ["mvt"] }, - \\"application/vnd.marlin.drm.actiontoken+xml\\": { - source: \\"iana\\", + "application/vnd.marlin.drm.actiontoken+xml": { + source: "iana", compressible: true }, - \\"application/vnd.marlin.drm.conftoken+xml\\": { - source: \\"iana\\", + "application/vnd.marlin.drm.conftoken+xml": { + source: "iana", compressible: true }, - \\"application/vnd.marlin.drm.license+xml\\": { - source: \\"iana\\", + "application/vnd.marlin.drm.license+xml": { + source: "iana", compressible: true }, - \\"application/vnd.marlin.drm.mdcf\\": { - source: \\"iana\\" + "application/vnd.marlin.drm.mdcf": { + source: "iana" }, - \\"application/vnd.mason+json\\": { - source: \\"iana\\", + "application/vnd.mason+json": { + source: "iana", compressible: true }, - \\"application/vnd.maxar.archive.3tz+zip\\": { - source: \\"iana\\", + "application/vnd.maxar.archive.3tz+zip": { + source: "iana", compressible: false }, - \\"application/vnd.maxmind.maxmind-db\\": { - source: \\"iana\\" + "application/vnd.maxmind.maxmind-db": { + source: "iana" }, - \\"application/vnd.mcd\\": { - source: \\"iana\\", - extensions: [\\"mcd\\"] + "application/vnd.mcd": { + source: "iana", + extensions: ["mcd"] }, - \\"application/vnd.medcalcdata\\": { - source: \\"iana\\", - extensions: [\\"mc1\\"] + "application/vnd.medcalcdata": { + source: "iana", + extensions: ["mc1"] }, - \\"application/vnd.mediastation.cdkey\\": { - source: \\"iana\\", - extensions: [\\"cdkey\\"] + "application/vnd.mediastation.cdkey": { + source: "iana", + extensions: ["cdkey"] }, - \\"application/vnd.meridian-slingshot\\": { - source: \\"iana\\" + "application/vnd.meridian-slingshot": { + source: "iana" }, - \\"application/vnd.mfer\\": { - source: \\"iana\\", - extensions: [\\"mwf\\"] + "application/vnd.mfer": { + source: "iana", + extensions: ["mwf"] }, - \\"application/vnd.mfmp\\": { - source: \\"iana\\", - extensions: [\\"mfm\\"] + "application/vnd.mfmp": { + source: "iana", + extensions: ["mfm"] }, - \\"application/vnd.micro+json\\": { - source: \\"iana\\", + "application/vnd.micro+json": { + source: "iana", compressible: true }, - \\"application/vnd.micrografx.flo\\": { - source: \\"iana\\", - extensions: [\\"flo\\"] + "application/vnd.micrografx.flo": { + source: "iana", + extensions: ["flo"] }, - \\"application/vnd.micrografx.igx\\": { - source: \\"iana\\", - extensions: [\\"igx\\"] + "application/vnd.micrografx.igx": { + source: "iana", + extensions: ["igx"] }, - \\"application/vnd.microsoft.portable-executable\\": { - source: \\"iana\\" + "application/vnd.microsoft.portable-executable": { + source: "iana" }, - \\"application/vnd.microsoft.windows.thumbnail-cache\\": { - source: \\"iana\\" + "application/vnd.microsoft.windows.thumbnail-cache": { + source: "iana" }, - \\"application/vnd.miele+json\\": { - source: \\"iana\\", + "application/vnd.miele+json": { + source: "iana", compressible: true }, - \\"application/vnd.mif\\": { - source: \\"iana\\", - extensions: [\\"mif\\"] + "application/vnd.mif": { + source: "iana", + extensions: ["mif"] }, - \\"application/vnd.minisoft-hp3000-save\\": { - source: \\"iana\\" + "application/vnd.minisoft-hp3000-save": { + source: "iana" }, - \\"application/vnd.mitsubishi.misty-guard.trustweb\\": { - source: \\"iana\\" + "application/vnd.mitsubishi.misty-guard.trustweb": { + source: "iana" }, - \\"application/vnd.mobius.daf\\": { - source: \\"iana\\", - extensions: [\\"daf\\"] + "application/vnd.mobius.daf": { + source: "iana", + extensions: ["daf"] }, - \\"application/vnd.mobius.dis\\": { - source: \\"iana\\", - extensions: [\\"dis\\"] + "application/vnd.mobius.dis": { + source: "iana", + extensions: ["dis"] }, - \\"application/vnd.mobius.mbk\\": { - source: \\"iana\\", - extensions: [\\"mbk\\"] + "application/vnd.mobius.mbk": { + source: "iana", + extensions: ["mbk"] }, - \\"application/vnd.mobius.mqy\\": { - source: \\"iana\\", - extensions: [\\"mqy\\"] + "application/vnd.mobius.mqy": { + source: "iana", + extensions: ["mqy"] }, - \\"application/vnd.mobius.msl\\": { - source: \\"iana\\", - extensions: [\\"msl\\"] + "application/vnd.mobius.msl": { + source: "iana", + extensions: ["msl"] }, - \\"application/vnd.mobius.plc\\": { - source: \\"iana\\", - extensions: [\\"plc\\"] + "application/vnd.mobius.plc": { + source: "iana", + extensions: ["plc"] }, - \\"application/vnd.mobius.txf\\": { - source: \\"iana\\", - extensions: [\\"txf\\"] + "application/vnd.mobius.txf": { + source: "iana", + extensions: ["txf"] }, - \\"application/vnd.mophun.application\\": { - source: \\"iana\\", - extensions: [\\"mpn\\"] + "application/vnd.mophun.application": { + source: "iana", + extensions: ["mpn"] }, - \\"application/vnd.mophun.certificate\\": { - source: \\"iana\\", - extensions: [\\"mpc\\"] + "application/vnd.mophun.certificate": { + source: "iana", + extensions: ["mpc"] }, - \\"application/vnd.motorola.flexsuite\\": { - source: \\"iana\\" + "application/vnd.motorola.flexsuite": { + source: "iana" }, - \\"application/vnd.motorola.flexsuite.adsi\\": { - source: \\"iana\\" + "application/vnd.motorola.flexsuite.adsi": { + source: "iana" }, - \\"application/vnd.motorola.flexsuite.fis\\": { - source: \\"iana\\" + "application/vnd.motorola.flexsuite.fis": { + source: "iana" }, - \\"application/vnd.motorola.flexsuite.gotap\\": { - source: \\"iana\\" + "application/vnd.motorola.flexsuite.gotap": { + source: "iana" }, - \\"application/vnd.motorola.flexsuite.kmr\\": { - source: \\"iana\\" + "application/vnd.motorola.flexsuite.kmr": { + source: "iana" }, - \\"application/vnd.motorola.flexsuite.ttc\\": { - source: \\"iana\\" + "application/vnd.motorola.flexsuite.ttc": { + source: "iana" }, - \\"application/vnd.motorola.flexsuite.wem\\": { - source: \\"iana\\" + "application/vnd.motorola.flexsuite.wem": { + source: "iana" }, - \\"application/vnd.motorola.iprm\\": { - source: \\"iana\\" + "application/vnd.motorola.iprm": { + source: "iana" }, - \\"application/vnd.mozilla.xul+xml\\": { - source: \\"iana\\", + "application/vnd.mozilla.xul+xml": { + source: "iana", compressible: true, - extensions: [\\"xul\\"] + extensions: ["xul"] }, - \\"application/vnd.ms-3mfdocument\\": { - source: \\"iana\\" + "application/vnd.ms-3mfdocument": { + source: "iana" }, - \\"application/vnd.ms-artgalry\\": { - source: \\"iana\\", - extensions: [\\"cil\\"] + "application/vnd.ms-artgalry": { + source: "iana", + extensions: ["cil"] }, - \\"application/vnd.ms-asf\\": { - source: \\"iana\\" + "application/vnd.ms-asf": { + source: "iana" }, - \\"application/vnd.ms-cab-compressed\\": { - source: \\"iana\\", - extensions: [\\"cab\\"] + "application/vnd.ms-cab-compressed": { + source: "iana", + extensions: ["cab"] }, - \\"application/vnd.ms-color.iccprofile\\": { - source: \\"apache\\" + "application/vnd.ms-color.iccprofile": { + source: "apache" }, - \\"application/vnd.ms-excel\\": { - source: \\"iana\\", + "application/vnd.ms-excel": { + source: "iana", compressible: false, - extensions: [\\"xls\\", \\"xlm\\", \\"xla\\", \\"xlc\\", \\"xlt\\", \\"xlw\\"] + extensions: ["xls", "xlm", "xla", "xlc", "xlt", "xlw"] }, - \\"application/vnd.ms-excel.addin.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"xlam\\"] + "application/vnd.ms-excel.addin.macroenabled.12": { + source: "iana", + extensions: ["xlam"] }, - \\"application/vnd.ms-excel.sheet.binary.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"xlsb\\"] + "application/vnd.ms-excel.sheet.binary.macroenabled.12": { + source: "iana", + extensions: ["xlsb"] }, - \\"application/vnd.ms-excel.sheet.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"xlsm\\"] + "application/vnd.ms-excel.sheet.macroenabled.12": { + source: "iana", + extensions: ["xlsm"] }, - \\"application/vnd.ms-excel.template.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"xltm\\"] + "application/vnd.ms-excel.template.macroenabled.12": { + source: "iana", + extensions: ["xltm"] }, - \\"application/vnd.ms-fontobject\\": { - source: \\"iana\\", + "application/vnd.ms-fontobject": { + source: "iana", compressible: true, - extensions: [\\"eot\\"] + extensions: ["eot"] }, - \\"application/vnd.ms-htmlhelp\\": { - source: \\"iana\\", - extensions: [\\"chm\\"] + "application/vnd.ms-htmlhelp": { + source: "iana", + extensions: ["chm"] }, - \\"application/vnd.ms-ims\\": { - source: \\"iana\\", - extensions: [\\"ims\\"] + "application/vnd.ms-ims": { + source: "iana", + extensions: ["ims"] }, - \\"application/vnd.ms-lrm\\": { - source: \\"iana\\", - extensions: [\\"lrm\\"] + "application/vnd.ms-lrm": { + source: "iana", + extensions: ["lrm"] }, - \\"application/vnd.ms-office.activex+xml\\": { - source: \\"iana\\", + "application/vnd.ms-office.activex+xml": { + source: "iana", compressible: true }, - \\"application/vnd.ms-officetheme\\": { - source: \\"iana\\", - extensions: [\\"thmx\\"] + "application/vnd.ms-officetheme": { + source: "iana", + extensions: ["thmx"] }, - \\"application/vnd.ms-opentype\\": { - source: \\"apache\\", + "application/vnd.ms-opentype": { + source: "apache", compressible: true }, - \\"application/vnd.ms-outlook\\": { + "application/vnd.ms-outlook": { compressible: false, - extensions: [\\"msg\\"] + extensions: ["msg"] }, - \\"application/vnd.ms-package.obfuscated-opentype\\": { - source: \\"apache\\" + "application/vnd.ms-package.obfuscated-opentype": { + source: "apache" }, - \\"application/vnd.ms-pki.seccat\\": { - source: \\"apache\\", - extensions: [\\"cat\\"] + "application/vnd.ms-pki.seccat": { + source: "apache", + extensions: ["cat"] }, - \\"application/vnd.ms-pki.stl\\": { - source: \\"apache\\", - extensions: [\\"stl\\"] + "application/vnd.ms-pki.stl": { + source: "apache", + extensions: ["stl"] }, - \\"application/vnd.ms-playready.initiator+xml\\": { - source: \\"iana\\", + "application/vnd.ms-playready.initiator+xml": { + source: "iana", compressible: true }, - \\"application/vnd.ms-powerpoint\\": { - source: \\"iana\\", + "application/vnd.ms-powerpoint": { + source: "iana", compressible: false, - extensions: [\\"ppt\\", \\"pps\\", \\"pot\\"] + extensions: ["ppt", "pps", "pot"] }, - \\"application/vnd.ms-powerpoint.addin.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"ppam\\"] + "application/vnd.ms-powerpoint.addin.macroenabled.12": { + source: "iana", + extensions: ["ppam"] }, - \\"application/vnd.ms-powerpoint.presentation.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"pptm\\"] + "application/vnd.ms-powerpoint.presentation.macroenabled.12": { + source: "iana", + extensions: ["pptm"] }, - \\"application/vnd.ms-powerpoint.slide.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"sldm\\"] + "application/vnd.ms-powerpoint.slide.macroenabled.12": { + source: "iana", + extensions: ["sldm"] }, - \\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"ppsm\\"] + "application/vnd.ms-powerpoint.slideshow.macroenabled.12": { + source: "iana", + extensions: ["ppsm"] }, - \\"application/vnd.ms-powerpoint.template.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"potm\\"] + "application/vnd.ms-powerpoint.template.macroenabled.12": { + source: "iana", + extensions: ["potm"] }, - \\"application/vnd.ms-printdevicecapabilities+xml\\": { - source: \\"iana\\", + "application/vnd.ms-printdevicecapabilities+xml": { + source: "iana", compressible: true }, - \\"application/vnd.ms-printing.printticket+xml\\": { - source: \\"apache\\", + "application/vnd.ms-printing.printticket+xml": { + source: "apache", compressible: true }, - \\"application/vnd.ms-printschematicket+xml\\": { - source: \\"iana\\", + "application/vnd.ms-printschematicket+xml": { + source: "iana", compressible: true }, - \\"application/vnd.ms-project\\": { - source: \\"iana\\", - extensions: [\\"mpp\\", \\"mpt\\"] + "application/vnd.ms-project": { + source: "iana", + extensions: ["mpp", "mpt"] }, - \\"application/vnd.ms-tnef\\": { - source: \\"iana\\" + "application/vnd.ms-tnef": { + source: "iana" }, - \\"application/vnd.ms-windows.devicepairing\\": { - source: \\"iana\\" + "application/vnd.ms-windows.devicepairing": { + source: "iana" }, - \\"application/vnd.ms-windows.nwprinting.oob\\": { - source: \\"iana\\" + "application/vnd.ms-windows.nwprinting.oob": { + source: "iana" }, - \\"application/vnd.ms-windows.printerpairing\\": { - source: \\"iana\\" + "application/vnd.ms-windows.printerpairing": { + source: "iana" }, - \\"application/vnd.ms-windows.wsd.oob\\": { - source: \\"iana\\" + "application/vnd.ms-windows.wsd.oob": { + source: "iana" }, - \\"application/vnd.ms-wmdrm.lic-chlg-req\\": { - source: \\"iana\\" + "application/vnd.ms-wmdrm.lic-chlg-req": { + source: "iana" }, - \\"application/vnd.ms-wmdrm.lic-resp\\": { - source: \\"iana\\" + "application/vnd.ms-wmdrm.lic-resp": { + source: "iana" }, - \\"application/vnd.ms-wmdrm.meter-chlg-req\\": { - source: \\"iana\\" + "application/vnd.ms-wmdrm.meter-chlg-req": { + source: "iana" }, - \\"application/vnd.ms-wmdrm.meter-resp\\": { - source: \\"iana\\" + "application/vnd.ms-wmdrm.meter-resp": { + source: "iana" }, - \\"application/vnd.ms-word.document.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"docm\\"] + "application/vnd.ms-word.document.macroenabled.12": { + source: "iana", + extensions: ["docm"] }, - \\"application/vnd.ms-word.template.macroenabled.12\\": { - source: \\"iana\\", - extensions: [\\"dotm\\"] + "application/vnd.ms-word.template.macroenabled.12": { + source: "iana", + extensions: ["dotm"] }, - \\"application/vnd.ms-works\\": { - source: \\"iana\\", - extensions: [\\"wps\\", \\"wks\\", \\"wcm\\", \\"wdb\\"] + "application/vnd.ms-works": { + source: "iana", + extensions: ["wps", "wks", "wcm", "wdb"] }, - \\"application/vnd.ms-wpl\\": { - source: \\"iana\\", - extensions: [\\"wpl\\"] + "application/vnd.ms-wpl": { + source: "iana", + extensions: ["wpl"] }, - \\"application/vnd.ms-xpsdocument\\": { - source: \\"iana\\", + "application/vnd.ms-xpsdocument": { + source: "iana", compressible: false, - extensions: [\\"xps\\"] + extensions: ["xps"] }, - \\"application/vnd.msa-disk-image\\": { - source: \\"iana\\" + "application/vnd.msa-disk-image": { + source: "iana" }, - \\"application/vnd.mseq\\": { - source: \\"iana\\", - extensions: [\\"mseq\\"] + "application/vnd.mseq": { + source: "iana", + extensions: ["mseq"] }, - \\"application/vnd.msign\\": { - source: \\"iana\\" + "application/vnd.msign": { + source: "iana" }, - \\"application/vnd.multiad.creator\\": { - source: \\"iana\\" + "application/vnd.multiad.creator": { + source: "iana" }, - \\"application/vnd.multiad.creator.cif\\": { - source: \\"iana\\" + "application/vnd.multiad.creator.cif": { + source: "iana" }, - \\"application/vnd.music-niff\\": { - source: \\"iana\\" + "application/vnd.music-niff": { + source: "iana" }, - \\"application/vnd.musician\\": { - source: \\"iana\\", - extensions: [\\"mus\\"] + "application/vnd.musician": { + source: "iana", + extensions: ["mus"] }, - \\"application/vnd.muvee.style\\": { - source: \\"iana\\", - extensions: [\\"msty\\"] + "application/vnd.muvee.style": { + source: "iana", + extensions: ["msty"] }, - \\"application/vnd.mynfc\\": { - source: \\"iana\\", - extensions: [\\"taglet\\"] + "application/vnd.mynfc": { + source: "iana", + extensions: ["taglet"] }, - \\"application/vnd.nacamar.ybrid+json\\": { - source: \\"iana\\", + "application/vnd.nacamar.ybrid+json": { + source: "iana", compressible: true }, - \\"application/vnd.ncd.control\\": { - source: \\"iana\\" + "application/vnd.ncd.control": { + source: "iana" }, - \\"application/vnd.ncd.reference\\": { - source: \\"iana\\" + "application/vnd.ncd.reference": { + source: "iana" }, - \\"application/vnd.nearst.inv+json\\": { - source: \\"iana\\", + "application/vnd.nearst.inv+json": { + source: "iana", compressible: true }, - \\"application/vnd.nebumind.line\\": { - source: \\"iana\\" + "application/vnd.nebumind.line": { + source: "iana" }, - \\"application/vnd.nervana\\": { - source: \\"iana\\" + "application/vnd.nervana": { + source: "iana" }, - \\"application/vnd.netfpx\\": { - source: \\"iana\\" + "application/vnd.netfpx": { + source: "iana" }, - \\"application/vnd.neurolanguage.nlu\\": { - source: \\"iana\\", - extensions: [\\"nlu\\"] + "application/vnd.neurolanguage.nlu": { + source: "iana", + extensions: ["nlu"] }, - \\"application/vnd.nimn\\": { - source: \\"iana\\" + "application/vnd.nimn": { + source: "iana" }, - \\"application/vnd.nintendo.nitro.rom\\": { - source: \\"iana\\" + "application/vnd.nintendo.nitro.rom": { + source: "iana" }, - \\"application/vnd.nintendo.snes.rom\\": { - source: \\"iana\\" + "application/vnd.nintendo.snes.rom": { + source: "iana" }, - \\"application/vnd.nitf\\": { - source: \\"iana\\", - extensions: [\\"ntf\\", \\"nitf\\"] + "application/vnd.nitf": { + source: "iana", + extensions: ["ntf", "nitf"] }, - \\"application/vnd.noblenet-directory\\": { - source: \\"iana\\", - extensions: [\\"nnd\\"] + "application/vnd.noblenet-directory": { + source: "iana", + extensions: ["nnd"] }, - \\"application/vnd.noblenet-sealer\\": { - source: \\"iana\\", - extensions: [\\"nns\\"] + "application/vnd.noblenet-sealer": { + source: "iana", + extensions: ["nns"] }, - \\"application/vnd.noblenet-web\\": { - source: \\"iana\\", - extensions: [\\"nnw\\"] + "application/vnd.noblenet-web": { + source: "iana", + extensions: ["nnw"] }, - \\"application/vnd.nokia.catalogs\\": { - source: \\"iana\\" + "application/vnd.nokia.catalogs": { + source: "iana" }, - \\"application/vnd.nokia.conml+wbxml\\": { - source: \\"iana\\" + "application/vnd.nokia.conml+wbxml": { + source: "iana" }, - \\"application/vnd.nokia.conml+xml\\": { - source: \\"iana\\", + "application/vnd.nokia.conml+xml": { + source: "iana", compressible: true }, - \\"application/vnd.nokia.iptv.config+xml\\": { - source: \\"iana\\", + "application/vnd.nokia.iptv.config+xml": { + source: "iana", compressible: true }, - \\"application/vnd.nokia.isds-radio-presets\\": { - source: \\"iana\\" + "application/vnd.nokia.isds-radio-presets": { + source: "iana" }, - \\"application/vnd.nokia.landmark+wbxml\\": { - source: \\"iana\\" + "application/vnd.nokia.landmark+wbxml": { + source: "iana" }, - \\"application/vnd.nokia.landmark+xml\\": { - source: \\"iana\\", + "application/vnd.nokia.landmark+xml": { + source: "iana", compressible: true }, - \\"application/vnd.nokia.landmarkcollection+xml\\": { - source: \\"iana\\", + "application/vnd.nokia.landmarkcollection+xml": { + source: "iana", compressible: true }, - \\"application/vnd.nokia.n-gage.ac+xml\\": { - source: \\"iana\\", + "application/vnd.nokia.n-gage.ac+xml": { + source: "iana", compressible: true, - extensions: [\\"ac\\"] + extensions: ["ac"] }, - \\"application/vnd.nokia.n-gage.data\\": { - source: \\"iana\\", - extensions: [\\"ngdat\\"] + "application/vnd.nokia.n-gage.data": { + source: "iana", + extensions: ["ngdat"] }, - \\"application/vnd.nokia.n-gage.symbian.install\\": { - source: \\"iana\\", - extensions: [\\"n-gage\\"] + "application/vnd.nokia.n-gage.symbian.install": { + source: "iana", + extensions: ["n-gage"] }, - \\"application/vnd.nokia.ncd\\": { - source: \\"iana\\" + "application/vnd.nokia.ncd": { + source: "iana" }, - \\"application/vnd.nokia.pcd+wbxml\\": { - source: \\"iana\\" + "application/vnd.nokia.pcd+wbxml": { + source: "iana" }, - \\"application/vnd.nokia.pcd+xml\\": { - source: \\"iana\\", + "application/vnd.nokia.pcd+xml": { + source: "iana", compressible: true }, - \\"application/vnd.nokia.radio-preset\\": { - source: \\"iana\\", - extensions: [\\"rpst\\"] + "application/vnd.nokia.radio-preset": { + source: "iana", + extensions: ["rpst"] }, - \\"application/vnd.nokia.radio-presets\\": { - source: \\"iana\\", - extensions: [\\"rpss\\"] + "application/vnd.nokia.radio-presets": { + source: "iana", + extensions: ["rpss"] }, - \\"application/vnd.novadigm.edm\\": { - source: \\"iana\\", - extensions: [\\"edm\\"] + "application/vnd.novadigm.edm": { + source: "iana", + extensions: ["edm"] }, - \\"application/vnd.novadigm.edx\\": { - source: \\"iana\\", - extensions: [\\"edx\\"] + "application/vnd.novadigm.edx": { + source: "iana", + extensions: ["edx"] }, - \\"application/vnd.novadigm.ext\\": { - source: \\"iana\\", - extensions: [\\"ext\\"] + "application/vnd.novadigm.ext": { + source: "iana", + extensions: ["ext"] }, - \\"application/vnd.ntt-local.content-share\\": { - source: \\"iana\\" + "application/vnd.ntt-local.content-share": { + source: "iana" }, - \\"application/vnd.ntt-local.file-transfer\\": { - source: \\"iana\\" + "application/vnd.ntt-local.file-transfer": { + source: "iana" }, - \\"application/vnd.ntt-local.ogw_remote-access\\": { - source: \\"iana\\" + "application/vnd.ntt-local.ogw_remote-access": { + source: "iana" }, - \\"application/vnd.ntt-local.sip-ta_remote\\": { - source: \\"iana\\" + "application/vnd.ntt-local.sip-ta_remote": { + source: "iana" }, - \\"application/vnd.ntt-local.sip-ta_tcp_stream\\": { - source: \\"iana\\" + "application/vnd.ntt-local.sip-ta_tcp_stream": { + source: "iana" }, - \\"application/vnd.oasis.opendocument.chart\\": { - source: \\"iana\\", - extensions: [\\"odc\\"] + "application/vnd.oasis.opendocument.chart": { + source: "iana", + extensions: ["odc"] }, - \\"application/vnd.oasis.opendocument.chart-template\\": { - source: \\"iana\\", - extensions: [\\"otc\\"] + "application/vnd.oasis.opendocument.chart-template": { + source: "iana", + extensions: ["otc"] }, - \\"application/vnd.oasis.opendocument.database\\": { - source: \\"iana\\", - extensions: [\\"odb\\"] + "application/vnd.oasis.opendocument.database": { + source: "iana", + extensions: ["odb"] }, - \\"application/vnd.oasis.opendocument.formula\\": { - source: \\"iana\\", - extensions: [\\"odf\\"] + "application/vnd.oasis.opendocument.formula": { + source: "iana", + extensions: ["odf"] }, - \\"application/vnd.oasis.opendocument.formula-template\\": { - source: \\"iana\\", - extensions: [\\"odft\\"] + "application/vnd.oasis.opendocument.formula-template": { + source: "iana", + extensions: ["odft"] }, - \\"application/vnd.oasis.opendocument.graphics\\": { - source: \\"iana\\", + "application/vnd.oasis.opendocument.graphics": { + source: "iana", compressible: false, - extensions: [\\"odg\\"] + extensions: ["odg"] }, - \\"application/vnd.oasis.opendocument.graphics-template\\": { - source: \\"iana\\", - extensions: [\\"otg\\"] + "application/vnd.oasis.opendocument.graphics-template": { + source: "iana", + extensions: ["otg"] }, - \\"application/vnd.oasis.opendocument.image\\": { - source: \\"iana\\", - extensions: [\\"odi\\"] + "application/vnd.oasis.opendocument.image": { + source: "iana", + extensions: ["odi"] }, - \\"application/vnd.oasis.opendocument.image-template\\": { - source: \\"iana\\", - extensions: [\\"oti\\"] + "application/vnd.oasis.opendocument.image-template": { + source: "iana", + extensions: ["oti"] }, - \\"application/vnd.oasis.opendocument.presentation\\": { - source: \\"iana\\", + "application/vnd.oasis.opendocument.presentation": { + source: "iana", compressible: false, - extensions: [\\"odp\\"] + extensions: ["odp"] }, - \\"application/vnd.oasis.opendocument.presentation-template\\": { - source: \\"iana\\", - extensions: [\\"otp\\"] + "application/vnd.oasis.opendocument.presentation-template": { + source: "iana", + extensions: ["otp"] }, - \\"application/vnd.oasis.opendocument.spreadsheet\\": { - source: \\"iana\\", + "application/vnd.oasis.opendocument.spreadsheet": { + source: "iana", compressible: false, - extensions: [\\"ods\\"] + extensions: ["ods"] }, - \\"application/vnd.oasis.opendocument.spreadsheet-template\\": { - source: \\"iana\\", - extensions: [\\"ots\\"] + "application/vnd.oasis.opendocument.spreadsheet-template": { + source: "iana", + extensions: ["ots"] }, - \\"application/vnd.oasis.opendocument.text\\": { - source: \\"iana\\", + "application/vnd.oasis.opendocument.text": { + source: "iana", compressible: false, - extensions: [\\"odt\\"] + extensions: ["odt"] }, - \\"application/vnd.oasis.opendocument.text-master\\": { - source: \\"iana\\", - extensions: [\\"odm\\"] + "application/vnd.oasis.opendocument.text-master": { + source: "iana", + extensions: ["odm"] }, - \\"application/vnd.oasis.opendocument.text-template\\": { - source: \\"iana\\", - extensions: [\\"ott\\"] + "application/vnd.oasis.opendocument.text-template": { + source: "iana", + extensions: ["ott"] }, - \\"application/vnd.oasis.opendocument.text-web\\": { - source: \\"iana\\", - extensions: [\\"oth\\"] + "application/vnd.oasis.opendocument.text-web": { + source: "iana", + extensions: ["oth"] }, - \\"application/vnd.obn\\": { - source: \\"iana\\" + "application/vnd.obn": { + source: "iana" }, - \\"application/vnd.ocf+cbor\\": { - source: \\"iana\\" + "application/vnd.ocf+cbor": { + source: "iana" }, - \\"application/vnd.oci.image.manifest.v1+json\\": { - source: \\"iana\\", + "application/vnd.oci.image.manifest.v1+json": { + source: "iana", compressible: true }, - \\"application/vnd.oftn.l10n+json\\": { - source: \\"iana\\", + "application/vnd.oftn.l10n+json": { + source: "iana", compressible: true }, - \\"application/vnd.oipf.contentaccessdownload+xml\\": { - source: \\"iana\\", + "application/vnd.oipf.contentaccessdownload+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oipf.contentaccessstreaming+xml\\": { - source: \\"iana\\", + "application/vnd.oipf.contentaccessstreaming+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oipf.cspg-hexbinary\\": { - source: \\"iana\\" + "application/vnd.oipf.cspg-hexbinary": { + source: "iana" }, - \\"application/vnd.oipf.dae.svg+xml\\": { - source: \\"iana\\", + "application/vnd.oipf.dae.svg+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oipf.dae.xhtml+xml\\": { - source: \\"iana\\", + "application/vnd.oipf.dae.xhtml+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oipf.mippvcontrolmessage+xml\\": { - source: \\"iana\\", + "application/vnd.oipf.mippvcontrolmessage+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oipf.pae.gem\\": { - source: \\"iana\\" + "application/vnd.oipf.pae.gem": { + source: "iana" }, - \\"application/vnd.oipf.spdiscovery+xml\\": { - source: \\"iana\\", + "application/vnd.oipf.spdiscovery+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oipf.spdlist+xml\\": { - source: \\"iana\\", + "application/vnd.oipf.spdlist+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oipf.ueprofile+xml\\": { - source: \\"iana\\", + "application/vnd.oipf.ueprofile+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oipf.userprofile+xml\\": { - source: \\"iana\\", + "application/vnd.oipf.userprofile+xml": { + source: "iana", compressible: true }, - \\"application/vnd.olpc-sugar\\": { - source: \\"iana\\", - extensions: [\\"xo\\"] + "application/vnd.olpc-sugar": { + source: "iana", + extensions: ["xo"] }, - \\"application/vnd.oma-scws-config\\": { - source: \\"iana\\" + "application/vnd.oma-scws-config": { + source: "iana" }, - \\"application/vnd.oma-scws-http-request\\": { - source: \\"iana\\" + "application/vnd.oma-scws-http-request": { + source: "iana" }, - \\"application/vnd.oma-scws-http-response\\": { - source: \\"iana\\" + "application/vnd.oma-scws-http-response": { + source: "iana" }, - \\"application/vnd.oma.bcast.associated-procedure-parameter+xml\\": { - source: \\"iana\\", + "application/vnd.oma.bcast.associated-procedure-parameter+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.bcast.drm-trigger+xml\\": { - source: \\"iana\\", + "application/vnd.oma.bcast.drm-trigger+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.bcast.imd+xml\\": { - source: \\"iana\\", + "application/vnd.oma.bcast.imd+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.bcast.ltkm\\": { - source: \\"iana\\" + "application/vnd.oma.bcast.ltkm": { + source: "iana" }, - \\"application/vnd.oma.bcast.notification+xml\\": { - source: \\"iana\\", + "application/vnd.oma.bcast.notification+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.bcast.provisioningtrigger\\": { - source: \\"iana\\" + "application/vnd.oma.bcast.provisioningtrigger": { + source: "iana" }, - \\"application/vnd.oma.bcast.sgboot\\": { - source: \\"iana\\" + "application/vnd.oma.bcast.sgboot": { + source: "iana" }, - \\"application/vnd.oma.bcast.sgdd+xml\\": { - source: \\"iana\\", + "application/vnd.oma.bcast.sgdd+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.bcast.sgdu\\": { - source: \\"iana\\" + "application/vnd.oma.bcast.sgdu": { + source: "iana" }, - \\"application/vnd.oma.bcast.simple-symbol-container\\": { - source: \\"iana\\" + "application/vnd.oma.bcast.simple-symbol-container": { + source: "iana" }, - \\"application/vnd.oma.bcast.smartcard-trigger+xml\\": { - source: \\"iana\\", + "application/vnd.oma.bcast.smartcard-trigger+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.bcast.sprov+xml\\": { - source: \\"iana\\", + "application/vnd.oma.bcast.sprov+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.bcast.stkm\\": { - source: \\"iana\\" + "application/vnd.oma.bcast.stkm": { + source: "iana" }, - \\"application/vnd.oma.cab-address-book+xml\\": { - source: \\"iana\\", + "application/vnd.oma.cab-address-book+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.cab-feature-handler+xml\\": { - source: \\"iana\\", + "application/vnd.oma.cab-feature-handler+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.cab-pcc+xml\\": { - source: \\"iana\\", + "application/vnd.oma.cab-pcc+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.cab-subs-invite+xml\\": { - source: \\"iana\\", + "application/vnd.oma.cab-subs-invite+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.cab-user-prefs+xml\\": { - source: \\"iana\\", + "application/vnd.oma.cab-user-prefs+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.dcd\\": { - source: \\"iana\\" + "application/vnd.oma.dcd": { + source: "iana" }, - \\"application/vnd.oma.dcdc\\": { - source: \\"iana\\" + "application/vnd.oma.dcdc": { + source: "iana" }, - \\"application/vnd.oma.dd2+xml\\": { - source: \\"iana\\", + "application/vnd.oma.dd2+xml": { + source: "iana", compressible: true, - extensions: [\\"dd2\\"] + extensions: ["dd2"] }, - \\"application/vnd.oma.drm.risd+xml\\": { - source: \\"iana\\", + "application/vnd.oma.drm.risd+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.group-usage-list+xml\\": { - source: \\"iana\\", + "application/vnd.oma.group-usage-list+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.lwm2m+cbor\\": { - source: \\"iana\\" + "application/vnd.oma.lwm2m+cbor": { + source: "iana" }, - \\"application/vnd.oma.lwm2m+json\\": { - source: \\"iana\\", + "application/vnd.oma.lwm2m+json": { + source: "iana", compressible: true }, - \\"application/vnd.oma.lwm2m+tlv\\": { - source: \\"iana\\" + "application/vnd.oma.lwm2m+tlv": { + source: "iana" }, - \\"application/vnd.oma.pal+xml\\": { - source: \\"iana\\", + "application/vnd.oma.pal+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.poc.detailed-progress-report+xml\\": { - source: \\"iana\\", + "application/vnd.oma.poc.detailed-progress-report+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.poc.final-report+xml\\": { - source: \\"iana\\", + "application/vnd.oma.poc.final-report+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.poc.groups+xml\\": { - source: \\"iana\\", + "application/vnd.oma.poc.groups+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.poc.invocation-descriptor+xml\\": { - source: \\"iana\\", + "application/vnd.oma.poc.invocation-descriptor+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.poc.optimized-progress-report+xml\\": { - source: \\"iana\\", + "application/vnd.oma.poc.optimized-progress-report+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.push\\": { - source: \\"iana\\" + "application/vnd.oma.push": { + source: "iana" }, - \\"application/vnd.oma.scidm.messages+xml\\": { - source: \\"iana\\", + "application/vnd.oma.scidm.messages+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oma.xcap-directory+xml\\": { - source: \\"iana\\", + "application/vnd.oma.xcap-directory+xml": { + source: "iana", compressible: true }, - \\"application/vnd.omads-email+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/vnd.omads-email+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/vnd.omads-file+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/vnd.omads-file+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/vnd.omads-folder+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/vnd.omads-folder+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/vnd.omaloc-supl-init\\": { - source: \\"iana\\" + "application/vnd.omaloc-supl-init": { + source: "iana" }, - \\"application/vnd.onepager\\": { - source: \\"iana\\" + "application/vnd.onepager": { + source: "iana" }, - \\"application/vnd.onepagertamp\\": { - source: \\"iana\\" + "application/vnd.onepagertamp": { + source: "iana" }, - \\"application/vnd.onepagertamx\\": { - source: \\"iana\\" + "application/vnd.onepagertamx": { + source: "iana" }, - \\"application/vnd.onepagertat\\": { - source: \\"iana\\" + "application/vnd.onepagertat": { + source: "iana" }, - \\"application/vnd.onepagertatp\\": { - source: \\"iana\\" + "application/vnd.onepagertatp": { + source: "iana" }, - \\"application/vnd.onepagertatx\\": { - source: \\"iana\\" + "application/vnd.onepagertatx": { + source: "iana" }, - \\"application/vnd.openblox.game+xml\\": { - source: \\"iana\\", + "application/vnd.openblox.game+xml": { + source: "iana", compressible: true, - extensions: [\\"obgx\\"] + extensions: ["obgx"] }, - \\"application/vnd.openblox.game-binary\\": { - source: \\"iana\\" + "application/vnd.openblox.game-binary": { + source: "iana" }, - \\"application/vnd.openeye.oeb\\": { - source: \\"iana\\" + "application/vnd.openeye.oeb": { + source: "iana" }, - \\"application/vnd.openofficeorg.extension\\": { - source: \\"apache\\", - extensions: [\\"oxt\\"] + "application/vnd.openofficeorg.extension": { + source: "apache", + extensions: ["oxt"] }, - \\"application/vnd.openstreetmap.data+xml\\": { - source: \\"iana\\", + "application/vnd.openstreetmap.data+xml": { + source: "iana", compressible: true, - extensions: [\\"osm\\"] + extensions: ["osm"] }, - \\"application/vnd.opentimestamps.ots\\": { - source: \\"iana\\" + "application/vnd.opentimestamps.ots": { + source: "iana" }, - \\"application/vnd.openxmlformats-officedocument.custom-properties+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.custom-properties+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.customxmlproperties+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.drawing+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.drawing+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.drawingml.chart+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.extended-properties+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.extended-properties+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.comments+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.presentation\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.presentation": { + source: "iana", compressible: false, - extensions: [\\"pptx\\"] + extensions: ["pptx"] }, - \\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.presprops+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.slide\\": { - source: \\"iana\\", - extensions: [\\"sldx\\"] + "application/vnd.openxmlformats-officedocument.presentationml.slide": { + source: "iana", + extensions: ["sldx"] }, - \\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.slide+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\\": { - source: \\"iana\\", - extensions: [\\"ppsx\\"] + "application/vnd.openxmlformats-officedocument.presentationml.slideshow": { + source: "iana", + extensions: ["ppsx"] }, - \\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.tags+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.template\\": { - source: \\"iana\\", - extensions: [\\"potx\\"] + "application/vnd.openxmlformats-officedocument.presentationml.template": { + source: "iana", + extensions: ["potx"] }, - \\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.template.main+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": { + source: "iana", compressible: false, - extensions: [\\"xlsx\\"] + extensions: ["xlsx"] }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\\": { - source: \\"iana\\", - extensions: [\\"xltx\\"] + "application/vnd.openxmlformats-officedocument.spreadsheetml.template": { + source: "iana", + extensions: ["xltx"] }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.theme+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.theme+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.themeoverride+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.themeoverride+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.vmldrawing\\": { - source: \\"iana\\" + "application/vnd.openxmlformats-officedocument.vmldrawing": { + source: "iana" }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.document": { + source: "iana", compressible: false, - extensions: [\\"docx\\"] + extensions: ["docx"] }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\\": { - source: \\"iana\\", - extensions: [\\"dotx\\"] + "application/vnd.openxmlformats-officedocument.wordprocessingml.template": { + source: "iana", + extensions: ["dotx"] }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-package.core-properties+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-package.core-properties+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml": { + source: "iana", compressible: true }, - \\"application/vnd.openxmlformats-package.relationships+xml\\": { - source: \\"iana\\", + "application/vnd.openxmlformats-package.relationships+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oracle.resource+json\\": { - source: \\"iana\\", + "application/vnd.oracle.resource+json": { + source: "iana", compressible: true }, - \\"application/vnd.orange.indata\\": { - source: \\"iana\\" + "application/vnd.orange.indata": { + source: "iana" }, - \\"application/vnd.osa.netdeploy\\": { - source: \\"iana\\" + "application/vnd.osa.netdeploy": { + source: "iana" }, - \\"application/vnd.osgeo.mapguide.package\\": { - source: \\"iana\\", - extensions: [\\"mgp\\"] + "application/vnd.osgeo.mapguide.package": { + source: "iana", + extensions: ["mgp"] }, - \\"application/vnd.osgi.bundle\\": { - source: \\"iana\\" + "application/vnd.osgi.bundle": { + source: "iana" }, - \\"application/vnd.osgi.dp\\": { - source: \\"iana\\", - extensions: [\\"dp\\"] + "application/vnd.osgi.dp": { + source: "iana", + extensions: ["dp"] }, - \\"application/vnd.osgi.subsystem\\": { - source: \\"iana\\", - extensions: [\\"esa\\"] + "application/vnd.osgi.subsystem": { + source: "iana", + extensions: ["esa"] }, - \\"application/vnd.otps.ct-kip+xml\\": { - source: \\"iana\\", + "application/vnd.otps.ct-kip+xml": { + source: "iana", compressible: true }, - \\"application/vnd.oxli.countgraph\\": { - source: \\"iana\\" + "application/vnd.oxli.countgraph": { + source: "iana" }, - \\"application/vnd.pagerduty+json\\": { - source: \\"iana\\", + "application/vnd.pagerduty+json": { + source: "iana", compressible: true }, - \\"application/vnd.palm\\": { - source: \\"iana\\", - extensions: [\\"pdb\\", \\"pqa\\", \\"oprc\\"] + "application/vnd.palm": { + source: "iana", + extensions: ["pdb", "pqa", "oprc"] }, - \\"application/vnd.panoply\\": { - source: \\"iana\\" + "application/vnd.panoply": { + source: "iana" }, - \\"application/vnd.paos.xml\\": { - source: \\"iana\\" + "application/vnd.paos.xml": { + source: "iana" }, - \\"application/vnd.patentdive\\": { - source: \\"iana\\" + "application/vnd.patentdive": { + source: "iana" }, - \\"application/vnd.patientecommsdoc\\": { - source: \\"iana\\" + "application/vnd.patientecommsdoc": { + source: "iana" }, - \\"application/vnd.pawaafile\\": { - source: \\"iana\\", - extensions: [\\"paw\\"] + "application/vnd.pawaafile": { + source: "iana", + extensions: ["paw"] }, - \\"application/vnd.pcos\\": { - source: \\"iana\\" + "application/vnd.pcos": { + source: "iana" }, - \\"application/vnd.pg.format\\": { - source: \\"iana\\", - extensions: [\\"str\\"] + "application/vnd.pg.format": { + source: "iana", + extensions: ["str"] }, - \\"application/vnd.pg.osasli\\": { - source: \\"iana\\", - extensions: [\\"ei6\\"] + "application/vnd.pg.osasli": { + source: "iana", + extensions: ["ei6"] }, - \\"application/vnd.piaccess.application-licence\\": { - source: \\"iana\\" + "application/vnd.piaccess.application-licence": { + source: "iana" }, - \\"application/vnd.picsel\\": { - source: \\"iana\\", - extensions: [\\"efif\\"] + "application/vnd.picsel": { + source: "iana", + extensions: ["efif"] }, - \\"application/vnd.pmi.widget\\": { - source: \\"iana\\", - extensions: [\\"wg\\"] + "application/vnd.pmi.widget": { + source: "iana", + extensions: ["wg"] }, - \\"application/vnd.poc.group-advertisement+xml\\": { - source: \\"iana\\", + "application/vnd.poc.group-advertisement+xml": { + source: "iana", compressible: true }, - \\"application/vnd.pocketlearn\\": { - source: \\"iana\\", - extensions: [\\"plf\\"] + "application/vnd.pocketlearn": { + source: "iana", + extensions: ["plf"] }, - \\"application/vnd.powerbuilder6\\": { - source: \\"iana\\", - extensions: [\\"pbd\\"] + "application/vnd.powerbuilder6": { + source: "iana", + extensions: ["pbd"] }, - \\"application/vnd.powerbuilder6-s\\": { - source: \\"iana\\" + "application/vnd.powerbuilder6-s": { + source: "iana" }, - \\"application/vnd.powerbuilder7\\": { - source: \\"iana\\" + "application/vnd.powerbuilder7": { + source: "iana" }, - \\"application/vnd.powerbuilder7-s\\": { - source: \\"iana\\" + "application/vnd.powerbuilder7-s": { + source: "iana" }, - \\"application/vnd.powerbuilder75\\": { - source: \\"iana\\" + "application/vnd.powerbuilder75": { + source: "iana" }, - \\"application/vnd.powerbuilder75-s\\": { - source: \\"iana\\" + "application/vnd.powerbuilder75-s": { + source: "iana" }, - \\"application/vnd.preminet\\": { - source: \\"iana\\" + "application/vnd.preminet": { + source: "iana" }, - \\"application/vnd.previewsystems.box\\": { - source: \\"iana\\", - extensions: [\\"box\\"] + "application/vnd.previewsystems.box": { + source: "iana", + extensions: ["box"] }, - \\"application/vnd.proteus.magazine\\": { - source: \\"iana\\", - extensions: [\\"mgz\\"] + "application/vnd.proteus.magazine": { + source: "iana", + extensions: ["mgz"] }, - \\"application/vnd.psfs\\": { - source: \\"iana\\" + "application/vnd.psfs": { + source: "iana" }, - \\"application/vnd.publishare-delta-tree\\": { - source: \\"iana\\", - extensions: [\\"qps\\"] + "application/vnd.publishare-delta-tree": { + source: "iana", + extensions: ["qps"] }, - \\"application/vnd.pvi.ptid1\\": { - source: \\"iana\\", - extensions: [\\"ptid\\"] + "application/vnd.pvi.ptid1": { + source: "iana", + extensions: ["ptid"] }, - \\"application/vnd.pwg-multiplexed\\": { - source: \\"iana\\" + "application/vnd.pwg-multiplexed": { + source: "iana" }, - \\"application/vnd.pwg-xhtml-print+xml\\": { - source: \\"iana\\", + "application/vnd.pwg-xhtml-print+xml": { + source: "iana", compressible: true }, - \\"application/vnd.qualcomm.brew-app-res\\": { - source: \\"iana\\" + "application/vnd.qualcomm.brew-app-res": { + source: "iana" }, - \\"application/vnd.quarantainenet\\": { - source: \\"iana\\" + "application/vnd.quarantainenet": { + source: "iana" }, - \\"application/vnd.quark.quarkxpress\\": { - source: \\"iana\\", - extensions: [\\"qxd\\", \\"qxt\\", \\"qwd\\", \\"qwt\\", \\"qxl\\", \\"qxb\\"] + "application/vnd.quark.quarkxpress": { + source: "iana", + extensions: ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"] }, - \\"application/vnd.quobject-quoxdocument\\": { - source: \\"iana\\" + "application/vnd.quobject-quoxdocument": { + source: "iana" }, - \\"application/vnd.radisys.moml+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.moml+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-audit+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-audit+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-audit-conf+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-audit-conf+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-audit-conn+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-audit-conn+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-audit-dialog+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-audit-dialog+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-audit-stream+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-audit-stream+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-conf+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-conf+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-dialog+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-dialog+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-dialog-base+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-dialog-base+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-dialog-fax-detect+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-dialog-fax-detect+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-dialog-fax-sendrecv+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-dialog-group+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-dialog-group+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-dialog-speech+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-dialog-speech+xml": { + source: "iana", compressible: true }, - \\"application/vnd.radisys.msml-dialog-transform+xml\\": { - source: \\"iana\\", + "application/vnd.radisys.msml-dialog-transform+xml": { + source: "iana", compressible: true }, - \\"application/vnd.rainstor.data\\": { - source: \\"iana\\" + "application/vnd.rainstor.data": { + source: "iana" }, - \\"application/vnd.rapid\\": { - source: \\"iana\\" + "application/vnd.rapid": { + source: "iana" }, - \\"application/vnd.rar\\": { - source: \\"iana\\", - extensions: [\\"rar\\"] + "application/vnd.rar": { + source: "iana", + extensions: ["rar"] }, - \\"application/vnd.realvnc.bed\\": { - source: \\"iana\\", - extensions: [\\"bed\\"] + "application/vnd.realvnc.bed": { + source: "iana", + extensions: ["bed"] }, - \\"application/vnd.recordare.musicxml\\": { - source: \\"iana\\", - extensions: [\\"mxl\\"] + "application/vnd.recordare.musicxml": { + source: "iana", + extensions: ["mxl"] }, - \\"application/vnd.recordare.musicxml+xml\\": { - source: \\"iana\\", + "application/vnd.recordare.musicxml+xml": { + source: "iana", compressible: true, - extensions: [\\"musicxml\\"] + extensions: ["musicxml"] }, - \\"application/vnd.renlearn.rlprint\\": { - source: \\"iana\\" + "application/vnd.renlearn.rlprint": { + source: "iana" }, - \\"application/vnd.resilient.logic\\": { - source: \\"iana\\" + "application/vnd.resilient.logic": { + source: "iana" }, - \\"application/vnd.restful+json\\": { - source: \\"iana\\", + "application/vnd.restful+json": { + source: "iana", compressible: true }, - \\"application/vnd.rig.cryptonote\\": { - source: \\"iana\\", - extensions: [\\"cryptonote\\"] + "application/vnd.rig.cryptonote": { + source: "iana", + extensions: ["cryptonote"] }, - \\"application/vnd.rim.cod\\": { - source: \\"apache\\", - extensions: [\\"cod\\"] + "application/vnd.rim.cod": { + source: "apache", + extensions: ["cod"] }, - \\"application/vnd.rn-realmedia\\": { - source: \\"apache\\", - extensions: [\\"rm\\"] + "application/vnd.rn-realmedia": { + source: "apache", + extensions: ["rm"] }, - \\"application/vnd.rn-realmedia-vbr\\": { - source: \\"apache\\", - extensions: [\\"rmvb\\"] + "application/vnd.rn-realmedia-vbr": { + source: "apache", + extensions: ["rmvb"] }, - \\"application/vnd.route66.link66+xml\\": { - source: \\"iana\\", + "application/vnd.route66.link66+xml": { + source: "iana", compressible: true, - extensions: [\\"link66\\"] + extensions: ["link66"] }, - \\"application/vnd.rs-274x\\": { - source: \\"iana\\" + "application/vnd.rs-274x": { + source: "iana" }, - \\"application/vnd.ruckus.download\\": { - source: \\"iana\\" + "application/vnd.ruckus.download": { + source: "iana" }, - \\"application/vnd.s3sms\\": { - source: \\"iana\\" + "application/vnd.s3sms": { + source: "iana" }, - \\"application/vnd.sailingtracker.track\\": { - source: \\"iana\\", - extensions: [\\"st\\"] + "application/vnd.sailingtracker.track": { + source: "iana", + extensions: ["st"] }, - \\"application/vnd.sar\\": { - source: \\"iana\\" + "application/vnd.sar": { + source: "iana" }, - \\"application/vnd.sbm.cid\\": { - source: \\"iana\\" + "application/vnd.sbm.cid": { + source: "iana" }, - \\"application/vnd.sbm.mid2\\": { - source: \\"iana\\" + "application/vnd.sbm.mid2": { + source: "iana" }, - \\"application/vnd.scribus\\": { - source: \\"iana\\" + "application/vnd.scribus": { + source: "iana" }, - \\"application/vnd.sealed.3df\\": { - source: \\"iana\\" + "application/vnd.sealed.3df": { + source: "iana" }, - \\"application/vnd.sealed.csf\\": { - source: \\"iana\\" + "application/vnd.sealed.csf": { + source: "iana" }, - \\"application/vnd.sealed.doc\\": { - source: \\"iana\\" + "application/vnd.sealed.doc": { + source: "iana" }, - \\"application/vnd.sealed.eml\\": { - source: \\"iana\\" + "application/vnd.sealed.eml": { + source: "iana" }, - \\"application/vnd.sealed.mht\\": { - source: \\"iana\\" + "application/vnd.sealed.mht": { + source: "iana" }, - \\"application/vnd.sealed.net\\": { - source: \\"iana\\" + "application/vnd.sealed.net": { + source: "iana" }, - \\"application/vnd.sealed.ppt\\": { - source: \\"iana\\" + "application/vnd.sealed.ppt": { + source: "iana" }, - \\"application/vnd.sealed.tiff\\": { - source: \\"iana\\" + "application/vnd.sealed.tiff": { + source: "iana" }, - \\"application/vnd.sealed.xls\\": { - source: \\"iana\\" + "application/vnd.sealed.xls": { + source: "iana" }, - \\"application/vnd.sealedmedia.softseal.html\\": { - source: \\"iana\\" + "application/vnd.sealedmedia.softseal.html": { + source: "iana" }, - \\"application/vnd.sealedmedia.softseal.pdf\\": { - source: \\"iana\\" + "application/vnd.sealedmedia.softseal.pdf": { + source: "iana" }, - \\"application/vnd.seemail\\": { - source: \\"iana\\", - extensions: [\\"see\\"] + "application/vnd.seemail": { + source: "iana", + extensions: ["see"] }, - \\"application/vnd.seis+json\\": { - source: \\"iana\\", + "application/vnd.seis+json": { + source: "iana", compressible: true }, - \\"application/vnd.sema\\": { - source: \\"iana\\", - extensions: [\\"sema\\"] + "application/vnd.sema": { + source: "iana", + extensions: ["sema"] }, - \\"application/vnd.semd\\": { - source: \\"iana\\", - extensions: [\\"semd\\"] + "application/vnd.semd": { + source: "iana", + extensions: ["semd"] }, - \\"application/vnd.semf\\": { - source: \\"iana\\", - extensions: [\\"semf\\"] + "application/vnd.semf": { + source: "iana", + extensions: ["semf"] }, - \\"application/vnd.shade-save-file\\": { - source: \\"iana\\" + "application/vnd.shade-save-file": { + source: "iana" }, - \\"application/vnd.shana.informed.formdata\\": { - source: \\"iana\\", - extensions: [\\"ifm\\"] + "application/vnd.shana.informed.formdata": { + source: "iana", + extensions: ["ifm"] }, - \\"application/vnd.shana.informed.formtemplate\\": { - source: \\"iana\\", - extensions: [\\"itp\\"] + "application/vnd.shana.informed.formtemplate": { + source: "iana", + extensions: ["itp"] }, - \\"application/vnd.shana.informed.interchange\\": { - source: \\"iana\\", - extensions: [\\"iif\\"] + "application/vnd.shana.informed.interchange": { + source: "iana", + extensions: ["iif"] }, - \\"application/vnd.shana.informed.package\\": { - source: \\"iana\\", - extensions: [\\"ipk\\"] + "application/vnd.shana.informed.package": { + source: "iana", + extensions: ["ipk"] }, - \\"application/vnd.shootproof+json\\": { - source: \\"iana\\", + "application/vnd.shootproof+json": { + source: "iana", compressible: true }, - \\"application/vnd.shopkick+json\\": { - source: \\"iana\\", + "application/vnd.shopkick+json": { + source: "iana", compressible: true }, - \\"application/vnd.shp\\": { - source: \\"iana\\" + "application/vnd.shp": { + source: "iana" }, - \\"application/vnd.shx\\": { - source: \\"iana\\" + "application/vnd.shx": { + source: "iana" }, - \\"application/vnd.sigrok.session\\": { - source: \\"iana\\" + "application/vnd.sigrok.session": { + source: "iana" }, - \\"application/vnd.simtech-mindmapper\\": { - source: \\"iana\\", - extensions: [\\"twd\\", \\"twds\\"] + "application/vnd.simtech-mindmapper": { + source: "iana", + extensions: ["twd", "twds"] }, - \\"application/vnd.siren+json\\": { - source: \\"iana\\", + "application/vnd.siren+json": { + source: "iana", compressible: true }, - \\"application/vnd.smaf\\": { - source: \\"iana\\", - extensions: [\\"mmf\\"] + "application/vnd.smaf": { + source: "iana", + extensions: ["mmf"] }, - \\"application/vnd.smart.notebook\\": { - source: \\"iana\\" + "application/vnd.smart.notebook": { + source: "iana" }, - \\"application/vnd.smart.teacher\\": { - source: \\"iana\\", - extensions: [\\"teacher\\"] + "application/vnd.smart.teacher": { + source: "iana", + extensions: ["teacher"] }, - \\"application/vnd.snesdev-page-table\\": { - source: \\"iana\\" + "application/vnd.snesdev-page-table": { + source: "iana" }, - \\"application/vnd.software602.filler.form+xml\\": { - source: \\"iana\\", + "application/vnd.software602.filler.form+xml": { + source: "iana", compressible: true, - extensions: [\\"fo\\"] + extensions: ["fo"] }, - \\"application/vnd.software602.filler.form-xml-zip\\": { - source: \\"iana\\" + "application/vnd.software602.filler.form-xml-zip": { + source: "iana" }, - \\"application/vnd.solent.sdkm+xml\\": { - source: \\"iana\\", + "application/vnd.solent.sdkm+xml": { + source: "iana", compressible: true, - extensions: [\\"sdkm\\", \\"sdkd\\"] + extensions: ["sdkm", "sdkd"] }, - \\"application/vnd.spotfire.dxp\\": { - source: \\"iana\\", - extensions: [\\"dxp\\"] + "application/vnd.spotfire.dxp": { + source: "iana", + extensions: ["dxp"] }, - \\"application/vnd.spotfire.sfs\\": { - source: \\"iana\\", - extensions: [\\"sfs\\"] + "application/vnd.spotfire.sfs": { + source: "iana", + extensions: ["sfs"] }, - \\"application/vnd.sqlite3\\": { - source: \\"iana\\" + "application/vnd.sqlite3": { + source: "iana" }, - \\"application/vnd.sss-cod\\": { - source: \\"iana\\" + "application/vnd.sss-cod": { + source: "iana" }, - \\"application/vnd.sss-dtf\\": { - source: \\"iana\\" + "application/vnd.sss-dtf": { + source: "iana" }, - \\"application/vnd.sss-ntf\\": { - source: \\"iana\\" + "application/vnd.sss-ntf": { + source: "iana" }, - \\"application/vnd.stardivision.calc\\": { - source: \\"apache\\", - extensions: [\\"sdc\\"] + "application/vnd.stardivision.calc": { + source: "apache", + extensions: ["sdc"] }, - \\"application/vnd.stardivision.draw\\": { - source: \\"apache\\", - extensions: [\\"sda\\"] + "application/vnd.stardivision.draw": { + source: "apache", + extensions: ["sda"] }, - \\"application/vnd.stardivision.impress\\": { - source: \\"apache\\", - extensions: [\\"sdd\\"] + "application/vnd.stardivision.impress": { + source: "apache", + extensions: ["sdd"] }, - \\"application/vnd.stardivision.math\\": { - source: \\"apache\\", - extensions: [\\"smf\\"] + "application/vnd.stardivision.math": { + source: "apache", + extensions: ["smf"] }, - \\"application/vnd.stardivision.writer\\": { - source: \\"apache\\", - extensions: [\\"sdw\\", \\"vor\\"] + "application/vnd.stardivision.writer": { + source: "apache", + extensions: ["sdw", "vor"] }, - \\"application/vnd.stardivision.writer-global\\": { - source: \\"apache\\", - extensions: [\\"sgl\\"] + "application/vnd.stardivision.writer-global": { + source: "apache", + extensions: ["sgl"] }, - \\"application/vnd.stepmania.package\\": { - source: \\"iana\\", - extensions: [\\"smzip\\"] + "application/vnd.stepmania.package": { + source: "iana", + extensions: ["smzip"] }, - \\"application/vnd.stepmania.stepchart\\": { - source: \\"iana\\", - extensions: [\\"sm\\"] + "application/vnd.stepmania.stepchart": { + source: "iana", + extensions: ["sm"] }, - \\"application/vnd.street-stream\\": { - source: \\"iana\\" + "application/vnd.street-stream": { + source: "iana" }, - \\"application/vnd.sun.wadl+xml\\": { - source: \\"iana\\", + "application/vnd.sun.wadl+xml": { + source: "iana", compressible: true, - extensions: [\\"wadl\\"] + extensions: ["wadl"] }, - \\"application/vnd.sun.xml.calc\\": { - source: \\"apache\\", - extensions: [\\"sxc\\"] + "application/vnd.sun.xml.calc": { + source: "apache", + extensions: ["sxc"] }, - \\"application/vnd.sun.xml.calc.template\\": { - source: \\"apache\\", - extensions: [\\"stc\\"] + "application/vnd.sun.xml.calc.template": { + source: "apache", + extensions: ["stc"] }, - \\"application/vnd.sun.xml.draw\\": { - source: \\"apache\\", - extensions: [\\"sxd\\"] + "application/vnd.sun.xml.draw": { + source: "apache", + extensions: ["sxd"] }, - \\"application/vnd.sun.xml.draw.template\\": { - source: \\"apache\\", - extensions: [\\"std\\"] + "application/vnd.sun.xml.draw.template": { + source: "apache", + extensions: ["std"] }, - \\"application/vnd.sun.xml.impress\\": { - source: \\"apache\\", - extensions: [\\"sxi\\"] + "application/vnd.sun.xml.impress": { + source: "apache", + extensions: ["sxi"] }, - \\"application/vnd.sun.xml.impress.template\\": { - source: \\"apache\\", - extensions: [\\"sti\\"] + "application/vnd.sun.xml.impress.template": { + source: "apache", + extensions: ["sti"] }, - \\"application/vnd.sun.xml.math\\": { - source: \\"apache\\", - extensions: [\\"sxm\\"] + "application/vnd.sun.xml.math": { + source: "apache", + extensions: ["sxm"] }, - \\"application/vnd.sun.xml.writer\\": { - source: \\"apache\\", - extensions: [\\"sxw\\"] + "application/vnd.sun.xml.writer": { + source: "apache", + extensions: ["sxw"] }, - \\"application/vnd.sun.xml.writer.global\\": { - source: \\"apache\\", - extensions: [\\"sxg\\"] + "application/vnd.sun.xml.writer.global": { + source: "apache", + extensions: ["sxg"] }, - \\"application/vnd.sun.xml.writer.template\\": { - source: \\"apache\\", - extensions: [\\"stw\\"] + "application/vnd.sun.xml.writer.template": { + source: "apache", + extensions: ["stw"] }, - \\"application/vnd.sus-calendar\\": { - source: \\"iana\\", - extensions: [\\"sus\\", \\"susp\\"] + "application/vnd.sus-calendar": { + source: "iana", + extensions: ["sus", "susp"] }, - \\"application/vnd.svd\\": { - source: \\"iana\\", - extensions: [\\"svd\\"] + "application/vnd.svd": { + source: "iana", + extensions: ["svd"] }, - \\"application/vnd.swiftview-ics\\": { - source: \\"iana\\" + "application/vnd.swiftview-ics": { + source: "iana" }, - \\"application/vnd.sycle+xml\\": { - source: \\"iana\\", + "application/vnd.sycle+xml": { + source: "iana", compressible: true }, - \\"application/vnd.syft+json\\": { - source: \\"iana\\", + "application/vnd.syft+json": { + source: "iana", compressible: true }, - \\"application/vnd.symbian.install\\": { - source: \\"apache\\", - extensions: [\\"sis\\", \\"sisx\\"] + "application/vnd.symbian.install": { + source: "apache", + extensions: ["sis", "sisx"] }, - \\"application/vnd.syncml+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/vnd.syncml+xml": { + source: "iana", + charset: "UTF-8", compressible: true, - extensions: [\\"xsm\\"] + extensions: ["xsm"] }, - \\"application/vnd.syncml.dm+wbxml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", - extensions: [\\"bdm\\"] + "application/vnd.syncml.dm+wbxml": { + source: "iana", + charset: "UTF-8", + extensions: ["bdm"] }, - \\"application/vnd.syncml.dm+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/vnd.syncml.dm+xml": { + source: "iana", + charset: "UTF-8", compressible: true, - extensions: [\\"xdm\\"] + extensions: ["xdm"] }, - \\"application/vnd.syncml.dm.notification\\": { - source: \\"iana\\" + "application/vnd.syncml.dm.notification": { + source: "iana" }, - \\"application/vnd.syncml.dmddf+wbxml\\": { - source: \\"iana\\" + "application/vnd.syncml.dmddf+wbxml": { + source: "iana" }, - \\"application/vnd.syncml.dmddf+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/vnd.syncml.dmddf+xml": { + source: "iana", + charset: "UTF-8", compressible: true, - extensions: [\\"ddf\\"] + extensions: ["ddf"] }, - \\"application/vnd.syncml.dmtnds+wbxml\\": { - source: \\"iana\\" + "application/vnd.syncml.dmtnds+wbxml": { + source: "iana" }, - \\"application/vnd.syncml.dmtnds+xml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "application/vnd.syncml.dmtnds+xml": { + source: "iana", + charset: "UTF-8", compressible: true }, - \\"application/vnd.syncml.ds.notification\\": { - source: \\"iana\\" + "application/vnd.syncml.ds.notification": { + source: "iana" }, - \\"application/vnd.tableschema+json\\": { - source: \\"iana\\", + "application/vnd.tableschema+json": { + source: "iana", compressible: true }, - \\"application/vnd.tao.intent-module-archive\\": { - source: \\"iana\\", - extensions: [\\"tao\\"] + "application/vnd.tao.intent-module-archive": { + source: "iana", + extensions: ["tao"] }, - \\"application/vnd.tcpdump.pcap\\": { - source: \\"iana\\", - extensions: [\\"pcap\\", \\"cap\\", \\"dmp\\"] + "application/vnd.tcpdump.pcap": { + source: "iana", + extensions: ["pcap", "cap", "dmp"] }, - \\"application/vnd.think-cell.ppttc+json\\": { - source: \\"iana\\", + "application/vnd.think-cell.ppttc+json": { + source: "iana", compressible: true }, - \\"application/vnd.tmd.mediaflex.api+xml\\": { - source: \\"iana\\", + "application/vnd.tmd.mediaflex.api+xml": { + source: "iana", compressible: true }, - \\"application/vnd.tml\\": { - source: \\"iana\\" + "application/vnd.tml": { + source: "iana" }, - \\"application/vnd.tmobile-livetv\\": { - source: \\"iana\\", - extensions: [\\"tmo\\"] + "application/vnd.tmobile-livetv": { + source: "iana", + extensions: ["tmo"] }, - \\"application/vnd.tri.onesource\\": { - source: \\"iana\\" + "application/vnd.tri.onesource": { + source: "iana" }, - \\"application/vnd.trid.tpt\\": { - source: \\"iana\\", - extensions: [\\"tpt\\"] + "application/vnd.trid.tpt": { + source: "iana", + extensions: ["tpt"] }, - \\"application/vnd.triscape.mxs\\": { - source: \\"iana\\", - extensions: [\\"mxs\\"] + "application/vnd.triscape.mxs": { + source: "iana", + extensions: ["mxs"] }, - \\"application/vnd.trueapp\\": { - source: \\"iana\\", - extensions: [\\"tra\\"] + "application/vnd.trueapp": { + source: "iana", + extensions: ["tra"] }, - \\"application/vnd.truedoc\\": { - source: \\"iana\\" + "application/vnd.truedoc": { + source: "iana" }, - \\"application/vnd.ubisoft.webplayer\\": { - source: \\"iana\\" + "application/vnd.ubisoft.webplayer": { + source: "iana" }, - \\"application/vnd.ufdl\\": { - source: \\"iana\\", - extensions: [\\"ufd\\", \\"ufdl\\"] + "application/vnd.ufdl": { + source: "iana", + extensions: ["ufd", "ufdl"] }, - \\"application/vnd.uiq.theme\\": { - source: \\"iana\\", - extensions: [\\"utz\\"] + "application/vnd.uiq.theme": { + source: "iana", + extensions: ["utz"] }, - \\"application/vnd.umajin\\": { - source: \\"iana\\", - extensions: [\\"umj\\"] + "application/vnd.umajin": { + source: "iana", + extensions: ["umj"] }, - \\"application/vnd.unity\\": { - source: \\"iana\\", - extensions: [\\"unityweb\\"] + "application/vnd.unity": { + source: "iana", + extensions: ["unityweb"] }, - \\"application/vnd.uoml+xml\\": { - source: \\"iana\\", + "application/vnd.uoml+xml": { + source: "iana", compressible: true, - extensions: [\\"uoml\\"] + extensions: ["uoml"] }, - \\"application/vnd.uplanet.alert\\": { - source: \\"iana\\" + "application/vnd.uplanet.alert": { + source: "iana" }, - \\"application/vnd.uplanet.alert-wbxml\\": { - source: \\"iana\\" + "application/vnd.uplanet.alert-wbxml": { + source: "iana" }, - \\"application/vnd.uplanet.bearer-choice\\": { - source: \\"iana\\" + "application/vnd.uplanet.bearer-choice": { + source: "iana" }, - \\"application/vnd.uplanet.bearer-choice-wbxml\\": { - source: \\"iana\\" + "application/vnd.uplanet.bearer-choice-wbxml": { + source: "iana" }, - \\"application/vnd.uplanet.cacheop\\": { - source: \\"iana\\" + "application/vnd.uplanet.cacheop": { + source: "iana" }, - \\"application/vnd.uplanet.cacheop-wbxml\\": { - source: \\"iana\\" + "application/vnd.uplanet.cacheop-wbxml": { + source: "iana" }, - \\"application/vnd.uplanet.channel\\": { - source: \\"iana\\" + "application/vnd.uplanet.channel": { + source: "iana" }, - \\"application/vnd.uplanet.channel-wbxml\\": { - source: \\"iana\\" + "application/vnd.uplanet.channel-wbxml": { + source: "iana" }, - \\"application/vnd.uplanet.list\\": { - source: \\"iana\\" + "application/vnd.uplanet.list": { + source: "iana" }, - \\"application/vnd.uplanet.list-wbxml\\": { - source: \\"iana\\" + "application/vnd.uplanet.list-wbxml": { + source: "iana" }, - \\"application/vnd.uplanet.listcmd\\": { - source: \\"iana\\" + "application/vnd.uplanet.listcmd": { + source: "iana" }, - \\"application/vnd.uplanet.listcmd-wbxml\\": { - source: \\"iana\\" + "application/vnd.uplanet.listcmd-wbxml": { + source: "iana" }, - \\"application/vnd.uplanet.signal\\": { - source: \\"iana\\" + "application/vnd.uplanet.signal": { + source: "iana" }, - \\"application/vnd.uri-map\\": { - source: \\"iana\\" + "application/vnd.uri-map": { + source: "iana" }, - \\"application/vnd.valve.source.material\\": { - source: \\"iana\\" + "application/vnd.valve.source.material": { + source: "iana" }, - \\"application/vnd.vcx\\": { - source: \\"iana\\", - extensions: [\\"vcx\\"] + "application/vnd.vcx": { + source: "iana", + extensions: ["vcx"] }, - \\"application/vnd.vd-study\\": { - source: \\"iana\\" + "application/vnd.vd-study": { + source: "iana" }, - \\"application/vnd.vectorworks\\": { - source: \\"iana\\" + "application/vnd.vectorworks": { + source: "iana" }, - \\"application/vnd.vel+json\\": { - source: \\"iana\\", + "application/vnd.vel+json": { + source: "iana", compressible: true }, - \\"application/vnd.verimatrix.vcas\\": { - source: \\"iana\\" + "application/vnd.verimatrix.vcas": { + source: "iana" }, - \\"application/vnd.veritone.aion+json\\": { - source: \\"iana\\", + "application/vnd.veritone.aion+json": { + source: "iana", compressible: true }, - \\"application/vnd.veryant.thin\\": { - source: \\"iana\\" + "application/vnd.veryant.thin": { + source: "iana" }, - \\"application/vnd.ves.encrypted\\": { - source: \\"iana\\" + "application/vnd.ves.encrypted": { + source: "iana" }, - \\"application/vnd.vidsoft.vidconference\\": { - source: \\"iana\\" + "application/vnd.vidsoft.vidconference": { + source: "iana" }, - \\"application/vnd.visio\\": { - source: \\"iana\\", - extensions: [\\"vsd\\", \\"vst\\", \\"vss\\", \\"vsw\\"] + "application/vnd.visio": { + source: "iana", + extensions: ["vsd", "vst", "vss", "vsw"] }, - \\"application/vnd.visionary\\": { - source: \\"iana\\", - extensions: [\\"vis\\"] + "application/vnd.visionary": { + source: "iana", + extensions: ["vis"] }, - \\"application/vnd.vividence.scriptfile\\": { - source: \\"iana\\" + "application/vnd.vividence.scriptfile": { + source: "iana" }, - \\"application/vnd.vsf\\": { - source: \\"iana\\", - extensions: [\\"vsf\\"] + "application/vnd.vsf": { + source: "iana", + extensions: ["vsf"] }, - \\"application/vnd.wap.sic\\": { - source: \\"iana\\" + "application/vnd.wap.sic": { + source: "iana" }, - \\"application/vnd.wap.slc\\": { - source: \\"iana\\" + "application/vnd.wap.slc": { + source: "iana" }, - \\"application/vnd.wap.wbxml\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", - extensions: [\\"wbxml\\"] + "application/vnd.wap.wbxml": { + source: "iana", + charset: "UTF-8", + extensions: ["wbxml"] }, - \\"application/vnd.wap.wmlc\\": { - source: \\"iana\\", - extensions: [\\"wmlc\\"] + "application/vnd.wap.wmlc": { + source: "iana", + extensions: ["wmlc"] }, - \\"application/vnd.wap.wmlscriptc\\": { - source: \\"iana\\", - extensions: [\\"wmlsc\\"] + "application/vnd.wap.wmlscriptc": { + source: "iana", + extensions: ["wmlsc"] }, - \\"application/vnd.webturbo\\": { - source: \\"iana\\", - extensions: [\\"wtb\\"] + "application/vnd.webturbo": { + source: "iana", + extensions: ["wtb"] }, - \\"application/vnd.wfa.dpp\\": { - source: \\"iana\\" + "application/vnd.wfa.dpp": { + source: "iana" }, - \\"application/vnd.wfa.p2p\\": { - source: \\"iana\\" + "application/vnd.wfa.p2p": { + source: "iana" }, - \\"application/vnd.wfa.wsc\\": { - source: \\"iana\\" + "application/vnd.wfa.wsc": { + source: "iana" }, - \\"application/vnd.windows.devicepairing\\": { - source: \\"iana\\" + "application/vnd.windows.devicepairing": { + source: "iana" }, - \\"application/vnd.wmc\\": { - source: \\"iana\\" + "application/vnd.wmc": { + source: "iana" }, - \\"application/vnd.wmf.bootstrap\\": { - source: \\"iana\\" + "application/vnd.wmf.bootstrap": { + source: "iana" }, - \\"application/vnd.wolfram.mathematica\\": { - source: \\"iana\\" + "application/vnd.wolfram.mathematica": { + source: "iana" }, - \\"application/vnd.wolfram.mathematica.package\\": { - source: \\"iana\\" + "application/vnd.wolfram.mathematica.package": { + source: "iana" }, - \\"application/vnd.wolfram.player\\": { - source: \\"iana\\", - extensions: [\\"nbp\\"] + "application/vnd.wolfram.player": { + source: "iana", + extensions: ["nbp"] }, - \\"application/vnd.wordperfect\\": { - source: \\"iana\\", - extensions: [\\"wpd\\"] + "application/vnd.wordperfect": { + source: "iana", + extensions: ["wpd"] }, - \\"application/vnd.wqd\\": { - source: \\"iana\\", - extensions: [\\"wqd\\"] + "application/vnd.wqd": { + source: "iana", + extensions: ["wqd"] }, - \\"application/vnd.wrq-hp3000-labelled\\": { - source: \\"iana\\" + "application/vnd.wrq-hp3000-labelled": { + source: "iana" }, - \\"application/vnd.wt.stf\\": { - source: \\"iana\\", - extensions: [\\"stf\\"] + "application/vnd.wt.stf": { + source: "iana", + extensions: ["stf"] }, - \\"application/vnd.wv.csp+wbxml\\": { - source: \\"iana\\" + "application/vnd.wv.csp+wbxml": { + source: "iana" }, - \\"application/vnd.wv.csp+xml\\": { - source: \\"iana\\", + "application/vnd.wv.csp+xml": { + source: "iana", compressible: true }, - \\"application/vnd.wv.ssp+xml\\": { - source: \\"iana\\", + "application/vnd.wv.ssp+xml": { + source: "iana", compressible: true }, - \\"application/vnd.xacml+json\\": { - source: \\"iana\\", + "application/vnd.xacml+json": { + source: "iana", compressible: true }, - \\"application/vnd.xara\\": { - source: \\"iana\\", - extensions: [\\"xar\\"] + "application/vnd.xara": { + source: "iana", + extensions: ["xar"] }, - \\"application/vnd.xfdl\\": { - source: \\"iana\\", - extensions: [\\"xfdl\\"] + "application/vnd.xfdl": { + source: "iana", + extensions: ["xfdl"] }, - \\"application/vnd.xfdl.webform\\": { - source: \\"iana\\" + "application/vnd.xfdl.webform": { + source: "iana" }, - \\"application/vnd.xmi+xml\\": { - source: \\"iana\\", + "application/vnd.xmi+xml": { + source: "iana", compressible: true }, - \\"application/vnd.xmpie.cpkg\\": { - source: \\"iana\\" + "application/vnd.xmpie.cpkg": { + source: "iana" }, - \\"application/vnd.xmpie.dpkg\\": { - source: \\"iana\\" + "application/vnd.xmpie.dpkg": { + source: "iana" }, - \\"application/vnd.xmpie.plan\\": { - source: \\"iana\\" + "application/vnd.xmpie.plan": { + source: "iana" }, - \\"application/vnd.xmpie.ppkg\\": { - source: \\"iana\\" + "application/vnd.xmpie.ppkg": { + source: "iana" }, - \\"application/vnd.xmpie.xlim\\": { - source: \\"iana\\" + "application/vnd.xmpie.xlim": { + source: "iana" }, - \\"application/vnd.yamaha.hv-dic\\": { - source: \\"iana\\", - extensions: [\\"hvd\\"] + "application/vnd.yamaha.hv-dic": { + source: "iana", + extensions: ["hvd"] }, - \\"application/vnd.yamaha.hv-script\\": { - source: \\"iana\\", - extensions: [\\"hvs\\"] + "application/vnd.yamaha.hv-script": { + source: "iana", + extensions: ["hvs"] }, - \\"application/vnd.yamaha.hv-voice\\": { - source: \\"iana\\", - extensions: [\\"hvp\\"] + "application/vnd.yamaha.hv-voice": { + source: "iana", + extensions: ["hvp"] }, - \\"application/vnd.yamaha.openscoreformat\\": { - source: \\"iana\\", - extensions: [\\"osf\\"] + "application/vnd.yamaha.openscoreformat": { + source: "iana", + extensions: ["osf"] }, - \\"application/vnd.yamaha.openscoreformat.osfpvg+xml\\": { - source: \\"iana\\", + "application/vnd.yamaha.openscoreformat.osfpvg+xml": { + source: "iana", compressible: true, - extensions: [\\"osfpvg\\"] + extensions: ["osfpvg"] }, - \\"application/vnd.yamaha.remote-setup\\": { - source: \\"iana\\" + "application/vnd.yamaha.remote-setup": { + source: "iana" }, - \\"application/vnd.yamaha.smaf-audio\\": { - source: \\"iana\\", - extensions: [\\"saf\\"] + "application/vnd.yamaha.smaf-audio": { + source: "iana", + extensions: ["saf"] }, - \\"application/vnd.yamaha.smaf-phrase\\": { - source: \\"iana\\", - extensions: [\\"spf\\"] + "application/vnd.yamaha.smaf-phrase": { + source: "iana", + extensions: ["spf"] }, - \\"application/vnd.yamaha.through-ngn\\": { - source: \\"iana\\" + "application/vnd.yamaha.through-ngn": { + source: "iana" }, - \\"application/vnd.yamaha.tunnel-udpencap\\": { - source: \\"iana\\" + "application/vnd.yamaha.tunnel-udpencap": { + source: "iana" }, - \\"application/vnd.yaoweme\\": { - source: \\"iana\\" + "application/vnd.yaoweme": { + source: "iana" }, - \\"application/vnd.yellowriver-custom-menu\\": { - source: \\"iana\\", - extensions: [\\"cmp\\"] + "application/vnd.yellowriver-custom-menu": { + source: "iana", + extensions: ["cmp"] }, - \\"application/vnd.youtube.yt\\": { - source: \\"iana\\" + "application/vnd.youtube.yt": { + source: "iana" }, - \\"application/vnd.zul\\": { - source: \\"iana\\", - extensions: [\\"zir\\", \\"zirz\\"] + "application/vnd.zul": { + source: "iana", + extensions: ["zir", "zirz"] }, - \\"application/vnd.zzazz.deck+xml\\": { - source: \\"iana\\", + "application/vnd.zzazz.deck+xml": { + source: "iana", compressible: true, - extensions: [\\"zaz\\"] + extensions: ["zaz"] }, - \\"application/voicexml+xml\\": { - source: \\"iana\\", + "application/voicexml+xml": { + source: "iana", compressible: true, - extensions: [\\"vxml\\"] + extensions: ["vxml"] }, - \\"application/voucher-cms+json\\": { - source: \\"iana\\", + "application/voucher-cms+json": { + source: "iana", compressible: true }, - \\"application/vq-rtcpxr\\": { - source: \\"iana\\" + "application/vq-rtcpxr": { + source: "iana" }, - \\"application/wasm\\": { - source: \\"iana\\", + "application/wasm": { + source: "iana", compressible: true, - extensions: [\\"wasm\\"] + extensions: ["wasm"] }, - \\"application/watcherinfo+xml\\": { - source: \\"iana\\", + "application/watcherinfo+xml": { + source: "iana", compressible: true, - extensions: [\\"wif\\"] + extensions: ["wif"] }, - \\"application/webpush-options+json\\": { - source: \\"iana\\", + "application/webpush-options+json": { + source: "iana", compressible: true }, - \\"application/whoispp-query\\": { - source: \\"iana\\" + "application/whoispp-query": { + source: "iana" }, - \\"application/whoispp-response\\": { - source: \\"iana\\" + "application/whoispp-response": { + source: "iana" }, - \\"application/widget\\": { - source: \\"iana\\", - extensions: [\\"wgt\\"] + "application/widget": { + source: "iana", + extensions: ["wgt"] }, - \\"application/winhlp\\": { - source: \\"apache\\", - extensions: [\\"hlp\\"] + "application/winhlp": { + source: "apache", + extensions: ["hlp"] }, - \\"application/wita\\": { - source: \\"iana\\" + "application/wita": { + source: "iana" }, - \\"application/wordperfect5.1\\": { - source: \\"iana\\" + "application/wordperfect5.1": { + source: "iana" }, - \\"application/wsdl+xml\\": { - source: \\"iana\\", + "application/wsdl+xml": { + source: "iana", compressible: true, - extensions: [\\"wsdl\\"] + extensions: ["wsdl"] }, - \\"application/wspolicy+xml\\": { - source: \\"iana\\", + "application/wspolicy+xml": { + source: "iana", compressible: true, - extensions: [\\"wspolicy\\"] + extensions: ["wspolicy"] }, - \\"application/x-7z-compressed\\": { - source: \\"apache\\", + "application/x-7z-compressed": { + source: "apache", compressible: false, - extensions: [\\"7z\\"] + extensions: ["7z"] }, - \\"application/x-abiword\\": { - source: \\"apache\\", - extensions: [\\"abw\\"] + "application/x-abiword": { + source: "apache", + extensions: ["abw"] }, - \\"application/x-ace-compressed\\": { - source: \\"apache\\", - extensions: [\\"ace\\"] + "application/x-ace-compressed": { + source: "apache", + extensions: ["ace"] }, - \\"application/x-amf\\": { - source: \\"apache\\" + "application/x-amf": { + source: "apache" }, - \\"application/x-apple-diskimage\\": { - source: \\"apache\\", - extensions: [\\"dmg\\"] + "application/x-apple-diskimage": { + source: "apache", + extensions: ["dmg"] }, - \\"application/x-arj\\": { + "application/x-arj": { compressible: false, - extensions: [\\"arj\\"] + extensions: ["arj"] }, - \\"application/x-authorware-bin\\": { - source: \\"apache\\", - extensions: [\\"aab\\", \\"x32\\", \\"u32\\", \\"vox\\"] + "application/x-authorware-bin": { + source: "apache", + extensions: ["aab", "x32", "u32", "vox"] }, - \\"application/x-authorware-map\\": { - source: \\"apache\\", - extensions: [\\"aam\\"] + "application/x-authorware-map": { + source: "apache", + extensions: ["aam"] }, - \\"application/x-authorware-seg\\": { - source: \\"apache\\", - extensions: [\\"aas\\"] + "application/x-authorware-seg": { + source: "apache", + extensions: ["aas"] }, - \\"application/x-bcpio\\": { - source: \\"apache\\", - extensions: [\\"bcpio\\"] + "application/x-bcpio": { + source: "apache", + extensions: ["bcpio"] }, - \\"application/x-bdoc\\": { + "application/x-bdoc": { compressible: false, - extensions: [\\"bdoc\\"] + extensions: ["bdoc"] }, - \\"application/x-bittorrent\\": { - source: \\"apache\\", - extensions: [\\"torrent\\"] + "application/x-bittorrent": { + source: "apache", + extensions: ["torrent"] }, - \\"application/x-blorb\\": { - source: \\"apache\\", - extensions: [\\"blb\\", \\"blorb\\"] + "application/x-blorb": { + source: "apache", + extensions: ["blb", "blorb"] }, - \\"application/x-bzip\\": { - source: \\"apache\\", + "application/x-bzip": { + source: "apache", compressible: false, - extensions: [\\"bz\\"] + extensions: ["bz"] }, - \\"application/x-bzip2\\": { - source: \\"apache\\", + "application/x-bzip2": { + source: "apache", compressible: false, - extensions: [\\"bz2\\", \\"boz\\"] + extensions: ["bz2", "boz"] }, - \\"application/x-cbr\\": { - source: \\"apache\\", - extensions: [\\"cbr\\", \\"cba\\", \\"cbt\\", \\"cbz\\", \\"cb7\\"] + "application/x-cbr": { + source: "apache", + extensions: ["cbr", "cba", "cbt", "cbz", "cb7"] }, - \\"application/x-cdlink\\": { - source: \\"apache\\", - extensions: [\\"vcd\\"] + "application/x-cdlink": { + source: "apache", + extensions: ["vcd"] }, - \\"application/x-cfs-compressed\\": { - source: \\"apache\\", - extensions: [\\"cfs\\"] + "application/x-cfs-compressed": { + source: "apache", + extensions: ["cfs"] }, - \\"application/x-chat\\": { - source: \\"apache\\", - extensions: [\\"chat\\"] + "application/x-chat": { + source: "apache", + extensions: ["chat"] }, - \\"application/x-chess-pgn\\": { - source: \\"apache\\", - extensions: [\\"pgn\\"] + "application/x-chess-pgn": { + source: "apache", + extensions: ["pgn"] }, - \\"application/x-chrome-extension\\": { - extensions: [\\"crx\\"] + "application/x-chrome-extension": { + extensions: ["crx"] }, - \\"application/x-cocoa\\": { - source: \\"nginx\\", - extensions: [\\"cco\\"] + "application/x-cocoa": { + source: "nginx", + extensions: ["cco"] }, - \\"application/x-compress\\": { - source: \\"apache\\" + "application/x-compress": { + source: "apache" }, - \\"application/x-conference\\": { - source: \\"apache\\", - extensions: [\\"nsc\\"] + "application/x-conference": { + source: "apache", + extensions: ["nsc"] }, - \\"application/x-cpio\\": { - source: \\"apache\\", - extensions: [\\"cpio\\"] + "application/x-cpio": { + source: "apache", + extensions: ["cpio"] }, - \\"application/x-csh\\": { - source: \\"apache\\", - extensions: [\\"csh\\"] + "application/x-csh": { + source: "apache", + extensions: ["csh"] }, - \\"application/x-deb\\": { + "application/x-deb": { compressible: false }, - \\"application/x-debian-package\\": { - source: \\"apache\\", - extensions: [\\"deb\\", \\"udeb\\"] + "application/x-debian-package": { + source: "apache", + extensions: ["deb", "udeb"] }, - \\"application/x-dgc-compressed\\": { - source: \\"apache\\", - extensions: [\\"dgc\\"] + "application/x-dgc-compressed": { + source: "apache", + extensions: ["dgc"] }, - \\"application/x-director\\": { - source: \\"apache\\", - extensions: [\\"dir\\", \\"dcr\\", \\"dxr\\", \\"cst\\", \\"cct\\", \\"cxt\\", \\"w3d\\", \\"fgd\\", \\"swa\\"] + "application/x-director": { + source: "apache", + extensions: ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"] }, - \\"application/x-doom\\": { - source: \\"apache\\", - extensions: [\\"wad\\"] + "application/x-doom": { + source: "apache", + extensions: ["wad"] }, - \\"application/x-dtbncx+xml\\": { - source: \\"apache\\", + "application/x-dtbncx+xml": { + source: "apache", compressible: true, - extensions: [\\"ncx\\"] + extensions: ["ncx"] }, - \\"application/x-dtbook+xml\\": { - source: \\"apache\\", + "application/x-dtbook+xml": { + source: "apache", compressible: true, - extensions: [\\"dtb\\"] + extensions: ["dtb"] }, - \\"application/x-dtbresource+xml\\": { - source: \\"apache\\", + "application/x-dtbresource+xml": { + source: "apache", compressible: true, - extensions: [\\"res\\"] + extensions: ["res"] }, - \\"application/x-dvi\\": { - source: \\"apache\\", + "application/x-dvi": { + source: "apache", compressible: false, - extensions: [\\"dvi\\"] + extensions: ["dvi"] }, - \\"application/x-envoy\\": { - source: \\"apache\\", - extensions: [\\"evy\\"] + "application/x-envoy": { + source: "apache", + extensions: ["evy"] }, - \\"application/x-eva\\": { - source: \\"apache\\", - extensions: [\\"eva\\"] + "application/x-eva": { + source: "apache", + extensions: ["eva"] }, - \\"application/x-font-bdf\\": { - source: \\"apache\\", - extensions: [\\"bdf\\"] + "application/x-font-bdf": { + source: "apache", + extensions: ["bdf"] }, - \\"application/x-font-dos\\": { - source: \\"apache\\" + "application/x-font-dos": { + source: "apache" }, - \\"application/x-font-framemaker\\": { - source: \\"apache\\" + "application/x-font-framemaker": { + source: "apache" }, - \\"application/x-font-ghostscript\\": { - source: \\"apache\\", - extensions: [\\"gsf\\"] + "application/x-font-ghostscript": { + source: "apache", + extensions: ["gsf"] }, - \\"application/x-font-libgrx\\": { - source: \\"apache\\" + "application/x-font-libgrx": { + source: "apache" }, - \\"application/x-font-linux-psf\\": { - source: \\"apache\\", - extensions: [\\"psf\\"] + "application/x-font-linux-psf": { + source: "apache", + extensions: ["psf"] }, - \\"application/x-font-pcf\\": { - source: \\"apache\\", - extensions: [\\"pcf\\"] + "application/x-font-pcf": { + source: "apache", + extensions: ["pcf"] }, - \\"application/x-font-snf\\": { - source: \\"apache\\", - extensions: [\\"snf\\"] + "application/x-font-snf": { + source: "apache", + extensions: ["snf"] }, - \\"application/x-font-speedo\\": { - source: \\"apache\\" + "application/x-font-speedo": { + source: "apache" }, - \\"application/x-font-sunos-news\\": { - source: \\"apache\\" + "application/x-font-sunos-news": { + source: "apache" }, - \\"application/x-font-type1\\": { - source: \\"apache\\", - extensions: [\\"pfa\\", \\"pfb\\", \\"pfm\\", \\"afm\\"] + "application/x-font-type1": { + source: "apache", + extensions: ["pfa", "pfb", "pfm", "afm"] }, - \\"application/x-font-vfont\\": { - source: \\"apache\\" + "application/x-font-vfont": { + source: "apache" }, - \\"application/x-freearc\\": { - source: \\"apache\\", - extensions: [\\"arc\\"] + "application/x-freearc": { + source: "apache", + extensions: ["arc"] }, - \\"application/x-futuresplash\\": { - source: \\"apache\\", - extensions: [\\"spl\\"] + "application/x-futuresplash": { + source: "apache", + extensions: ["spl"] }, - \\"application/x-gca-compressed\\": { - source: \\"apache\\", - extensions: [\\"gca\\"] + "application/x-gca-compressed": { + source: "apache", + extensions: ["gca"] }, - \\"application/x-glulx\\": { - source: \\"apache\\", - extensions: [\\"ulx\\"] + "application/x-glulx": { + source: "apache", + extensions: ["ulx"] }, - \\"application/x-gnumeric\\": { - source: \\"apache\\", - extensions: [\\"gnumeric\\"] + "application/x-gnumeric": { + source: "apache", + extensions: ["gnumeric"] }, - \\"application/x-gramps-xml\\": { - source: \\"apache\\", - extensions: [\\"gramps\\"] + "application/x-gramps-xml": { + source: "apache", + extensions: ["gramps"] }, - \\"application/x-gtar\\": { - source: \\"apache\\", - extensions: [\\"gtar\\"] + "application/x-gtar": { + source: "apache", + extensions: ["gtar"] }, - \\"application/x-gzip\\": { - source: \\"apache\\" + "application/x-gzip": { + source: "apache" }, - \\"application/x-hdf\\": { - source: \\"apache\\", - extensions: [\\"hdf\\"] + "application/x-hdf": { + source: "apache", + extensions: ["hdf"] }, - \\"application/x-httpd-php\\": { + "application/x-httpd-php": { compressible: true, - extensions: [\\"php\\"] + extensions: ["php"] }, - \\"application/x-install-instructions\\": { - source: \\"apache\\", - extensions: [\\"install\\"] + "application/x-install-instructions": { + source: "apache", + extensions: ["install"] }, - \\"application/x-iso9660-image\\": { - source: \\"apache\\", - extensions: [\\"iso\\"] + "application/x-iso9660-image": { + source: "apache", + extensions: ["iso"] }, - \\"application/x-iwork-keynote-sffkey\\": { - extensions: [\\"key\\"] + "application/x-iwork-keynote-sffkey": { + extensions: ["key"] }, - \\"application/x-iwork-numbers-sffnumbers\\": { - extensions: [\\"numbers\\"] + "application/x-iwork-numbers-sffnumbers": { + extensions: ["numbers"] }, - \\"application/x-iwork-pages-sffpages\\": { - extensions: [\\"pages\\"] + "application/x-iwork-pages-sffpages": { + extensions: ["pages"] }, - \\"application/x-java-archive-diff\\": { - source: \\"nginx\\", - extensions: [\\"jardiff\\"] + "application/x-java-archive-diff": { + source: "nginx", + extensions: ["jardiff"] }, - \\"application/x-java-jnlp-file\\": { - source: \\"apache\\", + "application/x-java-jnlp-file": { + source: "apache", compressible: false, - extensions: [\\"jnlp\\"] + extensions: ["jnlp"] }, - \\"application/x-javascript\\": { + "application/x-javascript": { compressible: true }, - \\"application/x-keepass2\\": { - extensions: [\\"kdbx\\"] + "application/x-keepass2": { + extensions: ["kdbx"] }, - \\"application/x-latex\\": { - source: \\"apache\\", + "application/x-latex": { + source: "apache", compressible: false, - extensions: [\\"latex\\"] + extensions: ["latex"] }, - \\"application/x-lua-bytecode\\": { - extensions: [\\"luac\\"] + "application/x-lua-bytecode": { + extensions: ["luac"] }, - \\"application/x-lzh-compressed\\": { - source: \\"apache\\", - extensions: [\\"lzh\\", \\"lha\\"] + "application/x-lzh-compressed": { + source: "apache", + extensions: ["lzh", "lha"] }, - \\"application/x-makeself\\": { - source: \\"nginx\\", - extensions: [\\"run\\"] + "application/x-makeself": { + source: "nginx", + extensions: ["run"] }, - \\"application/x-mie\\": { - source: \\"apache\\", - extensions: [\\"mie\\"] + "application/x-mie": { + source: "apache", + extensions: ["mie"] }, - \\"application/x-mobipocket-ebook\\": { - source: \\"apache\\", - extensions: [\\"prc\\", \\"mobi\\"] + "application/x-mobipocket-ebook": { + source: "apache", + extensions: ["prc", "mobi"] }, - \\"application/x-mpegurl\\": { + "application/x-mpegurl": { compressible: false }, - \\"application/x-ms-application\\": { - source: \\"apache\\", - extensions: [\\"application\\"] + "application/x-ms-application": { + source: "apache", + extensions: ["application"] }, - \\"application/x-ms-shortcut\\": { - source: \\"apache\\", - extensions: [\\"lnk\\"] + "application/x-ms-shortcut": { + source: "apache", + extensions: ["lnk"] }, - \\"application/x-ms-wmd\\": { - source: \\"apache\\", - extensions: [\\"wmd\\"] + "application/x-ms-wmd": { + source: "apache", + extensions: ["wmd"] }, - \\"application/x-ms-wmz\\": { - source: \\"apache\\", - extensions: [\\"wmz\\"] + "application/x-ms-wmz": { + source: "apache", + extensions: ["wmz"] }, - \\"application/x-ms-xbap\\": { - source: \\"apache\\", - extensions: [\\"xbap\\"] + "application/x-ms-xbap": { + source: "apache", + extensions: ["xbap"] }, - \\"application/x-msaccess\\": { - source: \\"apache\\", - extensions: [\\"mdb\\"] + "application/x-msaccess": { + source: "apache", + extensions: ["mdb"] }, - \\"application/x-msbinder\\": { - source: \\"apache\\", - extensions: [\\"obd\\"] + "application/x-msbinder": { + source: "apache", + extensions: ["obd"] }, - \\"application/x-mscardfile\\": { - source: \\"apache\\", - extensions: [\\"crd\\"] + "application/x-mscardfile": { + source: "apache", + extensions: ["crd"] }, - \\"application/x-msclip\\": { - source: \\"apache\\", - extensions: [\\"clp\\"] + "application/x-msclip": { + source: "apache", + extensions: ["clp"] }, - \\"application/x-msdos-program\\": { - extensions: [\\"exe\\"] + "application/x-msdos-program": { + extensions: ["exe"] }, - \\"application/x-msdownload\\": { - source: \\"apache\\", - extensions: [\\"exe\\", \\"dll\\", \\"com\\", \\"bat\\", \\"msi\\"] + "application/x-msdownload": { + source: "apache", + extensions: ["exe", "dll", "com", "bat", "msi"] }, - \\"application/x-msmediaview\\": { - source: \\"apache\\", - extensions: [\\"mvb\\", \\"m13\\", \\"m14\\"] + "application/x-msmediaview": { + source: "apache", + extensions: ["mvb", "m13", "m14"] }, - \\"application/x-msmetafile\\": { - source: \\"apache\\", - extensions: [\\"wmf\\", \\"wmz\\", \\"emf\\", \\"emz\\"] + "application/x-msmetafile": { + source: "apache", + extensions: ["wmf", "wmz", "emf", "emz"] }, - \\"application/x-msmoney\\": { - source: \\"apache\\", - extensions: [\\"mny\\"] + "application/x-msmoney": { + source: "apache", + extensions: ["mny"] }, - \\"application/x-mspublisher\\": { - source: \\"apache\\", - extensions: [\\"pub\\"] + "application/x-mspublisher": { + source: "apache", + extensions: ["pub"] }, - \\"application/x-msschedule\\": { - source: \\"apache\\", - extensions: [\\"scd\\"] + "application/x-msschedule": { + source: "apache", + extensions: ["scd"] }, - \\"application/x-msterminal\\": { - source: \\"apache\\", - extensions: [\\"trm\\"] + "application/x-msterminal": { + source: "apache", + extensions: ["trm"] }, - \\"application/x-mswrite\\": { - source: \\"apache\\", - extensions: [\\"wri\\"] + "application/x-mswrite": { + source: "apache", + extensions: ["wri"] }, - \\"application/x-netcdf\\": { - source: \\"apache\\", - extensions: [\\"nc\\", \\"cdf\\"] + "application/x-netcdf": { + source: "apache", + extensions: ["nc", "cdf"] }, - \\"application/x-ns-proxy-autoconfig\\": { + "application/x-ns-proxy-autoconfig": { compressible: true, - extensions: [\\"pac\\"] + extensions: ["pac"] }, - \\"application/x-nzb\\": { - source: \\"apache\\", - extensions: [\\"nzb\\"] + "application/x-nzb": { + source: "apache", + extensions: ["nzb"] }, - \\"application/x-perl\\": { - source: \\"nginx\\", - extensions: [\\"pl\\", \\"pm\\"] + "application/x-perl": { + source: "nginx", + extensions: ["pl", "pm"] }, - \\"application/x-pilot\\": { - source: \\"nginx\\", - extensions: [\\"prc\\", \\"pdb\\"] + "application/x-pilot": { + source: "nginx", + extensions: ["prc", "pdb"] }, - \\"application/x-pkcs12\\": { - source: \\"apache\\", + "application/x-pkcs12": { + source: "apache", compressible: false, - extensions: [\\"p12\\", \\"pfx\\"] + extensions: ["p12", "pfx"] }, - \\"application/x-pkcs7-certificates\\": { - source: \\"apache\\", - extensions: [\\"p7b\\", \\"spc\\"] + "application/x-pkcs7-certificates": { + source: "apache", + extensions: ["p7b", "spc"] }, - \\"application/x-pkcs7-certreqresp\\": { - source: \\"apache\\", - extensions: [\\"p7r\\"] + "application/x-pkcs7-certreqresp": { + source: "apache", + extensions: ["p7r"] }, - \\"application/x-pki-message\\": { - source: \\"iana\\" + "application/x-pki-message": { + source: "iana" }, - \\"application/x-rar-compressed\\": { - source: \\"apache\\", + "application/x-rar-compressed": { + source: "apache", compressible: false, - extensions: [\\"rar\\"] + extensions: ["rar"] }, - \\"application/x-redhat-package-manager\\": { - source: \\"nginx\\", - extensions: [\\"rpm\\"] + "application/x-redhat-package-manager": { + source: "nginx", + extensions: ["rpm"] }, - \\"application/x-research-info-systems\\": { - source: \\"apache\\", - extensions: [\\"ris\\"] + "application/x-research-info-systems": { + source: "apache", + extensions: ["ris"] }, - \\"application/x-sea\\": { - source: \\"nginx\\", - extensions: [\\"sea\\"] + "application/x-sea": { + source: "nginx", + extensions: ["sea"] }, - \\"application/x-sh\\": { - source: \\"apache\\", + "application/x-sh": { + source: "apache", compressible: true, - extensions: [\\"sh\\"] + extensions: ["sh"] }, - \\"application/x-shar\\": { - source: \\"apache\\", - extensions: [\\"shar\\"] + "application/x-shar": { + source: "apache", + extensions: ["shar"] }, - \\"application/x-shockwave-flash\\": { - source: \\"apache\\", + "application/x-shockwave-flash": { + source: "apache", compressible: false, - extensions: [\\"swf\\"] + extensions: ["swf"] }, - \\"application/x-silverlight-app\\": { - source: \\"apache\\", - extensions: [\\"xap\\"] + "application/x-silverlight-app": { + source: "apache", + extensions: ["xap"] }, - \\"application/x-sql\\": { - source: \\"apache\\", - extensions: [\\"sql\\"] + "application/x-sql": { + source: "apache", + extensions: ["sql"] }, - \\"application/x-stuffit\\": { - source: \\"apache\\", + "application/x-stuffit": { + source: "apache", compressible: false, - extensions: [\\"sit\\"] + extensions: ["sit"] }, - \\"application/x-stuffitx\\": { - source: \\"apache\\", - extensions: [\\"sitx\\"] + "application/x-stuffitx": { + source: "apache", + extensions: ["sitx"] }, - \\"application/x-subrip\\": { - source: \\"apache\\", - extensions: [\\"srt\\"] + "application/x-subrip": { + source: "apache", + extensions: ["srt"] }, - \\"application/x-sv4cpio\\": { - source: \\"apache\\", - extensions: [\\"sv4cpio\\"] + "application/x-sv4cpio": { + source: "apache", + extensions: ["sv4cpio"] }, - \\"application/x-sv4crc\\": { - source: \\"apache\\", - extensions: [\\"sv4crc\\"] + "application/x-sv4crc": { + source: "apache", + extensions: ["sv4crc"] }, - \\"application/x-t3vm-image\\": { - source: \\"apache\\", - extensions: [\\"t3\\"] + "application/x-t3vm-image": { + source: "apache", + extensions: ["t3"] }, - \\"application/x-tads\\": { - source: \\"apache\\", - extensions: [\\"gam\\"] + "application/x-tads": { + source: "apache", + extensions: ["gam"] }, - \\"application/x-tar\\": { - source: \\"apache\\", + "application/x-tar": { + source: "apache", compressible: true, - extensions: [\\"tar\\"] + extensions: ["tar"] }, - \\"application/x-tcl\\": { - source: \\"apache\\", - extensions: [\\"tcl\\", \\"tk\\"] + "application/x-tcl": { + source: "apache", + extensions: ["tcl", "tk"] }, - \\"application/x-tex\\": { - source: \\"apache\\", - extensions: [\\"tex\\"] + "application/x-tex": { + source: "apache", + extensions: ["tex"] }, - \\"application/x-tex-tfm\\": { - source: \\"apache\\", - extensions: [\\"tfm\\"] + "application/x-tex-tfm": { + source: "apache", + extensions: ["tfm"] }, - \\"application/x-texinfo\\": { - source: \\"apache\\", - extensions: [\\"texinfo\\", \\"texi\\"] + "application/x-texinfo": { + source: "apache", + extensions: ["texinfo", "texi"] }, - \\"application/x-tgif\\": { - source: \\"apache\\", - extensions: [\\"obj\\"] + "application/x-tgif": { + source: "apache", + extensions: ["obj"] }, - \\"application/x-ustar\\": { - source: \\"apache\\", - extensions: [\\"ustar\\"] + "application/x-ustar": { + source: "apache", + extensions: ["ustar"] }, - \\"application/x-virtualbox-hdd\\": { + "application/x-virtualbox-hdd": { compressible: true, - extensions: [\\"hdd\\"] + extensions: ["hdd"] }, - \\"application/x-virtualbox-ova\\": { + "application/x-virtualbox-ova": { compressible: true, - extensions: [\\"ova\\"] + extensions: ["ova"] }, - \\"application/x-virtualbox-ovf\\": { + "application/x-virtualbox-ovf": { compressible: true, - extensions: [\\"ovf\\"] + extensions: ["ovf"] }, - \\"application/x-virtualbox-vbox\\": { + "application/x-virtualbox-vbox": { compressible: true, - extensions: [\\"vbox\\"] + extensions: ["vbox"] }, - \\"application/x-virtualbox-vbox-extpack\\": { + "application/x-virtualbox-vbox-extpack": { compressible: false, - extensions: [\\"vbox-extpack\\"] + extensions: ["vbox-extpack"] }, - \\"application/x-virtualbox-vdi\\": { + "application/x-virtualbox-vdi": { compressible: true, - extensions: [\\"vdi\\"] + extensions: ["vdi"] }, - \\"application/x-virtualbox-vhd\\": { + "application/x-virtualbox-vhd": { compressible: true, - extensions: [\\"vhd\\"] + extensions: ["vhd"] }, - \\"application/x-virtualbox-vmdk\\": { + "application/x-virtualbox-vmdk": { compressible: true, - extensions: [\\"vmdk\\"] + extensions: ["vmdk"] }, - \\"application/x-wais-source\\": { - source: \\"apache\\", - extensions: [\\"src\\"] + "application/x-wais-source": { + source: "apache", + extensions: ["src"] }, - \\"application/x-web-app-manifest+json\\": { + "application/x-web-app-manifest+json": { compressible: true, - extensions: [\\"webapp\\"] + extensions: ["webapp"] }, - \\"application/x-www-form-urlencoded\\": { - source: \\"iana\\", + "application/x-www-form-urlencoded": { + source: "iana", compressible: true }, - \\"application/x-x509-ca-cert\\": { - source: \\"iana\\", - extensions: [\\"der\\", \\"crt\\", \\"pem\\"] + "application/x-x509-ca-cert": { + source: "iana", + extensions: ["der", "crt", "pem"] }, - \\"application/x-x509-ca-ra-cert\\": { - source: \\"iana\\" + "application/x-x509-ca-ra-cert": { + source: "iana" }, - \\"application/x-x509-next-ca-cert\\": { - source: \\"iana\\" + "application/x-x509-next-ca-cert": { + source: "iana" }, - \\"application/x-xfig\\": { - source: \\"apache\\", - extensions: [\\"fig\\"] + "application/x-xfig": { + source: "apache", + extensions: ["fig"] }, - \\"application/x-xliff+xml\\": { - source: \\"apache\\", + "application/x-xliff+xml": { + source: "apache", compressible: true, - extensions: [\\"xlf\\"] + extensions: ["xlf"] }, - \\"application/x-xpinstall\\": { - source: \\"apache\\", + "application/x-xpinstall": { + source: "apache", compressible: false, - extensions: [\\"xpi\\"] + extensions: ["xpi"] }, - \\"application/x-xz\\": { - source: \\"apache\\", - extensions: [\\"xz\\"] + "application/x-xz": { + source: "apache", + extensions: ["xz"] }, - \\"application/x-zmachine\\": { - source: \\"apache\\", - extensions: [\\"z1\\", \\"z2\\", \\"z3\\", \\"z4\\", \\"z5\\", \\"z6\\", \\"z7\\", \\"z8\\"] + "application/x-zmachine": { + source: "apache", + extensions: ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"] }, - \\"application/x400-bp\\": { - source: \\"iana\\" + "application/x400-bp": { + source: "iana" }, - \\"application/xacml+xml\\": { - source: \\"iana\\", + "application/xacml+xml": { + source: "iana", compressible: true }, - \\"application/xaml+xml\\": { - source: \\"apache\\", + "application/xaml+xml": { + source: "apache", compressible: true, - extensions: [\\"xaml\\"] + extensions: ["xaml"] }, - \\"application/xcap-att+xml\\": { - source: \\"iana\\", + "application/xcap-att+xml": { + source: "iana", compressible: true, - extensions: [\\"xav\\"] + extensions: ["xav"] }, - \\"application/xcap-caps+xml\\": { - source: \\"iana\\", + "application/xcap-caps+xml": { + source: "iana", compressible: true, - extensions: [\\"xca\\"] + extensions: ["xca"] }, - \\"application/xcap-diff+xml\\": { - source: \\"iana\\", + "application/xcap-diff+xml": { + source: "iana", compressible: true, - extensions: [\\"xdf\\"] + extensions: ["xdf"] }, - \\"application/xcap-el+xml\\": { - source: \\"iana\\", + "application/xcap-el+xml": { + source: "iana", compressible: true, - extensions: [\\"xel\\"] + extensions: ["xel"] }, - \\"application/xcap-error+xml\\": { - source: \\"iana\\", + "application/xcap-error+xml": { + source: "iana", compressible: true }, - \\"application/xcap-ns+xml\\": { - source: \\"iana\\", + "application/xcap-ns+xml": { + source: "iana", compressible: true, - extensions: [\\"xns\\"] + extensions: ["xns"] }, - \\"application/xcon-conference-info+xml\\": { - source: \\"iana\\", + "application/xcon-conference-info+xml": { + source: "iana", compressible: true }, - \\"application/xcon-conference-info-diff+xml\\": { - source: \\"iana\\", + "application/xcon-conference-info-diff+xml": { + source: "iana", compressible: true }, - \\"application/xenc+xml\\": { - source: \\"iana\\", + "application/xenc+xml": { + source: "iana", compressible: true, - extensions: [\\"xenc\\"] + extensions: ["xenc"] }, - \\"application/xhtml+xml\\": { - source: \\"iana\\", + "application/xhtml+xml": { + source: "iana", compressible: true, - extensions: [\\"xhtml\\", \\"xht\\"] + extensions: ["xhtml", "xht"] }, - \\"application/xhtml-voice+xml\\": { - source: \\"apache\\", + "application/xhtml-voice+xml": { + source: "apache", compressible: true }, - \\"application/xliff+xml\\": { - source: \\"iana\\", + "application/xliff+xml": { + source: "iana", compressible: true, - extensions: [\\"xlf\\"] + extensions: ["xlf"] }, - \\"application/xml\\": { - source: \\"iana\\", + "application/xml": { + source: "iana", compressible: true, - extensions: [\\"xml\\", \\"xsl\\", \\"xsd\\", \\"rng\\"] + extensions: ["xml", "xsl", "xsd", "rng"] }, - \\"application/xml-dtd\\": { - source: \\"iana\\", + "application/xml-dtd": { + source: "iana", compressible: true, - extensions: [\\"dtd\\"] + extensions: ["dtd"] }, - \\"application/xml-external-parsed-entity\\": { - source: \\"iana\\" + "application/xml-external-parsed-entity": { + source: "iana" }, - \\"application/xml-patch+xml\\": { - source: \\"iana\\", + "application/xml-patch+xml": { + source: "iana", compressible: true }, - \\"application/xmpp+xml\\": { - source: \\"iana\\", + "application/xmpp+xml": { + source: "iana", compressible: true }, - \\"application/xop+xml\\": { - source: \\"iana\\", + "application/xop+xml": { + source: "iana", compressible: true, - extensions: [\\"xop\\"] + extensions: ["xop"] }, - \\"application/xproc+xml\\": { - source: \\"apache\\", + "application/xproc+xml": { + source: "apache", compressible: true, - extensions: [\\"xpl\\"] + extensions: ["xpl"] }, - \\"application/xslt+xml\\": { - source: \\"iana\\", + "application/xslt+xml": { + source: "iana", compressible: true, - extensions: [\\"xsl\\", \\"xslt\\"] + extensions: ["xsl", "xslt"] }, - \\"application/xspf+xml\\": { - source: \\"apache\\", + "application/xspf+xml": { + source: "apache", compressible: true, - extensions: [\\"xspf\\"] + extensions: ["xspf"] }, - \\"application/xv+xml\\": { - source: \\"iana\\", + "application/xv+xml": { + source: "iana", compressible: true, - extensions: [\\"mxml\\", \\"xhvml\\", \\"xvml\\", \\"xvm\\"] + extensions: ["mxml", "xhvml", "xvml", "xvm"] }, - \\"application/yang\\": { - source: \\"iana\\", - extensions: [\\"yang\\"] + "application/yang": { + source: "iana", + extensions: ["yang"] }, - \\"application/yang-data+json\\": { - source: \\"iana\\", + "application/yang-data+json": { + source: "iana", compressible: true }, - \\"application/yang-data+xml\\": { - source: \\"iana\\", + "application/yang-data+xml": { + source: "iana", compressible: true }, - \\"application/yang-patch+json\\": { - source: \\"iana\\", + "application/yang-patch+json": { + source: "iana", compressible: true }, - \\"application/yang-patch+xml\\": { - source: \\"iana\\", + "application/yang-patch+xml": { + source: "iana", compressible: true }, - \\"application/yin+xml\\": { - source: \\"iana\\", + "application/yin+xml": { + source: "iana", compressible: true, - extensions: [\\"yin\\"] + extensions: ["yin"] }, - \\"application/zip\\": { - source: \\"iana\\", + "application/zip": { + source: "iana", compressible: false, - extensions: [\\"zip\\"] + extensions: ["zip"] }, - \\"application/zlib\\": { - source: \\"iana\\" + "application/zlib": { + source: "iana" }, - \\"application/zstd\\": { - source: \\"iana\\" + "application/zstd": { + source: "iana" }, - \\"audio/1d-interleaved-parityfec\\": { - source: \\"iana\\" + "audio/1d-interleaved-parityfec": { + source: "iana" }, - \\"audio/32kadpcm\\": { - source: \\"iana\\" + "audio/32kadpcm": { + source: "iana" }, - \\"audio/3gpp\\": { - source: \\"iana\\", + "audio/3gpp": { + source: "iana", compressible: false, - extensions: [\\"3gpp\\"] + extensions: ["3gpp"] }, - \\"audio/3gpp2\\": { - source: \\"iana\\" + "audio/3gpp2": { + source: "iana" }, - \\"audio/aac\\": { - source: \\"iana\\" + "audio/aac": { + source: "iana" }, - \\"audio/ac3\\": { - source: \\"iana\\" + "audio/ac3": { + source: "iana" }, - \\"audio/adpcm\\": { - source: \\"apache\\", - extensions: [\\"adp\\"] + "audio/adpcm": { + source: "apache", + extensions: ["adp"] }, - \\"audio/amr\\": { - source: \\"iana\\", - extensions: [\\"amr\\"] + "audio/amr": { + source: "iana", + extensions: ["amr"] }, - \\"audio/amr-wb\\": { - source: \\"iana\\" + "audio/amr-wb": { + source: "iana" }, - \\"audio/amr-wb+\\": { - source: \\"iana\\" + "audio/amr-wb+": { + source: "iana" }, - \\"audio/aptx\\": { - source: \\"iana\\" + "audio/aptx": { + source: "iana" }, - \\"audio/asc\\": { - source: \\"iana\\" + "audio/asc": { + source: "iana" }, - \\"audio/atrac-advanced-lossless\\": { - source: \\"iana\\" + "audio/atrac-advanced-lossless": { + source: "iana" }, - \\"audio/atrac-x\\": { - source: \\"iana\\" + "audio/atrac-x": { + source: "iana" }, - \\"audio/atrac3\\": { - source: \\"iana\\" + "audio/atrac3": { + source: "iana" }, - \\"audio/basic\\": { - source: \\"iana\\", + "audio/basic": { + source: "iana", compressible: false, - extensions: [\\"au\\", \\"snd\\"] + extensions: ["au", "snd"] }, - \\"audio/bv16\\": { - source: \\"iana\\" + "audio/bv16": { + source: "iana" }, - \\"audio/bv32\\": { - source: \\"iana\\" + "audio/bv32": { + source: "iana" }, - \\"audio/clearmode\\": { - source: \\"iana\\" + "audio/clearmode": { + source: "iana" }, - \\"audio/cn\\": { - source: \\"iana\\" + "audio/cn": { + source: "iana" }, - \\"audio/dat12\\": { - source: \\"iana\\" + "audio/dat12": { + source: "iana" }, - \\"audio/dls\\": { - source: \\"iana\\" + "audio/dls": { + source: "iana" }, - \\"audio/dsr-es201108\\": { - source: \\"iana\\" + "audio/dsr-es201108": { + source: "iana" }, - \\"audio/dsr-es202050\\": { - source: \\"iana\\" + "audio/dsr-es202050": { + source: "iana" }, - \\"audio/dsr-es202211\\": { - source: \\"iana\\" + "audio/dsr-es202211": { + source: "iana" }, - \\"audio/dsr-es202212\\": { - source: \\"iana\\" + "audio/dsr-es202212": { + source: "iana" }, - \\"audio/dv\\": { - source: \\"iana\\" + "audio/dv": { + source: "iana" }, - \\"audio/dvi4\\": { - source: \\"iana\\" + "audio/dvi4": { + source: "iana" }, - \\"audio/eac3\\": { - source: \\"iana\\" + "audio/eac3": { + source: "iana" }, - \\"audio/encaprtp\\": { - source: \\"iana\\" + "audio/encaprtp": { + source: "iana" }, - \\"audio/evrc\\": { - source: \\"iana\\" + "audio/evrc": { + source: "iana" }, - \\"audio/evrc-qcp\\": { - source: \\"iana\\" + "audio/evrc-qcp": { + source: "iana" }, - \\"audio/evrc0\\": { - source: \\"iana\\" + "audio/evrc0": { + source: "iana" }, - \\"audio/evrc1\\": { - source: \\"iana\\" + "audio/evrc1": { + source: "iana" }, - \\"audio/evrcb\\": { - source: \\"iana\\" + "audio/evrcb": { + source: "iana" }, - \\"audio/evrcb0\\": { - source: \\"iana\\" + "audio/evrcb0": { + source: "iana" }, - \\"audio/evrcb1\\": { - source: \\"iana\\" + "audio/evrcb1": { + source: "iana" }, - \\"audio/evrcnw\\": { - source: \\"iana\\" + "audio/evrcnw": { + source: "iana" }, - \\"audio/evrcnw0\\": { - source: \\"iana\\" + "audio/evrcnw0": { + source: "iana" }, - \\"audio/evrcnw1\\": { - source: \\"iana\\" + "audio/evrcnw1": { + source: "iana" }, - \\"audio/evrcwb\\": { - source: \\"iana\\" + "audio/evrcwb": { + source: "iana" }, - \\"audio/evrcwb0\\": { - source: \\"iana\\" + "audio/evrcwb0": { + source: "iana" }, - \\"audio/evrcwb1\\": { - source: \\"iana\\" + "audio/evrcwb1": { + source: "iana" }, - \\"audio/evs\\": { - source: \\"iana\\" + "audio/evs": { + source: "iana" }, - \\"audio/flexfec\\": { - source: \\"iana\\" + "audio/flexfec": { + source: "iana" }, - \\"audio/fwdred\\": { - source: \\"iana\\" + "audio/fwdred": { + source: "iana" }, - \\"audio/g711-0\\": { - source: \\"iana\\" + "audio/g711-0": { + source: "iana" }, - \\"audio/g719\\": { - source: \\"iana\\" + "audio/g719": { + source: "iana" }, - \\"audio/g722\\": { - source: \\"iana\\" + "audio/g722": { + source: "iana" }, - \\"audio/g7221\\": { - source: \\"iana\\" + "audio/g7221": { + source: "iana" }, - \\"audio/g723\\": { - source: \\"iana\\" + "audio/g723": { + source: "iana" }, - \\"audio/g726-16\\": { - source: \\"iana\\" + "audio/g726-16": { + source: "iana" }, - \\"audio/g726-24\\": { - source: \\"iana\\" + "audio/g726-24": { + source: "iana" }, - \\"audio/g726-32\\": { - source: \\"iana\\" + "audio/g726-32": { + source: "iana" }, - \\"audio/g726-40\\": { - source: \\"iana\\" + "audio/g726-40": { + source: "iana" }, - \\"audio/g728\\": { - source: \\"iana\\" + "audio/g728": { + source: "iana" }, - \\"audio/g729\\": { - source: \\"iana\\" + "audio/g729": { + source: "iana" }, - \\"audio/g7291\\": { - source: \\"iana\\" + "audio/g7291": { + source: "iana" }, - \\"audio/g729d\\": { - source: \\"iana\\" + "audio/g729d": { + source: "iana" }, - \\"audio/g729e\\": { - source: \\"iana\\" + "audio/g729e": { + source: "iana" }, - \\"audio/gsm\\": { - source: \\"iana\\" + "audio/gsm": { + source: "iana" }, - \\"audio/gsm-efr\\": { - source: \\"iana\\" + "audio/gsm-efr": { + source: "iana" }, - \\"audio/gsm-hr-08\\": { - source: \\"iana\\" + "audio/gsm-hr-08": { + source: "iana" }, - \\"audio/ilbc\\": { - source: \\"iana\\" + "audio/ilbc": { + source: "iana" }, - \\"audio/ip-mr_v2.5\\": { - source: \\"iana\\" + "audio/ip-mr_v2.5": { + source: "iana" }, - \\"audio/isac\\": { - source: \\"apache\\" + "audio/isac": { + source: "apache" }, - \\"audio/l16\\": { - source: \\"iana\\" + "audio/l16": { + source: "iana" }, - \\"audio/l20\\": { - source: \\"iana\\" + "audio/l20": { + source: "iana" }, - \\"audio/l24\\": { - source: \\"iana\\", + "audio/l24": { + source: "iana", compressible: false }, - \\"audio/l8\\": { - source: \\"iana\\" + "audio/l8": { + source: "iana" }, - \\"audio/lpc\\": { - source: \\"iana\\" + "audio/lpc": { + source: "iana" }, - \\"audio/melp\\": { - source: \\"iana\\" + "audio/melp": { + source: "iana" }, - \\"audio/melp1200\\": { - source: \\"iana\\" + "audio/melp1200": { + source: "iana" }, - \\"audio/melp2400\\": { - source: \\"iana\\" + "audio/melp2400": { + source: "iana" }, - \\"audio/melp600\\": { - source: \\"iana\\" + "audio/melp600": { + source: "iana" }, - \\"audio/mhas\\": { - source: \\"iana\\" + "audio/mhas": { + source: "iana" }, - \\"audio/midi\\": { - source: \\"apache\\", - extensions: [\\"mid\\", \\"midi\\", \\"kar\\", \\"rmi\\"] + "audio/midi": { + source: "apache", + extensions: ["mid", "midi", "kar", "rmi"] }, - \\"audio/mobile-xmf\\": { - source: \\"iana\\", - extensions: [\\"mxmf\\"] + "audio/mobile-xmf": { + source: "iana", + extensions: ["mxmf"] }, - \\"audio/mp3\\": { + "audio/mp3": { compressible: false, - extensions: [\\"mp3\\"] + extensions: ["mp3"] }, - \\"audio/mp4\\": { - source: \\"iana\\", + "audio/mp4": { + source: "iana", compressible: false, - extensions: [\\"m4a\\", \\"mp4a\\"] + extensions: ["m4a", "mp4a"] }, - \\"audio/mp4a-latm\\": { - source: \\"iana\\" + "audio/mp4a-latm": { + source: "iana" }, - \\"audio/mpa\\": { - source: \\"iana\\" + "audio/mpa": { + source: "iana" }, - \\"audio/mpa-robust\\": { - source: \\"iana\\" + "audio/mpa-robust": { + source: "iana" }, - \\"audio/mpeg\\": { - source: \\"iana\\", + "audio/mpeg": { + source: "iana", compressible: false, - extensions: [\\"mpga\\", \\"mp2\\", \\"mp2a\\", \\"mp3\\", \\"m2a\\", \\"m3a\\"] + extensions: ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"] }, - \\"audio/mpeg4-generic\\": { - source: \\"iana\\" + "audio/mpeg4-generic": { + source: "iana" }, - \\"audio/musepack\\": { - source: \\"apache\\" + "audio/musepack": { + source: "apache" }, - \\"audio/ogg\\": { - source: \\"iana\\", + "audio/ogg": { + source: "iana", compressible: false, - extensions: [\\"oga\\", \\"ogg\\", \\"spx\\", \\"opus\\"] + extensions: ["oga", "ogg", "spx", "opus"] }, - \\"audio/opus\\": { - source: \\"iana\\" + "audio/opus": { + source: "iana" }, - \\"audio/parityfec\\": { - source: \\"iana\\" + "audio/parityfec": { + source: "iana" }, - \\"audio/pcma\\": { - source: \\"iana\\" + "audio/pcma": { + source: "iana" }, - \\"audio/pcma-wb\\": { - source: \\"iana\\" + "audio/pcma-wb": { + source: "iana" }, - \\"audio/pcmu\\": { - source: \\"iana\\" + "audio/pcmu": { + source: "iana" }, - \\"audio/pcmu-wb\\": { - source: \\"iana\\" + "audio/pcmu-wb": { + source: "iana" }, - \\"audio/prs.sid\\": { - source: \\"iana\\" + "audio/prs.sid": { + source: "iana" }, - \\"audio/qcelp\\": { - source: \\"iana\\" + "audio/qcelp": { + source: "iana" }, - \\"audio/raptorfec\\": { - source: \\"iana\\" + "audio/raptorfec": { + source: "iana" }, - \\"audio/red\\": { - source: \\"iana\\" + "audio/red": { + source: "iana" }, - \\"audio/rtp-enc-aescm128\\": { - source: \\"iana\\" + "audio/rtp-enc-aescm128": { + source: "iana" }, - \\"audio/rtp-midi\\": { - source: \\"iana\\" + "audio/rtp-midi": { + source: "iana" }, - \\"audio/rtploopback\\": { - source: \\"iana\\" + "audio/rtploopback": { + source: "iana" }, - \\"audio/rtx\\": { - source: \\"iana\\" + "audio/rtx": { + source: "iana" }, - \\"audio/s3m\\": { - source: \\"apache\\", - extensions: [\\"s3m\\"] + "audio/s3m": { + source: "apache", + extensions: ["s3m"] }, - \\"audio/scip\\": { - source: \\"iana\\" + "audio/scip": { + source: "iana" }, - \\"audio/silk\\": { - source: \\"apache\\", - extensions: [\\"sil\\"] + "audio/silk": { + source: "apache", + extensions: ["sil"] }, - \\"audio/smv\\": { - source: \\"iana\\" + "audio/smv": { + source: "iana" }, - \\"audio/smv-qcp\\": { - source: \\"iana\\" + "audio/smv-qcp": { + source: "iana" }, - \\"audio/smv0\\": { - source: \\"iana\\" + "audio/smv0": { + source: "iana" }, - \\"audio/sofa\\": { - source: \\"iana\\" + "audio/sofa": { + source: "iana" }, - \\"audio/sp-midi\\": { - source: \\"iana\\" + "audio/sp-midi": { + source: "iana" }, - \\"audio/speex\\": { - source: \\"iana\\" + "audio/speex": { + source: "iana" }, - \\"audio/t140c\\": { - source: \\"iana\\" + "audio/t140c": { + source: "iana" }, - \\"audio/t38\\": { - source: \\"iana\\" + "audio/t38": { + source: "iana" }, - \\"audio/telephone-event\\": { - source: \\"iana\\" + "audio/telephone-event": { + source: "iana" }, - \\"audio/tetra_acelp\\": { - source: \\"iana\\" + "audio/tetra_acelp": { + source: "iana" }, - \\"audio/tetra_acelp_bb\\": { - source: \\"iana\\" + "audio/tetra_acelp_bb": { + source: "iana" }, - \\"audio/tone\\": { - source: \\"iana\\" + "audio/tone": { + source: "iana" }, - \\"audio/tsvcis\\": { - source: \\"iana\\" + "audio/tsvcis": { + source: "iana" }, - \\"audio/uemclip\\": { - source: \\"iana\\" + "audio/uemclip": { + source: "iana" }, - \\"audio/ulpfec\\": { - source: \\"iana\\" + "audio/ulpfec": { + source: "iana" }, - \\"audio/usac\\": { - source: \\"iana\\" + "audio/usac": { + source: "iana" }, - \\"audio/vdvi\\": { - source: \\"iana\\" + "audio/vdvi": { + source: "iana" }, - \\"audio/vmr-wb\\": { - source: \\"iana\\" + "audio/vmr-wb": { + source: "iana" }, - \\"audio/vnd.3gpp.iufp\\": { - source: \\"iana\\" + "audio/vnd.3gpp.iufp": { + source: "iana" }, - \\"audio/vnd.4sb\\": { - source: \\"iana\\" + "audio/vnd.4sb": { + source: "iana" }, - \\"audio/vnd.audiokoz\\": { - source: \\"iana\\" + "audio/vnd.audiokoz": { + source: "iana" }, - \\"audio/vnd.celp\\": { - source: \\"iana\\" + "audio/vnd.celp": { + source: "iana" }, - \\"audio/vnd.cisco.nse\\": { - source: \\"iana\\" + "audio/vnd.cisco.nse": { + source: "iana" }, - \\"audio/vnd.cmles.radio-events\\": { - source: \\"iana\\" + "audio/vnd.cmles.radio-events": { + source: "iana" }, - \\"audio/vnd.cns.anp1\\": { - source: \\"iana\\" + "audio/vnd.cns.anp1": { + source: "iana" }, - \\"audio/vnd.cns.inf1\\": { - source: \\"iana\\" + "audio/vnd.cns.inf1": { + source: "iana" }, - \\"audio/vnd.dece.audio\\": { - source: \\"iana\\", - extensions: [\\"uva\\", \\"uvva\\"] + "audio/vnd.dece.audio": { + source: "iana", + extensions: ["uva", "uvva"] }, - \\"audio/vnd.digital-winds\\": { - source: \\"iana\\", - extensions: [\\"eol\\"] + "audio/vnd.digital-winds": { + source: "iana", + extensions: ["eol"] }, - \\"audio/vnd.dlna.adts\\": { - source: \\"iana\\" + "audio/vnd.dlna.adts": { + source: "iana" }, - \\"audio/vnd.dolby.heaac.1\\": { - source: \\"iana\\" + "audio/vnd.dolby.heaac.1": { + source: "iana" }, - \\"audio/vnd.dolby.heaac.2\\": { - source: \\"iana\\" + "audio/vnd.dolby.heaac.2": { + source: "iana" }, - \\"audio/vnd.dolby.mlp\\": { - source: \\"iana\\" + "audio/vnd.dolby.mlp": { + source: "iana" }, - \\"audio/vnd.dolby.mps\\": { - source: \\"iana\\" + "audio/vnd.dolby.mps": { + source: "iana" }, - \\"audio/vnd.dolby.pl2\\": { - source: \\"iana\\" + "audio/vnd.dolby.pl2": { + source: "iana" }, - \\"audio/vnd.dolby.pl2x\\": { - source: \\"iana\\" + "audio/vnd.dolby.pl2x": { + source: "iana" }, - \\"audio/vnd.dolby.pl2z\\": { - source: \\"iana\\" + "audio/vnd.dolby.pl2z": { + source: "iana" }, - \\"audio/vnd.dolby.pulse.1\\": { - source: \\"iana\\" + "audio/vnd.dolby.pulse.1": { + source: "iana" }, - \\"audio/vnd.dra\\": { - source: \\"iana\\", - extensions: [\\"dra\\"] + "audio/vnd.dra": { + source: "iana", + extensions: ["dra"] }, - \\"audio/vnd.dts\\": { - source: \\"iana\\", - extensions: [\\"dts\\"] + "audio/vnd.dts": { + source: "iana", + extensions: ["dts"] }, - \\"audio/vnd.dts.hd\\": { - source: \\"iana\\", - extensions: [\\"dtshd\\"] + "audio/vnd.dts.hd": { + source: "iana", + extensions: ["dtshd"] }, - \\"audio/vnd.dts.uhd\\": { - source: \\"iana\\" + "audio/vnd.dts.uhd": { + source: "iana" }, - \\"audio/vnd.dvb.file\\": { - source: \\"iana\\" + "audio/vnd.dvb.file": { + source: "iana" }, - \\"audio/vnd.everad.plj\\": { - source: \\"iana\\" + "audio/vnd.everad.plj": { + source: "iana" }, - \\"audio/vnd.hns.audio\\": { - source: \\"iana\\" + "audio/vnd.hns.audio": { + source: "iana" }, - \\"audio/vnd.lucent.voice\\": { - source: \\"iana\\", - extensions: [\\"lvp\\"] + "audio/vnd.lucent.voice": { + source: "iana", + extensions: ["lvp"] }, - \\"audio/vnd.ms-playready.media.pya\\": { - source: \\"iana\\", - extensions: [\\"pya\\"] + "audio/vnd.ms-playready.media.pya": { + source: "iana", + extensions: ["pya"] }, - \\"audio/vnd.nokia.mobile-xmf\\": { - source: \\"iana\\" + "audio/vnd.nokia.mobile-xmf": { + source: "iana" }, - \\"audio/vnd.nortel.vbk\\": { - source: \\"iana\\" + "audio/vnd.nortel.vbk": { + source: "iana" }, - \\"audio/vnd.nuera.ecelp4800\\": { - source: \\"iana\\", - extensions: [\\"ecelp4800\\"] + "audio/vnd.nuera.ecelp4800": { + source: "iana", + extensions: ["ecelp4800"] }, - \\"audio/vnd.nuera.ecelp7470\\": { - source: \\"iana\\", - extensions: [\\"ecelp7470\\"] + "audio/vnd.nuera.ecelp7470": { + source: "iana", + extensions: ["ecelp7470"] }, - \\"audio/vnd.nuera.ecelp9600\\": { - source: \\"iana\\", - extensions: [\\"ecelp9600\\"] + "audio/vnd.nuera.ecelp9600": { + source: "iana", + extensions: ["ecelp9600"] }, - \\"audio/vnd.octel.sbc\\": { - source: \\"iana\\" + "audio/vnd.octel.sbc": { + source: "iana" }, - \\"audio/vnd.presonus.multitrack\\": { - source: \\"iana\\" + "audio/vnd.presonus.multitrack": { + source: "iana" }, - \\"audio/vnd.qcelp\\": { - source: \\"iana\\" + "audio/vnd.qcelp": { + source: "iana" }, - \\"audio/vnd.rhetorex.32kadpcm\\": { - source: \\"iana\\" + "audio/vnd.rhetorex.32kadpcm": { + source: "iana" }, - \\"audio/vnd.rip\\": { - source: \\"iana\\", - extensions: [\\"rip\\"] + "audio/vnd.rip": { + source: "iana", + extensions: ["rip"] }, - \\"audio/vnd.rn-realaudio\\": { + "audio/vnd.rn-realaudio": { compressible: false }, - \\"audio/vnd.sealedmedia.softseal.mpeg\\": { - source: \\"iana\\" + "audio/vnd.sealedmedia.softseal.mpeg": { + source: "iana" }, - \\"audio/vnd.vmx.cvsd\\": { - source: \\"iana\\" + "audio/vnd.vmx.cvsd": { + source: "iana" }, - \\"audio/vnd.wave\\": { + "audio/vnd.wave": { compressible: false }, - \\"audio/vorbis\\": { - source: \\"iana\\", + "audio/vorbis": { + source: "iana", compressible: false }, - \\"audio/vorbis-config\\": { - source: \\"iana\\" + "audio/vorbis-config": { + source: "iana" }, - \\"audio/wav\\": { + "audio/wav": { compressible: false, - extensions: [\\"wav\\"] + extensions: ["wav"] }, - \\"audio/wave\\": { + "audio/wave": { compressible: false, - extensions: [\\"wav\\"] + extensions: ["wav"] }, - \\"audio/webm\\": { - source: \\"apache\\", + "audio/webm": { + source: "apache", compressible: false, - extensions: [\\"weba\\"] + extensions: ["weba"] }, - \\"audio/x-aac\\": { - source: \\"apache\\", + "audio/x-aac": { + source: "apache", compressible: false, - extensions: [\\"aac\\"] + extensions: ["aac"] }, - \\"audio/x-aiff\\": { - source: \\"apache\\", - extensions: [\\"aif\\", \\"aiff\\", \\"aifc\\"] + "audio/x-aiff": { + source: "apache", + extensions: ["aif", "aiff", "aifc"] }, - \\"audio/x-caf\\": { - source: \\"apache\\", + "audio/x-caf": { + source: "apache", compressible: false, - extensions: [\\"caf\\"] + extensions: ["caf"] }, - \\"audio/x-flac\\": { - source: \\"apache\\", - extensions: [\\"flac\\"] + "audio/x-flac": { + source: "apache", + extensions: ["flac"] }, - \\"audio/x-m4a\\": { - source: \\"nginx\\", - extensions: [\\"m4a\\"] + "audio/x-m4a": { + source: "nginx", + extensions: ["m4a"] }, - \\"audio/x-matroska\\": { - source: \\"apache\\", - extensions: [\\"mka\\"] + "audio/x-matroska": { + source: "apache", + extensions: ["mka"] }, - \\"audio/x-mpegurl\\": { - source: \\"apache\\", - extensions: [\\"m3u\\"] + "audio/x-mpegurl": { + source: "apache", + extensions: ["m3u"] }, - \\"audio/x-ms-wax\\": { - source: \\"apache\\", - extensions: [\\"wax\\"] + "audio/x-ms-wax": { + source: "apache", + extensions: ["wax"] }, - \\"audio/x-ms-wma\\": { - source: \\"apache\\", - extensions: [\\"wma\\"] + "audio/x-ms-wma": { + source: "apache", + extensions: ["wma"] }, - \\"audio/x-pn-realaudio\\": { - source: \\"apache\\", - extensions: [\\"ram\\", \\"ra\\"] + "audio/x-pn-realaudio": { + source: "apache", + extensions: ["ram", "ra"] }, - \\"audio/x-pn-realaudio-plugin\\": { - source: \\"apache\\", - extensions: [\\"rmp\\"] + "audio/x-pn-realaudio-plugin": { + source: "apache", + extensions: ["rmp"] }, - \\"audio/x-realaudio\\": { - source: \\"nginx\\", - extensions: [\\"ra\\"] + "audio/x-realaudio": { + source: "nginx", + extensions: ["ra"] }, - \\"audio/x-tta\\": { - source: \\"apache\\" + "audio/x-tta": { + source: "apache" }, - \\"audio/x-wav\\": { - source: \\"apache\\", - extensions: [\\"wav\\"] + "audio/x-wav": { + source: "apache", + extensions: ["wav"] }, - \\"audio/xm\\": { - source: \\"apache\\", - extensions: [\\"xm\\"] + "audio/xm": { + source: "apache", + extensions: ["xm"] }, - \\"chemical/x-cdx\\": { - source: \\"apache\\", - extensions: [\\"cdx\\"] + "chemical/x-cdx": { + source: "apache", + extensions: ["cdx"] }, - \\"chemical/x-cif\\": { - source: \\"apache\\", - extensions: [\\"cif\\"] + "chemical/x-cif": { + source: "apache", + extensions: ["cif"] }, - \\"chemical/x-cmdf\\": { - source: \\"apache\\", - extensions: [\\"cmdf\\"] + "chemical/x-cmdf": { + source: "apache", + extensions: ["cmdf"] }, - \\"chemical/x-cml\\": { - source: \\"apache\\", - extensions: [\\"cml\\"] + "chemical/x-cml": { + source: "apache", + extensions: ["cml"] }, - \\"chemical/x-csml\\": { - source: \\"apache\\", - extensions: [\\"csml\\"] + "chemical/x-csml": { + source: "apache", + extensions: ["csml"] }, - \\"chemical/x-pdb\\": { - source: \\"apache\\" + "chemical/x-pdb": { + source: "apache" }, - \\"chemical/x-xyz\\": { - source: \\"apache\\", - extensions: [\\"xyz\\"] + "chemical/x-xyz": { + source: "apache", + extensions: ["xyz"] }, - \\"font/collection\\": { - source: \\"iana\\", - extensions: [\\"ttc\\"] + "font/collection": { + source: "iana", + extensions: ["ttc"] }, - \\"font/otf\\": { - source: \\"iana\\", + "font/otf": { + source: "iana", compressible: true, - extensions: [\\"otf\\"] + extensions: ["otf"] }, - \\"font/sfnt\\": { - source: \\"iana\\" + "font/sfnt": { + source: "iana" }, - \\"font/ttf\\": { - source: \\"iana\\", + "font/ttf": { + source: "iana", compressible: true, - extensions: [\\"ttf\\"] + extensions: ["ttf"] }, - \\"font/woff\\": { - source: \\"iana\\", - extensions: [\\"woff\\"] + "font/woff": { + source: "iana", + extensions: ["woff"] }, - \\"font/woff2\\": { - source: \\"iana\\", - extensions: [\\"woff2\\"] + "font/woff2": { + source: "iana", + extensions: ["woff2"] }, - \\"image/aces\\": { - source: \\"iana\\", - extensions: [\\"exr\\"] + "image/aces": { + source: "iana", + extensions: ["exr"] }, - \\"image/apng\\": { + "image/apng": { compressible: false, - extensions: [\\"apng\\"] + extensions: ["apng"] }, - \\"image/avci\\": { - source: \\"iana\\", - extensions: [\\"avci\\"] + "image/avci": { + source: "iana", + extensions: ["avci"] }, - \\"image/avcs\\": { - source: \\"iana\\", - extensions: [\\"avcs\\"] + "image/avcs": { + source: "iana", + extensions: ["avcs"] }, - \\"image/avif\\": { - source: \\"iana\\", + "image/avif": { + source: "iana", compressible: false, - extensions: [\\"avif\\"] + extensions: ["avif"] }, - \\"image/bmp\\": { - source: \\"iana\\", + "image/bmp": { + source: "iana", compressible: true, - extensions: [\\"bmp\\"] + extensions: ["bmp"] }, - \\"image/cgm\\": { - source: \\"iana\\", - extensions: [\\"cgm\\"] + "image/cgm": { + source: "iana", + extensions: ["cgm"] }, - \\"image/dicom-rle\\": { - source: \\"iana\\", - extensions: [\\"drle\\"] + "image/dicom-rle": { + source: "iana", + extensions: ["drle"] }, - \\"image/emf\\": { - source: \\"iana\\", - extensions: [\\"emf\\"] + "image/emf": { + source: "iana", + extensions: ["emf"] }, - \\"image/fits\\": { - source: \\"iana\\", - extensions: [\\"fits\\"] + "image/fits": { + source: "iana", + extensions: ["fits"] }, - \\"image/g3fax\\": { - source: \\"iana\\", - extensions: [\\"g3\\"] + "image/g3fax": { + source: "iana", + extensions: ["g3"] }, - \\"image/gif\\": { - source: \\"iana\\", + "image/gif": { + source: "iana", compressible: false, - extensions: [\\"gif\\"] + extensions: ["gif"] }, - \\"image/heic\\": { - source: \\"iana\\", - extensions: [\\"heic\\"] + "image/heic": { + source: "iana", + extensions: ["heic"] }, - \\"image/heic-sequence\\": { - source: \\"iana\\", - extensions: [\\"heics\\"] + "image/heic-sequence": { + source: "iana", + extensions: ["heics"] }, - \\"image/heif\\": { - source: \\"iana\\", - extensions: [\\"heif\\"] + "image/heif": { + source: "iana", + extensions: ["heif"] }, - \\"image/heif-sequence\\": { - source: \\"iana\\", - extensions: [\\"heifs\\"] + "image/heif-sequence": { + source: "iana", + extensions: ["heifs"] }, - \\"image/hej2k\\": { - source: \\"iana\\", - extensions: [\\"hej2\\"] + "image/hej2k": { + source: "iana", + extensions: ["hej2"] }, - \\"image/hsj2\\": { - source: \\"iana\\", - extensions: [\\"hsj2\\"] + "image/hsj2": { + source: "iana", + extensions: ["hsj2"] }, - \\"image/ief\\": { - source: \\"iana\\", - extensions: [\\"ief\\"] + "image/ief": { + source: "iana", + extensions: ["ief"] }, - \\"image/jls\\": { - source: \\"iana\\", - extensions: [\\"jls\\"] + "image/jls": { + source: "iana", + extensions: ["jls"] }, - \\"image/jp2\\": { - source: \\"iana\\", + "image/jp2": { + source: "iana", compressible: false, - extensions: [\\"jp2\\", \\"jpg2\\"] + extensions: ["jp2", "jpg2"] }, - \\"image/jpeg\\": { - source: \\"iana\\", + "image/jpeg": { + source: "iana", compressible: false, - extensions: [\\"jpeg\\", \\"jpg\\", \\"jpe\\"] + extensions: ["jpeg", "jpg", "jpe"] }, - \\"image/jph\\": { - source: \\"iana\\", - extensions: [\\"jph\\"] + "image/jph": { + source: "iana", + extensions: ["jph"] }, - \\"image/jphc\\": { - source: \\"iana\\", - extensions: [\\"jhc\\"] + "image/jphc": { + source: "iana", + extensions: ["jhc"] }, - \\"image/jpm\\": { - source: \\"iana\\", + "image/jpm": { + source: "iana", compressible: false, - extensions: [\\"jpm\\"] + extensions: ["jpm"] }, - \\"image/jpx\\": { - source: \\"iana\\", + "image/jpx": { + source: "iana", compressible: false, - extensions: [\\"jpx\\", \\"jpf\\"] + extensions: ["jpx", "jpf"] }, - \\"image/jxr\\": { - source: \\"iana\\", - extensions: [\\"jxr\\"] + "image/jxr": { + source: "iana", + extensions: ["jxr"] }, - \\"image/jxra\\": { - source: \\"iana\\", - extensions: [\\"jxra\\"] + "image/jxra": { + source: "iana", + extensions: ["jxra"] }, - \\"image/jxrs\\": { - source: \\"iana\\", - extensions: [\\"jxrs\\"] + "image/jxrs": { + source: "iana", + extensions: ["jxrs"] }, - \\"image/jxs\\": { - source: \\"iana\\", - extensions: [\\"jxs\\"] + "image/jxs": { + source: "iana", + extensions: ["jxs"] }, - \\"image/jxsc\\": { - source: \\"iana\\", - extensions: [\\"jxsc\\"] + "image/jxsc": { + source: "iana", + extensions: ["jxsc"] }, - \\"image/jxsi\\": { - source: \\"iana\\", - extensions: [\\"jxsi\\"] + "image/jxsi": { + source: "iana", + extensions: ["jxsi"] }, - \\"image/jxss\\": { - source: \\"iana\\", - extensions: [\\"jxss\\"] + "image/jxss": { + source: "iana", + extensions: ["jxss"] }, - \\"image/ktx\\": { - source: \\"iana\\", - extensions: [\\"ktx\\"] + "image/ktx": { + source: "iana", + extensions: ["ktx"] }, - \\"image/ktx2\\": { - source: \\"iana\\", - extensions: [\\"ktx2\\"] + "image/ktx2": { + source: "iana", + extensions: ["ktx2"] }, - \\"image/naplps\\": { - source: \\"iana\\" + "image/naplps": { + source: "iana" }, - \\"image/pjpeg\\": { + "image/pjpeg": { compressible: false }, - \\"image/png\\": { - source: \\"iana\\", + "image/png": { + source: "iana", compressible: false, - extensions: [\\"png\\"] + extensions: ["png"] }, - \\"image/prs.btif\\": { - source: \\"iana\\", - extensions: [\\"btif\\"] + "image/prs.btif": { + source: "iana", + extensions: ["btif"] }, - \\"image/prs.pti\\": { - source: \\"iana\\", - extensions: [\\"pti\\"] + "image/prs.pti": { + source: "iana", + extensions: ["pti"] }, - \\"image/pwg-raster\\": { - source: \\"iana\\" + "image/pwg-raster": { + source: "iana" }, - \\"image/sgi\\": { - source: \\"apache\\", - extensions: [\\"sgi\\"] + "image/sgi": { + source: "apache", + extensions: ["sgi"] }, - \\"image/svg+xml\\": { - source: \\"iana\\", + "image/svg+xml": { + source: "iana", compressible: true, - extensions: [\\"svg\\", \\"svgz\\"] + extensions: ["svg", "svgz"] }, - \\"image/t38\\": { - source: \\"iana\\", - extensions: [\\"t38\\"] + "image/t38": { + source: "iana", + extensions: ["t38"] }, - \\"image/tiff\\": { - source: \\"iana\\", + "image/tiff": { + source: "iana", compressible: false, - extensions: [\\"tif\\", \\"tiff\\"] + extensions: ["tif", "tiff"] }, - \\"image/tiff-fx\\": { - source: \\"iana\\", - extensions: [\\"tfx\\"] + "image/tiff-fx": { + source: "iana", + extensions: ["tfx"] }, - \\"image/vnd.adobe.photoshop\\": { - source: \\"iana\\", + "image/vnd.adobe.photoshop": { + source: "iana", compressible: true, - extensions: [\\"psd\\"] + extensions: ["psd"] }, - \\"image/vnd.airzip.accelerator.azv\\": { - source: \\"iana\\", - extensions: [\\"azv\\"] + "image/vnd.airzip.accelerator.azv": { + source: "iana", + extensions: ["azv"] }, - \\"image/vnd.cns.inf2\\": { - source: \\"iana\\" + "image/vnd.cns.inf2": { + source: "iana" }, - \\"image/vnd.dece.graphic\\": { - source: \\"iana\\", - extensions: [\\"uvi\\", \\"uvvi\\", \\"uvg\\", \\"uvvg\\"] + "image/vnd.dece.graphic": { + source: "iana", + extensions: ["uvi", "uvvi", "uvg", "uvvg"] }, - \\"image/vnd.djvu\\": { - source: \\"iana\\", - extensions: [\\"djvu\\", \\"djv\\"] + "image/vnd.djvu": { + source: "iana", + extensions: ["djvu", "djv"] }, - \\"image/vnd.dvb.subtitle\\": { - source: \\"iana\\", - extensions: [\\"sub\\"] + "image/vnd.dvb.subtitle": { + source: "iana", + extensions: ["sub"] }, - \\"image/vnd.dwg\\": { - source: \\"iana\\", - extensions: [\\"dwg\\"] + "image/vnd.dwg": { + source: "iana", + extensions: ["dwg"] }, - \\"image/vnd.dxf\\": { - source: \\"iana\\", - extensions: [\\"dxf\\"] + "image/vnd.dxf": { + source: "iana", + extensions: ["dxf"] }, - \\"image/vnd.fastbidsheet\\": { - source: \\"iana\\", - extensions: [\\"fbs\\"] + "image/vnd.fastbidsheet": { + source: "iana", + extensions: ["fbs"] }, - \\"image/vnd.fpx\\": { - source: \\"iana\\", - extensions: [\\"fpx\\"] + "image/vnd.fpx": { + source: "iana", + extensions: ["fpx"] }, - \\"image/vnd.fst\\": { - source: \\"iana\\", - extensions: [\\"fst\\"] + "image/vnd.fst": { + source: "iana", + extensions: ["fst"] }, - \\"image/vnd.fujixerox.edmics-mmr\\": { - source: \\"iana\\", - extensions: [\\"mmr\\"] + "image/vnd.fujixerox.edmics-mmr": { + source: "iana", + extensions: ["mmr"] }, - \\"image/vnd.fujixerox.edmics-rlc\\": { - source: \\"iana\\", - extensions: [\\"rlc\\"] + "image/vnd.fujixerox.edmics-rlc": { + source: "iana", + extensions: ["rlc"] }, - \\"image/vnd.globalgraphics.pgb\\": { - source: \\"iana\\" + "image/vnd.globalgraphics.pgb": { + source: "iana" }, - \\"image/vnd.microsoft.icon\\": { - source: \\"iana\\", + "image/vnd.microsoft.icon": { + source: "iana", compressible: true, - extensions: [\\"ico\\"] + extensions: ["ico"] }, - \\"image/vnd.mix\\": { - source: \\"iana\\" + "image/vnd.mix": { + source: "iana" }, - \\"image/vnd.mozilla.apng\\": { - source: \\"iana\\" + "image/vnd.mozilla.apng": { + source: "iana" }, - \\"image/vnd.ms-dds\\": { + "image/vnd.ms-dds": { compressible: true, - extensions: [\\"dds\\"] + extensions: ["dds"] }, - \\"image/vnd.ms-modi\\": { - source: \\"iana\\", - extensions: [\\"mdi\\"] + "image/vnd.ms-modi": { + source: "iana", + extensions: ["mdi"] }, - \\"image/vnd.ms-photo\\": { - source: \\"apache\\", - extensions: [\\"wdp\\"] + "image/vnd.ms-photo": { + source: "apache", + extensions: ["wdp"] }, - \\"image/vnd.net-fpx\\": { - source: \\"iana\\", - extensions: [\\"npx\\"] + "image/vnd.net-fpx": { + source: "iana", + extensions: ["npx"] }, - \\"image/vnd.pco.b16\\": { - source: \\"iana\\", - extensions: [\\"b16\\"] + "image/vnd.pco.b16": { + source: "iana", + extensions: ["b16"] }, - \\"image/vnd.radiance\\": { - source: \\"iana\\" + "image/vnd.radiance": { + source: "iana" }, - \\"image/vnd.sealed.png\\": { - source: \\"iana\\" + "image/vnd.sealed.png": { + source: "iana" }, - \\"image/vnd.sealedmedia.softseal.gif\\": { - source: \\"iana\\" + "image/vnd.sealedmedia.softseal.gif": { + source: "iana" }, - \\"image/vnd.sealedmedia.softseal.jpg\\": { - source: \\"iana\\" + "image/vnd.sealedmedia.softseal.jpg": { + source: "iana" }, - \\"image/vnd.svf\\": { - source: \\"iana\\" + "image/vnd.svf": { + source: "iana" }, - \\"image/vnd.tencent.tap\\": { - source: \\"iana\\", - extensions: [\\"tap\\"] + "image/vnd.tencent.tap": { + source: "iana", + extensions: ["tap"] }, - \\"image/vnd.valve.source.texture\\": { - source: \\"iana\\", - extensions: [\\"vtf\\"] + "image/vnd.valve.source.texture": { + source: "iana", + extensions: ["vtf"] }, - \\"image/vnd.wap.wbmp\\": { - source: \\"iana\\", - extensions: [\\"wbmp\\"] + "image/vnd.wap.wbmp": { + source: "iana", + extensions: ["wbmp"] }, - \\"image/vnd.xiff\\": { - source: \\"iana\\", - extensions: [\\"xif\\"] + "image/vnd.xiff": { + source: "iana", + extensions: ["xif"] }, - \\"image/vnd.zbrush.pcx\\": { - source: \\"iana\\", - extensions: [\\"pcx\\"] + "image/vnd.zbrush.pcx": { + source: "iana", + extensions: ["pcx"] }, - \\"image/webp\\": { - source: \\"apache\\", - extensions: [\\"webp\\"] + "image/webp": { + source: "apache", + extensions: ["webp"] }, - \\"image/wmf\\": { - source: \\"iana\\", - extensions: [\\"wmf\\"] + "image/wmf": { + source: "iana", + extensions: ["wmf"] }, - \\"image/x-3ds\\": { - source: \\"apache\\", - extensions: [\\"3ds\\"] + "image/x-3ds": { + source: "apache", + extensions: ["3ds"] }, - \\"image/x-cmu-raster\\": { - source: \\"apache\\", - extensions: [\\"ras\\"] + "image/x-cmu-raster": { + source: "apache", + extensions: ["ras"] }, - \\"image/x-cmx\\": { - source: \\"apache\\", - extensions: [\\"cmx\\"] + "image/x-cmx": { + source: "apache", + extensions: ["cmx"] }, - \\"image/x-freehand\\": { - source: \\"apache\\", - extensions: [\\"fh\\", \\"fhc\\", \\"fh4\\", \\"fh5\\", \\"fh7\\"] + "image/x-freehand": { + source: "apache", + extensions: ["fh", "fhc", "fh4", "fh5", "fh7"] }, - \\"image/x-icon\\": { - source: \\"apache\\", + "image/x-icon": { + source: "apache", compressible: true, - extensions: [\\"ico\\"] + extensions: ["ico"] }, - \\"image/x-jng\\": { - source: \\"nginx\\", - extensions: [\\"jng\\"] + "image/x-jng": { + source: "nginx", + extensions: ["jng"] }, - \\"image/x-mrsid-image\\": { - source: \\"apache\\", - extensions: [\\"sid\\"] + "image/x-mrsid-image": { + source: "apache", + extensions: ["sid"] }, - \\"image/x-ms-bmp\\": { - source: \\"nginx\\", + "image/x-ms-bmp": { + source: "nginx", compressible: true, - extensions: [\\"bmp\\"] + extensions: ["bmp"] }, - \\"image/x-pcx\\": { - source: \\"apache\\", - extensions: [\\"pcx\\"] + "image/x-pcx": { + source: "apache", + extensions: ["pcx"] }, - \\"image/x-pict\\": { - source: \\"apache\\", - extensions: [\\"pic\\", \\"pct\\"] + "image/x-pict": { + source: "apache", + extensions: ["pic", "pct"] }, - \\"image/x-portable-anymap\\": { - source: \\"apache\\", - extensions: [\\"pnm\\"] + "image/x-portable-anymap": { + source: "apache", + extensions: ["pnm"] }, - \\"image/x-portable-bitmap\\": { - source: \\"apache\\", - extensions: [\\"pbm\\"] + "image/x-portable-bitmap": { + source: "apache", + extensions: ["pbm"] }, - \\"image/x-portable-graymap\\": { - source: \\"apache\\", - extensions: [\\"pgm\\"] + "image/x-portable-graymap": { + source: "apache", + extensions: ["pgm"] }, - \\"image/x-portable-pixmap\\": { - source: \\"apache\\", - extensions: [\\"ppm\\"] + "image/x-portable-pixmap": { + source: "apache", + extensions: ["ppm"] }, - \\"image/x-rgb\\": { - source: \\"apache\\", - extensions: [\\"rgb\\"] + "image/x-rgb": { + source: "apache", + extensions: ["rgb"] }, - \\"image/x-tga\\": { - source: \\"apache\\", - extensions: [\\"tga\\"] + "image/x-tga": { + source: "apache", + extensions: ["tga"] }, - \\"image/x-xbitmap\\": { - source: \\"apache\\", - extensions: [\\"xbm\\"] + "image/x-xbitmap": { + source: "apache", + extensions: ["xbm"] }, - \\"image/x-xcf\\": { + "image/x-xcf": { compressible: false }, - \\"image/x-xpixmap\\": { - source: \\"apache\\", - extensions: [\\"xpm\\"] + "image/x-xpixmap": { + source: "apache", + extensions: ["xpm"] }, - \\"image/x-xwindowdump\\": { - source: \\"apache\\", - extensions: [\\"xwd\\"] + "image/x-xwindowdump": { + source: "apache", + extensions: ["xwd"] }, - \\"message/cpim\\": { - source: \\"iana\\" + "message/cpim": { + source: "iana" }, - \\"message/delivery-status\\": { - source: \\"iana\\" + "message/delivery-status": { + source: "iana" }, - \\"message/disposition-notification\\": { - source: \\"iana\\", + "message/disposition-notification": { + source: "iana", extensions: [ - \\"disposition-notification\\" + "disposition-notification" ] }, - \\"message/external-body\\": { - source: \\"iana\\" + "message/external-body": { + source: "iana" }, - \\"message/feedback-report\\": { - source: \\"iana\\" + "message/feedback-report": { + source: "iana" }, - \\"message/global\\": { - source: \\"iana\\", - extensions: [\\"u8msg\\"] + "message/global": { + source: "iana", + extensions: ["u8msg"] }, - \\"message/global-delivery-status\\": { - source: \\"iana\\", - extensions: [\\"u8dsn\\"] + "message/global-delivery-status": { + source: "iana", + extensions: ["u8dsn"] }, - \\"message/global-disposition-notification\\": { - source: \\"iana\\", - extensions: [\\"u8mdn\\"] + "message/global-disposition-notification": { + source: "iana", + extensions: ["u8mdn"] }, - \\"message/global-headers\\": { - source: \\"iana\\", - extensions: [\\"u8hdr\\"] + "message/global-headers": { + source: "iana", + extensions: ["u8hdr"] }, - \\"message/http\\": { - source: \\"iana\\", + "message/http": { + source: "iana", compressible: false }, - \\"message/imdn+xml\\": { - source: \\"iana\\", + "message/imdn+xml": { + source: "iana", compressible: true }, - \\"message/news\\": { - source: \\"iana\\" + "message/news": { + source: "iana" }, - \\"message/partial\\": { - source: \\"iana\\", + "message/partial": { + source: "iana", compressible: false }, - \\"message/rfc822\\": { - source: \\"iana\\", + "message/rfc822": { + source: "iana", compressible: true, - extensions: [\\"eml\\", \\"mime\\"] + extensions: ["eml", "mime"] }, - \\"message/s-http\\": { - source: \\"iana\\" + "message/s-http": { + source: "iana" }, - \\"message/sip\\": { - source: \\"iana\\" + "message/sip": { + source: "iana" }, - \\"message/sipfrag\\": { - source: \\"iana\\" + "message/sipfrag": { + source: "iana" }, - \\"message/tracking-status\\": { - source: \\"iana\\" + "message/tracking-status": { + source: "iana" }, - \\"message/vnd.si.simp\\": { - source: \\"iana\\" + "message/vnd.si.simp": { + source: "iana" }, - \\"message/vnd.wfa.wsc\\": { - source: \\"iana\\", - extensions: [\\"wsc\\"] + "message/vnd.wfa.wsc": { + source: "iana", + extensions: ["wsc"] }, - \\"model/3mf\\": { - source: \\"iana\\", - extensions: [\\"3mf\\"] + "model/3mf": { + source: "iana", + extensions: ["3mf"] }, - \\"model/e57\\": { - source: \\"iana\\" + "model/e57": { + source: "iana" }, - \\"model/gltf+json\\": { - source: \\"iana\\", + "model/gltf+json": { + source: "iana", compressible: true, - extensions: [\\"gltf\\"] + extensions: ["gltf"] }, - \\"model/gltf-binary\\": { - source: \\"iana\\", + "model/gltf-binary": { + source: "iana", compressible: true, - extensions: [\\"glb\\"] + extensions: ["glb"] }, - \\"model/iges\\": { - source: \\"iana\\", + "model/iges": { + source: "iana", compressible: false, - extensions: [\\"igs\\", \\"iges\\"] + extensions: ["igs", "iges"] }, - \\"model/mesh\\": { - source: \\"iana\\", + "model/mesh": { + source: "iana", compressible: false, - extensions: [\\"msh\\", \\"mesh\\", \\"silo\\"] + extensions: ["msh", "mesh", "silo"] }, - \\"model/mtl\\": { - source: \\"iana\\", - extensions: [\\"mtl\\"] + "model/mtl": { + source: "iana", + extensions: ["mtl"] }, - \\"model/obj\\": { - source: \\"iana\\", - extensions: [\\"obj\\"] + "model/obj": { + source: "iana", + extensions: ["obj"] }, - \\"model/step\\": { - source: \\"iana\\" + "model/step": { + source: "iana" }, - \\"model/step+xml\\": { - source: \\"iana\\", + "model/step+xml": { + source: "iana", compressible: true, - extensions: [\\"stpx\\"] + extensions: ["stpx"] }, - \\"model/step+zip\\": { - source: \\"iana\\", + "model/step+zip": { + source: "iana", compressible: false, - extensions: [\\"stpz\\"] + extensions: ["stpz"] }, - \\"model/step-xml+zip\\": { - source: \\"iana\\", + "model/step-xml+zip": { + source: "iana", compressible: false, - extensions: [\\"stpxz\\"] + extensions: ["stpxz"] }, - \\"model/stl\\": { - source: \\"iana\\", - extensions: [\\"stl\\"] + "model/stl": { + source: "iana", + extensions: ["stl"] }, - \\"model/vnd.collada+xml\\": { - source: \\"iana\\", + "model/vnd.collada+xml": { + source: "iana", compressible: true, - extensions: [\\"dae\\"] + extensions: ["dae"] }, - \\"model/vnd.dwf\\": { - source: \\"iana\\", - extensions: [\\"dwf\\"] + "model/vnd.dwf": { + source: "iana", + extensions: ["dwf"] }, - \\"model/vnd.flatland.3dml\\": { - source: \\"iana\\" + "model/vnd.flatland.3dml": { + source: "iana" }, - \\"model/vnd.gdl\\": { - source: \\"iana\\", - extensions: [\\"gdl\\"] + "model/vnd.gdl": { + source: "iana", + extensions: ["gdl"] }, - \\"model/vnd.gs-gdl\\": { - source: \\"apache\\" + "model/vnd.gs-gdl": { + source: "apache" }, - \\"model/vnd.gs.gdl\\": { - source: \\"iana\\" + "model/vnd.gs.gdl": { + source: "iana" }, - \\"model/vnd.gtw\\": { - source: \\"iana\\", - extensions: [\\"gtw\\"] + "model/vnd.gtw": { + source: "iana", + extensions: ["gtw"] }, - \\"model/vnd.moml+xml\\": { - source: \\"iana\\", + "model/vnd.moml+xml": { + source: "iana", compressible: true }, - \\"model/vnd.mts\\": { - source: \\"iana\\", - extensions: [\\"mts\\"] + "model/vnd.mts": { + source: "iana", + extensions: ["mts"] }, - \\"model/vnd.opengex\\": { - source: \\"iana\\", - extensions: [\\"ogex\\"] + "model/vnd.opengex": { + source: "iana", + extensions: ["ogex"] }, - \\"model/vnd.parasolid.transmit.binary\\": { - source: \\"iana\\", - extensions: [\\"x_b\\"] + "model/vnd.parasolid.transmit.binary": { + source: "iana", + extensions: ["x_b"] }, - \\"model/vnd.parasolid.transmit.text\\": { - source: \\"iana\\", - extensions: [\\"x_t\\"] + "model/vnd.parasolid.transmit.text": { + source: "iana", + extensions: ["x_t"] }, - \\"model/vnd.pytha.pyox\\": { - source: \\"iana\\" + "model/vnd.pytha.pyox": { + source: "iana" }, - \\"model/vnd.rosette.annotated-data-model\\": { - source: \\"iana\\" + "model/vnd.rosette.annotated-data-model": { + source: "iana" }, - \\"model/vnd.sap.vds\\": { - source: \\"iana\\", - extensions: [\\"vds\\"] + "model/vnd.sap.vds": { + source: "iana", + extensions: ["vds"] }, - \\"model/vnd.usdz+zip\\": { - source: \\"iana\\", + "model/vnd.usdz+zip": { + source: "iana", compressible: false, - extensions: [\\"usdz\\"] + extensions: ["usdz"] }, - \\"model/vnd.valve.source.compiled-map\\": { - source: \\"iana\\", - extensions: [\\"bsp\\"] + "model/vnd.valve.source.compiled-map": { + source: "iana", + extensions: ["bsp"] }, - \\"model/vnd.vtu\\": { - source: \\"iana\\", - extensions: [\\"vtu\\"] + "model/vnd.vtu": { + source: "iana", + extensions: ["vtu"] }, - \\"model/vrml\\": { - source: \\"iana\\", + "model/vrml": { + source: "iana", compressible: false, - extensions: [\\"wrl\\", \\"vrml\\"] + extensions: ["wrl", "vrml"] }, - \\"model/x3d+binary\\": { - source: \\"apache\\", + "model/x3d+binary": { + source: "apache", compressible: false, - extensions: [\\"x3db\\", \\"x3dbz\\"] + extensions: ["x3db", "x3dbz"] }, - \\"model/x3d+fastinfoset\\": { - source: \\"iana\\", - extensions: [\\"x3db\\"] + "model/x3d+fastinfoset": { + source: "iana", + extensions: ["x3db"] }, - \\"model/x3d+vrml\\": { - source: \\"apache\\", + "model/x3d+vrml": { + source: "apache", compressible: false, - extensions: [\\"x3dv\\", \\"x3dvz\\"] + extensions: ["x3dv", "x3dvz"] }, - \\"model/x3d+xml\\": { - source: \\"iana\\", + "model/x3d+xml": { + source: "iana", compressible: true, - extensions: [\\"x3d\\", \\"x3dz\\"] + extensions: ["x3d", "x3dz"] }, - \\"model/x3d-vrml\\": { - source: \\"iana\\", - extensions: [\\"x3dv\\"] + "model/x3d-vrml": { + source: "iana", + extensions: ["x3dv"] }, - \\"multipart/alternative\\": { - source: \\"iana\\", + "multipart/alternative": { + source: "iana", compressible: false }, - \\"multipart/appledouble\\": { - source: \\"iana\\" + "multipart/appledouble": { + source: "iana" }, - \\"multipart/byteranges\\": { - source: \\"iana\\" + "multipart/byteranges": { + source: "iana" }, - \\"multipart/digest\\": { - source: \\"iana\\" + "multipart/digest": { + source: "iana" }, - \\"multipart/encrypted\\": { - source: \\"iana\\", + "multipart/encrypted": { + source: "iana", compressible: false }, - \\"multipart/form-data\\": { - source: \\"iana\\", + "multipart/form-data": { + source: "iana", compressible: false }, - \\"multipart/header-set\\": { - source: \\"iana\\" + "multipart/header-set": { + source: "iana" }, - \\"multipart/mixed\\": { - source: \\"iana\\" + "multipart/mixed": { + source: "iana" }, - \\"multipart/multilingual\\": { - source: \\"iana\\" + "multipart/multilingual": { + source: "iana" }, - \\"multipart/parallel\\": { - source: \\"iana\\" + "multipart/parallel": { + source: "iana" }, - \\"multipart/related\\": { - source: \\"iana\\", + "multipart/related": { + source: "iana", compressible: false }, - \\"multipart/report\\": { - source: \\"iana\\" + "multipart/report": { + source: "iana" }, - \\"multipart/signed\\": { - source: \\"iana\\", + "multipart/signed": { + source: "iana", compressible: false }, - \\"multipart/vnd.bint.med-plus\\": { - source: \\"iana\\" + "multipart/vnd.bint.med-plus": { + source: "iana" }, - \\"multipart/voice-message\\": { - source: \\"iana\\" + "multipart/voice-message": { + source: "iana" }, - \\"multipart/x-mixed-replace\\": { - source: \\"iana\\" + "multipart/x-mixed-replace": { + source: "iana" }, - \\"text/1d-interleaved-parityfec\\": { - source: \\"iana\\" + "text/1d-interleaved-parityfec": { + source: "iana" }, - \\"text/cache-manifest\\": { - source: \\"iana\\", + "text/cache-manifest": { + source: "iana", compressible: true, - extensions: [\\"appcache\\", \\"manifest\\"] + extensions: ["appcache", "manifest"] }, - \\"text/calendar\\": { - source: \\"iana\\", - extensions: [\\"ics\\", \\"ifb\\"] + "text/calendar": { + source: "iana", + extensions: ["ics", "ifb"] }, - \\"text/calender\\": { + "text/calender": { compressible: true }, - \\"text/cmd\\": { + "text/cmd": { compressible: true }, - \\"text/coffeescript\\": { - extensions: [\\"coffee\\", \\"litcoffee\\"] + "text/coffeescript": { + extensions: ["coffee", "litcoffee"] }, - \\"text/cql\\": { - source: \\"iana\\" + "text/cql": { + source: "iana" }, - \\"text/cql-expression\\": { - source: \\"iana\\" + "text/cql-expression": { + source: "iana" }, - \\"text/cql-identifier\\": { - source: \\"iana\\" + "text/cql-identifier": { + source: "iana" }, - \\"text/css\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "text/css": { + source: "iana", + charset: "UTF-8", compressible: true, - extensions: [\\"css\\"] + extensions: ["css"] }, - \\"text/csv\\": { - source: \\"iana\\", + "text/csv": { + source: "iana", compressible: true, - extensions: [\\"csv\\"] + extensions: ["csv"] }, - \\"text/csv-schema\\": { - source: \\"iana\\" + "text/csv-schema": { + source: "iana" }, - \\"text/directory\\": { - source: \\"iana\\" + "text/directory": { + source: "iana" }, - \\"text/dns\\": { - source: \\"iana\\" + "text/dns": { + source: "iana" }, - \\"text/ecmascript\\": { - source: \\"iana\\" + "text/ecmascript": { + source: "iana" }, - \\"text/encaprtp\\": { - source: \\"iana\\" + "text/encaprtp": { + source: "iana" }, - \\"text/enriched\\": { - source: \\"iana\\" + "text/enriched": { + source: "iana" }, - \\"text/fhirpath\\": { - source: \\"iana\\" + "text/fhirpath": { + source: "iana" }, - \\"text/flexfec\\": { - source: \\"iana\\" + "text/flexfec": { + source: "iana" }, - \\"text/fwdred\\": { - source: \\"iana\\" + "text/fwdred": { + source: "iana" }, - \\"text/gff3\\": { - source: \\"iana\\" + "text/gff3": { + source: "iana" }, - \\"text/grammar-ref-list\\": { - source: \\"iana\\" + "text/grammar-ref-list": { + source: "iana" }, - \\"text/html\\": { - source: \\"iana\\", + "text/html": { + source: "iana", compressible: true, - extensions: [\\"html\\", \\"htm\\", \\"shtml\\"] + extensions: ["html", "htm", "shtml"] }, - \\"text/jade\\": { - extensions: [\\"jade\\"] + "text/jade": { + extensions: ["jade"] }, - \\"text/javascript\\": { - source: \\"iana\\", + "text/javascript": { + source: "iana", compressible: true }, - \\"text/jcr-cnd\\": { - source: \\"iana\\" + "text/jcr-cnd": { + source: "iana" }, - \\"text/jsx\\": { + "text/jsx": { compressible: true, - extensions: [\\"jsx\\"] + extensions: ["jsx"] }, - \\"text/less\\": { + "text/less": { compressible: true, - extensions: [\\"less\\"] + extensions: ["less"] }, - \\"text/markdown\\": { - source: \\"iana\\", + "text/markdown": { + source: "iana", compressible: true, - extensions: [\\"markdown\\", \\"md\\"] + extensions: ["markdown", "md"] }, - \\"text/mathml\\": { - source: \\"nginx\\", - extensions: [\\"mml\\"] + "text/mathml": { + source: "nginx", + extensions: ["mml"] }, - \\"text/mdx\\": { + "text/mdx": { compressible: true, - extensions: [\\"mdx\\"] + extensions: ["mdx"] }, - \\"text/mizar\\": { - source: \\"iana\\" + "text/mizar": { + source: "iana" }, - \\"text/n3\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "text/n3": { + source: "iana", + charset: "UTF-8", compressible: true, - extensions: [\\"n3\\"] + extensions: ["n3"] }, - \\"text/parameters\\": { - source: \\"iana\\", - charset: \\"UTF-8\\" + "text/parameters": { + source: "iana", + charset: "UTF-8" }, - \\"text/parityfec\\": { - source: \\"iana\\" + "text/parityfec": { + source: "iana" }, - \\"text/plain\\": { - source: \\"iana\\", + "text/plain": { + source: "iana", compressible: true, - extensions: [\\"txt\\", \\"text\\", \\"conf\\", \\"def\\", \\"list\\", \\"log\\", \\"in\\", \\"ini\\"] + extensions: ["txt", "text", "conf", "def", "list", "log", "in", "ini"] }, - \\"text/provenance-notation\\": { - source: \\"iana\\", - charset: \\"UTF-8\\" + "text/provenance-notation": { + source: "iana", + charset: "UTF-8" }, - \\"text/prs.fallenstein.rst\\": { - source: \\"iana\\" + "text/prs.fallenstein.rst": { + source: "iana" }, - \\"text/prs.lines.tag\\": { - source: \\"iana\\", - extensions: [\\"dsc\\"] + "text/prs.lines.tag": { + source: "iana", + extensions: ["dsc"] }, - \\"text/prs.prop.logic\\": { - source: \\"iana\\" + "text/prs.prop.logic": { + source: "iana" }, - \\"text/raptorfec\\": { - source: \\"iana\\" + "text/raptorfec": { + source: "iana" }, - \\"text/red\\": { - source: \\"iana\\" + "text/red": { + source: "iana" }, - \\"text/rfc822-headers\\": { - source: \\"iana\\" + "text/rfc822-headers": { + source: "iana" }, - \\"text/richtext\\": { - source: \\"iana\\", + "text/richtext": { + source: "iana", compressible: true, - extensions: [\\"rtx\\"] + extensions: ["rtx"] }, - \\"text/rtf\\": { - source: \\"iana\\", + "text/rtf": { + source: "iana", compressible: true, - extensions: [\\"rtf\\"] + extensions: ["rtf"] }, - \\"text/rtp-enc-aescm128\\": { - source: \\"iana\\" + "text/rtp-enc-aescm128": { + source: "iana" }, - \\"text/rtploopback\\": { - source: \\"iana\\" + "text/rtploopback": { + source: "iana" }, - \\"text/rtx\\": { - source: \\"iana\\" + "text/rtx": { + source: "iana" }, - \\"text/sgml\\": { - source: \\"iana\\", - extensions: [\\"sgml\\", \\"sgm\\"] + "text/sgml": { + source: "iana", + extensions: ["sgml", "sgm"] }, - \\"text/shaclc\\": { - source: \\"iana\\" + "text/shaclc": { + source: "iana" }, - \\"text/shex\\": { - source: \\"iana\\", - extensions: [\\"shex\\"] + "text/shex": { + source: "iana", + extensions: ["shex"] }, - \\"text/slim\\": { - extensions: [\\"slim\\", \\"slm\\"] + "text/slim": { + extensions: ["slim", "slm"] }, - \\"text/spdx\\": { - source: \\"iana\\", - extensions: [\\"spdx\\"] + "text/spdx": { + source: "iana", + extensions: ["spdx"] }, - \\"text/strings\\": { - source: \\"iana\\" + "text/strings": { + source: "iana" }, - \\"text/stylus\\": { - extensions: [\\"stylus\\", \\"styl\\"] + "text/stylus": { + extensions: ["stylus", "styl"] }, - \\"text/t140\\": { - source: \\"iana\\" + "text/t140": { + source: "iana" }, - \\"text/tab-separated-values\\": { - source: \\"iana\\", + "text/tab-separated-values": { + source: "iana", compressible: true, - extensions: [\\"tsv\\"] + extensions: ["tsv"] }, - \\"text/troff\\": { - source: \\"iana\\", - extensions: [\\"t\\", \\"tr\\", \\"roff\\", \\"man\\", \\"me\\", \\"ms\\"] + "text/troff": { + source: "iana", + extensions: ["t", "tr", "roff", "man", "me", "ms"] }, - \\"text/turtle\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", - extensions: [\\"ttl\\"] + "text/turtle": { + source: "iana", + charset: "UTF-8", + extensions: ["ttl"] }, - \\"text/ulpfec\\": { - source: \\"iana\\" + "text/ulpfec": { + source: "iana" }, - \\"text/uri-list\\": { - source: \\"iana\\", + "text/uri-list": { + source: "iana", compressible: true, - extensions: [\\"uri\\", \\"uris\\", \\"urls\\"] + extensions: ["uri", "uris", "urls"] }, - \\"text/vcard\\": { - source: \\"iana\\", + "text/vcard": { + source: "iana", compressible: true, - extensions: [\\"vcard\\"] + extensions: ["vcard"] }, - \\"text/vnd.a\\": { - source: \\"iana\\" + "text/vnd.a": { + source: "iana" }, - \\"text/vnd.abc\\": { - source: \\"iana\\" + "text/vnd.abc": { + source: "iana" }, - \\"text/vnd.ascii-art\\": { - source: \\"iana\\" + "text/vnd.ascii-art": { + source: "iana" }, - \\"text/vnd.curl\\": { - source: \\"iana\\", - extensions: [\\"curl\\"] + "text/vnd.curl": { + source: "iana", + extensions: ["curl"] }, - \\"text/vnd.curl.dcurl\\": { - source: \\"apache\\", - extensions: [\\"dcurl\\"] + "text/vnd.curl.dcurl": { + source: "apache", + extensions: ["dcurl"] }, - \\"text/vnd.curl.mcurl\\": { - source: \\"apache\\", - extensions: [\\"mcurl\\"] + "text/vnd.curl.mcurl": { + source: "apache", + extensions: ["mcurl"] }, - \\"text/vnd.curl.scurl\\": { - source: \\"apache\\", - extensions: [\\"scurl\\"] + "text/vnd.curl.scurl": { + source: "apache", + extensions: ["scurl"] }, - \\"text/vnd.debian.copyright\\": { - source: \\"iana\\", - charset: \\"UTF-8\\" + "text/vnd.debian.copyright": { + source: "iana", + charset: "UTF-8" }, - \\"text/vnd.dmclientscript\\": { - source: \\"iana\\" + "text/vnd.dmclientscript": { + source: "iana" }, - \\"text/vnd.dvb.subtitle\\": { - source: \\"iana\\", - extensions: [\\"sub\\"] + "text/vnd.dvb.subtitle": { + source: "iana", + extensions: ["sub"] }, - \\"text/vnd.esmertec.theme-descriptor\\": { - source: \\"iana\\", - charset: \\"UTF-8\\" + "text/vnd.esmertec.theme-descriptor": { + source: "iana", + charset: "UTF-8" }, - \\"text/vnd.familysearch.gedcom\\": { - source: \\"iana\\", - extensions: [\\"ged\\"] + "text/vnd.familysearch.gedcom": { + source: "iana", + extensions: ["ged"] }, - \\"text/vnd.ficlab.flt\\": { - source: \\"iana\\" + "text/vnd.ficlab.flt": { + source: "iana" }, - \\"text/vnd.fly\\": { - source: \\"iana\\", - extensions: [\\"fly\\"] + "text/vnd.fly": { + source: "iana", + extensions: ["fly"] }, - \\"text/vnd.fmi.flexstor\\": { - source: \\"iana\\", - extensions: [\\"flx\\"] + "text/vnd.fmi.flexstor": { + source: "iana", + extensions: ["flx"] }, - \\"text/vnd.gml\\": { - source: \\"iana\\" + "text/vnd.gml": { + source: "iana" }, - \\"text/vnd.graphviz\\": { - source: \\"iana\\", - extensions: [\\"gv\\"] + "text/vnd.graphviz": { + source: "iana", + extensions: ["gv"] }, - \\"text/vnd.hans\\": { - source: \\"iana\\" + "text/vnd.hans": { + source: "iana" }, - \\"text/vnd.hgl\\": { - source: \\"iana\\" + "text/vnd.hgl": { + source: "iana" }, - \\"text/vnd.in3d.3dml\\": { - source: \\"iana\\", - extensions: [\\"3dml\\"] + "text/vnd.in3d.3dml": { + source: "iana", + extensions: ["3dml"] }, - \\"text/vnd.in3d.spot\\": { - source: \\"iana\\", - extensions: [\\"spot\\"] + "text/vnd.in3d.spot": { + source: "iana", + extensions: ["spot"] }, - \\"text/vnd.iptc.newsml\\": { - source: \\"iana\\" + "text/vnd.iptc.newsml": { + source: "iana" }, - \\"text/vnd.iptc.nitf\\": { - source: \\"iana\\" + "text/vnd.iptc.nitf": { + source: "iana" }, - \\"text/vnd.latex-z\\": { - source: \\"iana\\" + "text/vnd.latex-z": { + source: "iana" }, - \\"text/vnd.motorola.reflex\\": { - source: \\"iana\\" + "text/vnd.motorola.reflex": { + source: "iana" }, - \\"text/vnd.ms-mediapackage\\": { - source: \\"iana\\" + "text/vnd.ms-mediapackage": { + source: "iana" }, - \\"text/vnd.net2phone.commcenter.command\\": { - source: \\"iana\\" + "text/vnd.net2phone.commcenter.command": { + source: "iana" }, - \\"text/vnd.radisys.msml-basic-layout\\": { - source: \\"iana\\" + "text/vnd.radisys.msml-basic-layout": { + source: "iana" }, - \\"text/vnd.senx.warpscript\\": { - source: \\"iana\\" + "text/vnd.senx.warpscript": { + source: "iana" }, - \\"text/vnd.si.uricatalogue\\": { - source: \\"iana\\" + "text/vnd.si.uricatalogue": { + source: "iana" }, - \\"text/vnd.sosi\\": { - source: \\"iana\\" + "text/vnd.sosi": { + source: "iana" }, - \\"text/vnd.sun.j2me.app-descriptor\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", - extensions: [\\"jad\\"] + "text/vnd.sun.j2me.app-descriptor": { + source: "iana", + charset: "UTF-8", + extensions: ["jad"] }, - \\"text/vnd.trolltech.linguist\\": { - source: \\"iana\\", - charset: \\"UTF-8\\" + "text/vnd.trolltech.linguist": { + source: "iana", + charset: "UTF-8" }, - \\"text/vnd.wap.si\\": { - source: \\"iana\\" + "text/vnd.wap.si": { + source: "iana" }, - \\"text/vnd.wap.sl\\": { - source: \\"iana\\" + "text/vnd.wap.sl": { + source: "iana" }, - \\"text/vnd.wap.wml\\": { - source: \\"iana\\", - extensions: [\\"wml\\"] + "text/vnd.wap.wml": { + source: "iana", + extensions: ["wml"] }, - \\"text/vnd.wap.wmlscript\\": { - source: \\"iana\\", - extensions: [\\"wmls\\"] + "text/vnd.wap.wmlscript": { + source: "iana", + extensions: ["wmls"] }, - \\"text/vtt\\": { - source: \\"iana\\", - charset: \\"UTF-8\\", + "text/vtt": { + source: "iana", + charset: "UTF-8", compressible: true, - extensions: [\\"vtt\\"] + extensions: ["vtt"] }, - \\"text/x-asm\\": { - source: \\"apache\\", - extensions: [\\"s\\", \\"asm\\"] + "text/x-asm": { + source: "apache", + extensions: ["s", "asm"] }, - \\"text/x-c\\": { - source: \\"apache\\", - extensions: [\\"c\\", \\"cc\\", \\"cxx\\", \\"cpp\\", \\"h\\", \\"hh\\", \\"dic\\"] + "text/x-c": { + source: "apache", + extensions: ["c", "cc", "cxx", "cpp", "h", "hh", "dic"] }, - \\"text/x-component\\": { - source: \\"nginx\\", - extensions: [\\"htc\\"] + "text/x-component": { + source: "nginx", + extensions: ["htc"] }, - \\"text/x-fortran\\": { - source: \\"apache\\", - extensions: [\\"f\\", \\"for\\", \\"f77\\", \\"f90\\"] + "text/x-fortran": { + source: "apache", + extensions: ["f", "for", "f77", "f90"] }, - \\"text/x-gwt-rpc\\": { + "text/x-gwt-rpc": { compressible: true }, - \\"text/x-handlebars-template\\": { - extensions: [\\"hbs\\"] + "text/x-handlebars-template": { + extensions: ["hbs"] }, - \\"text/x-java-source\\": { - source: \\"apache\\", - extensions: [\\"java\\"] + "text/x-java-source": { + source: "apache", + extensions: ["java"] }, - \\"text/x-jquery-tmpl\\": { + "text/x-jquery-tmpl": { compressible: true }, - \\"text/x-lua\\": { - extensions: [\\"lua\\"] + "text/x-lua": { + extensions: ["lua"] }, - \\"text/x-markdown\\": { + "text/x-markdown": { compressible: true, - extensions: [\\"mkd\\"] + extensions: ["mkd"] }, - \\"text/x-nfo\\": { - source: \\"apache\\", - extensions: [\\"nfo\\"] + "text/x-nfo": { + source: "apache", + extensions: ["nfo"] }, - \\"text/x-opml\\": { - source: \\"apache\\", - extensions: [\\"opml\\"] + "text/x-opml": { + source: "apache", + extensions: ["opml"] }, - \\"text/x-org\\": { + "text/x-org": { compressible: true, - extensions: [\\"org\\"] + extensions: ["org"] }, - \\"text/x-pascal\\": { - source: \\"apache\\", - extensions: [\\"p\\", \\"pas\\"] + "text/x-pascal": { + source: "apache", + extensions: ["p", "pas"] }, - \\"text/x-processing\\": { + "text/x-processing": { compressible: true, - extensions: [\\"pde\\"] + extensions: ["pde"] }, - \\"text/x-sass\\": { - extensions: [\\"sass\\"] + "text/x-sass": { + extensions: ["sass"] }, - \\"text/x-scss\\": { - extensions: [\\"scss\\"] + "text/x-scss": { + extensions: ["scss"] }, - \\"text/x-setext\\": { - source: \\"apache\\", - extensions: [\\"etx\\"] + "text/x-setext": { + source: "apache", + extensions: ["etx"] }, - \\"text/x-sfv\\": { - source: \\"apache\\", - extensions: [\\"sfv\\"] + "text/x-sfv": { + source: "apache", + extensions: ["sfv"] }, - \\"text/x-suse-ymp\\": { + "text/x-suse-ymp": { compressible: true, - extensions: [\\"ymp\\"] + extensions: ["ymp"] }, - \\"text/x-uuencode\\": { - source: \\"apache\\", - extensions: [\\"uu\\"] + "text/x-uuencode": { + source: "apache", + extensions: ["uu"] }, - \\"text/x-vcalendar\\": { - source: \\"apache\\", - extensions: [\\"vcs\\"] + "text/x-vcalendar": { + source: "apache", + extensions: ["vcs"] }, - \\"text/x-vcard\\": { - source: \\"apache\\", - extensions: [\\"vcf\\"] + "text/x-vcard": { + source: "apache", + extensions: ["vcf"] }, - \\"text/xml\\": { - source: \\"iana\\", + "text/xml": { + source: "iana", compressible: true, - extensions: [\\"xml\\"] + extensions: ["xml"] }, - \\"text/xml-external-parsed-entity\\": { - source: \\"iana\\" + "text/xml-external-parsed-entity": { + source: "iana" }, - \\"text/yaml\\": { + "text/yaml": { compressible: true, - extensions: [\\"yaml\\", \\"yml\\"] + extensions: ["yaml", "yml"] }, - \\"video/1d-interleaved-parityfec\\": { - source: \\"iana\\" + "video/1d-interleaved-parityfec": { + source: "iana" }, - \\"video/3gpp\\": { - source: \\"iana\\", - extensions: [\\"3gp\\", \\"3gpp\\"] + "video/3gpp": { + source: "iana", + extensions: ["3gp", "3gpp"] }, - \\"video/3gpp-tt\\": { - source: \\"iana\\" + "video/3gpp-tt": { + source: "iana" }, - \\"video/3gpp2\\": { - source: \\"iana\\", - extensions: [\\"3g2\\"] + "video/3gpp2": { + source: "iana", + extensions: ["3g2"] }, - \\"video/av1\\": { - source: \\"iana\\" + "video/av1": { + source: "iana" }, - \\"video/bmpeg\\": { - source: \\"iana\\" + "video/bmpeg": { + source: "iana" }, - \\"video/bt656\\": { - source: \\"iana\\" + "video/bt656": { + source: "iana" }, - \\"video/celb\\": { - source: \\"iana\\" + "video/celb": { + source: "iana" }, - \\"video/dv\\": { - source: \\"iana\\" + "video/dv": { + source: "iana" }, - \\"video/encaprtp\\": { - source: \\"iana\\" + "video/encaprtp": { + source: "iana" }, - \\"video/ffv1\\": { - source: \\"iana\\" + "video/ffv1": { + source: "iana" }, - \\"video/flexfec\\": { - source: \\"iana\\" + "video/flexfec": { + source: "iana" }, - \\"video/h261\\": { - source: \\"iana\\", - extensions: [\\"h261\\"] + "video/h261": { + source: "iana", + extensions: ["h261"] }, - \\"video/h263\\": { - source: \\"iana\\", - extensions: [\\"h263\\"] + "video/h263": { + source: "iana", + extensions: ["h263"] }, - \\"video/h263-1998\\": { - source: \\"iana\\" + "video/h263-1998": { + source: "iana" }, - \\"video/h263-2000\\": { - source: \\"iana\\" + "video/h263-2000": { + source: "iana" }, - \\"video/h264\\": { - source: \\"iana\\", - extensions: [\\"h264\\"] + "video/h264": { + source: "iana", + extensions: ["h264"] }, - \\"video/h264-rcdo\\": { - source: \\"iana\\" + "video/h264-rcdo": { + source: "iana" }, - \\"video/h264-svc\\": { - source: \\"iana\\" + "video/h264-svc": { + source: "iana" }, - \\"video/h265\\": { - source: \\"iana\\" + "video/h265": { + source: "iana" }, - \\"video/iso.segment\\": { - source: \\"iana\\", - extensions: [\\"m4s\\"] + "video/iso.segment": { + source: "iana", + extensions: ["m4s"] }, - \\"video/jpeg\\": { - source: \\"iana\\", - extensions: [\\"jpgv\\"] + "video/jpeg": { + source: "iana", + extensions: ["jpgv"] }, - \\"video/jpeg2000\\": { - source: \\"iana\\" + "video/jpeg2000": { + source: "iana" }, - \\"video/jpm\\": { - source: \\"apache\\", - extensions: [\\"jpm\\", \\"jpgm\\"] + "video/jpm": { + source: "apache", + extensions: ["jpm", "jpgm"] }, - \\"video/jxsv\\": { - source: \\"iana\\" + "video/jxsv": { + source: "iana" }, - \\"video/mj2\\": { - source: \\"iana\\", - extensions: [\\"mj2\\", \\"mjp2\\"] + "video/mj2": { + source: "iana", + extensions: ["mj2", "mjp2"] }, - \\"video/mp1s\\": { - source: \\"iana\\" + "video/mp1s": { + source: "iana" }, - \\"video/mp2p\\": { - source: \\"iana\\" + "video/mp2p": { + source: "iana" }, - \\"video/mp2t\\": { - source: \\"iana\\", - extensions: [\\"ts\\"] + "video/mp2t": { + source: "iana", + extensions: ["ts"] }, - \\"video/mp4\\": { - source: \\"iana\\", + "video/mp4": { + source: "iana", compressible: false, - extensions: [\\"mp4\\", \\"mp4v\\", \\"mpg4\\"] + extensions: ["mp4", "mp4v", "mpg4"] }, - \\"video/mp4v-es\\": { - source: \\"iana\\" + "video/mp4v-es": { + source: "iana" }, - \\"video/mpeg\\": { - source: \\"iana\\", + "video/mpeg": { + source: "iana", compressible: false, - extensions: [\\"mpeg\\", \\"mpg\\", \\"mpe\\", \\"m1v\\", \\"m2v\\"] + extensions: ["mpeg", "mpg", "mpe", "m1v", "m2v"] }, - \\"video/mpeg4-generic\\": { - source: \\"iana\\" + "video/mpeg4-generic": { + source: "iana" }, - \\"video/mpv\\": { - source: \\"iana\\" + "video/mpv": { + source: "iana" }, - \\"video/nv\\": { - source: \\"iana\\" + "video/nv": { + source: "iana" }, - \\"video/ogg\\": { - source: \\"iana\\", + "video/ogg": { + source: "iana", compressible: false, - extensions: [\\"ogv\\"] + extensions: ["ogv"] }, - \\"video/parityfec\\": { - source: \\"iana\\" + "video/parityfec": { + source: "iana" }, - \\"video/pointer\\": { - source: \\"iana\\" + "video/pointer": { + source: "iana" }, - \\"video/quicktime\\": { - source: \\"iana\\", + "video/quicktime": { + source: "iana", compressible: false, - extensions: [\\"qt\\", \\"mov\\"] + extensions: ["qt", "mov"] }, - \\"video/raptorfec\\": { - source: \\"iana\\" + "video/raptorfec": { + source: "iana" }, - \\"video/raw\\": { - source: \\"iana\\" + "video/raw": { + source: "iana" }, - \\"video/rtp-enc-aescm128\\": { - source: \\"iana\\" + "video/rtp-enc-aescm128": { + source: "iana" }, - \\"video/rtploopback\\": { - source: \\"iana\\" + "video/rtploopback": { + source: "iana" }, - \\"video/rtx\\": { - source: \\"iana\\" + "video/rtx": { + source: "iana" }, - \\"video/scip\\": { - source: \\"iana\\" + "video/scip": { + source: "iana" }, - \\"video/smpte291\\": { - source: \\"iana\\" + "video/smpte291": { + source: "iana" }, - \\"video/smpte292m\\": { - source: \\"iana\\" + "video/smpte292m": { + source: "iana" }, - \\"video/ulpfec\\": { - source: \\"iana\\" + "video/ulpfec": { + source: "iana" }, - \\"video/vc1\\": { - source: \\"iana\\" + "video/vc1": { + source: "iana" }, - \\"video/vc2\\": { - source: \\"iana\\" + "video/vc2": { + source: "iana" }, - \\"video/vnd.cctv\\": { - source: \\"iana\\" + "video/vnd.cctv": { + source: "iana" }, - \\"video/vnd.dece.hd\\": { - source: \\"iana\\", - extensions: [\\"uvh\\", \\"uvvh\\"] + "video/vnd.dece.hd": { + source: "iana", + extensions: ["uvh", "uvvh"] }, - \\"video/vnd.dece.mobile\\": { - source: \\"iana\\", - extensions: [\\"uvm\\", \\"uvvm\\"] + "video/vnd.dece.mobile": { + source: "iana", + extensions: ["uvm", "uvvm"] }, - \\"video/vnd.dece.mp4\\": { - source: \\"iana\\" + "video/vnd.dece.mp4": { + source: "iana" }, - \\"video/vnd.dece.pd\\": { - source: \\"iana\\", - extensions: [\\"uvp\\", \\"uvvp\\"] + "video/vnd.dece.pd": { + source: "iana", + extensions: ["uvp", "uvvp"] }, - \\"video/vnd.dece.sd\\": { - source: \\"iana\\", - extensions: [\\"uvs\\", \\"uvvs\\"] + "video/vnd.dece.sd": { + source: "iana", + extensions: ["uvs", "uvvs"] }, - \\"video/vnd.dece.video\\": { - source: \\"iana\\", - extensions: [\\"uvv\\", \\"uvvv\\"] + "video/vnd.dece.video": { + source: "iana", + extensions: ["uvv", "uvvv"] }, - \\"video/vnd.directv.mpeg\\": { - source: \\"iana\\" + "video/vnd.directv.mpeg": { + source: "iana" }, - \\"video/vnd.directv.mpeg-tts\\": { - source: \\"iana\\" + "video/vnd.directv.mpeg-tts": { + source: "iana" }, - \\"video/vnd.dlna.mpeg-tts\\": { - source: \\"iana\\" + "video/vnd.dlna.mpeg-tts": { + source: "iana" }, - \\"video/vnd.dvb.file\\": { - source: \\"iana\\", - extensions: [\\"dvb\\"] + "video/vnd.dvb.file": { + source: "iana", + extensions: ["dvb"] }, - \\"video/vnd.fvt\\": { - source: \\"iana\\", - extensions: [\\"fvt\\"] + "video/vnd.fvt": { + source: "iana", + extensions: ["fvt"] }, - \\"video/vnd.hns.video\\": { - source: \\"iana\\" + "video/vnd.hns.video": { + source: "iana" }, - \\"video/vnd.iptvforum.1dparityfec-1010\\": { - source: \\"iana\\" + "video/vnd.iptvforum.1dparityfec-1010": { + source: "iana" }, - \\"video/vnd.iptvforum.1dparityfec-2005\\": { - source: \\"iana\\" + "video/vnd.iptvforum.1dparityfec-2005": { + source: "iana" }, - \\"video/vnd.iptvforum.2dparityfec-1010\\": { - source: \\"iana\\" + "video/vnd.iptvforum.2dparityfec-1010": { + source: "iana" }, - \\"video/vnd.iptvforum.2dparityfec-2005\\": { - source: \\"iana\\" + "video/vnd.iptvforum.2dparityfec-2005": { + source: "iana" }, - \\"video/vnd.iptvforum.ttsavc\\": { - source: \\"iana\\" + "video/vnd.iptvforum.ttsavc": { + source: "iana" }, - \\"video/vnd.iptvforum.ttsmpeg2\\": { - source: \\"iana\\" + "video/vnd.iptvforum.ttsmpeg2": { + source: "iana" }, - \\"video/vnd.motorola.video\\": { - source: \\"iana\\" + "video/vnd.motorola.video": { + source: "iana" }, - \\"video/vnd.motorola.videop\\": { - source: \\"iana\\" + "video/vnd.motorola.videop": { + source: "iana" }, - \\"video/vnd.mpegurl\\": { - source: \\"iana\\", - extensions: [\\"mxu\\", \\"m4u\\"] + "video/vnd.mpegurl": { + source: "iana", + extensions: ["mxu", "m4u"] }, - \\"video/vnd.ms-playready.media.pyv\\": { - source: \\"iana\\", - extensions: [\\"pyv\\"] + "video/vnd.ms-playready.media.pyv": { + source: "iana", + extensions: ["pyv"] }, - \\"video/vnd.nokia.interleaved-multimedia\\": { - source: \\"iana\\" + "video/vnd.nokia.interleaved-multimedia": { + source: "iana" }, - \\"video/vnd.nokia.mp4vr\\": { - source: \\"iana\\" + "video/vnd.nokia.mp4vr": { + source: "iana" }, - \\"video/vnd.nokia.videovoip\\": { - source: \\"iana\\" + "video/vnd.nokia.videovoip": { + source: "iana" }, - \\"video/vnd.objectvideo\\": { - source: \\"iana\\" + "video/vnd.objectvideo": { + source: "iana" }, - \\"video/vnd.radgamettools.bink\\": { - source: \\"iana\\" + "video/vnd.radgamettools.bink": { + source: "iana" }, - \\"video/vnd.radgamettools.smacker\\": { - source: \\"iana\\" + "video/vnd.radgamettools.smacker": { + source: "iana" }, - \\"video/vnd.sealed.mpeg1\\": { - source: \\"iana\\" + "video/vnd.sealed.mpeg1": { + source: "iana" }, - \\"video/vnd.sealed.mpeg4\\": { - source: \\"iana\\" + "video/vnd.sealed.mpeg4": { + source: "iana" }, - \\"video/vnd.sealed.swf\\": { - source: \\"iana\\" + "video/vnd.sealed.swf": { + source: "iana" }, - \\"video/vnd.sealedmedia.softseal.mov\\": { - source: \\"iana\\" + "video/vnd.sealedmedia.softseal.mov": { + source: "iana" }, - \\"video/vnd.uvvu.mp4\\": { - source: \\"iana\\", - extensions: [\\"uvu\\", \\"uvvu\\"] + "video/vnd.uvvu.mp4": { + source: "iana", + extensions: ["uvu", "uvvu"] }, - \\"video/vnd.vivo\\": { - source: \\"iana\\", - extensions: [\\"viv\\"] + "video/vnd.vivo": { + source: "iana", + extensions: ["viv"] }, - \\"video/vnd.youtube.yt\\": { - source: \\"iana\\" + "video/vnd.youtube.yt": { + source: "iana" }, - \\"video/vp8\\": { - source: \\"iana\\" + "video/vp8": { + source: "iana" }, - \\"video/vp9\\": { - source: \\"iana\\" + "video/vp9": { + source: "iana" }, - \\"video/webm\\": { - source: \\"apache\\", + "video/webm": { + source: "apache", compressible: false, - extensions: [\\"webm\\"] + extensions: ["webm"] }, - \\"video/x-f4v\\": { - source: \\"apache\\", - extensions: [\\"f4v\\"] + "video/x-f4v": { + source: "apache", + extensions: ["f4v"] }, - \\"video/x-fli\\": { - source: \\"apache\\", - extensions: [\\"fli\\"] + "video/x-fli": { + source: "apache", + extensions: ["fli"] }, - \\"video/x-flv\\": { - source: \\"apache\\", + "video/x-flv": { + source: "apache", compressible: false, - extensions: [\\"flv\\"] + extensions: ["flv"] }, - \\"video/x-m4v\\": { - source: \\"apache\\", - extensions: [\\"m4v\\"] + "video/x-m4v": { + source: "apache", + extensions: ["m4v"] }, - \\"video/x-matroska\\": { - source: \\"apache\\", + "video/x-matroska": { + source: "apache", compressible: false, - extensions: [\\"mkv\\", \\"mk3d\\", \\"mks\\"] + extensions: ["mkv", "mk3d", "mks"] }, - \\"video/x-mng\\": { - source: \\"apache\\", - extensions: [\\"mng\\"] + "video/x-mng": { + source: "apache", + extensions: ["mng"] }, - \\"video/x-ms-asf\\": { - source: \\"apache\\", - extensions: [\\"asf\\", \\"asx\\"] + "video/x-ms-asf": { + source: "apache", + extensions: ["asf", "asx"] }, - \\"video/x-ms-vob\\": { - source: \\"apache\\", - extensions: [\\"vob\\"] + "video/x-ms-vob": { + source: "apache", + extensions: ["vob"] }, - \\"video/x-ms-wm\\": { - source: \\"apache\\", - extensions: [\\"wm\\"] + "video/x-ms-wm": { + source: "apache", + extensions: ["wm"] }, - \\"video/x-ms-wmv\\": { - source: \\"apache\\", + "video/x-ms-wmv": { + source: "apache", compressible: false, - extensions: [\\"wmv\\"] + extensions: ["wmv"] }, - \\"video/x-ms-wmx\\": { - source: \\"apache\\", - extensions: [\\"wmx\\"] + "video/x-ms-wmx": { + source: "apache", + extensions: ["wmx"] }, - \\"video/x-ms-wvx\\": { - source: \\"apache\\", - extensions: [\\"wvx\\"] + "video/x-ms-wvx": { + source: "apache", + extensions: ["wvx"] }, - \\"video/x-msvideo\\": { - source: \\"apache\\", - extensions: [\\"avi\\"] + "video/x-msvideo": { + source: "apache", + extensions: ["avi"] }, - \\"video/x-sgi-movie\\": { - source: \\"apache\\", - extensions: [\\"movie\\"] + "video/x-sgi-movie": { + source: "apache", + extensions: ["movie"] }, - \\"video/x-smv\\": { - source: \\"apache\\", - extensions: [\\"smv\\"] + "video/x-smv": { + source: "apache", + extensions: ["smv"] }, - \\"x-conference/x-cooltalk\\": { - source: \\"apache\\", - extensions: [\\"ice\\"] + "x-conference/x-cooltalk": { + source: "apache", + extensions: ["ice"] }, - \\"x-shader/x-fragment\\": { + "x-shader/x-fragment": { compressible: true }, - \\"x-shader/x-vertex\\": { + "x-shader/x-vertex": { compressible: true } }; @@ -11179,19 +11179,19 @@ var require_db = __commonJS({ // node_modules/mime-db/index.js var require_mime_db = __commonJS({ - \\"node_modules/mime-db/index.js\\"(exports2, module2) { + "node_modules/mime-db/index.js"(exports2, module2) { module2.exports = require_db(); } }); // node_modules/mime-types/index.js var require_mime_types = __commonJS({ - \\"node_modules/mime-types/index.js\\"(exports2) { - \\"use strict\\"; + "node_modules/mime-types/index.js"(exports2) { + "use strict"; var db = require_mime_db(); - var extname = require(\\"path\\").extname; - var EXTRACT_TYPE_REGEXP = /^\\\\s*([^;\\\\s]*)(?:;|\\\\s|$)/; - var TEXT_TYPE_REGEXP = /^text\\\\//i; + var extname = require("path").extname; + var EXTRACT_TYPE_REGEXP = /^\\s*([^;\\s]*)(?:;|\\s|$)/; + var TEXT_TYPE_REGEXP = /^text\\//i; exports2.charset = charset; exports2.charsets = { lookup: charset }; exports2.contentType = contentType; @@ -11201,7 +11201,7 @@ var require_mime_types = __commonJS({ exports2.types = /* @__PURE__ */ Object.create(null); populateMaps(exports2.extensions, exports2.types); function charset(type) { - if (!type || typeof type !== \\"string\\") { + if (!type || typeof type !== "string") { return false; } var match = EXTRACT_TYPE_REGEXP.exec(type); @@ -11210,27 +11210,27 @@ var require_mime_types = __commonJS({ return mime.charset; } if (match && TEXT_TYPE_REGEXP.test(match[1])) { - return \\"UTF-8\\"; + return "UTF-8"; } return false; } function contentType(str) { - if (!str || typeof str !== \\"string\\") { + if (!str || typeof str !== "string") { return false; } - var mime = str.indexOf(\\"/\\") === -1 ? exports2.lookup(str) : str; + var mime = str.indexOf("/") === -1 ? exports2.lookup(str) : str; if (!mime) { return false; } - if (mime.indexOf(\\"charset\\") === -1) { + if (mime.indexOf("charset") === -1) { var charset2 = exports2.charset(mime); if (charset2) - mime += \\"; charset=\\" + charset2.toLowerCase(); + mime += "; charset=" + charset2.toLowerCase(); } return mime; } function extension(type) { - if (!type || typeof type !== \\"string\\") { + if (!type || typeof type !== "string") { return false; } var match = EXTRACT_TYPE_REGEXP.exec(type); @@ -11241,17 +11241,17 @@ var require_mime_types = __commonJS({ return exts[0]; } function lookup(path) { - if (!path || typeof path !== \\"string\\") { + if (!path || typeof path !== "string") { return false; } - var extension2 = extname(\\"x.\\" + path).toLowerCase().substr(1); + var extension2 = extname("x." + path).toLowerCase().substr(1); if (!extension2) { return false; } return exports2.types[extension2] || false; } function populateMaps(extensions, types) { - var preference = [\\"nginx\\", \\"apache\\", void 0, \\"iana\\"]; + var preference = ["nginx", "apache", void 0, "iana"]; Object.keys(db).forEach(function forEachMimeType(type) { var mime = db[type]; var exts = mime.extensions; @@ -11264,7 +11264,7 @@ var require_mime_types = __commonJS({ if (types[extension2]) { var from = preference.indexOf(db[types[extension2]].source); var to = preference.indexOf(mime.source); - if (types[extension2] !== \\"application/octet-stream\\" && (from > to || from === to && types[extension2].substr(0, 12) === \\"application/\\")) { + if (types[extension2] !== "application/octet-stream" && (from > to || from === to && types[extension2].substr(0, 12) === "application/")) { continue; } } @@ -11277,10 +11277,10 @@ var require_mime_types = __commonJS({ // node_modules/asynckit/lib/defer.js var require_defer = __commonJS({ - \\"node_modules/asynckit/lib/defer.js\\"(exports2, module2) { + "node_modules/asynckit/lib/defer.js"(exports2, module2) { module2.exports = defer; function defer(fn) { - var nextTick = typeof setImmediate == \\"function\\" ? setImmediate : typeof process == \\"object\\" && typeof process.nextTick == \\"function\\" ? process.nextTick : null; + var nextTick = typeof setImmediate == "function" ? setImmediate : typeof process == "object" && typeof process.nextTick == "function" ? process.nextTick : null; if (nextTick) { nextTick(fn); } else { @@ -11292,7 +11292,7 @@ var require_defer = __commonJS({ // node_modules/asynckit/lib/async.js var require_async = __commonJS({ - \\"node_modules/asynckit/lib/async.js\\"(exports2, module2) { + "node_modules/asynckit/lib/async.js"(exports2, module2) { var defer = require_defer(); module2.exports = async; function async(callback) { @@ -11315,14 +11315,14 @@ var require_async = __commonJS({ // node_modules/asynckit/lib/abort.js var require_abort = __commonJS({ - \\"node_modules/asynckit/lib/abort.js\\"(exports2, module2) { + "node_modules/asynckit/lib/abort.js"(exports2, module2) { module2.exports = abort; function abort(state) { Object.keys(state.jobs).forEach(clean.bind(state)); state.jobs = {}; } function clean(key) { - if (typeof this.jobs[key] == \\"function\\") { + if (typeof this.jobs[key] == "function") { this.jobs[key](); } } @@ -11331,12 +11331,12 @@ var require_abort = __commonJS({ // node_modules/asynckit/lib/iterate.js var require_iterate = __commonJS({ - \\"node_modules/asynckit/lib/iterate.js\\"(exports2, module2) { + "node_modules/asynckit/lib/iterate.js"(exports2, module2) { var async = require_async(); var abort = require_abort(); module2.exports = iterate; function iterate(list, iterator, state, callback) { - var key = state[\\"keyedList\\"] ? state[\\"keyedList\\"][state.index] : state.index; + var key = state["keyedList"] ? state["keyedList"][state.index] : state.index; state.jobs[key] = runJob(iterator, key, list[key], function(error, output) { if (!(key in state.jobs)) { return; @@ -11364,7 +11364,7 @@ var require_iterate = __commonJS({ // node_modules/asynckit/lib/state.js var require_state = __commonJS({ - \\"node_modules/asynckit/lib/state.js\\"(exports2, module2) { + "node_modules/asynckit/lib/state.js"(exports2, module2) { module2.exports = state; function state(list, sortMethod) { var isNamedList = !Array.isArray(list), initState = { @@ -11386,7 +11386,7 @@ var require_state = __commonJS({ // node_modules/asynckit/lib/terminator.js var require_terminator = __commonJS({ - \\"node_modules/asynckit/lib/terminator.js\\"(exports2, module2) { + "node_modules/asynckit/lib/terminator.js"(exports2, module2) { var abort = require_abort(); var async = require_async(); module2.exports = terminator; @@ -11403,14 +11403,14 @@ var require_terminator = __commonJS({ // node_modules/asynckit/parallel.js var require_parallel = __commonJS({ - \\"node_modules/asynckit/parallel.js\\"(exports2, module2) { + "node_modules/asynckit/parallel.js"(exports2, module2) { var iterate = require_iterate(); var initState = require_state(); var terminator = require_terminator(); module2.exports = parallel; function parallel(list, iterator, callback) { var state = initState(list); - while (state.index < (state[\\"keyedList\\"] || list).length) { + while (state.index < (state["keyedList"] || list).length) { iterate(list, iterator, state, function(error, result) { if (error) { callback(error, result); @@ -11430,7 +11430,7 @@ var require_parallel = __commonJS({ // node_modules/asynckit/serialOrdered.js var require_serialOrdered = __commonJS({ - \\"node_modules/asynckit/serialOrdered.js\\"(exports2, module2) { + "node_modules/asynckit/serialOrdered.js"(exports2, module2) { var iterate = require_iterate(); var initState = require_state(); var terminator = require_terminator(); @@ -11445,7 +11445,7 @@ var require_serialOrdered = __commonJS({ return; } state.index++; - if (state.index < (state[\\"keyedList\\"] || list).length) { + if (state.index < (state["keyedList"] || list).length) { iterate(list, iterator, state, iteratorHandler); return; } @@ -11464,7 +11464,7 @@ var require_serialOrdered = __commonJS({ // node_modules/asynckit/serial.js var require_serial = __commonJS({ - \\"node_modules/asynckit/serial.js\\"(exports2, module2) { + "node_modules/asynckit/serial.js"(exports2, module2) { var serialOrdered = require_serialOrdered(); module2.exports = serial; function serial(list, iterator, callback) { @@ -11475,7 +11475,7 @@ var require_serial = __commonJS({ // node_modules/asynckit/index.js var require_asynckit = __commonJS({ - \\"node_modules/asynckit/index.js\\"(exports2, module2) { + "node_modules/asynckit/index.js"(exports2, module2) { module2.exports = { parallel: require_parallel(), serial: require_serial(), @@ -11486,7 +11486,7 @@ var require_asynckit = __commonJS({ // node_modules/axios/node_modules/form-data/lib/populate.js var require_populate = __commonJS({ - \\"node_modules/axios/node_modules/form-data/lib/populate.js\\"(exports2, module2) { + "node_modules/axios/node_modules/form-data/lib/populate.js"(exports2, module2) { module2.exports = function(dst, src) { Object.keys(src).forEach(function(prop) { dst[prop] = dst[prop] || src[prop]; @@ -11498,15 +11498,15 @@ var require_populate = __commonJS({ // node_modules/axios/node_modules/form-data/lib/form_data.js var require_form_data = __commonJS({ - \\"node_modules/axios/node_modules/form-data/lib/form_data.js\\"(exports2, module2) { + "node_modules/axios/node_modules/form-data/lib/form_data.js"(exports2, module2) { var CombinedStream = require_combined_stream(); - var util = require(\\"util\\"); - var path = require(\\"path\\"); - var http = require(\\"http\\"); - var https = require(\\"https\\"); - var parseUrl = require(\\"url\\").parse; - var fs = require(\\"fs\\"); - var Stream = require(\\"stream\\").Stream; + var util = require("util"); + var path = require("path"); + var http = require("http"); + var https = require("https"); + var parseUrl = require("url").parse; + var fs = require("fs"); + var Stream = require("stream").Stream; var mime = require_mime_types(); var asynckit = require_asynckit(); var populate = require_populate(); @@ -11525,19 +11525,19 @@ var require_form_data = __commonJS({ this[option] = options[option]; } } - FormData2.LINE_BREAK = \\"\\\\r\\\\n\\"; - FormData2.DEFAULT_CONTENT_TYPE = \\"application/octet-stream\\"; + FormData2.LINE_BREAK = "\\r\\n"; + FormData2.DEFAULT_CONTENT_TYPE = "application/octet-stream"; FormData2.prototype.append = function(field, value, options) { options = options || {}; - if (typeof options == \\"string\\") { + if (typeof options == "string") { options = { filename: options }; } var append = CombinedStream.prototype.append.bind(this); - if (typeof value == \\"number\\") { - value = \\"\\" + value; + if (typeof value == "number") { + value = "" + value; } if (util.isArray(value)) { - this._error(new Error(\\"Arrays are not supported.\\")); + this._error(new Error("Arrays are not supported.")); return; } var header = this._multiPartHeader(field, value, options); @@ -11553,12 +11553,12 @@ var require_form_data = __commonJS({ valueLength += +options.knownLength; } else if (Buffer.isBuffer(value)) { valueLength = value.length; - } else if (typeof value === \\"string\\") { + } else if (typeof value === "string") { valueLength = Buffer.byteLength(value); } this._valueLength += valueLength; this._overheadLength += Buffer.byteLength(header) + FormData2.LINE_BREAK.length; - if (!value || !value.path && !(value.readable && value.hasOwnProperty(\\"httpVersion\\")) && !(value instanceof Stream)) { + if (!value || !value.path && !(value.readable && value.hasOwnProperty("httpVersion")) && !(value instanceof Stream)) { return; } if (!options.knownLength) { @@ -11566,7 +11566,7 @@ var require_form_data = __commonJS({ } }; FormData2.prototype._lengthRetriever = function(value, callback) { - if (value.hasOwnProperty(\\"fd\\")) { + if (value.hasOwnProperty("fd")) { if (value.end != void 0 && value.end != Infinity && value.start != void 0) { callback(null, value.end + 1 - (value.start ? value.start : 0)); } else { @@ -11580,30 +11580,30 @@ var require_form_data = __commonJS({ callback(null, fileSize); }); } - } else if (value.hasOwnProperty(\\"httpVersion\\")) { - callback(null, +value.headers[\\"content-length\\"]); - } else if (value.hasOwnProperty(\\"httpModule\\")) { - value.on(\\"response\\", function(response) { + } else if (value.hasOwnProperty("httpVersion")) { + callback(null, +value.headers["content-length"]); + } else if (value.hasOwnProperty("httpModule")) { + value.on("response", function(response) { value.pause(); - callback(null, +response.headers[\\"content-length\\"]); + callback(null, +response.headers["content-length"]); }); value.resume(); } else { - callback(\\"Unknown stream\\"); + callback("Unknown stream"); } }; FormData2.prototype._multiPartHeader = function(field, value, options) { - if (typeof options.header == \\"string\\") { + if (typeof options.header == "string") { return options.header; } var contentDisposition = this._getContentDisposition(value, options); var contentType = this._getContentType(value, options); - var contents = \\"\\"; + var contents = ""; var headers = { - \\"Content-Disposition\\": [\\"form-data\\", 'name=\\"' + field + '\\"'].concat(contentDisposition || []), - \\"Content-Type\\": [].concat(contentType || []) + "Content-Disposition": ["form-data", 'name="' + field + '"'].concat(contentDisposition || []), + "Content-Type": [].concat(contentType || []) }; - if (typeof options.header == \\"object\\") { + if (typeof options.header == "object") { populate(headers, options.header); } var header; @@ -11618,22 +11618,22 @@ var require_form_data = __commonJS({ header = [header]; } if (header.length) { - contents += prop + \\": \\" + header.join(\\"; \\") + FormData2.LINE_BREAK; + contents += prop + ": " + header.join("; ") + FormData2.LINE_BREAK; } } - return \\"--\\" + this.getBoundary() + FormData2.LINE_BREAK + contents + FormData2.LINE_BREAK; + return "--" + this.getBoundary() + FormData2.LINE_BREAK + contents + FormData2.LINE_BREAK; }; FormData2.prototype._getContentDisposition = function(value, options) { var filename, contentDisposition; - if (typeof options.filepath === \\"string\\") { - filename = path.normalize(options.filepath).replace(/\\\\\\\\/g, \\"/\\"); + if (typeof options.filepath === "string") { + filename = path.normalize(options.filepath).replace(/\\\\/g, "/"); } else if (options.filename || value.name || value.path) { filename = path.basename(options.filename || value.name || value.path); - } else if (value.readable && value.hasOwnProperty(\\"httpVersion\\")) { - filename = path.basename(value.client._httpMessage.path || \\"\\"); + } else if (value.readable && value.hasOwnProperty("httpVersion")) { + filename = path.basename(value.client._httpMessage.path || ""); } if (filename) { - contentDisposition = 'filename=\\"' + filename + '\\"'; + contentDisposition = 'filename="' + filename + '"'; } return contentDisposition; }; @@ -11645,13 +11645,13 @@ var require_form_data = __commonJS({ if (!contentType && value.path) { contentType = mime.lookup(value.path); } - if (!contentType && value.readable && value.hasOwnProperty(\\"httpVersion\\")) { - contentType = value.headers[\\"content-type\\"]; + if (!contentType && value.readable && value.hasOwnProperty("httpVersion")) { + contentType = value.headers["content-type"]; } if (!contentType && (options.filepath || options.filename)) { contentType = mime.lookup(options.filepath || options.filename); } - if (!contentType && typeof value == \\"object\\") { + if (!contentType && typeof value == "object") { contentType = FormData2.DEFAULT_CONTENT_TYPE; } return contentType; @@ -11667,12 +11667,12 @@ var require_form_data = __commonJS({ }.bind(this); }; FormData2.prototype._lastBoundary = function() { - return \\"--\\" + this.getBoundary() + \\"--\\" + FormData2.LINE_BREAK; + return "--" + this.getBoundary() + "--" + FormData2.LINE_BREAK; }; FormData2.prototype.getHeaders = function(userHeaders) { var header; var formHeaders = { - \\"content-type\\": \\"multipart/form-data; boundary=\\" + this.getBoundary() + "content-type": "multipart/form-data; boundary=" + this.getBoundary() }; for (header in userHeaders) { if (userHeaders.hasOwnProperty(header)) { @@ -11694,13 +11694,13 @@ var require_form_data = __commonJS({ var dataBuffer = new Buffer.alloc(0); var boundary = this.getBoundary(); for (var i = 0, len = this._streams.length; i < len; i++) { - if (typeof this._streams[i] !== \\"function\\") { + if (typeof this._streams[i] !== "function") { if (Buffer.isBuffer(this._streams[i])) { dataBuffer = Buffer.concat([dataBuffer, this._streams[i]]); } else { dataBuffer = Buffer.concat([dataBuffer, Buffer.from(this._streams[i])]); } - if (typeof this._streams[i] !== \\"string\\" || this._streams[i].substring(2, boundary.length + 2) !== boundary) { + if (typeof this._streams[i] !== "string" || this._streams[i].substring(2, boundary.length + 2) !== boundary) { dataBuffer = Buffer.concat([dataBuffer, Buffer.from(FormData2.LINE_BREAK)]); } } @@ -11708,7 +11708,7 @@ var require_form_data = __commonJS({ return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]); }; FormData2.prototype._generateBoundary = function() { - var boundary = \\"--------------------------\\"; + var boundary = "--------------------------"; for (var i = 0; i < 24; i++) { boundary += Math.floor(Math.random() * 10).toString(16); } @@ -11720,7 +11720,7 @@ var require_form_data = __commonJS({ knownLength += this._lastBoundary().length; } if (!this.hasKnownLength()) { - this._error(new Error(\\"Cannot calculate proper length in synchronous way.\\")); + this._error(new Error("Cannot calculate proper length in synchronous way.")); } return knownLength; }; @@ -11752,8 +11752,8 @@ var require_form_data = __commonJS({ }); }; FormData2.prototype.submit = function(params, cb) { - var request, options, defaults = { method: \\"post\\" }; - if (typeof params == \\"string\\") { + var request, options, defaults = { method: "post" }; + if (typeof params == "string") { params = parseUrl(params); options = populate({ port: params.port, @@ -11764,34 +11764,34 @@ var require_form_data = __commonJS({ } else { options = populate(params, defaults); if (!options.port) { - options.port = options.protocol == \\"https:\\" ? 443 : 80; + options.port = options.protocol == "https:" ? 443 : 80; } } options.headers = this.getHeaders(params.headers); - if (options.protocol == \\"https:\\") { + if (options.protocol == "https:") { request = https.request(options); } else { request = http.request(options); } this.getLength(function(err, length) { - if (err && err !== \\"Unknown stream\\") { + if (err && err !== "Unknown stream") { this._error(err); return; } if (length) { - request.setHeader(\\"Content-Length\\", length); + request.setHeader("Content-Length", length); } this.pipe(request); if (cb) { var onResponse; var callback = function(error, responce) { - request.removeListener(\\"error\\", callback); - request.removeListener(\\"response\\", onResponse); + request.removeListener("error", callback); + request.removeListener("response", onResponse); return cb.call(this, error, responce); }; onResponse = callback.bind(this, null); - request.on(\\"error\\", callback); - request.on(\\"response\\", onResponse); + request.on("error", callback); + request.on("response", onResponse); } }.bind(this)); return request; @@ -11800,44 +11800,44 @@ var require_form_data = __commonJS({ if (!this.error) { this.error = err; this.pause(); - this.emit(\\"error\\", err); + this.emit("error", err); } }; FormData2.prototype.toString = function() { - return \\"[object FormData]\\"; + return "[object FormData]"; }; } }); // node_modules/axios/lib/defaults/env/FormData.js var require_FormData = __commonJS({ - \\"node_modules/axios/lib/defaults/env/FormData.js\\"(exports2, module2) { + "node_modules/axios/lib/defaults/env/FormData.js"(exports2, module2) { module2.exports = require_form_data(); } }); // node_modules/axios/lib/defaults/index.js var require_defaults = __commonJS({ - \\"node_modules/axios/lib/defaults/index.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/defaults/index.js"(exports2, module2) { + "use strict"; var utils = require_utils(); var normalizeHeaderName = require_normalizeHeaderName(); var AxiosError = require_AxiosError(); var transitionalDefaults = require_transitional(); var toFormData = require_toFormData(); var DEFAULT_CONTENT_TYPE = { - \\"Content-Type\\": \\"application/x-www-form-urlencoded\\" + "Content-Type": "application/x-www-form-urlencoded" }; function setContentTypeIfUnset(headers, value) { - if (!utils.isUndefined(headers) && utils.isUndefined(headers[\\"Content-Type\\"])) { - headers[\\"Content-Type\\"] = value; + if (!utils.isUndefined(headers) && utils.isUndefined(headers["Content-Type"])) { + headers["Content-Type"] = value; } } function getDefaultAdapter() { var adapter; - if (typeof XMLHttpRequest !== \\"undefined\\") { + if (typeof XMLHttpRequest !== "undefined") { adapter = require_xhr(); - } else if (typeof process !== \\"undefined\\" && Object.prototype.toString.call(process) === \\"[object process]\\") { + } else if (typeof process !== "undefined" && Object.prototype.toString.call(process) === "[object process]") { adapter = require_http(); } return adapter; @@ -11848,7 +11848,7 @@ var require_defaults = __commonJS({ (parser || JSON.parse)(rawValue); return utils.trim(rawValue); } catch (e) { - if (e.name !== \\"SyntaxError\\") { + if (e.name !== "SyntaxError") { throw e; } } @@ -11859,8 +11859,8 @@ var require_defaults = __commonJS({ transitional: transitionalDefaults, adapter: getDefaultAdapter(), transformRequest: [function transformRequest(data, headers) { - normalizeHeaderName(headers, \\"Accept\\"); - normalizeHeaderName(headers, \\"Content-Type\\"); + normalizeHeaderName(headers, "Accept"); + normalizeHeaderName(headers, "Content-Type"); if (utils.isFormData(data) || utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data)) { return data; } @@ -11868,17 +11868,17 @@ var require_defaults = __commonJS({ return data.buffer; } if (utils.isURLSearchParams(data)) { - setContentTypeIfUnset(headers, \\"application/x-www-form-urlencoded;charset=utf-8\\"); + setContentTypeIfUnset(headers, "application/x-www-form-urlencoded;charset=utf-8"); return data.toString(); } var isObjectPayload = utils.isObject(data); - var contentType = headers && headers[\\"Content-Type\\"]; + var contentType = headers && headers["Content-Type"]; var isFileList; - if ((isFileList = utils.isFileList(data)) || isObjectPayload && contentType === \\"multipart/form-data\\") { + if ((isFileList = utils.isFileList(data)) || isObjectPayload && contentType === "multipart/form-data") { var _FormData = this.env && this.env.FormData; - return toFormData(isFileList ? { \\"files[]\\": data } : data, _FormData && new _FormData()); - } else if (isObjectPayload || contentType === \\"application/json\\") { - setContentTypeIfUnset(headers, \\"application/json\\"); + return toFormData(isFileList ? { "files[]": data } : data, _FormData && new _FormData()); + } else if (isObjectPayload || contentType === "application/json") { + setContentTypeIfUnset(headers, "application/json"); return stringifySafely(data); } return data; @@ -11887,13 +11887,13 @@ var require_defaults = __commonJS({ var transitional = this.transitional || defaults.transitional; var silentJSONParsing = transitional && transitional.silentJSONParsing; var forcedJSONParsing = transitional && transitional.forcedJSONParsing; - var strictJSONParsing = !silentJSONParsing && this.responseType === \\"json\\"; + var strictJSONParsing = !silentJSONParsing && this.responseType === "json"; if (strictJSONParsing || forcedJSONParsing && utils.isString(data) && data.length) { try { return JSON.parse(data); } catch (e) { if (strictJSONParsing) { - if (e.name === \\"SyntaxError\\") { + if (e.name === "SyntaxError") { throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response); } throw e; @@ -11903,8 +11903,8 @@ var require_defaults = __commonJS({ return data; }], timeout: 0, - xsrfCookieName: \\"XSRF-TOKEN\\", - xsrfHeaderName: \\"X-XSRF-TOKEN\\", + xsrfCookieName: "XSRF-TOKEN", + xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { @@ -11915,14 +11915,14 @@ var require_defaults = __commonJS({ }, headers: { common: { - \\"Accept\\": \\"application/json, text/plain, */*\\" + "Accept": "application/json, text/plain, */*" } } }; - utils.forEach([\\"delete\\", \\"get\\", \\"head\\"], function forEachMethodNoData(method) { + utils.forEach(["delete", "get", "head"], function forEachMethodNoData(method) { defaults.headers[method] = {}; }); - utils.forEach([\\"post\\", \\"put\\", \\"patch\\"], function forEachMethodWithData(method) { + utils.forEach(["post", "put", "patch"], function forEachMethodWithData(method) { defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE); }); module2.exports = defaults; @@ -11931,8 +11931,8 @@ var require_defaults = __commonJS({ // node_modules/axios/lib/core/transformData.js var require_transformData = __commonJS({ - \\"node_modules/axios/lib/core/transformData.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/core/transformData.js"(exports2, module2) { + "use strict"; var utils = require_utils(); var defaults = require_defaults(); module2.exports = function transformData(data, headers, fns) { @@ -11947,8 +11947,8 @@ var require_transformData = __commonJS({ // node_modules/axios/lib/cancel/isCancel.js var require_isCancel = __commonJS({ - \\"node_modules/axios/lib/cancel/isCancel.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/cancel/isCancel.js"(exports2, module2) { + "use strict"; module2.exports = function isCancel(value) { return !!(value && value.__CANCEL__); }; @@ -11957,8 +11957,8 @@ var require_isCancel = __commonJS({ // node_modules/axios/lib/core/dispatchRequest.js var require_dispatchRequest = __commonJS({ - \\"node_modules/axios/lib/core/dispatchRequest.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/core/dispatchRequest.js"(exports2, module2) { + "use strict"; var utils = require_utils(); var transformData = require_transformData(); var isCancel = require_isCancel(); @@ -11987,7 +11987,7 @@ var require_dispatchRequest = __commonJS({ config.headers ); utils.forEach( - [\\"delete\\", \\"get\\", \\"head\\", \\"post\\", \\"put\\", \\"patch\\", \\"common\\"], + ["delete", "get", "head", "post", "put", "patch", "common"], function cleanHeaderConfig(method) { delete config.headers[method]; } @@ -12022,8 +12022,8 @@ var require_dispatchRequest = __commonJS({ // node_modules/axios/lib/core/mergeConfig.js var require_mergeConfig = __commonJS({ - \\"node_modules/axios/lib/core/mergeConfig.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/core/mergeConfig.js"(exports2, module2) { + "use strict"; var utils = require_utils(); module2.exports = function mergeConfig(config1, config2) { config2 = config2 || {}; @@ -12065,33 +12065,33 @@ var require_mergeConfig = __commonJS({ } } var mergeMap = { - \\"url\\": valueFromConfig2, - \\"method\\": valueFromConfig2, - \\"data\\": valueFromConfig2, - \\"baseURL\\": defaultToConfig2, - \\"transformRequest\\": defaultToConfig2, - \\"transformResponse\\": defaultToConfig2, - \\"paramsSerializer\\": defaultToConfig2, - \\"timeout\\": defaultToConfig2, - \\"timeoutMessage\\": defaultToConfig2, - \\"withCredentials\\": defaultToConfig2, - \\"adapter\\": defaultToConfig2, - \\"responseType\\": defaultToConfig2, - \\"xsrfCookieName\\": defaultToConfig2, - \\"xsrfHeaderName\\": defaultToConfig2, - \\"onUploadProgress\\": defaultToConfig2, - \\"onDownloadProgress\\": defaultToConfig2, - \\"decompress\\": defaultToConfig2, - \\"maxContentLength\\": defaultToConfig2, - \\"maxBodyLength\\": defaultToConfig2, - \\"beforeRedirect\\": defaultToConfig2, - \\"transport\\": defaultToConfig2, - \\"httpAgent\\": defaultToConfig2, - \\"httpsAgent\\": defaultToConfig2, - \\"cancelToken\\": defaultToConfig2, - \\"socketPath\\": defaultToConfig2, - \\"responseEncoding\\": defaultToConfig2, - \\"validateStatus\\": mergeDirectKeys + "url": valueFromConfig2, + "method": valueFromConfig2, + "data": valueFromConfig2, + "baseURL": defaultToConfig2, + "transformRequest": defaultToConfig2, + "transformResponse": defaultToConfig2, + "paramsSerializer": defaultToConfig2, + "timeout": defaultToConfig2, + "timeoutMessage": defaultToConfig2, + "withCredentials": defaultToConfig2, + "adapter": defaultToConfig2, + "responseType": defaultToConfig2, + "xsrfCookieName": defaultToConfig2, + "xsrfHeaderName": defaultToConfig2, + "onUploadProgress": defaultToConfig2, + "onDownloadProgress": defaultToConfig2, + "decompress": defaultToConfig2, + "maxContentLength": defaultToConfig2, + "maxBodyLength": defaultToConfig2, + "beforeRedirect": defaultToConfig2, + "transport": defaultToConfig2, + "httpAgent": defaultToConfig2, + "httpsAgent": defaultToConfig2, + "cancelToken": defaultToConfig2, + "socketPath": defaultToConfig2, + "responseEncoding": defaultToConfig2, + "validateStatus": mergeDirectKeys }; utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) { var merge = mergeMap[prop] || mergeDeepProperties; @@ -12105,25 +12105,25 @@ var require_mergeConfig = __commonJS({ // node_modules/axios/lib/helpers/validator.js var require_validator = __commonJS({ - \\"node_modules/axios/lib/helpers/validator.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/validator.js"(exports2, module2) { + "use strict"; var VERSION = require_data().version; var AxiosError = require_AxiosError(); var validators = {}; - [\\"object\\", \\"boolean\\", \\"number\\", \\"function\\", \\"string\\", \\"symbol\\"].forEach(function(type, i) { + ["object", "boolean", "number", "function", "string", "symbol"].forEach(function(type, i) { validators[type] = function validator(thing) { - return typeof thing === type || \\"a\\" + (i < 1 ? \\"n \\" : \\" \\") + type; + return typeof thing === type || "a" + (i < 1 ? "n " : " ") + type; }; }); var deprecatedWarnings = {}; validators.transitional = function transitional(validator, version, message) { function formatMessage(opt, desc) { - return \\"[Axios v\\" + VERSION + \\"] Transitional option '\\" + opt + \\"'\\" + desc + (message ? \\". \\" + message : \\"\\"); + return "[Axios v" + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : ""); } return function(value, opt, opts) { if (validator === false) { throw new AxiosError( - formatMessage(opt, \\" has been removed\\" + (version ? \\" in \\" + version : \\"\\")), + formatMessage(opt, " has been removed" + (version ? " in " + version : "")), AxiosError.ERR_DEPRECATED ); } @@ -12132,7 +12132,7 @@ var require_validator = __commonJS({ console.warn( formatMessage( opt, - \\" has been deprecated since v\\" + version + \\" and will be removed in the near future\\" + " has been deprecated since v" + version + " and will be removed in the near future" ) ); } @@ -12140,8 +12140,8 @@ var require_validator = __commonJS({ }; }; function assertOptions(options, schema, allowUnknown) { - if (typeof options !== \\"object\\") { - throw new AxiosError(\\"options must be an object\\", AxiosError.ERR_BAD_OPTION_VALUE); + if (typeof options !== "object") { + throw new AxiosError("options must be an object", AxiosError.ERR_BAD_OPTION_VALUE); } var keys = Object.keys(options); var i = keys.length; @@ -12152,12 +12152,12 @@ var require_validator = __commonJS({ var value = options[opt]; var result = value === void 0 || validator(value, opt, options); if (result !== true) { - throw new AxiosError(\\"option \\" + opt + \\" must be \\" + result, AxiosError.ERR_BAD_OPTION_VALUE); + throw new AxiosError("option " + opt + " must be " + result, AxiosError.ERR_BAD_OPTION_VALUE); } continue; } if (allowUnknown !== true) { - throw new AxiosError(\\"Unknown option \\" + opt, AxiosError.ERR_BAD_OPTION); + throw new AxiosError("Unknown option " + opt, AxiosError.ERR_BAD_OPTION); } } } @@ -12170,8 +12170,8 @@ var require_validator = __commonJS({ // node_modules/axios/lib/core/Axios.js var require_Axios = __commonJS({ - \\"node_modules/axios/lib/core/Axios.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/core/Axios.js"(exports2, module2) { + "use strict"; var utils = require_utils(); var buildURL = require_buildURL(); var InterceptorManager = require_InterceptorManager(); @@ -12188,7 +12188,7 @@ var require_Axios = __commonJS({ }; } Axios.prototype.request = function request(configOrUrl, config) { - if (typeof configOrUrl === \\"string\\") { + if (typeof configOrUrl === "string") { config = config || {}; config.url = configOrUrl; } else { @@ -12200,7 +12200,7 @@ var require_Axios = __commonJS({ } else if (this.defaults.method) { config.method = this.defaults.method.toLowerCase(); } else { - config.method = \\"get\\"; + config.method = "get"; } var transitional = config.transitional; if (transitional !== void 0) { @@ -12213,7 +12213,7 @@ var require_Axios = __commonJS({ var requestInterceptorChain = []; var synchronousRequestInterceptors = true; this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) { - if (typeof interceptor.runWhen === \\"function\\" && interceptor.runWhen(config) === false) { + if (typeof interceptor.runWhen === "function" && interceptor.runWhen(config) === false) { return; } synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous; @@ -12260,7 +12260,7 @@ var require_Axios = __commonJS({ var fullPath = buildFullPath(config.baseURL, config.url); return buildURL(fullPath, config.params, config.paramsSerializer); }; - utils.forEach([\\"delete\\", \\"get\\", \\"head\\", \\"options\\"], function forEachMethodNoData(method) { + utils.forEach(["delete", "get", "head", "options"], function forEachMethodNoData(method) { Axios.prototype[method] = function(url, config) { return this.request(mergeConfig(config || {}, { method, @@ -12269,13 +12269,13 @@ var require_Axios = __commonJS({ })); }; }); - utils.forEach([\\"post\\", \\"put\\", \\"patch\\"], function forEachMethodWithData(method) { + utils.forEach(["post", "put", "patch"], function forEachMethodWithData(method) { function generateHTTPMethod(isForm) { return function httpMethod(url, data, config) { return this.request(mergeConfig(config || {}, { method, headers: isForm ? { - \\"Content-Type\\": \\"multipart/form-data\\" + "Content-Type": "multipart/form-data" } : {}, url, data @@ -12283,7 +12283,7 @@ var require_Axios = __commonJS({ }; } Axios.prototype[method] = generateHTTPMethod(); - Axios.prototype[method + \\"Form\\"] = generateHTTPMethod(true); + Axios.prototype[method + "Form"] = generateHTTPMethod(true); }); module2.exports = Axios; } @@ -12291,12 +12291,12 @@ var require_Axios = __commonJS({ // node_modules/axios/lib/cancel/CancelToken.js var require_CancelToken = __commonJS({ - \\"node_modules/axios/lib/cancel/CancelToken.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/cancel/CancelToken.js"(exports2, module2) { + "use strict"; var CanceledError = require_CanceledError(); function CancelToken(executor) { - if (typeof executor !== \\"function\\") { - throw new TypeError(\\"executor must be a function.\\"); + if (typeof executor !== "function") { + throw new TypeError("executor must be a function."); } var resolvePromise; this.promise = new Promise(function promiseExecutor(resolve) { @@ -12373,8 +12373,8 @@ var require_CancelToken = __commonJS({ // node_modules/axios/lib/helpers/spread.js var require_spread = __commonJS({ - \\"node_modules/axios/lib/helpers/spread.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/spread.js"(exports2, module2) { + "use strict"; module2.exports = function spread(callback) { return function wrap(arr) { return callback.apply(null, arr); @@ -12385,8 +12385,8 @@ var require_spread = __commonJS({ // node_modules/axios/lib/helpers/isAxiosError.js var require_isAxiosError = __commonJS({ - \\"node_modules/axios/lib/helpers/isAxiosError.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/helpers/isAxiosError.js"(exports2, module2) { + "use strict"; var utils = require_utils(); module2.exports = function isAxiosError(payload) { return utils.isObject(payload) && payload.isAxiosError === true; @@ -12396,8 +12396,8 @@ var require_isAxiosError = __commonJS({ // node_modules/axios/lib/axios.js var require_axios = __commonJS({ - \\"node_modules/axios/lib/axios.js\\"(exports2, module2) { - \\"use strict\\"; + "node_modules/axios/lib/axios.js"(exports2, module2) { + "use strict"; var utils = require_utils(); var bind = require_bind(); var Axios = require_Axios(); @@ -12434,7 +12434,7 @@ var require_axios = __commonJS({ // node_modules/axios/index.js var require_axios2 = __commonJS({ - \\"node_modules/axios/index.js\\"(exports2, module2) { + "node_modules/axios/index.js"(exports2, module2) { module2.exports = require_axios(); } }); @@ -12446,7 +12446,7 @@ function __f0() { return function() { let _axios = __axios; return async () => { - return _axios.default.get(\\"https://functionless.org\\"); + return _axios.default.get("https://functionless.org"); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -12473,49 +12473,49 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f4}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f4}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = {DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16}; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = {Invoke: __f18}; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = {putEvents: __f19}; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); var __bus = {eventBusName: process.env.env__functionless0}; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -12629,7 +12629,7 @@ function __f3(__0, __1) { }function __f21() { return (function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return (function __computed() { return m[k]; });; }).apply(undefined, undefined).apply(this, arguments); @@ -12638,7 +12638,7 @@ function __f3(__0, __1) { let _fnls = __fnls; let bus = __bus; - return (() => { return _fnls[\\"$AWS\\"].EventBridge.putEvents({ Entries: [{ EventBusName: bus.eventBusName },] }); });; + return (() => { return _fnls["$AWS"].EventBridge.putEvents({ Entries: [{ EventBusName: bus.eventBusName },] }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -12650,47 +12650,47 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f4 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f4 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = { DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16 }; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = { Invoke: __f18 }; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = { putEvents: __f19 }; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); var __bus = { eventBusName: process.env.env__functionless0 }; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -12699,7 +12699,7 @@ function __f4(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -12896,7 +12896,7 @@ function __f19() { function __f21() { return function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return function __computed() { return m[k]; }; @@ -12908,7 +12908,7 @@ function __f0() { let _fnls = __fnls; let bus = __bus; return () => { - return _fnls[\\"$AWS\\"].EventBridge.putEvents({ Entries: [{ EventBusName: bus.eventBusName }] }); + return _fnls["$AWS"].EventBridge.putEvents({ Entries: [{ EventBusName: bus.eventBusName }] }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -12921,30 +12921,30 @@ exports[`serialize event bridge put events 1`] = ` var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f3}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f4, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f4 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__f4, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f4 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f6 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"EventBus.putEvents\\"; +__f1.kind = "EventBus.putEvents"; var __bus = {putEvents: __f1}; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { let function_prewarm_1 = __function_prewarm_1; let eventBusName = process.env.env__functionless0; - return (async (args, preWarmContext) => { const eventBridge = preWarmContext.getOrInit(function_prewarm_1.PrewarmClients.EventBridge); await eventBridge.putEvents({ Entries: args.map(event => ({ Detail: JSON.stringify(event.detail), EventBusName: eventBusName, DetailType: event[\\"detail-type\\"], Resources: event.resources, Source: event.source, Time: typeof event.time === \\"number\\" ? new Date(event.time) : undefined })) }).promise(); });; + return (async (args, preWarmContext) => { const eventBridge = preWarmContext.getOrInit(function_prewarm_1.PrewarmClients.EventBridge); await eventBridge.putEvents({ Entries: args.map(event => ({ Detail: JSON.stringify(event.detail), EventBusName: eventBusName, DetailType: event["detail-type"], Resources: event.resources, Source: event.source, Time: typeof event.time === "number" ? new Date(event.time) : undefined })) }).promise(); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0) { return (function() { @@ -12971,7 +12971,7 @@ function __f3(__0, __1) { return (function() { let bus = __bus; - return (() => { return bus.putEvents({ \\"detail-type\\": \\"test\\", detail: {}, source: \\"\\" }); });; + return (() => { return bus.putEvents({ "detail-type": "test", detail: {}, source: "" }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -12981,25 +12981,25 @@ exports[`serialize event bridge put events 2`] = ` exports.handler = __f0; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f3 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f4, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f4 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__f4, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f4 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f6 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"EventBus.putEvents\\"; +__f1.kind = "EventBus.putEvents"; var __bus = { putEvents: __f1 }; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -13010,7 +13010,7 @@ function __f2(__0, __1) { let eventBusName = process.env.env__functionless0; return async (args, preWarmContext) => { const eventBridge = preWarmContext.getOrInit(function_prewarm_1.PrewarmClients.EventBridge); - await eventBridge.putEvents({ Entries: args.map((event) => ({ Detail: JSON.stringify(event.detail), EventBusName: eventBusName, DetailType: event[\\"detail-type\\"], Resources: event.resources, Source: event.source, Time: typeof event.time === \\"number\\" ? new Date(event.time) : void 0 })) }).promise(); + await eventBridge.putEvents({ Entries: args.map((event) => ({ Detail: JSON.stringify(event.detail), EventBusName: eventBusName, DetailType: event["detail-type"], Resources: event.resources, Source: event.source, Time: typeof event.time === "number" ? new Date(event.time) : void 0 })) }).promise(); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -13057,7 +13057,7 @@ function __f0() { return function() { let bus = __bus; return () => { - return bus.putEvents({ \\"detail-type\\": \\"test\\", detail: {}, source: \\"\\" }); + return bus.putEvents({ "detail-type": "test", detail: {}, source: "" }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -13070,23 +13070,23 @@ exports[`serialize lambda func 1`] = ` var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_Lambda = {key: \\"Lambda\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_Lambda = {key: "Lambda", init: __f3}; __function_prewarm_1_PrewarmClients.Lambda = __function_prewarm_1_PrewarmClients_Lambda; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f4, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f4 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__f4, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f4 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f6 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"Function\\"; -__f1.functionlessKind = \\"Function\\"; +__f1.kind = "Function"; +__f1.functionlessKind = "Function"; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/lambda\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/lambda"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -13130,25 +13130,25 @@ exports[`serialize lambda func 2`] = ` exports.handler = __f0; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_Lambda = { key: \\"Lambda\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_Lambda = { key: "Lambda", init: __f3 }; __function_prewarm_1_PrewarmClients.Lambda = __function_prewarm_1_PrewarmClients_Lambda; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f4, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f4 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__f4, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f4 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f6 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"Function\\"; -__f1.functionlessKind = \\"Function\\"; +__f1.kind = "Function"; +__f1.functionlessKind = "Function"; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/lambda\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/lambda"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -13224,56 +13224,56 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f4}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f4}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; -var __function_prewarm_1_PrewarmClients_Lambda = {key: \\"Lambda\\", init: __f5}; +var __function_prewarm_1_PrewarmClients_Lambda = {key: "Lambda", init: __f5}; __function_prewarm_1_PrewarmClients.Lambda = __function_prewarm_1_PrewarmClients_Lambda; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f6, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f7 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f8 }); +Object.defineProperty(__f6, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f8 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f9.kind = \\"$AWS.DynamoDB.getItem\\"; -__f11.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f13.kind = \\"$AWS.DynamoDB.putItem\\"; -__f15.kind = \\"$AWS.DynamoDB.query\\"; -__f17.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f9.kind = "$AWS.DynamoDB.getItem"; +__f11.kind = "$AWS.DynamoDB.updateItem"; +__f13.kind = "$AWS.DynamoDB.putItem"; +__f15.kind = "$AWS.DynamoDB.query"; +__f17.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = {DeleteItem: __f1, GetItem: __f9, UpdateItem: __f11, PutItem: __f13, Query: __f15, Scan: __f17}; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f19.kind = \\"$AWS.Lambda.Invoke\\"; +__f19.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = {Invoke: __f19}; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f20.kind = \\"$AWS.EventBridge.putEvent\\"; +__f20.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = {putEvents: __f20}; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f22 }); -__f23.kind = \\"Function\\"; -__f23.functionlessKind = \\"Function\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f22 }); +__f23.kind = "Function"; +__f23.functionlessKind = "Function"; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f5(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/lambda\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/lambda"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -13387,7 +13387,7 @@ function __f3(__0, __1) { }function __f22() { return (function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return (function __computed() { return m[k]; });; }).apply(undefined, undefined).apply(this, arguments); @@ -13410,7 +13410,7 @@ function __f3(__0, __1) { let _fnls = __fnls; let func = __f23; - return (() => { return _fnls[\\"$AWS\\"].Lambda.Invoke({ Function: func, Payload: undefined }); });; + return (() => { return _fnls["$AWS"].Lambda.Invoke({ Function: func, Payload: undefined }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -13422,50 +13422,50 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f4 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f4 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; -var __function_prewarm_1_PrewarmClients_Lambda = { key: \\"Lambda\\", init: __f5 }; +var __function_prewarm_1_PrewarmClients_Lambda = { key: "Lambda", init: __f5 }; __function_prewarm_1_PrewarmClients.Lambda = __function_prewarm_1_PrewarmClients_Lambda; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f6, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f7 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f8 }); +Object.defineProperty(__f6, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f8 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f9.kind = \\"$AWS.DynamoDB.getItem\\"; -__f11.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f13.kind = \\"$AWS.DynamoDB.putItem\\"; -__f15.kind = \\"$AWS.DynamoDB.query\\"; -__f17.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f9.kind = "$AWS.DynamoDB.getItem"; +__f11.kind = "$AWS.DynamoDB.updateItem"; +__f13.kind = "$AWS.DynamoDB.putItem"; +__f15.kind = "$AWS.DynamoDB.query"; +__f17.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = { DeleteItem: __f1, GetItem: __f9, UpdateItem: __f11, PutItem: __f13, Query: __f15, Scan: __f17 }; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f19.kind = \\"$AWS.Lambda.Invoke\\"; +__f19.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = { Invoke: __f19 }; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f20.kind = \\"$AWS.EventBridge.putEvent\\"; +__f20.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = { putEvents: __f20 }; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f22 }); -__f23.kind = \\"Function\\"; -__f23.functionlessKind = \\"Function\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f22 }); +__f23.kind = "Function"; +__f23.functionlessKind = "Function"; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -13474,7 +13474,7 @@ function __f4(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -13483,7 +13483,7 @@ function __f5(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/lambda\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/lambda"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -13680,7 +13680,7 @@ function __f20() { function __f22() { return function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return function __computed() { return m[k]; }; @@ -13716,7 +13716,7 @@ function __f0() { let _fnls = __fnls; let func = __f23; return () => { - return _fnls[\\"$AWS\\"].Lambda.Invoke({ Function: func, Payload: void 0 }); + return _fnls["$AWS"].Lambda.Invoke({ Function: func, Payload: void 0 }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -13731,48 +13731,48 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f4}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f4}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = {DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16}; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = {Invoke: __f18}; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = {putEvents: __f19}; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -13886,7 +13886,7 @@ function __f3(__0, __1) { }function __f21() { return (function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return (function __computed() { return m[k]; });; }).apply(undefined, undefined).apply(this, arguments); @@ -13894,7 +13894,7 @@ function __f3(__0, __1) { return (function() { let _fnls = __fnls; - return (() => { return _fnls[\\"$AWS\\"].SDK.CloudWatch.describeAlarms({}, { iam: { resources: [\\"*\\"] } }); });; + return (() => { return _fnls["$AWS"].SDK.CloudWatch.describeAlarms({}, { iam: { resources: ["*"] } }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -13906,46 +13906,46 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f4 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f4 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = { DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16 }; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = { Invoke: __f18 }; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = { putEvents: __f19 }; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -13954,7 +13954,7 @@ function __f4(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -14151,7 +14151,7 @@ function __f19() { function __f21() { return function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return function __computed() { return m[k]; }; @@ -14162,7 +14162,7 @@ function __f0() { return function() { let _fnls = __fnls; return () => { - return _fnls[\\"$AWS\\"].SDK.CloudWatch.describeAlarms({}, { iam: { resources: [\\"*\\"] } }); + return _fnls["$AWS"].SDK.CloudWatch.describeAlarms({}, { iam: { resources: ["*"] } }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -14175,42 +14175,42 @@ exports[`serialize sfn sfn 1`] = ` var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_StepFunctions = {key: \\"StepFunctions\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_StepFunctions = {key: "StepFunctions", init: __f3}; __function_prewarm_1_PrewarmClients.StepFunctions = __function_prewarm_1_PrewarmClients_StepFunctions; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f4, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f4 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__f4, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f4 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f6 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"StepFunction\\"; -__f1.functionlessKind = \\"StepFunction\\"; -__f7.kind = \\"StepFunction.describeExecution\\"; +__f1.kind = "StepFunction"; +__f1.functionlessKind = "StepFunction"; +__f7.kind = "StepFunction.describeExecution"; __f1.describeExecution = __f7; var __f1_definition = {}; -__f1_definition.StartAt = \\"Initialize Functionless Context\\"; +__f1_definition.StartAt = "Initialize Functionless Context"; var __f1_definition_States = {}; var __f1_definition_States_InitializeFunctionlessContext = {}; -__f1_definition_States_InitializeFunctionlessContext.Type = \\"Pass\\"; +__f1_definition_States_InitializeFunctionlessContext.Type = "Pass"; var __f1_definition_States_InitializeFunctionlessContext_Parameters = {}; var __f1_definition_States_InitializeFunctionlessContext_Parameters_fnl_context = {null: undefined}; __f1_definition_States_InitializeFunctionlessContext_Parameters.fnl_context = __f1_definition_States_InitializeFunctionlessContext_Parameters_fnl_context; __f1_definition_States_InitializeFunctionlessContext.Parameters = __f1_definition_States_InitializeFunctionlessContext_Parameters; -__f1_definition_States_InitializeFunctionlessContext.ResultPath = \\"$\\"; -__f1_definition_States_InitializeFunctionlessContext.Next = \\"return null\\"; +__f1_definition_States_InitializeFunctionlessContext.ResultPath = "$"; +__f1_definition_States_InitializeFunctionlessContext.Next = "return null"; __f1_definition_States_InitializeFunctionlessContext.End = undefined; -__f1_definition_States[\\"Initialize Functionless Context\\"] = __f1_definition_States_InitializeFunctionlessContext; -var __f1_definition_States_returnnull = {Type: \\"Pass\\", End: true, ResultPath: \\"$\\", InputPath: \\"$.fnl_context.null\\", Next: undefined}; -__f1_definition_States[\\"return null\\"] = __f1_definition_States_returnnull; +__f1_definition_States["Initialize Functionless Context"] = __f1_definition_States_InitializeFunctionlessContext; +var __f1_definition_States_returnnull = {Type: "Pass", End: true, ResultPath: "$", InputPath: "$.fnl_context.null", Next: undefined}; +__f1_definition_States["return null"] = __f1_definition_States_returnnull; __f1_definition.States = __f1_definition_States; __f1.definition = __f1_definition; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/stepfunctions\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/stepfunctions"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -14267,44 +14267,44 @@ exports[`serialize sfn sfn 2`] = ` exports.handler = __f0; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_StepFunctions = { key: \\"StepFunctions\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_StepFunctions = { key: "StepFunctions", init: __f3 }; __function_prewarm_1_PrewarmClients.StepFunctions = __function_prewarm_1_PrewarmClients_StepFunctions; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f4, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f4 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__f4, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f4 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f6 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"StepFunction\\"; -__f1.functionlessKind = \\"StepFunction\\"; -__f7.kind = \\"StepFunction.describeExecution\\"; +__f1.kind = "StepFunction"; +__f1.functionlessKind = "StepFunction"; +__f7.kind = "StepFunction.describeExecution"; __f1.describeExecution = __f7; var __f1_definition = {}; -__f1_definition.StartAt = \\"Initialize Functionless Context\\"; +__f1_definition.StartAt = "Initialize Functionless Context"; var __f1_definition_States = {}; var __f1_definition_States_InitializeFunctionlessContext = {}; -__f1_definition_States_InitializeFunctionlessContext.Type = \\"Pass\\"; +__f1_definition_States_InitializeFunctionlessContext.Type = "Pass"; var __f1_definition_States_InitializeFunctionlessContext_Parameters = {}; var __f1_definition_States_InitializeFunctionlessContext_Parameters_fnl_context = { null: void 0 }; __f1_definition_States_InitializeFunctionlessContext_Parameters.fnl_context = __f1_definition_States_InitializeFunctionlessContext_Parameters_fnl_context; __f1_definition_States_InitializeFunctionlessContext.Parameters = __f1_definition_States_InitializeFunctionlessContext_Parameters; -__f1_definition_States_InitializeFunctionlessContext.ResultPath = \\"$\\"; -__f1_definition_States_InitializeFunctionlessContext.Next = \\"return null\\"; +__f1_definition_States_InitializeFunctionlessContext.ResultPath = "$"; +__f1_definition_States_InitializeFunctionlessContext.Next = "return null"; __f1_definition_States_InitializeFunctionlessContext.End = void 0; -__f1_definition_States[\\"Initialize Functionless Context\\"] = __f1_definition_States_InitializeFunctionlessContext; -var __f1_definition_States_returnnull = { Type: \\"Pass\\", End: true, ResultPath: \\"$\\", InputPath: \\"$.fnl_context.null\\", Next: void 0 }; -__f1_definition_States[\\"return null\\"] = __f1_definition_States_returnnull; +__f1_definition_States["Initialize Functionless Context"] = __f1_definition_States_InitializeFunctionlessContext; +var __f1_definition_States_returnnull = { Type: "Pass", End: true, ResultPath: "$", InputPath: "$.fnl_context.null", Next: void 0 }; +__f1_definition_States["return null"] = __f1_definition_States_returnnull; __f1_definition.States = __f1_definition_States; __f1.definition = __f1_definition; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/stepfunctions\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/stepfunctions"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -14397,7 +14397,7 @@ exports[`serialize simple 1`] = ` "exports.handler = __f0; function __f0() { return (function() { - return (async () => { return \\"hello\\"; });; + return (async () => { return "hello"; });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -14408,7 +14408,7 @@ exports.handler = __f0; function __f0() { return function() { return async () => { - return \\"hello\\"; + return "hello"; }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -14423,59 +14423,59 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f4}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f4}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = {DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16}; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = {Invoke: __f18}; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = {putEvents: __f19}; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = {getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27}; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -14589,7 +14589,7 @@ function __f3(__0, __1) { }function __f21() { return (function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return (function __computed() { return m[k]; });; }).apply(undefined, undefined).apply(this, arguments); @@ -14622,7 +14622,7 @@ function __f3(__0, __1) { let _fnls = __fnls; let table = __f22; - return (async () => { return _fnls[\\"$AWS\\"].DynamoDB.DeleteItem({ Table: table, Key: { id: { S: \\"key\\" } } }); });; + return (async () => { return _fnls["$AWS"].DynamoDB.DeleteItem({ Table: table, Key: { id: { S: "key" } } }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -14634,57 +14634,57 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f4 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f4 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = { DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16 }; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = { Invoke: __f18 }; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = { putEvents: __f19 }; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = { getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27 }; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -14693,7 +14693,7 @@ function __f4(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -14890,7 +14890,7 @@ function __f19() { function __f21() { return function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return function __computed() { return m[k]; }; @@ -14950,7 +14950,7 @@ function __f0() { let _fnls = __fnls; let table = __f22; return async () => { - return _fnls[\\"$AWS\\"].DynamoDB.DeleteItem({ Table: table, Key: { id: { S: \\"key\\" } } }); + return _fnls["$AWS"].DynamoDB.DeleteItem({ Table: table, Key: { id: { S: "key" } } }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -14965,59 +14965,59 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f4}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f4}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = {DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16}; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = {Invoke: __f18}; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = {putEvents: __f19}; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = {getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27}; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -15131,7 +15131,7 @@ function __f3(__0, __1) { }function __f21() { return (function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return (function __computed() { return m[k]; });; }).apply(undefined, undefined).apply(this, arguments); @@ -15164,7 +15164,7 @@ function __f3(__0, __1) { let _fnls = __fnls; let table = __f22; - return (() => { return _fnls[\\"$AWS\\"].DynamoDB.GetItem({ Table: table, Key: { id: { S: \\"id\\" } } }); });; + return (() => { return _fnls["$AWS"].DynamoDB.GetItem({ Table: table, Key: { id: { S: "id" } } }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -15176,57 +15176,57 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f4 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f4 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = { DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16 }; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = { Invoke: __f18 }; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = { putEvents: __f19 }; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = { getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27 }; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -15235,7 +15235,7 @@ function __f4(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -15432,7 +15432,7 @@ function __f19() { function __f21() { return function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return function __computed() { return m[k]; }; @@ -15492,7 +15492,7 @@ function __f0() { let _fnls = __fnls; let table = __f22; return () => { - return _fnls[\\"$AWS\\"].DynamoDB.GetItem({ Table: table, Key: { id: { S: \\"id\\" } } }); + return _fnls["$AWS"].DynamoDB.GetItem({ Table: table, Key: { id: { S: "id" } } }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -15505,33 +15505,33 @@ exports[`serialize tableMethods get referenced 1`] = ` var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f4, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f4 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__f4, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f4 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f6 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.getItem\\"; -__f7.functionlessKind = \\"Table\\"; -__f7.kind = \\"Table\\"; +__f1.kind = "$AWS.DynamoDB.getItem"; +__f7.functionlessKind = "Table"; +__f7.kind = "Table"; __f7.tableName = process.env.env__functionless0; __f7.tableArn = process.env.env__functionless1; -__f8.kind = \\"Table.AppSync.getItem\\"; -__f9.kind = \\"Table.AppSync.putItem\\"; -__f10.kind = \\"Table.AppSync.updateItem\\"; -__f11.kind = \\"Table.AppSync.deleteItem\\"; -__f12.kind = \\"Table.AppSync.query\\"; +__f8.kind = "Table.AppSync.getItem"; +__f9.kind = "Table.AppSync.putItem"; +__f10.kind = "Table.AppSync.updateItem"; +__f11.kind = "Table.AppSync.deleteItem"; +__f12.kind = "Table.AppSync.query"; var __f7_appsync = {getItem: __f8, putItem: __f9, updateItem: __f10, deleteItem: __f11, query: __f12}; __f7.appsync = __f7_appsync; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -15589,7 +15589,7 @@ function __f3(__0, __1) { let GetItem = __f1; let table = __f7; - return (async () => { return GetItem({ Table: table, Key: { id: { S: \\"id\\" } } }); });; + return (async () => { return GetItem({ Table: table, Key: { id: { S: "id" } } }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -15599,35 +15599,35 @@ exports[`serialize tableMethods get referenced 2`] = ` exports.handler = __f0; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f4, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f4 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__f4, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f4 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f6 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.getItem\\"; -__f7.functionlessKind = \\"Table\\"; -__f7.kind = \\"Table\\"; +__f1.kind = "$AWS.DynamoDB.getItem"; +__f7.functionlessKind = "Table"; +__f7.kind = "Table"; __f7.tableName = process.env.env__functionless0; __f7.tableArn = process.env.env__functionless1; -__f8.kind = \\"Table.AppSync.getItem\\"; -__f9.kind = \\"Table.AppSync.putItem\\"; -__f10.kind = \\"Table.AppSync.updateItem\\"; -__f11.kind = \\"Table.AppSync.deleteItem\\"; -__f12.kind = \\"Table.AppSync.query\\"; +__f8.kind = "Table.AppSync.getItem"; +__f9.kind = "Table.AppSync.putItem"; +__f10.kind = "Table.AppSync.updateItem"; +__f11.kind = "Table.AppSync.deleteItem"; +__f12.kind = "Table.AppSync.query"; var __f7_appsync = { getItem: __f8, putItem: __f9, updateItem: __f10, deleteItem: __f11, query: __f12 }; __f7.appsync = __f7_appsync; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -15736,7 +15736,7 @@ function __f0() { let GetItem = __f1; let table = __f7; return async () => { - return GetItem({ Table: table, Key: { id: { S: \\"id\\" } } }); + return GetItem({ Table: table, Key: { id: { S: "id" } } }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -15751,59 +15751,59 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f4}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f4}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = {DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16}; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = {Invoke: __f18}; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = {putEvents: __f19}; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = {getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27}; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -15917,7 +15917,7 @@ function __f3(__0, __1) { }function __f21() { return (function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return (function __computed() { return m[k]; });; }).apply(undefined, undefined).apply(this, arguments); @@ -15950,7 +15950,7 @@ function __f3(__0, __1) { let _fnls = __fnls; let table = __f22; - return (async () => { return _fnls[\\"$AWS\\"].DynamoDB.PutItem({ Table: table, Item: { id: { S: \\"key\\" } } }); });; + return (async () => { return _fnls["$AWS"].DynamoDB.PutItem({ Table: table, Item: { id: { S: "key" } } }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -15962,57 +15962,57 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f4 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f4 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = { DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16 }; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = { Invoke: __f18 }; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = { putEvents: __f19 }; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = { getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27 }; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -16021,7 +16021,7 @@ function __f4(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -16218,7 +16218,7 @@ function __f19() { function __f21() { return function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return function __computed() { return m[k]; }; @@ -16278,7 +16278,7 @@ function __f0() { let _fnls = __fnls; let table = __f22; return async () => { - return _fnls[\\"$AWS\\"].DynamoDB.PutItem({ Table: table, Item: { id: { S: \\"key\\" } } }); + return _fnls["$AWS"].DynamoDB.PutItem({ Table: table, Item: { id: { S: "key" } } }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -16293,59 +16293,59 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f4}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f4}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = {DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16}; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = {Invoke: __f18}; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = {putEvents: __f19}; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = {getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27}; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -16459,7 +16459,7 @@ function __f3(__0, __1) { }function __f21() { return (function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return (function __computed() { return m[k]; });; }).apply(undefined, undefined).apply(this, arguments); @@ -16492,7 +16492,7 @@ function __f3(__0, __1) { let _fnls = __fnls; let table = __f22; - return (async () => { return _fnls[\\"$AWS\\"].DynamoDB.UpdateItem({ Table: table, Key: { id: { S: \\"key\\" } }, UpdateExpression: \\"set #value = :value\\", ExpressionAttributeValues: { \\":value\\": { S: \\"value\\" } }, ExpressionAttributeNames: { \\"#value\\": \\"value\\" } }); });; + return (async () => { return _fnls["$AWS"].DynamoDB.UpdateItem({ Table: table, Key: { id: { S: "key" } }, UpdateExpression: "set #value = :value", ExpressionAttributeValues: { ":value": { S: "value" } }, ExpressionAttributeNames: { "#value": "value" } }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -16504,57 +16504,57 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f4 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f4 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = { DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16 }; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = { Invoke: __f18 }; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = { putEvents: __f19 }; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = { getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27 }; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -16563,7 +16563,7 @@ function __f4(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -16760,7 +16760,7 @@ function __f19() { function __f21() { return function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return function __computed() { return m[k]; }; @@ -16820,7 +16820,7 @@ function __f0() { let _fnls = __fnls; let table = __f22; return async () => { - return _fnls[\\"$AWS\\"].DynamoDB.UpdateItem({ Table: table, Key: { id: { S: \\"key\\" } }, UpdateExpression: \\"set #value = :value\\", ExpressionAttributeValues: { \\":value\\": { S: \\"value\\" } }, ExpressionAttributeNames: { \\"#value\\": \\"value\\" } }); + return _fnls["$AWS"].DynamoDB.UpdateItem({ Table: table, Key: { id: { S: "key" } }, UpdateExpression: "set #value = :value", ExpressionAttributeValues: { ":value": { S: "value" } }, ExpressionAttributeNames: { "#value": "value" } }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -16835,59 +16835,59 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f4}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f4}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = {DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16}; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = {Invoke: __f18}; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = {putEvents: __f19}; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = {getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27}; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -17001,7 +17001,7 @@ function __f3(__0, __1) { }function __f21() { return (function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return (function __computed() { return m[k]; });; }).apply(undefined, undefined).apply(this, arguments); @@ -17034,7 +17034,7 @@ function __f3(__0, __1) { let _fnls = __fnls; let table = __f22; - return (async () => { return _fnls[\\"$AWS\\"].DynamoDB.Query({ Table: table, KeyConditionExpression: \\"#key = :key\\", ExpressionAttributeValues: { \\":key\\": { S: \\"key\\" } }, ExpressionAttributeNames: { \\"#key\\": \\"key\\" } }); });; + return (async () => { return _fnls["$AWS"].DynamoDB.Query({ Table: table, KeyConditionExpression: "#key = :key", ExpressionAttributeValues: { ":key": { S: "key" } }, ExpressionAttributeNames: { "#key": "key" } }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -17046,57 +17046,57 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f4 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f4 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = { DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16 }; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = { Invoke: __f18 }; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = { putEvents: __f19 }; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = { getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27 }; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -17105,7 +17105,7 @@ function __f4(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -17302,7 +17302,7 @@ function __f19() { function __f21() { return function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return function __computed() { return m[k]; }; @@ -17362,7 +17362,7 @@ function __f0() { let _fnls = __fnls; let table = __f22; return async () => { - return _fnls[\\"$AWS\\"].DynamoDB.Query({ Table: table, KeyConditionExpression: \\"#key = :key\\", ExpressionAttributeValues: { \\":key\\": { S: \\"key\\" } }, ExpressionAttributeNames: { \\"#key\\": \\"key\\" } }); + return _fnls["$AWS"].DynamoDB.Query({ Table: table, KeyConditionExpression: "#key = :key", ExpressionAttributeValues: { ":key": { S: "key" } }, ExpressionAttributeNames: { "#key": "key" } }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -17377,59 +17377,59 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = {key: \\"DynamoDB\\", init: __f3}; +var __function_prewarm_1_PrewarmClients_DynamoDB = {key: "DynamoDB", init: __f3}; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = {key: \\"EventBridge\\", init: __f4}; +var __function_prewarm_1_PrewarmClients_EventBridge = {key: "EventBridge", init: __f4}; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = undefined; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = {DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16}; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = {Invoke: __f18}; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = {putEvents: __f19}; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = {getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27}; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f4(__0, __1) { return (function() { - return ((key, props) => { var _a; return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; + return ((key, props) => { var _a; return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); });; }).apply(undefined, undefined).apply(this, arguments); }function __f2(__0, __1) { return (function() { @@ -17543,7 +17543,7 @@ function __f3(__0, __1) { }function __f21() { return (function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return (function __computed() { return m[k]; });; }).apply(undefined, undefined).apply(this, arguments); @@ -17576,7 +17576,7 @@ function __f3(__0, __1) { let _fnls = __fnls; let table = __f22; - return (async () => { return _fnls[\\"$AWS\\"].DynamoDB.Scan({ Table: table }); });; + return (async () => { return _fnls["$AWS"].DynamoDB.Scan({ Table: table }); });; }).apply(undefined, undefined).apply(this, arguments); }" `; @@ -17588,57 +17588,57 @@ var __fnls = {}; var __fnls_AWS = {}; var __function_prewarm_1 = {}; var __function_prewarm_1_PrewarmClients = {}; -var __function_prewarm_1_PrewarmClients_DynamoDB = { key: \\"DynamoDB\\", init: __f3 }; +var __function_prewarm_1_PrewarmClients_DynamoDB = { key: "DynamoDB", init: __f3 }; __function_prewarm_1_PrewarmClients.DynamoDB = __function_prewarm_1_PrewarmClients_DynamoDB; -var __function_prewarm_1_PrewarmClients_EventBridge = { key: \\"EventBridge\\", init: __f4 }; +var __function_prewarm_1_PrewarmClients_EventBridge = { key: "EventBridge", init: __f4 }; __function_prewarm_1_PrewarmClients.EventBridge = __function_prewarm_1_PrewarmClients_EventBridge; __function_prewarm_1.PrewarmClients = __function_prewarm_1_PrewarmClients; var __preWarmContext_proto = {}; -Object.defineProperty(__f5, \\"prototype\\", { value: __preWarmContext_proto }); -Object.defineProperty(__preWarmContext_proto, \\"constructor\\", { configurable: true, writable: true, value: __f5 }); -Object.defineProperty(__preWarmContext_proto, \\"get\\", { configurable: true, writable: true, value: __f6 }); -Object.defineProperty(__preWarmContext_proto, \\"getOrInit\\", { configurable: true, writable: true, value: __f7 }); +Object.defineProperty(__f5, "prototype", { value: __preWarmContext_proto }); +Object.defineProperty(__preWarmContext_proto, "constructor", { configurable: true, writable: true, value: __f5 }); +Object.defineProperty(__preWarmContext_proto, "get", { configurable: true, writable: true, value: __f6 }); +Object.defineProperty(__preWarmContext_proto, "getOrInit", { configurable: true, writable: true, value: __f7 }); var __preWarmContext = Object.create(__preWarmContext_proto); __preWarmContext.props = void 0; var __preWarmContext_cache = {}; __preWarmContext.cache = __preWarmContext_cache; -__f1.kind = \\"$AWS.DynamoDB.deleteItem\\"; -__f8.kind = \\"$AWS.DynamoDB.getItem\\"; -__f10.kind = \\"$AWS.DynamoDB.updateItem\\"; -__f12.kind = \\"$AWS.DynamoDB.putItem\\"; -__f14.kind = \\"$AWS.DynamoDB.query\\"; -__f16.kind = \\"$AWS.DynamoDB.scan\\"; +__f1.kind = "$AWS.DynamoDB.deleteItem"; +__f8.kind = "$AWS.DynamoDB.getItem"; +__f10.kind = "$AWS.DynamoDB.updateItem"; +__f12.kind = "$AWS.DynamoDB.putItem"; +__f14.kind = "$AWS.DynamoDB.query"; +__f16.kind = "$AWS.DynamoDB.scan"; var __fnls_AWS_DynamoDB = { DeleteItem: __f1, GetItem: __f8, UpdateItem: __f10, PutItem: __f12, Query: __f14, Scan: __f16 }; __fnls_AWS.DynamoDB = __fnls_AWS_DynamoDB; -__f18.kind = \\"$AWS.Lambda.Invoke\\"; +__f18.kind = "$AWS.Lambda.Invoke"; var __fnls_AWS_Lambda = { Invoke: __f18 }; __fnls_AWS.Lambda = __fnls_AWS_Lambda; -__f19.kind = \\"$AWS.EventBridge.putEvent\\"; +__f19.kind = "$AWS.EventBridge.putEvent"; var __fnls_AWS_EventBridge = { putEvents: __f19 }; __fnls_AWS.EventBridge = __fnls_AWS_EventBridge; var __fnls_AWS_SDK = {}; __fnls_AWS.SDK = __fnls_AWS_SDK; var __m = Object.create(global.constructor.prototype); -Object.defineProperty(__m, \\"__esModule\\", { value: true }); -__m[\\"$AWS\\"] = __fnls_AWS; +Object.defineProperty(__m, "__esModule", { value: true }); +__m["$AWS"] = __fnls_AWS; __m.deploymentOnlyModule = true; -Object.defineProperty(__fnls, \\"$AWS\\", { enumerable: true, get: __f21 }); -__f22.functionlessKind = \\"Table\\"; -__f22.kind = \\"Table\\"; +Object.defineProperty(__fnls, "$AWS", { enumerable: true, get: __f21 }); +__f22.functionlessKind = "Table"; +__f22.kind = "Table"; __f22.tableName = process.env.env__functionless0; __f22.tableArn = process.env.env__functionless1; -__f23.kind = \\"Table.AppSync.getItem\\"; -__f24.kind = \\"Table.AppSync.putItem\\"; -__f25.kind = \\"Table.AppSync.updateItem\\"; -__f26.kind = \\"Table.AppSync.deleteItem\\"; -__f27.kind = \\"Table.AppSync.query\\"; +__f23.kind = "Table.AppSync.getItem"; +__f24.kind = "Table.AppSync.putItem"; +__f25.kind = "Table.AppSync.updateItem"; +__f26.kind = "Table.AppSync.deleteItem"; +__f27.kind = "Table.AppSync.query"; var __f22_appsync = { getItem: __f23, putItem: __f24, updateItem: __f25, deleteItem: __f26, query: __f27 }; __f22.appsync = __f22_appsync; function __f3(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/dynamodb\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/dynamodb"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -17647,7 +17647,7 @@ function __f4(__0, __1) { return function() { return (key, props) => { var _a; - return new (require(\\"aws-sdk/clients/eventbridge\\"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); + return new (require("aws-sdk/clients/eventbridge"))((_a = props === null || props === void 0 ? void 0 : props.clientConfigRetriever) === null || _a === void 0 ? void 0 : _a.call(props, key)); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -17844,7 +17844,7 @@ function __f19() { function __f21() { return function() { let m = __m; - let k = \\"$AWS\\"; + let k = "$AWS"; return function __computed() { return m[k]; }; @@ -17904,7 +17904,7 @@ function __f0() { let _fnls = __fnls; let table = __f22; return async () => { - return _fnls[\\"$AWS\\"].DynamoDB.Scan({ Table: table }); + return _fnls["$AWS"].DynamoDB.Scan({ Table: table }); }; ; }.apply(void 0, void 0).apply(this, arguments); @@ -17916,7 +17916,7 @@ exports[`serialize uuid 1`] = ` "exports.handler = __f0; function __f0() { return (function() { - let _uuid = require(\\"uuid\\"); + let _uuid = require("uuid"); return (async () => { return (0, _uuid.v4)(); });; }).apply(undefined, undefined).apply(this, arguments); @@ -17931,13 +17931,13 @@ var __commonJS = (cb, mod) => function __require() { // node_modules/uuid/dist/rng.js var require_rng = __commonJS({ - \\"node_modules/uuid/dist/rng.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/rng.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = rng; - var _crypto = _interopRequireDefault(require(\\"crypto\\")); + var _crypto = _interopRequireDefault(require("crypto")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -17955,9 +17955,9 @@ var require_rng = __commonJS({ // node_modules/uuid/dist/regex.js var require_regex = __commonJS({ - \\"node_modules/uuid/dist/regex.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/regex.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; @@ -17968,9 +17968,9 @@ var require_regex = __commonJS({ // node_modules/uuid/dist/validate.js var require_validate = __commonJS({ - \\"node_modules/uuid/dist/validate.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/validate.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; @@ -17979,7 +17979,7 @@ var require_validate = __commonJS({ return obj && obj.__esModule ? obj : { default: obj }; } function validate(uuid) { - return typeof uuid === \\"string\\" && _regex.default.test(uuid); + return typeof uuid === "string" && _regex.default.test(uuid); } var _default = validate; exports2.default = _default; @@ -17988,9 +17988,9 @@ var require_validate = __commonJS({ // node_modules/uuid/dist/stringify.js var require_stringify = __commonJS({ - \\"node_modules/uuid/dist/stringify.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/stringify.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; @@ -18003,9 +18003,9 @@ var require_stringify = __commonJS({ byteToHex.push((i + 256).toString(16).substr(1)); } function stringify(arr, offset = 0) { - const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + \\"-\\" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + \\"-\\" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + \\"-\\" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + \\"-\\" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); + const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); if (!(0, _validate.default)(uuid)) { - throw TypeError(\\"Stringified UUID is invalid\\"); + throw TypeError("Stringified UUID is invalid"); } return uuid; } @@ -18016,9 +18016,9 @@ var require_stringify = __commonJS({ // node_modules/uuid/dist/v1.js var require_v1 = __commonJS({ - \\"node_modules/uuid/dist/v1.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/v1.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; @@ -18056,7 +18056,7 @@ var require_v1 = __commonJS({ nsecs = 0; } if (nsecs >= 1e4) { - throw new Error(\\"uuid.v1(): Can't create more than 10M uuids/sec\\"); + throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); } _lastMSecs = msecs; _lastNSecs = nsecs; @@ -18086,9 +18086,9 @@ var require_v1 = __commonJS({ // node_modules/uuid/dist/parse.js var require_parse = __commonJS({ - \\"node_modules/uuid/dist/parse.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/parse.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; @@ -18098,7 +18098,7 @@ var require_parse = __commonJS({ } function parse(uuid) { if (!(0, _validate.default)(uuid)) { - throw TypeError(\\"Invalid UUID\\"); + throw TypeError("Invalid UUID"); } let v; const arr = new Uint8Array(16); @@ -18127,9 +18127,9 @@ var require_parse = __commonJS({ // node_modules/uuid/dist/v35.js var require_v35 = __commonJS({ - \\"node_modules/uuid/dist/v35.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/v35.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = _default; @@ -18147,20 +18147,20 @@ var require_v35 = __commonJS({ } return bytes; } - var DNS = \\"6ba7b810-9dad-11d1-80b4-00c04fd430c8\\"; + var DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; exports2.DNS = DNS; - var URL = \\"6ba7b811-9dad-11d1-80b4-00c04fd430c8\\"; + var URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; exports2.URL = URL; function _default(name, version, hashfunc) { function generateUUID(value, namespace, buf, offset) { - if (typeof value === \\"string\\") { + if (typeof value === "string") { value = stringToBytes(value); } - if (typeof namespace === \\"string\\") { + if (typeof namespace === "string") { namespace = (0, _parse.default)(namespace); } if (namespace.length !== 16) { - throw TypeError(\\"Namespace must be array-like (16 iterable integer values, 0-255)\\"); + throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)"); } let bytes = new Uint8Array(16 + value.length); bytes.set(namespace); @@ -18190,23 +18190,23 @@ var require_v35 = __commonJS({ // node_modules/uuid/dist/md5.js var require_md5 = __commonJS({ - \\"node_modules/uuid/dist/md5.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/md5.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; - var _crypto = _interopRequireDefault(require(\\"crypto\\")); + var _crypto = _interopRequireDefault(require("crypto")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function md5(bytes) { if (Array.isArray(bytes)) { bytes = Buffer.from(bytes); - } else if (typeof bytes === \\"string\\") { - bytes = Buffer.from(bytes, \\"utf8\\"); + } else if (typeof bytes === "string") { + bytes = Buffer.from(bytes, "utf8"); } - return _crypto.default.createHash(\\"md5\\").update(bytes).digest(); + return _crypto.default.createHash("md5").update(bytes).digest(); } var _default = md5; exports2.default = _default; @@ -18215,9 +18215,9 @@ var require_md5 = __commonJS({ // node_modules/uuid/dist/v3.js var require_v3 = __commonJS({ - \\"node_modules/uuid/dist/v3.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/v3.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; @@ -18226,7 +18226,7 @@ var require_v3 = __commonJS({ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - var v3 = (0, _v.default)(\\"v3\\", 48, _md.default); + var v3 = (0, _v.default)("v3", 48, _md.default); var _default = v3; exports2.default = _default; } @@ -18234,9 +18234,9 @@ var require_v3 = __commonJS({ // node_modules/uuid/dist/v4.js var require_v4 = __commonJS({ - \\"node_modules/uuid/dist/v4.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/v4.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; @@ -18266,23 +18266,23 @@ var require_v4 = __commonJS({ // node_modules/uuid/dist/sha1.js var require_sha1 = __commonJS({ - \\"node_modules/uuid/dist/sha1.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/sha1.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; - var _crypto = _interopRequireDefault(require(\\"crypto\\")); + var _crypto = _interopRequireDefault(require("crypto")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function sha1(bytes) { if (Array.isArray(bytes)) { bytes = Buffer.from(bytes); - } else if (typeof bytes === \\"string\\") { - bytes = Buffer.from(bytes, \\"utf8\\"); + } else if (typeof bytes === "string") { + bytes = Buffer.from(bytes, "utf8"); } - return _crypto.default.createHash(\\"sha1\\").update(bytes).digest(); + return _crypto.default.createHash("sha1").update(bytes).digest(); } var _default = sha1; exports2.default = _default; @@ -18291,9 +18291,9 @@ var require_sha1 = __commonJS({ // node_modules/uuid/dist/v5.js var require_v5 = __commonJS({ - \\"node_modules/uuid/dist/v5.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/v5.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; @@ -18302,7 +18302,7 @@ var require_v5 = __commonJS({ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - var v5 = (0, _v.default)(\\"v5\\", 80, _sha.default); + var v5 = (0, _v.default)("v5", 80, _sha.default); var _default = v5; exports2.default = _default; } @@ -18310,22 +18310,22 @@ var require_v5 = __commonJS({ // node_modules/uuid/dist/nil.js var require_nil = __commonJS({ - \\"node_modules/uuid/dist/nil.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/nil.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; - var _default = \\"00000000-0000-0000-0000-000000000000\\"; + var _default = "00000000-0000-0000-0000-000000000000"; exports2.default = _default; } }); // node_modules/uuid/dist/version.js var require_version = __commonJS({ - \\"node_modules/uuid/dist/version.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/version.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); exports2.default = void 0; @@ -18335,7 +18335,7 @@ var require_version = __commonJS({ } function version(uuid) { if (!(0, _validate.default)(uuid)) { - throw TypeError(\\"Invalid UUID\\"); + throw TypeError("Invalid UUID"); } return parseInt(uuid.substr(14, 1), 16); } @@ -18346,60 +18346,60 @@ var require_version = __commonJS({ // node_modules/uuid/dist/index.js var require_dist = __commonJS({ - \\"node_modules/uuid/dist/index.js\\"(exports2) { - \\"use strict\\"; - Object.defineProperty(exports2, \\"__esModule\\", { + "node_modules/uuid/dist/index.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); - Object.defineProperty(exports2, \\"v1\\", { + Object.defineProperty(exports2, "v1", { enumerable: true, get: function() { return _v.default; } }); - Object.defineProperty(exports2, \\"v3\\", { + Object.defineProperty(exports2, "v3", { enumerable: true, get: function() { return _v2.default; } }); - Object.defineProperty(exports2, \\"v4\\", { + Object.defineProperty(exports2, "v4", { enumerable: true, get: function() { return _v3.default; } }); - Object.defineProperty(exports2, \\"v5\\", { + Object.defineProperty(exports2, "v5", { enumerable: true, get: function() { return _v4.default; } }); - Object.defineProperty(exports2, \\"NIL\\", { + Object.defineProperty(exports2, "NIL", { enumerable: true, get: function() { return _nil.default; } }); - Object.defineProperty(exports2, \\"version\\", { + Object.defineProperty(exports2, "version", { enumerable: true, get: function() { return _version.default; } }); - Object.defineProperty(exports2, \\"validate\\", { + Object.defineProperty(exports2, "validate", { enumerable: true, get: function() { return _validate.default; } }); - Object.defineProperty(exports2, \\"stringify\\", { + Object.defineProperty(exports2, "stringify", { enumerable: true, get: function() { return _stringify.default; } }); - Object.defineProperty(exports2, \\"parse\\", { + Object.defineProperty(exports2, "parse", { enumerable: true, get: function() { return _parse.default; diff --git a/test/__snapshots__/step-function.localstack.test.ts.snap b/test/__snapshots__/step-function.localstack.test.ts.snap index 6df1a0d4..5e2d9046 100644 --- a/test/__snapshots__/step-function.localstack.test.ts.snap +++ b/test/__snapshots__/step-function.localstack.test.ts.snap @@ -1,34 +1,34 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`$AWS.SDK.DynamoDB.describeTable 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "tableInfo = await $AWS.SDK.DynamoDB.describeTable({TableName: table.tableNa", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return tableInfo.Table.TableArn": Object { + "return tableInfo.Table.TableArn": { "End": true, "InputPath": "$.tableInfo.Table.TableArn", "ResultPath": "$", "Type": "Pass", }, - "tableInfo": Object { + "tableInfo": { "InputPath": "$.heap0", "Next": "return tableInfo.Table.TableArn", "ResultPath": "$.tableInfo", "Type": "Pass", }, - "tableInfo = await $AWS.SDK.DynamoDB.describeTable({TableName: table.tableNa": Object { + "tableInfo = await $AWS.SDK.DynamoDB.describeTable({TableName: table.tableNa": { "Next": "tableInfo", - "Parameters": Object { + "Parameters": { "TableName": "__REPLACED_TOKEN", }, "Resource": "arn:aws:states:::aws-sdk:dynamodb:describeTable", @@ -40,12 +40,12 @@ Object { `; exports[`Boolean coerce 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber": Object { + "States": { + "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber": { "End": true, - "Parameters": Object { + "Parameters": { "empty": false, "falseBoolean": false, "falseNumber": false, @@ -60,50 +60,50 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber 1": Object { + "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber 1": { "InputPath": "$.heap0", "Next": "Boolean(input.nv)", "ResultPath": "$.heap1", "Type": "Pass", }, - "3__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber": Object { + "3__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber": { "InputPath": "$.heap2", - "Next": "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber", + "Next": "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber", "ResultPath": "$.heap3", "Type": "Pass", }, - "Boolean(input.nv)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Boolean(input.nv)": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.nv", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEquals": "", "Variable": "$.input.nv", }, @@ -112,20 +112,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.nv", }, @@ -134,30 +134,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.nv", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "IsString": true, "Variable": "$.input.nv", }, @@ -173,10 +173,10 @@ Object { "Default": "false__Boolean(input.nv)", "Type": "Choice", }, - "Initialize Functionless Context": Object { - "Next": "return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber: B", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber: B", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -184,50 +184,50 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__Boolean(input.nv)": Object { - "Next": "3__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber", + "false__Boolean(input.nv)": { + "Next": "3__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber", "Result": false, "ResultPath": "$.heap2", "Type": "Pass", }, - "false__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNu": Object { - "Next": "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber 1", + "false__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNu": { + "Next": "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber 1", "Result": false, "ResultPath": "$.heap0", "Type": "Pass", }, - "return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber: B": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber: B": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.value", }, - Object { + { "IsNull": false, "Variable": "$.input.value", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.value", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.value", }, - Object { + { "StringEquals": "", "Variable": "$.input.value", }, @@ -236,20 +236,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.value", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.value", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.value", }, @@ -258,30 +258,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.value", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.value", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.value", }, - Object { + { "IsNumeric": true, "Variable": "$.input.value", }, - Object { + { "IsString": true, "Variable": "$.input.value", }, @@ -291,20 +291,20 @@ Object { ], }, ], - "Next": "true__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNum", + "Next": "true__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNum", }, ], - "Default": "false__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNu", + "Default": "false__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNu", "Type": "Choice", }, - "true__Boolean(input.nv)": Object { - "Next": "3__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber", + "true__Boolean(input.nv)": { + "Next": "3__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber", "Result": true, "ResultPath": "$.heap2", "Type": "Pass", }, - "true__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNum": Object { - "Next": "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber 1", + "true__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNum": { + "Next": "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber 1", "Result": true, "ResultPath": "$.heap0", "Type": "Pass", @@ -314,30 +314,30 @@ Object { `; exports[`Number coerce 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "11__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu": Object { + "States": { + "11__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu": { "InputPath": "$.heap10.num", "Next": "null 1", "ResultPath": "$.heap11", "Type": "Pass", }, - "13__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu": Object { + "13__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu": { "InputPath": "$.heap12.num", "Next": "input.nan 1", "ResultPath": "$.heap13", "Type": "Pass", }, - "15__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu": Object { + "15__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu": { "InputPath": "$.heap14.num", - "Next": "1__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "1__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "ResultPath": "$.heap15", "Type": "Pass", }, - "1__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num": Object { + "1__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num": { "End": true, - "Parameters": Object { + "Parameters": { "empty": 0, "nanObject": null, "nanObjectUnaryPlus": null, @@ -368,40 +368,40 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num 1": Object { + "1__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num 1": { "InputPath": "$.heap0.num", "Next": "input.zero", "ResultPath": "$.heap1", "Type": "Pass", }, - "3__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num": Object { + "3__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num": { "InputPath": "$.heap2.num", "Next": "null", "ResultPath": "$.heap3", "Type": "Pass", }, - "5__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num": Object { + "5__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num": { "InputPath": "$.heap4.num", "Next": "input.nan", "ResultPath": "$.heap5", "Type": "Pass", }, - "7__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num": Object { + "7__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num": { "InputPath": "$.heap6.num", "Next": "input.one", "ResultPath": "$.heap7", "Type": "Pass", }, - "9__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num": Object { + "9__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num": { "InputPath": "$.heap8.num", "Next": "input.zero 1", "ResultPath": "$.heap9", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Number", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Number", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -409,226 +409,226 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "assign__input.nan": Object { + "assign__input.nan": { "InputPath": "$.input.nan", - "Next": "7__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "7__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "ResultPath": "$.heap6.num", "Type": "Pass", }, - "assign__input.nan 1": Object { + "assign__input.nan 1": { "InputPath": "$.input.nan", - "Next": "15__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "Next": "15__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "ResultPath": "$.heap14.num", "Type": "Pass", }, - "assign__input.one": Object { + "assign__input.one": { "InputPath": "$.input.one", - "Next": "9__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "9__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "ResultPath": "$.heap8.num", "Type": "Pass", }, - "assign__input.zero": Object { + "assign__input.zero": { "InputPath": "$.input.zero", - "Next": "3__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "3__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "ResultPath": "$.heap2.num", "Type": "Pass", }, - "assign__input.zero 1": Object { + "assign__input.zero 1": { "InputPath": "$.input.zero", - "Next": "11__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "Next": "11__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "ResultPath": "$.heap10.num", "Type": "Pass", }, - "assign__null": Object { + "assign__null": { "InputPath": "$.fnl_context.null", - "Next": "5__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "5__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "ResultPath": "$.heap4.num", "Type": "Pass", }, - "assign__null 1": Object { + "assign__null 1": { "InputPath": "$.fnl_context.null", - "Next": "13__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "Next": "13__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "ResultPath": "$.heap12.num", "Type": "Pass", }, - "assign__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber": Object { + "assign__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber": { "InputPath": "$.input.one", - "Next": "1__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num 1", + "Next": "1__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num 1", "ResultPath": "$.heap0.num", "Type": "Pass", }, - "checkStringOutput__input.nan": Object { - "Choices": Array [ - Object { + "checkStringOutput__input.nan": { + "Choices": [ + { "IsNumeric": true, - "Next": "7__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "7__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Variable": "$.heap6.num", }, ], "Default": "null__input.nan", "Type": "Choice", }, - "checkStringOutput__input.nan 1": Object { - "Choices": Array [ - Object { + "checkStringOutput__input.nan 1": { + "Choices": [ + { "IsNumeric": true, - "Next": "15__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "Next": "15__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "Variable": "$.heap14.num", }, ], "Default": "null__input.nan 1", "Type": "Choice", }, - "checkStringOutput__input.one": Object { - "Choices": Array [ - Object { + "checkStringOutput__input.one": { + "Choices": [ + { "IsNumeric": true, - "Next": "9__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "9__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Variable": "$.heap8.num", }, ], "Default": "null__input.one", "Type": "Choice", }, - "checkStringOutput__input.zero": Object { - "Choices": Array [ - Object { + "checkStringOutput__input.zero": { + "Choices": [ + { "IsNumeric": true, - "Next": "3__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "3__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Variable": "$.heap2.num", }, ], "Default": "null__input.zero", "Type": "Choice", }, - "checkStringOutput__input.zero 1": Object { - "Choices": Array [ - Object { + "checkStringOutput__input.zero 1": { + "Choices": [ + { "IsNumeric": true, - "Next": "11__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "Next": "11__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "Variable": "$.heap10.num", }, ], "Default": "null__input.zero 1", "Type": "Choice", }, - "checkStringOutput__null": Object { - "Choices": Array [ - Object { + "checkStringOutput__null": { + "Choices": [ + { "IsNumeric": true, - "Next": "5__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "5__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Variable": "$.heap4.num", }, ], "Default": "null__null", "Type": "Choice", }, - "checkStringOutput__null 1": Object { - "Choices": Array [ - Object { + "checkStringOutput__null 1": { + "Choices": [ + { "IsNumeric": true, - "Next": "13__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "Next": "13__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "Variable": "$.heap12.num", }, ], "Default": "null__null 1", "Type": "Choice", }, - "checkStringOutput__return {oneString: Number(\\"1\\"), oneBoolean: Number(true)": Object { - "Choices": Array [ - Object { + "checkStringOutput__return {oneString: Number("1"), oneBoolean: Number(true)": { + "Choices": [ + { "IsNumeric": true, - "Next": "1__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num 1", + "Next": "1__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num 1", "Variable": "$.heap0.num", }, ], - "Default": "null__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: ", + "Default": "null__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: ", "Type": "Choice", }, - "format__input.nan": Object { + "format__input.nan": { "Next": "checkStringOutput__input.nan", - "Parameters": Object { + "Parameters": { "num.$": "States.StringToJson($.input.nan)", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "format__input.nan 1": Object { + "format__input.nan 1": { "Next": "checkStringOutput__input.nan 1", - "Parameters": Object { + "Parameters": { "num.$": "States.StringToJson($.input.nan)", }, "ResultPath": "$.heap14", "Type": "Pass", }, - "format__input.one": Object { + "format__input.one": { "Next": "checkStringOutput__input.one", - "Parameters": Object { + "Parameters": { "num.$": "States.StringToJson($.input.one)", }, "ResultPath": "$.heap8", "Type": "Pass", }, - "format__input.zero": Object { + "format__input.zero": { "Next": "checkStringOutput__input.zero", - "Parameters": Object { + "Parameters": { "num.$": "States.StringToJson($.input.zero)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "format__input.zero 1": Object { + "format__input.zero 1": { "Next": "checkStringOutput__input.zero 1", - "Parameters": Object { + "Parameters": { "num.$": "States.StringToJson($.input.zero)", }, "ResultPath": "$.heap10", "Type": "Pass", }, - "format__null": Object { + "format__null": { "Next": "checkStringOutput__null", - "Parameters": Object { + "Parameters": { "num.$": "States.StringToJson($.fnl_context.null)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "format__null 1": Object { + "format__null 1": { "Next": "checkStringOutput__null 1", - "Parameters": Object { + "Parameters": { "num.$": "States.StringToJson($.fnl_context.null)", }, "ResultPath": "$.heap12", "Type": "Pass", }, - "format__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber": Object { - "Next": "checkStringOutput__return {oneString: Number(\\"1\\"), oneBoolean: Number(true)", - "Parameters": Object { + "format__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber": { + "Next": "checkStringOutput__return {oneString: Number("1"), oneBoolean: Number(true)", + "Parameters": { "num.$": "States.StringToJson($.input.one)", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "input.nan": Object { - "Choices": Array [ - Object { + "input.nan": { + "Choices": [ + { "IsPresent": false, "Next": "null__input.nan", "Variable": "$.input.nan", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.nan", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.nan", }, - Object { + { "StringEquals": "", "Variable": "$.input.nan", }, @@ -637,41 +637,41 @@ Object { ], "Next": "zero__input.nan", }, - Object { + { "IsNull": true, "Next": "zero__input.nan", "Variable": "$.input.nan", }, - Object { + { "IsString": true, "Next": "format__input.nan", "Variable": "$.input.nan", }, - Object { + { "IsNumeric": true, "Next": "assign__input.nan", "Variable": "$.input.nan", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nan", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.nan", }, ], "Next": "one__input.nan", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nan", }, - Object { + { "BooleanEquals": false, "Variable": "$.input.nan", }, @@ -682,26 +682,26 @@ Object { "Default": "null__input.nan", "Type": "Choice", }, - "input.nan 1": Object { - "Choices": Array [ - Object { + "input.nan 1": { + "Choices": [ + { "IsPresent": false, "Next": "null__input.nan 1", "Variable": "$.input.nan", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.nan", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.nan", }, - Object { + { "StringEquals": "", "Variable": "$.input.nan", }, @@ -710,41 +710,41 @@ Object { ], "Next": "zero__input.nan 1", }, - Object { + { "IsNull": true, "Next": "zero__input.nan 1", "Variable": "$.input.nan", }, - Object { + { "IsString": true, "Next": "format__input.nan 1", "Variable": "$.input.nan", }, - Object { + { "IsNumeric": true, "Next": "assign__input.nan 1", "Variable": "$.input.nan", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nan", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.nan", }, ], "Next": "one__input.nan 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nan", }, - Object { + { "BooleanEquals": false, "Variable": "$.input.nan", }, @@ -755,26 +755,26 @@ Object { "Default": "null__input.nan 1", "Type": "Choice", }, - "input.one": Object { - "Choices": Array [ - Object { + "input.one": { + "Choices": [ + { "IsPresent": false, "Next": "null__input.one", "Variable": "$.input.one", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.one", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.one", }, - Object { + { "StringEquals": "", "Variable": "$.input.one", }, @@ -783,41 +783,41 @@ Object { ], "Next": "zero__input.one", }, - Object { + { "IsNull": true, "Next": "zero__input.one", "Variable": "$.input.one", }, - Object { + { "IsString": true, "Next": "format__input.one", "Variable": "$.input.one", }, - Object { + { "IsNumeric": true, "Next": "assign__input.one", "Variable": "$.input.one", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.one", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.one", }, ], "Next": "one__input.one", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.one", }, - Object { + { "BooleanEquals": false, "Variable": "$.input.one", }, @@ -828,26 +828,26 @@ Object { "Default": "null__input.one", "Type": "Choice", }, - "input.zero": Object { - "Choices": Array [ - Object { + "input.zero": { + "Choices": [ + { "IsPresent": false, "Next": "null__input.zero", "Variable": "$.input.zero", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.zero", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.zero", }, - Object { + { "StringEquals": "", "Variable": "$.input.zero", }, @@ -856,41 +856,41 @@ Object { ], "Next": "zero__input.zero", }, - Object { + { "IsNull": true, "Next": "zero__input.zero", "Variable": "$.input.zero", }, - Object { + { "IsString": true, "Next": "format__input.zero", "Variable": "$.input.zero", }, - Object { + { "IsNumeric": true, "Next": "assign__input.zero", "Variable": "$.input.zero", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.zero", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.zero", }, ], "Next": "one__input.zero", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.zero", }, - Object { + { "BooleanEquals": false, "Variable": "$.input.zero", }, @@ -901,26 +901,26 @@ Object { "Default": "null__input.zero", "Type": "Choice", }, - "input.zero 1": Object { - "Choices": Array [ - Object { + "input.zero 1": { + "Choices": [ + { "IsPresent": false, "Next": "null__input.zero 1", "Variable": "$.input.zero", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.zero", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.zero", }, - Object { + { "StringEquals": "", "Variable": "$.input.zero", }, @@ -929,41 +929,41 @@ Object { ], "Next": "zero__input.zero 1", }, - Object { + { "IsNull": true, "Next": "zero__input.zero 1", "Variable": "$.input.zero", }, - Object { + { "IsString": true, "Next": "format__input.zero 1", "Variable": "$.input.zero", }, - Object { + { "IsNumeric": true, "Next": "assign__input.zero 1", "Variable": "$.input.zero", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.zero", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.zero", }, ], "Next": "one__input.zero 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.zero", }, - Object { + { "BooleanEquals": false, "Variable": "$.input.zero", }, @@ -974,26 +974,26 @@ Object { "Default": "null__input.zero 1", "Type": "Choice", }, - "null": Object { - "Choices": Array [ - Object { + "null": { + "Choices": [ + { "IsPresent": false, "Next": "null__null", "Variable": "$.fnl_context.null", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.fnl_context.null", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.fnl_context.null", }, - Object { + { "StringEquals": "", "Variable": "$.fnl_context.null", }, @@ -1002,41 +1002,41 @@ Object { ], "Next": "zero__null", }, - Object { + { "IsNull": true, "Next": "zero__null", "Variable": "$.fnl_context.null", }, - Object { + { "IsString": true, "Next": "format__null", "Variable": "$.fnl_context.null", }, - Object { + { "IsNumeric": true, "Next": "assign__null", "Variable": "$.fnl_context.null", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.fnl_context.null", }, - Object { + { "BooleanEquals": true, "Variable": "$.fnl_context.null", }, ], "Next": "one__null", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.fnl_context.null", }, - Object { + { "BooleanEquals": false, "Variable": "$.fnl_context.null", }, @@ -1047,26 +1047,26 @@ Object { "Default": "null__null", "Type": "Choice", }, - "null 1": Object { - "Choices": Array [ - Object { + "null 1": { + "Choices": [ + { "IsPresent": false, "Next": "null__null 1", "Variable": "$.fnl_context.null", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.fnl_context.null", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.fnl_context.null", }, - Object { + { "StringEquals": "", "Variable": "$.fnl_context.null", }, @@ -1075,41 +1075,41 @@ Object { ], "Next": "zero__null 1", }, - Object { + { "IsNull": true, "Next": "zero__null 1", "Variable": "$.fnl_context.null", }, - Object { + { "IsString": true, "Next": "format__null 1", "Variable": "$.fnl_context.null", }, - Object { + { "IsNumeric": true, "Next": "assign__null 1", "Variable": "$.fnl_context.null", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.fnl_context.null", }, - Object { + { "BooleanEquals": true, "Variable": "$.fnl_context.null", }, ], "Next": "one__null 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.fnl_context.null", }, - Object { + { "BooleanEquals": false, "Variable": "$.fnl_context.null", }, @@ -1120,219 +1120,219 @@ Object { "Default": "null__null 1", "Type": "Choice", }, - "null__input.nan": Object { + "null__input.nan": { "InputPath": "$.fnl_context.null", - "Next": "7__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "7__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "ResultPath": "$.heap6.num", "Type": "Pass", }, - "null__input.nan 1": Object { + "null__input.nan 1": { "InputPath": "$.fnl_context.null", - "Next": "15__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "Next": "15__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "ResultPath": "$.heap14.num", "Type": "Pass", }, - "null__input.one": Object { + "null__input.one": { "InputPath": "$.fnl_context.null", - "Next": "9__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "9__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "ResultPath": "$.heap8.num", "Type": "Pass", }, - "null__input.zero": Object { + "null__input.zero": { "InputPath": "$.fnl_context.null", - "Next": "3__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "3__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "ResultPath": "$.heap2.num", "Type": "Pass", }, - "null__input.zero 1": Object { + "null__input.zero 1": { "InputPath": "$.fnl_context.null", - "Next": "11__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "Next": "11__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "ResultPath": "$.heap10.num", "Type": "Pass", }, - "null__null": Object { + "null__null": { "InputPath": "$.fnl_context.null", - "Next": "5__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "Next": "5__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "ResultPath": "$.heap4.num", "Type": "Pass", }, - "null__null 1": Object { + "null__null 1": { "InputPath": "$.fnl_context.null", - "Next": "13__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "Next": "13__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "ResultPath": "$.heap12.num", "Type": "Pass", }, - "null__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: ": Object { + "null__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: ": { "InputPath": "$.fnl_context.null", - "Next": "1__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num 1", + "Next": "1__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num 1", "ResultPath": "$.heap0.num", "Type": "Pass", }, - "one__input.nan": Object { - "Next": "7__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "one__input.nan": { + "Next": "7__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Result": 1, "ResultPath": "$.heap6.num", "Type": "Pass", }, - "one__input.nan 1": Object { - "Next": "15__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "one__input.nan 1": { + "Next": "15__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "Result": 1, "ResultPath": "$.heap14.num", "Type": "Pass", }, - "one__input.one": Object { - "Next": "9__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "one__input.one": { + "Next": "9__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Result": 1, "ResultPath": "$.heap8.num", "Type": "Pass", }, - "one__input.zero": Object { - "Next": "3__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "one__input.zero": { + "Next": "3__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Result": 1, "ResultPath": "$.heap2.num", "Type": "Pass", }, - "one__input.zero 1": Object { - "Next": "11__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "one__input.zero 1": { + "Next": "11__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "Result": 1, "ResultPath": "$.heap10.num", "Type": "Pass", }, - "one__null": Object { - "Next": "5__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "one__null": { + "Next": "5__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Result": 1, "ResultPath": "$.heap4.num", "Type": "Pass", }, - "one__null 1": Object { - "Next": "13__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "one__null 1": { + "Next": "13__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "Result": 1, "ResultPath": "$.heap12.num", "Type": "Pass", }, - "one__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: N": Object { - "Next": "1__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num 1", + "one__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: N": { + "Next": "1__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num 1", "Result": 1, "ResultPath": "$.heap0.num", "Type": "Pass", }, - "return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Number": Object { - "Choices": Array [ - Object { + "return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Number": { + "Choices": [ + { "IsPresent": false, - "Next": "null__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: ", + "Next": "null__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: ", "Variable": "$.input.one", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.one", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.one", }, - Object { + { "StringEquals": "", "Variable": "$.input.one", }, ], }, ], - "Next": "zero__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: ", + "Next": "zero__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: ", }, - Object { + { "IsNull": true, - "Next": "zero__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: ", + "Next": "zero__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: ", "Variable": "$.input.one", }, - Object { + { "IsString": true, - "Next": "format__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber", + "Next": "format__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber", "Variable": "$.input.one", }, - Object { + { "IsNumeric": true, - "Next": "assign__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber", + "Next": "assign__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber", "Variable": "$.input.one", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.one", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.one", }, ], - "Next": "one__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: N", + "Next": "one__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.one", }, - Object { + { "BooleanEquals": false, "Variable": "$.input.one", }, ], - "Next": "zero__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: ", + "Next": "zero__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: ", }, ], - "Default": "null__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: ", + "Default": "null__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: ", "Type": "Choice", }, - "zero__input.nan": Object { - "Next": "7__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "zero__input.nan": { + "Next": "7__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Result": 0, "ResultPath": "$.heap6.num", "Type": "Pass", }, - "zero__input.nan 1": Object { - "Next": "15__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "zero__input.nan 1": { + "Next": "15__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "Result": 0, "ResultPath": "$.heap14.num", "Type": "Pass", }, - "zero__input.one": Object { - "Next": "9__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "zero__input.one": { + "Next": "9__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Result": 0, "ResultPath": "$.heap8.num", "Type": "Pass", }, - "zero__input.zero": Object { - "Next": "3__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "zero__input.zero": { + "Next": "3__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Result": 0, "ResultPath": "$.heap2.num", "Type": "Pass", }, - "zero__input.zero 1": Object { - "Next": "11__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "zero__input.zero 1": { + "Next": "11__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "Result": 0, "ResultPath": "$.heap10.num", "Type": "Pass", }, - "zero__null": Object { - "Next": "5__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num", + "zero__null": { + "Next": "5__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num", "Result": 0, "ResultPath": "$.heap4.num", "Type": "Pass", }, - "zero__null 1": Object { - "Next": "13__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Nu", + "zero__null 1": { + "Next": "13__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Nu", "Result": 0, "ResultPath": "$.heap12.num", "Type": "Pass", }, - "zero__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: ": Object { - "Next": "1__return {oneString: Number(\\"1\\"), oneBoolean: Number(true), oneNumber: Num 1", + "zero__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: ": { + "Next": "1__return {oneString: Number("1"), oneBoolean: Number(true), oneNumber: Num 1", "Result": 0, "ResultPath": "$.heap0.num", "Type": "Pass", @@ -1342,29 +1342,29 @@ Object { `; exports[`String coerce 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]": Object { - "Choices": Array [ - Object { + "States": { + "1__["a", ["b"], [[input.val]], [], {}, {a: input.val}]": { + "Choices": [ + { "IsString": true, - "Next": "assign__1__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]", + "Next": "assign__1__["a", ["b"], [[input.val]], [], {}, {a: input.val}]", "Variable": "$.heap17.arr", }, ], - "Default": "format__1__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]", + "Default": "format__1__["a", ["b"], [[input.val]], [], {}, {a: input.val}]", "Type": "Choice", }, - "1__[[input.val]]": Object { + "1__[[input.val]]": { "InputPath": "$.heap9.arr", "Next": "[[input.val]] 1", "ResultPath": "$.heap10", "Type": "Pass", }, - "1__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu": Object { + "1__return {stringString: String("1"), stringBoolean: String(true), stringNu": { "End": true, - "Parameters": Object { + "Parameters": { "empty": "", "stringArray.$": "$.heap19", "stringBoolean": "true", @@ -1380,72 +1380,72 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu 1": Object { + "1__return {stringString: String("1"), stringBoolean: String(true), stringNu 1": { "InputPath": "$.heap0.str", "Next": "input.str", "ResultPath": "$.heap1", "Type": "Pass", }, - "2__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]": Object { + "2__["a", ["b"], [[input.val]], [], {}, {a: input.val}]": { "InputPath": "$.heap11.arr", - "Next": "3__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]", + "Next": "3__["a", ["b"], [[input.val]], [], {}, {a: input.val}]", "ResultPath": "$.heap12", "Type": "Pass", }, - "3__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]": Object { - "Next": "4__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]", - "Result": Array [], + "3__["a", ["b"], [[input.val]], [], {}, {a: input.val}]": { + "Next": "4__["a", ["b"], [[input.val]], [], {}, {a: input.val}]", + "Result": [], "ResultPath": "$.heap13", "Type": "Pass", }, - "3__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu": Object { + "3__return {stringString: String("1"), stringBoolean: String(true), stringNu": { "InputPath": "$.heap2.str", - "Next": "4__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu", + "Next": "4__return {stringString: String("1"), stringBoolean: String(true), stringNu", "ResultPath": "$.heap3", "Type": "Pass", }, - "4__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]": Object { - "Next": "5__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]", - "Result": Object {}, + "4__["a", ["b"], [[input.val]], [], {}, {a: input.val}]": { + "Next": "5__["a", ["b"], [[input.val]], [], {}, {a: input.val}]", + "Result": {}, "ResultPath": "$.heap14", "Type": "Pass", }, - "4__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu": Object { + "4__return {stringString: String("1"), stringBoolean: String(true), stringNu": { "InputPath": "$.input.val", "Next": "null", "ResultPath": "$.heap4", "Type": "Pass", }, - "5__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]": Object { + "5__["a", ["b"], [[input.val]], [], {}, {a: input.val}]": { "InputPath": "$.input.val", - "Next": "6__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]", + "Next": "6__["a", ["b"], [[input.val]], [], {}, {a: input.val}]", "ResultPath": "$.heap15", "Type": "Pass", }, - "6__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]": Object { - "Next": "[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}] 1", - "Parameters": Object { + "6__["a", ["b"], [[input.val]], [], {}, {a: input.val}]": { + "Next": "["a", ["b"], [[input.val]], [], {}, {a: input.val}] 1", + "Parameters": { "a.$": "$.heap15", }, "ResultPath": "$.heap16", "Type": "Pass", }, - "6__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu": Object { + "6__return {stringString: String("1"), stringBoolean: String(true), stringNu": { "InputPath": "$.heap5.str", - "Next": "[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]", + "Next": "["a", ["b"], [[input.val]], [], {}, {a: input.val}]", "ResultPath": "$.heap6", "Type": "Pass", }, - "8__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu": Object { + "8__return {stringString: String("1"), stringBoolean: String(true), stringNu": { "InputPath": "$.heap18.str", - "Next": "1__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu", + "Next": "1__return {stringString: String("1"), stringBoolean: String(true), stringNu", "ResultPath": "$.heap19", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNumbe", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return {stringString: String("1"), stringBoolean: String(true), stringNumbe", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -1453,103 +1453,103 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]": Object { + "["a", ["b"], [[input.val]], [], {}, {a: input.val}]": { "Next": "[[input.val]]", - "Result": Array [ + "Result": [ "b", ], "ResultPath": "$.heap7", "Type": "Pass", }, - "[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}] 1": Object { - "Next": "1__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]", - "Parameters": Object { + "["a", ["b"], [[input.val]], [], {}, {a: input.val}] 1": { + "Next": "1__["a", ["b"], [[input.val]], [], {}, {a: input.val}]", + "Parameters": { "arr.$": "States.Array('a', $.heap7, $.heap12, $.heap13, $.heap14, $.heap16)", }, "ResultPath": "$.heap17", "Type": "Pass", }, - "[[input.val]]": Object { + "[[input.val]]": { "InputPath": "$.input.val", "Next": "[input.val]", "ResultPath": "$.heap8", "Type": "Pass", }, - "[[input.val]] 1": Object { - "Next": "2__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]", - "Parameters": Object { + "[[input.val]] 1": { + "Next": "2__["a", ["b"], [[input.val]], [], {}, {a: input.val}]", + "Parameters": { "arr.$": "States.Array($.heap10)", }, "ResultPath": "$.heap11", "Type": "Pass", }, - "[input.val]": Object { + "[input.val]": { "Next": "1__[[input.val]]", - "Parameters": Object { + "Parameters": { "arr.$": "States.Array($.heap8)", }, "ResultPath": "$.heap9", "Type": "Pass", }, - "assign__1__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]": Object { + "assign__1__["a", ["b"], [[input.val]], [], {}, {a: input.val}]": { "InputPath": "$.heap17.arr", - "Next": "8__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu", + "Next": "8__return {stringString: String("1"), stringBoolean: String(true), stringNu", "ResultPath": "$.heap18.str", "Type": "Pass", }, - "assign__input.str": Object { + "assign__input.str": { "InputPath": "$.input.str", - "Next": "3__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu", + "Next": "3__return {stringString: String("1"), stringBoolean: String(true), stringNu", "ResultPath": "$.heap2.str", "Type": "Pass", }, - "assign__null": Object { + "assign__null": { "InputPath": "$.fnl_context.null", - "Next": "6__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu", + "Next": "6__return {stringString: String("1"), stringBoolean: String(true), stringNu", "ResultPath": "$.heap5.str", "Type": "Pass", }, - "assign__return {stringString: String(\\"1\\"), stringBoolean: String(true), str": Object { + "assign__return {stringString: String("1"), stringBoolean: String(true), str": { "InputPath": "$.input.val", - "Next": "1__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu 1", + "Next": "1__return {stringString: String("1"), stringBoolean: String(true), stringNu 1", "ResultPath": "$.heap0.str", "Type": "Pass", }, - "format__1__[\\"a\\", [\\"b\\"], [[input.val]], [], {}, {a: input.val}]": Object { - "Next": "8__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu", - "Parameters": Object { + "format__1__["a", ["b"], [[input.val]], [], {}, {a: input.val}]": { + "Next": "8__return {stringString: String("1"), stringBoolean: String(true), stringNu", + "Parameters": { "str.$": "States.JsonToString($.heap17.arr)", }, "ResultPath": "$.heap18", "Type": "Pass", }, - "format__input.str": Object { - "Next": "3__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu", - "Parameters": Object { + "format__input.str": { + "Next": "3__return {stringString: String("1"), stringBoolean: String(true), stringNu", + "Parameters": { "str.$": "States.JsonToString($.input.str)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "format__null": Object { - "Next": "6__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu", - "Parameters": Object { + "format__null": { + "Next": "6__return {stringString: String("1"), stringBoolean: String(true), stringNu", + "Parameters": { "str.$": "States.JsonToString($.fnl_context.null)", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "format__return {stringString: String(\\"1\\"), stringBoolean: String(true), str": Object { - "Next": "1__return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNu 1", - "Parameters": Object { + "format__return {stringString: String("1"), stringBoolean: String(true), str": { + "Next": "1__return {stringString: String("1"), stringBoolean: String(true), stringNu 1", + "Parameters": { "str.$": "States.JsonToString($.input.val)", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "input.str": Object { - "Choices": Array [ - Object { + "input.str": { + "Choices": [ + { "IsString": true, "Next": "assign__input.str", "Variable": "$.input.str", @@ -1558,9 +1558,9 @@ Object { "Default": "format__input.str", "Type": "Choice", }, - "null": Object { - "Choices": Array [ - Object { + "null": { + "Choices": [ + { "IsString": true, "Next": "assign__null", "Variable": "$.fnl_context.null", @@ -1569,15 +1569,15 @@ Object { "Default": "format__null", "Type": "Choice", }, - "return {stringString: String(\\"1\\"), stringBoolean: String(true), stringNumbe": Object { - "Choices": Array [ - Object { + "return {stringString: String("1"), stringBoolean: String(true), stringNumbe": { + "Choices": [ + { "IsString": true, - "Next": "assign__return {stringString: String(\\"1\\"), stringBoolean: String(true), str", + "Next": "assign__return {stringString: String("1"), stringBoolean: String(true), str", "Variable": "$.input.val", }, ], - "Default": "format__return {stringString: String(\\"1\\"), stringBoolean: String(true), str", + "Default": "format__return {stringString: String("1"), stringBoolean: String(true), str", "Type": "Choice", }, }, @@ -1585,12 +1585,12 @@ Object { `; exports[`access 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ": Object { + "States": { + "1__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ": { "End": true, - "Parameters": Object { + "Parameters": { "a.$": "$.heap0", "b.$": "$.heap1", "d.$": "$.heap2", @@ -1601,128 +1601,128 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: 1": Object { + "1__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: 1": { "InputPath": "$.obj.x", - "Next": "2__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ", + "Next": "2__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ", "ResultPath": "$.heap1", "Type": "Pass", }, - "2__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ": Object { + "2__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ": { "InputPath": "$.obj['1']", - "Next": "3__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ", + "Next": "3__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ", "ResultPath": "$.heap2", "Type": "Pass", }, - "3__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ": Object { + "3__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ": { "InputPath": "$.arr[0]", - "Next": "obj.n ?? \\"c\\"", + "Next": "obj.n ?? "c"", "ResultPath": "$.heap3", "Type": "Pass", }, - "5__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ": Object { + "5__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ": { "InputPath": "$.heap4", - "Next": "obj.n ?? \\"d\\"", + "Next": "obj.n ?? "d"", "ResultPath": "$.heap5", "Type": "Pass", }, - "7__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ": Object { + "7__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ": { "InputPath": "$.heap6", - "Next": "1__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ", + "Next": "1__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ", "ResultPath": "$.heap7", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "obj = {1: \\"a\\", x: \\"b\\"}", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "obj = {1: "a", x: "b"}", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "arr = [1]": Object { - "Next": "return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: obj", - "Result": Array [ + "arr = [1]": { + "Next": "return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: obj", + "Result": [ 1, ], "ResultPath": "$.arr", "Type": "Pass", }, - "false__obj.n ?? \\"c\\"": Object { - "Next": "5__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ", + "false__obj.n ?? "c"": { + "Next": "5__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ", "Result": "c", "ResultPath": "$.heap4", "Type": "Pass", }, - "false__obj.n ?? \\"d\\"": Object { - "Next": "7__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ", + "false__obj.n ?? "d"": { + "Next": "7__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ", "Result": "d", "ResultPath": "$.heap6", "Type": "Pass", }, - "obj = {1: \\"a\\", x: \\"b\\"}": Object { + "obj = {1: "a", x: "b"}": { "Next": "arr = [1]", - "Result": Object { + "Result": { "1": "a", "x": "b", }, "ResultPath": "$.obj", "Type": "Pass", }, - "obj.n ?? \\"c\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "obj.n ?? "c"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.obj.n", }, - Object { + { "IsNull": false, "Variable": "$.obj.n", }, ], - "Next": "true__obj.n ?? \\"c\\"", + "Next": "true__obj.n ?? "c"", }, ], - "Default": "false__obj.n ?? \\"c\\"", + "Default": "false__obj.n ?? "c"", "Type": "Choice", }, - "obj.n ?? \\"d\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "obj.n ?? "d"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.obj.n", }, - Object { + { "IsNull": false, "Variable": "$.obj.n", }, ], - "Next": "true__obj.n ?? \\"d\\"", + "Next": "true__obj.n ?? "d"", }, ], - "Default": "false__obj.n ?? \\"d\\"", + "Default": "false__obj.n ?? "d"", "Type": "Choice", }, - "return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: obj": Object { + "return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: obj": { "InputPath": "$.obj.x", - "Next": "1__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: 1", + "Next": "1__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "true__obj.n ?? \\"c\\"": Object { + "true__obj.n ?? "c"": { "InputPath": "$.obj.n", - "Next": "5__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ", + "Next": "5__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ", "ResultPath": "$.heap4", "Type": "Pass", }, - "true__obj.n ?? \\"d\\"": Object { + "true__obj.n ?? "d"": { "InputPath": "$.obj.n", - "Next": "7__return {a: obj.x, b: obj.x, d: obj[\\"1\\"], e: arr[0], g: obj.n ?? \\"c\\", h: ", + "Next": "7__return {a: obj.x, b: obj.x, d: obj["1"], e: arr[0], g: obj.n ?? "c", h: ", "ResultPath": "$.heap6", "Type": "Pass", }, @@ -1731,12 +1731,12 @@ Object { `; exports[`assignment 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": Object { + "States": { + "1__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": { "End": true, - "Parameters": Object { + "Parameters": { "a.$": "$.heap13", "b.$": "$.heap14", "c.$": "$.heap15", @@ -1750,194 +1750,194 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i} 1": Object { + "1__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i} 1": { "InputPath": "$.b", "Next": "2__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}", "ResultPath": "$.heap14", "Type": "Pass", }, - "2__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": Object { + "2__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": { "InputPath": "$.c", "Next": "3__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}", "ResultPath": "$.heap15", "Type": "Pass", }, - "3__g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}": Object { + "3__g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}": { "InputPath": "$.z", - "Next": "4__g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}", + "Next": "4__g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}", "ResultPath": "$.heap1", "Type": "Pass", }, - "3__h = [y, y = \\"a\\", y = \\"b\\" , y, y]": Object { + "3__h = [y, y = "a", y = "b" , y, y]": { "InputPath": "$.y", - "Next": "4__h = [y, y = \\"a\\", y = \\"b\\" , y, y]", + "Next": "4__h = [y, y = "a", y = "b" , y, y]", "ResultPath": "$.heap7", "Type": "Pass", }, - "3__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": Object { + "3__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": { "InputPath": "$.d", "Next": "4__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}", "ResultPath": "$.heap16", "Type": "Pass", }, - "4__g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}": Object { + "4__g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}": { "InputPath": "$.z", - "Next": "z === \\"b\\"", + "Next": "z === "b"", "ResultPath": "$.heap2", "Type": "Pass", }, - "4__h = [y, y = \\"a\\", y = \\"b\\" , y, y]": Object { + "4__h = [y, y = "a", y = "b" , y, y]": { "InputPath": "$.y", - "Next": "[y, y = \\"a\\", y = \\"b\\" , y, y]", + "Next": "[y, y = "a", y = "b" , y, y]", "ResultPath": "$.heap8", "Type": "Pass", }, - "4__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": Object { + "4__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": { "InputPath": "$.e", "Next": "5__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}", "ResultPath": "$.heap17", "Type": "Pass", }, - "5__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": Object { + "5__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": { "InputPath": "$.f", "Next": "6__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}", "ResultPath": "$.heap18", "Type": "Pass", }, - "6__g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}": Object { + "6__g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}": { "InputPath": "$.heap3", - "Next": "7__g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}", + "Next": "7__g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}", "ResultPath": "$.heap4", "Type": "Pass", }, - "6__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": Object { + "6__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": { "InputPath": "$.g", "Next": "7__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}", "ResultPath": "$.heap19", "Type": "Pass", }, - "7__g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}": Object { + "7__g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}": { "InputPath": "$.z", "Next": "g", "ResultPath": "$.heap5", "Type": "Pass", }, - "7__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": Object { + "7__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": { "InputPath": "$.h", "Next": "8__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}", "ResultPath": "$.heap20", "Type": "Pass", }, - "8__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": Object { + "8__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": { "InputPath": "$.i", "Next": "1__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}", "ResultPath": "$.heap21", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"2\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = "2"", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[y, y = \\"a\\", y = \\"b\\" , y, y]": Object { + "[y, y = "a", y = "b" , y, y]": { "Next": "h", - "Parameters": Object { + "Parameters": { "arr.$": "States.Array($.heap6, 'a', $.heap7, $.heap8)", }, "ResultPath": "$.heap9", "Type": "Pass", }, - "a = \\"2\\"": Object { + "a = "2"": { "Next": "b = a", "Result": "2", "ResultPath": "$.a", "Type": "Pass", }, - "a = 1": Object { + "a = 1": { "Next": "d = a", "Result": 1, "ResultPath": "$.a", "Type": "Pass", }, - "a = [1, 2]": Object { + "a = [1, 2]": { "Next": "e = a", - "Result": Array [ + "Result": [ 1, 2, ], "ResultPath": "$.a", "Type": "Pass", }, - "a = null": Object { + "a = null": { "InputPath": "$.fnl_context.null", "Next": "c = a", "ResultPath": "$.a", "Type": "Pass", }, - "a = {1: \\"val2\\"}": Object { - "Next": "z = \\"\\"", - "Result": Object { + "a = {1: "val2"}": { + "Next": "z = """, + "Result": { "1": "val2", }, "ResultPath": "$.a", "Type": "Pass", }, - "a = {x: \\"val\\"}": Object { + "a = {x: "val"}": { "Next": "f = a", - "Result": Object { + "Result": { "x": "val", }, "ResultPath": "$.a", "Type": "Pass", }, - "b = a": Object { + "b = a": { "InputPath": "$.a", "Next": "a = null", "ResultPath": "$.b", "Type": "Pass", }, - "c = a": Object { + "c = a": { "InputPath": "$.a", "Next": "a = 1", "ResultPath": "$.c", "Type": "Pass", }, - "d = a": Object { + "d = a": { "InputPath": "$.a", "Next": "a = [1, 2]", "ResultPath": "$.d", "Type": "Pass", }, - "e = a": Object { + "e = a": { "InputPath": "$.a", - "Next": "a = {x: \\"val\\"}", + "Next": "a = {x: "val"}", "ResultPath": "$.e", "Type": "Pass", }, - "f = a": Object { + "f = a": { "InputPath": "$.a", - "Next": "a = {1: \\"val2\\"}", + "Next": "a = {1: "val2"}", "ResultPath": "$.f", "Type": "Pass", }, - "false__z === \\"b\\"": Object { - "Next": "6__g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}", + "false__z === "b"": { + "Next": "6__g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}", "Result": false, "ResultPath": "$.heap3", "Type": "Pass", }, - "g": Object { - "Next": "y = \\"\\"", - "Parameters": Object { + "g": { + "Next": "y = """, + "Parameters": { "a.$": "$.heap0", "b": "a", "c.$": "$.heap1", - "o": Object { + "o": { "z.$": "$.heap5", }, "t.$": "$.heap4", @@ -1946,137 +1946,137 @@ Object { "ResultPath": "$.g", "Type": "Pass", }, - "g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}": Object { + "g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}": { "InputPath": "$.z", - "Next": "z = \\"a\\"", + "Next": "z = "a"", "ResultPath": "$.heap0", "Type": "Pass", }, - "h": Object { + "h": { "InputPath": "$.heap9.arr", - "Next": "x = \\"0\\"", + "Next": "x = "0"", "ResultPath": "$.h", "Type": "Pass", }, - "h = [y, y = \\"a\\", y = \\"b\\" , y, y]": Object { + "h = [y, y = "a", y = "b" , y, y]": { "InputPath": "$.y", - "Next": "y = \\"a\\"", + "Next": "y = "a"", "ResultPath": "$.heap6", "Type": "Pass", }, - "hello x x = \\"1\\" x = \\"3\\" , \\"2\\"x": Object { + "hello x x = "1" x = "3" , "2"x": { "Next": "i", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('hello {} 1 2 {}',$.heap10,$.heap11)", }, "ResultPath": "$.heap12", "Type": "Pass", }, - "i": Object { + "i": { "InputPath": "$.heap12.string", "Next": "return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}", "ResultPath": "$.i", "Type": "Pass", }, - "i = hello x x = \\"1\\" x = \\"3\\" , \\"2\\"x": Object { + "i = hello x x = "1" x = "3" , "2"x": { "InputPath": "$.x", - "Next": "x = \\"1\\"", + "Next": "x = "1"", "ResultPath": "$.heap10", "Type": "Pass", }, - "return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": Object { + "return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i}": { "InputPath": "$.a", "Next": "1__return {a: a, b: b, c: c, d: d, e: e, f: f, g: g, h: h, i: i} 1", "ResultPath": "$.heap13", "Type": "Pass", }, - "true__z === \\"b\\"": Object { - "Next": "6__g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}", + "true__z === "b"": { + "Next": "6__g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}", "Result": true, "ResultPath": "$.heap3", "Type": "Pass", }, - "x": Object { + "x": { "InputPath": "$.x", - "Next": "hello x x = \\"1\\" x = \\"3\\" , \\"2\\"x", + "Next": "hello x x = "1" x = "3" , "2"x", "ResultPath": "$.heap11", "Type": "Pass", }, - "x = \\"0\\"": Object { - "Next": "i = hello x x = \\"1\\" x = \\"3\\" , \\"2\\"x", + "x = "0"": { + "Next": "i = hello x x = "1" x = "3" , "2"x", "Result": "0", "ResultPath": "$.x", "Type": "Pass", }, - "x = \\"1\\"": Object { - "Next": "x = \\"3\\"", + "x = "1"": { + "Next": "x = "3"", "Result": "1", "ResultPath": "$.x", "Type": "Pass", }, - "x = \\"3\\"": Object { + "x = "3"": { "Next": "x", "Result": "3", "ResultPath": "$.x", "Type": "Pass", }, - "y = \\"\\"": Object { - "Next": "h = [y, y = \\"a\\", y = \\"b\\" , y, y]", + "y = """: { + "Next": "h = [y, y = "a", y = "b" , y, y]", "Result": "", "ResultPath": "$.y", "Type": "Pass", }, - "y = \\"a\\"": Object { - "Next": "y = \\"b\\"", + "y = "a"": { + "Next": "y = "b"", "Result": "a", "ResultPath": "$.y", "Type": "Pass", }, - "y = \\"b\\"": Object { - "Next": "3__h = [y, y = \\"a\\", y = \\"b\\" , y, y]", + "y = "b"": { + "Next": "3__h = [y, y = "a", y = "b" , y, y]", "Result": "b", "ResultPath": "$.y", "Type": "Pass", }, - "z = \\"\\"": Object { - "Next": "g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}", + "z = """: { + "Next": "g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}", "Result": "", "ResultPath": "$.z", "Type": "Pass", }, - "z = \\"a\\"": Object { - "Next": "z = \\"b\\"", + "z = "a"": { + "Next": "z = "b"", "Result": "a", "ResultPath": "$.z", "Type": "Pass", }, - "z = \\"b\\"": Object { - "Next": "3__g = {a: z, b: z = \\"a\\", c: z = \\"b\\" , z, z: z, t: z === \\"b\\", o: {z: z}}", + "z = "b"": { + "Next": "3__g = {a: z, b: z = "a", c: z = "b" , z, z: z, t: z === "b", o: {z: z}}", "Result": "b", "ResultPath": "$.z", "Type": "Pass", }, - "z === \\"b\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "z === "b"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.z", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.z", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.z", }, - Object { + { "StringEquals": "b", "Variable": "$.z", }, @@ -2085,10 +2085,10 @@ Object { ], }, ], - "Next": "true__z === \\"b\\"", + "Next": "true__z === "b"", }, ], - "Default": "false__z === \\"b\\"", + "Default": "false__z === "b"", "Type": "Choice", }, }, @@ -2096,14 +2096,14 @@ Object { `; exports[`binary and unary comparison 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "!false": Object { - "Choices": Array [ - Object { + "States": { + "!false": { + "Choices": [ + { "Next": "true__!false", - "Not": Object { + "Not": { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -2112,40 +2112,40 @@ Object { "Default": "false__!false", "Type": "Choice", }, - "!input.a": Object { - "Choices": Array [ - Object { + "!input.a": { + "Choices": [ + { "Next": "true__!input.a", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -2154,20 +2154,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -2176,30 +2176,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -2215,40 +2215,40 @@ Object { "Default": "false__!input.a", "Type": "Choice", }, - "!input.n": Object { - "Choices": Array [ - Object { + "!input.n": { + "Choices": [ + { "Next": "true__!input.n", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.n", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.n", }, - Object { + { "StringEquals": "", "Variable": "$.input.n", }, @@ -2257,20 +2257,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.n", }, @@ -2279,30 +2279,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.n", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.n", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.n", }, - Object { + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "IsString": true, "Variable": "$.input.n", }, @@ -2318,40 +2318,40 @@ Object { "Default": "false__!input.n", "Type": "Choice", }, - "!input.nv": Object { - "Choices": Array [ - Object { + "!input.nv": { + "Choices": [ + { "Next": "true__!input.nv", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.nv", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEquals": "", "Variable": "$.input.nv", }, @@ -2360,20 +2360,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.nv", }, @@ -2382,30 +2382,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.nv", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "IsString": true, "Variable": "$.input.nv", }, @@ -2421,40 +2421,40 @@ Object { "Default": "false__!input.nv", "Type": "Choice", }, - "!input.obj": Object { - "Choices": Array [ - Object { + "!input.obj": { + "Choices": [ + { "Next": "true__!input.obj", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj", }, - Object { + { "IsNull": false, "Variable": "$.input.obj", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.obj", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.obj", }, - Object { + { "StringEquals": "", "Variable": "$.input.obj", }, @@ -2463,20 +2463,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.obj", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.obj", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.obj", }, @@ -2485,30 +2485,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.obj", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.obj", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.obj", }, - Object { + { "IsNumeric": true, "Variable": "$.input.obj", }, - Object { + { "IsString": true, "Variable": "$.input.obj", }, @@ -2524,40 +2524,40 @@ Object { "Default": "false__!input.obj", "Type": "Choice", }, - "!input.x": Object { - "Choices": Array [ - Object { + "!input.x": { + "Choices": [ + { "Next": "true__!input.x", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.x", }, - Object { + { "IsNull": false, "Variable": "$.input.x", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.x", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.x", }, - Object { + { "StringEquals": "", "Variable": "$.input.x", }, @@ -2566,20 +2566,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.x", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.x", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.x", }, @@ -2588,30 +2588,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.x", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.x", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.x", }, - Object { + { "IsNumeric": true, "Variable": "$.input.x", }, - Object { + { "IsString": true, "Variable": "$.input.x", }, @@ -2627,106 +2627,106 @@ Object { "Default": "false__!input.x", "Type": "Choice", }, - "\\"a\\" !== \\"a\\"": Object { - "Choices": Array [ - Object { + ""a" !== "a"": { + "Choices": [ + { "IsNull": true, - "Next": "true__\\"a\\" !== \\"a\\"", + "Next": "true__"a" !== "a"", "Variable": "$$.Execution.Id", }, ], - "Default": "false__\\"a\\" !== \\"a\\"", + "Default": "false__"a" !== "a"", "Type": "Choice", }, - "\\"a\\" < \\"a\\"": Object { - "Choices": Array [ - Object { + ""a" < "a"": { + "Choices": [ + { "IsNull": true, - "Next": "true__\\"a\\" < \\"a\\"", + "Next": "true__"a" < "a"", "Variable": "$$.Execution.Id", }, ], - "Default": "false__\\"a\\" < \\"a\\"", + "Default": "false__"a" < "a"", "Type": "Choice", }, - "\\"a\\" <= \\"a\\"": Object { - "Choices": Array [ - Object { + ""a" <= "a"": { + "Choices": [ + { "IsNull": false, - "Next": "true__\\"a\\" <= \\"a\\"", + "Next": "true__"a" <= "a"", "Variable": "$$.Execution.Id", }, ], - "Default": "false__\\"a\\" <= \\"a\\"", + "Default": "false__"a" <= "a"", "Type": "Choice", }, - "\\"a\\" > \\"a\\"": Object { - "Choices": Array [ - Object { + ""a" > "a"": { + "Choices": [ + { "IsNull": true, - "Next": "true__\\"a\\" > \\"a\\"", + "Next": "true__"a" > "a"", "Variable": "$$.Execution.Id", }, ], - "Default": "false__\\"a\\" > \\"a\\"", + "Default": "false__"a" > "a"", "Type": "Choice", }, - "\\"a\\" >= \\"a\\"": Object { - "Choices": Array [ - Object { + ""a" >= "a"": { + "Choices": [ + { "IsNull": false, - "Next": "true__\\"a\\" >= \\"a\\"", + "Next": "true__"a" >= "a"", "Variable": "$$.Execution.Id", }, ], - "Default": "false__\\"a\\" >= \\"a\\"", + "Default": "false__"a" >= "a"", "Type": "Choice", }, - "\\"a\\" in input.obj": Object { - "Choices": Array [ - Object { + ""a" in input.obj": { + "Choices": [ + { "IsPresent": true, - "Next": "true__\\"a\\" in input.obj", + "Next": "true__"a" in input.obj", "Variable": "$.input.obj['a']", }, ], - "Default": "false__\\"a\\" in input.obj", + "Default": "false__"a" in input.obj", "Type": "Choice", }, - "\\"b\\" in input.obj": Object { - "Choices": Array [ - Object { + ""b" in input.obj": { + "Choices": [ + { "IsPresent": true, - "Next": "true__\\"b\\" in input.obj", + "Next": "true__"b" in input.obj", "Variable": "$.input.obj['b']", }, ], - "Default": "false__\\"b\\" in input.obj", + "Default": "false__"b" in input.obj", "Type": "Choice", }, - "\\"val2\\" !== input.v": Object { - "Choices": Array [ - Object { - "Next": "true__\\"val2\\" !== input.v", - "Not": Object { - "And": Array [ - Object { + ""val2" !== input.v": { + "Choices": [ + { + "Next": "true__"val2" !== input.v", + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEquals": "val2", "Variable": "$.input.v", }, @@ -2738,30 +2738,30 @@ Object { }, }, ], - "Default": "false__\\"val2\\" !== input.v", + "Default": "false__"val2" !== input.v", "Type": "Choice", }, - "\\"val2\\" < input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + ""val2" < input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringGreaterThan": "val2", "Variable": "$.input.v", }, @@ -2770,33 +2770,33 @@ Object { ], }, ], - "Next": "true__\\"val2\\" < input.v", + "Next": "true__"val2" < input.v", }, ], - "Default": "false__\\"val2\\" < input.v", + "Default": "false__"val2" < input.v", "Type": "Choice", }, - "\\"val2\\" <= input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + ""val2" <= input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringGreaterThanEquals": "val2", "Variable": "$.input.v", }, @@ -2805,33 +2805,33 @@ Object { ], }, ], - "Next": "true__\\"val2\\" <= input.v", + "Next": "true__"val2" <= input.v", }, ], - "Default": "false__\\"val2\\" <= input.v", + "Default": "false__"val2" <= input.v", "Type": "Choice", }, - "\\"val2\\" === input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + ""val2" === input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEquals": "val2", "Variable": "$.input.v", }, @@ -2840,33 +2840,33 @@ Object { ], }, ], - "Next": "true__\\"val2\\" === input.v", + "Next": "true__"val2" === input.v", }, ], - "Default": "false__\\"val2\\" === input.v", + "Default": "false__"val2" === input.v", "Type": "Choice", }, - "\\"val2\\" > input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + ""val2" > input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringLessThan": "val2", "Variable": "$.input.v", }, @@ -2875,33 +2875,33 @@ Object { ], }, ], - "Next": "true__\\"val2\\" > input.v", + "Next": "true__"val2" > input.v", }, ], - "Default": "false__\\"val2\\" > input.v", + "Default": "false__"val2" > input.v", "Type": "Choice", }, - "\\"val2\\" >= input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + ""val2" >= input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringLessThanEquals": "val2", "Variable": "$.input.v", }, @@ -2910,15 +2910,15 @@ Object { ], }, ], - "Next": "true__\\"val2\\" >= input.v", + "Next": "true__"val2" >= input.v", }, ], - "Default": "false__\\"val2\\" >= input.v", + "Default": "false__"val2" >= input.v", "Type": "Choice", }, - "1 !== 1": Object { - "Choices": Array [ - Object { + "1 !== 1": { + "Choices": [ + { "IsNull": true, "Next": "true__1 !== 1", "Variable": "$$.Execution.Id", @@ -2927,9 +2927,9 @@ Object { "Default": "false__1 !== 1", "Type": "Choice", }, - "1 < 1": Object { - "Choices": Array [ - Object { + "1 < 1": { + "Choices": [ + { "IsNull": true, "Next": "true__1 < 1", "Variable": "$$.Execution.Id", @@ -2938,9 +2938,9 @@ Object { "Default": "false__1 < 1", "Type": "Choice", }, - "1 <= 1": Object { - "Choices": Array [ - Object { + "1 <= 1": { + "Choices": [ + { "IsNull": false, "Next": "true__1 <= 1", "Variable": "$$.Execution.Id", @@ -2949,9 +2949,9 @@ Object { "Default": "false__1 <= 1", "Type": "Choice", }, - "1 === 1": Object { - "Choices": Array [ - Object { + "1 === 1": { + "Choices": [ + { "IsNull": false, "Next": "true__1 === 1", "Variable": "$$.Execution.Id", @@ -2960,9 +2960,9 @@ Object { "Default": "false__1 === 1", "Type": "Choice", }, - "1 > 1": Object { - "Choices": Array [ - Object { + "1 > 1": { + "Choices": [ + { "IsNull": true, "Next": "true__1 > 1", "Variable": "$$.Execution.Id", @@ -2971,9 +2971,9 @@ Object { "Default": "false__1 > 1", "Type": "Choice", }, - "1 >= 1": Object { - "Choices": Array [ - Object { + "1 >= 1": { + "Choices": [ + { "IsNull": false, "Next": "true__1 >= 1", "Variable": "$$.Execution.Id", @@ -2982,339 +2982,339 @@ Object { "Default": "false__1 >= 1", "Type": "Choice", }, - "101__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "101__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap100", "Next": "input.a === input.a", "ResultPath": "$.heap101", "Type": "Pass", }, - "103__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "103__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap102", "Next": "true !== true", "ResultPath": "$.heap103", "Type": "Pass", }, - "105__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "105__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap104", "Next": "input.a !== true", "ResultPath": "$.heap105", "Type": "Pass", }, - "107__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "107__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap106", "Next": "false !== input.a", "ResultPath": "$.heap107", "Type": "Pass", }, - "109__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "109__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap108", "Next": "input.a !== input.a", "ResultPath": "$.heap109", "Type": "Pass", }, - "111__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "111__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap110", "Next": "null === null", "ResultPath": "$.heap111", "Type": "Pass", }, - "113__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "113__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap112", "Next": "input.nv === null", "ResultPath": "$.heap113", "Type": "Pass", }, - "115__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "115__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap114", "Next": "input.v === input.nv", "ResultPath": "$.heap115", "Type": "Pass", }, - "117__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "117__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap116", "Next": "input.nv === input.nv", "ResultPath": "$.heap117", "Type": "Pass", }, - "119__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "119__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap118", "Next": "null !== null", "ResultPath": "$.heap119", "Type": "Pass", }, - "11__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "11__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap10", - "Next": "\\"val2\\" !== input.v", + "Next": ""val2" !== input.v", "ResultPath": "$.heap11", "Type": "Pass", }, - "121__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "121__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap120", "Next": "input.nv !== null", "ResultPath": "$.heap121", "Type": "Pass", }, - "123__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "123__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap122", "Next": "input.v !== input.nv", "ResultPath": "$.heap123", "Type": "Pass", }, - "125__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "125__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap124", "Next": "input.nv !== input.nv", "ResultPath": "$.heap125", "Type": "Pass", }, - "127__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "127__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap126", - "Next": "\\"a\\" in input.obj", + "Next": ""a" in input.obj", "ResultPath": "$.heap127", "Type": "Pass", }, - "129__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "129__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap128", - "Next": "\\"b\\" in input.obj", + "Next": ""b" in input.obj", "ResultPath": "$.heap129", "Type": "Pass", }, - "131__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "131__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap130", "Next": "!false", "ResultPath": "$.heap131", "Type": "Pass", }, - "133__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "133__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap132", "Next": "!input.a", "ResultPath": "$.heap133", "Type": "Pass", }, - "135__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "135__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap134", "Next": "!input.nv", "ResultPath": "$.heap135", "Type": "Pass", }, - "137__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "137__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap136", "Next": "!input.n", "ResultPath": "$.heap137", "Type": "Pass", }, - "139__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "139__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap138", "Next": "!input.x", "ResultPath": "$.heap139", "Type": "Pass", }, - "13__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "13__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap12", "Next": "input.v !== input.v", "ResultPath": "$.heap13", "Type": "Pass", }, - "141__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "141__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap140", "Next": "!input.obj", "ResultPath": "$.heap141", "Type": "Pass", }, - "143__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "143__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap142", "Next": "input.v === undefined", "ResultPath": "$.heap143", "Type": "Pass", }, - "145__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "145__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap144", "Next": "input.v == undefined", "ResultPath": "$.heap145", "Type": "Pass", }, - "147__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "147__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap146", "Next": "input.v !== undefined", "ResultPath": "$.heap147", "Type": "Pass", }, - "149__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "149__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap148", "Next": "input.v != undefined", "ResultPath": "$.heap149", "Type": "Pass", }, - "151__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "151__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap150", "Next": "input.nv === undefined", "ResultPath": "$.heap151", "Type": "Pass", }, - "153__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "153__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap152", "Next": "input.nv == undefined", "ResultPath": "$.heap153", "Type": "Pass", }, - "155__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "155__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap154", "Next": "input.nv === undefined 1", "ResultPath": "$.heap155", "Type": "Pass", }, - "157__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "157__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap156", "Next": "input.nv == undefined 1", "ResultPath": "$.heap157", "Type": "Pass", }, - "159__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "159__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap158", "Next": "input.und === undefined", "ResultPath": "$.heap159", "Type": "Pass", }, - "15__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "15__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap14", - "Next": "\\"a\\" < \\"a\\"", + "Next": ""a" < "a"", "ResultPath": "$.heap15", "Type": "Pass", }, - "161__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "161__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap160", "Next": "input.und == undefined", "ResultPath": "$.heap161", "Type": "Pass", }, - "163__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "163__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap162", "Next": "input.und !== undefined", "ResultPath": "$.heap163", "Type": "Pass", }, - "165__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "165__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap164", "Next": "input.und != undefined", "ResultPath": "$.heap165", "Type": "Pass", }, - "167__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "167__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap166", "Next": "input.v === undefined 1", "ResultPath": "$.heap167", "Type": "Pass", }, - "169__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "169__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap168", "Next": "input.v == undefined 1", "ResultPath": "$.heap169", "Type": "Pass", }, - "171__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "171__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap170", "Next": "input.und === null", "ResultPath": "$.heap171", "Type": "Pass", }, - "173__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "173__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap172", "Next": "input.und == null", "ResultPath": "$.heap173", "Type": "Pass", }, - "175__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "175__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap174", "Next": "input.und !== null", "ResultPath": "$.heap175", "Type": "Pass", }, - "177__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "177__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap176", "Next": "input.und != null", "ResultPath": "$.heap177", "Type": "Pass", }, - "179__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "179__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap178", - "Next": "input.und === \\"hello\\"", + "Next": "input.und === "hello"", "ResultPath": "$.heap179", "Type": "Pass", }, - "17__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "17__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap16", - "Next": "input.v < \\"val2\\"", + "Next": "input.v < "val2"", "ResultPath": "$.heap17", "Type": "Pass", }, - "181__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "181__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap180", - "Next": "input.und == \\"hello\\"", + "Next": "input.und == "hello"", "ResultPath": "$.heap181", "Type": "Pass", }, - "183__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "183__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap182", - "Next": "input.und !== \\"hello\\"", + "Next": "input.und !== "hello"", "ResultPath": "$.heap183", "Type": "Pass", }, - "185__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "185__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap184", - "Next": "input.und != \\"hello\\"", + "Next": "input.und != "hello"", "ResultPath": "$.heap185", "Type": "Pass", }, - "187__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "187__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap186", - "Next": "input.nv === \\"hello\\"", + "Next": "input.nv === "hello"", "ResultPath": "$.heap187", "Type": "Pass", }, - "189__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "189__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap188", - "Next": "input.nv == \\"hello\\"", + "Next": "input.nv == "hello"", "ResultPath": "$.heap189", "Type": "Pass", }, - "191__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "191__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap190", - "Next": "input.nv !== \\"hello\\"", + "Next": "input.nv !== "hello"", "ResultPath": "$.heap191", "Type": "Pass", }, - "193__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "193__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap192", - "Next": "input.nv != \\"hello\\"", + "Next": "input.nv != "hello"", "ResultPath": "$.heap193", "Type": "Pass", }, - "195__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "195__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap194", "Next": "input.undN === 1", "ResultPath": "$.heap195", "Type": "Pass", }, - "197__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "197__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap196", "Next": "input.undN == 1", "ResultPath": "$.heap197", "Type": "Pass", }, - "199__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "199__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap198", "Next": "input.undN !== 1", "ResultPath": "$.heap199", "Type": "Pass", }, - "19__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "19__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap18", - "Next": "\\"val2\\" < input.v", + "Next": ""val2" < input.v", "ResultPath": "$.heap19", "Type": "Pass", }, - "1__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in": Object { + "1__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in": { "End": true, - "Parameters": Object { + "Parameters": { "constantBooleanEquals.$": "$.heap97", "constantBooleanNotEquals.$": "$.heap105", "constantInConstant": true, @@ -3456,281 +3456,281 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in 1": Object { + "1__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in 1": { "InputPath": "$.heap0", - "Next": "input.v === \\"val\\"", + "Next": "input.v === "val"", "ResultPath": "$.heap1", "Type": "Pass", }, - "201__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "201__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap200", "Next": "input.undN != 1", "ResultPath": "$.heap201", "Type": "Pass", }, - "203__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "203__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap202", "Next": "input.nv === 1", "ResultPath": "$.heap203", "Type": "Pass", }, - "205__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "205__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap204", "Next": "input.nv == 1", "ResultPath": "$.heap205", "Type": "Pass", }, - "207__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "207__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap206", "Next": "input.nv !== 1", "ResultPath": "$.heap207", "Type": "Pass", }, - "209__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "209__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap208", "Next": "input.nv != 1", "ResultPath": "$.heap209", "Type": "Pass", }, - "211__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "211__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap210", "Next": "input.v !== obj.und", "ResultPath": "$.heap211", "Type": "Pass", }, - "213__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "213__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap212", "Next": "input.v != obj.und", "ResultPath": "$.heap213", "Type": "Pass", }, - "215__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "215__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap214", "Next": "input.nv === obj.und", "ResultPath": "$.heap215", "Type": "Pass", }, - "217__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "217__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap216", "Next": "input.nv == obj.und", "ResultPath": "$.heap217", "Type": "Pass", }, - "219__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "219__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap218", "Next": "input.nv === obj.und 1", "ResultPath": "$.heap219", "Type": "Pass", }, - "21__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "21__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap20", "Next": "input.v < input.v", "ResultPath": "$.heap21", "Type": "Pass", }, - "221__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "221__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap220", "Next": "input.nv == obj.und 1", "ResultPath": "$.heap221", "Type": "Pass", }, - "223__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "223__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap222", "Next": "input.und === obj.und", "ResultPath": "$.heap223", "Type": "Pass", }, - "225__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "225__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap224", "Next": "input.und == obj.und", "ResultPath": "$.heap225", "Type": "Pass", }, - "227__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "227__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap226", "Next": "input.und !== obj.und", "ResultPath": "$.heap227", "Type": "Pass", }, - "229__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "229__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap228", "Next": "input.und != obj.und", "ResultPath": "$.heap229", "Type": "Pass", }, - "231__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "231__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap230", "Next": "input.und === obj.nv", "ResultPath": "$.heap231", "Type": "Pass", }, - "233__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "233__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap232", "Next": "input.und == obj.nv", "ResultPath": "$.heap233", "Type": "Pass", }, - "235__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "235__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap234", "Next": "input.und !== obj.nv", "ResultPath": "$.heap235", "Type": "Pass", }, - "237__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "237__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap236", "Next": "input.und != obj.nv", "ResultPath": "$.heap237", "Type": "Pass", }, - "239__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "239__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap238", "Next": "input.und === input.v", "ResultPath": "$.heap239", "Type": "Pass", }, - "23__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "23__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap22", - "Next": "\\"a\\" <= \\"a\\"", + "Next": ""a" <= "a"", "ResultPath": "$.heap23", "Type": "Pass", }, - "241__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "241__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap240", "Next": "input.und == input.v", "ResultPath": "$.heap241", "Type": "Pass", }, - "243__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "243__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap242", "Next": "input.und !== input.v", "ResultPath": "$.heap243", "Type": "Pass", }, - "245__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "245__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap244", "Next": "input.und != input.v", "ResultPath": "$.heap245", "Type": "Pass", }, - "247__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "247__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap246", "Next": "input.nv === input.v", "ResultPath": "$.heap247", "Type": "Pass", }, - "249__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "249__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap248", "Next": "input.nv == input.v", "ResultPath": "$.heap249", "Type": "Pass", }, - "251__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "251__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap250", "Next": "input.nv !== input.v", "ResultPath": "$.heap251", "Type": "Pass", }, - "253__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "253__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap252", "Next": "input.nv != input.v", "ResultPath": "$.heap253", "Type": "Pass", }, - "255__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "255__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap254", "Next": "input.undN === input.n", "ResultPath": "$.heap255", "Type": "Pass", }, - "257__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "257__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap256", "Next": "input.undN == input.n", "ResultPath": "$.heap257", "Type": "Pass", }, - "259__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "259__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap258", "Next": "input.undN !== input.n", "ResultPath": "$.heap259", "Type": "Pass", }, - "25__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "25__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap24", - "Next": "input.v <= \\"val2\\"", + "Next": "input.v <= "val2"", "ResultPath": "$.heap25", "Type": "Pass", }, - "261__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "261__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap260", "Next": "input.undN != input.n", "ResultPath": "$.heap261", "Type": "Pass", }, - "263__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "263__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap262", "Next": "input.nv === input.n", "ResultPath": "$.heap263", "Type": "Pass", }, - "265__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "265__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap264", "Next": "input.nv == input.n", "ResultPath": "$.heap265", "Type": "Pass", }, - "267__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "267__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap266", "Next": "input.nv !== input.n", "ResultPath": "$.heap267", "Type": "Pass", }, - "269__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "269__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap268", "Next": "input.nv != input.n", "ResultPath": "$.heap269", "Type": "Pass", }, - "271__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ": Object { + "271__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ": { "InputPath": "$.heap270", - "Next": "1__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in", + "Next": "1__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in", "ResultPath": "$.heap271", "Type": "Pass", }, - "27__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "27__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap26", - "Next": "\\"val2\\" <= input.v", + "Next": ""val2" <= input.v", "ResultPath": "$.heap27", "Type": "Pass", }, - "29__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "29__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap28", "Next": "input.v <= input.v", "ResultPath": "$.heap29", "Type": "Pass", }, - "3 !== input.n": Object { - "Choices": Array [ - Object { + "3 !== input.n": { + "Choices": [ + { "Next": "true__3 !== input.n", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericEquals": 3, "Variable": "$.input.n", }, @@ -3745,27 +3745,27 @@ Object { "Default": "false__3 !== input.n", "Type": "Choice", }, - "3 < input.n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "3 < input.n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericGreaterThan": 3, "Variable": "$.input.n", }, @@ -3780,27 +3780,27 @@ Object { "Default": "false__3 < input.n", "Type": "Choice", }, - "3 <= input.n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "3 <= input.n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericGreaterThanEquals": 3, "Variable": "$.input.n", }, @@ -3815,27 +3815,27 @@ Object { "Default": "false__3 <= input.n", "Type": "Choice", }, - "3 === input.n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "3 === input.n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericEquals": 3, "Variable": "$.input.n", }, @@ -3850,27 +3850,27 @@ Object { "Default": "false__3 === input.n", "Type": "Choice", }, - "3 > input.n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "3 > input.n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericLessThan": 3, "Variable": "$.input.n", }, @@ -3885,27 +3885,27 @@ Object { "Default": "false__3 > input.n", "Type": "Choice", }, - "3 >= input.n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "3 >= input.n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericLessThanEquals": 3, "Variable": "$.input.n", }, @@ -3920,244 +3920,244 @@ Object { "Default": "false__3 >= input.n", "Type": "Choice", }, - "31__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "31__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap30", - "Next": "\\"a\\" > \\"a\\"", + "Next": ""a" > "a"", "ResultPath": "$.heap31", "Type": "Pass", }, - "33__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "33__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap32", - "Next": "input.v > \\"val2\\"", + "Next": "input.v > "val2"", "ResultPath": "$.heap33", "Type": "Pass", }, - "35__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "35__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap34", - "Next": "\\"val2\\" > input.v", + "Next": ""val2" > input.v", "ResultPath": "$.heap35", "Type": "Pass", }, - "37__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "37__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap36", "Next": "input.v > input.v", "ResultPath": "$.heap37", "Type": "Pass", }, - "39__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "39__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap38", - "Next": "\\"a\\" >= \\"a\\"", + "Next": ""a" >= "a"", "ResultPath": "$.heap39", "Type": "Pass", }, - "3__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in": Object { + "3__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in": { "InputPath": "$.heap2", - "Next": "\\"val2\\" === input.v", + "Next": ""val2" === input.v", "ResultPath": "$.heap3", "Type": "Pass", }, - "41__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "41__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap40", - "Next": "input.v >= \\"val2\\"", + "Next": "input.v >= "val2"", "ResultPath": "$.heap41", "Type": "Pass", }, - "43__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "43__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap42", - "Next": "\\"val2\\" >= input.v", + "Next": ""val2" >= input.v", "ResultPath": "$.heap43", "Type": "Pass", }, - "45__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "45__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap44", "Next": "input.v >= input.v", "ResultPath": "$.heap45", "Type": "Pass", }, - "47__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "47__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap46", "Next": "1 === 1", "ResultPath": "$.heap47", "Type": "Pass", }, - "49__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "49__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap48", "Next": "input.n === 2", "ResultPath": "$.heap49", "Type": "Pass", }, - "51__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "51__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap50", "Next": "3 === input.n", "ResultPath": "$.heap51", "Type": "Pass", }, - "53__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "53__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap52", "Next": "input.n === input.n", "ResultPath": "$.heap53", "Type": "Pass", }, - "55__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "55__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap54", "Next": "1 !== 1", "ResultPath": "$.heap55", "Type": "Pass", }, - "57__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "57__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap56", "Next": "input.n !== 2", "ResultPath": "$.heap57", "Type": "Pass", }, - "59__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "59__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap58", "Next": "3 !== input.n", "ResultPath": "$.heap59", "Type": "Pass", }, - "5__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in": Object { + "5__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in": { "InputPath": "$.heap4", "Next": "input.v === input.v", "ResultPath": "$.heap5", "Type": "Pass", }, - "61__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "61__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap60", "Next": "input.n !== input.n", "ResultPath": "$.heap61", "Type": "Pass", }, - "63__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "63__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap62", "Next": "1 < 1", "ResultPath": "$.heap63", "Type": "Pass", }, - "65__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "65__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap64", "Next": "input.n < 3", "ResultPath": "$.heap65", "Type": "Pass", }, - "67__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "67__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap66", "Next": "3 < input.n", "ResultPath": "$.heap67", "Type": "Pass", }, - "69__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "69__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap68", "Next": "input.n < input.n", "ResultPath": "$.heap69", "Type": "Pass", }, - "71__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "71__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap70", "Next": "1 <= 1", "ResultPath": "$.heap71", "Type": "Pass", }, - "73__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "73__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap72", "Next": "input.n <= 3", "ResultPath": "$.heap73", "Type": "Pass", }, - "75__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "75__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap74", "Next": "3 <= input.n", "ResultPath": "$.heap75", "Type": "Pass", }, - "77__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "77__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap76", "Next": "input.n <= input.n", "ResultPath": "$.heap77", "Type": "Pass", }, - "79__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "79__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap78", "Next": "1 > 1", "ResultPath": "$.heap79", "Type": "Pass", }, - "7__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in": Object { + "7__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in": { "InputPath": "$.heap6", - "Next": "\\"a\\" !== \\"a\\"", + "Next": ""a" !== "a"", "ResultPath": "$.heap7", "Type": "Pass", }, - "81__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "81__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap80", "Next": "input.n > 3", "ResultPath": "$.heap81", "Type": "Pass", }, - "83__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "83__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap82", "Next": "3 > input.n", "ResultPath": "$.heap83", "Type": "Pass", }, - "85__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "85__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap84", "Next": "input.n > input.n", "ResultPath": "$.heap85", "Type": "Pass", }, - "87__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "87__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap86", "Next": "1 >= 1", "ResultPath": "$.heap87", "Type": "Pass", }, - "89__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "89__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap88", "Next": "input.n >= 3", "ResultPath": "$.heap89", "Type": "Pass", }, - "91__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "91__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap90", "Next": "3 >= input.n", "ResultPath": "$.heap91", "Type": "Pass", }, - "93__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "93__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap92", "Next": "input.n >= input.n", "ResultPath": "$.heap93", "Type": "Pass", }, - "95__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "95__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap94", "Next": "true === true", "ResultPath": "$.heap95", "Type": "Pass", }, - "97__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "97__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap96", "Next": "input.a === true", "ResultPath": "$.heap97", "Type": "Pass", }, - "99__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i": Object { + "99__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i": { "InputPath": "$.heap98", "Next": "false === input.a", "ResultPath": "$.heap99", "Type": "Pass", }, - "9__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in": Object { + "9__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in": { "InputPath": "$.heap8", - "Next": "input.v !== \\"val\\"", + "Next": "input.v !== "val"", "ResultPath": "$.heap9", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "obj = {nv: null}", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -4165,29 +4165,29 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false !== input.a": Object { - "Choices": Array [ - Object { + "false !== input.a": { + "Choices": [ + { "Next": "true__false !== input.a", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": false, "Variable": "$.input.a", }, @@ -4202,27 +4202,27 @@ Object { "Default": "false__false !== input.a", "Type": "Choice", }, - "false === input.a": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "false === input.a": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": false, "Variable": "$.input.a", }, @@ -4237,907 +4237,907 @@ Object { "Default": "false__false === input.a", "Type": "Choice", }, - "false__!false": Object { - "Next": "133__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__!false": { + "Next": "133__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap132", "Type": "Pass", }, - "false__!input.a": Object { - "Next": "135__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__!input.a": { + "Next": "135__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap134", "Type": "Pass", }, - "false__!input.n": Object { - "Next": "139__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__!input.n": { + "Next": "139__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap138", "Type": "Pass", }, - "false__!input.nv": Object { - "Next": "137__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__!input.nv": { + "Next": "137__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap136", "Type": "Pass", }, - "false__!input.obj": Object { - "Next": "143__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__!input.obj": { + "Next": "143__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap142", "Type": "Pass", }, - "false__!input.x": Object { - "Next": "141__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__!input.x": { + "Next": "141__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap140", "Type": "Pass", }, - "false__\\"a\\" !== \\"a\\"": Object { - "Next": "9__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in", + "false__"a" !== "a"": { + "Next": "9__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in", "Result": false, "ResultPath": "$.heap8", "Type": "Pass", }, - "false__\\"a\\" < \\"a\\"": Object { - "Next": "17__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__"a" < "a"": { + "Next": "17__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap16", "Type": "Pass", }, - "false__\\"a\\" <= \\"a\\"": Object { - "Next": "25__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__"a" <= "a"": { + "Next": "25__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap24", "Type": "Pass", }, - "false__\\"a\\" > \\"a\\"": Object { - "Next": "33__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__"a" > "a"": { + "Next": "33__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap32", "Type": "Pass", }, - "false__\\"a\\" >= \\"a\\"": Object { - "Next": "41__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__"a" >= "a"": { + "Next": "41__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap40", "Type": "Pass", }, - "false__\\"a\\" in input.obj": Object { - "Next": "129__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__"a" in input.obj": { + "Next": "129__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap128", "Type": "Pass", }, - "false__\\"b\\" in input.obj": Object { - "Next": "131__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__"b" in input.obj": { + "Next": "131__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap130", "Type": "Pass", }, - "false__\\"val2\\" !== input.v": Object { - "Next": "13__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__"val2" !== input.v": { + "Next": "13__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap12", "Type": "Pass", }, - "false__\\"val2\\" < input.v": Object { - "Next": "21__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__"val2" < input.v": { + "Next": "21__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap20", "Type": "Pass", }, - "false__\\"val2\\" <= input.v": Object { - "Next": "29__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__"val2" <= input.v": { + "Next": "29__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap28", "Type": "Pass", }, - "false__\\"val2\\" === input.v": Object { - "Next": "5__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in", + "false__"val2" === input.v": { + "Next": "5__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in", "Result": false, "ResultPath": "$.heap4", "Type": "Pass", }, - "false__\\"val2\\" > input.v": Object { - "Next": "37__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__"val2" > input.v": { + "Next": "37__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap36", "Type": "Pass", }, - "false__\\"val2\\" >= input.v": Object { - "Next": "45__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__"val2" >= input.v": { + "Next": "45__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap44", "Type": "Pass", }, - "false__1 !== 1": Object { - "Next": "57__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__1 !== 1": { + "Next": "57__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap56", "Type": "Pass", }, - "false__1 < 1": Object { - "Next": "65__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__1 < 1": { + "Next": "65__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap64", "Type": "Pass", }, - "false__1 <= 1": Object { - "Next": "73__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__1 <= 1": { + "Next": "73__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap72", "Type": "Pass", }, - "false__1 === 1": Object { - "Next": "49__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__1 === 1": { + "Next": "49__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap48", "Type": "Pass", }, - "false__1 > 1": Object { - "Next": "81__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__1 > 1": { + "Next": "81__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap80", "Type": "Pass", }, - "false__1 >= 1": Object { - "Next": "89__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__1 >= 1": { + "Next": "89__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap88", "Type": "Pass", }, - "false__3 !== input.n": Object { - "Next": "61__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__3 !== input.n": { + "Next": "61__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap60", "Type": "Pass", }, - "false__3 < input.n": Object { - "Next": "69__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__3 < input.n": { + "Next": "69__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap68", "Type": "Pass", }, - "false__3 <= input.n": Object { - "Next": "77__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__3 <= input.n": { + "Next": "77__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap76", "Type": "Pass", }, - "false__3 === input.n": Object { - "Next": "53__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__3 === input.n": { + "Next": "53__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap52", "Type": "Pass", }, - "false__3 > input.n": Object { - "Next": "85__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__3 > input.n": { + "Next": "85__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap84", "Type": "Pass", }, - "false__3 >= input.n": Object { - "Next": "93__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__3 >= input.n": { + "Next": "93__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap92", "Type": "Pass", }, - "false__false !== input.a": Object { - "Next": "109__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__false !== input.a": { + "Next": "109__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap108", "Type": "Pass", }, - "false__false === input.a": Object { - "Next": "101__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__false === input.a": { + "Next": "101__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap100", "Type": "Pass", }, - "false__input.a !== input.a": Object { - "Next": "111__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.a !== input.a": { + "Next": "111__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap110", "Type": "Pass", }, - "false__input.a !== true": Object { - "Next": "107__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.a !== true": { + "Next": "107__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap106", "Type": "Pass", }, - "false__input.a === input.a": Object { - "Next": "103__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.a === input.a": { + "Next": "103__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap102", "Type": "Pass", }, - "false__input.a === true": Object { - "Next": "99__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.a === true": { + "Next": "99__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap98", "Type": "Pass", }, - "false__input.n !== 2": Object { - "Next": "59__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n !== 2": { + "Next": "59__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap58", "Type": "Pass", }, - "false__input.n !== input.n": Object { - "Next": "63__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n !== input.n": { + "Next": "63__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap62", "Type": "Pass", }, - "false__input.n < 3": Object { - "Next": "67__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n < 3": { + "Next": "67__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap66", "Type": "Pass", }, - "false__input.n < input.n": Object { - "Next": "71__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n < input.n": { + "Next": "71__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap70", "Type": "Pass", }, - "false__input.n <= 3": Object { - "Next": "75__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n <= 3": { + "Next": "75__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap74", "Type": "Pass", }, - "false__input.n <= input.n": Object { - "Next": "79__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n <= input.n": { + "Next": "79__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap78", "Type": "Pass", }, - "false__input.n === 2": Object { - "Next": "51__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n === 2": { + "Next": "51__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap50", "Type": "Pass", }, - "false__input.n === input.n": Object { - "Next": "55__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n === input.n": { + "Next": "55__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap54", "Type": "Pass", }, - "false__input.n > 3": Object { - "Next": "83__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n > 3": { + "Next": "83__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap82", "Type": "Pass", }, - "false__input.n > input.n": Object { - "Next": "87__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n > input.n": { + "Next": "87__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap86", "Type": "Pass", }, - "false__input.n >= 3": Object { - "Next": "91__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n >= 3": { + "Next": "91__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap90", "Type": "Pass", }, - "false__input.n >= input.n": Object { - "Next": "95__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.n >= input.n": { + "Next": "95__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap94", "Type": "Pass", }, - "false__input.nv != \\"hello\\"": Object { - "Next": "195__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv != "hello"": { + "Next": "195__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap194", "Type": "Pass", }, - "false__input.nv != 1": Object { - "Next": "211__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv != 1": { + "Next": "211__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap210", "Type": "Pass", }, - "false__input.nv != input.n": Object { - "Next": "271__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv != input.n": { + "Next": "271__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap270", "Type": "Pass", }, - "false__input.nv != input.v": Object { - "Next": "255__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv != input.v": { + "Next": "255__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap254", "Type": "Pass", }, - "false__input.nv !== \\"hello\\"": Object { - "Next": "193__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv !== "hello"": { + "Next": "193__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap192", "Type": "Pass", }, - "false__input.nv !== 1": Object { - "Next": "209__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv !== 1": { + "Next": "209__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap208", "Type": "Pass", }, - "false__input.nv !== input.n": Object { - "Next": "269__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv !== input.n": { + "Next": "269__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap268", "Type": "Pass", }, - "false__input.nv !== input.nv": Object { - "Next": "127__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv !== input.nv": { + "Next": "127__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap126", "Type": "Pass", }, - "false__input.nv !== input.v": Object { - "Next": "253__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv !== input.v": { + "Next": "253__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap252", "Type": "Pass", }, - "false__input.nv !== null": Object { - "Next": "123__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv !== null": { + "Next": "123__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap122", "Type": "Pass", }, - "false__input.nv == \\"hello\\"": Object { - "Next": "191__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv == "hello"": { + "Next": "191__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap190", "Type": "Pass", }, - "false__input.nv == 1": Object { - "Next": "207__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv == 1": { + "Next": "207__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap206", "Type": "Pass", }, - "false__input.nv == input.n": Object { - "Next": "267__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv == input.n": { + "Next": "267__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap266", "Type": "Pass", }, - "false__input.nv == input.v": Object { - "Next": "251__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv == input.v": { + "Next": "251__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap250", "Type": "Pass", }, - "false__input.nv == obj.und": Object { - "Next": "219__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv == obj.und": { + "Next": "219__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap218", "Type": "Pass", }, - "false__input.nv == obj.und 1": Object { - "Next": "223__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv == obj.und 1": { + "Next": "223__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap222", "Type": "Pass", }, - "false__input.nv == undefined": Object { - "Next": "155__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv == undefined": { + "Next": "155__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap154", "Type": "Pass", }, - "false__input.nv == undefined 1": Object { - "Next": "159__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv == undefined 1": { + "Next": "159__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap158", "Type": "Pass", }, - "false__input.nv === \\"hello\\"": Object { - "Next": "189__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === "hello"": { + "Next": "189__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap188", "Type": "Pass", }, - "false__input.nv === 1": Object { - "Next": "205__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === 1": { + "Next": "205__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap204", "Type": "Pass", }, - "false__input.nv === input.n": Object { - "Next": "265__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === input.n": { + "Next": "265__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap264", "Type": "Pass", }, - "false__input.nv === input.nv": Object { - "Next": "119__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === input.nv": { + "Next": "119__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap118", "Type": "Pass", }, - "false__input.nv === input.v": Object { - "Next": "249__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === input.v": { + "Next": "249__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap248", "Type": "Pass", }, - "false__input.nv === null": Object { - "Next": "115__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === null": { + "Next": "115__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap114", "Type": "Pass", }, - "false__input.nv === obj.und": Object { - "Next": "217__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === obj.und": { + "Next": "217__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap216", "Type": "Pass", }, - "false__input.nv === obj.und 1": Object { - "Next": "221__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === obj.und 1": { + "Next": "221__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap220", "Type": "Pass", }, - "false__input.nv === undefined": Object { - "Next": "153__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === undefined": { + "Next": "153__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap152", "Type": "Pass", }, - "false__input.nv === undefined 1": Object { - "Next": "157__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.nv === undefined 1": { + "Next": "157__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap156", "Type": "Pass", }, - "false__input.und != \\"hello\\"": Object { - "Next": "187__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und != "hello"": { + "Next": "187__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap186", "Type": "Pass", }, - "false__input.und != input.v": Object { - "Next": "247__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und != input.v": { + "Next": "247__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap246", "Type": "Pass", }, - "false__input.und != null": Object { - "Next": "179__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und != null": { + "Next": "179__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap178", "Type": "Pass", }, - "false__input.und != obj.nv": Object { - "Next": "239__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und != obj.nv": { + "Next": "239__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap238", "Type": "Pass", }, - "false__input.und != obj.und": Object { - "Next": "231__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und != obj.und": { + "Next": "231__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap230", "Type": "Pass", }, - "false__input.und != undefined": Object { - "Next": "167__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und != undefined": { + "Next": "167__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap166", "Type": "Pass", }, - "false__input.und !== \\"hello\\"": Object { - "Next": "185__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und !== "hello"": { + "Next": "185__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap184", "Type": "Pass", }, - "false__input.und !== input.v": Object { - "Next": "245__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und !== input.v": { + "Next": "245__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap244", "Type": "Pass", }, - "false__input.und !== null": Object { - "Next": "177__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und !== null": { + "Next": "177__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap176", "Type": "Pass", }, - "false__input.und !== obj.nv": Object { - "Next": "237__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und !== obj.nv": { + "Next": "237__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap236", "Type": "Pass", }, - "false__input.und !== obj.und": Object { - "Next": "229__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und !== obj.und": { + "Next": "229__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap228", "Type": "Pass", }, - "false__input.und !== undefined": Object { - "Next": "165__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und !== undefined": { + "Next": "165__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap164", "Type": "Pass", }, - "false__input.und == \\"hello\\"": Object { - "Next": "183__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und == "hello"": { + "Next": "183__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap182", "Type": "Pass", }, - "false__input.und == input.v": Object { - "Next": "243__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und == input.v": { + "Next": "243__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap242", "Type": "Pass", }, - "false__input.und == null": Object { - "Next": "175__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und == null": { + "Next": "175__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap174", "Type": "Pass", }, - "false__input.und == obj.nv": Object { - "Next": "235__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und == obj.nv": { + "Next": "235__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap234", "Type": "Pass", }, - "false__input.und == obj.und": Object { - "Next": "227__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und == obj.und": { + "Next": "227__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap226", "Type": "Pass", }, - "false__input.und == undefined": Object { - "Next": "163__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und == undefined": { + "Next": "163__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap162", "Type": "Pass", }, - "false__input.und === \\"hello\\"": Object { - "Next": "181__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und === "hello"": { + "Next": "181__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap180", "Type": "Pass", }, - "false__input.und === input.v": Object { - "Next": "241__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und === input.v": { + "Next": "241__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap240", "Type": "Pass", }, - "false__input.und === null": Object { - "Next": "173__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und === null": { + "Next": "173__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap172", "Type": "Pass", }, - "false__input.und === obj.nv": Object { - "Next": "233__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und === obj.nv": { + "Next": "233__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap232", "Type": "Pass", }, - "false__input.und === obj.und": Object { - "Next": "225__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und === obj.und": { + "Next": "225__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap224", "Type": "Pass", }, - "false__input.und === undefined": Object { - "Next": "161__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.und === undefined": { + "Next": "161__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap160", "Type": "Pass", }, - "false__input.undN != 1": Object { - "Next": "203__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.undN != 1": { + "Next": "203__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap202", "Type": "Pass", }, - "false__input.undN != input.n": Object { - "Next": "263__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.undN != input.n": { + "Next": "263__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap262", "Type": "Pass", }, - "false__input.undN !== 1": Object { - "Next": "201__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.undN !== 1": { + "Next": "201__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap200", "Type": "Pass", }, - "false__input.undN !== input.n": Object { - "Next": "261__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.undN !== input.n": { + "Next": "261__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap260", "Type": "Pass", }, - "false__input.undN == 1": Object { - "Next": "199__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.undN == 1": { + "Next": "199__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap198", "Type": "Pass", }, - "false__input.undN == input.n": Object { - "Next": "259__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.undN == input.n": { + "Next": "259__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap258", "Type": "Pass", }, - "false__input.undN === 1": Object { - "Next": "197__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.undN === 1": { + "Next": "197__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap196", "Type": "Pass", }, - "false__input.undN === input.n": Object { - "Next": "257__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.undN === input.n": { + "Next": "257__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap256", "Type": "Pass", }, - "false__input.v != obj.und": Object { - "Next": "215__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v != obj.und": { + "Next": "215__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap214", "Type": "Pass", }, - "false__input.v != undefined": Object { - "Next": "151__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v != undefined": { + "Next": "151__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap150", "Type": "Pass", }, - "false__input.v !== \\"val\\"": Object { - "Next": "11__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v !== "val"": { + "Next": "11__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap10", "Type": "Pass", }, - "false__input.v !== input.nv": Object { - "Next": "125__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v !== input.nv": { + "Next": "125__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap124", "Type": "Pass", }, - "false__input.v !== input.v": Object { - "Next": "15__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v !== input.v": { + "Next": "15__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap14", "Type": "Pass", }, - "false__input.v !== obj.und": Object { - "Next": "213__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v !== obj.und": { + "Next": "213__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap212", "Type": "Pass", }, - "false__input.v !== undefined": Object { - "Next": "149__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v !== undefined": { + "Next": "149__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap148", "Type": "Pass", }, - "false__input.v < \\"val2\\"": Object { - "Next": "19__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v < "val2"": { + "Next": "19__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap18", "Type": "Pass", }, - "false__input.v < input.v": Object { - "Next": "23__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v < input.v": { + "Next": "23__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap22", "Type": "Pass", }, - "false__input.v <= \\"val2\\"": Object { - "Next": "27__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v <= "val2"": { + "Next": "27__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap26", "Type": "Pass", }, - "false__input.v <= input.v": Object { - "Next": "31__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v <= input.v": { + "Next": "31__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap30", "Type": "Pass", }, - "false__input.v == undefined": Object { - "Next": "147__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v == undefined": { + "Next": "147__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap146", "Type": "Pass", }, - "false__input.v == undefined 1": Object { - "Next": "171__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v == undefined 1": { + "Next": "171__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap170", "Type": "Pass", }, - "false__input.v === \\"val\\"": Object { - "Next": "3__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in", + "false__input.v === "val"": { + "Next": "3__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in", "Result": false, "ResultPath": "$.heap2", "Type": "Pass", }, - "false__input.v === input.nv": Object { - "Next": "117__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v === input.nv": { + "Next": "117__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap116", "Type": "Pass", }, - "false__input.v === input.v": Object { - "Next": "7__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in", + "false__input.v === input.v": { + "Next": "7__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in", "Result": false, "ResultPath": "$.heap6", "Type": "Pass", }, - "false__input.v === undefined": Object { - "Next": "145__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v === undefined": { + "Next": "145__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap144", "Type": "Pass", }, - "false__input.v === undefined 1": Object { - "Next": "169__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__input.v === undefined 1": { + "Next": "169__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap168", "Type": "Pass", }, - "false__input.v > \\"val2\\"": Object { - "Next": "35__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v > "val2"": { + "Next": "35__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap34", "Type": "Pass", }, - "false__input.v > input.v": Object { - "Next": "39__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v > input.v": { + "Next": "39__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap38", "Type": "Pass", }, - "false__input.v >= \\"val2\\"": Object { - "Next": "43__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v >= "val2"": { + "Next": "43__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap42", "Type": "Pass", }, - "false__input.v >= input.v": Object { - "Next": "47__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__input.v >= input.v": { + "Next": "47__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap46", "Type": "Pass", }, - "false__null !== null": Object { - "Next": "121__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__null !== null": { + "Next": "121__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap120", "Type": "Pass", }, - "false__null === null": Object { - "Next": "113__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__null === null": { + "Next": "113__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap112", "Type": "Pass", }, - "false__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals": Object { - "Next": "1__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in 1", + "false__return {constantStringEquals: "a" === "a", constantToVarStringEquals": { + "Next": "1__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in 1", "Result": false, "ResultPath": "$.heap0", "Type": "Pass", }, - "false__true !== true": Object { - "Next": "105__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "false__true !== true": { + "Next": "105__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": false, "ResultPath": "$.heap104", "Type": "Pass", }, - "false__true === true": Object { - "Next": "97__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "false__true === true": { + "Next": "97__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": false, "ResultPath": "$.heap96", "Type": "Pass", }, - "input.a !== input.a": Object { - "Choices": Array [ - Object { + "input.a !== input.a": { + "Choices": [ + { "Next": "true__input.a !== input.a", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.a", }, - Object { + { "IsPresent": false, "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsPresent": true, "Variable": "$.input.a", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.a", }, - Object { + { "IsNull": true, "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEqualsPath": "$.input.a", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEqualsPath": "$.input.a", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEqualsPath": "$.input.a", "Variable": "$.input.a", }, @@ -5158,29 +5158,29 @@ Object { "Default": "false__input.a !== input.a", "Type": "Choice", }, - "input.a !== true": Object { - "Choices": Array [ - Object { + "input.a !== true": { + "Choices": [ + { "Next": "true__input.a !== true", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, @@ -5195,90 +5195,90 @@ Object { "Default": "false__input.a !== true", "Type": "Choice", }, - "input.a === input.a": Object { - "Choices": Array [ - Object { + "input.a === input.a": { + "Choices": [ + { "Next": "true__input.a === input.a", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.a", }, - Object { + { "IsPresent": false, "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsPresent": true, "Variable": "$.input.a", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.a", }, - Object { + { "IsNull": true, "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEqualsPath": "$.input.a", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEqualsPath": "$.input.a", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEqualsPath": "$.input.a", "Variable": "$.input.a", }, @@ -5298,27 +5298,27 @@ Object { "Default": "false__input.a === input.a", "Type": "Choice", }, - "input.a === true": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.a === true": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, @@ -5333,29 +5333,29 @@ Object { "Default": "false__input.a === true", "Type": "Choice", }, - "input.n !== 2": Object { - "Choices": Array [ - Object { + "input.n !== 2": { + "Choices": [ + { "Next": "true__input.n !== 2", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericEquals": 2, "Variable": "$.input.n", }, @@ -5370,91 +5370,91 @@ Object { "Default": "false__input.n !== 2", "Type": "Choice", }, - "input.n !== input.n": Object { - "Choices": Array [ - Object { + "input.n !== input.n": { + "Choices": [ + { "Next": "true__input.n !== input.n", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.n", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.n", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.n", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.n", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.n", }, @@ -5475,27 +5475,27 @@ Object { "Default": "false__input.n !== input.n", "Type": "Choice", }, - "input.n < 3": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.n < 3": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericLessThan": 3, "Variable": "$.input.n", }, @@ -5510,49 +5510,49 @@ Object { "Default": "false__input.n < 3", "Type": "Choice", }, - "input.n < input.n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.n < input.n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.n", }, - Object { + { "StringLessThanPath": "$.input.n", "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericLessThanPath": "$.input.n", "Variable": "$.input.n", }, @@ -5569,27 +5569,27 @@ Object { "Default": "false__input.n < input.n", "Type": "Choice", }, - "input.n <= 3": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.n <= 3": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericLessThanEquals": 3, "Variable": "$.input.n", }, @@ -5604,49 +5604,49 @@ Object { "Default": "false__input.n <= 3", "Type": "Choice", }, - "input.n <= input.n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.n <= input.n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.n", }, - Object { + { "StringLessThanEqualsPath": "$.input.n", "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericLessThanEqualsPath": "$.input.n", "Variable": "$.input.n", }, @@ -5663,27 +5663,27 @@ Object { "Default": "false__input.n <= input.n", "Type": "Choice", }, - "input.n === 2": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.n === 2": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericEquals": 2, "Variable": "$.input.n", }, @@ -5698,90 +5698,90 @@ Object { "Default": "false__input.n === 2", "Type": "Choice", }, - "input.n === input.n": Object { - "Choices": Array [ - Object { + "input.n === input.n": { + "Choices": [ + { "Next": "true__input.n === input.n", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.n", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.n", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.n", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.n", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.n", }, @@ -5801,27 +5801,27 @@ Object { "Default": "false__input.n === input.n", "Type": "Choice", }, - "input.n > 3": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.n > 3": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericGreaterThan": 3, "Variable": "$.input.n", }, @@ -5836,49 +5836,49 @@ Object { "Default": "false__input.n > 3", "Type": "Choice", }, - "input.n > input.n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.n > input.n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.n", }, - Object { + { "StringGreaterThanPath": "$.input.n", "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericGreaterThanPath": "$.input.n", "Variable": "$.input.n", }, @@ -5895,27 +5895,27 @@ Object { "Default": "false__input.n > input.n", "Type": "Choice", }, - "input.n >= 3": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.n >= 3": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericGreaterThanEquals": 3, "Variable": "$.input.n", }, @@ -5930,49 +5930,49 @@ Object { "Default": "false__input.n >= 3", "Type": "Choice", }, - "input.n >= input.n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.n >= input.n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.n", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.n", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.n", }, - Object { + { "StringGreaterThanEqualsPath": "$.input.n", "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.n", }, - Object { + { "NumericGreaterThanEqualsPath": "$.input.n", "Variable": "$.input.n", }, @@ -5989,29 +5989,29 @@ Object { "Default": "false__input.n >= input.n", "Type": "Choice", }, - "input.nv != \\"hello\\"": Object { - "Choices": Array [ - Object { - "Next": "true__input.nv != \\"hello\\"", - "Not": Object { - "And": Array [ - Object { + "input.nv != "hello"": { + "Choices": [ + { + "Next": "true__input.nv != "hello"", + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.nv", }, @@ -6023,32 +6023,32 @@ Object { }, }, ], - "Default": "false__input.nv != \\"hello\\"", + "Default": "false__input.nv != "hello"", "Type": "Choice", }, - "input.nv != 1": Object { - "Choices": Array [ - Object { + "input.nv != 1": { + "Choices": [ + { "Next": "true__input.nv != 1", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEquals": 1, "Variable": "$.input.nv", }, @@ -6063,91 +6063,91 @@ Object { "Default": "false__input.nv != 1", "Type": "Choice", }, - "input.nv != input.n": Object { - "Choices": Array [ - Object { + "input.nv != input.n": { + "Choices": [ + { "Next": "true__input.nv != input.n", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.nv", }, @@ -6168,91 +6168,91 @@ Object { "Default": "false__input.nv != input.n", "Type": "Choice", }, - "input.nv != input.v": Object { - "Choices": Array [ - Object { + "input.nv != input.v": { + "Choices": [ + { "Next": "true__input.nv != input.v", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.nv", }, @@ -6273,29 +6273,29 @@ Object { "Default": "false__input.nv != input.v", "Type": "Choice", }, - "input.nv !== \\"hello\\"": Object { - "Choices": Array [ - Object { - "Next": "true__input.nv !== \\"hello\\"", - "Not": Object { - "And": Array [ - Object { + "input.nv !== "hello"": { + "Choices": [ + { + "Next": "true__input.nv !== "hello"", + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.nv", }, @@ -6307,32 +6307,32 @@ Object { }, }, ], - "Default": "false__input.nv !== \\"hello\\"", + "Default": "false__input.nv !== "hello"", "Type": "Choice", }, - "input.nv !== 1": Object { - "Choices": Array [ - Object { + "input.nv !== 1": { + "Choices": [ + { "Next": "true__input.nv !== 1", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEquals": 1, "Variable": "$.input.nv", }, @@ -6347,91 +6347,91 @@ Object { "Default": "false__input.nv !== 1", "Type": "Choice", }, - "input.nv !== input.n": Object { - "Choices": Array [ - Object { + "input.nv !== input.n": { + "Choices": [ + { "Next": "true__input.nv !== input.n", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.nv", }, @@ -6452,91 +6452,91 @@ Object { "Default": "false__input.nv !== input.n", "Type": "Choice", }, - "input.nv !== input.nv": Object { - "Choices": Array [ - Object { + "input.nv !== input.nv": { + "Choices": [ + { "Next": "true__input.nv !== input.nv", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.nv", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.nv", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.nv", "Variable": "$.input.nv", }, @@ -6557,91 +6557,91 @@ Object { "Default": "false__input.nv !== input.nv", "Type": "Choice", }, - "input.nv !== input.v": Object { - "Choices": Array [ - Object { + "input.nv !== input.v": { + "Choices": [ + { "Next": "true__input.nv !== input.v", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.nv", }, @@ -6662,91 +6662,91 @@ Object { "Default": "false__input.nv !== input.v", "Type": "Choice", }, - "input.nv !== null": Object { - "Choices": Array [ - Object { + "input.nv !== null": { + "Choices": [ + { "Next": "true__input.nv !== null", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.input.nv", }, @@ -6767,27 +6767,27 @@ Object { "Default": "false__input.nv !== null", "Type": "Choice", }, - "input.nv == \\"hello\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.nv == "hello"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.nv", }, @@ -6796,33 +6796,33 @@ Object { ], }, ], - "Next": "true__input.nv == \\"hello\\"", + "Next": "true__input.nv == "hello"", }, ], - "Default": "false__input.nv == \\"hello\\"", + "Default": "false__input.nv == "hello"", "Type": "Choice", }, - "input.nv == 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.nv == 1": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEquals": 1, "Variable": "$.input.nv", }, @@ -6837,90 +6837,90 @@ Object { "Default": "false__input.nv == 1", "Type": "Choice", }, - "input.nv == input.n": Object { - "Choices": Array [ - Object { + "input.nv == input.n": { + "Choices": [ + { "Next": "true__input.nv == input.n", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.nv", }, @@ -6940,90 +6940,90 @@ Object { "Default": "false__input.nv == input.n", "Type": "Choice", }, - "input.nv == input.v": Object { - "Choices": Array [ - Object { + "input.nv == input.v": { + "Choices": [ + { "Next": "true__input.nv == input.v", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.nv", }, @@ -7043,90 +7043,90 @@ Object { "Default": "false__input.nv == input.v", "Type": "Choice", }, - "input.nv == obj.und": Object { - "Choices": Array [ - Object { + "input.nv == obj.und": { + "Choices": [ + { "Next": "true__input.nv == obj.und", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, @@ -7146,90 +7146,90 @@ Object { "Default": "false__input.nv == obj.und", "Type": "Choice", }, - "input.nv == obj.und 1": Object { - "Choices": Array [ - Object { + "input.nv == obj.und 1": { + "Choices": [ + { "Next": "true__input.nv == obj.und 1", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, @@ -7249,28 +7249,28 @@ Object { "Default": "false__input.nv == obj.und 1", "Type": "Choice", }, - "input.nv == undefined": Object { - "Choices": Array [ - Object { + "input.nv == undefined": { + "Choices": [ + { "Next": "true__input.nv == undefined", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -7284,28 +7284,28 @@ Object { "Default": "false__input.nv == undefined", "Type": "Choice", }, - "input.nv == undefined 1": Object { - "Choices": Array [ - Object { + "input.nv == undefined 1": { + "Choices": [ + { "Next": "true__input.nv == undefined 1", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -7319,27 +7319,27 @@ Object { "Default": "false__input.nv == undefined 1", "Type": "Choice", }, - "input.nv === \\"hello\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.nv === "hello"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.nv", }, @@ -7348,33 +7348,33 @@ Object { ], }, ], - "Next": "true__input.nv === \\"hello\\"", + "Next": "true__input.nv === "hello"", }, ], - "Default": "false__input.nv === \\"hello\\"", + "Default": "false__input.nv === "hello"", "Type": "Choice", }, - "input.nv === 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.nv === 1": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEquals": 1, "Variable": "$.input.nv", }, @@ -7389,90 +7389,90 @@ Object { "Default": "false__input.nv === 1", "Type": "Choice", }, - "input.nv === input.n": Object { - "Choices": Array [ - Object { + "input.nv === input.n": { + "Choices": [ + { "Next": "true__input.nv === input.n", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.nv", }, @@ -7492,90 +7492,90 @@ Object { "Default": "false__input.nv === input.n", "Type": "Choice", }, - "input.nv === input.nv": Object { - "Choices": Array [ - Object { + "input.nv === input.nv": { + "Choices": [ + { "Next": "true__input.nv === input.nv", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.nv", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.nv", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.nv", "Variable": "$.input.nv", }, @@ -7595,90 +7595,90 @@ Object { "Default": "false__input.nv === input.nv", "Type": "Choice", }, - "input.nv === input.v": Object { - "Choices": Array [ - Object { + "input.nv === input.v": { + "Choices": [ + { "Next": "true__input.nv === input.v", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.nv", }, @@ -7698,90 +7698,90 @@ Object { "Default": "false__input.nv === input.v", "Type": "Choice", }, - "input.nv === null": Object { - "Choices": Array [ - Object { + "input.nv === null": { + "Choices": [ + { "Next": "true__input.nv === null", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.input.nv", }, @@ -7801,90 +7801,90 @@ Object { "Default": "false__input.nv === null", "Type": "Choice", }, - "input.nv === obj.und": Object { - "Choices": Array [ - Object { + "input.nv === obj.und": { + "Choices": [ + { "Next": "true__input.nv === obj.und", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, @@ -7904,90 +7904,90 @@ Object { "Default": "false__input.nv === obj.und", "Type": "Choice", }, - "input.nv === obj.und 1": Object { - "Choices": Array [ - Object { + "input.nv === obj.und 1": { + "Choices": [ + { "Next": "true__input.nv === obj.und 1", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.nv", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.nv", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.nv", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.nv", }, @@ -8007,28 +8007,28 @@ Object { "Default": "false__input.nv === obj.und 1", "Type": "Choice", }, - "input.nv === undefined": Object { - "Choices": Array [ - Object { + "input.nv === undefined": { + "Choices": [ + { "Next": "true__input.nv === undefined", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -8042,28 +8042,28 @@ Object { "Default": "false__input.nv === undefined", "Type": "Choice", }, - "input.nv === undefined 1": Object { - "Choices": Array [ - Object { + "input.nv === undefined 1": { + "Choices": [ + { "Next": "true__input.nv === undefined 1", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.nv", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -8077,29 +8077,29 @@ Object { "Default": "false__input.nv === undefined 1", "Type": "Choice", }, - "input.und != \\"hello\\"": Object { - "Choices": Array [ - Object { - "Next": "true__input.und != \\"hello\\"", - "Not": Object { - "And": Array [ - Object { + "input.und != "hello"": { + "Choices": [ + { + "Next": "true__input.und != "hello"", + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.und", }, @@ -8111,94 +8111,94 @@ Object { }, }, ], - "Default": "false__input.und != \\"hello\\"", + "Default": "false__input.und != "hello"", "Type": "Choice", }, - "input.und != input.v": Object { - "Choices": Array [ - Object { + "input.und != input.v": { + "Choices": [ + { "Next": "true__input.und != input.v", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.und", }, @@ -8219,91 +8219,91 @@ Object { "Default": "false__input.und != input.v", "Type": "Choice", }, - "input.und != null": Object { - "Choices": Array [ - Object { + "input.und != null": { + "Choices": [ + { "Next": "true__input.und != null", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, @@ -8324,91 +8324,91 @@ Object { "Default": "false__input.und != null", "Type": "Choice", }, - "input.und != obj.nv": Object { - "Choices": Array [ - Object { + "input.und != obj.nv": { + "Choices": [ + { "Next": "true__input.und != obj.nv", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.obj.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.obj.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.obj.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.obj.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, @@ -8429,91 +8429,91 @@ Object { "Default": "false__input.und != obj.nv", "Type": "Choice", }, - "input.und != obj.und": Object { - "Choices": Array [ - Object { + "input.und != obj.und": { + "Choices": [ + { "Next": "true__input.und != obj.und", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.und", }, @@ -8534,29 +8534,29 @@ Object { "Default": "false__input.und != obj.und", "Type": "Choice", }, - "input.und != undefined": Object { - "Choices": Array [ - Object { + "input.und != undefined": { + "Choices": [ + { "Next": "true__input.und != undefined", - "Not": Object { - "Or": Array [ - Object { + "Not": { + "Or": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -8571,29 +8571,29 @@ Object { "Default": "false__input.und != undefined", "Type": "Choice", }, - "input.und !== \\"hello\\"": Object { - "Choices": Array [ - Object { - "Next": "true__input.und !== \\"hello\\"", - "Not": Object { - "And": Array [ - Object { + "input.und !== "hello"": { + "Choices": [ + { + "Next": "true__input.und !== "hello"", + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.und", }, @@ -8605,94 +8605,94 @@ Object { }, }, ], - "Default": "false__input.und !== \\"hello\\"", + "Default": "false__input.und !== "hello"", "Type": "Choice", }, - "input.und !== input.v": Object { - "Choices": Array [ - Object { + "input.und !== input.v": { + "Choices": [ + { "Next": "true__input.und !== input.v", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.und", }, @@ -8713,91 +8713,91 @@ Object { "Default": "false__input.und !== input.v", "Type": "Choice", }, - "input.und !== null": Object { - "Choices": Array [ - Object { + "input.und !== null": { + "Choices": [ + { "Next": "true__input.und !== null", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, @@ -8818,91 +8818,91 @@ Object { "Default": "false__input.und !== null", "Type": "Choice", }, - "input.und !== obj.nv": Object { - "Choices": Array [ - Object { + "input.und !== obj.nv": { + "Choices": [ + { "Next": "true__input.und !== obj.nv", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.obj.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.obj.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.obj.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.obj.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, @@ -8923,91 +8923,91 @@ Object { "Default": "false__input.und !== obj.nv", "Type": "Choice", }, - "input.und !== obj.und": Object { - "Choices": Array [ - Object { + "input.und !== obj.und": { + "Choices": [ + { "Next": "true__input.und !== obj.und", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.und", }, @@ -9028,29 +9028,29 @@ Object { "Default": "false__input.und !== obj.und", "Type": "Choice", }, - "input.und !== undefined": Object { - "Choices": Array [ - Object { + "input.und !== undefined": { + "Choices": [ + { "Next": "true__input.und !== undefined", - "Not": Object { - "Or": Array [ - Object { + "Not": { + "Or": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -9065,27 +9065,27 @@ Object { "Default": "false__input.und !== undefined", "Type": "Choice", }, - "input.und == \\"hello\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.und == "hello"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.und", }, @@ -9094,96 +9094,96 @@ Object { ], }, ], - "Next": "true__input.und == \\"hello\\"", + "Next": "true__input.und == "hello"", }, ], - "Default": "false__input.und == \\"hello\\"", + "Default": "false__input.und == "hello"", "Type": "Choice", }, - "input.und == input.v": Object { - "Choices": Array [ - Object { + "input.und == input.v": { + "Choices": [ + { "Next": "true__input.und == input.v", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.und", }, @@ -9203,90 +9203,90 @@ Object { "Default": "false__input.und == input.v", "Type": "Choice", }, - "input.und == null": Object { - "Choices": Array [ - Object { + "input.und == null": { + "Choices": [ + { "Next": "true__input.und == null", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, @@ -9306,90 +9306,90 @@ Object { "Default": "false__input.und == null", "Type": "Choice", }, - "input.und == obj.nv": Object { - "Choices": Array [ - Object { + "input.und == obj.nv": { + "Choices": [ + { "Next": "true__input.und == obj.nv", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.obj.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.obj.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.obj.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.obj.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, @@ -9409,90 +9409,90 @@ Object { "Default": "false__input.und == obj.nv", "Type": "Choice", }, - "input.und == obj.und": Object { - "Choices": Array [ - Object { + "input.und == obj.und": { + "Choices": [ + { "Next": "true__input.und == obj.und", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.und", }, @@ -9512,28 +9512,28 @@ Object { "Default": "false__input.und == obj.und", "Type": "Choice", }, - "input.und == undefined": Object { - "Choices": Array [ - Object { + "input.und == undefined": { + "Choices": [ + { "Next": "true__input.und == undefined", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -9547,27 +9547,27 @@ Object { "Default": "false__input.und == undefined", "Type": "Choice", }, - "input.und === \\"hello\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.und === "hello"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.und", }, @@ -9576,96 +9576,96 @@ Object { ], }, ], - "Next": "true__input.und === \\"hello\\"", + "Next": "true__input.und === "hello"", }, ], - "Default": "false__input.und === \\"hello\\"", + "Default": "false__input.und === "hello"", "Type": "Choice", }, - "input.und === input.v": Object { - "Choices": Array [ - Object { + "input.und === input.v": { + "Choices": [ + { "Next": "true__input.und === input.v", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.und", }, @@ -9685,90 +9685,90 @@ Object { "Default": "false__input.und === input.v", "Type": "Choice", }, - "input.und === null": Object { - "Choices": Array [ - Object { + "input.und === null": { + "Choices": [ + { "Next": "true__input.und === null", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.input.und", }, @@ -9788,90 +9788,90 @@ Object { "Default": "false__input.und === null", "Type": "Choice", }, - "input.und === obj.nv": Object { - "Choices": Array [ - Object { + "input.und === obj.nv": { + "Choices": [ + { "Next": "true__input.und === obj.nv", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.obj.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.obj.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.obj.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.obj.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.obj.nv", "Variable": "$.input.und", }, @@ -9891,90 +9891,90 @@ Object { "Default": "false__input.und === obj.nv", "Type": "Choice", }, - "input.und === obj.und": Object { - "Choices": Array [ - Object { + "input.und === obj.und": { + "Choices": [ + { "Next": "true__input.und === obj.und", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.und", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.und", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.und", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.und", }, @@ -9994,28 +9994,28 @@ Object { "Default": "false__input.und === obj.und", "Type": "Choice", }, - "input.und === undefined": Object { - "Choices": Array [ - Object { + "input.und === undefined": { + "Choices": [ + { "Next": "true__input.und === undefined", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.und", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.und", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -10029,29 +10029,29 @@ Object { "Default": "false__input.und === undefined", "Type": "Choice", }, - "input.undN != 1": Object { - "Choices": Array [ - Object { + "input.undN != 1": { + "Choices": [ + { "Next": "true__input.undN != 1", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.undN", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.undN", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.undN", }, - Object { + { "NumericEquals": 1, "Variable": "$.input.undN", }, @@ -10066,91 +10066,91 @@ Object { "Default": "false__input.undN != 1", "Type": "Choice", }, - "input.undN != input.n": Object { - "Choices": Array [ - Object { + "input.undN != input.n": { + "Choices": [ + { "Next": "true__input.undN != input.n", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.undN", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.undN", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.undN", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.undN", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.undN", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.undN", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.undN", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.undN", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.undN", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.undN", }, @@ -10171,29 +10171,29 @@ Object { "Default": "false__input.undN != input.n", "Type": "Choice", }, - "input.undN !== 1": Object { - "Choices": Array [ - Object { + "input.undN !== 1": { + "Choices": [ + { "Next": "true__input.undN !== 1", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.undN", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.undN", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.undN", }, - Object { + { "NumericEquals": 1, "Variable": "$.input.undN", }, @@ -10208,91 +10208,91 @@ Object { "Default": "false__input.undN !== 1", "Type": "Choice", }, - "input.undN !== input.n": Object { - "Choices": Array [ - Object { + "input.undN !== input.n": { + "Choices": [ + { "Next": "true__input.undN !== input.n", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.undN", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.undN", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.undN", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.undN", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.undN", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.undN", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.undN", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.undN", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.undN", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.undN", }, @@ -10313,27 +10313,27 @@ Object { "Default": "false__input.undN !== input.n", "Type": "Choice", }, - "input.undN == 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.undN == 1": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.undN", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.undN", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.undN", }, - Object { + { "NumericEquals": 1, "Variable": "$.input.undN", }, @@ -10348,90 +10348,90 @@ Object { "Default": "false__input.undN == 1", "Type": "Choice", }, - "input.undN == input.n": Object { - "Choices": Array [ - Object { + "input.undN == input.n": { + "Choices": [ + { "Next": "true__input.undN == input.n", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.undN", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.undN", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.undN", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.undN", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.undN", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.undN", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.undN", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.undN", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.undN", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.undN", }, @@ -10451,27 +10451,27 @@ Object { "Default": "false__input.undN == input.n", "Type": "Choice", }, - "input.undN === 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.undN === 1": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.undN", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.undN", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.undN", }, - Object { + { "NumericEquals": 1, "Variable": "$.input.undN", }, @@ -10486,90 +10486,90 @@ Object { "Default": "false__input.undN === 1", "Type": "Choice", }, - "input.undN === input.n": Object { - "Choices": Array [ - Object { + "input.undN === input.n": { + "Choices": [ + { "Next": "true__input.undN === input.n", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.undN", }, - Object { + { "IsPresent": false, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.undN", }, - Object { + { "IsPresent": true, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.undN", }, - Object { + { "IsNull": true, "Variable": "$.input.n", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.undN", }, - Object { + { "IsNull": false, "Variable": "$.input.n", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.undN", }, - Object { + { "StringEqualsPath": "$.input.n", "Variable": "$.input.undN", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.undN", }, - Object { + { "BooleanEqualsPath": "$.input.n", "Variable": "$.input.undN", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.undN", }, - Object { + { "NumericEqualsPath": "$.input.n", "Variable": "$.input.undN", }, @@ -10589,91 +10589,91 @@ Object { "Default": "false__input.undN === input.n", "Type": "Choice", }, - "input.v != obj.und": Object { - "Choices": Array [ - Object { + "input.v != obj.und": { + "Choices": [ + { "Next": "true__input.v != obj.und", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.v", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.v", }, @@ -10694,29 +10694,29 @@ Object { "Default": "false__input.v != obj.und", "Type": "Choice", }, - "input.v != undefined": Object { - "Choices": Array [ - Object { + "input.v != undefined": { + "Choices": [ + { "Next": "true__input.v != undefined", - "Not": Object { - "Or": Array [ - Object { + "Not": { + "Or": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -10731,29 +10731,29 @@ Object { "Default": "false__input.v != undefined", "Type": "Choice", }, - "input.v !== \\"val\\"": Object { - "Choices": Array [ - Object { - "Next": "true__input.v !== \\"val\\"", - "Not": Object { - "And": Array [ - Object { + "input.v !== "val"": { + "Choices": [ + { + "Next": "true__input.v !== "val"", + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEquals": "val", "Variable": "$.input.v", }, @@ -10765,94 +10765,94 @@ Object { }, }, ], - "Default": "false__input.v !== \\"val\\"", + "Default": "false__input.v !== "val"", "Type": "Choice", }, - "input.v !== input.nv": Object { - "Choices": Array [ - Object { + "input.v !== input.nv": { + "Choices": [ + { "Next": "true__input.v !== input.nv", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { + { "IsPresent": false, "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEqualsPath": "$.input.nv", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.v", }, - Object { + { "BooleanEqualsPath": "$.input.nv", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericEqualsPath": "$.input.nv", "Variable": "$.input.v", }, @@ -10873,91 +10873,91 @@ Object { "Default": "false__input.v !== input.nv", "Type": "Choice", }, - "input.v !== input.v": Object { - "Choices": Array [ - Object { + "input.v !== input.v": { + "Choices": [ + { "Next": "true__input.v !== input.v", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.v", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.v", }, @@ -10978,91 +10978,91 @@ Object { "Default": "false__input.v !== input.v", "Type": "Choice", }, - "input.v !== obj.und": Object { - "Choices": Array [ - Object { + "input.v !== obj.und": { + "Choices": [ + { "Next": "true__input.v !== obj.und", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { + { "IsPresent": false, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$.obj.und", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.obj.und", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEqualsPath": "$.obj.und", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.v", }, - Object { + { "BooleanEqualsPath": "$.obj.und", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericEqualsPath": "$.obj.und", "Variable": "$.input.v", }, @@ -11083,29 +11083,29 @@ Object { "Default": "false__input.v !== obj.und", "Type": "Choice", }, - "input.v !== undefined": Object { - "Choices": Array [ - Object { + "input.v !== undefined": { + "Choices": [ + { "Next": "true__input.v !== undefined", - "Not": Object { - "Or": Array [ - Object { + "Not": { + "Or": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -11120,27 +11120,27 @@ Object { "Default": "false__input.v !== undefined", "Type": "Choice", }, - "input.v < \\"val2\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v < "val2"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringLessThan": "val2", "Variable": "$.input.v", }, @@ -11149,55 +11149,55 @@ Object { ], }, ], - "Next": "true__input.v < \\"val2\\"", + "Next": "true__input.v < "val2"", }, ], - "Default": "false__input.v < \\"val2\\"", + "Default": "false__input.v < "val2"", "Type": "Choice", }, - "input.v < input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v < input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringLessThanPath": "$.input.v", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericLessThanPath": "$.input.v", "Variable": "$.input.v", }, @@ -11214,27 +11214,27 @@ Object { "Default": "false__input.v < input.v", "Type": "Choice", }, - "input.v <= \\"val2\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v <= "val2"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringLessThanEquals": "val2", "Variable": "$.input.v", }, @@ -11243,55 +11243,55 @@ Object { ], }, ], - "Next": "true__input.v <= \\"val2\\"", + "Next": "true__input.v <= "val2"", }, ], - "Default": "false__input.v <= \\"val2\\"", + "Default": "false__input.v <= "val2"", "Type": "Choice", }, - "input.v <= input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v <= input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringLessThanEqualsPath": "$.input.v", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericLessThanEqualsPath": "$.input.v", "Variable": "$.input.v", }, @@ -11308,28 +11308,28 @@ Object { "Default": "false__input.v <= input.v", "Type": "Choice", }, - "input.v == undefined": Object { - "Choices": Array [ - Object { + "input.v == undefined": { + "Choices": [ + { "Next": "true__input.v == undefined", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -11343,28 +11343,28 @@ Object { "Default": "false__input.v == undefined", "Type": "Choice", }, - "input.v == undefined 1": Object { - "Choices": Array [ - Object { + "input.v == undefined 1": { + "Choices": [ + { "Next": "true__input.v == undefined 1", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -11378,27 +11378,27 @@ Object { "Default": "false__input.v == undefined 1", "Type": "Choice", }, - "input.v === \\"val\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v === "val"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEquals": "val", "Variable": "$.input.v", }, @@ -11407,96 +11407,96 @@ Object { ], }, ], - "Next": "true__input.v === \\"val\\"", + "Next": "true__input.v === "val"", }, ], - "Default": "false__input.v === \\"val\\"", + "Default": "false__input.v === "val"", "Type": "Choice", }, - "input.v === input.nv": Object { - "Choices": Array [ - Object { + "input.v === input.nv": { + "Choices": [ + { "Next": "true__input.v === input.nv", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { + { "IsPresent": false, "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$.input.nv", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.input.nv", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEqualsPath": "$.input.nv", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.v", }, - Object { + { "BooleanEqualsPath": "$.input.nv", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericEqualsPath": "$.input.nv", "Variable": "$.input.v", }, @@ -11516,90 +11516,90 @@ Object { "Default": "false__input.v === input.nv", "Type": "Choice", }, - "input.v === input.v": Object { - "Choices": Array [ - Object { + "input.v === input.v": { + "Choices": [ + { "Next": "true__input.v === input.v", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { + { "IsPresent": false, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringEqualsPath": "$.input.v", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.v", }, - Object { + { "BooleanEqualsPath": "$.input.v", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericEqualsPath": "$.input.v", "Variable": "$.input.v", }, @@ -11619,28 +11619,28 @@ Object { "Default": "false__input.v === input.v", "Type": "Choice", }, - "input.v === undefined": Object { - "Choices": Array [ - Object { + "input.v === undefined": { + "Choices": [ + { "Next": "true__input.v === undefined", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -11654,28 +11654,28 @@ Object { "Default": "false__input.v === undefined", "Type": "Choice", }, - "input.v === undefined 1": Object { - "Choices": Array [ - Object { + "input.v === undefined 1": { + "Choices": [ + { "Next": "true__input.v === undefined 1", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -11689,27 +11689,27 @@ Object { "Default": "false__input.v === undefined 1", "Type": "Choice", }, - "input.v > \\"val2\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v > "val2"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringGreaterThan": "val2", "Variable": "$.input.v", }, @@ -11718,55 +11718,55 @@ Object { ], }, ], - "Next": "true__input.v > \\"val2\\"", + "Next": "true__input.v > "val2"", }, ], - "Default": "false__input.v > \\"val2\\"", + "Default": "false__input.v > "val2"", "Type": "Choice", }, - "input.v > input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v > input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringGreaterThanPath": "$.input.v", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericGreaterThanPath": "$.input.v", "Variable": "$.input.v", }, @@ -11783,27 +11783,27 @@ Object { "Default": "false__input.v > input.v", "Type": "Choice", }, - "input.v >= \\"val2\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v >= "val2"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringGreaterThanEquals": "val2", "Variable": "$.input.v", }, @@ -11812,55 +11812,55 @@ Object { ], }, ], - "Next": "true__input.v >= \\"val2\\"", + "Next": "true__input.v >= "val2"", }, ], - "Default": "false__input.v >= \\"val2\\"", + "Default": "false__input.v >= "val2"", "Type": "Choice", }, - "input.v >= input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v >= input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsPresent": true, "Variable": "$.input.v", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.v", }, - Object { + { "StringGreaterThanEqualsPath": "$.input.v", "Variable": "$.input.v", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.v", }, - Object { + { "NumericGreaterThanEqualsPath": "$.input.v", "Variable": "$.input.v", }, @@ -11877,91 +11877,91 @@ Object { "Default": "false__input.v >= input.v", "Type": "Choice", }, - "null !== null": Object { - "Choices": Array [ - Object { + "null !== null": { + "Choices": [ + { "Next": "true__null !== null", - "Not": Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "Not": { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.fnl_context.null", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.fnl_context.null", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.fnl_context.null", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.fnl_context.null", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.fnl_context.null", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.fnl_context.null", }, @@ -11982,90 +11982,90 @@ Object { "Default": "false__null !== null", "Type": "Choice", }, - "null === null": Object { - "Choices": Array [ - Object { + "null === null": { + "Choices": [ + { "Next": "true__null === null", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.fnl_context.null", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.fnl_context.null", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.fnl_context.null", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.fnl_context.null", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.fnl_context.null", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.fnl_context.null", }, @@ -12085,28 +12085,28 @@ Object { "Default": "false__null === null", "Type": "Choice", }, - "obj = {nv: null}": Object { - "Next": "return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: input", - "Result": Object { + "obj = {nv: null}": { + "Next": "return {constantStringEquals: "a" === "a", constantToVarStringEquals: input", + "Result": { "nv": null, }, "ResultPath": "$.obj", "Type": "Pass", }, - "return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: input": Object { - "Choices": Array [ - Object { + "return {constantStringEquals: "a" === "a", constantToVarStringEquals: input": { + "Choices": [ + { "IsNull": false, - "Next": "true__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals:", + "Next": "true__return {constantStringEquals: "a" === "a", constantToVarStringEquals:", "Variable": "$$.Execution.Id", }, ], - "Default": "false__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals", + "Default": "false__return {constantStringEquals: "a" === "a", constantToVarStringEquals", "Type": "Choice", }, - "true !== true": Object { - "Choices": Array [ - Object { + "true !== true": { + "Choices": [ + { "IsNull": true, "Next": "true__true !== true", "Variable": "$$.Execution.Id", @@ -12115,9 +12115,9 @@ Object { "Default": "false__true !== true", "Type": "Choice", }, - "true === true": Object { - "Choices": Array [ - Object { + "true === true": { + "Choices": [ + { "IsNull": false, "Next": "true__true === true", "Variable": "$$.Execution.Id", @@ -12126,818 +12126,818 @@ Object { "Default": "false__true === true", "Type": "Choice", }, - "true__!false": Object { - "Next": "133__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__!false": { + "Next": "133__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap132", "Type": "Pass", }, - "true__!input.a": Object { - "Next": "135__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__!input.a": { + "Next": "135__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap134", "Type": "Pass", }, - "true__!input.n": Object { - "Next": "139__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__!input.n": { + "Next": "139__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap138", "Type": "Pass", }, - "true__!input.nv": Object { - "Next": "137__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__!input.nv": { + "Next": "137__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap136", "Type": "Pass", }, - "true__!input.obj": Object { - "Next": "143__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__!input.obj": { + "Next": "143__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap142", "Type": "Pass", }, - "true__!input.x": Object { - "Next": "141__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__!input.x": { + "Next": "141__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap140", "Type": "Pass", }, - "true__\\"a\\" !== \\"a\\"": Object { - "Next": "9__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in", + "true__"a" !== "a"": { + "Next": "9__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in", "Result": true, "ResultPath": "$.heap8", "Type": "Pass", }, - "true__\\"a\\" < \\"a\\"": Object { - "Next": "17__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__"a" < "a"": { + "Next": "17__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap16", "Type": "Pass", }, - "true__\\"a\\" <= \\"a\\"": Object { - "Next": "25__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__"a" <= "a"": { + "Next": "25__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap24", "Type": "Pass", }, - "true__\\"a\\" > \\"a\\"": Object { - "Next": "33__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__"a" > "a"": { + "Next": "33__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap32", "Type": "Pass", }, - "true__\\"a\\" >= \\"a\\"": Object { - "Next": "41__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__"a" >= "a"": { + "Next": "41__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap40", "Type": "Pass", }, - "true__\\"a\\" in input.obj": Object { - "Next": "129__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__"a" in input.obj": { + "Next": "129__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap128", "Type": "Pass", }, - "true__\\"b\\" in input.obj": Object { - "Next": "131__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__"b" in input.obj": { + "Next": "131__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap130", "Type": "Pass", }, - "true__\\"val2\\" !== input.v": Object { - "Next": "13__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__"val2" !== input.v": { + "Next": "13__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap12", "Type": "Pass", }, - "true__\\"val2\\" < input.v": Object { - "Next": "21__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__"val2" < input.v": { + "Next": "21__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap20", "Type": "Pass", }, - "true__\\"val2\\" <= input.v": Object { - "Next": "29__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__"val2" <= input.v": { + "Next": "29__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap28", "Type": "Pass", }, - "true__\\"val2\\" === input.v": Object { - "Next": "5__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in", + "true__"val2" === input.v": { + "Next": "5__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in", "Result": true, "ResultPath": "$.heap4", "Type": "Pass", }, - "true__\\"val2\\" > input.v": Object { - "Next": "37__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__"val2" > input.v": { + "Next": "37__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap36", "Type": "Pass", }, - "true__\\"val2\\" >= input.v": Object { - "Next": "45__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__"val2" >= input.v": { + "Next": "45__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap44", "Type": "Pass", }, - "true__1 !== 1": Object { - "Next": "57__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__1 !== 1": { + "Next": "57__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap56", "Type": "Pass", }, - "true__1 < 1": Object { - "Next": "65__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__1 < 1": { + "Next": "65__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap64", "Type": "Pass", }, - "true__1 <= 1": Object { - "Next": "73__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__1 <= 1": { + "Next": "73__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap72", "Type": "Pass", }, - "true__1 === 1": Object { - "Next": "49__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__1 === 1": { + "Next": "49__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap48", "Type": "Pass", }, - "true__1 > 1": Object { - "Next": "81__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__1 > 1": { + "Next": "81__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap80", "Type": "Pass", }, - "true__1 >= 1": Object { - "Next": "89__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__1 >= 1": { + "Next": "89__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap88", "Type": "Pass", }, - "true__3 !== input.n": Object { - "Next": "61__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__3 !== input.n": { + "Next": "61__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap60", "Type": "Pass", }, - "true__3 < input.n": Object { - "Next": "69__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__3 < input.n": { + "Next": "69__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap68", "Type": "Pass", }, - "true__3 <= input.n": Object { - "Next": "77__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__3 <= input.n": { + "Next": "77__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap76", "Type": "Pass", }, - "true__3 === input.n": Object { - "Next": "53__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__3 === input.n": { + "Next": "53__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap52", "Type": "Pass", }, - "true__3 > input.n": Object { - "Next": "85__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__3 > input.n": { + "Next": "85__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap84", "Type": "Pass", }, - "true__3 >= input.n": Object { - "Next": "93__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__3 >= input.n": { + "Next": "93__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap92", "Type": "Pass", }, - "true__false !== input.a": Object { - "Next": "109__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__false !== input.a": { + "Next": "109__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap108", "Type": "Pass", }, - "true__false === input.a": Object { - "Next": "101__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__false === input.a": { + "Next": "101__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap100", "Type": "Pass", }, - "true__input.a !== input.a": Object { - "Next": "111__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.a !== input.a": { + "Next": "111__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap110", "Type": "Pass", }, - "true__input.a !== true": Object { - "Next": "107__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.a !== true": { + "Next": "107__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap106", "Type": "Pass", }, - "true__input.a === input.a": Object { - "Next": "103__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.a === input.a": { + "Next": "103__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap102", "Type": "Pass", }, - "true__input.a === true": Object { - "Next": "99__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.a === true": { + "Next": "99__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap98", "Type": "Pass", }, - "true__input.n !== 2": Object { - "Next": "59__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n !== 2": { + "Next": "59__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap58", "Type": "Pass", }, - "true__input.n !== input.n": Object { - "Next": "63__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n !== input.n": { + "Next": "63__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap62", "Type": "Pass", }, - "true__input.n < 3": Object { - "Next": "67__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n < 3": { + "Next": "67__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap66", "Type": "Pass", }, - "true__input.n < input.n": Object { - "Next": "71__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n < input.n": { + "Next": "71__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap70", "Type": "Pass", }, - "true__input.n <= 3": Object { - "Next": "75__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n <= 3": { + "Next": "75__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap74", "Type": "Pass", }, - "true__input.n <= input.n": Object { - "Next": "79__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n <= input.n": { + "Next": "79__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap78", "Type": "Pass", }, - "true__input.n === 2": Object { - "Next": "51__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n === 2": { + "Next": "51__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap50", "Type": "Pass", }, - "true__input.n === input.n": Object { - "Next": "55__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n === input.n": { + "Next": "55__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap54", "Type": "Pass", }, - "true__input.n > 3": Object { - "Next": "83__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n > 3": { + "Next": "83__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap82", "Type": "Pass", }, - "true__input.n > input.n": Object { - "Next": "87__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n > input.n": { + "Next": "87__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap86", "Type": "Pass", }, - "true__input.n >= 3": Object { - "Next": "91__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n >= 3": { + "Next": "91__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap90", "Type": "Pass", }, - "true__input.n >= input.n": Object { - "Next": "95__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.n >= input.n": { + "Next": "95__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap94", "Type": "Pass", }, - "true__input.nv != \\"hello\\"": Object { - "Next": "195__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv != "hello"": { + "Next": "195__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap194", "Type": "Pass", }, - "true__input.nv != 1": Object { - "Next": "211__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv != 1": { + "Next": "211__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap210", "Type": "Pass", }, - "true__input.nv != input.n": Object { - "Next": "271__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv != input.n": { + "Next": "271__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap270", "Type": "Pass", }, - "true__input.nv != input.v": Object { - "Next": "255__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv != input.v": { + "Next": "255__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap254", "Type": "Pass", }, - "true__input.nv !== \\"hello\\"": Object { - "Next": "193__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv !== "hello"": { + "Next": "193__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap192", "Type": "Pass", }, - "true__input.nv !== 1": Object { - "Next": "209__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv !== 1": { + "Next": "209__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap208", "Type": "Pass", }, - "true__input.nv !== input.n": Object { - "Next": "269__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv !== input.n": { + "Next": "269__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap268", "Type": "Pass", }, - "true__input.nv !== input.nv": Object { - "Next": "127__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv !== input.nv": { + "Next": "127__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap126", "Type": "Pass", }, - "true__input.nv !== input.v": Object { - "Next": "253__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv !== input.v": { + "Next": "253__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap252", "Type": "Pass", }, - "true__input.nv !== null": Object { - "Next": "123__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv !== null": { + "Next": "123__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap122", "Type": "Pass", }, - "true__input.nv == \\"hello\\"": Object { - "Next": "191__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv == "hello"": { + "Next": "191__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap190", "Type": "Pass", }, - "true__input.nv == 1": Object { - "Next": "207__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv == 1": { + "Next": "207__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap206", "Type": "Pass", }, - "true__input.nv == input.n": Object { - "Next": "267__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv == input.n": { + "Next": "267__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap266", "Type": "Pass", }, - "true__input.nv == input.v": Object { - "Next": "251__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv == input.v": { + "Next": "251__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap250", "Type": "Pass", }, - "true__input.nv == obj.und": Object { - "Next": "219__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv == obj.und": { + "Next": "219__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap218", "Type": "Pass", }, - "true__input.nv == obj.und 1": Object { - "Next": "223__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv == obj.und 1": { + "Next": "223__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap222", "Type": "Pass", }, - "true__input.nv == undefined": Object { - "Next": "155__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv == undefined": { + "Next": "155__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap154", "Type": "Pass", }, - "true__input.nv == undefined 1": Object { - "Next": "159__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv == undefined 1": { + "Next": "159__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap158", "Type": "Pass", }, - "true__input.nv === \\"hello\\"": Object { - "Next": "189__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === "hello"": { + "Next": "189__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap188", "Type": "Pass", }, - "true__input.nv === 1": Object { - "Next": "205__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === 1": { + "Next": "205__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap204", "Type": "Pass", }, - "true__input.nv === input.n": Object { - "Next": "265__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === input.n": { + "Next": "265__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap264", "Type": "Pass", }, - "true__input.nv === input.nv": Object { - "Next": "119__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === input.nv": { + "Next": "119__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap118", "Type": "Pass", }, - "true__input.nv === input.v": Object { - "Next": "249__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === input.v": { + "Next": "249__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap248", "Type": "Pass", }, - "true__input.nv === null": Object { - "Next": "115__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === null": { + "Next": "115__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap114", "Type": "Pass", }, - "true__input.nv === obj.und": Object { - "Next": "217__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === obj.und": { + "Next": "217__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap216", "Type": "Pass", }, - "true__input.nv === obj.und 1": Object { - "Next": "221__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === obj.und 1": { + "Next": "221__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap220", "Type": "Pass", }, - "true__input.nv === undefined": Object { - "Next": "153__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === undefined": { + "Next": "153__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap152", "Type": "Pass", }, - "true__input.nv === undefined 1": Object { - "Next": "157__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.nv === undefined 1": { + "Next": "157__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap156", "Type": "Pass", }, - "true__input.und != \\"hello\\"": Object { - "Next": "187__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und != "hello"": { + "Next": "187__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap186", "Type": "Pass", }, - "true__input.und != input.v": Object { - "Next": "247__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und != input.v": { + "Next": "247__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap246", "Type": "Pass", }, - "true__input.und != null": Object { - "Next": "179__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und != null": { + "Next": "179__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap178", "Type": "Pass", }, - "true__input.und != obj.nv": Object { - "Next": "239__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und != obj.nv": { + "Next": "239__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap238", "Type": "Pass", }, - "true__input.und != obj.und": Object { - "Next": "231__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und != obj.und": { + "Next": "231__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap230", "Type": "Pass", }, - "true__input.und != undefined": Object { - "Next": "167__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und != undefined": { + "Next": "167__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap166", "Type": "Pass", }, - "true__input.und !== \\"hello\\"": Object { - "Next": "185__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und !== "hello"": { + "Next": "185__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap184", "Type": "Pass", }, - "true__input.und !== input.v": Object { - "Next": "245__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und !== input.v": { + "Next": "245__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap244", "Type": "Pass", }, - "true__input.und !== null": Object { - "Next": "177__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und !== null": { + "Next": "177__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap176", "Type": "Pass", }, - "true__input.und !== obj.nv": Object { - "Next": "237__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und !== obj.nv": { + "Next": "237__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap236", "Type": "Pass", }, - "true__input.und !== obj.und": Object { - "Next": "229__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und !== obj.und": { + "Next": "229__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap228", "Type": "Pass", }, - "true__input.und !== undefined": Object { - "Next": "165__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und !== undefined": { + "Next": "165__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap164", "Type": "Pass", }, - "true__input.und == \\"hello\\"": Object { - "Next": "183__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und == "hello"": { + "Next": "183__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap182", "Type": "Pass", }, - "true__input.und == input.v": Object { - "Next": "243__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und == input.v": { + "Next": "243__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap242", "Type": "Pass", }, - "true__input.und == null": Object { - "Next": "175__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und == null": { + "Next": "175__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap174", "Type": "Pass", }, - "true__input.und == obj.nv": Object { - "Next": "235__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und == obj.nv": { + "Next": "235__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap234", "Type": "Pass", }, - "true__input.und == obj.und": Object { - "Next": "227__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und == obj.und": { + "Next": "227__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap226", "Type": "Pass", }, - "true__input.und == undefined": Object { - "Next": "163__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und == undefined": { + "Next": "163__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap162", "Type": "Pass", }, - "true__input.und === \\"hello\\"": Object { - "Next": "181__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und === "hello"": { + "Next": "181__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap180", "Type": "Pass", }, - "true__input.und === input.v": Object { - "Next": "241__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und === input.v": { + "Next": "241__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap240", "Type": "Pass", }, - "true__input.und === null": Object { - "Next": "173__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und === null": { + "Next": "173__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap172", "Type": "Pass", }, - "true__input.und === obj.nv": Object { - "Next": "233__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und === obj.nv": { + "Next": "233__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap232", "Type": "Pass", }, - "true__input.und === obj.und": Object { - "Next": "225__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und === obj.und": { + "Next": "225__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap224", "Type": "Pass", }, - "true__input.und === undefined": Object { - "Next": "161__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.und === undefined": { + "Next": "161__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap160", "Type": "Pass", }, - "true__input.undN != 1": Object { - "Next": "203__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.undN != 1": { + "Next": "203__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap202", "Type": "Pass", }, - "true__input.undN != input.n": Object { - "Next": "263__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.undN != input.n": { + "Next": "263__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap262", "Type": "Pass", }, - "true__input.undN !== 1": Object { - "Next": "201__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.undN !== 1": { + "Next": "201__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap200", "Type": "Pass", }, - "true__input.undN !== input.n": Object { - "Next": "261__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.undN !== input.n": { + "Next": "261__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap260", "Type": "Pass", }, - "true__input.undN == 1": Object { - "Next": "199__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.undN == 1": { + "Next": "199__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap198", "Type": "Pass", }, - "true__input.undN == input.n": Object { - "Next": "259__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.undN == input.n": { + "Next": "259__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap258", "Type": "Pass", }, - "true__input.undN === 1": Object { - "Next": "197__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.undN === 1": { + "Next": "197__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap196", "Type": "Pass", }, - "true__input.undN === input.n": Object { - "Next": "257__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.undN === input.n": { + "Next": "257__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap256", "Type": "Pass", }, - "true__input.v != obj.und": Object { - "Next": "215__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v != obj.und": { + "Next": "215__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap214", "Type": "Pass", }, - "true__input.v != undefined": Object { - "Next": "151__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v != undefined": { + "Next": "151__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap150", "Type": "Pass", }, - "true__input.v !== \\"val\\"": Object { - "Next": "11__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v !== "val"": { + "Next": "11__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap10", "Type": "Pass", }, - "true__input.v !== input.nv": Object { - "Next": "125__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v !== input.nv": { + "Next": "125__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap124", "Type": "Pass", }, - "true__input.v !== input.v": Object { - "Next": "15__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v !== input.v": { + "Next": "15__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap14", "Type": "Pass", }, - "true__input.v !== obj.und": Object { - "Next": "213__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v !== obj.und": { + "Next": "213__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap212", "Type": "Pass", }, - "true__input.v !== undefined": Object { - "Next": "149__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v !== undefined": { + "Next": "149__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap148", "Type": "Pass", }, - "true__input.v < \\"val2\\"": Object { - "Next": "19__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v < "val2"": { + "Next": "19__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap18", "Type": "Pass", }, - "true__input.v < input.v": Object { - "Next": "23__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v < input.v": { + "Next": "23__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap22", "Type": "Pass", }, - "true__input.v <= \\"val2\\"": Object { - "Next": "27__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v <= "val2"": { + "Next": "27__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap26", "Type": "Pass", }, - "true__input.v <= input.v": Object { - "Next": "31__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v <= input.v": { + "Next": "31__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap30", "Type": "Pass", }, - "true__input.v == undefined": Object { - "Next": "147__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v == undefined": { + "Next": "147__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap146", "Type": "Pass", }, - "true__input.v == undefined 1": Object { - "Next": "171__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v == undefined 1": { + "Next": "171__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap170", "Type": "Pass", }, - "true__input.v === \\"val\\"": Object { - "Next": "3__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in", + "true__input.v === "val"": { + "Next": "3__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in", "Result": true, "ResultPath": "$.heap2", "Type": "Pass", }, - "true__input.v === input.nv": Object { - "Next": "117__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v === input.nv": { + "Next": "117__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap116", "Type": "Pass", }, - "true__input.v === input.v": Object { - "Next": "7__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in", + "true__input.v === input.v": { + "Next": "7__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in", "Result": true, "ResultPath": "$.heap6", "Type": "Pass", }, - "true__input.v === undefined": Object { - "Next": "145__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v === undefined": { + "Next": "145__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap144", "Type": "Pass", }, - "true__input.v === undefined 1": Object { - "Next": "169__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__input.v === undefined 1": { + "Next": "169__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap168", "Type": "Pass", }, - "true__input.v > \\"val2\\"": Object { - "Next": "35__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v > "val2"": { + "Next": "35__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap34", "Type": "Pass", }, - "true__input.v > input.v": Object { - "Next": "39__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v > input.v": { + "Next": "39__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap38", "Type": "Pass", }, - "true__input.v >= \\"val2\\"": Object { - "Next": "43__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v >= "val2"": { + "Next": "43__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap42", "Type": "Pass", }, - "true__input.v >= input.v": Object { - "Next": "47__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__input.v >= input.v": { + "Next": "47__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap46", "Type": "Pass", }, - "true__null !== null": Object { - "Next": "121__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__null !== null": { + "Next": "121__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap120", "Type": "Pass", }, - "true__null === null": Object { - "Next": "113__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__null === null": { + "Next": "113__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap112", "Type": "Pass", }, - "true__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals:": Object { - "Next": "1__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: in 1", + "true__return {constantStringEquals: "a" === "a", constantToVarStringEquals:": { + "Next": "1__return {constantStringEquals: "a" === "a", constantToVarStringEquals: in 1", "Result": true, "ResultPath": "$.heap0", "Type": "Pass", }, - "true__true !== true": Object { - "Next": "105__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: ", + "true__true !== true": { + "Next": "105__return {constantStringEquals: "a" === "a", constantToVarStringEquals: ", "Result": true, "ResultPath": "$.heap104", "Type": "Pass", }, - "true__true === true": Object { - "Next": "97__return {constantStringEquals: \\"a\\" === \\"a\\", constantToVarStringEquals: i", + "true__true === true": { + "Next": "97__return {constantStringEquals: "a" === "a", constantToVarStringEquals: i", "Result": true, "ResultPath": "$.heap96", "Type": "Pass", @@ -12947,71 +12947,71 @@ Object { `; exports[`binaryOps logic 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "10__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "States": { + "10__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.heap32", "Next": "null ?? input.v", "ResultPath": "$.heap33", "Type": "Pass", }, - "12__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "12__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.heap34", "Next": "input.b || input.z || x = 3x , true || x = 4x , false", "ResultPath": "$.heap35", "Type": "Pass", }, - "14__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "14__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.heap43", "Next": "input.b || x = 5x , false", "ResultPath": "$.heap44", "Type": "Pass", }, - "16__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "16__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.heap48", "Next": "input.z && x = 6x , true", "ResultPath": "$.heap49", "Type": "Pass", }, - "18__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "18__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.heap52", "Next": "input.a && input.v && x = 7x , true", "ResultPath": "$.heap53", "Type": "Pass", }, - "1__if(y = 1y && y = 2y , false && y = 3y)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "1__if(y = 1y && y = 2y , false && y = 3y)": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap8", }, - Object { + { "IsNull": false, "Variable": "$.heap8", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap8", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap8", }, - Object { + { "StringEquals": "", "Variable": "$.heap8", }, @@ -13020,20 +13020,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap8", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap8", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap8", }, @@ -13042,30 +13042,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap8", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap8", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap8", }, - Object { + { "IsNumeric": true, "Variable": "$.heap8", }, - Object { + { "IsString": true, "Variable": "$.heap8", }, @@ -13081,9 +13081,9 @@ Object { "Default": "if(y = 5y , false || y = 6y , true || y = 7y)", "Type": "Choice", }, - "1__if(y = 5y , false || y = 6y , true || y = 7y)": Object { - "Choices": Array [ - Object { + "1__if(y = 5y , false || y = 6y , true || y = 7y)": { + "Choices": [ + { "IsNull": false, "Next": "y = 8y", "Variable": "$$.Execution.Id", @@ -13092,9 +13092,9 @@ Object { "Default": "return {andVar: c, and: input.a && input.b, or: input.a || input.b, invNull", "Type": "Choice", }, - "1__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": Object { + "1__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": { "End": true, - "Parameters": Object { + "Parameters": { "and.$": "$.heap21", "andVar.$": "$.heap19", "falsyAndAssign.$": "$.heap65", @@ -13118,254 +13118,254 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__x = 1x": Object { + "1__x = 1x": { "InputPath": "$.input.v", "Next": "6__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN", "ResultPath": "$.heap26", "Type": "Pass", }, - "1__x = 2x": Object { + "1__x = 2x": { "InputPath": "$.input.nv", "Next": "8__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN", "ResultPath": "$.heap30", "Type": "Pass", }, - "1__x = 3x": Object { + "1__x = 3x": { "Next": "input.b || input.z || x = 3x , true || x = 4x , false 1", "Result": true, "ResultPath": "$.heap39", "Type": "Pass", }, - "1__x = 4x": Object { + "1__x = 4x": { "Next": "input.b || input.z || x = 3x , true || x = 4x , false || input.v", "Result": false, "ResultPath": "$.heap42", "Type": "Pass", }, - "1__x = 5x": Object { + "1__x = 5x": { "Next": "input.b || x = 5x , false || input.arr", "Result": false, "ResultPath": "$.heap47", "Type": "Pass", }, - "1__x = 6x": Object { + "1__x = 6x": { "Next": "18__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "Result": true, "ResultPath": "$.heap52", "Type": "Pass", }, - "1__x = 7x": Object { + "1__x = 7x": { "Next": "input.a && input.v && x = 7x , true && input.v", "Result": true, "ResultPath": "$.heap57", "Type": "Pass", }, - "1__y = 2y": Object { + "1__y = 2y": { "Next": "y = 1y && y = 2y , false && y = 3y", "Result": false, "ResultPath": "$.heap5", "Type": "Pass", }, - "1__y = 3y": Object { + "1__y = 3y": { "InputPath": "$.heap7.string", "Next": "1__if(y = 1y && y = 2y , false && y = 3y)", "ResultPath": "$.heap8", "Type": "Pass", }, - "1x": Object { + "1x": { "Next": "x = 1x 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}1',$.heap24)", }, "ResultPath": "$.heap25", "Type": "Pass", }, - "1y": Object { + "1y": { "Next": "y = 1y", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}1',$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "20__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "20__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.heap58", "Next": "21__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap59", "Type": "Pass", }, - "21__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "21__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.x", "Next": "22__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap60", "Type": "Pass", }, - "22__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "22__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.y", "Next": "23__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap61", "Type": "Pass", }, - "23__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "23__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.notNullishCoalAssign", "Next": "24__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap62", "Type": "Pass", }, - "24__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "24__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.nullishCoalAssign", "Next": "25__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap63", "Type": "Pass", }, - "25__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "25__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.truthyAndAssign", "Next": "26__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap64", "Type": "Pass", }, - "26__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "26__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.falsyAndAssign", "Next": "27__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap65", "Type": "Pass", }, - "27__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "27__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.truthyOrAssign", "Next": "28__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap66", "Type": "Pass", }, - "28__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": Object { + "28__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv": { "InputPath": "$.falsyOrAssign", "Next": "1__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN", "ResultPath": "$.heap67", "Type": "Pass", }, - "2__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": Object { + "2__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": { "InputPath": "$.heap20", "Next": "input.a || input.b", "ResultPath": "$.heap21", "Type": "Pass", }, - "2x": Object { + "2x": { "Next": "x = 2x 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}2',$.heap28)", }, "ResultPath": "$.heap29", "Type": "Pass", }, - "2y": Object { + "2y": { "Next": "y = 2y 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}2',$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "3x": Object { + "3x": { "Next": "x = 3x 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}3',$.heap37)", }, "ResultPath": "$.heap38", "Type": "Pass", }, - "3y": Object { + "3y": { "Next": "y = 3y 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}3',$.heap6)", }, "ResultPath": "$.heap7", "Type": "Pass", }, - "4__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": Object { + "4__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": { "InputPath": "$.heap22", "Next": "input.nv ?? x = 1x , input.v", "ResultPath": "$.heap23", "Type": "Pass", }, - "4x": Object { + "4x": { "Next": "x = 4x 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}4',$.heap40)", }, "ResultPath": "$.heap41", "Type": "Pass", }, - "4y": Object { + "4y": { "Next": "y = 4y 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}4',$.heap9)", }, "ResultPath": "$.heap10", "Type": "Pass", }, - "5x": Object { + "5x": { "Next": "x = 5x 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}5',$.heap45)", }, "ResultPath": "$.heap46", "Type": "Pass", }, - "5y": Object { + "5y": { "Next": "y = 5y", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}5',$.heap11)", }, "ResultPath": "$.heap12", "Type": "Pass", }, - "6__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": Object { + "6__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": { "InputPath": "$.heap26", "Next": "input.v ?? x = 2x , input.nv", "ResultPath": "$.heap27", "Type": "Pass", }, - "6x": Object { + "6x": { "Next": "x = 6x 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}6',$.heap50)", }, "ResultPath": "$.heap51", "Type": "Pass", }, - "6y": Object { + "6y": { "Next": "y = 6y 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}6',$.heap13)", }, "ResultPath": "$.heap14", "Type": "Pass", }, - "7x": Object { + "7x": { "Next": "x = 7x 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}7',$.heap55)", }, "ResultPath": "$.heap56", "Type": "Pass", }, - "8__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": Object { + "8__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN": { "InputPath": "$.heap30", "Next": "input.nv ?? null", "ResultPath": "$.heap31", "Type": "Pass", }, - "8y": Object { + "8y": { "Next": "y = 8y 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}8',$.heap17)", }, "ResultPath": "$.heap18", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "c = input.a && input.b", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -13373,46 +13373,46 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "c": Object { + "c": { "InputPath": "$.heap0", - "Next": "x = \\"\\"", + "Next": "x = """, "ResultPath": "$.c", "Type": "Pass", }, - "c = input.a && input.b": Object { - "Choices": Array [ - Object { + "c = input.a && input.b": { + "Choices": [ + { "Next": "true__c = input.a && input.b", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -13421,20 +13421,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -13443,30 +13443,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -13482,137 +13482,137 @@ Object { "Default": "false__c = input.a && input.b", "Type": "Choice", }, - "false__c = input.a && input.b": Object { + "false__c = input.a && input.b": { "InputPath": "$.input.b", "Next": "c", "ResultPath": "$.heap0", "Type": "Pass", }, - "false__falsyAndAssign &&= \\"b\\"": Object { - "Next": "truthyOrAssign ||= \\"b\\"", + "false__falsyAndAssign &&= "b"": { + "Next": "truthyOrAssign ||= "b"", "Result": "b", "ResultPath": "$.falsyAndAssign", "Type": "Pass", }, - "false__falsyOrAssign ||= \\"b\\"": Object { - "Next": "y = \\"\\"", + "false__falsyOrAssign ||= "b"": { + "Next": "y = """, "Result": "b", "ResultPath": "$.falsyOrAssign", "Type": "Pass", }, - "false__input.a && input.b": Object { + "false__input.a && input.b": { "InputPath": "$.input.b", "Next": "2__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN", "ResultPath": "$.heap20", "Type": "Pass", }, - "false__input.a && input.v && x = 7x , true": Object { + "false__input.a && input.v && x = 7x , true": { "InputPath": "$.input.v", "Next": "input.a && input.v && x = 7x , true 1", "ResultPath": "$.heap54", "Type": "Pass", }, - "false__input.a && input.v && x = 7x , true && input.v": Object { + "false__input.a && input.v && x = 7x , true && input.v": { "InputPath": "$.input.v", "Next": "20__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap58", "Type": "Pass", }, - "false__input.a || input.b": Object { + "false__input.a || input.b": { "InputPath": "$.input.b", "Next": "4__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN", "ResultPath": "$.heap22", "Type": "Pass", }, - "false__input.b || input.z || x = 3x , true || x = 4x , false": Object { + "false__input.b || input.z || x = 3x , true || x = 4x , false": { "InputPath": "$.input.z", "Next": "input.b || input.z || x = 3x , true", "ResultPath": "$.heap36", "Type": "Pass", }, - "false__input.b || input.z || x = 3x , true || x = 4x , false || input.v": Object { + "false__input.b || input.z || x = 3x , true || x = 4x , false || input.v": { "InputPath": "$.input.v", "Next": "14__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap43", "Type": "Pass", }, - "false__input.b || x = 5x , false || input.arr": Object { + "false__input.b || x = 5x , false || input.arr": { "InputPath": "$.input.arr", "Next": "16__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap48", "Type": "Pass", }, - "false__input.nv ?? null": Object { + "false__input.nv ?? null": { "InputPath": "$.fnl_context.null", "Next": "10__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap32", "Type": "Pass", }, - "false__notNullishCoalAssign ??= \\"b\\"": Object { - "Next": "nullishCoalAssign ??= \\"b\\"", + "false__notNullishCoalAssign ??= "b"": { + "Next": "nullishCoalAssign ??= "b"", "Result": "b", "ResultPath": "$.notNullishCoalAssign", "Type": "Pass", }, - "false__null ?? input.v": Object { + "false__null ?? input.v": { "InputPath": "$.input.v", "Next": "12__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap34", "Type": "Pass", }, - "false__nullishCoalAssign ??= \\"b\\"": Object { - "Next": "truthyAndAssign &&= \\"b\\"", + "false__nullishCoalAssign ??= "b"": { + "Next": "truthyAndAssign &&= "b"", "Result": "b", "ResultPath": "$.nullishCoalAssign", "Type": "Pass", }, - "false__truthyAndAssign &&= \\"b\\"": Object { - "Next": "falsyAndAssign &&= \\"b\\"", + "false__truthyAndAssign &&= "b"": { + "Next": "falsyAndAssign &&= "b"", "Result": "b", "ResultPath": "$.truthyAndAssign", "Type": "Pass", }, - "false__truthyOrAssign ||= \\"b\\"": Object { - "Next": "falsyOrAssign ||= \\"b\\"", + "false__truthyOrAssign ||= "b"": { + "Next": "falsyOrAssign ||= "b"", "Result": "b", "ResultPath": "$.truthyOrAssign", "Type": "Pass", }, - "falsyAndAssign &&= \\"b\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "falsyAndAssign &&= "b"": { + "Choices": [ + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -13621,20 +13621,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -13643,30 +13643,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -13678,38 +13678,38 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -13718,20 +13718,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -13740,30 +13740,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -13774,36 +13774,36 @@ Object { }, ], }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyOrAssign", }, @@ -13812,20 +13812,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyOrAssign", }, @@ -13834,30 +13834,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyOrAssign", }, @@ -13871,41 +13871,41 @@ Object { ], }, ], - "Next": "y = \\"\\"", - }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Next": "y = """, + }, + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -13914,20 +13914,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -13936,30 +13936,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -13971,36 +13971,36 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -14009,20 +14009,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -14031,30 +14031,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -14066,40 +14066,40 @@ Object { ], }, ], - "Next": "false__falsyOrAssign ||= \\"b\\"", - }, - Object { - "Next": "false__truthyOrAssign ||= \\"b\\"", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Next": "false__falsyOrAssign ||= "b"", + }, + { + "Next": "false__truthyOrAssign ||= "b"", + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -14108,20 +14108,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -14130,30 +14130,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -14166,53 +14166,53 @@ Object { }, }, ], - "Default": "false__falsyAndAssign &&= \\"b\\"", + "Default": "false__falsyAndAssign &&= "b"", "Type": "Choice", }, - "falsyAndAssign = \\"\\"": Object { - "Next": "truthyOrAssign = \\"a\\"", + "falsyAndAssign = """: { + "Next": "truthyOrAssign = "a"", "Result": "", "ResultPath": "$.falsyAndAssign", "Type": "Pass", }, - "falsyOrAssign = \\"\\"": Object { - "Next": "notNullishCoalAssign ??= \\"b\\"", + "falsyOrAssign = """: { + "Next": "notNullishCoalAssign ??= "b"", "Result": "", "ResultPath": "$.falsyOrAssign", "Type": "Pass", }, - "falsyOrAssign ||= \\"b\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "falsyOrAssign ||= "b"": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyOrAssign", }, @@ -14221,20 +14221,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyOrAssign", }, @@ -14243,30 +14243,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyOrAssign", }, @@ -14276,58 +14276,58 @@ Object { ], }, ], - "Next": "y = \\"\\"", + "Next": "y = """, }, ], - "Default": "false__falsyOrAssign ||= \\"b\\"", + "Default": "false__falsyOrAssign ||= "b"", "Type": "Choice", }, - "if(y = 1y && y = 2y , false && y = 3y)": Object { + "if(y = 1y && y = 2y , false && y = 3y)": { "InputPath": "$.y", "Next": "1y", "ResultPath": "$.heap1", "Type": "Pass", }, - "if(y = 5y , false || y = 6y , true || y = 7y)": Object { + "if(y = 5y , false || y = 6y , true || y = 7y)": { "InputPath": "$.y", "Next": "5y", "ResultPath": "$.heap11", "Type": "Pass", }, - "input.a && input.b": Object { - "Choices": Array [ - Object { + "input.a && input.b": { + "Choices": [ + { "Next": "true__input.a && input.b", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -14336,20 +14336,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -14358,30 +14358,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -14397,40 +14397,40 @@ Object { "Default": "false__input.a && input.b", "Type": "Choice", }, - "input.a && input.v && x = 7x , true": Object { - "Choices": Array [ - Object { + "input.a && input.v && x = 7x , true": { + "Choices": [ + { "Next": "true__input.a && input.v && x = 7x , true", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -14439,20 +14439,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -14461,30 +14461,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -14500,40 +14500,40 @@ Object { "Default": "false__input.a && input.v && x = 7x , true", "Type": "Choice", }, - "input.a && input.v && x = 7x , true && input.v": Object { - "Choices": Array [ - Object { + "input.a && input.v && x = 7x , true && input.v": { + "Choices": [ + { "Next": "true__input.a && input.v && x = 7x , true && input.v", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap57", }, - Object { + { "IsNull": false, "Variable": "$.heap57", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap57", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap57", }, - Object { + { "StringEquals": "", "Variable": "$.heap57", }, @@ -14542,20 +14542,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap57", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap57", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap57", }, @@ -14564,30 +14564,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap57", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap57", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap57", }, - Object { + { "IsNumeric": true, "Variable": "$.heap57", }, - Object { + { "IsString": true, "Variable": "$.heap57", }, @@ -14603,40 +14603,40 @@ Object { "Default": "false__input.a && input.v && x = 7x , true && input.v", "Type": "Choice", }, - "input.a && input.v && x = 7x , true 1": Object { - "Choices": Array [ - Object { + "input.a && input.v && x = 7x , true 1": { + "Choices": [ + { "Next": "true__input.a && input.v && x = 7x , true 1", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap54", }, - Object { + { "IsNull": false, "Variable": "$.heap54", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap54", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap54", }, - Object { + { "StringEquals": "", "Variable": "$.heap54", }, @@ -14645,20 +14645,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap54", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap54", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap54", }, @@ -14667,30 +14667,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap54", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap54", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap54", }, - Object { + { "IsNumeric": true, "Variable": "$.heap54", }, - Object { + { "IsString": true, "Variable": "$.heap54", }, @@ -14706,38 +14706,38 @@ Object { "Default": "x = 7x", "Type": "Choice", }, - "input.a || input.b": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.a || input.b": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -14746,20 +14746,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -14768,30 +14768,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -14807,38 +14807,38 @@ Object { "Default": "false__input.a || input.b", "Type": "Choice", }, - "input.b || input.z || x = 3x , true": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.b || input.z || x = 3x , true": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap36", }, - Object { + { "IsNull": false, "Variable": "$.heap36", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap36", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap36", }, - Object { + { "StringEquals": "", "Variable": "$.heap36", }, @@ -14847,20 +14847,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap36", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap36", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap36", }, @@ -14869,30 +14869,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap36", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap36", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap36", }, - Object { + { "IsNumeric": true, "Variable": "$.heap36", }, - Object { + { "IsString": true, "Variable": "$.heap36", }, @@ -14908,38 +14908,38 @@ Object { "Default": "x = 3x", "Type": "Choice", }, - "input.b || input.z || x = 3x , true || x = 4x , false": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.b || input.z || x = 3x , true || x = 4x , false": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.b", }, - Object { + { "IsNull": false, "Variable": "$.input.b", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { + { "StringEquals": "", "Variable": "$.input.b", }, @@ -14948,20 +14948,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.b", }, @@ -14970,30 +14970,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.b", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "IsString": true, "Variable": "$.input.b", }, @@ -15009,38 +15009,38 @@ Object { "Default": "false__input.b || input.z || x = 3x , true || x = 4x , false", "Type": "Choice", }, - "input.b || input.z || x = 3x , true || x = 4x , false 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.b || input.z || x = 3x , true || x = 4x , false 1": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap39", }, - Object { + { "IsNull": false, "Variable": "$.heap39", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap39", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap39", }, - Object { + { "StringEquals": "", "Variable": "$.heap39", }, @@ -15049,20 +15049,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap39", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap39", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap39", }, @@ -15071,30 +15071,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap39", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap39", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap39", }, - Object { + { "IsNumeric": true, "Variable": "$.heap39", }, - Object { + { "IsString": true, "Variable": "$.heap39", }, @@ -15110,38 +15110,38 @@ Object { "Default": "x = 4x", "Type": "Choice", }, - "input.b || input.z || x = 3x , true || x = 4x , false || input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.b || input.z || x = 3x , true || x = 4x , false || input.v": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap42", }, - Object { + { "IsNull": false, "Variable": "$.heap42", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap42", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap42", }, - Object { + { "StringEquals": "", "Variable": "$.heap42", }, @@ -15150,20 +15150,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap42", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap42", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap42", }, @@ -15172,30 +15172,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap42", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap42", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap42", }, - Object { + { "IsNumeric": true, "Variable": "$.heap42", }, - Object { + { "IsString": true, "Variable": "$.heap42", }, @@ -15211,38 +15211,38 @@ Object { "Default": "false__input.b || input.z || x = 3x , true || x = 4x , false || input.v", "Type": "Choice", }, - "input.b || x = 5x , false": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.b || x = 5x , false": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.b", }, - Object { + { "IsNull": false, "Variable": "$.input.b", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { + { "StringEquals": "", "Variable": "$.input.b", }, @@ -15251,20 +15251,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.b", }, @@ -15273,30 +15273,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.b", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "IsString": true, "Variable": "$.input.b", }, @@ -15312,38 +15312,38 @@ Object { "Default": "x = 5x", "Type": "Choice", }, - "input.b || x = 5x , false || input.arr": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.b || x = 5x , false || input.arr": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap47", }, - Object { + { "IsNull": false, "Variable": "$.heap47", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap47", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap47", }, - Object { + { "StringEquals": "", "Variable": "$.heap47", }, @@ -15352,20 +15352,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap47", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap47", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap47", }, @@ -15374,30 +15374,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap47", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap47", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap47", }, - Object { + { "IsNumeric": true, "Variable": "$.heap47", }, - Object { + { "IsString": true, "Variable": "$.heap47", }, @@ -15413,15 +15413,15 @@ Object { "Default": "false__input.b || x = 5x , false || input.arr", "Type": "Choice", }, - "input.nv ?? null": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.nv ?? null": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.nv", }, @@ -15432,15 +15432,15 @@ Object { "Default": "false__input.nv ?? null", "Type": "Choice", }, - "input.nv ?? x = 1x , input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.nv ?? x = 1x , input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.nv", }, - Object { + { "IsNull": false, "Variable": "$.input.nv", }, @@ -15451,15 +15451,15 @@ Object { "Default": "x = 1x", "Type": "Choice", }, - "input.v ?? x = 2x , input.nv": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.v ?? x = 2x , input.nv": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.v", }, - Object { + { "IsNull": false, "Variable": "$.input.v", }, @@ -15470,40 +15470,40 @@ Object { "Default": "x = 2x", "Type": "Choice", }, - "input.z && x = 6x , true": Object { - "Choices": Array [ - Object { + "input.z && x = 6x , true": { + "Choices": [ + { "Next": "true__input.z && x = 6x , true", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.z", }, - Object { + { "IsNull": false, "Variable": "$.input.z", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.z", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.z", }, - Object { + { "StringEquals": "", "Variable": "$.input.z", }, @@ -15512,20 +15512,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.z", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.z", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.z", }, @@ -15534,30 +15534,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.z", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.z", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.z", }, - Object { + { "IsNumeric": true, "Variable": "$.input.z", }, - Object { + { "IsString": true, "Variable": "$.input.z", }, @@ -15573,75 +15573,75 @@ Object { "Default": "x = 6x", "Type": "Choice", }, - "notNullishCoalAssign = \\"a\\"": Object { + "notNullishCoalAssign = "a"": { "Next": "nullishCoalAssign = null", "Result": "a", "ResultPath": "$.notNullishCoalAssign", "Type": "Pass", }, - "notNullishCoalAssign ??= \\"b\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "notNullishCoalAssign ??= "b"": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.notNullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.notNullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -15650,20 +15650,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -15672,30 +15672,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -15707,39 +15707,39 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -15748,20 +15748,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -15770,30 +15770,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -15805,38 +15805,38 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -15845,20 +15845,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -15867,30 +15867,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -15901,36 +15901,36 @@ Object { }, ], }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyOrAssign", }, @@ -15939,20 +15939,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyOrAssign", }, @@ -15961,30 +15961,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyOrAssign", }, @@ -16004,69 +16004,69 @@ Object { ], }, ], - "Next": "y = \\"\\"", + "Next": "y = """, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.notNullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.notNullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -16075,20 +16075,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -16097,30 +16097,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -16132,39 +16132,39 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -16173,20 +16173,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -16195,30 +16195,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -16230,36 +16230,36 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -16268,20 +16268,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -16290,30 +16290,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -16331,69 +16331,69 @@ Object { ], }, ], - "Next": "false__falsyOrAssign ||= \\"b\\"", + "Next": "false__falsyOrAssign ||= "b"", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.notNullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.notNullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -16402,20 +16402,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -16424,30 +16424,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -16459,37 +16459,37 @@ Object { ], }, }, - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -16498,20 +16498,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -16520,30 +16520,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -16560,67 +16560,67 @@ Object { ], }, ], - "Next": "false__truthyOrAssign ||= \\"b\\"", + "Next": "false__truthyOrAssign ||= "b"", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.notNullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.notNullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], }, - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -16629,20 +16629,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -16651,30 +16651,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -16689,63 +16689,63 @@ Object { ], }, ], - "Next": "false__falsyAndAssign &&= \\"b\\"", + "Next": "false__falsyAndAssign &&= "b"", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.notNullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.notNullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], }, ], - "Next": "false__truthyAndAssign &&= \\"b\\"", + "Next": "false__truthyAndAssign &&= "b"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.notNullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.notNullishCoalAssign", }, ], - "Next": "false__nullishCoalAssign ??= \\"b\\"", + "Next": "false__nullishCoalAssign ??= "b"", }, ], - "Default": "false__notNullishCoalAssign ??= \\"b\\"", + "Default": "false__notNullishCoalAssign ??= "b"", "Type": "Choice", }, - "null ?? input.v": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "null ?? input.v": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, @@ -16756,61 +16756,61 @@ Object { "Default": "false__null ?? input.v", "Type": "Choice", }, - "nullishCoalAssign = null": Object { + "nullishCoalAssign = null": { "InputPath": "$.fnl_context.null", - "Next": "truthyAndAssign = \\"a\\"", + "Next": "truthyAndAssign = "a"", "ResultPath": "$.nullishCoalAssign", "Type": "Pass", }, - "nullishCoalAssign ??= \\"b\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "nullishCoalAssign ??= "b"": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -16819,20 +16819,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -16841,30 +16841,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -16876,39 +16876,39 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -16917,20 +16917,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -16939,30 +16939,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -16974,38 +16974,38 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -17014,20 +17014,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -17036,30 +17036,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -17070,36 +17070,36 @@ Object { }, ], }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyOrAssign", }, @@ -17108,20 +17108,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyOrAssign", }, @@ -17130,30 +17130,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyOrAssign", }, @@ -17171,55 +17171,55 @@ Object { ], }, ], - "Next": "y = \\"\\"", + "Next": "y = """, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -17228,20 +17228,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -17250,30 +17250,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -17285,39 +17285,39 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -17326,20 +17326,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -17348,30 +17348,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -17383,36 +17383,36 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -17421,20 +17421,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -17443,30 +17443,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -17482,55 +17482,55 @@ Object { ], }, ], - "Next": "false__falsyOrAssign ||= \\"b\\"", + "Next": "false__falsyOrAssign ||= "b"", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -17539,20 +17539,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -17561,30 +17561,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -17596,37 +17596,37 @@ Object { ], }, }, - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -17635,20 +17635,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -17657,30 +17657,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -17695,53 +17695,53 @@ Object { ], }, ], - "Next": "false__truthyOrAssign ||= \\"b\\"", + "Next": "false__truthyOrAssign ||= "b"", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], }, - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -17750,20 +17750,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -17772,30 +17772,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -17808,180 +17808,180 @@ Object { }, }, ], - "Next": "false__falsyAndAssign &&= \\"b\\"", + "Next": "false__falsyAndAssign &&= "b"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.nullishCoalAssign", }, - Object { + { "IsNull": false, "Variable": "$.nullishCoalAssign", }, ], - "Next": "false__truthyAndAssign &&= \\"b\\"", + "Next": "false__truthyAndAssign &&= "b"", }, ], - "Default": "false__nullishCoalAssign ??= \\"b\\"", + "Default": "false__nullishCoalAssign ??= "b"", "Type": "Choice", }, - "return {andVar: c, and: input.a && input.b, or: input.a || input.b, invNull": Object { + "return {andVar: c, and: input.a && input.b, or: input.a || input.b, invNull": { "InputPath": "$.c", "Next": "input.a && input.b", "ResultPath": "$.heap19", "Type": "Pass", }, - "true__c = input.a && input.b": Object { + "true__c = input.a && input.b": { "InputPath": "$.input.a", "Next": "c", "ResultPath": "$.heap0", "Type": "Pass", }, - "true__input.a && input.b": Object { + "true__input.a && input.b": { "InputPath": "$.input.a", "Next": "2__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN", "ResultPath": "$.heap20", "Type": "Pass", }, - "true__input.a && input.v && x = 7x , true": Object { + "true__input.a && input.v && x = 7x , true": { "InputPath": "$.input.a", "Next": "input.a && input.v && x = 7x , true 1", "ResultPath": "$.heap54", "Type": "Pass", }, - "true__input.a && input.v && x = 7x , true && input.v": Object { + "true__input.a && input.v && x = 7x , true && input.v": { "InputPath": "$.heap57", "Next": "20__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap58", "Type": "Pass", }, - "true__input.a && input.v && x = 7x , true 1": Object { + "true__input.a && input.v && x = 7x , true 1": { "InputPath": "$.heap54", "Next": "input.a && input.v && x = 7x , true && input.v", "ResultPath": "$.heap57", "Type": "Pass", }, - "true__input.a || input.b": Object { + "true__input.a || input.b": { "InputPath": "$.input.a", "Next": "4__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN", "ResultPath": "$.heap22", "Type": "Pass", }, - "true__input.b || input.z || x = 3x , true": Object { + "true__input.b || input.z || x = 3x , true": { "InputPath": "$.heap36", "Next": "input.b || input.z || x = 3x , true || x = 4x , false 1", "ResultPath": "$.heap39", "Type": "Pass", }, - "true__input.b || input.z || x = 3x , true || x = 4x , false": Object { + "true__input.b || input.z || x = 3x , true || x = 4x , false": { "InputPath": "$.input.b", "Next": "input.b || input.z || x = 3x , true", "ResultPath": "$.heap36", "Type": "Pass", }, - "true__input.b || input.z || x = 3x , true || x = 4x , false 1": Object { + "true__input.b || input.z || x = 3x , true || x = 4x , false 1": { "InputPath": "$.heap39", "Next": "input.b || input.z || x = 3x , true || x = 4x , false || input.v", "ResultPath": "$.heap42", "Type": "Pass", }, - "true__input.b || input.z || x = 3x , true || x = 4x , false || input.v": Object { + "true__input.b || input.z || x = 3x , true || x = 4x , false || input.v": { "InputPath": "$.heap42", "Next": "14__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap43", "Type": "Pass", }, - "true__input.b || x = 5x , false": Object { + "true__input.b || x = 5x , false": { "InputPath": "$.input.b", "Next": "input.b || x = 5x , false || input.arr", "ResultPath": "$.heap47", "Type": "Pass", }, - "true__input.b || x = 5x , false || input.arr": Object { + "true__input.b || x = 5x , false || input.arr": { "InputPath": "$.heap47", "Next": "16__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap48", "Type": "Pass", }, - "true__input.nv ?? null": Object { + "true__input.nv ?? null": { "InputPath": "$.input.nv", "Next": "10__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap32", "Type": "Pass", }, - "true__input.nv ?? x = 1x , input.v": Object { + "true__input.nv ?? x = 1x , input.v": { "InputPath": "$.input.nv", "Next": "6__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN", "ResultPath": "$.heap26", "Type": "Pass", }, - "true__input.v ?? x = 2x , input.nv": Object { + "true__input.v ?? x = 2x , input.nv": { "InputPath": "$.input.v", "Next": "8__return {andVar: c, and: input.a && input.b, or: input.a || input.b, invN", "ResultPath": "$.heap30", "Type": "Pass", }, - "true__input.z && x = 6x , true": Object { + "true__input.z && x = 6x , true": { "InputPath": "$.input.z", "Next": "18__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap52", "Type": "Pass", }, - "true__null ?? input.v": Object { + "true__null ?? input.v": { "InputPath": "$.fnl_context.null", "Next": "12__return {andVar: c, and: input.a && input.b, or: input.a || input.b, inv", "ResultPath": "$.heap34", "Type": "Pass", }, - "true__y = 1y && y = 2y , false": Object { + "true__y = 1y && y = 2y , false": { "InputPath": "$.heap2.string", "Next": "y = 1y && y = 2y , false && y = 3y", "ResultPath": "$.heap5", "Type": "Pass", }, - "true__y = 1y && y = 2y , false && y = 3y": Object { + "true__y = 1y && y = 2y , false && y = 3y": { "InputPath": "$.heap5", "Next": "1__if(y = 1y && y = 2y , false && y = 3y)", "ResultPath": "$.heap8", "Type": "Pass", }, - "truthyAndAssign &&= \\"b\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "truthyAndAssign &&= "b"": { + "Choices": [ + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -17990,20 +17990,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -18012,30 +18012,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -18047,39 +18047,39 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -18088,20 +18088,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -18110,30 +18110,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -18145,38 +18145,38 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -18185,20 +18185,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -18207,30 +18207,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -18241,36 +18241,36 @@ Object { }, ], }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyOrAssign", }, @@ -18279,20 +18279,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyOrAssign", }, @@ -18301,30 +18301,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyOrAssign", }, @@ -18340,41 +18340,41 @@ Object { ], }, ], - "Next": "y = \\"\\"", - }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Next": "y = """, + }, + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -18383,20 +18383,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -18405,30 +18405,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -18440,39 +18440,39 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -18481,20 +18481,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -18503,30 +18503,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -18538,36 +18538,36 @@ Object { ], }, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -18576,20 +18576,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -18598,30 +18598,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -18635,41 +18635,41 @@ Object { ], }, ], - "Next": "false__falsyOrAssign ||= \\"b\\"", - }, - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Next": "false__falsyOrAssign ||= "b"", + }, + { + "And": [ + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -18678,20 +18678,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -18700,30 +18700,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -18735,37 +18735,37 @@ Object { ], }, }, - Object { - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyAndAssign", }, @@ -18774,20 +18774,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyAndAssign", }, @@ -18796,30 +18796,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyAndAssign", }, @@ -18832,40 +18832,40 @@ Object { }, }, ], - "Next": "false__truthyOrAssign ||= \\"b\\"", - }, - Object { - "Next": "false__falsyAndAssign &&= \\"b\\"", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Next": "false__truthyOrAssign ||= "b"", + }, + { + "Next": "false__falsyAndAssign &&= "b"", + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyAndAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyAndAssign", }, @@ -18874,20 +18874,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyAndAssign", }, @@ -18896,30 +18896,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyAndAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyAndAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyAndAssign", }, @@ -18932,55 +18932,55 @@ Object { }, }, ], - "Default": "false__truthyAndAssign &&= \\"b\\"", + "Default": "false__truthyAndAssign &&= "b"", "Type": "Choice", }, - "truthyAndAssign = \\"a\\"": Object { - "Next": "falsyAndAssign = \\"\\"", + "truthyAndAssign = "a"": { + "Next": "falsyAndAssign = """, "Result": "a", "ResultPath": "$.truthyAndAssign", "Type": "Pass", }, - "truthyOrAssign = \\"a\\"": Object { - "Next": "falsyOrAssign = \\"\\"", + "truthyOrAssign = "a"": { + "Next": "falsyOrAssign = """, "Result": "a", "ResultPath": "$.truthyOrAssign", "Type": "Pass", }, - "truthyOrAssign ||= \\"b\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "truthyOrAssign ||= "b"": { + "Choices": [ + { + "And": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -18989,20 +18989,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -19011,30 +19011,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -19045,36 +19045,36 @@ Object { }, ], }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.falsyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.falsyOrAssign", }, @@ -19083,20 +19083,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.falsyOrAssign", }, @@ -19105,30 +19105,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.falsyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.falsyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.falsyOrAssign", }, @@ -19140,38 +19140,38 @@ Object { ], }, ], - "Next": "y = \\"\\"", + "Next": "y = """, }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNull": false, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.truthyOrAssign", }, - Object { + { "StringEquals": "", "Variable": "$.truthyOrAssign", }, @@ -19180,20 +19180,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "NumericEquals": 0, "Variable": "$.truthyOrAssign", }, @@ -19202,30 +19202,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "BooleanEquals": true, "Variable": "$.truthyOrAssign", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsNumeric": true, "Variable": "$.truthyOrAssign", }, - Object { + { "IsString": true, "Variable": "$.truthyOrAssign", }, @@ -19235,148 +19235,148 @@ Object { ], }, ], - "Next": "false__falsyOrAssign ||= \\"b\\"", + "Next": "false__falsyOrAssign ||= "b"", }, ], - "Default": "false__truthyOrAssign ||= \\"b\\"", + "Default": "false__truthyOrAssign ||= "b"", "Type": "Choice", }, - "x = \\"\\"": Object { - "Next": "notNullishCoalAssign = \\"a\\"", + "x = """: { + "Next": "notNullishCoalAssign = "a"", "Result": "", "ResultPath": "$.x", "Type": "Pass", }, - "x = 1x": Object { + "x = 1x": { "InputPath": "$.x", "Next": "1x", "ResultPath": "$.heap24", "Type": "Pass", }, - "x = 1x 1": Object { + "x = 1x 1": { "InputPath": "$.heap25.string", "Next": "1__x = 1x", "ResultPath": "$.x", "Type": "Pass", }, - "x = 2x": Object { + "x = 2x": { "InputPath": "$.x", "Next": "2x", "ResultPath": "$.heap28", "Type": "Pass", }, - "x = 2x 1": Object { + "x = 2x 1": { "InputPath": "$.heap29.string", "Next": "1__x = 2x", "ResultPath": "$.x", "Type": "Pass", }, - "x = 3x": Object { + "x = 3x": { "InputPath": "$.x", "Next": "3x", "ResultPath": "$.heap37", "Type": "Pass", }, - "x = 3x 1": Object { + "x = 3x 1": { "InputPath": "$.heap38.string", "Next": "1__x = 3x", "ResultPath": "$.x", "Type": "Pass", }, - "x = 4x": Object { + "x = 4x": { "InputPath": "$.x", "Next": "4x", "ResultPath": "$.heap40", "Type": "Pass", }, - "x = 4x 1": Object { + "x = 4x 1": { "InputPath": "$.heap41.string", "Next": "1__x = 4x", "ResultPath": "$.x", "Type": "Pass", }, - "x = 5x": Object { + "x = 5x": { "InputPath": "$.x", "Next": "5x", "ResultPath": "$.heap45", "Type": "Pass", }, - "x = 5x 1": Object { + "x = 5x 1": { "InputPath": "$.heap46.string", "Next": "1__x = 5x", "ResultPath": "$.x", "Type": "Pass", }, - "x = 6x": Object { + "x = 6x": { "InputPath": "$.x", "Next": "6x", "ResultPath": "$.heap50", "Type": "Pass", }, - "x = 6x 1": Object { + "x = 6x 1": { "InputPath": "$.heap51.string", "Next": "1__x = 6x", "ResultPath": "$.x", "Type": "Pass", }, - "x = 7x": Object { + "x = 7x": { "InputPath": "$.x", "Next": "7x", "ResultPath": "$.heap55", "Type": "Pass", }, - "x = 7x 1": Object { + "x = 7x 1": { "InputPath": "$.heap56.string", "Next": "1__x = 7x", "ResultPath": "$.x", "Type": "Pass", }, - "y = \\"\\"": Object { + "y = """: { "Next": "if(y = 1y && y = 2y , false && y = 3y)", "Result": "", "ResultPath": "$.y", "Type": "Pass", }, - "y = 1y": Object { + "y = 1y": { "InputPath": "$.heap2.string", "Next": "y = 1y && y = 2y , false", "ResultPath": "$.y", "Type": "Pass", }, - "y = 1y && y = 2y , false": Object { - "Choices": Array [ - Object { + "y = 1y && y = 2y , false": { + "Choices": [ + { "Next": "true__y = 1y && y = 2y , false", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap2.string", }, - Object { + { "IsNull": false, "Variable": "$.heap2.string", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap2.string", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap2.string", }, - Object { + { "StringEquals": "", "Variable": "$.heap2.string", }, @@ -19385,20 +19385,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2.string", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2.string", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap2.string", }, @@ -19407,30 +19407,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap2.string", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap2.string", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap2.string", }, - Object { + { "IsNumeric": true, "Variable": "$.heap2.string", }, - Object { + { "IsString": true, "Variable": "$.heap2.string", }, @@ -19446,40 +19446,40 @@ Object { "Default": "y = 2y", "Type": "Choice", }, - "y = 1y && y = 2y , false && y = 3y": Object { - "Choices": Array [ - Object { + "y = 1y && y = 2y , false && y = 3y": { + "Choices": [ + { "Next": "true__y = 1y && y = 2y , false && y = 3y", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap5", }, - Object { + { "IsNull": false, "Variable": "$.heap5", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap5", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap5", }, - Object { + { "StringEquals": "", "Variable": "$.heap5", }, @@ -19488,20 +19488,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap5", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap5", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap5", }, @@ -19510,30 +19510,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap5", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap5", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap5", }, - Object { + { "IsNumeric": true, "Variable": "$.heap5", }, - Object { + { "IsString": true, "Variable": "$.heap5", }, @@ -19549,67 +19549,67 @@ Object { "Default": "y = 3y", "Type": "Choice", }, - "y = 2y": Object { + "y = 2y": { "InputPath": "$.y", "Next": "2y", "ResultPath": "$.heap3", "Type": "Pass", }, - "y = 2y 1": Object { + "y = 2y 1": { "InputPath": "$.heap4.string", "Next": "1__y = 2y", "ResultPath": "$.y", "Type": "Pass", }, - "y = 3y": Object { + "y = 3y": { "InputPath": "$.y", "Next": "3y", "ResultPath": "$.heap6", "Type": "Pass", }, - "y = 3y 1": Object { + "y = 3y 1": { "InputPath": "$.heap7.string", "Next": "1__y = 3y", "ResultPath": "$.y", "Type": "Pass", }, - "y = 4y": Object { + "y = 4y": { "InputPath": "$.y", "Next": "4y", "ResultPath": "$.heap9", "Type": "Pass", }, - "y = 4y 1": Object { + "y = 4y 1": { "InputPath": "$.heap10.string", "Next": "if(y = 5y , false || y = 6y , true || y = 7y)", "ResultPath": "$.y", "Type": "Pass", }, - "y = 5y": Object { + "y = 5y": { "InputPath": "$.heap12.string", "Next": "y = 6y", "ResultPath": "$.y", "Type": "Pass", }, - "y = 6y": Object { + "y = 6y": { "InputPath": "$.y", "Next": "6y", "ResultPath": "$.heap13", "Type": "Pass", }, - "y = 6y 1": Object { + "y = 6y 1": { "InputPath": "$.heap14.string", "Next": "1__if(y = 5y , false || y = 6y , true || y = 7y)", "ResultPath": "$.y", "Type": "Pass", }, - "y = 8y": Object { + "y = 8y": { "InputPath": "$.y", "Next": "8y", "ResultPath": "$.heap17", "Type": "Pass", }, - "y = 8y 1": Object { + "y = 8y 1": { "InputPath": "$.heap18.string", "Next": "return {andVar: c, and: input.a && input.b, or: input.a || input.b, invNull", "ResultPath": "$.y", @@ -19620,48 +19620,48 @@ Object { `; exports[`binaryOps logic with calls 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {and: true && await trueFunc(), or: false || await trueFunc()}": Object { + "States": { + "1__return {and: true && await trueFunc(), or: false || await trueFunc()}": { "End": true, - "Parameters": Object { + "Parameters": { "and.$": "$.heap1", "or.$": "$.heap3", }, "ResultPath": "$", "Type": "Pass", }, - "1__return {and: true && await trueFunc(), or: false || await trueFunc()} 1": Object { + "1__return {and: true && await trueFunc(), or: false || await trueFunc()} 1": { "InputPath": "$.heap0", "Next": "2__return {and: true && await trueFunc(), or: false || await trueFunc()}", "ResultPath": "$.heap1", "Type": "Pass", }, - "2__return {and: true && await trueFunc(), or: false || await trueFunc()}": Object { + "2__return {and: true && await trueFunc(), or: false || await trueFunc()}": { "InputPath": "$.fnl_context.null", "Next": "3__return {and: true && await trueFunc(), or: false || await trueFunc()}", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap2", "Type": "Task", }, - "3__return {and: true && await trueFunc(), or: false || await trueFunc()}": Object { + "3__return {and: true && await trueFunc(), or: false || await trueFunc()}": { "InputPath": "$.heap2", "Next": "1__return {and: true && await trueFunc(), or: false || await trueFunc()}", "ResultPath": "$.heap3", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return {and: true && await trueFunc(), or: false || await trueFunc()}", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return {and: true && await trueFunc(), or: false || await trueFunc()}": Object { + "return {and: true && await trueFunc(), or: false || await trueFunc()}": { "InputPath": "$.fnl_context.null", "Next": "1__return {and: true && await trueFunc(), or: false || await trueFunc()} 1", "Resource": "__REPLACED_TOKEN", @@ -19673,29 +19673,29 @@ Object { `; exports[`call $SFN map, foreach, and parallel 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.map([1, 2, 3], function (n))": Object { + "States": { + "$SFN.map([1, 2, 3], function (n))": { "ItemsPath": "$.heap5", - "Iterator": Object { + "Iterator": { "StartAt": "return nn", - "States": Object { - "1__return nn": Object { + "States": { + "1__return nn": { "End": true, "InputPath": "$.heap4.string", "ResultPath": "$", "Type": "Pass", }, - "nn": Object { + "nn": { "Next": "1__return nn", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('n{}',$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "return nn": Object { + "return nn": { "InputPath": "$.n__1", "Next": "nn", "ResultPath": "$.heap3", @@ -19704,7 +19704,7 @@ Object { }, }, "Next": "1__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in 1", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "n__1.$": "$$.Map.Item.Value", @@ -19712,12 +19712,12 @@ Object { "ResultPath": "$.heap6", "Type": "Map", }, - "$SFN.map(input.arr, function (n))": Object { + "$SFN.map(input.arr, function (n))": { "ItemsPath": "$.input.arr", - "Iterator": Object { + "Iterator": { "StartAt": "return n", - "States": Object { - "return n": Object { + "States": { + "return n": { "End": true, "InputPath": "$.n__2", "ResultPath": "$", @@ -19726,7 +19726,7 @@ Object { }, }, "Next": "3__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "n__2.$": "$$.Map.Item.Value", @@ -19734,9 +19734,9 @@ Object { "ResultPath": "$.heap8", "Type": "Map", }, - "1__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in": Object { + "1__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in": { "End": true, - "Parameters": Object { + "Parameters": { "a.$": "$.heap7", "b.$": "$.heap9", "c.$": "$.heap11", @@ -19744,24 +19744,24 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in 1": Object { + "1__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in 1": { "InputPath": "$.heap6", "Next": "$SFN.map(input.arr, function (n))", "ResultPath": "$.heap7", "Type": "Pass", }, - "3__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in": Object { + "3__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in": { "InputPath": "$.heap8", "Next": "4__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in", "ResultPath": "$.heap9", "Type": "Pass", }, - "4__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in": Object { - "Branches": Array [ - Object { + "4__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in": { + "Branches": [ + { "StartAt": "return 1", - "States": Object { - "return 1": Object { + "States": { + "return 1": { "End": true, "Result": 1, "ResultPath": "$", @@ -19769,10 +19769,10 @@ Object { }, }, }, - Object { + { "StartAt": "return 2", - "States": Object { - "return 2": Object { + "States": { + "return 2": { "End": true, "Result": 2, "ResultPath": "$", @@ -19785,16 +19785,16 @@ Object { "ResultPath": "$.heap10", "Type": "Parallel", }, - "5__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in": Object { + "5__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in": { "InputPath": "$.heap10", "Next": "1__return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(in", "ResultPath": "$.heap11", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "await $SFN.forEach(input.arr, function (n))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -19802,29 +19802,29 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await $SFN.forEach(input.arr, function (n))": Object { + "await $SFN.forEach(input.arr, function (n))": { "ItemsPath": "$.input.arr", - "Iterator": Object { + "Iterator": { "StartAt": "return $SFN.retry(function ())", - "States": Object { - "1__return $SFN.retry(function ())": Object { + "States": { + "1__return $SFN.retry(function ())": { "End": true, "InputPath": "$.heap1[0]", "ResultPath": "$", "Type": "Pass", }, - "return $SFN.retry(function ())": Object { - "Branches": Array [ - Object { + "return $SFN.retry(function ())": { + "Branches": [ + { "StartAt": "return func(n)", - "States": Object { - "1__return func(n)": Object { + "States": { + "1__return func(n)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return func(n)": Object { + "return func(n)": { "InputPath": "$.n", "Next": "1__return func(n)", "Resource": "__REPLACED_TOKEN", @@ -19835,15 +19835,15 @@ Object { }, ], "Next": "1__return $SFN.retry(function ())", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "n.$": "$.n", }, "ResultPath": "$.heap1", - "Retry": Array [ - Object { - "ErrorEquals": Array [ + "Retry": [ + { + "ErrorEquals": [ "States.ALL", ], }, @@ -19853,7 +19853,7 @@ Object { }, }, "Next": "return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(input", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "n.$": "$$.Map.Item.Value", @@ -19861,9 +19861,9 @@ Object { "ResultPath": "$.heap2", "Type": "Map", }, - "return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(input": Object { + "return {a: await $SFN.map([1, 2, 3], function (n)), b: await $SFN.map(input": { "Next": "$SFN.map([1, 2, 3], function (n))", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -19876,81 +19876,81 @@ Object { `; exports[`call $SFN retry 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [a, b, c, d, e]": Object { + "States": { + "1__return [a, b, c, d, e]": { "End": true, "InputPath": "$.heap15.arr", "ResultPath": "$", "Type": "Pass", }, - "1__return [a, b, c, d, e] 1": Object { + "1__return [a, b, c, d, e] 1": { "InputPath": "$.b", "Next": "2__return [a, b, c, d, e]", "ResultPath": "$.heap11", "Type": "Pass", }, - "2__return [a, b, c, d, e]": Object { + "2__return [a, b, c, d, e]": { "InputPath": "$.c", "Next": "3__return [a, b, c, d, e]", "ResultPath": "$.heap12", "Type": "Pass", }, - "3__return [a, b, c, d, e]": Object { + "3__return [a, b, c, d, e]": { "InputPath": "$.d", "Next": "4__return [a, b, c, d, e]", "ResultPath": "$.heap13", "Type": "Pass", }, - "4__return [a, b, c, d, e]": Object { + "4__return [a, b, c, d, e]": { "InputPath": "$.e", "Next": "[a, b, c, d, e]", "ResultPath": "$.heap14", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "id", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[a, b, c, d, e]": Object { + "[a, b, c, d, e]": { "Next": "1__return [a, b, c, d, e]", - "Parameters": Object { + "Parameters": { "arr.$": "States.Array($.heap10, $.heap11, $.heap12, $.heap13, $.heap14)", }, "ResultPath": "$.heap15", "Type": "Pass", }, - "a": Object { + "a": { "InputPath": "$.heap3[0]", "Next": "b = 0", "ResultPath": "$.a", "Type": "Pass", }, - "a = await $SFN.retry(function ())": Object { - "Branches": Array [ - Object { + "a = await $SFN.retry(function ())": { + "Branches": [ + { "StartAt": "result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table, U", - "States": Object { - "1__result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table": Object { + "States": { + "1__result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table": { "Next": "result", - "Parameters": Object { - "ExpressionAttributeValues": Object { - ":inc": Object { + "Parameters": { + "ExpressionAttributeValues": { + ":inc": { "N": "1", }, - ":init": Object { + ":init": { "N": "0", }, }, - "Key": Object { - "a": Object { + "Key": { + "a": { "S.$": "$.heap0", }, }, @@ -19962,21 +19962,21 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "1__return Number(result.Attributes.n.N)": Object { + "1__return Number(result.Attributes.n.N)": { "End": true, "InputPath": "$.heap2.num", "ResultPath": "$", "Type": "Pass", }, - "assign__return Number(result.Attributes.n.N)": Object { + "assign__return Number(result.Attributes.n.N)": { "InputPath": "$.result.Attributes.n.N", "Next": "1__return Number(result.Attributes.n.N)", "ResultPath": "$.heap2.num", "Type": "Pass", }, - "checkStringOutput__return Number(result.Attributes.n.N)": Object { - "Choices": Array [ - Object { + "checkStringOutput__return Number(result.Attributes.n.N)": { + "Choices": [ + { "IsNumeric": true, "Next": "1__return Number(result.Attributes.n.N)", "Variable": "$.heap2.num", @@ -19985,37 +19985,37 @@ Object { "Default": "null__return Number(result.Attributes.n.N)", "Type": "Choice", }, - "format__return Number(result.Attributes.n.N)": Object { + "format__return Number(result.Attributes.n.N)": { "Next": "checkStringOutput__return Number(result.Attributes.n.N)", - "Parameters": Object { + "Parameters": { "num.$": "States.StringToJson($.result.Attributes.n.N)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "if(result.Attributes.n.N === \\"3\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "if(result.Attributes.n.N === "3")": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "StringEquals": "3", "Variable": "$.result.Attributes.n.N", }, @@ -20025,34 +20025,34 @@ Object { }, ], }, - Object { + { "IsPresent": false, "Variable": "$.result.Attributes.n.N", }, ], "Next": "null__return Number(result.Attributes.n.N)", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "StringEquals": "3", "Variable": "$.result.Attributes.n.N", }, @@ -20062,19 +20062,19 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "StringEquals": "", "Variable": "$.result.Attributes.n.N", }, @@ -20085,27 +20085,27 @@ Object { ], "Next": "zero__return Number(result.Attributes.n.N)", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "StringEquals": "3", "Variable": "$.result.Attributes.n.N", }, @@ -20115,34 +20115,34 @@ Object { }, ], }, - Object { + { "IsNull": true, "Variable": "$.result.Attributes.n.N", }, ], "Next": "zero__return Number(result.Attributes.n.N)", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "StringEquals": "3", "Variable": "$.result.Attributes.n.N", }, @@ -20152,34 +20152,34 @@ Object { }, ], }, - Object { + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, ], "Next": "format__return Number(result.Attributes.n.N)", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "StringEquals": "3", "Variable": "$.result.Attributes.n.N", }, @@ -20189,34 +20189,34 @@ Object { }, ], }, - Object { + { "IsNumeric": true, "Variable": "$.result.Attributes.n.N", }, ], "Next": "assign__return Number(result.Attributes.n.N)", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "StringEquals": "3", "Variable": "$.result.Attributes.n.N", }, @@ -20226,13 +20226,13 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "BooleanEquals": true, "Variable": "$.result.Attributes.n.N", }, @@ -20241,27 +20241,27 @@ Object { ], "Next": "one__return Number(result.Attributes.n.N)", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "StringEquals": "3", "Variable": "$.result.Attributes.n.N", }, @@ -20271,13 +20271,13 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "BooleanEquals": false, "Variable": "$.result.Attributes.n.N", }, @@ -20286,25 +20286,25 @@ Object { ], "Next": "zero__return Number(result.Attributes.n.N)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result.Attributes.n.N", }, - Object { + { "StringEquals": "3", "Variable": "$.result.Attributes.n.N", }, @@ -20316,39 +20316,39 @@ Object { "Next": "null__return Number(result.Attributes.n.N)", }, ], - "Default": "throw new StepFunctionError(\\"MyError\\", \\"Because\\")", + "Default": "throw new StepFunctionError("MyError", "Because")", "Type": "Choice", }, - "null__return Number(result.Attributes.n.N)": Object { + "null__return Number(result.Attributes.n.N)": { "InputPath": "$.fnl_context.null", "Next": "1__return Number(result.Attributes.n.N)", "ResultPath": "$.heap2.num", "Type": "Pass", }, - "one__return Number(result.Attributes.n.N)": Object { + "one__return Number(result.Attributes.n.N)": { "Next": "1__return Number(result.Attributes.n.N)", "Result": 1, "ResultPath": "$.heap2.num", "Type": "Pass", }, - "result": Object { + "result": { "InputPath": "$.heap1", - "Next": "if(result.Attributes.n.N === \\"3\\")", + "Next": "if(result.Attributes.n.N === "3")", "ResultPath": "$.result", "Type": "Pass", }, - "result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table, U": Object { + "result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table, U": { "InputPath": "$.id", "Next": "1__result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table", "ResultPath": "$.heap0", "Type": "Pass", }, - "throw new StepFunctionError(\\"MyError\\", \\"Because\\")": Object { - "Cause": "\\"Because\\"", + "throw new StepFunctionError("MyError", "Because")": { + "Cause": ""Because"", "Error": "MyError", "Type": "Fail", }, - "zero__return Number(result.Attributes.n.N)": Object { + "zero__return Number(result.Attributes.n.N)": { "Next": "1__return Number(result.Attributes.n.N)", "Result": 0, "ResultPath": "$.heap2.num", @@ -20358,120 +20358,120 @@ Object { }, ], "Next": "a", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "id.$": "$.id", }, "ResultPath": "$.heap3", - "Retry": Array [ - Object { - "ErrorEquals": Array [ + "Retry": [ + { + "ErrorEquals": [ "States.ALL", ], }, ], "Type": "Parallel", }, - "b = 0": Object { + "b = 0": { "Next": "try", "Result": 0, "ResultPath": "$.b", "Type": "Pass", }, - "b = await $SFN.retry(function ())": Object { + "b = await $SFN.retry(function ())": { "InputPath": "$.heap4[0]", "Next": "c = 0", "ResultPath": "$.b", "Type": "Pass", }, - "c = 0": Object { + "c = 0": { "Next": "try 1", "Result": 0, "ResultPath": "$.c", "Type": "Pass", }, - "c = await $SFN.retry([{ErrorEquals: [\\"MyError\\"], BackoffRate: 1, IntervalSe": Object { + "c = await $SFN.retry([{ErrorEquals: ["MyError"], BackoffRate: 1, IntervalSe": { "InputPath": "$.heap5[0]", "Next": "d = 0", "ResultPath": "$.c", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "Next": "c = 0", "Result": 2, "ResultPath": "$.b", "Type": "Pass", }, - "catch__try 1": Object { + "catch__try 1": { "Next": "d = 0", "Result": 3, "ResultPath": "$.c", "Type": "Pass", }, - "catch__try 2": Object { + "catch__try 2": { "Next": "e = 0", "Result": 5, "ResultPath": "$.d", "Type": "Pass", }, - "catch__try 3": Object { + "catch__try 3": { "Next": "return [a, b, c, d, e]", "Result": 7, "ResultPath": "$.e", "Type": "Pass", }, - "d = 0": Object { + "d = 0": { "Next": "try 2", "Result": 0, "ResultPath": "$.d", "Type": "Pass", }, - "d = await $SFN.retry([{ErrorEquals: [\\"MyError2\\"], BackoffRate: 1, IntervalS": Object { + "d = await $SFN.retry([{ErrorEquals: ["MyError2"], BackoffRate: 1, IntervalS": { "InputPath": "$.heap6[0]", "Next": "e = 0", "ResultPath": "$.d", "Type": "Pass", }, - "e = 0": Object { + "e = 0": { "Next": "try 3", "Result": 0, "ResultPath": "$.e", "Type": "Pass", }, - "e = await $SFN.retry([{ErrorEquals: [\\"MyError2\\"], BackoffRate: 1, IntervalS": Object { + "e = await $SFN.retry([{ErrorEquals: ["MyError2"], BackoffRate: 1, IntervalS": { "InputPath": "$.heap9[0]", "Next": "return [a, b, c, d, e]", "ResultPath": "$.e", "Type": "Pass", }, - "id": Object { + "id": { "InputPath": "$$.Execution.Input['id']", "Next": "a = await $SFN.retry(function ())", "ResultPath": "$.id", "Type": "Pass", }, - "return [a, b, c, d, e]": Object { + "return [a, b, c, d, e]": { "InputPath": "$.a", "Next": "1__return [a, b, c, d, e] 1", "ResultPath": "$.heap10", "Type": "Pass", }, - "try": Object { - "Branches": Array [ - Object { - "StartAt": "throw new StepFunctionError(\\"MyError\\", \\"Because\\") 1", - "States": Object { - "throw new StepFunctionError(\\"MyError\\", \\"Because\\") 1": Object { - "Cause": "\\"Because\\"", + "try": { + "Branches": [ + { + "StartAt": "throw new StepFunctionError("MyError", "Because") 1", + "States": { + "throw new StepFunctionError("MyError", "Because") 1": { + "Cause": ""Because"", "Error": "MyError", "Type": "Fail", }, }, }, ], - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -20479,46 +20479,46 @@ Object { }, ], "Next": "b = await $SFN.retry(function ())", - "Parameters": Object { + "Parameters": { "a.$": "$.a", "b.$": "$.b", "fnl_context.$": "$.fnl_context", "id.$": "$.id", }, "ResultPath": "$.heap4", - "Retry": Array [ - Object { - "ErrorEquals": Array [ + "Retry": [ + { + "ErrorEquals": [ "States.ALL", ], }, ], "Type": "Parallel", }, - "try 1": Object { - "Branches": Array [ - Object { - "StartAt": "throw new StepFunctionError(\\"MyError\\", \\"Because\\") 2", - "States": Object { - "throw new StepFunctionError(\\"MyError\\", \\"Because\\") 2": Object { - "Cause": "\\"Because\\"", + "try 1": { + "Branches": [ + { + "StartAt": "throw new StepFunctionError("MyError", "Because") 2", + "States": { + "throw new StepFunctionError("MyError", "Because") 2": { + "Cause": ""Because"", "Error": "MyError", "Type": "Fail", }, }, }, ], - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 1", "ResultPath": null, }, ], - "Next": "c = await $SFN.retry([{ErrorEquals: [\\"MyError\\"], BackoffRate: 1, IntervalSe", - "Parameters": Object { + "Next": "c = await $SFN.retry([{ErrorEquals: ["MyError"], BackoffRate: 1, IntervalSe", + "Parameters": { "a.$": "$.a", "b.$": "$.b", "c.$": "$.c", @@ -20526,10 +20526,10 @@ Object { "id.$": "$.id", }, "ResultPath": "$.heap5", - "Retry": Array [ - Object { + "Retry": [ + { "BackoffRate": 1, - "ErrorEquals": Array [ + "ErrorEquals": [ "MyError", ], "IntervalSeconds": 1, @@ -20538,30 +20538,30 @@ Object { ], "Type": "Parallel", }, - "try 2": Object { - "Branches": Array [ - Object { - "StartAt": "throw new StepFunctionError(\\"MyError\\", \\"Because\\") 3", - "States": Object { - "throw new StepFunctionError(\\"MyError\\", \\"Because\\") 3": Object { - "Cause": "\\"Because\\"", + "try 2": { + "Branches": [ + { + "StartAt": "throw new StepFunctionError("MyError", "Because") 3", + "States": { + "throw new StepFunctionError("MyError", "Because") 3": { + "Cause": ""Because"", "Error": "MyError", "Type": "Fail", }, }, }, ], - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 2", "ResultPath": null, }, ], - "Next": "d = await $SFN.retry([{ErrorEquals: [\\"MyError2\\"], BackoffRate: 1, IntervalS", - "Parameters": Object { + "Next": "d = await $SFN.retry([{ErrorEquals: ["MyError2"], BackoffRate: 1, IntervalS", + "Parameters": { "a.$": "$.a", "b.$": "$.b", "c.$": "$.c", @@ -20570,10 +20570,10 @@ Object { "id.$": "$.id", }, "ResultPath": "$.heap6", - "Retry": Array [ - Object { + "Retry": [ + { "BackoffRate": 1, - "ErrorEquals": Array [ + "ErrorEquals": [ "MyError2", ], "IntervalSeconds": 1, @@ -20582,24 +20582,24 @@ Object { ], "Type": "Parallel", }, - "try 3": Object { - "Branches": Array [ - Object { + "try 3": { + "Branches": [ + { "StartAt": "result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table, U 1", - "States": Object { - "1__result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table 1": Object { + "States": { + "1__result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table 1": { "Next": "result 1", - "Parameters": Object { - "ExpressionAttributeValues": Object { - ":inc": Object { + "Parameters": { + "ExpressionAttributeValues": { + ":inc": { "N": "1", }, - ":init": Object { + ":init": { "N": "0", }, }, - "Key": Object { - "a": Object { + "Key": { + "a": { "S.$": "$.heap7", }, }, @@ -20611,27 +20611,27 @@ Object { "ResultPath": "$.heap8", "Type": "Task", }, - "if(result.Attributes.n.N === \\"6\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(result.Attributes.n.N === "6")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.result__1.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result__1.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result__1.Attributes.n.N", }, - Object { + { "StringEquals": "6", "Variable": "$.result__1.Attributes.n.N", }, @@ -20642,25 +20642,25 @@ Object { ], "Next": "return 6", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.result__1.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.result__1.Attributes.n.N", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.result__1.Attributes.n.N", }, - Object { + { "StringEquals": "5", "Variable": "$.result__1.Attributes.n.N", }, @@ -20669,54 +20669,54 @@ Object { ], }, ], - "Next": "throw new StepFunctionError(\\"MyError\\", \\"Because\\") 4", + "Next": "throw new StepFunctionError("MyError", "Because") 4", }, ], - "Default": "throw new StepFunctionError(\\"MyError2\\", \\"Because\\")", + "Default": "throw new StepFunctionError("MyError2", "Because")", "Type": "Choice", }, - "result 1": Object { + "result 1": { "InputPath": "$.heap8", - "Next": "if(result.Attributes.n.N === \\"6\\")", + "Next": "if(result.Attributes.n.N === "6")", "ResultPath": "$.result__1", "Type": "Pass", }, - "result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table, U 1": Object { + "result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table, U 1": { "InputPath": "$.id", "Next": "1__result = await $AWS.DynamoDB.UpdateItem({Key: {a: {S: id}}, Table: table 1", "ResultPath": "$.heap7", "Type": "Pass", }, - "return 6": Object { + "return 6": { "End": true, "Result": 6, "ResultPath": "$", "Type": "Pass", }, - "throw new StepFunctionError(\\"MyError\\", \\"Because\\") 4": Object { - "Cause": "\\"Because\\"", + "throw new StepFunctionError("MyError", "Because") 4": { + "Cause": ""Because"", "Error": "MyError", "Type": "Fail", }, - "throw new StepFunctionError(\\"MyError2\\", \\"Because\\")": Object { - "Cause": "\\"Because\\"", + "throw new StepFunctionError("MyError2", "Because")": { + "Cause": ""Because"", "Error": "MyError2", "Type": "Fail", }, }, }, ], - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 3", "ResultPath": null, }, ], - "Next": "e = await $SFN.retry([{ErrorEquals: [\\"MyError2\\"], BackoffRate: 1, IntervalS", - "Parameters": Object { + "Next": "e = await $SFN.retry([{ErrorEquals: ["MyError2"], BackoffRate: 1, IntervalS", + "Parameters": { "a.$": "$.a", "b.$": "$.b", "c.$": "$.c", @@ -20726,18 +20726,18 @@ Object { "id.$": "$.id", }, "ResultPath": "$.heap9", - "Retry": Array [ - Object { + "Retry": [ + { "BackoffRate": 1, - "ErrorEquals": Array [ + "ErrorEquals": [ "MyError2", ], "IntervalSeconds": 1, "MaxAttempts": 2, }, - Object { + { "BackoffRate": 1, - "ErrorEquals": Array [ + "ErrorEquals": [ "MyError", ], "IntervalSeconds": 1, @@ -20751,25 +20751,25 @@ Object { `; exports[`call $SFN wait 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.waitFor(1)": Object { + "States": { + "$SFN.waitFor(1)": { "Next": "return null", "Seconds": 1, "Type": "Wait", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "$SFN.waitFor(1)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -20780,29 +20780,29 @@ Object { `; exports[`call lambda 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "10__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func": Object { + "States": { + "10__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func": { "InputPath": "$.heap10", "Next": "11__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func", "ResultPath": "$.heap11", "Type": "Pass", }, - "11__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func": Object { - "Branches": Array [ - Object { + "11__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func": { + "Branches": [ + { "StartAt": "return $AWS.Lambda.Invoke({Function: func2, Payload: obj})", - "States": Object { - "1__return $AWS.Lambda.Invoke({Function: func2, Payload: obj})": Object { + "States": { + "1__return $AWS.Lambda.Invoke({Function: func2, Payload: obj})": { "End": true, "InputPath": "$.heap12", "ResultPath": "$", "Type": "Pass", }, - "return $AWS.Lambda.Invoke({Function: func2, Payload: obj})": Object { + "return $AWS.Lambda.Invoke({Function: func2, Payload: obj})": { "Next": "1__return $AWS.Lambda.Invoke({Function: func2, Payload: obj})", - "Parameters": Object { + "Parameters": { "FunctionName": "__REPLACED_TOKEN", "Payload.$": "$.obj", }, @@ -20814,7 +20814,7 @@ Object { }, ], "Next": "12__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func", - "Parameters": Object { + "Parameters": { "arr.$": "$.arr", "event.$": "$.event", "f1.$": "$.f1", @@ -20822,24 +20822,24 @@ Object { "obj.$": "$.obj", }, "ResultPath": "$.heap13", - "Retry": Array [ - Object { - "ErrorEquals": Array [ + "Retry": [ + { + "ErrorEquals": [ "States.ALL", ], }, ], "Type": "Parallel", }, - "12__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func": Object { + "12__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func": { "InputPath": "$.heap13[0].Payload.str", "Next": "1__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2", "ResultPath": "$.heap14", "Type": "Pass", }, - "1__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": Object { + "1__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": { "End": true, - "Parameters": Object { + "Parameters": { "f1.$": "$.heap1", "f2.$": "$.heap3", "f3.$": "$.heap5", @@ -20851,50 +20851,50 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2 1": Object { + "1__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2 1": { "InputPath": "$.event.str", "Next": "2__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap2", "Type": "Task", }, - "2__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": Object { + "2__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": { "InputPath": "$.heap2.str", "Next": "3__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2", "ResultPath": "$.heap3", "Type": "Pass", }, - "3__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": Object { + "3__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": { "Next": "4__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2", - "Parameters": Object { + "Parameters": { "str": "hello world 2", }, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap4", "Type": "Task", }, - "4__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": Object { + "4__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": { "InputPath": "$.heap4.str", "Next": "5__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2", "ResultPath": "$.heap5", "Type": "Pass", }, - "5__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": Object { + "5__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": { "InputPath": "$.obj", "Next": "6__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap6", "Type": "Task", }, - "6__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": Object { + "6__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": { "InputPath": "$.heap6.str", "Next": "7__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2", "ResultPath": "$.heap7", "Type": "Pass", }, - "7__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": Object { + "7__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": { "Next": "8__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2", - "Parameters": Array [ + "Parameters": [ 1, 2, ], @@ -20902,33 +20902,33 @@ Object { "ResultPath": "$.heap8", "Type": "Task", }, - "8__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": Object { + "8__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": { "InputPath": "$.heap8", "Next": "9__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2", "ResultPath": "$.heap9", "Type": "Pass", }, - "9__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": Object { + "9__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2": { "InputPath": "$.arr", "Next": "10__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap10", "Type": "Task", }, - "Initialize Functionless Context": Object { - "Next": "f1 = await echoStringFunc(\\"hello world\\").str", - "Parameters": Object { + "Initialize Functionless Context": { + "Next": "f1 = await echoStringFunc("hello world").str", + "Parameters": { "event.$": "$$.Execution.Input", - "fnl_context": Object { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "arr = [1, 2, 3]": Object { + "arr = [1, 2, 3]": { "Next": "return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2({s", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -20936,28 +20936,28 @@ Object { "ResultPath": "$.arr", "Type": "Pass", }, - "f1": Object { + "f1": { "InputPath": "$.heap0.str", - "Next": "obj = {str: \\"hello world\\"}", + "Next": "obj = {str: "hello world"}", "ResultPath": "$.f1", "Type": "Pass", }, - "f1 = await echoStringFunc(\\"hello world\\").str": Object { + "f1 = await echoStringFunc("hello world").str": { "Next": "f1", "Parameters": "hello world", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "obj = {str: \\"hello world\\"}": Object { + "obj = {str: "hello world"}": { "Next": "arr = [1, 2, 3]", - "Result": Object { + "Result": { "str": "hello world", }, "ResultPath": "$.obj", "Type": "Pass", }, - "return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2({s": Object { + "return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2({s": { "InputPath": "$.f1", "Next": "1__return {f1: f1, f2: await echoStringFunc(event.str).str, f3: await func2 1", "ResultPath": "$.heap1", @@ -20968,12 +20968,12 @@ Object { `; exports[`clean state after input 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?": Object { + "States": { + "1__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?": { "End": true, - "Parameters": Object { + "Parameters": { "a.$": "$.heap2", "initA.$": "$.heap6", "stateA.$": "$.heap1", @@ -20982,34 +20982,34 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ? 1": Object { + "1__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ? 1": { "InputPath": "$.heap0", "Next": "2__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?", "ResultPath": "$.heap1", "Type": "Pass", }, - "2__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?": Object { + "2__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?": { "InputPath": "$.input.a", "Next": "state.input.a ?? null", "ResultPath": "$.heap2", "Type": "Pass", }, - "4__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?": Object { + "4__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?": { "InputPath": "$.heap3", "Next": "a ?? null", "ResultPath": "$.heap4", "Type": "Pass", }, - "6__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?": Object { + "6__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?": { "InputPath": "$.heap5", "Next": "1__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?", "ResultPath": "$.heap6", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "state = dumpState()", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -21017,15 +21017,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a ?? null": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "a ?? null": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.a", }, - Object { + { "IsNull": false, "Variable": "$.a", }, @@ -21036,33 +21036,33 @@ Object { "Default": "false__a ?? null", "Type": "Choice", }, - "false__a ?? null": Object { + "false__a ?? null": { "InputPath": "$.fnl_context.null", "Next": "6__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?", "ResultPath": "$.heap5", "Type": "Pass", }, - "false__return {stateA: state.a ?? null, a: input.a, stateInput: state.input": Object { + "false__return {stateA: state.a ?? null, a: input.a, stateInput: state.input": { "InputPath": "$.fnl_context.null", "Next": "1__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ? 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "false__state.input.a ?? null": Object { + "false__state.input.a ?? null": { "InputPath": "$.fnl_context.null", "Next": "4__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?", "ResultPath": "$.heap3", "Type": "Pass", }, - "return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?? n": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?? n": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.state.a", }, - Object { + { "IsNull": false, "Variable": "$.state.a", }, @@ -21073,21 +21073,21 @@ Object { "Default": "false__return {stateA: state.a ?? null, a: input.a, stateInput: state.input", "Type": "Choice", }, - "state = dumpState()": Object { + "state = dumpState()": { "InputPath": "$", "Next": "return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?? n", "ResultPath": "$.state", "Type": "Pass", }, - "state.input.a ?? null": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "state.input.a ?? null": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.state.input.a", }, - Object { + { "IsNull": false, "Variable": "$.state.input.a", }, @@ -21098,19 +21098,19 @@ Object { "Default": "false__state.input.a ?? null", "Type": "Choice", }, - "true__a ?? null": Object { + "true__a ?? null": { "InputPath": "$.a", "Next": "6__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?", "ResultPath": "$.heap5", "Type": "Pass", }, - "true__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.": Object { + "true__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.": { "InputPath": "$.state.a", "Next": "1__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ? 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "true__state.input.a ?? null": Object { + "true__state.input.a ?? null": { "InputPath": "$.state.input.a", "Next": "4__return {stateA: state.a ?? null, a: input.a, stateInput: state.input.a ?", "ResultPath": "$.heap3", @@ -21121,41 +21121,41 @@ Object { `; exports[`conditionals 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__if(await $SFN.retry(function ()))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "States": { + "1__if(await $SFN.retry(function ()))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap1[0]", }, - Object { + { "IsNull": false, "Variable": "$.heap1[0]", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap1[0]", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap1[0]", }, - Object { + { "StringEquals": "", "Variable": "$.heap1[0]", }, @@ -21164,20 +21164,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap1[0]", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap1[0]", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap1[0]", }, @@ -21186,30 +21186,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap1[0]", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap1[0]", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap1[0]", }, - Object { + { "IsNumeric": true, "Variable": "$.heap1[0]", }, - Object { + { "IsString": true, "Variable": "$.heap1[0]", }, @@ -21222,13 +21222,13 @@ Object { "Next": "return input.b", }, ], - "Default": "return \\"noop\\"", + "Default": "return "noop"", "Type": "Choice", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "if(input.a)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -21236,18 +21236,18 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(await $SFN.retry(function ()))": Object { - "Branches": Array [ - Object { + "if(await $SFN.retry(function ()))": { + "Branches": [ + { "StartAt": "return trueFunc()", - "States": Object { - "1__return trueFunc()": Object { + "States": { + "1__return trueFunc()": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return trueFunc()": Object { + "return trueFunc()": { "InputPath": "$.fnl_context.null", "Next": "1__return trueFunc()", "Resource": "__REPLACED_TOKEN", @@ -21258,52 +21258,52 @@ Object { }, ], "Next": "1__if(await $SFN.retry(function ()))", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", }, "ResultPath": "$.heap1", - "Retry": Array [ - Object { - "ErrorEquals": Array [ + "Retry": [ + { + "ErrorEquals": [ "States.ALL", ], }, ], "Type": "Parallel", }, - "if(input.a)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "if(input.a)": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -21312,20 +21312,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -21334,30 +21334,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -21370,16 +21370,16 @@ Object { "Next": "if(await $SFN.retry(function ()))", }, ], - "Default": "return \\"noop\\"", + "Default": "return "noop"", "Type": "Choice", }, - "return \\"noop\\"": Object { + "return "noop"": { "End": true, "Result": "noop", "ResultPath": "$", "Type": "Pass", }, - "return input.b": Object { + "return input.b": { "End": true, "InputPath": "$.input.b", "ResultPath": "$", @@ -21390,35 +21390,35 @@ Object { `; exports[`context 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return name: context.Execution.Name": Object { + "States": { + "1__return name: context.Execution.Name": { "End": true, "InputPath": "$.heap1.string", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return name: context.Execution.Name", - "Parameters": Object { + "Parameters": { "_.$": "$$.Execution.Input", - "fnl_context": Object { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "name: context.Execution.Name": Object { + "name: context.Execution.Name": { "Next": "1__return name: context.Execution.Name", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('name: {}',$.heap0)", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "return name: context.Execution.Name": Object { + "return name: context.Execution.Name": { "InputPath": "$$.Execution.Name", "Next": "name: context.Execution.Name", "ResultPath": "$.heap0", @@ -21429,114 +21429,114 @@ Object { `; exports[`continue break 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return ab": Object { + "States": { + "1__return ab": { "End": true, "InputPath": "$.heap10.string", "ResultPath": "$", "Type": "Pass", }, - "1a": Object { + "1a": { "Next": "a = 1a 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}1',$.heap0)", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "2a": Object { + "2a": { "Next": "a = 2a 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}2',$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "while (true)", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = 1a": Object { + "a = 1a": { "InputPath": "$.a", "Next": "1a", "ResultPath": "$.heap0", "Type": "Pass", }, - "a = 1a 1": Object { + "a = 1a 1": { "InputPath": "$.heap1.string", - "Next": "if(a !== \\"111\\")", + "Next": "if(a !== "111")", "ResultPath": "$.a", "Type": "Pass", }, - "a = 2a": Object { + "a = 2a": { "InputPath": "$.a", "Next": "2a", "ResultPath": "$.heap2", "Type": "Pass", }, - "a = 2a 1": Object { + "a = 2a 1": { "InputPath": "$.heap3.string", "Next": "while (true)", "ResultPath": "$.a", "Type": "Pass", }, - "ab": Object { + "ab": { "Next": "1__return ab", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap8,$.heap9)", }, "ResultPath": "$.heap10", "Type": "Pass", }, - "b": Object { + "b": { "InputPath": "$.b", "Next": "ab", "ResultPath": "$.heap9", "Type": "Pass", }, - "b = \\"\\"": Object { + "b = """: { "Next": "for(i of [1, 2, 3, 4])", "Result": "", "ResultPath": "$.b", "Type": "Pass", }, - "b = bi": Object { + "b = bi": { "InputPath": "$.b", "Next": "i 1", "ResultPath": "$.heap4", "Type": "Pass", }, - "b = bi 1": Object { + "b = bi 1": { "InputPath": "$.heap6.string", "Next": "if(i === 3)", "ResultPath": "$.b", "Type": "Pass", }, - "bi": Object { + "bi": { "Next": "b = bi 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap4,$.heap5)", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "for(i of [1, 2, 3, 4])": Object { + "for(i of [1, 2, 3, 4])": { "Next": "hasNext__for(i of [1, 2, 3, 4])", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -21545,9 +21545,9 @@ Object { "ResultPath": "$.heap7", "Type": "Pass", }, - "hasNext__for(i of [1, 2, 3, 4])": Object { - "Choices": Array [ - Object { + "hasNext__for(i of [1, 2, 3, 4])": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap7[0]", @@ -21556,42 +21556,42 @@ Object { "Default": "return ab", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap7[0]", "Next": "if(i === 1)", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "InputPath": "$.i", "Next": "bi", "ResultPath": "$.heap5", "Type": "Pass", }, - "if(a !== \\"111\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { + "if(a !== "111")": { + "Choices": [ + { + "And": [ + { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.a", }, - Object { + { "StringEquals": "111", "Variable": "$.a", }, @@ -21602,25 +21602,25 @@ Object { ], }, }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.a", }, - Object { + { "StringEquals": "11121", "Variable": "$.a", }, @@ -21631,29 +21631,29 @@ Object { ], }, ], - "Next": "b = \\"\\"", + "Next": "b = """, }, - Object { + { "Next": "while (true)", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.a", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.a", }, - Object { + { "StringEquals": "111", "Variable": "$.a", }, @@ -21668,27 +21668,27 @@ Object { "Default": "a = 2a", "Type": "Choice", }, - "if(i === 1)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 1)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 1, "Variable": "$.i", }, @@ -21703,27 +21703,27 @@ Object { "Default": "b = bi", "Type": "Choice", }, - "if(i === 3)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 3)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 3, "Variable": "$.i", }, @@ -21738,27 +21738,27 @@ Object { "Default": "tail__for(i of [1, 2, 3, 4])", "Type": "Choice", }, - "return ab": Object { + "return ab": { "InputPath": "$.a", "Next": "b", "ResultPath": "$.heap8", "Type": "Pass", }, - "tail__for(i of [1, 2, 3, 4])": Object { + "tail__for(i of [1, 2, 3, 4])": { "InputPath": "$.heap7[1:]", "Next": "hasNext__for(i of [1, 2, 3, 4])", "ResultPath": "$.heap7", "Type": "Pass", }, - "while (true)": Object { - "Choices": Array [ - Object { + "while (true)": { + "Choices": [ + { "IsNull": false, "Next": "a = 1a", "Variable": "$$.Execution.Id", }, ], - "Default": "b = \\"\\"", + "Default": "b = """, "Type": "Choice", }, }, @@ -21766,17 +21766,17 @@ Object { `; exports[`destructure 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).join()": Object { + "States": { + "1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).join()": { "ItemsPath": "$.heap6", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { - "Choices": Array [ - Object { + "States": { + "Default": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 1", "Variable": "$.item", @@ -21785,21 +21785,21 @@ Object { "Default": "format__Default", "Type": "Choice", }, - "assign__Default": Object { + "assign__Default": { "End": true, "InputPath": "$.heap12.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 1": Object { + "assign__Default 1": { "InputPath": "$.item", "Next": "assign__Default", "ResultPath": "$.heap12.str", "Type": "Pass", }, - "format__Default": Object { + "format__Default": { "Next": "assign__Default", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap12", @@ -21807,31 +21807,31 @@ Object { }, }, }, - "Next": "hasNext__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] }))", - "Parameters": Object { + "Next": "hasNext__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] }))", + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap10", "Type": "Map", }, - "1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).join() 1": Object { - "Next": "check__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).j", - "Parameters": Object { + "1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).join() 1": { + "Next": "check__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).j", + "Parameters": { "arr.$": "$.heap5", "arrStr": "[null", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "1__return aacc": Object { + "1__return aacc": { "InputPath": "$.heap9.string", - "Next": "handleResult__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ", + "Next": "handleResult__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ", "ResultPath": "$.heap6.arr[0]", "Type": "Pass", }, - "1__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": Object { + "1__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": { "End": true, - "Parameters": Object { + "Parameters": { "forV.$": "$.heap40", "map.$": "$.heap39", "prop.$": "$.heap28", @@ -21841,237 +21841,237 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV 1": Object { + "1__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV 1": { "InputPath": "$.heap27.string", "Next": "zwvxsuttserRra[0]", "ResultPath": "$.heap28", "Type": "Pass", }, - "3__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": Object { + "3__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": { "InputPath": "$.heap37.string", "Next": "4__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV", "ResultPath": "$.heap38", "Type": "Pass", }, - "4__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": Object { + "4__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": { "InputPath": "$.map", "Next": "5__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV", "ResultPath": "$.heap39", "Type": "Pass", }, - "5__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": Object { + "5__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": { "InputPath": "$.forV", "Next": "6__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV", "ResultPath": "$.heap40", "Type": "Pass", }, - "6__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": Object { + "6__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV": { "InputPath": "$.tr", "Next": "1__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV", "ResultPath": "$.heap41", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "{ a, bb: { value: b, [\\"a\\"\\"b\\"]: r }, c = \\"what\\", m = c, arr: [ d, , e, arrRe", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "{ a, bb: { value: b, ["a""b"]: r }, c = "what", m = c, arr: [ d, , e, arrRe", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[ d, , e, arrRest ]": Object { + "[ d, , e, arrRest ]": { "InputPath": "$$.Execution.Input['arr'][0]", "Next": "e", "ResultPath": "$.d", "Type": "Pass", }, - "[ s, , u, tserRra ]": Object { + "[ s, , u, tserRra ]": { "InputPath": "$.value['rra'][0]", "Next": "u", "ResultPath": "$.s", "Type": "Pass", }, - "aacc": Object { + "aacc": { "Next": "1__return aacc", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap7,$.heap8)", }, "ResultPath": "$.heap9", "Type": "Pass", }, - "abcdefarrRest[0]rm": Object { + "abcdefarrRest[0]rm": { "Next": "1__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}{}{}{}{}{}{}',$.heap18,$.heap19,$.heap20,$.heap21,$.heap22,$.heap23,$.heap24,$.heap25,$.heap26)", }, "ResultPath": "$.heap27", "Type": "Pass", }, - "append__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).": Object { - "Next": "tail__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).jo 1", - "Parameters": Object { + "append__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).": { + "Next": "tail__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).jo 1", + "Parameters": { "string.$": "States.Format('{},{}', $.heap11.string, $.heap10[0])", }, "ResultPath": "$.heap11", "Type": "Pass", }, - "arrRest": Object { + "arrRest": { "InputPath": "$$.Execution.Input['arr'][3:]", - "Next": "f = \\"sir\\"", + "Next": "f = "sir"", "ResultPath": "$.arrRest", "Type": "Pass", }, - "arrRest[0]": Object { + "arrRest[0]": { "InputPath": "$.arrRest[0]", "Next": "r 1", "ResultPath": "$.heap24", "Type": "Pass", }, - "b": Object { + "b": { "InputPath": "$.b", "Next": "c 1", "ResultPath": "$.heap19", "Type": "Pass", }, - "c": Object { + "c": { "InputPath": "$.heap0", "Next": "m = c", "ResultPath": "$.c", "Type": "Pass", }, - "c 1": Object { + "c 1": { "InputPath": "$.c", "Next": "d", "ResultPath": "$.heap20", "Type": "Pass", }, - "c = \\"what\\"": Object { - "Choices": Array [ - Object { + "c = "what"": { + "Choices": [ + { "IsPresent": true, - "Next": "value__c = \\"what\\"", + "Next": "value__c = "what"", "Variable": "$$.Execution.Input['c']", }, ], - "Default": "default__c = \\"what\\"", + "Default": "default__c = "what"", "Type": "Choice", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.fnl_tmp_1['message']", "Next": "tr = message", "ResultPath": "$.message", "Type": "Pass", }, - "cc": Object { + "cc": { "InputPath": "$.heap6.arr[0]['bb'][0]", "Next": "return aacc", "ResultPath": "$.cc", "Type": "Pass", }, - "cc 1": Object { + "cc 1": { "InputPath": "$.cc", "Next": "aacc", "ResultPath": "$.heap8", "Type": "Pass", }, - "check__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).j": Object { - "Choices": Array [ - Object { + "check__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).j": { + "Choices": [ + { "IsPresent": true, "Next": "{ aa, bb: [ cc ] }", "Variable": "$.heap6.arr[0]", }, ], - "Default": "end__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).joi", + "Default": "end__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).joi", "Type": "Choice", }, - "d": Object { + "d": { "InputPath": "$.d", "Next": "e 1", "ResultPath": "$.heap21", "Type": "Pass", }, - "default__c = \\"what\\"": Object { + "default__c = "what"": { "Next": "c", "Result": "what", "ResultPath": "$.heap0", "Type": "Pass", }, - "default__f = \\"sir\\"": Object { + "default__f = "sir"": { "Next": "f", "Result": "sir", "ResultPath": "$.heap2", "Type": "Pass", }, - "default__m = c": Object { + "default__m = c": { "InputPath": "$.c", "Next": "m", "ResultPath": "$.heap1", "Type": "Pass", }, - "default__t = \\"sir\\"": Object { + "default__t = "sir"": { "Next": "t", "Result": "sir", "ResultPath": "$.heap4", "Type": "Pass", }, - "default__x = \\"what\\"": Object { + "default__x = "what"": { "Next": "x", "Result": "what", "ResultPath": "$.heap3", "Type": "Pass", }, - "e": Object { + "e": { "InputPath": "$$.Execution.Input['arr'][2]", "Next": "arrRest", "ResultPath": "$.e", "Type": "Pass", }, - "e 1": Object { + "e 1": { "InputPath": "$.e", "Next": "f 1", "ResultPath": "$.heap22", "Type": "Pass", }, - "end__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).joi": Object { - "Next": "set__end__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })", - "Parameters": Object { + "end__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).joi": { + "Next": "set__end__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })", + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap6.arrStr))", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "f": Object { + "f": { "InputPath": "$.heap2", "Next": "value", "ResultPath": "$.f", "Type": "Pass", }, - "f 1": Object { + "f 1": { "InputPath": "$.f", "Next": "arrRest[0]", "ResultPath": "$.heap23", "Type": "Pass", }, - "f = \\"sir\\"": Object { - "Choices": Array [ - Object { + "f = "sir"": { + "Choices": [ + { "IsPresent": true, - "Next": "value__f = \\"sir\\"", + "Next": "value__f = "sir"", "Variable": "$$.Execution.Input['arr2'][0]", }, ], - "Default": "default__f = \\"sir\\"", + "Default": "default__f = "sir"", "Type": "Choice", }, - "for({ h, j: [ l ] } of [{h: \\"a\\", j: [\\"b\\"]}])": Object { - "Next": "hasNext__for({ h, j: [ l ] } of [{h: \\"a\\", j: [\\"b\\"]}])", - "Result": Array [ - Object { + "for({ h, j: [ l ] } of [{h: "a", j: ["b"]}])": { + "Next": "hasNext__for({ h, j: [ l ] } of [{h: "a", j: ["b"]}])", + "Result": [ + { "h": "a", - "j": Array [ + "j": [ "b", ], }, @@ -22079,89 +22079,89 @@ Object { "ResultPath": "$.heap17", "Type": "Pass", }, - "forV = \\"\\"": Object { - "Next": "for({ h, j: [ l ] } of [{h: \\"a\\", j: [\\"b\\"]}])", + "forV = """: { + "Next": "for({ h, j: [ l ] } of [{h: "a", j: ["b"]}])", "Result": "", "ResultPath": "$.forV", "Type": "Pass", }, - "forV = forVhl": Object { + "forV = forVhl": { "InputPath": "$.forV", "Next": "h", "ResultPath": "$.heap13", "Type": "Pass", }, - "forV = forVhl 1": Object { + "forV = forVhl 1": { "InputPath": "$.heap16.string", - "Next": "tail__for({ h, j: [ l ] } of [{h: \\"a\\", j: [\\"b\\"]}])", + "Next": "tail__for({ h, j: [ l ] } of [{h: "a", j: ["b"]}])", "ResultPath": "$.forV", "Type": "Pass", }, - "forVhl": Object { + "forVhl": { "Next": "forV = forVhl 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}',$.heap13,$.heap14,$.heap15)", }, "ResultPath": "$.heap16", "Type": "Pass", }, - "h": Object { + "h": { "InputPath": "$.h", "Next": "l 1", "ResultPath": "$.heap14", "Type": "Pass", }, - "handleResult__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ": Object { - "Next": "check__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).j", - "Parameters": Object { + "handleResult__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ": { + "Next": "check__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).j", + "Parameters": { "arr.$": "$.heap6.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap6.arrStr, States.JsonToString($.heap6.arr[0]))", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "hasNext__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] }))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] }))": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap10[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap11", }, }, ], - "Next": "initValue__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] }", + "Next": "initValue__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] }", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap10[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap11", }, ], - "Next": "returnEmpty__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ]", + "Next": "returnEmpty__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ]", }, - Object { + { "IsPresent": true, - "Next": "append__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).", + "Next": "append__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).", "Variable": "$.heap10[0]", }, ], "Default": "map", "Type": "Choice", }, - "hasNext__for({ h, j: [ l ] } of [{h: \\"a\\", j: [\\"b\\"]}])": Object { - "Choices": Array [ - Object { + "hasNext__for({ h, j: [ l ] } of [{h: "a", j: ["b"]}])": { + "Choices": [ + { "IsPresent": true, "Next": "{ h, j: [ l ] }", "Variable": "$.heap17[0]", @@ -22170,39 +22170,39 @@ Object { "Default": "try", "Type": "Choice", }, - "initValue__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] }": Object { + "initValue__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] }": { "InputPath": "$.heap10[0]", - "Next": "tail__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).jo 1", + "Next": "tail__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).jo 1", "ResultPath": "$.heap11.string", "Type": "Pass", }, - "l": Object { + "l": { "InputPath": "$.heap17[0]['j'][0]", "Next": "forV = forVhl", "ResultPath": "$.l", "Type": "Pass", }, - "l 1": Object { + "l 1": { "InputPath": "$.l", "Next": "forVhl", "ResultPath": "$.heap15", "Type": "Pass", }, - "m": Object { + "m": { "InputPath": "$.heap1", "Next": "[ d, , e, arrRest ]", "ResultPath": "$.m", "Type": "Pass", }, - "m 1": Object { + "m 1": { "InputPath": "$.m", "Next": "abcdefarrRest[0]rm", "ResultPath": "$.heap26", "Type": "Pass", }, - "m = c": Object { - "Choices": Array [ - Object { + "m = c": { + "Choices": [ + { "IsPresent": true, "Next": "value__m = c", "Variable": "$$.Execution.Input['m']", @@ -22211,18 +22211,18 @@ Object { "Default": "default__m = c", "Type": "Choice", }, - "map": Object { + "map": { "InputPath": "$.heap11.string", - "Next": "forV = \\"\\"", + "Next": "forV = """, "ResultPath": "$.map", "Type": "Pass", }, - "map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).join()": Object { - "Next": "1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).join() 1", - "Result": Array [ - Object { + "map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).join()": { + "Next": "1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).join() 1", + "Result": [ + { "aa": "a", - "bb": Array [ + "bb": [ "b", ], }, @@ -22230,245 +22230,245 @@ Object { "ResultPath": "$.heap5", "Type": "Pass", }, - "r": Object { + "r": { "InputPath": "$$.Execution.Input['bb']['ab']", - "Next": "c = \\"what\\"", + "Next": "c = "what"", "ResultPath": "$.r", "Type": "Pass", }, - "r 1": Object { + "r 1": { "InputPath": "$.r", "Next": "m 1", "ResultPath": "$.heap25", "Type": "Pass", }, - "return aacc": Object { + "return aacc": { "InputPath": "$.aa", "Next": "cc 1", "ResultPath": "$.heap7", "Type": "Pass", }, - "return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV: f": Object { + "return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV: f": { "InputPath": "$.a", "Next": "b", "ResultPath": "$.heap18", "Type": "Pass", }, - "returnEmpty__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ]": Object { + "returnEmpty__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ]": { "Next": "map", "Result": "", "ResultPath": "$.heap11.string", "Type": "Pass", }, - "s": Object { + "s": { "InputPath": "$.s", "Next": "u 1", "ResultPath": "$.heap33", "Type": "Pass", }, - "set__end__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })": Object { + "set__end__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })": { "InputPath": "$.heap6.result[1:]", - "Next": "1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).join()", + "Next": "1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).join()", "ResultPath": "$.heap6", "Type": "Pass", }, - "t": Object { + "t": { "InputPath": "$.heap4", - "Next": "map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).join()", + "Next": "map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).join()", "ResultPath": "$.t", "Type": "Pass", }, - "t 1": Object { + "t 1": { "InputPath": "$.t", "Next": "tserRra[0]", "ResultPath": "$.heap35", "Type": "Pass", }, - "t = \\"sir\\"": Object { - "Choices": Array [ - Object { + "t = "sir"": { + "Choices": [ + { "IsPresent": true, - "Next": "value__t = \\"sir\\"", + "Next": "value__t = "sir"", "Variable": "$.value['rra2'][0]", }, ], - "Default": "default__t = \\"sir\\"", + "Default": "default__t = "sir"", "Type": "Choice", }, - "tail__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] })).jo 1": Object { + "tail__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] })).jo 1": { "InputPath": "$.heap10[1:]", - "Next": "hasNext__1__map = [{aa: \\"a\\", bb: [\\"b\\"]}].map(function ({ aa, bb: [ cc ] }))", + "Next": "hasNext__1__map = [{aa: "a", bb: ["b"]}].map(function ({ aa, bb: [ cc ] }))", "ResultPath": "$.heap10", "Type": "Pass", }, - "tail__for({ h, j: [ l ] } of [{h: \\"a\\", j: [\\"b\\"]}])": Object { + "tail__for({ h, j: [ l ] } of [{h: "a", j: ["b"]}])": { "InputPath": "$.heap17[1:]", - "Next": "hasNext__for({ h, j: [ l ] } of [{h: \\"a\\", j: [\\"b\\"]}])", + "Next": "hasNext__for({ h, j: [ l ] } of [{h: "a", j: ["b"]}])", "ResultPath": "$.heap17", "Type": "Pass", }, - "tr = message": Object { + "tr = message": { "InputPath": "$.message", "Next": "return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV: f", "ResultPath": "$.tr", "Type": "Pass", }, - "try": Object { + "try": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "hi", }, "ResultPath": "$.fnl_tmp_1", "Type": "Pass", }, - "tserRra": Object { + "tserRra": { "InputPath": "$.value['rra'][3:]", - "Next": "t = \\"sir\\"", + "Next": "t = "sir"", "ResultPath": "$.tserRra", "Type": "Pass", }, - "tserRra[0]": Object { + "tserRra[0]": { "InputPath": "$.tserRra[0]", "Next": "zwvxsuttserRra[0] 1", "ResultPath": "$.heap36", "Type": "Pass", }, - "u": Object { + "u": { "InputPath": "$.value['rra'][2]", "Next": "tserRra", "ResultPath": "$.u", "Type": "Pass", }, - "u 1": Object { + "u 1": { "InputPath": "$.u", "Next": "t 1", "ResultPath": "$.heap34", "Type": "Pass", }, - "v": Object { + "v": { "InputPath": "$.value['yy']['ab']", - "Next": "x = \\"what\\"", + "Next": "x = "what"", "ResultPath": "$.v", "Type": "Pass", }, - "v 1": Object { + "v 1": { "InputPath": "$.v", "Next": "x 1", "ResultPath": "$.heap31", "Type": "Pass", }, - "value": Object { + "value": { "InputPath": "$$.Execution.Input['value']", - "Next": "{ z, yy: { [\\"value\\"]: w, [\\"a\\"\\"b\\"]: v }, x = \\"what\\", rra: [ s, , u, tserRra ", + "Next": "{ z, yy: { ["value"]: w, ["a""b"]: v }, x = "what", rra: [ s, , u, tserRra ", "ResultPath": "$.value", "Type": "Pass", }, - "value__c = \\"what\\"": Object { + "value__c = "what"": { "InputPath": "$$.Execution.Input['c']", "Next": "c", "ResultPath": "$.heap0", "Type": "Pass", }, - "value__f = \\"sir\\"": Object { + "value__f = "sir"": { "InputPath": "$$.Execution.Input['arr2'][0]", "Next": "f", "ResultPath": "$.heap2", "Type": "Pass", }, - "value__m = c": Object { + "value__m = c": { "InputPath": "$$.Execution.Input['m']", "Next": "m", "ResultPath": "$.heap1", "Type": "Pass", }, - "value__t = \\"sir\\"": Object { + "value__t = "sir"": { "InputPath": "$.value['rra2'][0]", "Next": "t", "ResultPath": "$.heap4", "Type": "Pass", }, - "value__x = \\"what\\"": Object { + "value__x = "what"": { "InputPath": "$.value['x']", "Next": "x", "ResultPath": "$.heap3", "Type": "Pass", }, - "w": Object { + "w": { "InputPath": "$.w", "Next": "v 1", "ResultPath": "$.heap30", "Type": "Pass", }, - "x": Object { + "x": { "InputPath": "$.heap3", "Next": "[ s, , u, tserRra ]", "ResultPath": "$.x", "Type": "Pass", }, - "x 1": Object { + "x 1": { "InputPath": "$.x", "Next": "s", "ResultPath": "$.heap32", "Type": "Pass", }, - "x = \\"what\\"": Object { - "Choices": Array [ - Object { + "x = "what"": { + "Choices": [ + { "IsPresent": true, - "Next": "value__x = \\"what\\"", + "Next": "value__x = "what"", "Variable": "$.value['x']", }, ], - "Default": "default__x = \\"what\\"", + "Default": "default__x = "what"", "Type": "Choice", }, - "zwvxsuttserRra[0]": Object { + "zwvxsuttserRra[0]": { "InputPath": "$.z", "Next": "w", "ResultPath": "$.heap29", "Type": "Pass", }, - "zwvxsuttserRra[0] 1": Object { + "zwvxsuttserRra[0] 1": { "Next": "3__return {prop: abcdefarrRest[0]rm, var: zwvxsuttserRra[0], map: map, forV", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}{}{}{}{}{}',$.heap29,$.heap30,$.heap31,$.heap32,$.heap33,$.heap34,$.heap35,$.heap36)", }, "ResultPath": "$.heap37", "Type": "Pass", }, - "{ [\\"value\\"]: w, [\\"a\\"\\"b\\"]: v }": Object { + "{ ["value"]: w, ["a""b"]: v }": { "InputPath": "$.value['yy']['value']", "Next": "v", "ResultPath": "$.w", "Type": "Pass", }, - "{ a, bb: { value: b, [\\"a\\"\\"b\\"]: r }, c = \\"what\\", m = c, arr: [ d, , e, arrRe": Object { + "{ a, bb: { value: b, ["a""b"]: r }, c = "what", m = c, arr: [ d, , e, arrRe": { "InputPath": "$$.Execution.Input['a']", - "Next": "{ value: b, [\\"a\\"\\"b\\"]: r }", + "Next": "{ value: b, ["a""b"]: r }", "ResultPath": "$.a", "Type": "Pass", }, - "{ aa, bb: [ cc ] }": Object { + "{ aa, bb: [ cc ] }": { "InputPath": "$.heap6.arr[0]['aa']", "Next": "cc", "ResultPath": "$.aa", "Type": "Pass", }, - "{ h, j: [ l ] }": Object { + "{ h, j: [ l ] }": { "InputPath": "$.heap17[0]['h']", "Next": "l", "ResultPath": "$.h", "Type": "Pass", }, - "{ value: b, [\\"a\\"\\"b\\"]: r }": Object { + "{ value: b, ["a""b"]: r }": { "InputPath": "$$.Execution.Input['bb']['value']", "Next": "r", "ResultPath": "$.b", "Type": "Pass", }, - "{ z, yy: { [\\"value\\"]: w, [\\"a\\"\\"b\\"]: v }, x = \\"what\\", rra: [ s, , u, tserRra ": Object { + "{ z, yy: { ["value"]: w, ["a""b"]: v }, x = "what", rra: [ s, , u, tserRra ": { "InputPath": "$.value['z']", - "Next": "{ [\\"value\\"]: w, [\\"a\\"\\"b\\"]: v }", + "Next": "{ ["value"]: w, ["a""b"]: v }", "ResultPath": "$.z", "Type": "Pass", }, @@ -22477,20 +22477,20 @@ Object { `; exports[`duplicate nodes 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "return \\"hello world\\"", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "return "hello world"", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return \\"hello world\\"": Object { + "return "hello world"": { "End": true, "Result": "hello world", "ResultPath": "$", @@ -22501,57 +22501,57 @@ Object { `; exports[`filter 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.waitFor(1)": Object { + "States": { + "$SFN.waitFor(1)": { "Next": "return itemKey === hikey", "Seconds": 1, "Type": "Wait", }, - "1__return x <= index || first === x": Object { + "1__return x <= index || first === x": { "InputPath": "$.heap8", "Next": "handleResult__[4, 3, 2, 1].filter(function (x,index,[ first ]))", "ResultPath": "$.heap7", "Type": "Pass", }, - "1__return {arr1: arr1, arr2: arr2}": Object { + "1__return {arr1: arr1, arr2: arr2}": { "End": true, - "Parameters": Object { + "Parameters": { "arr1.$": "$.heap9", "arr2.$": "$.heap10", }, "ResultPath": "$", "Type": "Pass", }, - "1__return {arr1: arr1, arr2: arr2} 1": Object { + "1__return {arr1: arr1, arr2: arr2} 1": { "InputPath": "$.arr2", "Next": "1__return {arr1: arr1, arr2: arr2}", "ResultPath": "$.heap10", "Type": "Pass", }, - "2__return itemKey === hikey": Object { + "2__return itemKey === hikey": { "InputPath": "$.heap4", "Next": "handleResult__arr1 = arr.filter(function ({ value })).filter(function ({ va", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "{ arr, key }", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[4, 3, 2, 1].filter(function (x,index,[ first ]))": Object { + "[4, 3, 2, 1].filter(function (x,index,[ first ]))": { "ItemsPath": "$.heap5", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -22559,41 +22559,41 @@ Object { }, }, "Next": "check__[4, 3, 2, 1].filter(function (x,index,[ first ]))", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap6", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", "arrStr": "[null", }, "Type": "Map", }, - "arr1": Object { + "arr1": { "InputPath": "$.heap0", "Next": "arr2 = [4, 3, 2, 1].filter(function (x,index,[ first ]))", "ResultPath": "$.arr1", "Type": "Pass", }, - "arr1 = arr.filter(function ({ value })).filter(function ({ value })).filter": Object { + "arr1 = arr.filter(function ({ value })).filter(function ({ value })).filter": { "Next": "check__arr1 = arr.filter(function ({ value })).filter(function ({ value }))", - "Parameters": Object { + "Parameters": { "arr.$": "$.arr[?(@['value']<=3)][?(@['value']<=$.key)]", "arrStr": "[null", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "arr2": Object { + "arr2": { "InputPath": "$.heap6", "Next": "return {arr1: arr1, arr2: arr2}", "ResultPath": "$.arr2", "Type": "Pass", }, - "arr2 = [4, 3, 2, 1].filter(function (x,index,[ first ]))": Object { + "arr2 = [4, 3, 2, 1].filter(function (x,index,[ first ]))": { "Next": "[4, 3, 2, 1].filter(function (x,index,[ first ]))", - "Result": Array [ + "Result": [ 4, 3, 2, @@ -22602,9 +22602,9 @@ Object { "ResultPath": "$.heap5", "Type": "Pass", }, - "check__[4, 3, 2, 1].filter(function (x,index,[ first ]))": Object { - "Choices": Array [ - Object { + "check__[4, 3, 2, 1].filter(function (x,index,[ first ]))": { + "Choices": [ + { "IsPresent": true, "Next": "function (x,index,[ first ])", "Variable": "$.heap6.arr[0]", @@ -22613,9 +22613,9 @@ Object { "Default": "end__[4, 3, 2, 1].filter(function (x,index,[ first ]))", "Type": "Choice", }, - "check__arr1 = arr.filter(function ({ value })).filter(function ({ value }))": Object { - "Choices": Array [ - Object { + "check__arr1 = arr.filter(function ({ value })).filter(function ({ value }))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -22624,78 +22624,78 @@ Object { "Default": "end__arr1 = arr.filter(function ({ value })).filter(function ({ value })).f", "Type": "Choice", }, - "end__[4, 3, 2, 1].filter(function (x,index,[ first ]))": Object { + "end__[4, 3, 2, 1].filter(function (x,index,[ first ]))": { "Next": "set__end__[4, 3, 2, 1].filter(function (x,index,[ first ]))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap6.arrStr))", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "end__arr1 = arr.filter(function ({ value })).filter(function ({ value })).f": Object { + "end__arr1 = arr.filter(function ({ value })).filter(function ({ value })).f": { "Next": "set__end__arr1 = arr.filter(function ({ value })).filter(function ({ value ", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "false__itemKey === hikey": Object { + "false__itemKey === hikey": { "Next": "2__return itemKey === hikey", "Result": false, "ResultPath": "$.heap4", "Type": "Pass", }, - "false__return x <= index || first === x": Object { + "false__return x <= index || first === x": { "Next": "1__return x <= index || first === x", "Result": false, "ResultPath": "$.heap8", "Type": "Pass", }, - "first": Object { + "first": { "InputPath": "$.heap5[0]", "Next": "return x <= index || first === x", "ResultPath": "$.first", "Type": "Pass", }, - "function (x,index,[ first ])": Object { + "function (x,index,[ first ])": { "InputPath": "$.heap6.arr[0].item", "Next": "index", "ResultPath": "$.x", "Type": "Pass", }, - "handleResult__[4, 3, 2, 1].filter(function (x,index,[ first ]))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "handleResult__[4, 3, 2, 1].filter(function (x,index,[ first ]))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap7", }, - Object { + { "IsNull": false, "Variable": "$.heap7", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap7", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap7", }, - Object { + { "StringEquals": "", "Variable": "$.heap7", }, @@ -22704,20 +22704,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap7", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap7", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap7", }, @@ -22726,30 +22726,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap7", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap7", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap7", }, - Object { + { "IsNumeric": true, "Variable": "$.heap7", }, - Object { + { "IsString": true, "Variable": "$.heap7", }, @@ -22765,38 +22765,38 @@ Object { "Default": "tail__[4, 3, 2, 1].filter(function (x,index,[ first ]))", "Type": "Choice", }, - "handleResult__arr1 = arr.filter(function ({ value })).filter(function ({ va": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "handleResult__arr1 = arr.filter(function ({ value })).filter(function ({ va": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap1", }, - Object { + { "IsNull": false, "Variable": "$.heap1", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap1", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap1", }, - Object { + { "StringEquals": "", "Variable": "$.heap1", }, @@ -22805,20 +22805,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap1", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap1", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap1", }, @@ -22827,30 +22827,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap1", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap1", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap1", }, - Object { + { "IsNumeric": true, "Variable": "$.heap1", }, - Object { + { "IsString": true, "Variable": "$.heap1", }, @@ -22866,110 +22866,110 @@ Object { "Default": "tail__arr1 = arr.filter(function ({ value })).filter(function ({ value })).", "Type": "Choice", }, - "hikey": Object { + "hikey": { "Next": "itemKey === hikey", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('hi{}',$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "index": Object { + "index": { "InputPath": "$.heap6.arr[0].index", "Next": "first", "ResultPath": "$.index", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "{ key: itemKey } = item", "ResultPath": "$.item", "Type": "Pass", }, - "itemKey === hikey": Object { - "Choices": Array [ - Object { + "itemKey === hikey": { + "Choices": [ + { "Next": "true__itemKey === hikey", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.itemKey", }, - Object { + { "IsPresent": false, "Variable": "$.heap3.string", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.itemKey", }, - Object { + { "IsPresent": true, "Variable": "$.heap3.string", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.itemKey", }, - Object { + { "IsNull": true, "Variable": "$.heap3.string", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.itemKey", }, - Object { + { "IsNull": false, "Variable": "$.heap3.string", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.itemKey", }, - Object { + { "StringEqualsPath": "$.heap3.string", "Variable": "$.itemKey", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.itemKey", }, - Object { + { "BooleanEqualsPath": "$.heap3.string", "Variable": "$.itemKey", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.itemKey", }, - Object { + { "NumericEqualsPath": "$.heap3.string", "Variable": "$.itemKey", }, @@ -22989,82 +22989,82 @@ Object { "Default": "false__itemKey === hikey", "Type": "Choice", }, - "key": Object { + "key": { "InputPath": "$$.Execution.Input['key']", "Next": "arr1 = arr.filter(function ({ value })).filter(function ({ value })).filter", "ResultPath": "$.key", "Type": "Pass", }, - "predicateTrue__handleResult__[4, 3, 2, 1].filter(function (x,index,[ first ": Object { + "predicateTrue__handleResult__[4, 3, 2, 1].filter(function (x,index,[ first ": { "Next": "check__[4, 3, 2, 1].filter(function (x,index,[ first ]))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap6.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap6.arrStr, States.JsonToString($.heap6.arr[0].item))", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "predicateTrue__handleResult__arr1 = arr.filter(function ({ value })).filter": Object { + "predicateTrue__handleResult__arr1 = arr.filter(function ({ value })).filter": { "Next": "check__arr1 = arr.filter(function ({ value })).filter(function ({ value }))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "return itemKey === hikey": Object { + "return itemKey === hikey": { "InputPath": "$.key", "Next": "hikey", "ResultPath": "$.heap2", "Type": "Pass", }, - "return x <= index || first === x": Object { - "Choices": Array [ - Object { + "return x <= index || first === x": { + "Choices": [ + { "Next": "true__return x <= index || first === x", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.x", }, - Object { + { "IsPresent": true, "Variable": "$.index", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.x", }, - Object { + { "IsNull": false, "Variable": "$.index", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.x", }, - Object { + { "StringLessThanEqualsPath": "$.index", "Variable": "$.x", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.x", }, - Object { + { "NumericLessThanEqualsPath": "$.index", "Variable": "$.x", }, @@ -23076,87 +23076,87 @@ Object { }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.first", }, - Object { + { "IsPresent": false, "Variable": "$.x", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.first", }, - Object { + { "IsPresent": true, "Variable": "$.x", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.first", }, - Object { + { "IsNull": true, "Variable": "$.x", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.first", }, - Object { + { "IsNull": false, "Variable": "$.x", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.first", }, - Object { + { "StringEqualsPath": "$.x", "Variable": "$.first", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.first", }, - Object { + { "BooleanEqualsPath": "$.x", "Variable": "$.first", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.first", }, - Object { + { "NumericEqualsPath": "$.x", "Variable": "$.first", }, @@ -23178,55 +23178,55 @@ Object { "Default": "false__return x <= index || first === x", "Type": "Choice", }, - "return {arr1: arr1, arr2: arr2}": Object { + "return {arr1: arr1, arr2: arr2}": { "InputPath": "$.arr1", "Next": "1__return {arr1: arr1, arr2: arr2} 1", "ResultPath": "$.heap9", "Type": "Pass", }, - "set__end__[4, 3, 2, 1].filter(function (x,index,[ first ]))": Object { + "set__end__[4, 3, 2, 1].filter(function (x,index,[ first ]))": { "InputPath": "$.heap6.result[1:]", "Next": "arr2", "ResultPath": "$.heap6", "Type": "Pass", }, - "set__end__arr1 = arr.filter(function ({ value })).filter(function ({ value ": Object { + "set__end__arr1 = arr.filter(function ({ value })).filter(function ({ value ": { "InputPath": "$.heap0.result[1:]", "Next": "arr1", "ResultPath": "$.heap0", "Type": "Pass", }, - "tail__[4, 3, 2, 1].filter(function (x,index,[ first ]))": Object { + "tail__[4, 3, 2, 1].filter(function (x,index,[ first ]))": { "InputPath": "$.heap6.arr[1:]", "Next": "check__[4, 3, 2, 1].filter(function (x,index,[ first ]))", "ResultPath": "$.heap6.arr", "Type": "Pass", }, - "tail__arr1 = arr.filter(function ({ value })).filter(function ({ value })).": Object { + "tail__arr1 = arr.filter(function ({ value })).filter(function ({ value })).": { "InputPath": "$.heap0.arr[1:]", "Next": "check__arr1 = arr.filter(function ({ value })).filter(function ({ value }))", "ResultPath": "$.heap0.arr", "Type": "Pass", }, - "true__itemKey === hikey": Object { + "true__itemKey === hikey": { "Next": "2__return itemKey === hikey", "Result": true, "ResultPath": "$.heap4", "Type": "Pass", }, - "true__return x <= index || first === x": Object { + "true__return x <= index || first === x": { "Next": "1__return x <= index || first === x", "Result": true, "ResultPath": "$.heap8", "Type": "Pass", }, - "{ arr, key }": Object { + "{ arr, key }": { "InputPath": "$$.Execution.Input['arr']", "Next": "key", "ResultPath": "$.arr", "Type": "Pass", }, - "{ key: itemKey } = item": Object { + "{ key: itemKey } = item": { "InputPath": "$.item['key']", "Next": "$SFN.waitFor(1)", "ResultPath": "$.itemKey", @@ -23237,41 +23237,41 @@ Object { `; exports[`for 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(arr = input.arr;arr[0];arr = arr.slice(1))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "States": { + "1__for(arr = input.arr;arr[0];arr = arr.slice(1))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.arr[0]", }, - Object { + { "IsNull": false, "Variable": "$.arr[0]", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.arr[0]", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.arr[0]", }, - Object { + { "StringEquals": "", "Variable": "$.arr[0]", }, @@ -23280,20 +23280,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.arr[0]", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.arr[0]", }, - Object { + { "NumericEquals": 0, "Variable": "$.arr[0]", }, @@ -23302,30 +23302,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.arr[0]", }, - Object { + { "BooleanEquals": true, "Variable": "$.arr[0]", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.arr[0]", }, - Object { + { "IsNumeric": true, "Variable": "$.arr[0]", }, - Object { + { "IsString": true, "Variable": "$.arr[0]", }, @@ -23338,29 +23338,29 @@ Object { "Next": "a = naarr[0]", }, ], - "Default": "c = \\"\\"", + "Default": "c = """, "Type": "Choice", }, - "1c": Object { + "1c": { "Next": "c = 1c 2", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}1',$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "1c 1": Object { + "1c 1": { "Next": "c = 1c 3", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}1',$.heap8)", }, "ResultPath": "$.heap9", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -23368,119 +23368,119 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "for(arr = input.arr;arr[0];arr = arr.slice(1))", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = cac": Object { + "a = cac": { "InputPath": "$.a", "Next": "c", "ResultPath": "$.heap5", "Type": "Pass", }, - "a = cac 1": Object { + "a = cac 1": { "InputPath": "$.heap7.string", "Next": "c = 1c", "ResultPath": "$.a", "Type": "Pass", }, - "a = naarr[0]": Object { + "a = naarr[0]": { "InputPath": "$.a", "Next": "arr[0]", "ResultPath": "$.heap0", "Type": "Pass", }, - "a = naarr[0] 1": Object { + "a = naarr[0] 1": { "InputPath": "$.heap2.string", "Next": "arr = arr.slice(1)", "ResultPath": "$.a", "Type": "Pass", }, - "arr = arr.slice(1)": Object { + "arr = arr.slice(1)": { "InputPath": "$.arr[1:]", "Next": "1__for(arr = input.arr;arr[0];arr = arr.slice(1))", "ResultPath": "$.arr", "Type": "Pass", }, - "arr[0]": Object { + "arr[0]": { "InputPath": "$.arr[0]", "Next": "naarr[0]", "ResultPath": "$.heap1", "Type": "Pass", }, - "c": Object { + "c": { "InputPath": "$.c", "Next": "cac", "ResultPath": "$.heap6", "Type": "Pass", }, - "c = \\"\\"": Object { - "Next": "if(c === \\"1\\")", + "c = """: { + "Next": "if(c === "1")", "Result": "", "ResultPath": "$.c", "Type": "Pass", }, - "c = 1c": Object { + "c = 1c": { "InputPath": "$.c", "Next": "1c 1", "ResultPath": "$.heap8", "Type": "Pass", }, - "c = 1c 1": Object { + "c = 1c 1": { "InputPath": "$.c", "Next": "1c", "ResultPath": "$.heap3", "Type": "Pass", }, - "c = 1c 2": Object { + "c = 1c 2": { "InputPath": "$.heap4.string", - "Next": "if(c === \\"1\\")", + "Next": "if(c === "1")", "ResultPath": "$.c", "Type": "Pass", }, - "c = 1c 3": Object { + "c = 1c 3": { "InputPath": "$.heap9.string", - "Next": "if(c === \\"1\\")", + "Next": "if(c === "1")", "ResultPath": "$.c", "Type": "Pass", }, - "cac": Object { + "cac": { "Next": "a = cac 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}c{}',$.heap5,$.heap6)", }, "ResultPath": "$.heap7", "Type": "Pass", }, - "for(arr = input.arr;arr[0];arr = arr.slice(1))": Object { + "for(arr = input.arr;arr[0];arr = arr.slice(1))": { "InputPath": "$.input.arr", "Next": "1__for(arr = input.arr;arr[0];arr = arr.slice(1))", "ResultPath": "$.arr", "Type": "Pass", }, - "if(c === \\"1\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(c === "1")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.c", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.c", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.c", }, - Object { + { "StringEquals": "1", "Variable": "$.c", }, @@ -23491,25 +23491,25 @@ Object { ], "Next": "c = 1c 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.c", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.c", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.c", }, - Object { + { "StringEquals": "111", "Variable": "$.c", }, @@ -23524,15 +23524,15 @@ Object { "Default": "a = cac", "Type": "Choice", }, - "naarr[0]": Object { + "naarr[0]": { "Next": "a = naarr[0] 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}n{}',$.heap0,$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", @@ -23543,15 +23543,15 @@ Object { `; exports[`for control and assignment 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(i in input.arr)": Object { + "States": { + "1__for(i in input.arr)": { "ItemsPath": "$.heap3", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -23559,19 +23559,19 @@ Object { }, }, "Next": "hasNext__for(i in input.arr)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap3", "Type": "Map", }, - "1__for(i in input.arr) 1": Object { + "1__for(i in input.arr) 1": { "ItemsPath": "$.heap7", - "Iterator": Object { + "Iterator": { "StartAt": "Default 1", - "States": Object { - "Default 1": Object { + "States": { + "Default 1": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -23579,17 +23579,17 @@ Object { }, }, "Next": "hasNext__for(i in input.arr) 1", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap7", "Type": "Map", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -23597,69 +23597,69 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "for(i in input.arr)", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = nai": Object { + "a = nai": { "InputPath": "$.a", "Next": "i 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "a = nai 1": Object { + "a = nai 1": { "InputPath": "$.heap2.string", "Next": "tail__for(i in input.arr)", "ResultPath": "$.a", "Type": "Pass", }, - "a = nai 2": Object { + "a = nai 2": { "InputPath": "$.a", "Next": "i 3", "ResultPath": "$.heap4", "Type": "Pass", }, - "a = nai 3": Object { + "a = nai 3": { "InputPath": "$.heap6.string", "Next": "tail__for(i in input.arr) 1", "ResultPath": "$.a", "Type": "Pass", }, - "assignValue__i": Object { + "assignValue__i": { "InputPath": "$.heap3[0].item", - "Next": "if(i === \\"2\\")", + "Next": "if(i === "2")", "ResultPath": "$.0__i", "Type": "Pass", }, - "assignValue__i 2": Object { + "assignValue__i 2": { "InputPath": "$.heap7[0].item", - "Next": "if(i !== \\"2\\")", + "Next": "if(i !== "2")", "ResultPath": "$.0__i__1", "Type": "Pass", }, - "for(i in input.arr)": Object { + "for(i in input.arr)": { "InputPath": "$.input.arr", "Next": "1__for(i in input.arr)", "ResultPath": "$.heap3", "Type": "Pass", }, - "for(i in input.arr) 1": Object { + "for(i in input.arr) 1": { "InputPath": "$.input.arr", "Next": "1__for(i in input.arr) 1", "ResultPath": "$.heap7", "Type": "Pass", }, - "for(i of input.arr)": Object { + "for(i of input.arr)": { "InputPath": "$.input.arr", "Next": "hasNext__for(i of input.arr)", "ResultPath": "$.heap8", "Type": "Pass", }, - "hasNext__for(i in input.arr)": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.arr)": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap3[0]", @@ -23668,9 +23668,9 @@ Object { "Default": "for(i in input.arr) 1", "Type": "Choice", }, - "hasNext__for(i in input.arr) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.arr) 1": { + "Choices": [ + { "IsPresent": true, "Next": "i 2", "Variable": "$.heap7[0]", @@ -23679,70 +23679,70 @@ Object { "Default": "for(i of input.arr)", "Type": "Choice", }, - "hasNext__for(i of input.arr)": Object { - "Choices": Array [ - Object { + "hasNext__for(i of input.arr)": { + "Choices": [ + { "IsPresent": true, "Next": "i 4", "Variable": "$.heap8[0]", }, ], - "Default": "return \\"woops\\"", + "Default": "return "woops"", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap3[0].index", "Next": "assignValue__i", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "InputPath": "$.i", "Next": "nai", "ResultPath": "$.heap1", "Type": "Pass", }, - "i 2": Object { + "i 2": { "InputPath": "$.heap7[0].index", "Next": "assignValue__i 2", "ResultPath": "$.i__1", "Type": "Pass", }, - "i 3": Object { + "i 3": { "InputPath": "$.i__1", "Next": "nai 1", "ResultPath": "$.heap5", "Type": "Pass", }, - "i 4": Object { + "i 4": { "InputPath": "$.heap8[0]", "Next": "if(i === 2)", "ResultPath": "$.i__2", "Type": "Pass", }, - "if(i !== \\"2\\")": Object { - "Choices": Array [ - Object { + "if(i !== "2")": { + "Choices": [ + { "Next": "tail__for(i in input.arr) 1", - "Not": Object { - "And": Array [ - Object { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.i__1", }, - Object { + { "StringEquals": "2", "Variable": "$.i__1", }, @@ -23757,27 +23757,27 @@ Object { "Default": "a = nai 2", "Type": "Choice", }, - "if(i === \\"2\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === "2")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.i", }, - Object { + { "StringEquals": "2", "Variable": "$.i", }, @@ -23792,27 +23792,27 @@ Object { "Default": "a = nai", "Type": "Choice", }, - "if(i === 2)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 2)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i__2", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i__2", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i__2", }, - Object { + { "NumericEquals": 2, "Variable": "$.i__2", }, @@ -23827,47 +23827,47 @@ Object { "Default": "tail__for(i of input.arr)", "Type": "Choice", }, - "nai": Object { + "nai": { "Next": "a = nai 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}n{}',$.heap0,$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "nai 1": Object { + "nai 1": { "Next": "a = nai 3", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}n{}',$.heap4,$.heap5)", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "return \\"woops\\"": Object { + "return "woops"": { "End": true, "Result": "woops", "ResultPath": "$", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i in input.arr)": Object { + "tail__for(i in input.arr)": { "InputPath": "$.heap3[1:]", "Next": "hasNext__for(i in input.arr)", "ResultPath": "$.heap3", "Type": "Pass", }, - "tail__for(i in input.arr) 1": Object { + "tail__for(i in input.arr) 1": { "InputPath": "$.heap7[1:]", "Next": "hasNext__for(i in input.arr) 1", "ResultPath": "$.heap7", "Type": "Pass", }, - "tail__for(i of input.arr)": Object { + "tail__for(i of input.arr)": { "InputPath": "$.heap8[1:]", "Next": "hasNext__for(i of input.arr)", "ResultPath": "$.heap8", @@ -23878,23 +23878,23 @@ Object { `; exports[`for in 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "--aj": Object { + "States": { + "--aj": { "Next": "a = --aj 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}--{}',$.heap12,$.heap13)", }, "ResultPath": "$.heap14", "Type": "Pass", }, - "1__for(i in input.arr)": Object { + "1__for(i in input.arr)": { "ItemsPath": "$.heap4", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -23902,19 +23902,19 @@ Object { }, }, "Next": "hasNext__for(i in input.arr)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap4", "Type": "Map", }, - "1__for(i in input.arr) 1": Object { + "1__for(i in input.arr) 1": { "ItemsPath": "$.heap15", - "Iterator": Object { + "Iterator": { "StartAt": "Default 2", - "States": Object { - "Default 2": Object { + "States": { + "Default 2": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -23922,19 +23922,19 @@ Object { }, }, "Next": "hasNext__for(i in input.arr) 1", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap15", "Type": "Map", }, - "1__for(j in input.arr)": Object { + "1__for(j in input.arr)": { "ItemsPath": "$.heap11", - "Iterator": Object { + "Iterator": { "StartAt": "Default 1", - "States": Object { - "Default 1": Object { + "States": { + "Default 1": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -23942,17 +23942,17 @@ Object { }, }, "Next": "hasNext__for(j in input.arr)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap11", "Type": "Map", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -23960,95 +23960,95 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "for(i in input.arr)", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = --aj": Object { + "a = --aj": { "InputPath": "$.a", "Next": "j 2", "ResultPath": "$.heap12", "Type": "Pass", }, - "a = --aj 1": Object { + "a = --aj 1": { "InputPath": "$.heap14.string", "Next": "tail__for(i in input.arr) 1", "ResultPath": "$.a", "Type": "Pass", }, - "a = aiinput.arr[i]": Object { + "a = aiinput.arr[i]": { "InputPath": "$.a", "Next": "i 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "a = aiinput.arr[i] 1": Object { + "a = aiinput.arr[i] 1": { "InputPath": "$.heap3.string", "Next": "tail__for(i in input.arr)", "ResultPath": "$.a", "Type": "Pass", }, - "a = |naiinput.arr[i]nijinput.arr[j]j": Object { + "a = |naiinput.arr[i]nijinput.arr[j]j": { "InputPath": "$.a", "Next": "iinput.arr[i]", "ResultPath": "$.heap5", "Type": "Pass", }, - "a = |naiinput.arr[i]nijinput.arr[j]j 1": Object { + "a = |naiinput.arr[i]nijinput.arr[j]j 1": { "InputPath": "$.heap10.string", "Next": "tail__for(j in input.arr)", "ResultPath": "$.a", "Type": "Pass", }, - "aiinput.arr[i]": Object { + "aiinput.arr[i]": { "Next": "a = aiinput.arr[i] 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}',$.heap0,$.heap1,$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "assignValue__i": Object { + "assignValue__i": { "InputPath": "$.heap4[0].item", "Next": "a = aiinput.arr[i]", "ResultPath": "$.0__i", "Type": "Pass", }, - "assignValue__i 2": Object { + "assignValue__i 2": { "InputPath": "$.heap15[0].item", - "Next": "j = \\"1\\"", + "Next": "j = "1"", "ResultPath": "$.0__i__1", "Type": "Pass", }, - "assignValue__j": Object { + "assignValue__j": { "InputPath": "$.heap11[0].item", "Next": "a = |naiinput.arr[i]nijinput.arr[j]j", "ResultPath": "$.0__j", "Type": "Pass", }, - "for(i in input.arr)": Object { + "for(i in input.arr)": { "InputPath": "$.input.arr", "Next": "1__for(i in input.arr)", "ResultPath": "$.heap4", "Type": "Pass", }, - "for(i in input.arr) 1": Object { + "for(i in input.arr) 1": { "InputPath": "$.input.arr", "Next": "1__for(i in input.arr) 1", "ResultPath": "$.heap15", "Type": "Pass", }, - "for(j in input.arr)": Object { + "for(j in input.arr)": { "InputPath": "$.input.arr", "Next": "1__for(j in input.arr)", "ResultPath": "$.heap11", "Type": "Pass", }, - "hasNext__for(i in input.arr)": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.arr)": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap4[0]", @@ -24057,9 +24057,9 @@ Object { "Default": "for(i in input.arr) 1", "Type": "Choice", }, - "hasNext__for(i in input.arr) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.arr) 1": { + "Choices": [ + { "IsPresent": true, "Next": "i 2", "Variable": "$.heap15[0]", @@ -24068,9 +24068,9 @@ Object { "Default": "return a", "Type": "Choice", }, - "hasNext__for(j in input.arr)": Object { - "Choices": Array [ - Object { + "hasNext__for(j in input.arr)": { + "Choices": [ + { "IsPresent": true, "Next": "j", "Variable": "$.heap11[0]", @@ -24079,99 +24079,99 @@ Object { "Default": "a = --aj", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap4[0].index", "Next": "assignValue__i", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "InputPath": "$.i", "Next": "input.arr[i]", "ResultPath": "$.heap1", "Type": "Pass", }, - "i 2": Object { + "i 2": { "InputPath": "$.heap15[0].index", "Next": "assignValue__i 2", "ResultPath": "$.i__1", "Type": "Pass", }, - "iinput.arr[i]": Object { + "iinput.arr[i]": { "InputPath": "$.0__i__1", "Next": "ni", "ResultPath": "$.heap6", "Type": "Pass", }, - "input.arr[i]": Object { + "input.arr[i]": { "InputPath": "$.0__i", "Next": "aiinput.arr[i]", "ResultPath": "$.heap2", "Type": "Pass", }, - "j": Object { + "j": { "InputPath": "$.heap11[0].index", "Next": "assignValue__j", "ResultPath": "$.j", "Type": "Pass", }, - "j 1": Object { + "j 1": { "InputPath": "$.j", "Next": "|naiinput.arr[i]nijinput.arr[j]j", "ResultPath": "$.heap9", "Type": "Pass", }, - "j 2": Object { + "j 2": { "InputPath": "$.j", "Next": "--aj", "ResultPath": "$.heap13", "Type": "Pass", }, - "j = \\"1\\"": Object { + "j = "1"": { "Next": "for(j in input.arr)", "Result": "1", "ResultPath": "$.j", "Type": "Pass", }, - "jinput.arr[j]": Object { + "jinput.arr[j]": { "InputPath": "$.0__j", "Next": "j 1", "ResultPath": "$.heap8", "Type": "Pass", }, - "ni": Object { + "ni": { "InputPath": "$.i__1", "Next": "jinput.arr[j]", "ResultPath": "$.heap7", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i in input.arr)": Object { + "tail__for(i in input.arr)": { "InputPath": "$.heap4[1:]", "Next": "hasNext__for(i in input.arr)", "ResultPath": "$.heap4", "Type": "Pass", }, - "tail__for(i in input.arr) 1": Object { + "tail__for(i in input.arr) 1": { "InputPath": "$.heap15[1:]", "Next": "hasNext__for(i in input.arr) 1", "ResultPath": "$.heap15", "Type": "Pass", }, - "tail__for(j in input.arr)": Object { + "tail__for(j in input.arr)": { "InputPath": "$.heap11[1:]", "Next": "hasNext__for(j in input.arr)", "ResultPath": "$.heap11", "Type": "Pass", }, - "|naiinput.arr[i]nijinput.arr[j]j": Object { + "|naiinput.arr[i]nijinput.arr[j]j": { "Next": "a = |naiinput.arr[i]nijinput.arr[j]j 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}|n{}i{}n{}j{}',$.heap5,$.heap6,$.heap7,$.heap8,$.heap9)", }, "ResultPath": "$.heap10", @@ -24182,13 +24182,13 @@ Object { `; exports[`for loops 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "a = \\"x\\"", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "a = "x"", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -24196,75 +24196,75 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"x\\"": Object { + "a = "x"": { "Next": "for(i of [1, 2, 3])", "Result": "x", "ResultPath": "$.a", "Type": "Pass", }, - "a = ai": Object { + "a = ai": { "InputPath": "$.a", "Next": "i 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "a = ai 1": Object { + "a = ai 1": { "InputPath": "$.heap2.string", "Next": "tail__for(i of [1, 2, 3])", "ResultPath": "$.a", "Type": "Pass", }, - "a = ai 2": Object { + "a = ai 2": { "InputPath": "$.a", "Next": "i 3", "ResultPath": "$.heap4", "Type": "Pass", }, - "a = ai 3": Object { + "a = ai 3": { "InputPath": "$.heap6.string", "Next": "tail__for(i of input.arr)", "ResultPath": "$.a", "Type": "Pass", }, - "a = ai 4": Object { + "a = ai 4": { "InputPath": "$.a", "Next": "i 5", "ResultPath": "$.heap9", "Type": "Pass", }, - "a = ai 5": Object { + "a = ai 5": { "InputPath": "$.heap11.string", "Next": "tail__for(i of await arrFunc()) 1", "ResultPath": "$.a", "Type": "Pass", }, - "ai": Object { + "ai": { "Next": "a = ai 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap0,$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "ai 1": Object { + "ai 1": { "Next": "a = ai 3", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap4,$.heap5)", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "ai 2": Object { + "ai 2": { "Next": "a = ai 5", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap9,$.heap10)", }, "ResultPath": "$.heap11", "Type": "Pass", }, - "for(i of [1, 2, 3])": Object { + "for(i of [1, 2, 3])": { "Next": "hasNext__for(i of [1, 2, 3])", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -24272,28 +24272,28 @@ Object { "ResultPath": "$.heap3", "Type": "Pass", }, - "for(i of await arrFunc())": Object { + "for(i of await arrFunc())": { "InputPath": "$.fnl_context.null", "Next": "for(i of await arrFunc()) 1", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap8", "Type": "Task", }, - "for(i of await arrFunc()) 1": Object { + "for(i of await arrFunc()) 1": { "InputPath": "$.heap8", "Next": "hasNext__for(i of await arrFunc()) 1", "ResultPath": "$.heap12", "Type": "Pass", }, - "for(i of input.arr)": Object { + "for(i of input.arr)": { "InputPath": "$.input.arr", "Next": "hasNext__for(i of input.arr)", "ResultPath": "$.heap7", "Type": "Pass", }, - "hasNext__for(i of [1, 2, 3])": Object { - "Choices": Array [ - Object { + "hasNext__for(i of [1, 2, 3])": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap3[0]", @@ -24302,9 +24302,9 @@ Object { "Default": "for(i of input.arr)", "Type": "Choice", }, - "hasNext__for(i of await arrFunc()) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(i of await arrFunc()) 1": { + "Choices": [ + { "IsPresent": true, "Next": "i 4", "Variable": "$.heap12[0]", @@ -24313,9 +24313,9 @@ Object { "Default": "return \`madeit\`", "Type": "Choice", }, - "hasNext__for(i of input.arr)": Object { - "Choices": Array [ - Object { + "hasNext__for(i of input.arr)": { + "Choices": [ + { "IsPresent": true, "Next": "i 2", "Variable": "$.heap7[0]", @@ -24324,61 +24324,61 @@ Object { "Default": "for(i of await arrFunc())", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap3[0]", "Next": "a = ai", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "InputPath": "$.i", "Next": "ai", "ResultPath": "$.heap1", "Type": "Pass", }, - "i 2": Object { + "i 2": { "InputPath": "$.heap7[0]", "Next": "a = ai 2", "ResultPath": "$.i__1", "Type": "Pass", }, - "i 3": Object { + "i 3": { "InputPath": "$.i__1", "Next": "ai 1", "ResultPath": "$.heap5", "Type": "Pass", }, - "i 4": Object { + "i 4": { "InputPath": "$.heap12[0]", "Next": "a = ai 4", "ResultPath": "$.i__2", "Type": "Pass", }, - "i 5": Object { + "i 5": { "InputPath": "$.i__2", "Next": "ai 2", "ResultPath": "$.heap10", "Type": "Pass", }, - "return \`madeit\`": Object { + "return \`madeit\`": { "End": true, "Result": "madeit", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i of [1, 2, 3])": Object { + "tail__for(i of [1, 2, 3])": { "InputPath": "$.heap3[1:]", "Next": "hasNext__for(i of [1, 2, 3])", "ResultPath": "$.heap3", "Type": "Pass", }, - "tail__for(i of await arrFunc()) 1": Object { + "tail__for(i of await arrFunc()) 1": { "InputPath": "$.heap12[1:]", "Next": "hasNext__for(i of await arrFunc()) 1", "ResultPath": "$.heap12", "Type": "Pass", }, - "tail__for(i of input.arr)": Object { + "tail__for(i of input.arr)": { "InputPath": "$.heap7[1:]", "Next": "hasNext__for(i of input.arr)", "ResultPath": "$.heap7", @@ -24389,64 +24389,64 @@ Object { `; exports[`for map conditional 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__b = [\\"b\\"].map(function (v))": Object { - "Next": "check__1__b = [\\"b\\"].map(function (v))", - "Parameters": Object { + "States": { + "1__b = ["b"].map(function (v))": { + "Next": "check__1__b = ["b"].map(function (v))", + "Parameters": { "arr.$": "$.heap0", "arrStr": "[null", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "1__c = [\\"c\\"].map(function (v))": Object { - "Next": "check__1__c = [\\"c\\"].map(function (v))", - "Parameters": Object { + "1__c = ["c"].map(function (v))": { + "Next": "check__1__c = ["c"].map(function (v))", + "Parameters": { "arr.$": "$.heap7", "arrStr": "[null", }, "ResultPath": "$.heap8", "Type": "Pass", }, - "1__d = await Promise.all([\\"d\\"].map(function (v)))": Object { - "Next": "check__1__d = await Promise.all([\\"d\\"].map(function (v)))", - "Parameters": Object { + "1__d = await Promise.all(["d"].map(function (v)))": { + "Next": "check__1__d = await Promise.all(["d"].map(function (v)))", + "Parameters": { "arr.$": "$.heap14", "arrStr": "[null", }, "ResultPath": "$.heap15", "Type": "Pass", }, - "1__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")": Object { + "1__return b.join("")c.join("")d.join("")": { "End": true, "InputPath": "$.heap34.string", "ResultPath": "$", "Type": "Pass", }, - "1__return vai": Object { + "1__return vai": { "InputPath": "$.heap5.string", - "Next": "handleResult__1__b = [\\"b\\"].map(function (v))", + "Next": "handleResult__1__b = ["b"].map(function (v))", "ResultPath": "$.heap1.arr[0]", "Type": "Pass", }, - "1__return vai 1": Object { + "1__return vai 1": { "InputPath": "$.heap12.string", - "Next": "handleResult__1__c = [\\"c\\"].map(function (v))", + "Next": "handleResult__1__c = ["c"].map(function (v))", "ResultPath": "$.heap8.arr[0]", "Type": "Pass", }, - "1__return vai 2": Object { + "1__return vai 2": { "InputPath": "$.heap20.string", - "Next": "handleResult__1__d = await Promise.all([\\"d\\"].map(function (v)))", + "Next": "handleResult__1__d = await Promise.all(["d"].map(function (v)))", "ResultPath": "$.heap15.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"x\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = "x"", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -24454,104 +24454,104 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a": Object { + "a": { "InputPath": "$.a", "Next": "i 1", "ResultPath": "$.heap3", "Type": "Pass", }, - "a 1": Object { + "a 1": { "InputPath": "$.a", "Next": "i 3", "ResultPath": "$.heap10", "Type": "Pass", }, - "a 2": Object { + "a 2": { "InputPath": "$.a", "Next": "i 5", "ResultPath": "$.heap18", "Type": "Pass", }, - "a = \\"x\\"": Object { - "Next": "b = [\\"b\\"].map(function (v))", + "a = "x"": { + "Next": "b = ["b"].map(function (v))", "Result": "x", "ResultPath": "$.a", "Type": "Pass", }, - "append__c.join(\\"\\")": Object { - "Next": "tail__c.join(\\"\\")", - "Parameters": Object { + "append__c.join("")": { + "Next": "tail__c.join("")", + "Parameters": { "string.$": "States.Format('{}{}', $.heap27.string, $.heap26[0])", }, "ResultPath": "$.heap27", "Type": "Pass", }, - "append__d.join(\\"\\")": Object { - "Next": "tail__d.join(\\"\\")", - "Parameters": Object { + "append__d.join("")": { + "Next": "tail__d.join("")", + "Parameters": { "string.$": "States.Format('{}{}', $.heap31.string, $.heap30[0])", }, "ResultPath": "$.heap31", "Type": "Pass", }, - "append__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")": Object { - "Next": "tail__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", - "Parameters": Object { + "append__return b.join("")c.join("")d.join("")": { + "Next": "tail__return b.join("")c.join("")d.join("")", + "Parameters": { "string.$": "States.Format('{}{}', $.heap23.string, $.heap22[0])", }, "ResultPath": "$.heap23", "Type": "Pass", }, - "b": Object { + "b": { "InputPath": "$.heap1", - "Next": "c = [\\"c\\"].map(function (v))", + "Next": "c = ["c"].map(function (v))", "ResultPath": "$.b", "Type": "Pass", }, - "b = [\\"b\\"].map(function (v))": Object { - "Next": "1__b = [\\"b\\"].map(function (v))", - "Result": Array [ + "b = ["b"].map(function (v))": { + "Next": "1__b = ["b"].map(function (v))", + "Result": [ "b", ], "ResultPath": "$.heap0", "Type": "Pass", }, - "b.join(\\"\\")": Object { + "b.join("")": { "InputPath": "$.heap23.string", - "Next": "c.join(\\"\\")", + "Next": "c.join("")", "ResultPath": "$.heap25", "Type": "Pass", }, - "b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")": Object { - "Next": "1__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", - "Parameters": Object { + "b.join("")c.join("")d.join("")": { + "Next": "1__return b.join("")c.join("")d.join("")", + "Parameters": { "string.$": "States.Format('{}{}{}',$.heap25,$.heap29,$.heap33)", }, "ResultPath": "$.heap34", "Type": "Pass", }, - "c": Object { + "c": { "InputPath": "$.heap8", - "Next": "d = await Promise.all([\\"d\\"].map(function (v)))", + "Next": "d = await Promise.all(["d"].map(function (v)))", "ResultPath": "$.c", "Type": "Pass", }, - "c = [\\"c\\"].map(function (v))": Object { - "Next": "1__c = [\\"c\\"].map(function (v))", - "Result": Array [ + "c = ["c"].map(function (v))": { + "Next": "1__c = ["c"].map(function (v))", + "Result": [ "c", ], "ResultPath": "$.heap7", "Type": "Pass", }, - "c.join(\\"\\")": Object { + "c.join("")": { "ItemsPath": "$.c", - "Iterator": Object { + "Iterator": { "StartAt": "Default 1", - "States": Object { - "Default 1": Object { - "Choices": Array [ - Object { + "States": { + "Default 1": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 1 2", "Variable": "$.item", @@ -24560,21 +24560,21 @@ Object { "Default": "format__Default 1", "Type": "Choice", }, - "assign__Default 1 1": Object { + "assign__Default 1 1": { "End": true, "InputPath": "$.heap28.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 1 2": Object { + "assign__Default 1 2": { "InputPath": "$.item", "Next": "assign__Default 1 1", "ResultPath": "$.heap28.str", "Type": "Pass", }, - "format__Default 1": Object { + "format__Default 1": { "Next": "assign__Default 1 1", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap28", @@ -24582,74 +24582,74 @@ Object { }, }, }, - "Next": "hasNext__c.join(\\"\\")", - "Parameters": Object { + "Next": "hasNext__c.join("")", + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap26", "Type": "Map", }, - "c.join(\\"\\") 1": Object { + "c.join("") 1": { "InputPath": "$.heap27.string", - "Next": "d.join(\\"\\")", + "Next": "d.join("")", "ResultPath": "$.heap29", "Type": "Pass", }, - "check__1__b = [\\"b\\"].map(function (v))": Object { - "Choices": Array [ - Object { + "check__1__b = ["b"].map(function (v))": { + "Choices": [ + { "IsPresent": true, "Next": "v", "Variable": "$.heap1.arr[0]", }, ], - "Default": "end__1__b = [\\"b\\"].map(function (v))", + "Default": "end__1__b = ["b"].map(function (v))", "Type": "Choice", }, - "check__1__c = [\\"c\\"].map(function (v))": Object { - "Choices": Array [ - Object { + "check__1__c = ["c"].map(function (v))": { + "Choices": [ + { "IsPresent": true, "Next": "v 1", "Variable": "$.heap8.arr[0]", }, ], - "Default": "end__1__c = [\\"c\\"].map(function (v))", + "Default": "end__1__c = ["c"].map(function (v))", "Type": "Choice", }, - "check__1__d = await Promise.all([\\"d\\"].map(function (v)))": Object { - "Choices": Array [ - Object { + "check__1__d = await Promise.all(["d"].map(function (v)))": { + "Choices": [ + { "IsPresent": true, "Next": "v 2", "Variable": "$.heap15.arr[0]", }, ], - "Default": "end__1__d = await Promise.all([\\"d\\"].map(function (v)))", + "Default": "end__1__d = await Promise.all(["d"].map(function (v)))", "Type": "Choice", }, - "d": Object { + "d": { "InputPath": "$.heap15", - "Next": "return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", + "Next": "return b.join("")c.join("")d.join("")", "ResultPath": "$.d", "Type": "Pass", }, - "d = await Promise.all([\\"d\\"].map(function (v)))": Object { - "Next": "1__d = await Promise.all([\\"d\\"].map(function (v)))", - "Result": Array [ + "d = await Promise.all(["d"].map(function (v)))": { + "Next": "1__d = await Promise.all(["d"].map(function (v)))", + "Result": [ "d", ], "ResultPath": "$.heap14", "Type": "Pass", }, - "d.join(\\"\\")": Object { + "d.join("")": { "ItemsPath": "$.d", - "Iterator": Object { + "Iterator": { "StartAt": "Default 2", - "States": Object { - "Default 2": Object { - "Choices": Array [ - Object { + "States": { + "Default 2": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 2 1", "Variable": "$.item", @@ -24658,21 +24658,21 @@ Object { "Default": "format__Default 2", "Type": "Choice", }, - "assign__Default 2": Object { + "assign__Default 2": { "End": true, "InputPath": "$.heap32.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 2 1": Object { + "assign__Default 2 1": { "InputPath": "$.item", "Next": "assign__Default 2", "ResultPath": "$.heap32.str", "Type": "Pass", }, - "format__Default 2": Object { + "format__Default 2": { "Next": "assign__Default 2", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap32", @@ -24680,46 +24680,46 @@ Object { }, }, }, - "Next": "hasNext__d.join(\\"\\")", - "Parameters": Object { + "Next": "hasNext__d.join("")", + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap30", "Type": "Map", }, - "d.join(\\"\\") 1": Object { + "d.join("") 1": { "InputPath": "$.heap31.string", - "Next": "b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", + "Next": "b.join("")c.join("")d.join("")", "ResultPath": "$.heap33", "Type": "Pass", }, - "end__1__b = [\\"b\\"].map(function (v))": Object { - "Next": "set__end__1__b = [\\"b\\"].map(function (v))", - "Parameters": Object { + "end__1__b = ["b"].map(function (v))": { + "Next": "set__end__1__b = ["b"].map(function (v))", + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "end__1__c = [\\"c\\"].map(function (v))": Object { - "Next": "set__end__1__c = [\\"c\\"].map(function (v))", - "Parameters": Object { + "end__1__c = ["c"].map(function (v))": { + "Next": "set__end__1__c = ["c"].map(function (v))", + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap8.arrStr))", }, "ResultPath": "$.heap8", "Type": "Pass", }, - "end__1__d = await Promise.all([\\"d\\"].map(function (v)))": Object { - "Next": "set__end__1__d = await Promise.all([\\"d\\"].map(function (v)))", - "Parameters": Object { + "end__1__d = await Promise.all(["d"].map(function (v)))": { + "Next": "set__end__1__d = await Promise.all(["d"].map(function (v)))", + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap15.arrStr))", }, "ResultPath": "$.heap15", "Type": "Pass", }, - "for(i of [1, 2, 3])": Object { + "for(i of [1, 2, 3])": { "Next": "hasNext__for(i of [1, 2, 3])", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -24727,259 +24727,259 @@ Object { "ResultPath": "$.heap6", "Type": "Pass", }, - "for(i of await arrFunc())": Object { + "for(i of await arrFunc())": { "InputPath": "$.fnl_context.null", "Next": "for(i of await arrFunc()) 1", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap16", "Type": "Task", }, - "for(i of await arrFunc()) 1": Object { + "for(i of await arrFunc()) 1": { "InputPath": "$.heap16", "Next": "hasNext__for(i of await arrFunc()) 1", "ResultPath": "$.heap21", "Type": "Pass", }, - "for(i of input.arr)": Object { + "for(i of input.arr)": { "InputPath": "$.input.arr", "Next": "hasNext__for(i of input.arr)", "ResultPath": "$.heap13", "Type": "Pass", }, - "handleResult__1__b = [\\"b\\"].map(function (v))": Object { - "Next": "check__1__b = [\\"b\\"].map(function (v))", - "Parameters": Object { + "handleResult__1__b = ["b"].map(function (v))": { + "Next": "check__1__b = ["b"].map(function (v))", + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0]))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "handleResult__1__c = [\\"c\\"].map(function (v))": Object { - "Next": "check__1__c = [\\"c\\"].map(function (v))", - "Parameters": Object { + "handleResult__1__c = ["c"].map(function (v))": { + "Next": "check__1__c = ["c"].map(function (v))", + "Parameters": { "arr.$": "$.heap8.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap8.arrStr, States.JsonToString($.heap8.arr[0]))", }, "ResultPath": "$.heap8", "Type": "Pass", }, - "handleResult__1__d = await Promise.all([\\"d\\"].map(function (v)))": Object { - "Next": "check__1__d = await Promise.all([\\"d\\"].map(function (v)))", - "Parameters": Object { + "handleResult__1__d = await Promise.all(["d"].map(function (v)))": { + "Next": "check__1__d = await Promise.all(["d"].map(function (v)))", + "Parameters": { "arr.$": "$.heap15.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap15.arrStr, States.JsonToString($.heap15.arr[0]))", }, "ResultPath": "$.heap15", "Type": "Pass", }, - "hasNext__c.join(\\"\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__c.join("")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap26[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap27", }, }, ], - "Next": "initValue__c.join(\\"\\")", + "Next": "initValue__c.join("")", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap26[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap27", }, ], - "Next": "returnEmpty__c.join(\\"\\")", + "Next": "returnEmpty__c.join("")", }, - Object { + { "IsPresent": true, - "Next": "append__c.join(\\"\\")", + "Next": "append__c.join("")", "Variable": "$.heap26[0]", }, ], - "Default": "c.join(\\"\\") 1", + "Default": "c.join("") 1", "Type": "Choice", }, - "hasNext__d.join(\\"\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__d.join("")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap30[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap31", }, }, ], - "Next": "initValue__d.join(\\"\\")", + "Next": "initValue__d.join("")", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap30[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap31", }, ], - "Next": "returnEmpty__d.join(\\"\\")", + "Next": "returnEmpty__d.join("")", }, - Object { + { "IsPresent": true, - "Next": "append__d.join(\\"\\")", + "Next": "append__d.join("")", "Variable": "$.heap30[0]", }, ], - "Default": "d.join(\\"\\") 1", + "Default": "d.join("") 1", "Type": "Choice", }, - "hasNext__for(i of [1, 2, 3])": Object { - "Choices": Array [ - Object { + "hasNext__for(i of [1, 2, 3])": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap6[0]", }, ], - "Default": "return \\"boo\\"", + "Default": "return "boo"", "Type": "Choice", }, - "hasNext__for(i of await arrFunc()) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(i of await arrFunc()) 1": { + "Choices": [ + { "IsPresent": true, "Next": "i 4", "Variable": "$.heap21[0]", }, ], - "Default": "return \\"boo\\" 2", + "Default": "return "boo" 2", "Type": "Choice", }, - "hasNext__for(i of input.arr)": Object { - "Choices": Array [ - Object { + "hasNext__for(i of input.arr)": { + "Choices": [ + { "IsPresent": true, "Next": "i 2", "Variable": "$.heap13[0]", }, ], - "Default": "return \\"boo\\" 1", + "Default": "return "boo" 1", "Type": "Choice", }, - "hasNext__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__return b.join("")c.join("")d.join("")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap22[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap23", }, }, ], - "Next": "initValue__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", + "Next": "initValue__return b.join("")c.join("")d.join("")", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap22[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap23", }, ], - "Next": "returnEmpty__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", + "Next": "returnEmpty__return b.join("")c.join("")d.join("")", }, - Object { + { "IsPresent": true, - "Next": "append__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", + "Next": "append__return b.join("")c.join("")d.join("")", "Variable": "$.heap22[0]", }, ], - "Default": "b.join(\\"\\")", + "Default": "b.join("")", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap6[0]", "Next": "if(i === 3)", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "InputPath": "$.i", "Next": "vai", "ResultPath": "$.heap4", "Type": "Pass", }, - "i 2": Object { + "i 2": { "InputPath": "$.heap13[0]", "Next": "if(i === 3) 1", "ResultPath": "$.i__1", "Type": "Pass", }, - "i 3": Object { + "i 3": { "InputPath": "$.i__1", "Next": "vai 1", "ResultPath": "$.heap11", "Type": "Pass", }, - "i 4": Object { + "i 4": { "InputPath": "$.heap21[0]", "Next": "if(i === 3) 2", "ResultPath": "$.i__2", "Type": "Pass", }, - "i 5": Object { + "i 5": { "InputPath": "$.i__2", "Next": "vai 2", "ResultPath": "$.heap19", "Type": "Pass", }, - "if(i === 3)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 3)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 3, "Variable": "$.i", }, @@ -24994,27 +24994,27 @@ Object { "Default": "tail__for(i of [1, 2, 3])", "Type": "Choice", }, - "if(i === 3) 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 3) 1": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i__1", }, - Object { + { "NumericEquals": 3, "Variable": "$.i__1", }, @@ -25029,27 +25029,27 @@ Object { "Default": "tail__for(i of input.arr)", "Type": "Choice", }, - "if(i === 3) 2": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 3) 2": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i__2", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i__2", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i__2", }, - Object { + { "NumericEquals": 3, "Variable": "$.i__2", }, @@ -25064,50 +25064,50 @@ Object { "Default": "tail__for(i of await arrFunc()) 1", "Type": "Choice", }, - "initValue__c.join(\\"\\")": Object { + "initValue__c.join("")": { "InputPath": "$.heap26[0]", - "Next": "tail__c.join(\\"\\")", + "Next": "tail__c.join("")", "ResultPath": "$.heap27.string", "Type": "Pass", }, - "initValue__d.join(\\"\\")": Object { + "initValue__d.join("")": { "InputPath": "$.heap30[0]", - "Next": "tail__d.join(\\"\\")", + "Next": "tail__d.join("")", "ResultPath": "$.heap31.string", "Type": "Pass", }, - "initValue__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")": Object { + "initValue__return b.join("")c.join("")d.join("")": { "InputPath": "$.heap22[0]", - "Next": "tail__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", + "Next": "tail__return b.join("")c.join("")d.join("")", "ResultPath": "$.heap23.string", "Type": "Pass", }, - "return \\"boo\\"": Object { - "Next": "handleResult__1__b = [\\"b\\"].map(function (v))", + "return "boo"": { + "Next": "handleResult__1__b = ["b"].map(function (v))", "Result": "boo", "ResultPath": "$.heap1.arr[0]", "Type": "Pass", }, - "return \\"boo\\" 1": Object { - "Next": "handleResult__1__c = [\\"c\\"].map(function (v))", + "return "boo" 1": { + "Next": "handleResult__1__c = ["c"].map(function (v))", "Result": "boo", "ResultPath": "$.heap8.arr[0]", "Type": "Pass", }, - "return \\"boo\\" 2": Object { - "Next": "handleResult__1__d = await Promise.all([\\"d\\"].map(function (v)))", + "return "boo" 2": { + "Next": "handleResult__1__d = await Promise.all(["d"].map(function (v)))", "Result": "boo", "ResultPath": "$.heap15.arr[0]", "Type": "Pass", }, - "return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")": Object { + "return b.join("")c.join("")d.join("")": { "ItemsPath": "$.b", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { - "Choices": Array [ - Object { + "States": { + "Default": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 1", "Variable": "$.item", @@ -25116,21 +25116,21 @@ Object { "Default": "format__Default", "Type": "Choice", }, - "assign__Default": Object { + "assign__Default": { "End": true, "InputPath": "$.heap24.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 1": Object { + "assign__Default 1": { "InputPath": "$.item", "Next": "assign__Default", "ResultPath": "$.heap24.str", "Type": "Pass", }, - "format__Default": Object { + "format__Default": { "Next": "assign__Default", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap24", @@ -25138,140 +25138,140 @@ Object { }, }, }, - "Next": "hasNext__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", - "Parameters": Object { + "Next": "hasNext__return b.join("")c.join("")d.join("")", + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap22", "Type": "Map", }, - "return vai": Object { + "return vai": { "InputPath": "$.v", "Next": "a", "ResultPath": "$.heap2", "Type": "Pass", }, - "return vai 1": Object { + "return vai 1": { "InputPath": "$.v__1", "Next": "a 1", "ResultPath": "$.heap9", "Type": "Pass", }, - "return vai 2": Object { + "return vai 2": { "InputPath": "$.v__2", "Next": "a 2", "ResultPath": "$.heap17", "Type": "Pass", }, - "returnEmpty__c.join(\\"\\")": Object { - "Next": "c.join(\\"\\") 1", + "returnEmpty__c.join("")": { + "Next": "c.join("") 1", "Result": "", "ResultPath": "$.heap27.string", "Type": "Pass", }, - "returnEmpty__d.join(\\"\\")": Object { - "Next": "d.join(\\"\\") 1", + "returnEmpty__d.join("")": { + "Next": "d.join("") 1", "Result": "", "ResultPath": "$.heap31.string", "Type": "Pass", }, - "returnEmpty__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")": Object { - "Next": "b.join(\\"\\")", + "returnEmpty__return b.join("")c.join("")d.join("")": { + "Next": "b.join("")", "Result": "", "ResultPath": "$.heap23.string", "Type": "Pass", }, - "set__end__1__b = [\\"b\\"].map(function (v))": Object { + "set__end__1__b = ["b"].map(function (v))": { "InputPath": "$.heap1.result[1:]", "Next": "b", "ResultPath": "$.heap1", "Type": "Pass", }, - "set__end__1__c = [\\"c\\"].map(function (v))": Object { + "set__end__1__c = ["c"].map(function (v))": { "InputPath": "$.heap8.result[1:]", "Next": "c", "ResultPath": "$.heap8", "Type": "Pass", }, - "set__end__1__d = await Promise.all([\\"d\\"].map(function (v)))": Object { + "set__end__1__d = await Promise.all(["d"].map(function (v)))": { "InputPath": "$.heap15.result[1:]", "Next": "d", "ResultPath": "$.heap15", "Type": "Pass", }, - "tail__c.join(\\"\\")": Object { + "tail__c.join("")": { "InputPath": "$.heap26[1:]", - "Next": "hasNext__c.join(\\"\\")", + "Next": "hasNext__c.join("")", "ResultPath": "$.heap26", "Type": "Pass", }, - "tail__d.join(\\"\\")": Object { + "tail__d.join("")": { "InputPath": "$.heap30[1:]", - "Next": "hasNext__d.join(\\"\\")", + "Next": "hasNext__d.join("")", "ResultPath": "$.heap30", "Type": "Pass", }, - "tail__for(i of [1, 2, 3])": Object { + "tail__for(i of [1, 2, 3])": { "InputPath": "$.heap6[1:]", "Next": "hasNext__for(i of [1, 2, 3])", "ResultPath": "$.heap6", "Type": "Pass", }, - "tail__for(i of await arrFunc()) 1": Object { + "tail__for(i of await arrFunc()) 1": { "InputPath": "$.heap21[1:]", "Next": "hasNext__for(i of await arrFunc()) 1", "ResultPath": "$.heap21", "Type": "Pass", }, - "tail__for(i of input.arr)": Object { + "tail__for(i of input.arr)": { "InputPath": "$.heap13[1:]", "Next": "hasNext__for(i of input.arr)", "ResultPath": "$.heap13", "Type": "Pass", }, - "tail__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")": Object { + "tail__return b.join("")c.join("")d.join("")": { "InputPath": "$.heap22[1:]", - "Next": "hasNext__return b.join(\\"\\")c.join(\\"\\")d.join(\\"\\")", + "Next": "hasNext__return b.join("")c.join("")d.join("")", "ResultPath": "$.heap22", "Type": "Pass", }, - "v": Object { + "v": { "InputPath": "$.heap1.arr[0]", "Next": "for(i of [1, 2, 3])", "ResultPath": "$.v", "Type": "Pass", }, - "v 1": Object { + "v 1": { "InputPath": "$.heap8.arr[0]", "Next": "for(i of input.arr)", "ResultPath": "$.v__1", "Type": "Pass", }, - "v 2": Object { + "v 2": { "InputPath": "$.heap15.arr[0]", "Next": "for(i of await arrFunc())", "ResultPath": "$.v__2", "Type": "Pass", }, - "vai": Object { + "vai": { "Next": "1__return vai", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}',$.heap2,$.heap3,$.heap4)", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "vai 1": Object { + "vai 1": { "Next": "1__return vai 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}',$.heap9,$.heap10,$.heap11)", }, "ResultPath": "$.heap12", "Type": "Pass", }, - "vai 2": Object { + "vai 2": { "Next": "1__return vai 2", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}',$.heap17,$.heap18,$.heap19)", }, "ResultPath": "$.heap20", @@ -25282,21 +25282,21 @@ Object { `; exports[`for of 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "--aj": Object { + "States": { + "--aj": { "Next": "a = --aj 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}--{}',$.heap9,$.heap10)", }, "ResultPath": "$.heap11", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -25304,77 +25304,77 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "for(i of input.arr)", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = --aj": Object { + "a = --aj": { "InputPath": "$.a", "Next": "j 2", "ResultPath": "$.heap9", "Type": "Pass", }, - "a = --aj 1": Object { + "a = --aj 1": { "InputPath": "$.heap11.string", "Next": "tail__for(i of input.arr) 1", "ResultPath": "$.a", "Type": "Pass", }, - "a = ai": Object { + "a = ai": { "InputPath": "$.a", "Next": "i 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "a = ai 1": Object { + "a = ai 1": { "InputPath": "$.heap2.string", "Next": "tail__for(i of input.arr)", "ResultPath": "$.a", "Type": "Pass", }, - "a = |iajij": Object { + "a = |iajij": { "InputPath": "$.a", "Next": "ji", "ResultPath": "$.heap4", "Type": "Pass", }, - "a = |iajij 1": Object { + "a = |iajij 1": { "InputPath": "$.heap7.string", "Next": "tail__for(j of input.arr)", "ResultPath": "$.a", "Type": "Pass", }, - "ai": Object { + "ai": { "Next": "a = ai 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap0,$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "for(i of input.arr)": Object { + "for(i of input.arr)": { "InputPath": "$.input.arr", "Next": "hasNext__for(i of input.arr)", "ResultPath": "$.heap3", "Type": "Pass", }, - "for(i of input.arr) 1": Object { + "for(i of input.arr) 1": { "InputPath": "$.input.arr", "Next": "hasNext__for(i of input.arr) 1", "ResultPath": "$.heap12", "Type": "Pass", }, - "for(j of input.arr)": Object { + "for(j of input.arr)": { "InputPath": "$.input.arr", "Next": "hasNext__for(j of input.arr)", "ResultPath": "$.heap8", "Type": "Pass", }, - "hasNext__for(i of input.arr)": Object { - "Choices": Array [ - Object { + "hasNext__for(i of input.arr)": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap3[0]", @@ -25383,9 +25383,9 @@ Object { "Default": "for(i of input.arr) 1", "Type": "Choice", }, - "hasNext__for(i of input.arr) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(i of input.arr) 1": { + "Choices": [ + { "IsPresent": true, "Next": "i 2", "Variable": "$.heap12[0]", @@ -25394,9 +25394,9 @@ Object { "Default": "return a", "Type": "Choice", }, - "hasNext__for(j of input.arr)": Object { - "Choices": Array [ - Object { + "hasNext__for(j of input.arr)": { + "Choices": [ + { "IsPresent": true, "Next": "j", "Variable": "$.heap8[0]", @@ -25405,81 +25405,81 @@ Object { "Default": "a = --aj", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap3[0]", "Next": "a = ai", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "InputPath": "$.i", "Next": "ai", "ResultPath": "$.heap1", "Type": "Pass", }, - "i 2": Object { + "i 2": { "InputPath": "$.heap12[0]", "Next": "j = 1", "ResultPath": "$.i__1", "Type": "Pass", }, - "j": Object { + "j": { "InputPath": "$.heap8[0]", "Next": "a = |iajij", "ResultPath": "$.j", "Type": "Pass", }, - "j 1": Object { + "j 1": { "InputPath": "$.j", "Next": "|iajij", "ResultPath": "$.heap6", "Type": "Pass", }, - "j 2": Object { + "j 2": { "InputPath": "$.j", "Next": "--aj", "ResultPath": "$.heap10", "Type": "Pass", }, - "j = 1": Object { + "j = 1": { "Next": "for(j of input.arr)", "Result": 1, "ResultPath": "$.j", "Type": "Pass", }, - "ji": Object { + "ji": { "InputPath": "$.i__1", "Next": "j 1", "ResultPath": "$.heap5", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i of input.arr)": Object { + "tail__for(i of input.arr)": { "InputPath": "$.heap3[1:]", "Next": "hasNext__for(i of input.arr)", "ResultPath": "$.heap3", "Type": "Pass", }, - "tail__for(i of input.arr) 1": Object { + "tail__for(i of input.arr) 1": { "InputPath": "$.heap12[1:]", "Next": "hasNext__for(i of input.arr) 1", "ResultPath": "$.heap12", "Type": "Pass", }, - "tail__for(j of input.arr)": Object { + "tail__for(j of input.arr)": { "InputPath": "$.heap8[1:]", "Next": "hasNext__for(j of input.arr)", "ResultPath": "$.heap8", "Type": "Pass", }, - "|iajij": Object { + "|iajij": { "Next": "a = |iajij 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}|i{}j{}',$.heap4,$.heap5,$.heap6)", }, "ResultPath": "$.heap7", @@ -25490,13 +25490,13 @@ Object { `; exports[`foreach 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -25504,35 +25504,35 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "input.arr.forEach(function (x))", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = aax": Object { + "a = aax": { "InputPath": "$.a", "Next": "x 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "a = aax 1": Object { + "a = aax 1": { "InputPath": "$.heap3.string", "Next": "return a 1", "ResultPath": "$.a", "Type": "Pass", }, - "aax": Object { + "aax": { "Next": "a = aax 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}a{}',$.heap1,$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "check__input.arr.forEach(function (x))": Object { - "Choices": Array [ - Object { + "check__input.arr.forEach(function (x))": { + "Choices": [ + { "IsPresent": true, "Next": "x", "Variable": "$.heap0.arr[0]", @@ -25541,45 +25541,45 @@ Object { "Default": "end__input.arr.forEach(function (x))", "Type": "Choice", }, - "end__input.arr.forEach(function (x))": Object { + "end__input.arr.forEach(function (x))": { "Next": "return a", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "input.arr.forEach(function (x))": Object { + "input.arr.forEach(function (x))": { "Next": "check__input.arr.forEach(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.arr", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", "Type": "Pass", }, - "return a 1": Object { + "return a 1": { "InputPath": "$.a", "Next": "tail__input.arr.forEach(function (x))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "tail__input.arr.forEach(function (x))": Object { + "tail__input.arr.forEach(function (x))": { "InputPath": "$.heap0.arr[1:]", "Next": "check__input.arr.forEach(function (x))", "ResultPath": "$.heap0.arr", "Type": "Pass", }, - "x": Object { + "x": { "InputPath": "$.heap0.arr[0]", "Next": "a = aax", "ResultPath": "$.x", "Type": "Pass", }, - "x 1": Object { + "x 1": { "InputPath": "$.x", "Next": "aax", "ResultPath": "$.heap2", @@ -25590,17 +25590,17 @@ Object { `; exports[`join 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")": Object { + "States": { + "1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")": { "ItemsPath": "$.heap22.arr", - "Iterator": Object { + "Iterator": { "StartAt": "Default 4", - "States": Object { - "Default 4": Object { - "Choices": Array [ - Object { + "States": { + "Default 4": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 4 1", "Variable": "$.item", @@ -25609,21 +25609,21 @@ Object { "Default": "format__Default 4", "Type": "Choice", }, - "assign__Default 4": Object { + "assign__Default 4": { "End": true, "InputPath": "$.heap25.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 4 1": Object { + "assign__Default 4 1": { "InputPath": "$.item", "Next": "assign__Default 4", "ResultPath": "$.heap25.str", "Type": "Pass", }, - "format__Default 4": Object { + "format__Default 4": { "Next": "assign__Default 4", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap25", @@ -25631,29 +25631,29 @@ Object { }, }, }, - "Next": "hasNext__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", - "Parameters": Object { + "Next": "hasNext__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap23", "Type": "Map", }, - "1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\") 1": Object { - "Next": "2__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", - "Result": Array [ + "1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=") 1": { + "Next": "2__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", + "Result": [ "b", ], "ResultPath": "$.heap18", "Type": "Pass", }, - "1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)": Object { + "1__["d", "e", "f"].join(input.sep)": { "ItemsPath": "$.heap8", - "Iterator": Object { + "Iterator": { "StartAt": "Default 2", - "States": Object { - "Default 2": Object { - "Choices": Array [ - Object { + "States": { + "Default 2": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 2 1", "Variable": "$.item", @@ -25662,21 +25662,21 @@ Object { "Default": "format__Default 2", "Type": "Choice", }, - "assign__Default 2": Object { + "assign__Default 2": { "End": true, "InputPath": "$.heap11.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 2 1": Object { + "assign__Default 2 1": { "InputPath": "$.item", "Next": "assign__Default 2", "ResultPath": "$.heap11.str", "Type": "Pass", }, - "format__Default 2": Object { + "format__Default 2": { "Next": "assign__Default 2", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap11", @@ -25684,71 +25684,71 @@ Object { }, }, }, - "Next": "hasNext__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)", - "Parameters": Object { + "Next": "hasNext__1__["d", "e", "f"].join(input.sep)", + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap9", "Type": "Map", }, - "1__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j": Object { + "1__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j": { "InputPath": "$.heap1.string", "Next": "input.arr.join(input.sep)", "ResultPath": "$.heap3", "Type": "Pass", }, - "1__return resultArr.join(\\"#\\")": Object { + "1__return resultArr.join("#")": { "End": true, "InputPath": "$.heap29.string", "ResultPath": "$", "Type": "Pass", }, - "2__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")": Object { + "2__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")": { "InputPath": "$.input.obj", - "Next": "3__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", + "Next": "3__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", "ResultPath": "$.heap19", "Type": "Pass", }, - "3__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")": Object { + "3__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")": { "InputPath": "$.input.arr", - "Next": "4__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", + "Next": "4__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", "ResultPath": "$.heap20", "Type": "Pass", }, - "3__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j": Object { + "3__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j": { "InputPath": "$.heap5.string", - "Next": "[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)", + "Next": "["d", "e", "f"].join(input.sep)", "ResultPath": "$.heap7", "Type": "Pass", }, - "4__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")": Object { + "4__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")": { "InputPath": "$.fnl_context.null", - "Next": "[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null]", + "Next": "["a", {a: "a"}, ["b"], input.obj, input.arr, null]", "ResultPath": "$.heap21", "Type": "Pass", }, - "5__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j": Object { + "5__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j": { "InputPath": "$.heap10.string", "Next": "input.arr.join()", "ResultPath": "$.heap12", "Type": "Pass", }, - "7__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j": Object { + "7__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j": { "InputPath": "$.heap14.string", - "Next": "[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", + "Next": "["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", "ResultPath": "$.heap16", "Type": "Pass", }, - "9__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j": Object { + "9__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j": { "InputPath": "$.heap24.string", - "Next": "[[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.join(input.sep),", + "Next": "[["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.join(input.sep),", "ResultPath": "$.heap26", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.join", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.join", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -25756,25 +25756,25 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null]": Object { - "Next": "1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", - "Parameters": Object { + "["a", {a: "a"}, ["b"], input.obj, input.arr, null]": { + "Next": "1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", + "Parameters": { "arr.$": "States.Array('a', $.heap17, $.heap18, $.heap19, $.heap20, $.heap21)", }, "ResultPath": "$.heap22", "Type": "Pass", }, - "[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")": Object { - "Next": "1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\") 1", - "Result": Object { + "["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")": { + "Next": "1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=") 1", + "Result": { "a": "a", }, "ResultPath": "$.heap17", "Type": "Pass", }, - "[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)": Object { - "Next": "1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)", - "Result": Array [ + "["d", "e", "f"].join(input.sep)": { + "Next": "1__["d", "e", "f"].join(input.sep)", + "Result": [ "d", "e", "f", @@ -25782,150 +25782,150 @@ Object { "ResultPath": "$.heap8", "Type": "Pass", }, - "[[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.join(input.sep),": Object { + "[["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.join(input.sep),": { "Next": "resultArr", - "Parameters": Object { + "Parameters": { "arr.$": "States.Array('a/b/c', $.heap3, $.heap7, $.heap12, '', $.heap16, $.heap26)", }, "ResultPath": "$.heap27", "Type": "Pass", }, - "append__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")": Object { - "Next": "tail__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", - "Parameters": Object { + "append__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")": { + "Next": "tail__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", + "Parameters": { "string.$": "States.Format('{}={}', $.heap24.string, $.heap23[0])", }, "ResultPath": "$.heap24", "Type": "Pass", }, - "append__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)": Object { - "Next": "tail__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)", - "Parameters": Object { + "append__1__["d", "e", "f"].join(input.sep)": { + "Next": "tail__1__["d", "e", "f"].join(input.sep)", + "Parameters": { "string.$": "States.Format('{}{}{}', $.heap10.string, $.input.sep, $.heap9[0])", }, "ResultPath": "$.heap10", "Type": "Pass", }, - "append__input.arr.join()": Object { + "append__input.arr.join()": { "Next": "tail__input.arr.join()", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{},{}', $.heap14.string, $.heap13[0])", }, "ResultPath": "$.heap14", "Type": "Pass", }, - "append__input.arr.join(input.sep)": Object { + "append__input.arr.join(input.sep)": { "Next": "tail__input.arr.join(input.sep)", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}', $.heap5.string, $.input.sep, $.heap4[0])", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "append__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.": Object { - "Next": "tail__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.ar", - "Parameters": Object { + "append__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.": { + "Next": "tail__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.ar", + "Parameters": { "string.$": "States.Format('{}-{}', $.heap1.string, $.heap0[0])", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "append__return resultArr.join(\\"#\\")": Object { - "Next": "tail__return resultArr.join(\\"#\\")", - "Parameters": Object { + "append__return resultArr.join("#")": { + "Next": "tail__return resultArr.join("#")", + "Parameters": { "string.$": "States.Format('{}#{}', $.heap29.string, $.heap28[0])", }, "ResultPath": "$.heap29", "Type": "Pass", }, - "hasNext__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap23[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap24", }, }, ], - "Next": "initValue__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", + "Next": "initValue__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap23[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap24", }, ], - "Next": "returnEmpty__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\"", + "Next": "returnEmpty__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("="", }, - Object { + { "IsPresent": true, - "Next": "append__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", + "Next": "append__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", "Variable": "$.heap23[0]", }, ], - "Default": "9__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "Default": "9__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Type": "Choice", }, - "hasNext__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__1__["d", "e", "f"].join(input.sep)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap9[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap10", }, }, ], - "Next": "initValue__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)", + "Next": "initValue__1__["d", "e", "f"].join(input.sep)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap9[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap10", }, ], - "Next": "returnEmpty__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)", + "Next": "returnEmpty__1__["d", "e", "f"].join(input.sep)", }, - Object { + { "IsPresent": true, - "Next": "append__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)", + "Next": "append__1__["d", "e", "f"].join(input.sep)", "Variable": "$.heap9[0]", }, ], - "Default": "5__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "Default": "5__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Type": "Choice", }, - "hasNext__input.arr.join()": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__input.arr.join()": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap13[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap14", }, @@ -25933,38 +25933,38 @@ Object { ], "Next": "initValue__input.arr.join()", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap13[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap14", }, ], "Next": "returnEmpty__input.arr.join()", }, - Object { + { "IsPresent": true, "Next": "append__input.arr.join()", "Variable": "$.heap13[0]", }, ], - "Default": "7__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "Default": "7__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Type": "Choice", }, - "hasNext__input.arr.join(input.sep)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__input.arr.join(input.sep)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap4[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap5", }, @@ -25972,150 +25972,150 @@ Object { ], "Next": "initValue__input.arr.join(input.sep)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap4[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap5", }, ], "Next": "returnEmpty__input.arr.join(input.sep)", }, - Object { + { "IsPresent": true, "Next": "append__input.arr.join(input.sep)", "Variable": "$.heap4[0]", }, ], - "Default": "3__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "Default": "3__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Type": "Choice", }, - "hasNext__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap0[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap1", }, }, ], - "Next": "initValue__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), inp", + "Next": "initValue__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), inp", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap0[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap1", }, ], - "Next": "returnEmpty__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), i", + "Next": "returnEmpty__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), i", }, - Object { + { "IsPresent": true, - "Next": "append__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.", + "Next": "append__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.", "Variable": "$.heap0[0]", }, ], - "Default": "1__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "Default": "1__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Type": "Choice", }, - "hasNext__return resultArr.join(\\"#\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__return resultArr.join("#")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap28[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap29", }, }, ], - "Next": "initValue__return resultArr.join(\\"#\\")", + "Next": "initValue__return resultArr.join("#")", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap28[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap29", }, ], - "Next": "returnEmpty__return resultArr.join(\\"#\\")", + "Next": "returnEmpty__return resultArr.join("#")", }, - Object { + { "IsPresent": true, - "Next": "append__return resultArr.join(\\"#\\")", + "Next": "append__return resultArr.join("#")", "Variable": "$.heap28[0]", }, ], - "Default": "1__return resultArr.join(\\"#\\")", + "Default": "1__return resultArr.join("#")", "Type": "Choice", }, - "initValue__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")": Object { + "initValue__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")": { "InputPath": "$.heap23[0]", - "Next": "tail__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", + "Next": "tail__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", "ResultPath": "$.heap24.string", "Type": "Pass", }, - "initValue__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)": Object { + "initValue__1__["d", "e", "f"].join(input.sep)": { "InputPath": "$.heap9[0]", - "Next": "tail__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)", + "Next": "tail__1__["d", "e", "f"].join(input.sep)", "ResultPath": "$.heap10.string", "Type": "Pass", }, - "initValue__input.arr.join()": Object { + "initValue__input.arr.join()": { "InputPath": "$.heap13[0]", "Next": "tail__input.arr.join()", "ResultPath": "$.heap14.string", "Type": "Pass", }, - "initValue__input.arr.join(input.sep)": Object { + "initValue__input.arr.join(input.sep)": { "InputPath": "$.heap4[0]", "Next": "tail__input.arr.join(input.sep)", "ResultPath": "$.heap5.string", "Type": "Pass", }, - "initValue__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), inp": Object { + "initValue__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), inp": { "InputPath": "$.heap0[0]", - "Next": "tail__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.ar", + "Next": "tail__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.ar", "ResultPath": "$.heap1.string", "Type": "Pass", }, - "initValue__return resultArr.join(\\"#\\")": Object { + "initValue__return resultArr.join("#")": { "InputPath": "$.heap28[0]", - "Next": "tail__return resultArr.join(\\"#\\")", + "Next": "tail__return resultArr.join("#")", "ResultPath": "$.heap29.string", "Type": "Pass", }, - "input.arr.join()": Object { + "input.arr.join()": { "ItemsPath": "$.input.arr", - "Iterator": Object { + "Iterator": { "StartAt": "Default 3", - "States": Object { - "Default 3": Object { - "Choices": Array [ - Object { + "States": { + "Default 3": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 3 1", "Variable": "$.item", @@ -26124,21 +26124,21 @@ Object { "Default": "format__Default 3", "Type": "Choice", }, - "assign__Default 3": Object { + "assign__Default 3": { "End": true, "InputPath": "$.heap15.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 3 1": Object { + "assign__Default 3 1": { "InputPath": "$.item", "Next": "assign__Default 3", "ResultPath": "$.heap15.str", "Type": "Pass", }, - "format__Default 3": Object { + "format__Default 3": { "Next": "assign__Default 3", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap15", @@ -26147,20 +26147,20 @@ Object { }, }, "Next": "hasNext__input.arr.join()", - "Parameters": Object { + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap13", "Type": "Map", }, - "input.arr.join(input.sep)": Object { + "input.arr.join(input.sep)": { "ItemsPath": "$.input.arr", - "Iterator": Object { + "Iterator": { "StartAt": "Default 1", - "States": Object { - "Default 1": Object { - "Choices": Array [ - Object { + "States": { + "Default 1": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 1 2", "Variable": "$.item", @@ -26169,21 +26169,21 @@ Object { "Default": "format__Default 1", "Type": "Choice", }, - "assign__Default 1 1": Object { + "assign__Default 1 1": { "End": true, "InputPath": "$.heap6.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 1 2": Object { + "assign__Default 1 2": { "InputPath": "$.item", "Next": "assign__Default 1 1", "ResultPath": "$.heap6.str", "Type": "Pass", }, - "format__Default 1": Object { + "format__Default 1": { "Next": "assign__Default 1 1", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap6", @@ -26192,26 +26192,26 @@ Object { }, }, "Next": "hasNext__input.arr.join(input.sep)", - "Parameters": Object { + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap4", "Type": "Map", }, - "resultArr": Object { + "resultArr": { "InputPath": "$.heap27.arr", - "Next": "return resultArr.join(\\"#\\")", + "Next": "return resultArr.join("#")", "ResultPath": "$.resultArr", "Type": "Pass", }, - "resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.join": Object { + "resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.join": { "ItemsPath": "$.input.arr", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { - "Choices": Array [ - Object { + "States": { + "Default": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 1", "Variable": "$.item", @@ -26220,21 +26220,21 @@ Object { "Default": "format__Default", "Type": "Choice", }, - "assign__Default": Object { + "assign__Default": { "End": true, "InputPath": "$.heap2.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 1": Object { + "assign__Default 1": { "InputPath": "$.item", "Next": "assign__Default", "ResultPath": "$.heap2.str", "Type": "Pass", }, - "format__Default": Object { + "format__Default": { "Next": "assign__Default", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap2", @@ -26242,21 +26242,21 @@ Object { }, }, }, - "Next": "hasNext__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input", - "Parameters": Object { + "Next": "hasNext__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input", + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", "Type": "Map", }, - "return resultArr.join(\\"#\\")": Object { + "return resultArr.join("#")": { "ItemsPath": "$.resultArr", - "Iterator": Object { + "Iterator": { "StartAt": "Default 5", - "States": Object { - "Default 5": Object { - "Choices": Array [ - Object { + "States": { + "Default 5": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 5 1", "Variable": "$.item", @@ -26265,21 +26265,21 @@ Object { "Default": "format__Default 5", "Type": "Choice", }, - "assign__Default 5": Object { + "assign__Default 5": { "End": true, "InputPath": "$.heap30.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 5 1": Object { + "assign__Default 5 1": { "InputPath": "$.item", "Next": "assign__Default 5", "ResultPath": "$.heap30.str", "Type": "Pass", }, - "format__Default 5": Object { + "format__Default 5": { "Next": "assign__Default 5", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap30", @@ -26287,82 +26287,82 @@ Object { }, }, }, - "Next": "hasNext__return resultArr.join(\\"#\\")", - "Parameters": Object { + "Next": "hasNext__return resultArr.join("#")", + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap28", "Type": "Map", }, - "returnEmpty__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\"": Object { - "Next": "9__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "returnEmpty__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("="": { + "Next": "9__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Result": "", "ResultPath": "$.heap24.string", "Type": "Pass", }, - "returnEmpty__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)": Object { - "Next": "5__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "returnEmpty__1__["d", "e", "f"].join(input.sep)": { + "Next": "5__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Result": "", "ResultPath": "$.heap10.string", "Type": "Pass", }, - "returnEmpty__input.arr.join()": Object { - "Next": "7__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "returnEmpty__input.arr.join()": { + "Next": "7__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Result": "", "ResultPath": "$.heap14.string", "Type": "Pass", }, - "returnEmpty__input.arr.join(input.sep)": Object { - "Next": "3__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "returnEmpty__input.arr.join(input.sep)": { + "Next": "3__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Result": "", "ResultPath": "$.heap5.string", "Type": "Pass", }, - "returnEmpty__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), i": Object { - "Next": "1__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.arr.j", + "returnEmpty__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), i": { + "Next": "1__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.arr.j", "Result": "", "ResultPath": "$.heap1.string", "Type": "Pass", }, - "returnEmpty__return resultArr.join(\\"#\\")": Object { - "Next": "1__return resultArr.join(\\"#\\")", + "returnEmpty__return resultArr.join("#")": { + "Next": "1__return resultArr.join("#")", "Result": "", "ResultPath": "$.heap29.string", "Type": "Pass", }, - "tail__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")": Object { + "tail__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")": { "InputPath": "$.heap23[1:]", - "Next": "hasNext__1__[\\"a\\", {a: \\"a\\"}, [\\"b\\"], input.obj, input.arr, null].join(\\"=\\")", + "Next": "hasNext__1__["a", {a: "a"}, ["b"], input.obj, input.arr, null].join("=")", "ResultPath": "$.heap23", "Type": "Pass", }, - "tail__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)": Object { + "tail__1__["d", "e", "f"].join(input.sep)": { "InputPath": "$.heap9[1:]", - "Next": "hasNext__1__[\\"d\\", \\"e\\", \\"f\\"].join(input.sep)", + "Next": "hasNext__1__["d", "e", "f"].join(input.sep)", "ResultPath": "$.heap9", "Type": "Pass", }, - "tail__input.arr.join()": Object { + "tail__input.arr.join()": { "InputPath": "$.heap13[1:]", "Next": "hasNext__input.arr.join()", "ResultPath": "$.heap13", "Type": "Pass", }, - "tail__input.arr.join(input.sep)": Object { + "tail__input.arr.join(input.sep)": { "InputPath": "$.heap4[1:]", "Next": "hasNext__input.arr.join(input.sep)", "ResultPath": "$.heap4", "Type": "Pass", }, - "tail__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input.ar": Object { + "tail__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input.ar": { "InputPath": "$.heap0[1:]", - "Next": "hasNext__resultArr = [[\\"a\\", \\"b\\", \\"c\\"].join(\\"/\\"), input.arr.join(\\"-\\"), input", + "Next": "hasNext__resultArr = [["a", "b", "c"].join("/"), input.arr.join("-"), input", "ResultPath": "$.heap0", "Type": "Pass", }, - "tail__return resultArr.join(\\"#\\")": Object { + "tail__return resultArr.join("#")": { "InputPath": "$.heap28[1:]", - "Next": "hasNext__return resultArr.join(\\"#\\")", + "Next": "hasNext__return resultArr.join("#")", "ResultPath": "$.heap28", "Type": "Pass", }, @@ -26371,12 +26371,12 @@ Object { `; exports[`json parse and stringify 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {str: str, obj: obj, a: obj.a}": Object { + "States": { + "1__return {str: str, obj: obj, a: obj.a}": { "End": true, - "Parameters": Object { + "Parameters": { "a.$": "$.heap4", "obj.$": "$.heap3", "str.$": "$.heap2", @@ -26384,22 +26384,22 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {str: str, obj: obj, a: obj.a} 1": Object { + "1__return {str: str, obj: obj, a: obj.a} 1": { "InputPath": "$.obj", "Next": "2__return {str: str, obj: obj, a: obj.a}", "ResultPath": "$.heap3", "Type": "Pass", }, - "2__return {str: str, obj: obj, a: obj.a}": Object { + "2__return {str: str, obj: obj, a: obj.a}": { "InputPath": "$.obj.a", "Next": "1__return {str: str, obj: obj, a: obj.a}", "ResultPath": "$.heap4", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "str = JSON.stringify(input)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -26407,35 +26407,35 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "obj": Object { + "obj": { "InputPath": "$.heap1.string", "Next": "return {str: str, obj: obj, a: obj.a}", "ResultPath": "$.obj", "Type": "Pass", }, - "obj = JSON.parse(str)": Object { + "obj = JSON.parse(str)": { "Next": "obj", - "Parameters": Object { + "Parameters": { "string.$": "States.StringToJson($.str)", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "return {str: str, obj: obj, a: obj.a}": Object { + "return {str: str, obj: obj, a: obj.a}": { "InputPath": "$.str", "Next": "1__return {str: str, obj: obj, a: obj.a} 1", "ResultPath": "$.heap2", "Type": "Pass", }, - "str": Object { + "str": { "InputPath": "$.heap0.string", "Next": "obj = JSON.parse(str)", "ResultPath": "$.str", "Type": "Pass", }, - "str = JSON.stringify(input)": Object { + "str = JSON.stringify(input)": { "Next": "str", - "Parameters": Object { + "Parameters": { "string.$": "States.JsonToString($.input)", }, "ResultPath": "$.heap0", @@ -26446,40 +26446,40 @@ Object { `; exports[`map 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__l = await $SFN.retry(function ()).map(function (x))": Object { + "States": { + "1__l = await $SFN.retry(function ()).map(function (x))": { "Next": "check__1__l = await $SFN.retry(function ()).map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1[0]", "arrStr": "[null", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "1__return l[0]l[1]l[2]l2[0]l2[1]l2[2]a": Object { + "1__return l[0]l[1]l[2]l2[0]l2[1]l2[2]a": { "End": true, "InputPath": "$.heap21.string", "ResultPath": "$", "Type": "Pass", }, - "1__return nixhead": Object { + "1__return nixhead": { "InputPath": "$.heap9.string", "Next": "handleResult__l2 = input.arr.map(function (x,i,[ head ]))", "ResultPath": "$.heap5.arr[0]", "Type": "Pass", }, - "1__return nx": Object { + "1__return nx": { "InputPath": "$.heap4.string", "Next": "handleResult__1__l = await $SFN.retry(function ()).map(function (x))", "ResultPath": "$.heap2.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -26487,41 +26487,41 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a": Object { + "a": { "InputPath": "$.a", "Next": "l[0]l[1]l[2]l2[0]l2[1]l2[2]a", "ResultPath": "$.heap20", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "l = await $SFN.retry(function ()).map(function (x))", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = aax": Object { + "a = aax": { "InputPath": "$.a", "Next": "x 3", "ResultPath": "$.heap11", "Type": "Pass", }, - "a = aax 1": Object { + "a = aax 1": { "InputPath": "$.heap13.string", "Next": "return a", "ResultPath": "$.a", "Type": "Pass", }, - "aax": Object { + "aax": { "Next": "a = aax 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}a{}',$.heap11,$.heap12)", }, "ResultPath": "$.heap13", "Type": "Pass", }, - "check__1__l = await $SFN.retry(function ()).map(function (x))": Object { - "Choices": Array [ - Object { + "check__1__l = await $SFN.retry(function ()).map(function (x))": { + "Choices": [ + { "IsPresent": true, "Next": "x", "Variable": "$.heap2.arr[0]", @@ -26530,9 +26530,9 @@ Object { "Default": "end__1__l = await $SFN.retry(function ()).map(function (x))", "Type": "Choice", }, - "check__input.arr.map(function (x))": Object { - "Choices": Array [ - Object { + "check__input.arr.map(function (x))": { + "Choices": [ + { "IsPresent": true, "Next": "x 2", "Variable": "$.heap10.arr[0]", @@ -26541,9 +26541,9 @@ Object { "Default": "end__input.arr.map(function (x))", "Type": "Choice", }, - "check__l2 = input.arr.map(function (x,i,[ head ]))": Object { - "Choices": Array [ - Object { + "check__l2 = input.arr.map(function (x,i,[ head ]))": { + "Choices": [ + { "IsPresent": true, "Next": "function (x,i,[ head ])", "Variable": "$.heap5.arr[0]", @@ -26552,108 +26552,108 @@ Object { "Default": "end__l2 = input.arr.map(function (x,i,[ head ]))", "Type": "Choice", }, - "end__1__l = await $SFN.retry(function ()).map(function (x))": Object { + "end__1__l = await $SFN.retry(function ()).map(function (x))": { "Next": "set__end__1__l = await $SFN.retry(function ()).map(function (x))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap2.arrStr))", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "end__input.arr.map(function (x))": Object { + "end__input.arr.map(function (x))": { "Next": "set__end__input.arr.map(function (x))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap10.arrStr))", }, "ResultPath": "$.heap10", "Type": "Pass", }, - "end__l2 = input.arr.map(function (x,i,[ head ]))": Object { + "end__l2 = input.arr.map(function (x,i,[ head ]))": { "Next": "set__end__l2 = input.arr.map(function (x,i,[ head ]))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap5.arrStr))", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "function (x,i,[ head ])": Object { + "function (x,i,[ head ])": { "InputPath": "$.heap5.arr[0].item", "Next": "i", "ResultPath": "$.x__1", "Type": "Pass", }, - "handleResult__1__l = await $SFN.retry(function ()).map(function (x))": Object { + "handleResult__1__l = await $SFN.retry(function ()).map(function (x))": { "Next": "check__1__l = await $SFN.retry(function ()).map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap2.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap2.arrStr, States.JsonToString($.heap2.arr[0]))", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "handleResult__input.arr.map(function (x))": Object { + "handleResult__input.arr.map(function (x))": { "Next": "check__input.arr.map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap10.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap10.arrStr, States.JsonToString($.heap10.arr[0]))", }, "ResultPath": "$.heap10", "Type": "Pass", }, - "handleResult__l2 = input.arr.map(function (x,i,[ head ]))": Object { + "handleResult__l2 = input.arr.map(function (x,i,[ head ]))": { "Next": "check__l2 = input.arr.map(function (x,i,[ head ]))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap5.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap5.arrStr, States.JsonToString($.heap5.arr[0]))", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "head": Object { + "head": { "InputPath": "$.input.arr[0]", "Next": "return nixhead", "ResultPath": "$.head", "Type": "Pass", }, - "head 1": Object { + "head 1": { "InputPath": "$.head", "Next": "nixhead", "ResultPath": "$.heap8", "Type": "Pass", }, - "i": Object { + "i": { "InputPath": "$.heap5.arr[0].index", "Next": "head", "ResultPath": "$.i", "Type": "Pass", }, - "input.arr.map(function (x))": Object { + "input.arr.map(function (x))": { "Next": "check__input.arr.map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.arr", "arrStr": "[null", }, "ResultPath": "$.heap10", "Type": "Pass", }, - "l": Object { + "l": { "InputPath": "$.heap2", "Next": "l2 = input.arr.map(function (x,i,[ head ]))", "ResultPath": "$.l", "Type": "Pass", }, - "l = await $SFN.retry(function ()).map(function (x))": Object { - "Branches": Array [ - Object { + "l = await $SFN.retry(function ()).map(function (x))": { + "Branches": [ + { "StartAt": "return arrFunc()", - "States": Object { - "1__return arrFunc()": Object { + "States": { + "1__return arrFunc()": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return arrFunc()": Object { + "return arrFunc()": { "InputPath": "$.fnl_context.null", "Next": "1__return arrFunc()", "Resource": "__REPLACED_TOKEN", @@ -26664,33 +26664,33 @@ Object { }, ], "Next": "1__l = await $SFN.retry(function ()).map(function (x))", - "Parameters": Object { + "Parameters": { "a.$": "$.a", "fnl_context.$": "$.fnl_context", "input.$": "$.input", }, "ResultPath": "$.heap1", - "Retry": Array [ - Object { - "ErrorEquals": Array [ + "Retry": [ + { + "ErrorEquals": [ "States.ALL", ], }, ], "Type": "Parallel", }, - "l2": Object { + "l2": { "InputPath": "$.heap5", "Next": "input.arr.map(function (x))", "ResultPath": "$.l2", "Type": "Pass", }, - "l2 = input.arr.map(function (x,i,[ head ]))": Object { + "l2 = input.arr.map(function (x,i,[ head ]))": { "ItemsPath": "$.input.arr", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -26698,132 +26698,132 @@ Object { }, }, "Next": "check__l2 = input.arr.map(function (x,i,[ head ]))", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap5", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", "arrStr": "[null", }, "Type": "Map", }, - "l2[0]": Object { + "l2[0]": { "InputPath": "$.l2[0]", "Next": "l2[1]", "ResultPath": "$.heap17", "Type": "Pass", }, - "l2[1]": Object { + "l2[1]": { "InputPath": "$.l2[1]", "Next": "l2[2]", "ResultPath": "$.heap18", "Type": "Pass", }, - "l2[2]": Object { + "l2[2]": { "InputPath": "$.l2[2]", "Next": "a", "ResultPath": "$.heap19", "Type": "Pass", }, - "l[0]l[1]l[2]l2[0]l2[1]l2[2]a": Object { + "l[0]l[1]l[2]l2[0]l2[1]l2[2]a": { "Next": "1__return l[0]l[1]l[2]l2[0]l2[1]l2[2]a", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}{}{}{}{}',$.heap14,$.heap15,$.heap16,$.heap17,$.heap18,$.heap19,$.heap20)", }, "ResultPath": "$.heap21", "Type": "Pass", }, - "l[1]": Object { + "l[1]": { "InputPath": "$.l[1]", "Next": "l[2]", "ResultPath": "$.heap15", "Type": "Pass", }, - "l[2]": Object { + "l[2]": { "InputPath": "$.l[2]", "Next": "l2[0]", "ResultPath": "$.heap16", "Type": "Pass", }, - "nixhead": Object { + "nixhead": { "Next": "1__return nixhead", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('n{}{}{}',$.heap6,$.heap7,$.heap8)", }, "ResultPath": "$.heap9", "Type": "Pass", }, - "nx": Object { + "nx": { "Next": "1__return nx", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('n{}',$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "return a": Object { + "return a": { "InputPath": "$.a", "Next": "handleResult__input.arr.map(function (x))", "ResultPath": "$.heap10.arr[0]", "Type": "Pass", }, - "return l[0]l[1]l[2]l2[0]l2[1]l2[2]a": Object { + "return l[0]l[1]l[2]l2[0]l2[1]l2[2]a": { "InputPath": "$.l[0]", "Next": "l[1]", "ResultPath": "$.heap14", "Type": "Pass", }, - "return nixhead": Object { + "return nixhead": { "InputPath": "$.i", "Next": "x 1", "ResultPath": "$.heap6", "Type": "Pass", }, - "return nx": Object { + "return nx": { "InputPath": "$.x", "Next": "nx", "ResultPath": "$.heap3", "Type": "Pass", }, - "set__end__1__l = await $SFN.retry(function ()).map(function (x))": Object { + "set__end__1__l = await $SFN.retry(function ()).map(function (x))": { "InputPath": "$.heap2.result[1:]", "Next": "l", "ResultPath": "$.heap2", "Type": "Pass", }, - "set__end__input.arr.map(function (x))": Object { + "set__end__input.arr.map(function (x))": { "InputPath": "$.heap10.result[1:]", "Next": "return l[0]l[1]l[2]l2[0]l2[1]l2[2]a", "ResultPath": "$.heap10", "Type": "Pass", }, - "set__end__l2 = input.arr.map(function (x,i,[ head ]))": Object { + "set__end__l2 = input.arr.map(function (x,i,[ head ]))": { "InputPath": "$.heap5.result[1:]", "Next": "l2", "ResultPath": "$.heap5", "Type": "Pass", }, - "x": Object { + "x": { "InputPath": "$.heap2.arr[0]", "Next": "return nx", "ResultPath": "$.x", "Type": "Pass", }, - "x 1": Object { + "x 1": { "InputPath": "$.x__1", "Next": "head 1", "ResultPath": "$.heap7", "Type": "Pass", }, - "x 2": Object { + "x 2": { "InputPath": "$.heap10.arr[0]", "Next": "a = aax", "ResultPath": "$.x__2", "Type": "Pass", }, - "x 3": Object { + "x 3": { "InputPath": "$.x__2", "Next": "aax", "ResultPath": "$.heap12", @@ -26834,40 +26834,40 @@ Object { `; exports[`map uses input 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__l = await arrFunc().map(function (x))": Object { + "States": { + "1__l = await arrFunc().map(function (x))": { "Next": "check__1__l = await arrFunc().map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0", "arrStr": "[null", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "1__return input.prefixx": Object { + "1__return input.prefixx": { "InputPath": "$.heap4.string", "Next": "handleResult__1__l = await arrFunc().map(function (x))", "ResultPath": "$.heap1.arr[0]", "Type": "Pass", }, - "1__return input.prefixx 1": Object { + "1__return input.prefixx 1": { "InputPath": "$.heap8.string", "Next": "handleResult__l2 = input.arr.map(function (x))", "ResultPath": "$.heap5.arr[0]", "Type": "Pass", }, - "1__return l[0]l[1]l[2]l2[0]l2[1]l2[2]": Object { + "1__return l[0]l[1]l[2]l2[0]l2[1]l2[2]": { "End": true, "InputPath": "$.heap15.string", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "l = await arrFunc().map(function (x))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -26875,9 +26875,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__1__l = await arrFunc().map(function (x))": Object { - "Choices": Array [ - Object { + "check__1__l = await arrFunc().map(function (x))": { + "Choices": [ + { "IsPresent": true, "Next": "x", "Variable": "$.heap1.arr[0]", @@ -26886,9 +26886,9 @@ Object { "Default": "end__1__l = await arrFunc().map(function (x))", "Type": "Choice", }, - "check__l2 = input.arr.map(function (x))": Object { - "Choices": Array [ - Object { + "check__l2 = input.arr.map(function (x))": { + "Choices": [ + { "IsPresent": true, "Next": "x 2", "Variable": "$.heap5.arr[0]", @@ -26897,171 +26897,171 @@ Object { "Default": "end__l2 = input.arr.map(function (x))", "Type": "Choice", }, - "end__1__l = await arrFunc().map(function (x))": Object { + "end__1__l = await arrFunc().map(function (x))": { "Next": "set__end__1__l = await arrFunc().map(function (x))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "end__l2 = input.arr.map(function (x))": Object { + "end__l2 = input.arr.map(function (x))": { "Next": "set__end__l2 = input.arr.map(function (x))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap5.arrStr))", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "handleResult__1__l = await arrFunc().map(function (x))": Object { + "handleResult__1__l = await arrFunc().map(function (x))": { "Next": "check__1__l = await arrFunc().map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0]))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "handleResult__l2 = input.arr.map(function (x))": Object { + "handleResult__l2 = input.arr.map(function (x))": { "Next": "check__l2 = input.arr.map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap5.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap5.arrStr, States.JsonToString($.heap5.arr[0]))", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "input.prefixx": Object { + "input.prefixx": { "Next": "1__return input.prefixx", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap2,$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "input.prefixx 1": Object { + "input.prefixx 1": { "Next": "1__return input.prefixx 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap6,$.heap7)", }, "ResultPath": "$.heap8", "Type": "Pass", }, - "l": Object { + "l": { "InputPath": "$.heap1", "Next": "l2 = input.arr.map(function (x))", "ResultPath": "$.l", "Type": "Pass", }, - "l = await arrFunc().map(function (x))": Object { + "l = await arrFunc().map(function (x))": { "InputPath": "$.fnl_context.null", "Next": "1__l = await arrFunc().map(function (x))", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "l2": Object { + "l2": { "InputPath": "$.heap5", "Next": "return l[0]l[1]l[2]l2[0]l2[1]l2[2]", "ResultPath": "$.l2", "Type": "Pass", }, - "l2 = input.arr.map(function (x))": Object { + "l2 = input.arr.map(function (x))": { "Next": "check__l2 = input.arr.map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.arr", "arrStr": "[null", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "l2[0]": Object { + "l2[0]": { "InputPath": "$.l2[0]", "Next": "l2[1]", "ResultPath": "$.heap12", "Type": "Pass", }, - "l2[1]": Object { + "l2[1]": { "InputPath": "$.l2[1]", "Next": "l2[2]", "ResultPath": "$.heap13", "Type": "Pass", }, - "l2[2]": Object { + "l2[2]": { "InputPath": "$.l2[2]", "Next": "l[0]l[1]l[2]l2[0]l2[1]l2[2]", "ResultPath": "$.heap14", "Type": "Pass", }, - "l[0]l[1]l[2]l2[0]l2[1]l2[2]": Object { + "l[0]l[1]l[2]l2[0]l2[1]l2[2]": { "Next": "1__return l[0]l[1]l[2]l2[0]l2[1]l2[2]", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}{}{}{}',$.heap9,$.heap10,$.heap11,$.heap12,$.heap13,$.heap14)", }, "ResultPath": "$.heap15", "Type": "Pass", }, - "l[1]": Object { + "l[1]": { "InputPath": "$.l[1]", "Next": "l[2]", "ResultPath": "$.heap10", "Type": "Pass", }, - "l[2]": Object { + "l[2]": { "InputPath": "$.l[2]", "Next": "l2[0]", "ResultPath": "$.heap11", "Type": "Pass", }, - "return input.prefixx": Object { + "return input.prefixx": { "InputPath": "$.input.prefix", "Next": "x 1", "ResultPath": "$.heap2", "Type": "Pass", }, - "return input.prefixx 1": Object { + "return input.prefixx 1": { "InputPath": "$.input.prefix", "Next": "x 3", "ResultPath": "$.heap6", "Type": "Pass", }, - "return l[0]l[1]l[2]l2[0]l2[1]l2[2]": Object { + "return l[0]l[1]l[2]l2[0]l2[1]l2[2]": { "InputPath": "$.l[0]", "Next": "l[1]", "ResultPath": "$.heap9", "Type": "Pass", }, - "set__end__1__l = await arrFunc().map(function (x))": Object { + "set__end__1__l = await arrFunc().map(function (x))": { "InputPath": "$.heap1.result[1:]", "Next": "l", "ResultPath": "$.heap1", "Type": "Pass", }, - "set__end__l2 = input.arr.map(function (x))": Object { + "set__end__l2 = input.arr.map(function (x))": { "InputPath": "$.heap5.result[1:]", "Next": "l2", "ResultPath": "$.heap5", "Type": "Pass", }, - "x": Object { + "x": { "InputPath": "$.heap1.arr[0]", "Next": "return input.prefixx", "ResultPath": "$.x", "Type": "Pass", }, - "x 1": Object { + "x 1": { "InputPath": "$.x", "Next": "input.prefixx", "ResultPath": "$.heap3", "Type": "Pass", }, - "x 2": Object { + "x 2": { "InputPath": "$.heap5.arr[0]", "Next": "return input.prefixx 1", "ResultPath": "$.x__1", "Type": "Pass", }, - "x 3": Object { + "x 3": { "InputPath": "$.x__1", "Next": "input.prefixx 1", "ResultPath": "$.heap7", @@ -27072,34 +27072,34 @@ Object { `; exports[`map with dynamic for loops 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__l = await arrFunc().map(function (x))": Object { + "States": { + "1__l = await arrFunc().map(function (x))": { "Next": "check__1__l = await arrFunc().map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0", "arrStr": "[null", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "1__return nx": Object { + "1__return nx": { "InputPath": "$.heap3.string", "Next": "handleResult__1__l = await arrFunc().map(function (x))", "ResultPath": "$.heap1.arr[0]", "Type": "Pass", }, - "1__return nx 1": Object { + "1__return nx 1": { "InputPath": "$.heap6.string", "Next": "handleResult__l2 = input.arr.map(function (x))", "ResultPath": "$.heap4.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "l = await arrFunc().map(function (x))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -27107,55 +27107,55 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "for(x of l)", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = ax": Object { + "a = ax": { "InputPath": "$.a", "Next": "x 3", "ResultPath": "$.heap7", "Type": "Pass", }, - "a = ax 1": Object { + "a = ax 1": { "InputPath": "$.heap9.string", "Next": "tail__for(x of l)", "ResultPath": "$.a", "Type": "Pass", }, - "a = ax 2": Object { + "a = ax 2": { "InputPath": "$.a", "Next": "x 5", "ResultPath": "$.heap11", "Type": "Pass", }, - "a = ax 3": Object { + "a = ax 3": { "InputPath": "$.heap13.string", "Next": "tail__for(x of l2)", "ResultPath": "$.a", "Type": "Pass", }, - "ax": Object { + "ax": { "Next": "a = ax 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap7,$.heap8)", }, "ResultPath": "$.heap9", "Type": "Pass", }, - "ax 1": Object { + "ax 1": { "Next": "a = ax 3", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap11,$.heap12)", }, "ResultPath": "$.heap13", "Type": "Pass", }, - "check__1__l = await arrFunc().map(function (x))": Object { - "Choices": Array [ - Object { + "check__1__l = await arrFunc().map(function (x))": { + "Choices": [ + { "IsPresent": true, "Next": "x", "Variable": "$.heap1.arr[0]", @@ -27164,9 +27164,9 @@ Object { "Default": "end__1__l = await arrFunc().map(function (x))", "Type": "Choice", }, - "check__l2 = input.arr.map(function (x))": Object { - "Choices": Array [ - Object { + "check__l2 = input.arr.map(function (x))": { + "Choices": [ + { "IsPresent": true, "Next": "x 1", "Variable": "$.heap4.arr[0]", @@ -27175,55 +27175,55 @@ Object { "Default": "end__l2 = input.arr.map(function (x))", "Type": "Choice", }, - "end__1__l = await arrFunc().map(function (x))": Object { + "end__1__l = await arrFunc().map(function (x))": { "Next": "set__end__1__l = await arrFunc().map(function (x))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "end__l2 = input.arr.map(function (x))": Object { + "end__l2 = input.arr.map(function (x))": { "Next": "set__end__l2 = input.arr.map(function (x))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap4.arrStr))", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "for(x of l)": Object { + "for(x of l)": { "InputPath": "$.l", "Next": "hasNext__for(x of l)", "ResultPath": "$.heap10", "Type": "Pass", }, - "for(x of l2)": Object { + "for(x of l2)": { "InputPath": "$.l2", "Next": "hasNext__for(x of l2)", "ResultPath": "$.heap14", "Type": "Pass", }, - "handleResult__1__l = await arrFunc().map(function (x))": Object { + "handleResult__1__l = await arrFunc().map(function (x))": { "Next": "check__1__l = await arrFunc().map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0]))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "handleResult__l2 = input.arr.map(function (x))": Object { + "handleResult__l2 = input.arr.map(function (x))": { "Next": "check__l2 = input.arr.map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap4.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap4.arrStr, States.JsonToString($.heap4.arr[0]))", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "hasNext__for(x of l)": Object { - "Choices": Array [ - Object { + "hasNext__for(x of l)": { + "Choices": [ + { "IsPresent": true, "Next": "x 2", "Variable": "$.heap10[0]", @@ -27232,9 +27232,9 @@ Object { "Default": "for(x of l2)", "Type": "Choice", }, - "hasNext__for(x of l2)": Object { - "Choices": Array [ - Object { + "hasNext__for(x of l2)": { + "Choices": [ + { "IsPresent": true, "Next": "x 4", "Variable": "$.heap14[0]", @@ -27243,123 +27243,123 @@ Object { "Default": "return a", "Type": "Choice", }, - "l": Object { + "l": { "InputPath": "$.heap1", "Next": "l2 = input.arr.map(function (x))", "ResultPath": "$.l", "Type": "Pass", }, - "l = await arrFunc().map(function (x))": Object { + "l = await arrFunc().map(function (x))": { "InputPath": "$.fnl_context.null", "Next": "1__l = await arrFunc().map(function (x))", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "l2": Object { + "l2": { "InputPath": "$.heap4", - "Next": "a = \\"\\"", + "Next": "a = """, "ResultPath": "$.l2", "Type": "Pass", }, - "l2 = input.arr.map(function (x))": Object { + "l2 = input.arr.map(function (x))": { "Next": "check__l2 = input.arr.map(function (x))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.arr", "arrStr": "[null", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "nx": Object { + "nx": { "Next": "1__return nx", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('n{}',$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "nx 1": Object { + "nx 1": { "Next": "1__return nx 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('n{}',$.heap5)", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", "Type": "Pass", }, - "return nx": Object { + "return nx": { "InputPath": "$.x", "Next": "nx", "ResultPath": "$.heap2", "Type": "Pass", }, - "return nx 1": Object { + "return nx 1": { "InputPath": "$.x__1", "Next": "nx 1", "ResultPath": "$.heap5", "Type": "Pass", }, - "set__end__1__l = await arrFunc().map(function (x))": Object { + "set__end__1__l = await arrFunc().map(function (x))": { "InputPath": "$.heap1.result[1:]", "Next": "l", "ResultPath": "$.heap1", "Type": "Pass", }, - "set__end__l2 = input.arr.map(function (x))": Object { + "set__end__l2 = input.arr.map(function (x))": { "InputPath": "$.heap4.result[1:]", "Next": "l2", "ResultPath": "$.heap4", "Type": "Pass", }, - "tail__for(x of l)": Object { + "tail__for(x of l)": { "InputPath": "$.heap10[1:]", "Next": "hasNext__for(x of l)", "ResultPath": "$.heap10", "Type": "Pass", }, - "tail__for(x of l2)": Object { + "tail__for(x of l2)": { "InputPath": "$.heap14[1:]", "Next": "hasNext__for(x of l2)", "ResultPath": "$.heap14", "Type": "Pass", }, - "x": Object { + "x": { "InputPath": "$.heap1.arr[0]", "Next": "return nx", "ResultPath": "$.x", "Type": "Pass", }, - "x 1": Object { + "x 1": { "InputPath": "$.heap4.arr[0]", "Next": "return nx 1", "ResultPath": "$.x__1", "Type": "Pass", }, - "x 2": Object { + "x 2": { "InputPath": "$.heap10[0]", "Next": "a = ax", "ResultPath": "$.x__2", "Type": "Pass", }, - "x 3": Object { + "x 3": { "InputPath": "$.x__2", "Next": "ax", "ResultPath": "$.heap8", "Type": "Pass", }, - "x 4": Object { + "x 4": { "InputPath": "$.heap14[0]", "Next": "a = ax 2", "ResultPath": "$.x__3", "Type": "Pass", }, - "x 5": Object { + "x 5": { "InputPath": "$.x__3", "Next": "ax 1", "ResultPath": "$.heap12", @@ -27370,40 +27370,40 @@ Object { `; exports[`no state pollution 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return a ?? null": Object { + "States": { + "1__return a ?? null": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return a ?? null", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "false__return a ?? null": Object { + "false__return a ?? null": { "InputPath": "$.fnl_context.null", "Next": "1__return a ?? null", "ResultPath": "$.heap0", "Type": "Pass", }, - "return a ?? null": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return a ?? null": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.a", }, - Object { + { "IsNull": false, "Variable": "$.a", }, @@ -27414,7 +27414,7 @@ Object { "Default": "false__return a ?? null", "Type": "Choice", }, - "true__return a ?? null": Object { + "true__return a ?? null": { "InputPath": "$.a", "Next": "1__return a ?? null", "ResultPath": "$.heap0", @@ -27425,28 +27425,28 @@ Object { `; exports[`overlapping variable with input 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {a: input.a, b: a}": Object { + "States": { + "1__return {a: input.a, b: a}": { "End": true, - "Parameters": Object { + "Parameters": { "a.$": "$.heap0", "b.$": "$.heap1", }, "ResultPath": "$", "Type": "Pass", }, - "1__return {a: input.a, b: a} 1": Object { + "1__return {a: input.a, b: a} 1": { "InputPath": "$.a", "Next": "1__return {a: input.a, b: a}", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"2\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = "2"", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -27454,13 +27454,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"2\\"": Object { + "a = "2"": { "Next": "return {a: input.a, b: a}", "Result": "2", "ResultPath": "$.a", "Type": "Pass", }, - "return {a: input.a, b: a}": Object { + "return {a: input.a, b: a}": { "InputPath": "$.input.a", "Next": "1__return {a: input.a, b: a} 1", "ResultPath": "$.heap0", @@ -27471,59 +27471,59 @@ Object { `; exports[`shadowing maintains state 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.map([7], function (f))": Object { + "States": { + "$SFN.map([7], function (f))": { "ItemsPath": "$.heap9", - "Iterator": Object { + "Iterator": { "StartAt": "return abcdef", - "States": Object { - "1__return abcdef": Object { + "States": { + "1__return abcdef": { "End": true, "InputPath": "$.heap8.string", "ResultPath": "$", "Type": "Pass", }, - "abcdef": Object { + "abcdef": { "Next": "1__return abcdef", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}{}{}{}',$.heap2,$.heap3,$.heap4,$.heap5,$.heap6,$.heap7)", }, "ResultPath": "$.heap8", "Type": "Pass", }, - "b": Object { + "b": { "InputPath": "$.b__1", "Next": "c", "ResultPath": "$.heap3", "Type": "Pass", }, - "c": Object { + "c": { "InputPath": "$.c__1", "Next": "d", "ResultPath": "$.heap4", "Type": "Pass", }, - "d": Object { + "d": { "InputPath": "$.d__1", "Next": "e", "ResultPath": "$.heap5", "Type": "Pass", }, - "e": Object { + "e": { "InputPath": "$.e__1", "Next": "f", "ResultPath": "$.heap6", "Type": "Pass", }, - "f": Object { + "f": { "InputPath": "$.f__1", "Next": "abcdef", "ResultPath": "$.heap7", "Type": "Pass", }, - "return abcdef": Object { + "return abcdef": { "InputPath": "$.a__1", "Next": "b", "ResultPath": "$.heap2", @@ -27532,7 +27532,7 @@ Object { }, }, "Next": "r", - "Parameters": Object { + "Parameters": { "a__1.$": "$.a__1", "b__1.$": "$.b__1", "c__1.$": "$.c__1", @@ -27546,75 +27546,75 @@ Object { "ResultPath": "$.heap10", "Type": "Map", }, - "-f": Object { + "-f": { "InputPath": "$.f", "Next": "z 2", "ResultPath": "$.heap61", "Type": "Pass", }, - "-rabcdef": Object { + "-rabcdef": { "Next": "res = -rabcdef 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}-{}{}{}{}{}{}',$.heap11,$.heap12,$.heap13,$.heap14,$.heap15,$.heap16,$.heap17)", }, "ResultPath": "$.heap18", "Type": "Pass", }, - "-resabcde-fz": Object { + "-resabcde-fz": { "Next": "1__return -resabcde-fz", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}-{}{}{}{}{}{}-{}',$.heap55,$.heap56,$.heap57,$.heap58,$.heap59,$.heap60,$.heap61,$.heap62)", }, "ResultPath": "$.heap63", "Type": "Pass", }, - "-resabcdef": Object { + "-resabcdef": { "Next": "res = -resabcdef 4", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}-{}{}{}{}{}{}',$.heap19,$.heap20,$.heap21,$.heap22,$.heap23,$.heap24,$.heap25)", }, "ResultPath": "$.heap26", "Type": "Pass", }, - "-resabcdef 1": Object { + "-resabcdef 1": { "Next": "res = -resabcdef 5", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}-{}{}{}{}{}{}',$.heap27,$.heap28,$.heap29,$.heap30,$.heap31,$.heap32,$.heap33)", }, "ResultPath": "$.heap34", "Type": "Pass", }, - "-resabcdef 2": Object { + "-resabcdef 2": { "Next": "res = -resabcdef 6", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}-{}{}{}{}{}{}',$.heap35,$.heap36,$.heap37,$.heap38,$.heap39,$.heap40,$.heap41)", }, "ResultPath": "$.heap42", "Type": "Pass", }, - "-resabcdef 3": Object { + "-resabcdef 3": { "Next": "res = -resabcdef 7", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}-{}{}{}{}{}{}',$.heap44,$.heap45,$.heap46,$.heap47,$.heap48,$.heap49,$.heap50)", }, "ResultPath": "$.heap51", "Type": "Pass", }, - "1__await Promise.all([4].map(function (c)))": Object { + "1__await Promise.all([4].map(function (c)))": { "Next": "check__1__await Promise.all([4].map(function (c)))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0", "arrStr": "[null", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "1__for(a in [2])": Object { + "1__for(a in [2])": { "ItemsPath": "$.heap52", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -27622,34 +27622,34 @@ Object { }, }, "Next": "hasNext__for(a in [2])", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap52", "Type": "Map", }, - "1__for(e = 6;e === 6;e = 7)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "1__for(e = 6;e === 6;e = 7)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.e__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.e__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.e__1", }, - Object { + { "NumericEquals": 6, "Variable": "$.e__1", }, @@ -27664,192 +27664,192 @@ Object { "Default": "res = -resabcdef 3", "Type": "Choice", }, - "1__return -resabcde-fz": Object { + "1__return -resabcde-fz": { "End": true, "InputPath": "$.heap63.string", "ResultPath": "$", "Type": "Pass", }, - "1__z = [0].map(function (z))[0]": Object { + "1__z = [0].map(function (z))[0]": { "Next": "check__1__z = [0].map(function (z))[0]", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap53", "arrStr": "[null", }, "ResultPath": "$.heap54", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "[ a, b, c, d, e, f ] = [1, 1, 1, 1, 1, 1]", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[ a, b, c, d, e, f ] = [1, 1, 1, 1, 1, 1]": Object { + "[ a, b, c, d, e, f ] = [1, 1, 1, 1, 1, 1]": { "Next": "b 1", "Result": 1, "ResultPath": "$.a", "Type": "Pass", }, - "a": Object { + "a": { "InputPath": "$.heap52[0].index", "Next": "assignValue__a", "ResultPath": "$.a__1", "Type": "Pass", }, - "a 1": Object { + "a 1": { "InputPath": "$.a__1", "Next": "b 3", "ResultPath": "$.heap12", "Type": "Pass", }, - "a 2": Object { + "a 2": { "InputPath": "$.a__1", "Next": "b 4", "ResultPath": "$.heap20", "Type": "Pass", }, - "a 3": Object { + "a 3": { "InputPath": "$.a__1", "Next": "b 5", "ResultPath": "$.heap28", "Type": "Pass", }, - "a 4": Object { + "a 4": { "InputPath": "$.a__1", "Next": "b 6", "ResultPath": "$.heap36", "Type": "Pass", }, - "a 5": Object { + "a 5": { "InputPath": "$.a__1", "Next": "b 7", "ResultPath": "$.heap45", "Type": "Pass", }, - "a 6": Object { + "a 6": { "InputPath": "$.a", "Next": "b 8", "ResultPath": "$.heap56", "Type": "Pass", }, - "assignValue__a": Object { + "assignValue__a": { "InputPath": "$.heap52[0].item", "Next": "for(b of [3])", "ResultPath": "$.0__a__1", "Type": "Pass", }, - "await Promise.all([4].map(function (c)))": Object { + "await Promise.all([4].map(function (c)))": { "Next": "1__await Promise.all([4].map(function (c)))", - "Result": Array [ + "Result": [ 4, ], "ResultPath": "$.heap0", "Type": "Pass", }, - "b 1": Object { + "b 1": { "Next": "c 1", "Result": 1, "ResultPath": "$.b", "Type": "Pass", }, - "b 2": Object { + "b 2": { "InputPath": "$.heap43[0]", "Next": "await Promise.all([4].map(function (c)))", "ResultPath": "$.b__1", "Type": "Pass", }, - "b 3": Object { + "b 3": { "InputPath": "$.b__1", "Next": "c 3", "ResultPath": "$.heap13", "Type": "Pass", }, - "b 4": Object { + "b 4": { "InputPath": "$.b__1", "Next": "c 4", "ResultPath": "$.heap21", "Type": "Pass", }, - "b 5": Object { + "b 5": { "InputPath": "$.b__1", "Next": "c 5", "ResultPath": "$.heap29", "Type": "Pass", }, - "b 6": Object { + "b 6": { "InputPath": "$.b__1", "Next": "c 6", "ResultPath": "$.heap37", "Type": "Pass", }, - "b 7": Object { + "b 7": { "InputPath": "$.b", "Next": "c 7", "ResultPath": "$.heap46", "Type": "Pass", }, - "b 8": Object { + "b 8": { "InputPath": "$.b", "Next": "c 8", "ResultPath": "$.heap57", "Type": "Pass", }, - "c 1": Object { + "c 1": { "Next": "d 1", "Result": 1, "ResultPath": "$.c", "Type": "Pass", }, - "c 2": Object { + "c 2": { "InputPath": "$.heap1.arr[0]", "Next": "if(c === 4)", "ResultPath": "$.c__1", "Type": "Pass", }, - "c 3": Object { + "c 3": { "InputPath": "$.c__1", "Next": "d 2", "ResultPath": "$.heap14", "Type": "Pass", }, - "c 4": Object { + "c 4": { "InputPath": "$.c__1", "Next": "d 3", "ResultPath": "$.heap22", "Type": "Pass", }, - "c 5": Object { + "c 5": { "InputPath": "$.c__1", "Next": "d 4", "ResultPath": "$.heap30", "Type": "Pass", }, - "c 6": Object { + "c 6": { "InputPath": "$.c", "Next": "d 5", "ResultPath": "$.heap38", "Type": "Pass", }, - "c 7": Object { + "c 7": { "InputPath": "$.c", "Next": "d 6", "ResultPath": "$.heap47", "Type": "Pass", }, - "c 8": Object { + "c 8": { "InputPath": "$.c", "Next": "d 7", "ResultPath": "$.heap58", "Type": "Pass", }, - "check__1__await Promise.all([4].map(function (c)))": Object { - "Choices": Array [ - Object { + "check__1__await Promise.all([4].map(function (c)))": { + "Choices": [ + { "IsPresent": true, "Next": "c 2", "Variable": "$.heap1.arr[0]", @@ -27858,9 +27858,9 @@ Object { "Default": "end__1__await Promise.all([4].map(function (c)))", "Type": "Choice", }, - "check__1__z = [0].map(function (z))[0]": Object { - "Choices": Array [ - Object { + "check__1__z = [0].map(function (z))[0]": { + "Choices": [ + { "IsPresent": true, "Next": "z 1", "Variable": "$.heap54.arr[0]", @@ -27869,197 +27869,197 @@ Object { "Default": "end__1__z = [0].map(function (z))[0]", "Type": "Choice", }, - "d 1": Object { + "d 1": { "Next": "e 1", "Result": 1, "ResultPath": "$.d", "Type": "Pass", }, - "d 2": Object { + "d 2": { "InputPath": "$.d__1", "Next": "e 2", "ResultPath": "$.heap15", "Type": "Pass", }, - "d 3": Object { + "d 3": { "InputPath": "$.d__1", "Next": "e 3", "ResultPath": "$.heap23", "Type": "Pass", }, - "d 4": Object { + "d 4": { "InputPath": "$.d", "Next": "e 4", "ResultPath": "$.heap31", "Type": "Pass", }, - "d 5": Object { + "d 5": { "InputPath": "$.d", "Next": "e 5", "ResultPath": "$.heap39", "Type": "Pass", }, - "d 6": Object { + "d 6": { "InputPath": "$.d", "Next": "e 6", "ResultPath": "$.heap48", "Type": "Pass", }, - "d 7": Object { + "d 7": { "InputPath": "$.d", "Next": "e 7", "ResultPath": "$.heap59", "Type": "Pass", }, - "d = 5": Object { + "d = 5": { "Next": "for(e = 6;e === 6;e = 7)", "Result": 5, "ResultPath": "$.d__1", "Type": "Pass", }, - "e 1": Object { + "e 1": { "Next": "f 1", "Result": 1, "ResultPath": "$.e", "Type": "Pass", }, - "e 2": Object { + "e 2": { "InputPath": "$.e__1", "Next": "f 2", "ResultPath": "$.heap16", "Type": "Pass", }, - "e 3": Object { + "e 3": { "InputPath": "$.e", "Next": "f 3", "ResultPath": "$.heap24", "Type": "Pass", }, - "e 4": Object { + "e 4": { "InputPath": "$.e", "Next": "f 4", "ResultPath": "$.heap32", "Type": "Pass", }, - "e 5": Object { + "e 5": { "InputPath": "$.e", "Next": "f 5", "ResultPath": "$.heap40", "Type": "Pass", }, - "e 6": Object { + "e 6": { "InputPath": "$.e", "Next": "f 6", "ResultPath": "$.heap49", "Type": "Pass", }, - "e 7": Object { + "e 7": { "InputPath": "$.e", "Next": "-f", "ResultPath": "$.heap60", "Type": "Pass", }, - "e = 7": Object { + "e = 7": { "Next": "1__for(e = 6;e === 6;e = 7)", "Result": 7, "ResultPath": "$.e__1", "Type": "Pass", }, - "end__1__await Promise.all([4].map(function (c)))": Object { + "end__1__await Promise.all([4].map(function (c)))": { "Next": "set__end__1__await Promise.all([4].map(function (c)))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "end__1__z = [0].map(function (z))[0]": Object { + "end__1__z = [0].map(function (z))[0]": { "Next": "set__end__1__z = [0].map(function (z))[0]", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap54.arrStr))", }, "ResultPath": "$.heap54", "Type": "Pass", }, - "f 1": Object { - "Next": "res = \\"\\"", + "f 1": { + "Next": "res = """, "Result": 1, "ResultPath": "$.f", "Type": "Pass", }, - "f 2": Object { + "f 2": { "InputPath": "$.f", "Next": "-rabcdef", "ResultPath": "$.heap17", "Type": "Pass", }, - "f 3": Object { + "f 3": { "InputPath": "$.f", "Next": "-resabcdef", "ResultPath": "$.heap25", "Type": "Pass", }, - "f 4": Object { + "f 4": { "InputPath": "$.f", "Next": "-resabcdef 1", "ResultPath": "$.heap33", "Type": "Pass", }, - "f 5": Object { + "f 5": { "InputPath": "$.f", "Next": "-resabcdef 2", "ResultPath": "$.heap41", "Type": "Pass", }, - "f 6": Object { + "f 6": { "InputPath": "$.f", "Next": "-resabcdef 3", "ResultPath": "$.heap50", "Type": "Pass", }, - "for(a in [2])": Object { + "for(a in [2])": { "Next": "1__for(a in [2])", - "Result": Array [ + "Result": [ 2, ], "ResultPath": "$.heap52", "Type": "Pass", }, - "for(b of [3])": Object { + "for(b of [3])": { "Next": "hasNext__for(b of [3])", - "Result": Array [ + "Result": [ 3, ], "ResultPath": "$.heap43", "Type": "Pass", }, - "for(e = 6;e === 6;e = 7)": Object { + "for(e = 6;e === 6;e = 7)": { "Next": "1__for(e = 6;e === 6;e = 7)", "Result": 6, "ResultPath": "$.e__1", "Type": "Pass", }, - "handleResult__1__await Promise.all([4].map(function (c)))": Object { + "handleResult__1__await Promise.all([4].map(function (c)))": { "Next": "check__1__await Promise.all([4].map(function (c)))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0]))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "handleResult__1__z = [0].map(function (z))[0]": Object { + "handleResult__1__z = [0].map(function (z))[0]": { "Next": "check__1__z = [0].map(function (z))[0]", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap54.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap54.arrStr, States.JsonToString($.heap54.arr[0]))", }, "ResultPath": "$.heap54", "Type": "Pass", }, - "hasNext__for(a in [2])": Object { - "Choices": Array [ - Object { + "hasNext__for(a in [2])": { + "Choices": [ + { "IsPresent": true, "Next": "a", "Variable": "$.heap52[0]", @@ -28068,9 +28068,9 @@ Object { "Default": "z = [0].map(function (z))[0]", "Type": "Choice", }, - "hasNext__for(b of [3])": Object { - "Choices": Array [ - Object { + "hasNext__for(b of [3])": { + "Choices": [ + { "IsPresent": true, "Next": "b 2", "Variable": "$.heap43[0]", @@ -28079,27 +28079,27 @@ Object { "Default": "res = -resabcdef", "Type": "Choice", }, - "if(c === 4)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(c === 4)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.c__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.c__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.c__1", }, - Object { + { "NumericEquals": 4, "Variable": "$.c__1", }, @@ -28114,149 +28114,149 @@ Object { "Default": "res = -resabcdef 2", "Type": "Choice", }, - "r": Object { + "r": { "InputPath": "$.heap10[0]", "Next": "res = -rabcdef", "ResultPath": "$.r", "Type": "Pass", }, - "r = await $SFN.map([7], function (f))[0]": Object { + "r = await $SFN.map([7], function (f))[0]": { "Next": "$SFN.map([7], function (f))", - "Result": Array [ + "Result": [ 7, ], "ResultPath": "$.heap9", "Type": "Pass", }, - "res = \\"\\"": Object { + "res = """: { "Next": "for(a in [2])", "Result": "", "ResultPath": "$.res", "Type": "Pass", }, - "res = -rabcdef": Object { + "res = -rabcdef": { "InputPath": "$.r", "Next": "a 1", "ResultPath": "$.heap11", "Type": "Pass", }, - "res = -rabcdef 1": Object { + "res = -rabcdef 1": { "InputPath": "$.heap18.string", "Next": "e = 7", "ResultPath": "$.res", "Type": "Pass", }, - "res = -resabcdef": Object { + "res = -resabcdef": { "InputPath": "$.res", "Next": "a 5", "ResultPath": "$.heap44", "Type": "Pass", }, - "res = -resabcdef 1": Object { + "res = -resabcdef 1": { "InputPath": "$.res", "Next": "a 4", "ResultPath": "$.heap35", "Type": "Pass", }, - "res = -resabcdef 2": Object { + "res = -resabcdef 2": { "InputPath": "$.res", "Next": "a 3", "ResultPath": "$.heap27", "Type": "Pass", }, - "res = -resabcdef 3": Object { + "res = -resabcdef 3": { "InputPath": "$.res", "Next": "a 2", "ResultPath": "$.heap19", "Type": "Pass", }, - "res = -resabcdef 4": Object { + "res = -resabcdef 4": { "InputPath": "$.heap26.string", "Next": "res = -resabcdef 2", "ResultPath": "$.res", "Type": "Pass", }, - "res = -resabcdef 5": Object { + "res = -resabcdef 5": { "InputPath": "$.heap34.string", "Next": "return null", "ResultPath": "$.res", "Type": "Pass", }, - "res = -resabcdef 6": Object { + "res = -resabcdef 6": { "InputPath": "$.heap42.string", "Next": "tail__for(b of [3])", "ResultPath": "$.res", "Type": "Pass", }, - "res = -resabcdef 7": Object { + "res = -resabcdef 7": { "InputPath": "$.heap51.string", "Next": "tail__for(a in [2])", "ResultPath": "$.res", "Type": "Pass", }, - "return -resabcde-fz": Object { + "return -resabcde-fz": { "InputPath": "$.res", "Next": "a 6", "ResultPath": "$.heap55", "Type": "Pass", }, - "return null": Object { + "return null": { "InputPath": "$.fnl_context.null", "Next": "handleResult__1__await Promise.all([4].map(function (c)))", "ResultPath": "$.heap1.arr[0]", "Type": "Pass", }, - "return z": Object { + "return z": { "InputPath": "$.z", "Next": "handleResult__1__z = [0].map(function (z))[0]", "ResultPath": "$.heap54.arr[0]", "Type": "Pass", }, - "set__end__1__await Promise.all([4].map(function (c)))": Object { + "set__end__1__await Promise.all([4].map(function (c)))": { "InputPath": "$.heap1.result[1:]", "Next": "res = -resabcdef 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "set__end__1__z = [0].map(function (z))[0]": Object { + "set__end__1__z = [0].map(function (z))[0]": { "InputPath": "$.heap54.result[1:]", "Next": "z", "ResultPath": "$.heap54", "Type": "Pass", }, - "tail__for(a in [2])": Object { + "tail__for(a in [2])": { "InputPath": "$.heap52[1:]", "Next": "hasNext__for(a in [2])", "ResultPath": "$.heap52", "Type": "Pass", }, - "tail__for(b of [3])": Object { + "tail__for(b of [3])": { "InputPath": "$.heap43[1:]", "Next": "hasNext__for(b of [3])", "ResultPath": "$.heap43", "Type": "Pass", }, - "z": Object { + "z": { "InputPath": "$.heap54[0]", "Next": "return -resabcde-fz", "ResultPath": "$.z__1", "Type": "Pass", }, - "z 1": Object { + "z 1": { "InputPath": "$.heap54.arr[0]", "Next": "return z", "ResultPath": "$.z", "Type": "Pass", }, - "z 2": Object { + "z 2": { "InputPath": "$.z__1", "Next": "-resabcde-fz", "ResultPath": "$.heap62", "Type": "Pass", }, - "z = [0].map(function (z))[0]": Object { + "z = [0].map(function (z))[0]": { "Next": "1__z = [0].map(function (z))[0]", - "Result": Array [ + "Result": [ 0, ], "ResultPath": "$.heap53", @@ -28267,21 +28267,21 @@ Object { `; exports[`step function props are passed through to the resource 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return context.StateMachine.Name", - "Parameters": Object { + "Parameters": { "_.$": "$$.Execution.Input", - "fnl_context": Object { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return context.StateMachine.Name": Object { + "return context.StateMachine.Name": { "End": true, "InputPath": "$$.StateMachine.Name", "ResultPath": "$", @@ -28292,38 +28292,38 @@ Object { `; exports[`templates 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - " input.obj.str \\"hello\\" partOfTheTemplateStringinput.obj.items[0]": Object { - "Next": "1__result = await echoStringFunc( input.obj.str \\"hello\\" partOfTheTemplateSt", - "Parameters": Object { + "States": { + " input.obj.str "hello" partOfTheTemplateStringinput.obj.items[0]": { + "Next": "1__result = await echoStringFunc( input.obj.str "hello" partOfTheTemplateSt", + "Parameters": { "string.$": "States.Format('{} hello {} {}',$.heap5,$.heap6,$.heap7)", }, "ResultPath": "$.heap8", "Type": "Pass", }, - " input.obj.str === \\"hullo\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + " input.obj.str === "hullo"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj.str", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.obj.str", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.obj.str", }, - Object { + { "StringEquals": "hullo", "Variable": "$.input.obj.str", }, @@ -28332,35 +28332,35 @@ Object { ], }, ], - "Next": "true__ input.obj.str === \\"hullo\\"", + "Next": "true__ input.obj.str === "hullo"", }, ], - "Default": "false__ input.obj.str === \\"hullo\\"", + "Default": "false__ input.obj.str === "hullo"", "Type": "Choice", }, - " partOfTheTemplateString": Object { + " partOfTheTemplateString": { "InputPath": "$.partOfTheTemplateString", "Next": "input.obj.items[0]", "ResultPath": "$.heap6", "Type": "Pass", }, - "1__result = await echoStringFunc( input.obj.str \\"hello\\" partOfTheTemplateSt": Object { + "1__result = await echoStringFunc( input.obj.str "hello" partOfTheTemplateSt": { "InputPath": "$.heap8.string", "Next": "result", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap9", "Type": "Task", }, - "1__return the result: result.str input.obj.str === \\"hullo\\"templateWithSpec": Object { + "1__return the result: result.str input.obj.str === "hullo"templateWithSpec": { "End": true, "InputPath": "$.heap13.string", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "partOfTheTemplateString = hello input.obj.str2 ?? \\"default\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "partOfTheTemplateString = hello input.obj.str2 ?? "default"", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -28368,123 +28368,123 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__ input.obj.str === \\"hullo\\"": Object { + "false__ input.obj.str === "hullo"": { "Next": "templateWithSpecial 1", "Result": false, "ResultPath": "$.heap11", "Type": "Pass", }, - "false__partOfTheTemplateString = hello input.obj.str2 ?? \\"default\\"": Object { - "Next": "input.obj.str2 ?? \\"default\\"", + "false__partOfTheTemplateString = hello input.obj.str2 ?? "default"": { + "Next": "input.obj.str2 ?? "default"", "Result": "default", "ResultPath": "$.heap0", "Type": "Pass", }, - "hello input.obj.str2 ?? \\"default\\"": Object { + "hello input.obj.str2 ?? "default"": { "Next": "partOfTheTemplateString", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('hello {}',$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "input.obj.items[0]": Object { + "input.obj.items[0]": { "InputPath": "$.input.obj.items[0]", - "Next": " input.obj.str \\"hello\\" partOfTheTemplateStringinput.obj.items[0]", + "Next": " input.obj.str "hello" partOfTheTemplateStringinput.obj.items[0]", "ResultPath": "$.heap7", "Type": "Pass", }, - "input.obj.str2 ?? \\"default\\"": Object { + "input.obj.str2 ?? "default"": { "InputPath": "$.heap0", - "Next": "hello input.obj.str2 ?? \\"default\\"", + "Next": "hello input.obj.str2 ?? "default"", "ResultPath": "$.heap1", "Type": "Pass", }, - "partOfTheTemplateString": Object { + "partOfTheTemplateString": { "InputPath": "$.heap2.string", - "Next": "templateWithSpecial = {{'\\\\\\\\\\\\\\\\'}}input.obj.str", + "Next": "templateWithSpecial = {{'\\\\\\\\'}}input.obj.str", "ResultPath": "$.partOfTheTemplateString", "Type": "Pass", }, - "partOfTheTemplateString = hello input.obj.str2 ?? \\"default\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "partOfTheTemplateString = hello input.obj.str2 ?? "default"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj.str2", }, - Object { + { "IsNull": false, "Variable": "$.input.obj.str2", }, ], - "Next": "true__partOfTheTemplateString = hello input.obj.str2 ?? \\"default\\"", + "Next": "true__partOfTheTemplateString = hello input.obj.str2 ?? "default"", }, ], - "Default": "false__partOfTheTemplateString = hello input.obj.str2 ?? \\"default\\"", + "Default": "false__partOfTheTemplateString = hello input.obj.str2 ?? "default"", "Type": "Choice", }, - "result": Object { + "result": { "InputPath": "$.heap9", - "Next": "return the result: result.str input.obj.str === \\"hullo\\"templateWithSpecial", + "Next": "return the result: result.str input.obj.str === "hullo"templateWithSpecial", "ResultPath": "$.result", "Type": "Pass", }, - "result = await echoStringFunc( input.obj.str \\"hello\\" partOfTheTemplateStrin": Object { + "result = await echoStringFunc( input.obj.str "hello" partOfTheTemplateStrin": { "InputPath": "$.input.obj.str", "Next": " partOfTheTemplateString", "ResultPath": "$.heap5", "Type": "Pass", }, - "return the result: result.str input.obj.str === \\"hullo\\"templateWithSpecial": Object { + "return the result: result.str input.obj.str === "hullo"templateWithSpecial": { "InputPath": "$.result.str", - "Next": " input.obj.str === \\"hullo\\"", + "Next": " input.obj.str === "hullo"", "ResultPath": "$.heap10", "Type": "Pass", }, - "templateWithSpecial": Object { + "templateWithSpecial": { "InputPath": "$.heap4.string", - "Next": "result = await echoStringFunc( input.obj.str \\"hello\\" partOfTheTemplateStrin", + "Next": "result = await echoStringFunc( input.obj.str "hello" partOfTheTemplateStrin", "ResultPath": "$.templateWithSpecial", "Type": "Pass", }, - "templateWithSpecial 1": Object { + "templateWithSpecial 1": { "InputPath": "$.templateWithSpecial", - "Next": "the result: result.str input.obj.str === \\"hullo\\"templateWithSpecial", + "Next": "the result: result.str input.obj.str === "hullo"templateWithSpecial", "ResultPath": "$.heap12", "Type": "Pass", }, - "templateWithSpecial = {{'\\\\\\\\\\\\\\\\'}}input.obj.str": Object { + "templateWithSpecial = {{'\\\\\\\\'}}input.obj.str": { "InputPath": "$.input.obj.str", - "Next": "{{'\\\\\\\\\\\\\\\\'}}input.obj.str", + "Next": "{{'\\\\\\\\'}}input.obj.str", "ResultPath": "$.heap3", "Type": "Pass", }, - "the result: result.str input.obj.str === \\"hullo\\"templateWithSpecial": Object { - "Next": "1__return the result: result.str input.obj.str === \\"hullo\\"templateWithSpec", - "Parameters": Object { + "the result: result.str input.obj.str === "hullo"templateWithSpecial": { + "Next": "1__return the result: result.str input.obj.str === "hullo"templateWithSpec", + "Parameters": { "string.$": "States.Format('the result: {} {} {}',$.heap10,$.heap11,$.heap12)", }, "ResultPath": "$.heap13", "Type": "Pass", }, - "true__ input.obj.str === \\"hullo\\"": Object { + "true__ input.obj.str === "hullo"": { "Next": "templateWithSpecial 1", "Result": true, "ResultPath": "$.heap11", "Type": "Pass", }, - "true__partOfTheTemplateString = hello input.obj.str2 ?? \\"default\\"": Object { + "true__partOfTheTemplateString = hello input.obj.str2 ?? "default"": { "InputPath": "$.input.obj.str2", - "Next": "input.obj.str2 ?? \\"default\\"", + "Next": "input.obj.str2 ?? "default"", "ResultPath": "$.heap0", "Type": "Pass", }, - "{{'\\\\\\\\\\\\\\\\'}}input.obj.str": Object { + "{{'\\\\\\\\'}}input.obj.str": { "Next": "templateWithSpecial", - "Parameters": Object { - "string.$": "States.Format('\\\\{\\\\{\\\\'\\\\\\\\{}\\\\\\\\\\\\'\\\\}\\\\}',$.heap3)", + "Parameters": { + "string.$": "States.Format('\\{\\{\\'\\\\{}\\\\\\'\\}\\}',$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", @@ -28494,36 +28494,36 @@ Object { `; exports[`ternary 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__a = 1a": Object { + "States": { + "1__a = 1a": { "InputPath": "$.heap1.string", "Next": "if(input.f)", "ResultPath": "$.heap2", "Type": "Pass", }, - "1__a = 2a": Object { + "1__a = 2a": { "InputPath": "$.heap4.string", "Next": "if(input.t) 1", "ResultPath": "$.heap7", "Type": "Pass", }, - "1__a = 3a": Object { + "1__a = 3a": { "InputPath": "$.heap6.string", "Next": "if(input.t) 1", "ResultPath": "$.heap7", "Type": "Pass", }, - "1__a = 4a": Object { + "1__a = 4a": { "InputPath": "$.heap9.string", "Next": "return {true: if(input.t), false: if(input.f), constantTrue: if(true), cons", "ResultPath": "$.heap10", "Type": "Pass", }, - "1__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": Object { + "1__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": { "End": true, - "Parameters": Object { + "Parameters": { "constantFalse.$": "$.heap18", "constantTrue.$": "$.heap16", "false.$": "$.heap14", @@ -28533,72 +28533,72 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c 1": Object { + "1__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c 1": { "InputPath": "$.heap11", "Next": "if(input.f) 1", "ResultPath": "$.heap12", "Type": "Pass", }, - "1a": Object { + "1a": { "Next": "a = 1a 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}1',$.heap0)", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "2a": Object { + "2a": { "Next": "a = 2a 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}2',$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "3__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": Object { + "3__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": { "InputPath": "$.heap13", "Next": "if(true)", "ResultPath": "$.heap14", "Type": "Pass", }, - "3a": Object { + "3a": { "Next": "a = 3a 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}3',$.heap5)", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "4a": Object { + "4a": { "Next": "a = 4a 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}4',$.heap8)", }, "ResultPath": "$.heap9", "Type": "Pass", }, - "5__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": Object { + "5__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": { "InputPath": "$.heap15", "Next": "if(false)", "ResultPath": "$.heap16", "Type": "Pass", }, - "7__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": Object { + "7__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": { "InputPath": "$.heap17", "Next": "8__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c", "ResultPath": "$.heap18", "Type": "Pass", }, - "8__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": Object { + "8__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c": { "InputPath": "$.a", "Next": "1__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c", "ResultPath": "$.heap19", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -28606,93 +28606,93 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "if(input.t)", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = 1a": Object { + "a = 1a": { "InputPath": "$.a", "Next": "1a", "ResultPath": "$.heap0", "Type": "Pass", }, - "a = 1a 1": Object { + "a = 1a 1": { "InputPath": "$.heap1.string", "Next": "1__a = 1a", "ResultPath": "$.a", "Type": "Pass", }, - "a = 2a": Object { + "a = 2a": { "InputPath": "$.a", "Next": "2a", "ResultPath": "$.heap3", "Type": "Pass", }, - "a = 2a 1": Object { + "a = 2a 1": { "InputPath": "$.heap4.string", "Next": "1__a = 2a", "ResultPath": "$.a", "Type": "Pass", }, - "a = 3a": Object { + "a = 3a": { "InputPath": "$.a", "Next": "3a", "ResultPath": "$.heap5", "Type": "Pass", }, - "a = 3a 1": Object { + "a = 3a 1": { "InputPath": "$.heap6.string", "Next": "1__a = 3a", "ResultPath": "$.a", "Type": "Pass", }, - "a = 4a": Object { + "a = 4a": { "InputPath": "$.a", "Next": "4a", "ResultPath": "$.heap8", "Type": "Pass", }, - "a = 4a 1": Object { + "a = 4a 1": { "InputPath": "$.heap9.string", "Next": "1__a = 4a", "ResultPath": "$.a", "Type": "Pass", }, - "false__if(false)": Object { + "false__if(false)": { "Next": "7__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c", "Result": "d", "ResultPath": "$.heap17", "Type": "Pass", }, - "false__if(input.f) 1": Object { + "false__if(input.f) 1": { "Next": "3__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c", "Result": "b", "ResultPath": "$.heap13", "Type": "Pass", }, - "false__if(input.t)": Object { + "false__if(input.t)": { "InputPath": "$.fnl_context.null", "Next": "if(input.f)", "ResultPath": "$.heap2", "Type": "Pass", }, - "false__if(true)": Object { + "false__if(true)": { "Next": "5__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c", "Result": "d", "ResultPath": "$.heap15", "Type": "Pass", }, - "false__return {true: if(input.t), false: if(input.f), constantTrue: if(true": Object { + "false__return {true: if(input.t), false: if(input.f), constantTrue: if(true": { "Next": "1__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c 1", "Result": "b", "ResultPath": "$.heap11", "Type": "Pass", }, - "if(false)": Object { - "Choices": Array [ - Object { + "if(false)": { + "Choices": [ + { "IsNull": true, "Next": "true__if(false)", "Variable": "$$.Execution.Id", @@ -28701,38 +28701,38 @@ Object { "Default": "false__if(false)", "Type": "Choice", }, - "if(input.f)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "if(input.f)": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.f", }, - Object { + { "IsNull": false, "Variable": "$.input.f", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.f", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.f", }, - Object { + { "StringEquals": "", "Variable": "$.input.f", }, @@ -28741,20 +28741,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.f", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.f", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.f", }, @@ -28763,30 +28763,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.f", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.f", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.f", }, - Object { + { "IsNumeric": true, "Variable": "$.input.f", }, - Object { + { "IsString": true, "Variable": "$.input.f", }, @@ -28802,38 +28802,38 @@ Object { "Default": "a = 3a", "Type": "Choice", }, - "if(input.f) 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "if(input.f) 1": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.f", }, - Object { + { "IsNull": false, "Variable": "$.input.f", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.f", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.f", }, - Object { + { "StringEquals": "", "Variable": "$.input.f", }, @@ -28842,20 +28842,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.f", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.f", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.f", }, @@ -28864,30 +28864,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.f", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.f", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.f", }, - Object { + { "IsNumeric": true, "Variable": "$.input.f", }, - Object { + { "IsString": true, "Variable": "$.input.f", }, @@ -28903,38 +28903,38 @@ Object { "Default": "false__if(input.f) 1", "Type": "Choice", }, - "if(input.t)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "if(input.t)": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.t", }, - Object { + { "IsNull": false, "Variable": "$.input.t", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.t", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.t", }, - Object { + { "StringEquals": "", "Variable": "$.input.t", }, @@ -28943,20 +28943,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.t", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.t", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.t", }, @@ -28965,30 +28965,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.t", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.t", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.t", }, - Object { + { "IsNumeric": true, "Variable": "$.input.t", }, - Object { + { "IsString": true, "Variable": "$.input.t", }, @@ -29004,38 +29004,38 @@ Object { "Default": "false__if(input.t)", "Type": "Choice", }, - "if(input.t) 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "if(input.t) 1": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.t", }, - Object { + { "IsNull": false, "Variable": "$.input.t", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.t", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.t", }, - Object { + { "StringEquals": "", "Variable": "$.input.t", }, @@ -29044,20 +29044,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.t", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.t", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.t", }, @@ -29066,30 +29066,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.t", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.t", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.t", }, - Object { + { "IsNumeric": true, "Variable": "$.input.t", }, - Object { + { "IsString": true, "Variable": "$.input.t", }, @@ -29105,9 +29105,9 @@ Object { "Default": "a = 4a", "Type": "Choice", }, - "if(true)": Object { - "Choices": Array [ - Object { + "if(true)": { + "Choices": [ + { "IsNull": false, "Next": "true__if(true)", "Variable": "$$.Execution.Id", @@ -29116,38 +29116,38 @@ Object { "Default": "false__if(true)", "Type": "Choice", }, - "return {true: if(input.t), false: if(input.f), constantTrue: if(true), cons": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "return {true: if(input.t), false: if(input.f), constantTrue: if(true), cons": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.t", }, - Object { + { "IsNull": false, "Variable": "$.input.t", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.t", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.t", }, - Object { + { "StringEquals": "", "Variable": "$.input.t", }, @@ -29156,20 +29156,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.t", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.t", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.t", }, @@ -29178,30 +29178,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.t", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.t", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.t", }, - Object { + { "IsNumeric": true, "Variable": "$.input.t", }, - Object { + { "IsString": true, "Variable": "$.input.t", }, @@ -29217,31 +29217,31 @@ Object { "Default": "false__return {true: if(input.t), false: if(input.f), constantTrue: if(true", "Type": "Choice", }, - "true__if(false)": Object { + "true__if(false)": { "Next": "7__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c", "Result": "c", "ResultPath": "$.heap17", "Type": "Pass", }, - "true__if(input.f) 1": Object { + "true__if(input.f) 1": { "Next": "3__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c", "Result": "a", "ResultPath": "$.heap13", "Type": "Pass", }, - "true__if(input.t) 1": Object { + "true__if(input.t) 1": { "InputPath": "$.fnl_context.null", "Next": "return {true: if(input.t), false: if(input.f), constantTrue: if(true), cons", "ResultPath": "$.heap10", "Type": "Pass", }, - "true__if(true)": Object { + "true__if(true)": { "Next": "5__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c", "Result": "c", "ResultPath": "$.heap15", "Type": "Pass", }, - "true__return {true: if(input.t), false: if(input.f), constantTrue: if(true)": Object { + "true__return {true: if(input.t), false: if(input.f), constantTrue: if(true)": { "Next": "1__return {true: if(input.t), false: if(input.f), constantTrue: if(true), c 1", "Result": "a", "ResultPath": "$.heap11", @@ -29252,13 +29252,13 @@ Object { `; exports[`throw catch finally 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.map([1], function ())": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "States": { + "$SFN.map([1], function ())": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 10", @@ -29266,16 +29266,16 @@ Object { }, ], "ItemsPath": "$.heap39", - "Iterator": Object { + "Iterator": { "StartAt": "return func()", - "States": Object { - "1__return func()": Object { + "States": { + "1__return func()": { "End": true, "InputPath": "$.heap38", "ResultPath": "$", "Type": "Pass", }, - "return func()": Object { + "return func()": { "InputPath": "$.fnl_context.null", "Next": "1__return func()", "Resource": "__REPLACED_TOKEN", @@ -29285,62 +29285,62 @@ Object { }, }, "Next": "try 11", - "Parameters": Object { + "Parameters": { "a.$": "$.a", "fnl_context.$": "$.fnl_context", }, "ResultPath": "$.heap40", "Type": "Map", }, - "1__catch__try 10": Object { + "1__catch__try 10": { "InputPath": "$.fnl_tmp_11.0_ParsedError", "Next": "catch(err) 4", "ResultPath": "$.fnl_tmp_11", "Type": "Pass", }, - "1__catch__try 11": Object { + "1__catch__try 11": { "InputPath": "$.fnl_tmp_12.0_ParsedError", "Next": "catch(err) 5", "ResultPath": "$.fnl_tmp_12", "Type": "Pass", }, - "1__catch__try 5": Object { + "1__catch__try 5": { "InputPath": "$.fnl_tmp_4.0_ParsedError", "Next": "catch(err)", "ResultPath": "$.fnl_tmp_4", "Type": "Pass", }, - "1__catch__try 6": Object { + "1__catch__try 6": { "InputPath": "$.fnl_tmp_5.0_ParsedError", "Next": "catch(err) 1", "ResultPath": "$.fnl_tmp_5", "Type": "Pass", }, - "1__catch__try 8": Object { + "1__catch__try 8": { "InputPath": "$.fnl_tmp_9.0_ParsedError", "Next": "catch(err) 2", "ResultPath": "$.fnl_tmp_9", "Type": "Pass", }, - "1__catch__try 9": Object { + "1__catch__try 9": { "InputPath": "$.fnl_tmp_10.0_ParsedError", "Next": "catch(err) 3", "ResultPath": "$.fnl_tmp_10", "Type": "Pass", }, - "1__finally": Object { - "Choices": Array [ - Object { + "1__finally": { + "Choices": [ + { "IsPresent": true, "Next": "throw__1__finally", "Variable": "$.fnl_tmp_8", }, - Object { + { "IsNull": false, "Next": "await func() 1", "Variable": "$$.Execution.Id", }, - Object { + { "IsNull": false, "Next": "await func() 2", "Variable": "$$.Execution.Id", @@ -29349,27 +29349,27 @@ Object { "Default": "try 10", "Type": "Choice", }, - "1__return func() 1": Object { + "1__return func() 1": { "InputPath": "$.heap46", "Next": "handleResult__1__try 11", "ResultPath": "$.heap45.arr[0]", "Type": "Pass", }, - "1__try 11": Object { + "1__try 11": { "Next": "check__1__try 11", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap44", "arrStr": "[null", }, "ResultPath": "$.heap45", "Type": "Pass", }, - "1__try 6": Object { + "1__try 6": { "ItemsPath": "$.heap21", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -29377,219 +29377,219 @@ Object { }, }, "Next": "hasNext__try 6", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap21", "Type": "Map", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "_": Object { + "_": { "InputPath": "$.heap21[0].index", "Next": "assignValue___", "ResultPath": "$._", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "try", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = aerr.errorMessage": Object { + "a = aerr.errorMessage": { "InputPath": "$.a", "Next": "err.errorMessage", "ResultPath": "$.heap17", "Type": "Pass", }, - "a = aerr.errorMessage 1": Object { + "a = aerr.errorMessage 1": { "InputPath": "$.heap19.string", "Next": "try 6", "ResultPath": "$.a", "Type": "Pass", }, - "a = aerr.message": Object { + "a = aerr.message": { "InputPath": "$.a", "Next": "err.message", "ResultPath": "$.heap2", "Type": "Pass", }, - "a = aerr.message 1": Object { + "a = aerr.message 1": { "InputPath": "$.heap4.string", "Next": "try 2", "ResultPath": "$.a", "Type": "Pass", }, - "a = arrmapaerr.errorMessage": Object { + "a = arrmapaerr.errorMessage": { "InputPath": "$.a", "Next": "err.errorMessage 5", "ResultPath": "$.heap47", "Type": "Pass", }, - "a = arrmapaerr.errorMessage 1": Object { + "a = arrmapaerr.errorMessage 1": { "InputPath": "$.heap49.string", "Next": "return a", "ResultPath": "$.a", "Type": "Pass", }, - "a = doaerr.errorMessage": Object { + "a = doaerr.errorMessage": { "InputPath": "$.a", "Next": "err.errorMessage 3", "ResultPath": "$.heap35", "Type": "Pass", }, - "a = doaerr.errorMessage 1": Object { + "a = doaerr.errorMessage 1": { "InputPath": "$.heap37.string", "Next": "try 10", "ResultPath": "$.a", "Type": "Pass", }, - "a = error1a": Object { + "a = error1a": { "InputPath": "$.heap1.string", "Next": "try 1", "ResultPath": "$.a", "Type": "Pass", }, - "a = error3a": Object { + "a = error3a": { "InputPath": "$.heap6.string", "Next": "a = finally1a", "ResultPath": "$.a", "Type": "Pass", }, - "a = error4a": Object { + "a = error4a": { "InputPath": "$.heap15.string", "Next": "try 5", "ResultPath": "$.a", "Type": "Pass", }, - "a = finally1a": Object { + "a = finally1a": { "InputPath": "$.a", "Next": "finally1a", "ResultPath": "$.heap7", "Type": "Pass", }, - "a = finally1a 1": Object { + "a = finally1a 1": { "InputPath": "$.heap8.string", "Next": "try 3", "ResultPath": "$.a", "Type": "Pass", }, - "a = finally2a": Object { + "a = finally2a": { "InputPath": "$.a", "Next": "finally2a", "ResultPath": "$.heap11", "Type": "Pass", }, - "a = finally2a 1": Object { + "a = finally2a 1": { "InputPath": "$.heap12.string", "Next": "try 4", "ResultPath": "$.a", "Type": "Pass", }, - "a = finallya": Object { + "a = finallya": { "InputPath": "$.heap26.string", "Next": "1__finally", "ResultPath": "$.a", "Type": "Pass", }, - "a = foraerr.errorMessage": Object { + "a = foraerr.errorMessage": { "InputPath": "$.a", "Next": "err.errorMessage 1", "ResultPath": "$.heap22", "Type": "Pass", }, - "a = foraerr.errorMessage 1": Object { + "a = foraerr.errorMessage 1": { "InputPath": "$.heap24.string", "Next": "try 7", "ResultPath": "$.a", "Type": "Pass", }, - "a = recatchaerr.message": Object { + "a = recatchaerr.message": { "InputPath": "$.a", "Next": "err.message 1", "ResultPath": "$.heap27", "Type": "Pass", }, - "a = recatchaerr.message 1": Object { + "a = recatchaerr.message 1": { "InputPath": "$.heap29.string", "Next": "try 8", "ResultPath": "$.a", "Type": "Pass", }, - "a = seta": Object { + "a = seta": { "InputPath": "$.heap10.string", "Next": "a = finally2a", "ResultPath": "$.a", "Type": "Pass", }, - "a = sfnmapaerr.errorMessage": Object { + "a = sfnmapaerr.errorMessage": { "InputPath": "$.a", "Next": "err.errorMessage 4", "ResultPath": "$.heap41", "Type": "Pass", }, - "a = sfnmapaerr.errorMessage 1": Object { + "a = sfnmapaerr.errorMessage 1": { "InputPath": "$.heap43.string", "Next": "try 11", "ResultPath": "$.a", "Type": "Pass", }, - "a = whileaerr.errorMessage": Object { + "a = whileaerr.errorMessage": { "InputPath": "$.a", "Next": "err.errorMessage 2", "ResultPath": "$.heap31", "Type": "Pass", }, - "a = whileaerr.errorMessage 1": Object { + "a = whileaerr.errorMessage 1": { "InputPath": "$.heap33.string", "Next": "try 9", "ResultPath": "$.a", "Type": "Pass", }, - "aerr.errorMessage": Object { + "aerr.errorMessage": { "Next": "a = aerr.errorMessage 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap17,$.heap18)", }, "ResultPath": "$.heap19", "Type": "Pass", }, - "aerr.message": Object { + "aerr.message": { "Next": "a = aerr.message 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap2,$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "arrmapaerr.errorMessage": Object { + "arrmapaerr.errorMessage": { "Next": "a = arrmapaerr.errorMessage 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}arrmap{}',$.heap47,$.heap48)", }, "ResultPath": "$.heap49", "Type": "Pass", }, - "assignValue___": Object { + "assignValue___": { "InputPath": "$.heap21[0].item", "Next": "await func()", "ResultPath": "$.0___", "Type": "Pass", }, - "await func()": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "await func()": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 6", @@ -29602,10 +29602,10 @@ Object { "ResultPath": "$.heap20", "Type": "Task", }, - "await func() 1": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "await func() 1": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 8", @@ -29618,10 +29618,10 @@ Object { "ResultPath": "$.heap30", "Type": "Task", }, - "await func() 2": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "await func() 2": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 9", @@ -29634,131 +29634,131 @@ Object { "ResultPath": "$.heap34", "Type": "Task", }, - "catch(err)": Object { + "catch(err)": { "InputPath": "$.fnl_tmp_4", "Next": "a = aerr.errorMessage", "ResultPath": "$.err__1", "Type": "Pass", }, - "catch(err) 1": Object { + "catch(err) 1": { "InputPath": "$.fnl_tmp_5", "Next": "a = foraerr.errorMessage", "ResultPath": "$.err__2", "Type": "Pass", }, - "catch(err) 2": Object { + "catch(err) 2": { "InputPath": "$.fnl_tmp_9", "Next": "a = whileaerr.errorMessage", "ResultPath": "$.err__4", "Type": "Pass", }, - "catch(err) 3": Object { + "catch(err) 3": { "InputPath": "$.fnl_tmp_10", "Next": "a = doaerr.errorMessage", "ResultPath": "$.err__5", "Type": "Pass", }, - "catch(err) 4": Object { + "catch(err) 4": { "InputPath": "$.fnl_tmp_11", "Next": "a = sfnmapaerr.errorMessage", "ResultPath": "$.err__6", "Type": "Pass", }, - "catch(err) 5": Object { + "catch(err) 5": { "InputPath": "$.fnl_tmp_12", "Next": "a = arrmapaerr.errorMessage", "ResultPath": "$.err__7", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.a", "Next": "error1a", "ResultPath": "$.heap0", "Type": "Pass", }, - "catch__try 1": Object { + "catch__try 1": { "InputPath": "$.fnl_tmp_1", "Next": "a = aerr.message", "ResultPath": "$.err", "Type": "Pass", }, - "catch__try 10": Object { + "catch__try 10": { "Next": "1__catch__try 10", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_11.Cause)", }, "ResultPath": "$.fnl_tmp_11", "Type": "Pass", }, - "catch__try 11": Object { + "catch__try 11": { "Next": "1__catch__try 11", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_12.Cause)", }, "ResultPath": "$.fnl_tmp_12", "Type": "Pass", }, - "catch__try 2": Object { + "catch__try 2": { "InputPath": "$.a", "Next": "error3a", "ResultPath": "$.heap5", "Type": "Pass", }, - "catch__try 4": Object { + "catch__try 4": { "InputPath": "$.a", "Next": "error4a", "ResultPath": "$.heap14", "Type": "Pass", }, - "catch__try 5": Object { + "catch__try 5": { "Next": "1__catch__try 5", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_4.Cause)", }, "ResultPath": "$.fnl_tmp_4", "Type": "Pass", }, - "catch__try 6": Object { + "catch__try 6": { "Next": "1__catch__try 6", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_5.Cause)", }, "ResultPath": "$.fnl_tmp_5", "Type": "Pass", }, - "catch__try 7": Object { + "catch__try 7": { "InputPath": "$.fnl_tmp_6", "Next": "a = recatchaerr.message", "ResultPath": "$.err__3", "Type": "Pass", }, - "catch__try 7 1": Object { + "catch__try 7 1": { "Next": "finally", - "Result": Object { + "Result": { "message": "error6", }, "ResultPath": "$.fnl_tmp_8", "Type": "Pass", }, - "catch__try 8": Object { + "catch__try 8": { "Next": "1__catch__try 8", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_9.Cause)", }, "ResultPath": "$.fnl_tmp_9", "Type": "Pass", }, - "catch__try 9": Object { + "catch__try 9": { "Next": "1__catch__try 9", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_10.Cause)", }, "ResultPath": "$.fnl_tmp_10", "Type": "Pass", }, - "check__1__try 11": Object { - "Choices": Array [ - Object { + "check__1__try 11": { + "Choices": [ + { "IsPresent": true, "Next": "return func() 1", "Variable": "$.heap45.arr[0]", @@ -29767,144 +29767,144 @@ Object { "Default": "end__1__try 11", "Type": "Choice", }, - "doaerr.errorMessage": Object { + "doaerr.errorMessage": { "Next": "a = doaerr.errorMessage 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}do{}',$.heap35,$.heap36)", }, "ResultPath": "$.heap37", "Type": "Pass", }, - "end__1__try 11": Object { + "end__1__try 11": { "Next": "set__end__1__try 11", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap45.arrStr))", }, "ResultPath": "$.heap45", "Type": "Pass", }, - "err.errorMessage": Object { + "err.errorMessage": { "InputPath": "$.err__1.errorMessage", "Next": "aerr.errorMessage", "ResultPath": "$.heap18", "Type": "Pass", }, - "err.errorMessage 1": Object { + "err.errorMessage 1": { "InputPath": "$.err__2.errorMessage", "Next": "foraerr.errorMessage", "ResultPath": "$.heap23", "Type": "Pass", }, - "err.errorMessage 2": Object { + "err.errorMessage 2": { "InputPath": "$.err__4.errorMessage", "Next": "whileaerr.errorMessage", "ResultPath": "$.heap32", "Type": "Pass", }, - "err.errorMessage 3": Object { + "err.errorMessage 3": { "InputPath": "$.err__5.errorMessage", "Next": "doaerr.errorMessage", "ResultPath": "$.heap36", "Type": "Pass", }, - "err.errorMessage 4": Object { + "err.errorMessage 4": { "InputPath": "$.err__6.errorMessage", "Next": "sfnmapaerr.errorMessage", "ResultPath": "$.heap42", "Type": "Pass", }, - "err.errorMessage 5": Object { + "err.errorMessage 5": { "InputPath": "$.err__7.errorMessage", "Next": "arrmapaerr.errorMessage", "ResultPath": "$.heap48", "Type": "Pass", }, - "err.message": Object { + "err.message": { "InputPath": "$.err.message", "Next": "aerr.message", "ResultPath": "$.heap3", "Type": "Pass", }, - "err.message 1": Object { + "err.message 1": { "InputPath": "$.err__3.message", "Next": "recatchaerr.message", "ResultPath": "$.heap28", "Type": "Pass", }, - "error1a": Object { + "error1a": { "Next": "a = error1a", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}error1',$.heap0)", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "error3a": Object { + "error3a": { "Next": "a = error3a", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}error3',$.heap5)", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "error4a": Object { + "error4a": { "Next": "a = error4a", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}error4',$.heap14)", }, "ResultPath": "$.heap15", "Type": "Pass", }, - "finally": Object { + "finally": { "InputPath": "$.a", "Next": "finallya", "ResultPath": "$.heap25", "Type": "Pass", }, - "finally1a": Object { + "finally1a": { "Next": "a = finally1a 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}finally1',$.heap7)", }, "ResultPath": "$.heap8", "Type": "Pass", }, - "finally2a": Object { + "finally2a": { "Next": "a = finally2a 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}finally2',$.heap11)", }, "ResultPath": "$.heap12", "Type": "Pass", }, - "finallya": Object { + "finallya": { "Next": "a = finallya", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}finally',$.heap25)", }, "ResultPath": "$.heap26", "Type": "Pass", }, - "foraerr.errorMessage": Object { + "foraerr.errorMessage": { "Next": "a = foraerr.errorMessage 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}for{}',$.heap22,$.heap23)", }, "ResultPath": "$.heap24", "Type": "Pass", }, - "handleResult__1__try 11": Object { + "handleResult__1__try 11": { "Next": "check__1__try 11", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap45.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap45.arrStr, States.JsonToString($.heap45.arr[0]))", }, "ResultPath": "$.heap45", "Type": "Pass", }, - "hasNext__try 6": Object { - "Choices": Array [ - Object { + "hasNext__try 6": { + "Choices": [ + { "IsPresent": true, "Next": "_", "Variable": "$.heap21[0]", @@ -29913,24 +29913,24 @@ Object { "Default": "try 7", "Type": "Choice", }, - "recatchaerr.message": Object { + "recatchaerr.message": { "Next": "a = recatchaerr.message 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}recatch{}',$.heap27,$.heap28)", }, "ResultPath": "$.heap29", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", "Type": "Pass", }, - "return func() 1": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "return func() 1": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 11", @@ -29943,90 +29943,90 @@ Object { "ResultPath": "$.heap46", "Type": "Task", }, - "set__end__1__try 11": Object { + "set__end__1__try 11": { "InputPath": "$.heap45.result[1:]", "Next": "return a", "ResultPath": "$.heap45", "Type": "Pass", }, - "seta": Object { + "seta": { "Next": "a = seta", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}set',$.heap9)", }, "ResultPath": "$.heap10", "Type": "Pass", }, - "sfnmapaerr.errorMessage": Object { + "sfnmapaerr.errorMessage": { "Next": "a = sfnmapaerr.errorMessage 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}sfnmap{}',$.heap41,$.heap42)", }, "ResultPath": "$.heap43", "Type": "Pass", }, - "tail__try 6": Object { + "tail__try 6": { "InputPath": "$.heap21[1:]", "Next": "hasNext__try 6", "ResultPath": "$.heap21", "Type": "Pass", }, - "throw__1__finally": Object { + "throw__1__finally": { "InputPath": "$.fnl_tmp_8", "Next": "catch__try 7", "ResultPath": "$.fnl_tmp_6", "Type": "Pass", }, - "try": Object { + "try": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "Error1", }, "ResultPath": null, "Type": "Pass", }, - "try 1": Object { + "try 1": { "Next": "catch__try 1", - "Result": Object { + "Result": { "message": "Error2", }, "ResultPath": "$.fnl_tmp_1", "Type": "Pass", }, - "try 10": Object { + "try 10": { "Next": "$SFN.map([1], function ())", - "Result": Array [ + "Result": [ 1, ], "ResultPath": "$.heap39", "Type": "Pass", }, - "try 11": Object { + "try 11": { "Next": "1__try 11", - "Result": Array [ + "Result": [ 1, ], "ResultPath": "$.heap44", "Type": "Pass", }, - "try 2": Object { + "try 2": { "Next": "catch__try 2", - "Result": Object { + "Result": { "message": null, }, "ResultPath": null, "Type": "Pass", }, - "try 3": Object { + "try 3": { "InputPath": "$.a", "Next": "seta", "ResultPath": "$.heap9", "Type": "Pass", }, - "try 4": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try 4": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 4", @@ -30039,10 +30039,10 @@ Object { "ResultPath": "$.heap13", "Type": "Task", }, - "try 5": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try 5": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 5", @@ -30055,30 +30055,30 @@ Object { "ResultPath": "$.heap16", "Type": "Task", }, - "try 6": Object { + "try 6": { "Next": "1__try 6", - "Result": Array [ + "Result": [ 1, ], "ResultPath": "$.heap21", "Type": "Pass", }, - "try 7": Object { + "try 7": { "Next": "catch__try 7 1", - "Result": Object { + "Result": { "message": "error5", }, "ResultPath": null, "Type": "Pass", }, - "try 8": Object { - "Choices": Array [ - Object { + "try 8": { + "Choices": [ + { "IsNull": false, "Next": "await func() 1", "Variable": "$$.Execution.Id", }, - Object { + { "IsNull": false, "Next": "await func() 2", "Variable": "$$.Execution.Id", @@ -30087,9 +30087,9 @@ Object { "Default": "try 10", "Type": "Choice", }, - "try 9": Object { - "Choices": Array [ - Object { + "try 9": { + "Choices": [ + { "IsNull": false, "Next": "await func() 2", "Variable": "$$.Execution.Id", @@ -30098,9 +30098,9 @@ Object { "Default": "try 10", "Type": "Choice", }, - "whileaerr.errorMessage": Object { + "whileaerr.errorMessage": { "Next": "a = whileaerr.errorMessage 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}while{}',$.heap31,$.heap32)", }, "ResultPath": "$.heap33", @@ -30111,36 +30111,36 @@ Object { `; exports[`typeof 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "12__return {isString: typeof input.str === \\"string\\", stringType: typeof inp": Object { + "States": { + "12__return {isString: typeof input.str === "string", stringType: typeof inp": { "InputPath": "$.heap11", "Next": "input.num 1", "ResultPath": "$.heap12", "Type": "Pass", }, - "14__return {isString: typeof input.str === \\"string\\", stringType: typeof inp": Object { + "14__return {isString: typeof input.str === "string", stringType: typeof inp": { "InputPath": "$.heap13", "Next": "input.obj", "ResultPath": "$.heap14", "Type": "Pass", }, - "17__return {isString: typeof input.str === \\"string\\", stringType: typeof inp": Object { + "17__return {isString: typeof input.str === "string", stringType: typeof inp": { "InputPath": "$.heap16", "Next": "input.obj 1", "ResultPath": "$.heap17", "Type": "Pass", }, - "19__return {isString: typeof input.str === \\"string\\", stringType: typeof inp": Object { + "19__return {isString: typeof input.str === "string", stringType: typeof inp": { "InputPath": "$.heap18", "Next": "input.arr", "ResultPath": "$.heap19", "Type": "Pass", }, - "1__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu": Object { + "1__return {isString: typeof input.str === "string", stringType: typeof inpu": { "End": true, - "Parameters": Object { + "Parameters": { "arrType.$": "$.heap21", "booleanType.$": "$.heap9", "isBool.$": "$.heap7", @@ -30154,40 +30154,40 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "21__return {isString: typeof input.str === \\"string\\", stringType: typeof inp": Object { + "21__return {isString: typeof input.str === "string", stringType: typeof inp": { "InputPath": "$.heap20", - "Next": "1__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "Next": "1__return {isString: typeof input.str === "string", stringType: typeof inpu", "ResultPath": "$.heap21", "Type": "Pass", }, - "2__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu": Object { + "2__return {isString: typeof input.str === "string", stringType: typeof inpu": { "InputPath": "$.heap1", "Next": "input.str", "ResultPath": "$.heap2", "Type": "Pass", }, - "4__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu": Object { + "4__return {isString: typeof input.str === "string", stringType: typeof inpu": { "InputPath": "$.heap3", "Next": "input.bool", "ResultPath": "$.heap4", "Type": "Pass", }, - "7__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu": Object { + "7__return {isString: typeof input.str === "string", stringType: typeof inpu": { "InputPath": "$.heap6", "Next": "input.bool 1", "ResultPath": "$.heap7", "Type": "Pass", }, - "9__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu": Object { + "9__return {isString: typeof input.str === "string", stringType: typeof inpu": { "InputPath": "$.heap8", "Next": "input.num", "ResultPath": "$.heap9", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return {isString: typeof input.str === \\"string\\", stringType: typeof input.s", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return {isString: typeof input.str === "string", stringType: typeof input.s", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -30195,126 +30195,126 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "boolean__input.arr": Object { - "Next": "21__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "boolean__input.arr": { + "Next": "21__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "boolean", "ResultPath": "$.heap20", "Type": "Pass", }, - "boolean__input.bool": Object { - "Next": "typeof input.bool === \\"boolean\\"", + "boolean__input.bool": { + "Next": "typeof input.bool === "boolean"", "Result": "boolean", "ResultPath": "$.heap5", "Type": "Pass", }, - "boolean__input.bool 1": Object { - "Next": "9__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "boolean__input.bool 1": { + "Next": "9__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "boolean", "ResultPath": "$.heap8", "Type": "Pass", }, - "boolean__input.num": Object { - "Next": "typeof input.num === \\"number\\"", + "boolean__input.num": { + "Next": "typeof input.num === "number"", "Result": "boolean", "ResultPath": "$.heap10", "Type": "Pass", }, - "boolean__input.num 1": Object { - "Next": "14__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "boolean__input.num 1": { + "Next": "14__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "boolean", "ResultPath": "$.heap13", "Type": "Pass", }, - "boolean__input.obj": Object { - "Next": "typeof input.obj === \\"object\\"", + "boolean__input.obj": { + "Next": "typeof input.obj === "object"", "Result": "boolean", "ResultPath": "$.heap15", "Type": "Pass", }, - "boolean__input.obj 1": Object { - "Next": "19__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "boolean__input.obj 1": { + "Next": "19__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "boolean", "ResultPath": "$.heap18", "Type": "Pass", }, - "boolean__input.str": Object { - "Next": "4__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "boolean__input.str": { + "Next": "4__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "boolean", "ResultPath": "$.heap3", "Type": "Pass", }, - "boolean__return {isString: typeof input.str === \\"string\\", stringType: typeo": Object { - "Next": "typeof input.str === \\"string\\"", + "boolean__return {isString: typeof input.str === "string", stringType: typeo": { + "Next": "typeof input.str === "string"", "Result": "boolean", "ResultPath": "$.heap0", "Type": "Pass", }, - "false__typeof input.bool === \\"boolean\\"": Object { - "Next": "7__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "false__typeof input.bool === "boolean"": { + "Next": "7__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": false, "ResultPath": "$.heap6", "Type": "Pass", }, - "false__typeof input.num === \\"number\\"": Object { - "Next": "12__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "false__typeof input.num === "number"": { + "Next": "12__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": false, "ResultPath": "$.heap11", "Type": "Pass", }, - "false__typeof input.obj === \\"object\\"": Object { - "Next": "17__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "false__typeof input.obj === "object"": { + "Next": "17__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": false, "ResultPath": "$.heap16", "Type": "Pass", }, - "false__typeof input.str === \\"string\\"": Object { - "Next": "2__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "false__typeof input.str === "string"": { + "Next": "2__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": false, "ResultPath": "$.heap1", "Type": "Pass", }, - "input.arr": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.arr": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.arr", }, - Object { + { "IsString": true, "Variable": "$.input.arr", }, ], "Next": "string__input.arr", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.arr", }, - Object { + { "IsBoolean": true, "Variable": "$.input.arr", }, ], "Next": "boolean__input.arr", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.arr", }, - Object { + { "IsNumeric": true, "Variable": "$.input.arr", }, ], "Next": "number__input.arr", }, - Object { + { "IsPresent": true, "Next": "object__input.arr", "Variable": "$.input.arr", @@ -30323,48 +30323,48 @@ Object { "Default": "undefined__input.arr", "Type": "Choice", }, - "input.bool": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.bool": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.bool", }, - Object { + { "IsString": true, "Variable": "$.input.bool", }, ], "Next": "string__input.bool", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.bool", }, - Object { + { "IsBoolean": true, "Variable": "$.input.bool", }, ], "Next": "boolean__input.bool", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.bool", }, - Object { + { "IsNumeric": true, "Variable": "$.input.bool", }, ], "Next": "number__input.bool", }, - Object { + { "IsPresent": true, "Next": "object__input.bool", "Variable": "$.input.bool", @@ -30373,48 +30373,48 @@ Object { "Default": "undefined__input.bool", "Type": "Choice", }, - "input.bool 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.bool 1": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.bool", }, - Object { + { "IsString": true, "Variable": "$.input.bool", }, ], "Next": "string__input.bool 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.bool", }, - Object { + { "IsBoolean": true, "Variable": "$.input.bool", }, ], "Next": "boolean__input.bool 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.bool", }, - Object { + { "IsNumeric": true, "Variable": "$.input.bool", }, ], "Next": "number__input.bool 1", }, - Object { + { "IsPresent": true, "Next": "object__input.bool 1", "Variable": "$.input.bool", @@ -30423,48 +30423,48 @@ Object { "Default": "undefined__input.bool 1", "Type": "Choice", }, - "input.num": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.num": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.num", }, - Object { + { "IsString": true, "Variable": "$.input.num", }, ], "Next": "string__input.num", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.num", }, - Object { + { "IsBoolean": true, "Variable": "$.input.num", }, ], "Next": "boolean__input.num", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.num", }, - Object { + { "IsNumeric": true, "Variable": "$.input.num", }, ], "Next": "number__input.num", }, - Object { + { "IsPresent": true, "Next": "object__input.num", "Variable": "$.input.num", @@ -30473,48 +30473,48 @@ Object { "Default": "undefined__input.num", "Type": "Choice", }, - "input.num 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.num 1": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.num", }, - Object { + { "IsString": true, "Variable": "$.input.num", }, ], "Next": "string__input.num 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.num", }, - Object { + { "IsBoolean": true, "Variable": "$.input.num", }, ], "Next": "boolean__input.num 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.num", }, - Object { + { "IsNumeric": true, "Variable": "$.input.num", }, ], "Next": "number__input.num 1", }, - Object { + { "IsPresent": true, "Next": "object__input.num 1", "Variable": "$.input.num", @@ -30523,48 +30523,48 @@ Object { "Default": "undefined__input.num 1", "Type": "Choice", }, - "input.obj": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.obj": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj", }, - Object { + { "IsString": true, "Variable": "$.input.obj", }, ], "Next": "string__input.obj", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj", }, - Object { + { "IsBoolean": true, "Variable": "$.input.obj", }, ], "Next": "boolean__input.obj", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj", }, - Object { + { "IsNumeric": true, "Variable": "$.input.obj", }, ], "Next": "number__input.obj", }, - Object { + { "IsPresent": true, "Next": "object__input.obj", "Variable": "$.input.obj", @@ -30573,48 +30573,48 @@ Object { "Default": "undefined__input.obj", "Type": "Choice", }, - "input.obj 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.obj 1": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj", }, - Object { + { "IsString": true, "Variable": "$.input.obj", }, ], "Next": "string__input.obj 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj", }, - Object { + { "IsBoolean": true, "Variable": "$.input.obj", }, ], "Next": "boolean__input.obj 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj", }, - Object { + { "IsNumeric": true, "Variable": "$.input.obj", }, ], "Next": "number__input.obj 1", }, - Object { + { "IsPresent": true, "Next": "object__input.obj 1", "Variable": "$.input.obj", @@ -30623,48 +30623,48 @@ Object { "Default": "undefined__input.obj 1", "Type": "Choice", }, - "input.str": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.str": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.str", }, - Object { + { "IsString": true, "Variable": "$.input.str", }, ], "Next": "string__input.str", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.str", }, - Object { + { "IsBoolean": true, "Variable": "$.input.str", }, ], "Next": "boolean__input.str", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.str", }, - Object { + { "IsNumeric": true, "Variable": "$.input.str", }, ], "Next": "number__input.str", }, - Object { + { "IsPresent": true, "Next": "object__input.str", "Variable": "$.input.str", @@ -30673,263 +30673,263 @@ Object { "Default": "undefined__input.str", "Type": "Choice", }, - "number__input.arr": Object { - "Next": "21__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "number__input.arr": { + "Next": "21__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "number", "ResultPath": "$.heap20", "Type": "Pass", }, - "number__input.bool": Object { - "Next": "typeof input.bool === \\"boolean\\"", + "number__input.bool": { + "Next": "typeof input.bool === "boolean"", "Result": "number", "ResultPath": "$.heap5", "Type": "Pass", }, - "number__input.bool 1": Object { - "Next": "9__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "number__input.bool 1": { + "Next": "9__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "number", "ResultPath": "$.heap8", "Type": "Pass", }, - "number__input.num": Object { - "Next": "typeof input.num === \\"number\\"", + "number__input.num": { + "Next": "typeof input.num === "number"", "Result": "number", "ResultPath": "$.heap10", "Type": "Pass", }, - "number__input.num 1": Object { - "Next": "14__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "number__input.num 1": { + "Next": "14__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "number", "ResultPath": "$.heap13", "Type": "Pass", }, - "number__input.obj": Object { - "Next": "typeof input.obj === \\"object\\"", + "number__input.obj": { + "Next": "typeof input.obj === "object"", "Result": "number", "ResultPath": "$.heap15", "Type": "Pass", }, - "number__input.obj 1": Object { - "Next": "19__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "number__input.obj 1": { + "Next": "19__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "number", "ResultPath": "$.heap18", "Type": "Pass", }, - "number__input.str": Object { - "Next": "4__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "number__input.str": { + "Next": "4__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "number", "ResultPath": "$.heap3", "Type": "Pass", }, - "number__return {isString: typeof input.str === \\"string\\", stringType: typeof": Object { - "Next": "typeof input.str === \\"string\\"", + "number__return {isString: typeof input.str === "string", stringType: typeof": { + "Next": "typeof input.str === "string"", "Result": "number", "ResultPath": "$.heap0", "Type": "Pass", }, - "object__input.arr": Object { - "Next": "21__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "object__input.arr": { + "Next": "21__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "object", "ResultPath": "$.heap20", "Type": "Pass", }, - "object__input.bool": Object { - "Next": "typeof input.bool === \\"boolean\\"", + "object__input.bool": { + "Next": "typeof input.bool === "boolean"", "Result": "object", "ResultPath": "$.heap5", "Type": "Pass", }, - "object__input.bool 1": Object { - "Next": "9__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "object__input.bool 1": { + "Next": "9__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "object", "ResultPath": "$.heap8", "Type": "Pass", }, - "object__input.num": Object { - "Next": "typeof input.num === \\"number\\"", + "object__input.num": { + "Next": "typeof input.num === "number"", "Result": "object", "ResultPath": "$.heap10", "Type": "Pass", }, - "object__input.num 1": Object { - "Next": "14__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "object__input.num 1": { + "Next": "14__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "object", "ResultPath": "$.heap13", "Type": "Pass", }, - "object__input.obj": Object { - "Next": "typeof input.obj === \\"object\\"", + "object__input.obj": { + "Next": "typeof input.obj === "object"", "Result": "object", "ResultPath": "$.heap15", "Type": "Pass", }, - "object__input.obj 1": Object { - "Next": "19__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "object__input.obj 1": { + "Next": "19__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "object", "ResultPath": "$.heap18", "Type": "Pass", }, - "object__input.str": Object { - "Next": "4__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "object__input.str": { + "Next": "4__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "object", "ResultPath": "$.heap3", "Type": "Pass", }, - "object__return {isString: typeof input.str === \\"string\\", stringType: typeof": Object { - "Next": "typeof input.str === \\"string\\"", + "object__return {isString: typeof input.str === "string", stringType: typeof": { + "Next": "typeof input.str === "string"", "Result": "object", "ResultPath": "$.heap0", "Type": "Pass", }, - "return {isString: typeof input.str === \\"string\\", stringType: typeof input.s": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return {isString: typeof input.str === "string", stringType: typeof input.s": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.str", }, - Object { + { "IsString": true, "Variable": "$.input.str", }, ], - "Next": "string__return {isString: typeof input.str === \\"string\\", stringType: typeof", + "Next": "string__return {isString: typeof input.str === "string", stringType: typeof", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.str", }, - Object { + { "IsBoolean": true, "Variable": "$.input.str", }, ], - "Next": "boolean__return {isString: typeof input.str === \\"string\\", stringType: typeo", + "Next": "boolean__return {isString: typeof input.str === "string", stringType: typeo", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.str", }, - Object { + { "IsNumeric": true, "Variable": "$.input.str", }, ], - "Next": "number__return {isString: typeof input.str === \\"string\\", stringType: typeof", + "Next": "number__return {isString: typeof input.str === "string", stringType: typeof", }, - Object { + { "IsPresent": true, - "Next": "object__return {isString: typeof input.str === \\"string\\", stringType: typeof", + "Next": "object__return {isString: typeof input.str === "string", stringType: typeof", "Variable": "$.input.str", }, ], - "Default": "undefined__return {isString: typeof input.str === \\"string\\", stringType: typ", + "Default": "undefined__return {isString: typeof input.str === "string", stringType: typ", "Type": "Choice", }, - "string__input.arr": Object { - "Next": "21__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "string__input.arr": { + "Next": "21__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "string", "ResultPath": "$.heap20", "Type": "Pass", }, - "string__input.bool": Object { - "Next": "typeof input.bool === \\"boolean\\"", + "string__input.bool": { + "Next": "typeof input.bool === "boolean"", "Result": "string", "ResultPath": "$.heap5", "Type": "Pass", }, - "string__input.bool 1": Object { - "Next": "9__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "string__input.bool 1": { + "Next": "9__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "string", "ResultPath": "$.heap8", "Type": "Pass", }, - "string__input.num": Object { - "Next": "typeof input.num === \\"number\\"", + "string__input.num": { + "Next": "typeof input.num === "number"", "Result": "string", "ResultPath": "$.heap10", "Type": "Pass", }, - "string__input.num 1": Object { - "Next": "14__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "string__input.num 1": { + "Next": "14__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "string", "ResultPath": "$.heap13", "Type": "Pass", }, - "string__input.obj": Object { - "Next": "typeof input.obj === \\"object\\"", + "string__input.obj": { + "Next": "typeof input.obj === "object"", "Result": "string", "ResultPath": "$.heap15", "Type": "Pass", }, - "string__input.obj 1": Object { - "Next": "19__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "string__input.obj 1": { + "Next": "19__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "string", "ResultPath": "$.heap18", "Type": "Pass", }, - "string__input.str": Object { - "Next": "4__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "string__input.str": { + "Next": "4__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "string", "ResultPath": "$.heap3", "Type": "Pass", }, - "string__return {isString: typeof input.str === \\"string\\", stringType: typeof": Object { - "Next": "typeof input.str === \\"string\\"", + "string__return {isString: typeof input.str === "string", stringType: typeof": { + "Next": "typeof input.str === "string"", "Result": "string", "ResultPath": "$.heap0", "Type": "Pass", }, - "true__typeof input.bool === \\"boolean\\"": Object { - "Next": "7__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "true__typeof input.bool === "boolean"": { + "Next": "7__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": true, "ResultPath": "$.heap6", "Type": "Pass", }, - "true__typeof input.num === \\"number\\"": Object { - "Next": "12__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "true__typeof input.num === "number"": { + "Next": "12__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": true, "ResultPath": "$.heap11", "Type": "Pass", }, - "true__typeof input.obj === \\"object\\"": Object { - "Next": "17__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "true__typeof input.obj === "object"": { + "Next": "17__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": true, "ResultPath": "$.heap16", "Type": "Pass", }, - "true__typeof input.str === \\"string\\"": Object { - "Next": "2__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "true__typeof input.str === "string"": { + "Next": "2__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": true, "ResultPath": "$.heap1", "Type": "Pass", }, - "typeof input.bool === \\"boolean\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "typeof input.bool === "boolean"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap5", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap5", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap5", }, - Object { + { "StringEquals": "boolean", "Variable": "$.heap5", }, @@ -30938,33 +30938,33 @@ Object { ], }, ], - "Next": "true__typeof input.bool === \\"boolean\\"", + "Next": "true__typeof input.bool === "boolean"", }, ], - "Default": "false__typeof input.bool === \\"boolean\\"", + "Default": "false__typeof input.bool === "boolean"", "Type": "Choice", }, - "typeof input.num === \\"number\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "typeof input.num === "number"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap10", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap10", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap10", }, - Object { + { "StringEquals": "number", "Variable": "$.heap10", }, @@ -30973,33 +30973,33 @@ Object { ], }, ], - "Next": "true__typeof input.num === \\"number\\"", + "Next": "true__typeof input.num === "number"", }, ], - "Default": "false__typeof input.num === \\"number\\"", + "Default": "false__typeof input.num === "number"", "Type": "Choice", }, - "typeof input.obj === \\"object\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "typeof input.obj === "object"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap15", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap15", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap15", }, - Object { + { "StringEquals": "object", "Variable": "$.heap15", }, @@ -31008,33 +31008,33 @@ Object { ], }, ], - "Next": "true__typeof input.obj === \\"object\\"", + "Next": "true__typeof input.obj === "object"", }, ], - "Default": "false__typeof input.obj === \\"object\\"", + "Default": "false__typeof input.obj === "object"", "Type": "Choice", }, - "typeof input.str === \\"string\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "typeof input.str === "string"": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap0", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap0", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap0", }, - Object { + { "StringEquals": "string", "Variable": "$.heap0", }, @@ -31043,62 +31043,62 @@ Object { ], }, ], - "Next": "true__typeof input.str === \\"string\\"", + "Next": "true__typeof input.str === "string"", }, ], - "Default": "false__typeof input.str === \\"string\\"", + "Default": "false__typeof input.str === "string"", "Type": "Choice", }, - "undefined__input.arr": Object { - "Next": "21__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "undefined__input.arr": { + "Next": "21__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "undefined", "ResultPath": "$.heap20", "Type": "Pass", }, - "undefined__input.bool": Object { - "Next": "typeof input.bool === \\"boolean\\"", + "undefined__input.bool": { + "Next": "typeof input.bool === "boolean"", "Result": "undefined", "ResultPath": "$.heap5", "Type": "Pass", }, - "undefined__input.bool 1": Object { - "Next": "9__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "undefined__input.bool 1": { + "Next": "9__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "undefined", "ResultPath": "$.heap8", "Type": "Pass", }, - "undefined__input.num": Object { - "Next": "typeof input.num === \\"number\\"", + "undefined__input.num": { + "Next": "typeof input.num === "number"", "Result": "undefined", "ResultPath": "$.heap10", "Type": "Pass", }, - "undefined__input.num 1": Object { - "Next": "14__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "undefined__input.num 1": { + "Next": "14__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "undefined", "ResultPath": "$.heap13", "Type": "Pass", }, - "undefined__input.obj": Object { - "Next": "typeof input.obj === \\"object\\"", + "undefined__input.obj": { + "Next": "typeof input.obj === "object"", "Result": "undefined", "ResultPath": "$.heap15", "Type": "Pass", }, - "undefined__input.obj 1": Object { - "Next": "19__return {isString: typeof input.str === \\"string\\", stringType: typeof inp", + "undefined__input.obj 1": { + "Next": "19__return {isString: typeof input.str === "string", stringType: typeof inp", "Result": "undefined", "ResultPath": "$.heap18", "Type": "Pass", }, - "undefined__input.str": Object { - "Next": "4__return {isString: typeof input.str === \\"string\\", stringType: typeof inpu", + "undefined__input.str": { + "Next": "4__return {isString: typeof input.str === "string", stringType: typeof inpu", "Result": "undefined", "ResultPath": "$.heap3", "Type": "Pass", }, - "undefined__return {isString: typeof input.str === \\"string\\", stringType: typ": Object { - "Next": "typeof input.str === \\"string\\"", + "undefined__return {isString: typeof input.str === "string", stringType: typ": { + "Next": "typeof input.str === "string"", "Result": "undefined", "ResultPath": "$.heap0", "Type": "Pass", diff --git a/test/__snapshots__/step-function.test.ts.snap b/test/__snapshots__/step-function.test.ts.snap index dfc5ecec..59f66461 100644 --- a/test/__snapshots__/step-function.test.ts.snap +++ b/test/__snapshots__/step-function.test.ts.snap @@ -1,13 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`$SFN.forEach(list, (item) => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "await $SFN.forEach(input.list, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15,18 +15,18 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await $SFN.forEach(input.list, function (item))": Object { + "await $SFN.forEach(input.list, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "return task(item)", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", @@ -36,7 +36,7 @@ Object { }, }, "Next": "return null", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -44,7 +44,7 @@ Object { "ResultPath": "$.heap1", "Type": "Map", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -55,29 +55,29 @@ Object { `; exports[`$SFN.map([1, 2, 3], (item) => nitem) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.map([1, 2, 3], function (item))": Object { + "States": { + "$SFN.map([1, 2, 3], function (item))": { "ItemsPath": "$.heap2", - "Iterator": Object { + "Iterator": { "StartAt": "return nitem", - "States": Object { - "1__return nitem": Object { + "States": { + "1__return nitem": { "End": true, "InputPath": "$.heap1.string", "ResultPath": "$", "Type": "Pass", }, - "nitem": Object { + "nitem": { "Next": "1__return nitem", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('n{}',$.heap0)", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "return nitem": Object { + "return nitem": { "InputPath": "$.item", "Next": "nitem", "ResultPath": "$.heap0", @@ -86,32 +86,32 @@ Object { }, }, "Next": "1__return $SFN.map([1, 2, 3], function (item))", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap3", "Type": "Map", }, - "1__return $SFN.map([1, 2, 3], function (item))": Object { + "1__return $SFN.map([1, 2, 3], function (item))": { "End": true, "InputPath": "$.heap3", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.map([1, 2, 3], function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return $SFN.map([1, 2, 3], function (item))": Object { + "return $SFN.map([1, 2, 3], function (item))": { "Next": "$SFN.map([1, 2, 3], function (item))", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -124,13 +124,13 @@ Object { `; exports[`$SFN.map(list, (item) => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "await $SFN.map(input.list, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -138,18 +138,18 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await $SFN.map(input.list, function (item))": Object { + "await $SFN.map(input.list, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "return task(item)", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", @@ -159,7 +159,7 @@ Object { }, }, "Next": "return null", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -167,7 +167,7 @@ Object { "ResultPath": "$.heap1", "Type": "Map", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -178,37 +178,37 @@ Object { `; exports[`[1,2,3,4].filter((item, index) => item > index) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [1, 2, 3, 4].filter(function (item,index))": Object { + "States": { + "1__return [1, 2, 3, 4].filter(function (item,index))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return item > index": Object { + "1__return item > index": { "InputPath": "$.heap3", "Next": "handleResult__[1, 2, 3, 4].filter(function (item,index))", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return [1, 2, 3, 4].filter(function (item,index))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[1, 2, 3, 4].filter(function (item,index))": Object { + "[1, 2, 3, 4].filter(function (item,index))": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -216,20 +216,20 @@ Object { }, }, "Next": "check__[1, 2, 3, 4].filter(function (item,index))", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap1", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", "arrStr": "[null", }, "Type": "Map", }, - "check__[1, 2, 3, 4].filter(function (item,index))": Object { - "Choices": Array [ - Object { + "check__[1, 2, 3, 4].filter(function (item,index))": { + "Choices": [ + { "IsPresent": true, "Next": "function (item,index)", "Variable": "$.heap1.arr[0]", @@ -238,58 +238,58 @@ Object { "Default": "end__[1, 2, 3, 4].filter(function (item,index))", "Type": "Choice", }, - "end__[1, 2, 3, 4].filter(function (item,index))": Object { + "end__[1, 2, 3, 4].filter(function (item,index))": { "Next": "set__end__[1, 2, 3, 4].filter(function (item,index))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "false__return item > index": Object { + "false__return item > index": { "Next": "1__return item > index", "Result": false, "ResultPath": "$.heap3", "Type": "Pass", }, - "function (item,index)": Object { + "function (item,index)": { "InputPath": "$.heap1.arr[0].item", "Next": "index", "ResultPath": "$.item", "Type": "Pass", }, - "handleResult__[1, 2, 3, 4].filter(function (item,index))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "handleResult__[1, 2, 3, 4].filter(function (item,index))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap2", }, - Object { + { "IsNull": false, "Variable": "$.heap2", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { + { "StringEquals": "", "Variable": "$.heap2", }, @@ -298,20 +298,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap2", }, @@ -320,30 +320,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap2", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "IsString": true, "Variable": "$.heap2", }, @@ -359,24 +359,24 @@ Object { "Default": "tail__[1, 2, 3, 4].filter(function (item,index))", "Type": "Choice", }, - "index": Object { + "index": { "InputPath": "$.heap1.arr[0].index", "Next": "return item > index", "ResultPath": "$.index", "Type": "Pass", }, - "predicateTrue__handleResult__[1, 2, 3, 4].filter(function (item,index))": Object { + "predicateTrue__handleResult__[1, 2, 3, 4].filter(function (item,index))": { "Next": "check__[1, 2, 3, 4].filter(function (item,index))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0].item))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "return [1, 2, 3, 4].filter(function (item,index))": Object { + "return [1, 2, 3, 4].filter(function (item,index))": { "Next": "[1, 2, 3, 4].filter(function (item,index))", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -385,49 +385,49 @@ Object { "ResultPath": "$.heap0", "Type": "Pass", }, - "return item > index": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return item > index": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.item", }, - Object { + { "IsPresent": true, "Variable": "$.index", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.item", }, - Object { + { "IsNull": false, "Variable": "$.index", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.item", }, - Object { + { "StringGreaterThanPath": "$.index", "Variable": "$.item", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.item", }, - Object { + { "NumericGreaterThanPath": "$.index", "Variable": "$.item", }, @@ -444,19 +444,19 @@ Object { "Default": "false__return item > index", "Type": "Choice", }, - "set__end__[1, 2, 3, 4].filter(function (item,index))": Object { + "set__end__[1, 2, 3, 4].filter(function (item,index))": { "InputPath": "$.heap1.result[1:]", "Next": "1__return [1, 2, 3, 4].filter(function (item,index))", "ResultPath": "$.heap1", "Type": "Pass", }, - "tail__[1, 2, 3, 4].filter(function (item,index))": Object { + "tail__[1, 2, 3, 4].filter(function (item,index))": { "InputPath": "$.heap1.arr[1:]", "Next": "check__[1, 2, 3, 4].filter(function (item,index))", "ResultPath": "$.heap1.arr", "Type": "Pass", }, - "true__return item > index": Object { + "true__return item > index": { "Next": "1__return item > index", "Result": true, "ResultPath": "$.heap3", @@ -467,37 +467,37 @@ Object { `; exports[`[1,2,3,4].filter((item, index, array) => item > 1 + 2) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [1, 2, 3, 4].filter(function (item,_,arr))": Object { + "States": { + "1__return [1, 2, 3, 4].filter(function (item,_,arr))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return item > arr[0]": Object { + "1__return item > arr[0]": { "InputPath": "$.heap3", "Next": "handleResult__[1, 2, 3, 4].filter(function (item,_,arr))", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return [1, 2, 3, 4].filter(function (item,_,arr))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[1, 2, 3, 4].filter(function (item,_,arr))": Object { + "[1, 2, 3, 4].filter(function (item,_,arr))": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -505,32 +505,32 @@ Object { }, }, "Next": "check__[1, 2, 3, 4].filter(function (item,_,arr))", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap1", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", "arrStr": "[null", }, "Type": "Map", }, - "_": Object { + "_": { "InputPath": "$.heap1.arr[0].index", "Next": "arr", "ResultPath": "$._", "Type": "Pass", }, - "arr": Object { + "arr": { "InputPath": "$.heap0", "Next": "return item > arr[0]", "ResultPath": "$.arr", "Type": "Pass", }, - "check__[1, 2, 3, 4].filter(function (item,_,arr))": Object { - "Choices": Array [ - Object { + "check__[1, 2, 3, 4].filter(function (item,_,arr))": { + "Choices": [ + { "IsPresent": true, "Next": "function (item,_,arr)", "Variable": "$.heap1.arr[0]", @@ -539,58 +539,58 @@ Object { "Default": "end__[1, 2, 3, 4].filter(function (item,_,arr))", "Type": "Choice", }, - "end__[1, 2, 3, 4].filter(function (item,_,arr))": Object { + "end__[1, 2, 3, 4].filter(function (item,_,arr))": { "Next": "set__end__[1, 2, 3, 4].filter(function (item,_,arr))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "false__return item > arr[0]": Object { + "false__return item > arr[0]": { "Next": "1__return item > arr[0]", "Result": false, "ResultPath": "$.heap3", "Type": "Pass", }, - "function (item,_,arr)": Object { + "function (item,_,arr)": { "InputPath": "$.heap1.arr[0].item", "Next": "_", "ResultPath": "$.item", "Type": "Pass", }, - "handleResult__[1, 2, 3, 4].filter(function (item,_,arr))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "handleResult__[1, 2, 3, 4].filter(function (item,_,arr))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap2", }, - Object { + { "IsNull": false, "Variable": "$.heap2", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { + { "StringEquals": "", "Variable": "$.heap2", }, @@ -599,20 +599,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap2", }, @@ -621,30 +621,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap2", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "IsString": true, "Variable": "$.heap2", }, @@ -660,18 +660,18 @@ Object { "Default": "tail__[1, 2, 3, 4].filter(function (item,_,arr))", "Type": "Choice", }, - "predicateTrue__handleResult__[1, 2, 3, 4].filter(function (item,_,arr))": Object { + "predicateTrue__handleResult__[1, 2, 3, 4].filter(function (item,_,arr))": { "Next": "check__[1, 2, 3, 4].filter(function (item,_,arr))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0].item))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "return [1, 2, 3, 4].filter(function (item,_,arr))": Object { + "return [1, 2, 3, 4].filter(function (item,_,arr))": { "Next": "[1, 2, 3, 4].filter(function (item,_,arr))", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -680,49 +680,49 @@ Object { "ResultPath": "$.heap0", "Type": "Pass", }, - "return item > arr[0]": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return item > arr[0]": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.item", }, - Object { + { "IsPresent": true, "Variable": "$.arr[0]", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.item", }, - Object { + { "IsNull": false, "Variable": "$.arr[0]", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.item", }, - Object { + { "StringGreaterThanPath": "$.arr[0]", "Variable": "$.item", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.item", }, - Object { + { "NumericGreaterThanPath": "$.arr[0]", "Variable": "$.item", }, @@ -739,19 +739,19 @@ Object { "Default": "false__return item > arr[0]", "Type": "Choice", }, - "set__end__[1, 2, 3, 4].filter(function (item,_,arr))": Object { + "set__end__[1, 2, 3, 4].filter(function (item,_,arr))": { "InputPath": "$.heap1.result[1:]", "Next": "1__return [1, 2, 3, 4].filter(function (item,_,arr))", "ResultPath": "$.heap1", "Type": "Pass", }, - "tail__[1, 2, 3, 4].filter(function (item,_,arr))": Object { + "tail__[1, 2, 3, 4].filter(function (item,_,arr))": { "InputPath": "$.heap1.arr[1:]", "Next": "check__[1, 2, 3, 4].filter(function (item,_,arr))", "ResultPath": "$.heap1.arr", "Type": "Pass", }, - "true__return item > arr[0]": Object { + "true__return item > arr[0]": { "Next": "1__return item > arr[0]", "Result": true, "ResultPath": "$.heap3", @@ -762,37 +762,37 @@ Object { `; exports[`[1,2,3,4].filter((item, index, array) => item > 1 + 2) 2`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [1, 2, 3, 4].filter(function (item,_,[ first ]))": Object { + "States": { + "1__return [1, 2, 3, 4].filter(function (item,_,[ first ]))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return item > first": Object { + "1__return item > first": { "InputPath": "$.heap3", "Next": "handleResult__[1, 2, 3, 4].filter(function (item,_,[ first ]))", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return [1, 2, 3, 4].filter(function (item,_,[ first ]))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[1, 2, 3, 4].filter(function (item,_,[ first ]))": Object { + "[1, 2, 3, 4].filter(function (item,_,[ first ]))": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -800,26 +800,26 @@ Object { }, }, "Next": "check__[1, 2, 3, 4].filter(function (item,_,[ first ]))", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap1", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", "arrStr": "[null", }, "Type": "Map", }, - "_": Object { + "_": { "InputPath": "$.heap1.arr[0].index", "Next": "first", "ResultPath": "$._", "Type": "Pass", }, - "check__[1, 2, 3, 4].filter(function (item,_,[ first ]))": Object { - "Choices": Array [ - Object { + "check__[1, 2, 3, 4].filter(function (item,_,[ first ]))": { + "Choices": [ + { "IsPresent": true, "Next": "function (item,_,[ first ])", "Variable": "$.heap1.arr[0]", @@ -828,64 +828,64 @@ Object { "Default": "end__[1, 2, 3, 4].filter(function (item,_,[ first ]))", "Type": "Choice", }, - "end__[1, 2, 3, 4].filter(function (item,_,[ first ]))": Object { + "end__[1, 2, 3, 4].filter(function (item,_,[ first ]))": { "Next": "set__end__[1, 2, 3, 4].filter(function (item,_,[ first ]))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "false__return item > first": Object { + "false__return item > first": { "Next": "1__return item > first", "Result": false, "ResultPath": "$.heap3", "Type": "Pass", }, - "first": Object { + "first": { "InputPath": "$.heap0[0]", "Next": "return item > first", "ResultPath": "$.first", "Type": "Pass", }, - "function (item,_,[ first ])": Object { + "function (item,_,[ first ])": { "InputPath": "$.heap1.arr[0].item", "Next": "_", "ResultPath": "$.item", "Type": "Pass", }, - "handleResult__[1, 2, 3, 4].filter(function (item,_,[ first ]))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "handleResult__[1, 2, 3, 4].filter(function (item,_,[ first ]))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap2", }, - Object { + { "IsNull": false, "Variable": "$.heap2", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { + { "StringEquals": "", "Variable": "$.heap2", }, @@ -894,20 +894,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap2", }, @@ -916,30 +916,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap2", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "IsString": true, "Variable": "$.heap2", }, @@ -955,18 +955,18 @@ Object { "Default": "tail__[1, 2, 3, 4].filter(function (item,_,[ first ]))", "Type": "Choice", }, - "predicateTrue__handleResult__[1, 2, 3, 4].filter(function (item,_,[ first ]": Object { + "predicateTrue__handleResult__[1, 2, 3, 4].filter(function (item,_,[ first ]": { "Next": "check__[1, 2, 3, 4].filter(function (item,_,[ first ]))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0].item))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "return [1, 2, 3, 4].filter(function (item,_,[ first ]))": Object { + "return [1, 2, 3, 4].filter(function (item,_,[ first ]))": { "Next": "[1, 2, 3, 4].filter(function (item,_,[ first ]))", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -975,49 +975,49 @@ Object { "ResultPath": "$.heap0", "Type": "Pass", }, - "return item > first": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return item > first": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.item", }, - Object { + { "IsPresent": true, "Variable": "$.first", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.item", }, - Object { + { "IsNull": false, "Variable": "$.first", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.item", }, - Object { + { "StringGreaterThanPath": "$.first", "Variable": "$.item", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.item", }, - Object { + { "NumericGreaterThanPath": "$.first", "Variable": "$.item", }, @@ -1034,19 +1034,19 @@ Object { "Default": "false__return item > first", "Type": "Choice", }, - "set__end__[1, 2, 3, 4].filter(function (item,_,[ first ]))": Object { + "set__end__[1, 2, 3, 4].filter(function (item,_,[ first ]))": { "InputPath": "$.heap1.result[1:]", "Next": "1__return [1, 2, 3, 4].filter(function (item,_,[ first ]))", "ResultPath": "$.heap1", "Type": "Pass", }, - "tail__[1, 2, 3, 4].filter(function (item,_,[ first ]))": Object { + "tail__[1, 2, 3, 4].filter(function (item,_,[ first ]))": { "InputPath": "$.heap1.arr[1:]", "Next": "check__[1, 2, 3, 4].filter(function (item,_,[ first ]))", "ResultPath": "$.heap1.arr", "Type": "Pass", }, - "true__return item > first": Object { + "true__return item > first": { "Next": "1__return item > first", "Result": true, "ResultPath": "$.heap3", @@ -1057,43 +1057,43 @@ Object { `; exports[`[1,2,3,4].filter(item => item > {}) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [{}].filter(function (item))": Object { + "States": { + "1__return [{}].filter(function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return item === {a: \\"a\\"}": Object { + "1__return item === {a: "a"}": { "InputPath": "$.heap3", "Next": "handleResult__[{}].filter(function (item))", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return [{}].filter(function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[{}].filter(function (item))": Object { + "[{}].filter(function (item))": { "Next": "check__[{}].filter(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0", "arrStr": "[null", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "check__[{}].filter(function (item))": Object { - "Choices": Array [ - Object { + "check__[{}].filter(function (item))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap1.arr[0]", @@ -1102,52 +1102,52 @@ Object { "Default": "end__[{}].filter(function (item))", "Type": "Choice", }, - "end__[{}].filter(function (item))": Object { + "end__[{}].filter(function (item))": { "Next": "set__end__[{}].filter(function (item))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "false__return item === {a: \\"a\\"}": Object { - "Next": "1__return item === {a: \\"a\\"}", + "false__return item === {a: "a"}": { + "Next": "1__return item === {a: "a"}", "Result": false, "ResultPath": "$.heap3", "Type": "Pass", }, - "handleResult__[{}].filter(function (item))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "handleResult__[{}].filter(function (item))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap2", }, - Object { + { "IsNull": false, "Variable": "$.heap2", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { + { "StringEquals": "", "Variable": "$.heap2", }, @@ -1156,20 +1156,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap2", }, @@ -1178,30 +1178,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap2", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "IsString": true, "Variable": "$.heap2", }, @@ -1217,70 +1217,70 @@ Object { "Default": "tail__[{}].filter(function (item))", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap1.arr[0]", - "Next": "return item === {a: \\"a\\"}", + "Next": "return item === {a: "a"}", "ResultPath": "$.item", "Type": "Pass", }, - "predicateTrue__handleResult__[{}].filter(function (item))": Object { + "predicateTrue__handleResult__[{}].filter(function (item))": { "Next": "check__[{}].filter(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0]))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "return [{}].filter(function (item))": Object { + "return [{}].filter(function (item))": { "Next": "[{}].filter(function (item))", - "Result": Array [ - Object {}, + "Result": [ + {}, ], "ResultPath": "$.heap0", "Type": "Pass", }, - "return item === {a: \\"a\\"}": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return item === {a: "a"}": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.item", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, ], }, ], - "Next": "true__return item === {a: \\"a\\"}", + "Next": "true__return item === {a: "a"}", }, ], - "Default": "false__return item === {a: \\"a\\"}", + "Default": "false__return item === {a: "a"}", "Type": "Choice", }, - "set__end__[{}].filter(function (item))": Object { + "set__end__[{}].filter(function (item))": { "InputPath": "$.heap1.result[1:]", "Next": "1__return [{}].filter(function (item))", "ResultPath": "$.heap1", "Type": "Pass", }, - "tail__[{}].filter(function (item))": Object { + "tail__[{}].filter(function (item))": { "InputPath": "$.heap1.arr[1:]", "Next": "check__[{}].filter(function (item))", "ResultPath": "$.heap1.arr", "Type": "Pass", }, - "true__return item === {a: \\"a\\"}": Object { - "Next": "1__return item === {a: \\"a\\"}", + "true__return item === {a: "a"}": { + "Next": "1__return item === {a: "a"}", "Result": true, "ResultPath": "$.heap3", "Type": "Pass", @@ -1290,103 +1290,103 @@ Object { `; exports[`[1,2,3,4].filter(item => item > {}) 2`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [{value: \\"a\\"}].filter(function (item))": Object { + "States": { + "1__return [{value: "a"}].filter(function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return value === a": Object { + "1__return value === a": { "InputPath": "$.heap3", - "Next": "handleResult__[{value: \\"a\\"}].filter(function (item))", + "Next": "handleResult__[{value: "a"}].filter(function (item))", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return [{value: \\"a\\"}].filter(function (item))", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return [{value: "a"}].filter(function (item))", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "[{value: \\"a\\"}].filter(function (item))": Object { - "Next": "check__[{value: \\"a\\"}].filter(function (item))", - "Parameters": Object { + "[{value: "a"}].filter(function (item))": { + "Next": "check__[{value: "a"}].filter(function (item))", + "Parameters": { "arr.$": "$.heap0", "arrStr": "[null", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "a = \\"a\\"": Object { + "a = "a"": { "Next": "{ value } = item", "Result": "a", "ResultPath": "$.a", "Type": "Pass", }, - "check__[{value: \\"a\\"}].filter(function (item))": Object { - "Choices": Array [ - Object { + "check__[{value: "a"}].filter(function (item))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap1.arr[0]", }, ], - "Default": "end__[{value: \\"a\\"}].filter(function (item))", + "Default": "end__[{value: "a"}].filter(function (item))", "Type": "Choice", }, - "end__[{value: \\"a\\"}].filter(function (item))": Object { - "Next": "set__end__[{value: \\"a\\"}].filter(function (item))", - "Parameters": Object { + "end__[{value: "a"}].filter(function (item))": { + "Next": "set__end__[{value: "a"}].filter(function (item))", + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "false__return value === a": Object { + "false__return value === a": { "Next": "1__return value === a", "Result": false, "ResultPath": "$.heap3", "Type": "Pass", }, - "handleResult__[{value: \\"a\\"}].filter(function (item))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "handleResult__[{value: "a"}].filter(function (item))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap2", }, - Object { + { "IsNull": false, "Variable": "$.heap2", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { + { "StringEquals": "", "Variable": "$.heap2", }, @@ -1395,20 +1395,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap2", }, @@ -1417,30 +1417,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap2", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap2", }, - Object { + { "IsNumeric": true, "Variable": "$.heap2", }, - Object { + { "IsString": true, "Variable": "$.heap2", }, @@ -1450,121 +1450,121 @@ Object { ], }, ], - "Next": "predicateTrue__handleResult__[{value: \\"a\\"}].filter(function (item))", + "Next": "predicateTrue__handleResult__[{value: "a"}].filter(function (item))", }, ], - "Default": "tail__[{value: \\"a\\"}].filter(function (item))", + "Default": "tail__[{value: "a"}].filter(function (item))", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap1.arr[0]", - "Next": "a = \\"a\\"", + "Next": "a = "a"", "ResultPath": "$.item", "Type": "Pass", }, - "predicateTrue__handleResult__[{value: \\"a\\"}].filter(function (item))": Object { - "Next": "check__[{value: \\"a\\"}].filter(function (item))", - "Parameters": Object { + "predicateTrue__handleResult__[{value: "a"}].filter(function (item))": { + "Next": "check__[{value: "a"}].filter(function (item))", + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0]))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "return [{value: \\"a\\"}].filter(function (item))": Object { - "Next": "[{value: \\"a\\"}].filter(function (item))", - "Result": Array [ - Object { + "return [{value: "a"}].filter(function (item))": { + "Next": "[{value: "a"}].filter(function (item))", + "Result": [ + { "value": "a", }, ], "ResultPath": "$.heap0", "Type": "Pass", }, - "return value === a": Object { - "Choices": Array [ - Object { + "return value === a": { + "Choices": [ + { "Next": "true__return value === a", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.value", }, - Object { + { "IsPresent": false, "Variable": "$.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.value", }, - Object { + { "IsPresent": true, "Variable": "$.a", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.value", }, - Object { + { "IsNull": true, "Variable": "$.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.value", }, - Object { + { "IsNull": false, "Variable": "$.a", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.value", }, - Object { + { "StringEqualsPath": "$.a", "Variable": "$.value", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.value", }, - Object { + { "BooleanEqualsPath": "$.a", "Variable": "$.value", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.value", }, - Object { + { "NumericEqualsPath": "$.a", "Variable": "$.value", }, @@ -1584,25 +1584,25 @@ Object { "Default": "false__return value === a", "Type": "Choice", }, - "set__end__[{value: \\"a\\"}].filter(function (item))": Object { + "set__end__[{value: "a"}].filter(function (item))": { "InputPath": "$.heap1.result[1:]", - "Next": "1__return [{value: \\"a\\"}].filter(function (item))", + "Next": "1__return [{value: "a"}].filter(function (item))", "ResultPath": "$.heap1", "Type": "Pass", }, - "tail__[{value: \\"a\\"}].filter(function (item))": Object { + "tail__[{value: "a"}].filter(function (item))": { "InputPath": "$.heap1.arr[1:]", - "Next": "check__[{value: \\"a\\"}].filter(function (item))", + "Next": "check__[{value: "a"}].filter(function (item))", "ResultPath": "$.heap1.arr", "Type": "Pass", }, - "true__return value === a": Object { + "true__return value === a": { "Next": "1__return value === a", "Result": true, "ResultPath": "$.heap3", "Type": "Pass", }, - "{ value } = item": Object { + "{ value } = item": { "InputPath": "$.item['value']", "Next": "return value === a", "ResultPath": "$.value", @@ -1613,28 +1613,28 @@ Object { `; exports[`[1,2,3,4].filter(item => item > 1 + 2) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [1, 2, 3, 4].filter(function (item))": Object { + "States": { + "1__return [1, 2, 3, 4].filter(function (item))": { "End": true, "InputPath": "$.heap0[?(@>3)]", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return [1, 2, 3, 4].filter(function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return [1, 2, 3, 4].filter(function (item))": Object { + "return [1, 2, 3, 4].filter(function (item))": { "Next": "1__return [1, 2, 3, 4].filter(function (item))", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -1648,28 +1648,28 @@ Object { `; exports[`[1,2,3,4].filter(item => item > 2) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [1, 2, 3, 4].filter(function (item))": Object { + "States": { + "1__return [1, 2, 3, 4].filter(function (item))": { "End": true, "InputPath": "$.heap0[?(@>2)]", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return [1, 2, 3, 4].filter(function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return [1, 2, 3, 4].filter(function (item))": Object { + "return [1, 2, 3, 4].filter(function (item))": { "Next": "1__return [1, 2, 3, 4].filter(function (item))", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -1683,37 +1683,37 @@ Object { `; exports[`[1,2,3].map(item => item) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [1, 2, 3].map(function (item))": Object { + "States": { + "1__return [1, 2, 3].map(function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return [1, 2, 3].map(function (item)) 1": Object { + "1__return [1, 2, 3].map(function (item)) 1": { "Next": "check__1__return [1, 2, 3].map(function (item)) 1", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0", "arrStr": "[null", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return [1, 2, 3].map(function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "check__1__return [1, 2, 3].map(function (item)) 1": Object { - "Choices": Array [ - Object { + "check__1__return [1, 2, 3].map(function (item)) 1": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap1.arr[0]", @@ -1722,32 +1722,32 @@ Object { "Default": "end__1__return [1, 2, 3].map(function (item)) 1", "Type": "Choice", }, - "end__1__return [1, 2, 3].map(function (item)) 1": Object { + "end__1__return [1, 2, 3].map(function (item)) 1": { "Next": "set__end__1__return [1, 2, 3].map(function (item)) 1", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "handleResult__1__return [1, 2, 3].map(function (item)) 1": Object { + "handleResult__1__return [1, 2, 3].map(function (item)) 1": { "Next": "check__1__return [1, 2, 3].map(function (item)) 1", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0]))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap1.arr[0]", "Next": "return item", "ResultPath": "$.item", "Type": "Pass", }, - "return [1, 2, 3].map(function (item))": Object { + "return [1, 2, 3].map(function (item))": { "Next": "1__return [1, 2, 3].map(function (item)) 1", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -1755,13 +1755,13 @@ Object { "ResultPath": "$.heap0", "Type": "Pass", }, - "return item": Object { + "return item": { "InputPath": "$.item", "Next": "handleResult__1__return [1, 2, 3].map(function (item)) 1", "ResultPath": "$.heap1.arr[0]", "Type": "Pass", }, - "set__end__1__return [1, 2, 3].map(function (item)) 1": Object { + "set__end__1__return [1, 2, 3].map(function (item)) 1": { "InputPath": "$.heap1.result[1:]", "Next": "1__return [1, 2, 3].map(function (item))", "ResultPath": "$.heap1", @@ -1772,19 +1772,19 @@ Object { `; exports[`\`template me \${await task(input.value)}\` 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return template me await task(input.value)": Object { + "States": { + "1__return template me await task(input.value)": { "End": true, "InputPath": "$.heap2.string", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return template me await task(input.value)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -1792,22 +1792,22 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await task(input.value)": Object { + "await task(input.value)": { "InputPath": "$.heap0", "Next": "template me await task(input.value)", "ResultPath": "$.heap1", "Type": "Pass", }, - "return template me await task(input.value)": Object { + "return template me await task(input.value)": { "InputPath": "$.input.value", "Next": "await task(input.value)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "template me await task(input.value)": Object { + "template me await task(input.value)": { "Next": "1__return template me await task(input.value)", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('template me {}',$.heap1)", }, "ResultPath": "$.heap2", @@ -1818,19 +1818,19 @@ Object { `; exports[`\`template me \${input.value}\` 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return template me input.value": Object { + "States": { + "1__return template me input.value": { "End": true, "InputPath": "$.heap1.string", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return template me input.value", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -1838,15 +1838,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return template me input.value": Object { + "return template me input.value": { "InputPath": "$.input.value", "Next": "template me input.value", "ResultPath": "$.heap0", "Type": "Pass", }, - "template me input.value": Object { + "template me input.value": { "Next": "1__return template me input.value", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('template me {}',$.heap0)", }, "ResultPath": "$.heap1", @@ -1857,12 +1857,12 @@ Object { `; exports[`Boolean 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber": Object { + "States": { + "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber": { "End": true, - "Parameters": Object { + "Parameters": { "empty": false, "falseBoolean": false, "falseNumber": false, @@ -1876,16 +1876,16 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber 1": Object { + "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber 1": { "InputPath": "$.heap0", - "Next": "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber", + "Next": "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber: B", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber: B", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -1893,44 +1893,44 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNu": Object { - "Next": "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber 1", + "false__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNu": { + "Next": "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber 1", "Result": false, "ResultPath": "$.heap0", "Type": "Pass", }, - "return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber: B": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber: B": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.value", }, - Object { + { "IsNull": false, "Variable": "$.input.value", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.value", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.value", }, - Object { + { "StringEquals": "", "Variable": "$.input.value", }, @@ -1939,20 +1939,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.value", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.value", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.value", }, @@ -1961,30 +1961,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.value", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.value", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.value", }, - Object { + { "IsNumeric": true, "Variable": "$.input.value", }, - Object { + { "IsString": true, "Variable": "$.input.value", }, @@ -1994,14 +1994,14 @@ Object { ], }, ], - "Next": "true__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNum", + "Next": "true__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNum", }, ], - "Default": "false__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNu", + "Default": "false__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNu", "Type": "Choice", }, - "true__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNum": Object { - "Next": "1__return {trueString: Boolean(\\"1\\"), trueBoolean: Boolean(true), trueNumber 1", + "true__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNum": { + "Next": "1__return {trueString: Boolean("1"), trueBoolean: Boolean(true), trueNumber 1", "Result": true, "ResultPath": "$.heap0", "Type": "Pass", @@ -2011,121 +2011,121 @@ Object { `; exports[`add iamConditions AWS.SDK.CloudWatch.describeAlarms 1`] = ` -Object { - "Mappings": Object { - "ServiceprincipalMap": Object { - "af-south-1": Object { +{ + "Mappings": { + "ServiceprincipalMap": { + "af-south-1": { "states": "states.af-south-1.amazonaws.com", }, - "ap-east-1": Object { + "ap-east-1": { "states": "states.ap-east-1.amazonaws.com", }, - "ap-northeast-1": Object { + "ap-northeast-1": { "states": "states.ap-northeast-1.amazonaws.com", }, - "ap-northeast-2": Object { + "ap-northeast-2": { "states": "states.ap-northeast-2.amazonaws.com", }, - "ap-northeast-3": Object { + "ap-northeast-3": { "states": "states.ap-northeast-3.amazonaws.com", }, - "ap-south-1": Object { + "ap-south-1": { "states": "states.ap-south-1.amazonaws.com", }, - "ap-southeast-1": Object { + "ap-southeast-1": { "states": "states.ap-southeast-1.amazonaws.com", }, - "ap-southeast-2": Object { + "ap-southeast-2": { "states": "states.ap-southeast-2.amazonaws.com", }, - "ap-southeast-3": Object { + "ap-southeast-3": { "states": "states.ap-southeast-3.amazonaws.com", }, - "ca-central-1": Object { + "ca-central-1": { "states": "states.ca-central-1.amazonaws.com", }, - "cn-north-1": Object { + "cn-north-1": { "states": "states.cn-north-1.amazonaws.com", }, - "cn-northwest-1": Object { + "cn-northwest-1": { "states": "states.cn-northwest-1.amazonaws.com", }, - "eu-central-1": Object { + "eu-central-1": { "states": "states.eu-central-1.amazonaws.com", }, - "eu-north-1": Object { + "eu-north-1": { "states": "states.eu-north-1.amazonaws.com", }, - "eu-south-1": Object { + "eu-south-1": { "states": "states.eu-south-1.amazonaws.com", }, - "eu-south-2": Object { + "eu-south-2": { "states": "states.eu-south-2.amazonaws.com", }, - "eu-west-1": Object { + "eu-west-1": { "states": "states.eu-west-1.amazonaws.com", }, - "eu-west-2": Object { + "eu-west-2": { "states": "states.eu-west-2.amazonaws.com", }, - "eu-west-3": Object { + "eu-west-3": { "states": "states.eu-west-3.amazonaws.com", }, - "me-south-1": Object { + "me-south-1": { "states": "states.me-south-1.amazonaws.com", }, - "sa-east-1": Object { + "sa-east-1": { "states": "states.sa-east-1.amazonaws.com", }, - "us-east-1": Object { + "us-east-1": { "states": "states.us-east-1.amazonaws.com", }, - "us-east-2": Object { + "us-east-2": { "states": "states.us-east-2.amazonaws.com", }, - "us-gov-east-1": Object { + "us-gov-east-1": { "states": "states.us-gov-east-1.amazonaws.com", }, - "us-gov-west-1": Object { + "us-gov-west-1": { "states": "states.us-gov-west-1.amazonaws.com", }, - "us-iso-east-1": Object { + "us-iso-east-1": { "states": "states.amazonaws.com", }, - "us-iso-west-1": Object { + "us-iso-west-1": { "states": "states.amazonaws.com", }, - "us-isob-east-1": Object { + "us-isob-east-1": { "states": "states.amazonaws.com", }, - "us-west-1": Object { + "us-west-1": { "states": "states.us-west-1.amazonaws.com", }, - "us-west-2": Object { + "us-west-2": { "states": "states.us-west-2.amazonaws.com", }, }, }, - "Parameters": Object { - "BootstrapVersion": Object { + "Parameters": { + "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", "Type": "AWS::SSM::Parameter::Value", }, }, - "Resources": Object { - "FC4345940": Object { - "DependsOn": Array [ + "Resources": { + "FC4345940": { + "DependsOn": [ "FServiceRole3AC82EE1", ], - "Properties": Object { - "Code": Object { + "Properties": { + "Code": { "ZipFile": "exports.handler = function() { return null; }", }, "FunctionName": "testFunction", "Handler": "index.handler", - "Role": Object { - "Fn::GetAtt": Array [ + "Role": { + "Fn::GetAtt": [ "FServiceRole3AC82EE1", "Arn", ], @@ -2134,27 +2134,27 @@ Object { }, "Type": "AWS::Lambda::Function", }, - "FServiceRole3AC82EE1": Object { - "Properties": Object { - "AssumeRolePolicyDocument": Object { - "Statement": Array [ - Object { + "FServiceRole3AC82EE1": { + "Properties": { + "AssumeRolePolicyDocument": { + "Statement": [ + { "Action": "sts:AssumeRole", "Effect": "Allow", - "Principal": Object { + "Principal": { "Service": "lambda.amazonaws.com", }, }, ], "Version": "2012-10-17", }, - "ManagedPolicyArns": Array [ - Object { - "Fn::Join": Array [ + "ManagedPolicyArns": [ + { + "Fn::Join": [ "", - Array [ + [ "arn:", - Object { + { "Ref": "AWS::Partition", }, ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", @@ -2165,22 +2165,22 @@ Object { }, "Type": "AWS::IAM::Role", }, - "TableCD117FA1": Object { + "TableCD117FA1": { "DeletionPolicy": "Retain", - "Properties": Object { - "AttributeDefinitions": Array [ - Object { + "Properties": { + "AttributeDefinitions": [ + { "AttributeName": "id", "AttributeType": "S", }, ], - "KeySchema": Array [ - Object { + "KeySchema": [ + { "AttributeName": "id", "KeyType": "HASH", }, ], - "ProvisionedThroughput": Object { + "ProvisionedThroughput": { "ReadCapacityUnits": 5, "WriteCapacityUnits": 5, }, @@ -2189,15 +2189,15 @@ Object { "Type": "AWS::DynamoDB::Table", "UpdateReplacePolicy": "Retain", }, - "fn5FF616E3": Object { - "DependsOn": Array [ + "fn5FF616E3": { + "DependsOn": [ "fnRoleDefaultPolicy4FB655BE", "fnRole50A611CF", ], - "Properties": Object { - "DefinitionString": "{\\"StartAt\\":\\"Initialize Functionless Context\\",\\"States\\":{\\"Initialize Functionless Context\\":{\\"Type\\":\\"Pass\\",\\"Parameters\\":{\\"fnl_context\\":{\\"null\\":null}},\\"ResultPath\\":\\"$\\",\\"Next\\":\\"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso\\"},\\"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso\\":{\\"Type\\":\\"Task\\",\\"Resource\\":\\"arn:aws:states:::aws-sdk:cloudwatch:describeAlarms\\",\\"Next\\":\\"MetricAlarms\\",\\"Parameters\\":{},\\"ResultPath\\":\\"$.heap0\\"},\\"MetricAlarms\\":{\\"Type\\":\\"Pass\\",\\"Next\\":\\"return MetricAlarms\\",\\"ResultPath\\":\\"$.MetricAlarms\\",\\"InputPath\\":\\"$.heap0['MetricAlarms']\\"},\\"return MetricAlarms\\":{\\"Type\\":\\"Pass\\",\\"End\\":true,\\"ResultPath\\":\\"$\\",\\"InputPath\\":\\"$.MetricAlarms\\"}}}", - "RoleArn": Object { - "Fn::GetAtt": Array [ + "Properties": { + "DefinitionString": "{"StartAt":"Initialize Functionless Context","States":{"Initialize Functionless Context":{"Type":"Pass","Parameters":{"fnl_context":{"null":null}},"ResultPath":"$","Next":"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso"},"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso":{"Type":"Task","Resource":"arn:aws:states:::aws-sdk:cloudwatch:describeAlarms","Next":"MetricAlarms","Parameters":{},"ResultPath":"$.heap0"},"MetricAlarms":{"Type":"Pass","Next":"return MetricAlarms","ResultPath":"$.MetricAlarms","InputPath":"$.heap0['MetricAlarms']"},"return MetricAlarms":{"Type":"Pass","End":true,"ResultPath":"$","InputPath":"$.MetricAlarms"}}}", + "RoleArn": { + "Fn::GetAtt": [ "fnRole50A611CF", "Arn", ], @@ -2206,18 +2206,18 @@ Object { }, "Type": "AWS::StepFunctions::StateMachine", }, - "fnRole50A611CF": Object { - "Properties": Object { - "AssumeRolePolicyDocument": Object { - "Statement": Array [ - Object { + "fnRole50A611CF": { + "Properties": { + "AssumeRolePolicyDocument": { + "Statement": [ + { "Action": "sts:AssumeRole", "Effect": "Allow", - "Principal": Object { - "Service": Object { - "Fn::FindInMap": Array [ + "Principal": { + "Service": { + "Fn::FindInMap": [ "ServiceprincipalMap", - Object { + { "Ref": "AWS::Region", }, "states", @@ -2231,15 +2231,15 @@ Object { }, "Type": "AWS::IAM::Role", }, - "fnRoleDefaultPolicy4FB655BE": Object { - "Properties": Object { - "PolicyDocument": Object { - "Statement": Array [ - Object { + "fnRoleDefaultPolicy4FB655BE": { + "Properties": { + "PolicyDocument": { + "Statement": [ + { "Action": "cloudwatch:DescribeAlarms", - "Condition": Object { - "StringEquals": Object { - "aws:ResourceTag/env": Array [ + "Condition": { + "StringEquals": { + "aws:ResourceTag/env": [ "test", ], }, @@ -2251,8 +2251,8 @@ Object { "Version": "2012-10-17", }, "PolicyName": "fnRoleDefaultPolicy4FB655BE", - "Roles": Array [ - Object { + "Roles": [ + { "Ref": "fnRole50A611CF", }, ], @@ -2260,22 +2260,22 @@ Object { "Type": "AWS::IAM::Policy", }, }, - "Rules": Object { - "CheckBootstrapVersion": Object { - "Assertions": Array [ - Object { - "Assert": Object { - "Fn::Not": Array [ - Object { - "Fn::Contains": Array [ - Array [ + "Rules": { + "CheckBootstrapVersion": { + "Assertions": [ + { + "Assert": { + "Fn::Not": [ + { + "Fn::Contains": [ + [ "1", "2", "3", "4", "5", ], - Object { + { "Ref": "BootstrapVersion", }, ], @@ -2291,25 +2291,25 @@ Object { `; exports[`await Promise.all(input.list.map((item) => task(item)))).filter 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return await Promise.all(input.list.map(function (item))).filter(functio": Object { + "States": { + "1__return await Promise.all(input.list.map(function (item))).filter(functio": { "End": true, "InputPath": "$.heap0[?(@!=null)]", "ResultPath": "$", "Type": "Pass", }, - "1__return task(item)": Object { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "handleResult__return await Promise.all(input.list.map(function (item))).fil", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return await Promise.all(input.list.map(function (item))).filter(function (", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -2317,9 +2317,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return await Promise.all(input.list.map(function (item))).filter(fun": Object { - "Choices": Array [ - Object { + "check__return await Promise.all(input.list.map(function (item))).filter(fun": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -2328,46 +2328,46 @@ Object { "Default": "end__return await Promise.all(input.list.map(function (item))).filter(funct", "Type": "Choice", }, - "end__return await Promise.all(input.list.map(function (item))).filter(funct": Object { + "end__return await Promise.all(input.list.map(function (item))).filter(funct": { "Next": "set__end__return await Promise.all(input.list.map(function (item))).filter(", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "handleResult__return await Promise.all(input.list.map(function (item))).fil": Object { + "handleResult__return await Promise.all(input.list.map(function (item))).fil": { "Next": "check__return await Promise.all(input.list.map(function (item))).filter(fun", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "return task(item)", "ResultPath": "$.item", "Type": "Pass", }, - "return await Promise.all(input.list.map(function (item))).filter(function (": Object { + "return await Promise.all(input.list.map(function (item))).filter(function (": { "Next": "check__return await Promise.all(input.list.map(function (item))).filter(fun", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", "arrStr": "[null", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "set__end__return await Promise.all(input.list.map(function (item))).filter(": Object { + "set__end__return await Promise.all(input.list.map(function (item))).filter(": { "InputPath": "$.heap0.result[1:]", "Next": "1__return await Promise.all(input.list.map(function (item))).filter(functio", "ResultPath": "$.heap0", @@ -2378,63 +2378,63 @@ Object { `; exports[`binding catch 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__catch__try": Object { + "States": { + "1__catch__try": { "InputPath": "$.fnl_tmp_0.0_ParsedError", "Next": "catch({ message })", "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch({ message })": Object { + "catch({ message })": { "InputPath": "$.fnl_tmp_0['message']", "Next": "return message", "ResultPath": "$.message", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "Next": "1__catch__try", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_0.Cause)", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "return message": Object { + "return message": { "End": true, "InputPath": "$.message", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", "ResultPath": "$.fnl_tmp_0", }, ], - "Next": "return \\"hello\\"", - "Parameters": Object { + "Next": "return "hello"", + "Parameters": { "id": "id", "name": "name", }, @@ -2447,52 +2447,52 @@ Object { `; exports[`binding for 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return keyvalue": Object { + "States": { + "1__return keyvalue": { "End": true, "InputPath": "$.heap2.string", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "for({ key, value } = {key: \\"x\\", value: \\"y\\"};;)", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "for({ key, value } = {key: "x", value: "y"};;)", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "for({ key, value } = {key: \\"x\\", value: \\"y\\"};;)": Object { + "for({ key, value } = {key: "x", value: "y"};;)": { "Next": "value", "Result": "x", "ResultPath": "$.key", "Type": "Pass", }, - "keyvalue": Object { + "keyvalue": { "Next": "1__return keyvalue", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap0,$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "return keyvalue": Object { + "return keyvalue": { "InputPath": "$.key", "Next": "value 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "value": Object { + "value": { "Next": "return keyvalue", "Result": "y", "ResultPath": "$.value", "Type": "Pass", }, - "value 1": Object { + "value 1": { "InputPath": "$.value", "Next": "keyvalue", "ResultPath": "$.heap1", @@ -2503,13 +2503,13 @@ Object { `; exports[`binding forOf 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -2517,39 +2517,39 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a": Object { + "a": { "InputPath": "$.a", "Next": "keyvaluea", "ResultPath": "$.heap2", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "for({ key, value } of input.value)", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = keyvaluea": Object { + "a = keyvaluea": { "InputPath": "$.key", "Next": "value 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "a = keyvaluea 1": Object { + "a = keyvaluea 1": { "InputPath": "$.heap3.string", "Next": "tail__for({ key, value } of input.value)", "ResultPath": "$.a", "Type": "Pass", }, - "for({ key, value } of input.value)": Object { + "for({ key, value } of input.value)": { "InputPath": "$.input.value", "Next": "hasNext__for({ key, value } of input.value)", "ResultPath": "$.heap4", "Type": "Pass", }, - "hasNext__for({ key, value } of input.value)": Object { - "Choices": Array [ - Object { + "hasNext__for({ key, value } of input.value)": { + "Choices": [ + { "IsPresent": true, "Next": "{ key, value }", "Variable": "$.heap4[0]", @@ -2558,39 +2558,39 @@ Object { "Default": "return a", "Type": "Choice", }, - "keyvaluea": Object { + "keyvaluea": { "Next": "a = keyvaluea 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}',$.heap0,$.heap1,$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", "Type": "Pass", }, - "tail__for({ key, value } of input.value)": Object { + "tail__for({ key, value } of input.value)": { "InputPath": "$.heap4[1:]", "Next": "hasNext__for({ key, value } of input.value)", "ResultPath": "$.heap4", "Type": "Pass", }, - "value": Object { + "value": { "InputPath": "$.heap4[0]['value']", "Next": "a = keyvaluea", "ResultPath": "$.value", "Type": "Pass", }, - "value 1": Object { + "value 1": { "InputPath": "$.value", "Next": "a", "ResultPath": "$.heap1", "Type": "Pass", }, - "{ key, value }": Object { + "{ key, value }": { "InputPath": "$.heap4[0]['key']", "Next": "value", "ResultPath": "$.key", @@ -2601,13 +2601,13 @@ Object { `; exports[`binding forOf weird values 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -2615,69 +2615,69 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a": Object { + "a": { "InputPath": "$.a", "Next": "vala", "ResultPath": "$.heap2", "Type": "Pass", }, - "a 1": Object { + "a 1": { "InputPath": "$.a", "Next": "vala 1", "ResultPath": "$.heap7", "Type": "Pass", }, - "a 2": Object { + "a 2": { "InputPath": "$.a", "Next": "vala 2", "ResultPath": "$.heap11", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "for(val of input.value ?? [1, 2, 3])", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = vala": Object { + "a = vala": { "InputPath": "$.val", "Next": "a", "ResultPath": "$.heap1", "Type": "Pass", }, - "a = vala 1": Object { + "a = vala 1": { "InputPath": "$.heap3.string", "Next": "tail__for(val of input.value ?? [1, 2, 3]) 1", "ResultPath": "$.a", "Type": "Pass", }, - "a = vala 2": Object { + "a = vala 2": { "InputPath": "$.val__1", "Next": "a 1", "ResultPath": "$.heap6", "Type": "Pass", }, - "a = vala 3": Object { + "a = vala 3": { "InputPath": "$.heap8.string", "Next": "tail__for(val of input.value || [1, 2, 3]) 1", "ResultPath": "$.a", "Type": "Pass", }, - "a = vala 4": Object { + "a = vala 4": { "InputPath": "$.val__2", "Next": "a 2", "ResultPath": "$.heap10", "Type": "Pass", }, - "a = vala 5": Object { + "a = vala 5": { "InputPath": "$.heap12.string", - "Next": "tail__for(val of a = \\"b\\" , true && [1, 2, 3]) 1", + "Next": "tail__for(val of a = "b" , true && [1, 2, 3]) 1", "ResultPath": "$.a", "Type": "Pass", }, - "false__for(val of input.value ?? [1, 2, 3])": Object { + "false__for(val of input.value ?? [1, 2, 3])": { "Next": "for(val of input.value ?? [1, 2, 3]) 1", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -2685,9 +2685,9 @@ Object { "ResultPath": "$.heap0", "Type": "Pass", }, - "false__for(val of input.value || [1, 2, 3])": Object { + "false__for(val of input.value || [1, 2, 3])": { "Next": "for(val of input.value || [1, 2, 3]) 1", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -2695,15 +2695,15 @@ Object { "ResultPath": "$.heap5", "Type": "Pass", }, - "for(val of a = \\"b\\" , true && [1, 2, 3])": Object { - "Next": "for(val of a = \\"b\\" , true && [1, 2, 3]) 1", + "for(val of a = "b" , true && [1, 2, 3])": { + "Next": "for(val of a = "b" , true && [1, 2, 3]) 1", "Result": "b", "ResultPath": "$.a", "Type": "Pass", }, - "for(val of a = \\"b\\" , true && [1, 2, 3]) 1": Object { - "Next": "hasNext__for(val of a = \\"b\\" , true && [1, 2, 3]) 1", - "Result": Array [ + "for(val of a = "b" , true && [1, 2, 3]) 1": { + "Next": "hasNext__for(val of a = "b" , true && [1, 2, 3]) 1", + "Result": [ 1, 2, 3, @@ -2711,15 +2711,15 @@ Object { "ResultPath": "$.heap13", "Type": "Pass", }, - "for(val of input.value ?? [1, 2, 3])": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "for(val of input.value ?? [1, 2, 3])": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.value", }, - Object { + { "IsNull": false, "Variable": "$.input.value", }, @@ -2730,21 +2730,21 @@ Object { "Default": "false__for(val of input.value ?? [1, 2, 3])", "Type": "Choice", }, - "for(val of input.value ?? [1, 2, 3]) 1": Object { + "for(val of input.value ?? [1, 2, 3]) 1": { "InputPath": "$.heap0", "Next": "hasNext__for(val of input.value ?? [1, 2, 3]) 1", "ResultPath": "$.heap4", "Type": "Pass", }, - "for(val of input.value || [1, 2, 3]) 1": Object { + "for(val of input.value || [1, 2, 3]) 1": { "InputPath": "$.heap5", "Next": "hasNext__for(val of input.value || [1, 2, 3]) 1", "ResultPath": "$.heap9", "Type": "Pass", }, - "hasNext__for(val of a = \\"b\\" , true && [1, 2, 3]) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(val of a = "b" , true && [1, 2, 3]) 1": { + "Choices": [ + { "IsPresent": true, "Next": "val 2", "Variable": "$.heap13[0]", @@ -2753,43 +2753,43 @@ Object { "Default": "return a", "Type": "Choice", }, - "hasNext__for(val of input.value ?? [1, 2, 3]) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(val of input.value ?? [1, 2, 3]) 1": { + "Choices": [ + { "IsPresent": true, "Next": "val", "Variable": "$.heap4[0]", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.value", }, - Object { + { "IsNull": false, "Variable": "$.input.value", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.value", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.value", }, - Object { + { "StringEquals": "", "Variable": "$.input.value", }, @@ -2798,20 +2798,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.value", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.value", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.value", }, @@ -2820,30 +2820,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.value", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.value", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.value", }, - Object { + { "IsNumeric": true, "Variable": "$.input.value", }, - Object { + { "IsString": true, "Variable": "$.input.value", }, @@ -2859,90 +2859,90 @@ Object { "Default": "false__for(val of input.value || [1, 2, 3])", "Type": "Choice", }, - "hasNext__for(val of input.value || [1, 2, 3]) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(val of input.value || [1, 2, 3]) 1": { + "Choices": [ + { "IsPresent": true, "Next": "val 1", "Variable": "$.heap9[0]", }, ], - "Default": "for(val of a = \\"b\\" , true && [1, 2, 3])", + "Default": "for(val of a = "b" , true && [1, 2, 3])", "Type": "Choice", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", "Type": "Pass", }, - "tail__for(val of a = \\"b\\" , true && [1, 2, 3]) 1": Object { + "tail__for(val of a = "b" , true && [1, 2, 3]) 1": { "InputPath": "$.heap13[1:]", - "Next": "hasNext__for(val of a = \\"b\\" , true && [1, 2, 3]) 1", + "Next": "hasNext__for(val of a = "b" , true && [1, 2, 3]) 1", "ResultPath": "$.heap13", "Type": "Pass", }, - "tail__for(val of input.value ?? [1, 2, 3]) 1": Object { + "tail__for(val of input.value ?? [1, 2, 3]) 1": { "InputPath": "$.heap4[1:]", "Next": "hasNext__for(val of input.value ?? [1, 2, 3]) 1", "ResultPath": "$.heap4", "Type": "Pass", }, - "tail__for(val of input.value || [1, 2, 3]) 1": Object { + "tail__for(val of input.value || [1, 2, 3]) 1": { "InputPath": "$.heap9[1:]", "Next": "hasNext__for(val of input.value || [1, 2, 3]) 1", "ResultPath": "$.heap9", "Type": "Pass", }, - "true__for(val of input.value ?? [1, 2, 3])": Object { + "true__for(val of input.value ?? [1, 2, 3])": { "InputPath": "$.input.value", "Next": "for(val of input.value ?? [1, 2, 3]) 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "true__for(val of input.value || [1, 2, 3])": Object { + "true__for(val of input.value || [1, 2, 3])": { "InputPath": "$.input.value", "Next": "for(val of input.value || [1, 2, 3]) 1", "ResultPath": "$.heap5", "Type": "Pass", }, - "val": Object { + "val": { "InputPath": "$.heap4[0]", "Next": "a = vala", "ResultPath": "$.val", "Type": "Pass", }, - "val 1": Object { + "val 1": { "InputPath": "$.heap9[0]", "Next": "a = vala 2", "ResultPath": "$.val__1", "Type": "Pass", }, - "val 2": Object { + "val 2": { "InputPath": "$.heap13[0]", "Next": "a = vala 4", "ResultPath": "$.val__2", "Type": "Pass", }, - "vala": Object { + "vala": { "Next": "a = vala 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap1,$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "vala 1": Object { + "vala 1": { "Next": "a = vala 3", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap6,$.heap7)", }, "ResultPath": "$.heap8", "Type": "Pass", }, - "vala 2": Object { + "vala 2": { "Next": "a = vala 5", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap10,$.heap11)", }, "ResultPath": "$.heap12", @@ -2953,13 +2953,13 @@ Object { `; exports[`binding functions $SFN.forEach 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "await $SFN.forEach(input.value, function ({ value: b, arr: [ c ] }))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -2967,44 +2967,44 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await $SFN.forEach(input.value, function ({ value: b, arr: [ c ] }))": Object { + "await $SFN.forEach(input.value, function ({ value: b, arr: [ c ] }))": { "ItemsPath": "$.input.value", - "Iterator": Object { + "Iterator": { "StartAt": "function ({ value: b, arr: [ c ] })", - "States": Object { - "1__return bc": Object { + "States": { + "1__return bc": { "End": true, "InputPath": "$.heap2.string", "ResultPath": "$", "Type": "Pass", }, - "bc": Object { + "bc": { "Next": "1__return bc", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap0,$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "c": Object { + "c": { "InputPath": "$$.Map.Item.Value['arr'][0]", "Next": "return bc", "ResultPath": "$.c", "Type": "Pass", }, - "c 1": Object { + "c 1": { "InputPath": "$.c", "Next": "bc", "ResultPath": "$.heap1", "Type": "Pass", }, - "function ({ value: b, arr: [ c ] })": Object { + "function ({ value: b, arr: [ c ] })": { "InputPath": "$$.Map.Item.Value['value']", "Next": "c", "ResultPath": "$.b", "Type": "Pass", }, - "return bc": Object { + "return bc": { "InputPath": "$.b", "Next": "c 1", "ResultPath": "$.heap0", @@ -3012,15 +3012,15 @@ Object { }, }, }, - "Next": "return \\"success\\"", - "Parameters": Object { + "Next": "return "success"", + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", }, "ResultPath": "$.heap3", "Type": "Map", }, - "return \\"success\\"": Object { + "return "success"": { "End": true, "Result": "success", "ResultPath": "$", @@ -3031,23 +3031,23 @@ Object { `; exports[`binding functions $SFN.map 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })).": Object { + "States": { + "1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })).": { "End": true, "InputPath": "$.heap5.string", "ResultPath": "$", "Type": "Pass", }, - "1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })). 1": Object { + "1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })). 1": { "ItemsPath": "$.heap3", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { - "Choices": Array [ - Object { + "States": { + "Default": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 1", "Variable": "$.item", @@ -3056,21 +3056,21 @@ Object { "Default": "format__Default", "Type": "Choice", }, - "assign__Default": Object { + "assign__Default": { "End": true, "InputPath": "$.heap6.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 1": Object { + "assign__Default 1": { "InputPath": "$.item", "Next": "assign__Default", "ResultPath": "$.heap6.str", "Type": "Pass", }, - "format__Default": Object { + "format__Default": { "Next": "assign__Default", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap6", @@ -3079,16 +3079,16 @@ Object { }, }, "Next": "hasNext__1__return await $SFN.map(input.value, function ({ value: b, arr: [", - "Parameters": Object { + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap4", "Type": "Map", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })).joi", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -3096,24 +3096,24 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "append__1__return await $SFN.map(input.value, function ({ value: b, arr: [ ": Object { + "append__1__return await $SFN.map(input.value, function ({ value: b, arr: [ ": { "Next": "tail__1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{},{}', $.heap5.string, $.heap4[0])", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "hasNext__1__return await $SFN.map(input.value, function ({ value: b, arr: [": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__1__return await $SFN.map(input.value, function ({ value: b, arr: [": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap4[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap5", }, @@ -3121,20 +3121,20 @@ Object { ], "Next": "initValue__1__return await $SFN.map(input.value, function ({ value: b, arr:", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap4[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap5", }, ], "Next": "returnEmpty__1__return await $SFN.map(input.value, function ({ value: b, ar", }, - Object { + { "IsPresent": true, "Next": "append__1__return await $SFN.map(input.value, function ({ value: b, arr: [ ", "Variable": "$.heap4[0]", @@ -3143,50 +3143,50 @@ Object { "Default": "1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })).", "Type": "Choice", }, - "initValue__1__return await $SFN.map(input.value, function ({ value: b, arr:": Object { + "initValue__1__return await $SFN.map(input.value, function ({ value: b, arr:": { "InputPath": "$.heap4[0]", "Next": "tail__1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ", "ResultPath": "$.heap5.string", "Type": "Pass", }, - "return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })).joi": Object { + "return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })).joi": { "ItemsPath": "$.input.value", - "Iterator": Object { + "Iterator": { "StartAt": "function ({ value: b, arr: [ c ] })", - "States": Object { - "1__return bc": Object { + "States": { + "1__return bc": { "End": true, "InputPath": "$.heap2.string", "ResultPath": "$", "Type": "Pass", }, - "bc": Object { + "bc": { "Next": "1__return bc", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap0,$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "c": Object { + "c": { "InputPath": "$$.Map.Item.Value['arr'][0]", "Next": "return bc", "ResultPath": "$.c", "Type": "Pass", }, - "c 1": Object { + "c 1": { "InputPath": "$.c", "Next": "bc", "ResultPath": "$.heap1", "Type": "Pass", }, - "function ({ value: b, arr: [ c ] })": Object { + "function ({ value: b, arr: [ c ] })": { "InputPath": "$$.Map.Item.Value['value']", "Next": "c", "ResultPath": "$.b", "Type": "Pass", }, - "return bc": Object { + "return bc": { "InputPath": "$.b", "Next": "c 1", "ResultPath": "$.heap0", @@ -3195,20 +3195,20 @@ Object { }, }, "Next": "1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })). 1", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", }, "ResultPath": "$.heap3", "Type": "Map", }, - "returnEmpty__1__return await $SFN.map(input.value, function ({ value: b, ar": Object { + "returnEmpty__1__return await $SFN.map(input.value, function ({ value: b, ar": { "Next": "1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ] })).", "Result": "", "ResultPath": "$.heap5.string", "Type": "Pass", }, - "tail__1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ": Object { + "tail__1__return await $SFN.map(input.value, function ({ value: b, arr: [ c ": { "InputPath": "$.heap4[1:]", "Next": "hasNext__1__return await $SFN.map(input.value, function ({ value: b, arr: [", "ResultPath": "$.heap4", @@ -3219,13 +3219,13 @@ Object { `; exports[`binding functions filter 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.value.filter(function ({ value: b, arr: [ c ] }))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -3233,7 +3233,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.value.filter(function ({ value: b, arr: [ c ] }))": Object { + "return input.value.filter(function ({ value: b, arr: [ c ] }))": { "End": true, "InputPath": "$.input.value[?(@['value']==@['arr'][0])]", "ResultPath": "$", @@ -3244,19 +3244,19 @@ Object { `; exports[`binding functions forEach 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return bc": Object { + "States": { + "1__return bc": { "InputPath": "$.heap3.string", "Next": "tail__input.value.forEach(function ({ value: b, arr: [ c ] }))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "input.value.forEach(function ({ value: b, arr: [ c ] }))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -3264,29 +3264,29 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "bc": Object { + "bc": { "Next": "1__return bc", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap1,$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "c": Object { + "c": { "InputPath": "$.heap0.arr[0]['arr'][0]", "Next": "return bc", "ResultPath": "$.c", "Type": "Pass", }, - "c 1": Object { + "c 1": { "InputPath": "$.c", "Next": "bc", "ResultPath": "$.heap2", "Type": "Pass", }, - "check__input.value.forEach(function ({ value: b, arr: [ c ] }))": Object { - "Choices": Array [ - Object { + "check__input.value.forEach(function ({ value: b, arr: [ c ] }))": { + "Choices": [ + { "IsPresent": true, "Next": "{ value: b, arr: [ c ] }", "Variable": "$.heap0.arr[0]", @@ -3295,39 +3295,39 @@ Object { "Default": "end__input.value.forEach(function ({ value: b, arr: [ c ] }))", "Type": "Choice", }, - "end__input.value.forEach(function ({ value: b, arr: [ c ] }))": Object { - "Next": "return \\"success\\"", + "end__input.value.forEach(function ({ value: b, arr: [ c ] }))": { + "Next": "return "success"", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "input.value.forEach(function ({ value: b, arr: [ c ] }))": Object { + "input.value.forEach(function ({ value: b, arr: [ c ] }))": { "Next": "check__input.value.forEach(function ({ value: b, arr: [ c ] }))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.value", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "return \\"success\\"": Object { + "return "success"": { "End": true, "Result": "success", "ResultPath": "$", "Type": "Pass", }, - "return bc": Object { + "return bc": { "InputPath": "$.b", "Next": "c 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "tail__input.value.forEach(function ({ value: b, arr: [ c ] }))": Object { + "tail__input.value.forEach(function ({ value: b, arr: [ c ] }))": { "InputPath": "$.heap0.arr[1:]", "Next": "check__input.value.forEach(function ({ value: b, arr: [ c ] }))", "ResultPath": "$.heap0.arr", "Type": "Pass", }, - "{ value: b, arr: [ c ] }": Object { + "{ value: b, arr: [ c ] }": { "InputPath": "$.heap0.arr[0]['value']", "Next": "c", "ResultPath": "$.b", @@ -3338,29 +3338,29 @@ Object { `; exports[`binding functions map 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return bc": Object { + "States": { + "1__return bc": { "InputPath": "$.heap3.string", "Next": "handleResult__return input.value.map(function ({ value: b, arr: [ c ] })).j", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "1__return input.value.map(function ({ value: b, arr: [ c ] })).join()": Object { + "1__return input.value.map(function ({ value: b, arr: [ c ] })).join()": { "End": true, "InputPath": "$.heap5.string", "ResultPath": "$", "Type": "Pass", }, - "1__return input.value.map(function ({ value: b, arr: [ c ] })).join() 1": Object { + "1__return input.value.map(function ({ value: b, arr: [ c ] })).join() 1": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { - "Choices": Array [ - Object { + "States": { + "Default": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 1", "Variable": "$.item", @@ -3369,21 +3369,21 @@ Object { "Default": "format__Default", "Type": "Choice", }, - "assign__Default": Object { + "assign__Default": { "End": true, "InputPath": "$.heap6.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 1": Object { + "assign__Default 1": { "InputPath": "$.item", "Next": "assign__Default", "ResultPath": "$.heap6.str", "Type": "Pass", }, - "format__Default": Object { + "format__Default": { "Next": "assign__Default", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap6", @@ -3392,16 +3392,16 @@ Object { }, }, "Next": "hasNext__1__return input.value.map(function ({ value: b, arr: [ c ] })).joi", - "Parameters": Object { + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap4", "Type": "Map", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return input.value.map(function ({ value: b, arr: [ c ] })).join()", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -3409,37 +3409,37 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "append__1__return input.value.map(function ({ value: b, arr: [ c ] })).join": Object { + "append__1__return input.value.map(function ({ value: b, arr: [ c ] })).join": { "Next": "tail__1__return input.value.map(function ({ value: b, arr: [ c ] })).join()", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{},{}', $.heap5.string, $.heap4[0])", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "bc": Object { + "bc": { "Next": "1__return bc", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap1,$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "c": Object { + "c": { "InputPath": "$.heap0.arr[0]['arr'][0]", "Next": "return bc", "ResultPath": "$.c", "Type": "Pass", }, - "c 1": Object { + "c 1": { "InputPath": "$.c", "Next": "bc", "ResultPath": "$.heap2", "Type": "Pass", }, - "check__return input.value.map(function ({ value: b, arr: [ c ] })).join()": Object { - "Choices": Array [ - Object { + "check__return input.value.map(function ({ value: b, arr: [ c ] })).join()": { + "Choices": [ + { "IsPresent": true, "Next": "{ value: b, arr: [ c ] }", "Variable": "$.heap0.arr[0]", @@ -3448,33 +3448,33 @@ Object { "Default": "end__return input.value.map(function ({ value: b, arr: [ c ] })).join()", "Type": "Choice", }, - "end__return input.value.map(function ({ value: b, arr: [ c ] })).join()": Object { + "end__return input.value.map(function ({ value: b, arr: [ c ] })).join()": { "Next": "set__end__return input.value.map(function ({ value: b, arr: [ c ] })).join(", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "handleResult__return input.value.map(function ({ value: b, arr: [ c ] })).j": Object { + "handleResult__return input.value.map(function ({ value: b, arr: [ c ] })).j": { "Next": "check__return input.value.map(function ({ value: b, arr: [ c ] })).join()", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__1__return input.value.map(function ({ value: b, arr: [ c ] })).joi": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__1__return input.value.map(function ({ value: b, arr: [ c ] })).joi": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap4[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap5", }, @@ -3482,20 +3482,20 @@ Object { ], "Next": "initValue__1__return input.value.map(function ({ value: b, arr: [ c ] })).j", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap4[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap5", }, ], "Next": "returnEmpty__1__return input.value.map(function ({ value: b, arr: [ c ] }))", }, - Object { + { "IsPresent": true, "Next": "append__1__return input.value.map(function ({ value: b, arr: [ c ] })).join", "Variable": "$.heap4[0]", @@ -3504,46 +3504,46 @@ Object { "Default": "1__return input.value.map(function ({ value: b, arr: [ c ] })).join()", "Type": "Choice", }, - "initValue__1__return input.value.map(function ({ value: b, arr: [ c ] })).j": Object { + "initValue__1__return input.value.map(function ({ value: b, arr: [ c ] })).j": { "InputPath": "$.heap4[0]", "Next": "tail__1__return input.value.map(function ({ value: b, arr: [ c ] })).join()", "ResultPath": "$.heap5.string", "Type": "Pass", }, - "return bc": Object { + "return bc": { "InputPath": "$.b", "Next": "c 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "return input.value.map(function ({ value: b, arr: [ c ] })).join()": Object { + "return input.value.map(function ({ value: b, arr: [ c ] })).join()": { "Next": "check__return input.value.map(function ({ value: b, arr: [ c ] })).join()", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.value", "arrStr": "[null", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "returnEmpty__1__return input.value.map(function ({ value: b, arr: [ c ] }))": Object { + "returnEmpty__1__return input.value.map(function ({ value: b, arr: [ c ] }))": { "Next": "1__return input.value.map(function ({ value: b, arr: [ c ] })).join()", "Result": "", "ResultPath": "$.heap5.string", "Type": "Pass", }, - "set__end__return input.value.map(function ({ value: b, arr: [ c ] })).join(": Object { + "set__end__return input.value.map(function ({ value: b, arr: [ c ] })).join(": { "InputPath": "$.heap0.result[1:]", "Next": "1__return input.value.map(function ({ value: b, arr: [ c ] })).join() 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "tail__1__return input.value.map(function ({ value: b, arr: [ c ] })).join()": Object { + "tail__1__return input.value.map(function ({ value: b, arr: [ c ] })).join()": { "InputPath": "$.heap4[1:]", "Next": "hasNext__1__return input.value.map(function ({ value: b, arr: [ c ] })).joi", "ResultPath": "$.heap4", "Type": "Pass", }, - "{ value: b, arr: [ c ] }": Object { + "{ value: b, arr: [ c ] }": { "InputPath": "$.heap0.arr[0]['value']", "Next": "c", "ResultPath": "$.b", @@ -3554,23 +3554,23 @@ Object { `; exports[`binding functions use in map 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return [1, 2, 3].map(function ()).join()": Object { + "States": { + "1__return [1, 2, 3].map(function ()).join()": { "End": true, "InputPath": "$.heap6.string", "ResultPath": "$", "Type": "Pass", }, - "1__return [1, 2, 3].map(function ()).join() 1": Object { + "1__return [1, 2, 3].map(function ()).join() 1": { "ItemsPath": "$.heap1", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { - "Choices": Array [ - Object { + "States": { + "Default": { + "Choices": [ + { "IsString": true, "Next": "assign__Default 1", "Variable": "$.item", @@ -3579,21 +3579,21 @@ Object { "Default": "format__Default", "Type": "Choice", }, - "assign__Default": Object { + "assign__Default": { "End": true, "InputPath": "$.heap7.str", "ResultPath": "$", "Type": "Pass", }, - "assign__Default 1": Object { + "assign__Default 1": { "InputPath": "$.item", "Next": "assign__Default", "ResultPath": "$.heap7.str", "Type": "Pass", }, - "format__Default": Object { + "format__Default": { "Next": "assign__Default", - "Parameters": Object { + "Parameters": { "str.$": "States.JsonToString($.item)", }, "ResultPath": "$.heap7", @@ -3602,48 +3602,48 @@ Object { }, }, "Next": "hasNext__1__return [1, 2, 3].map(function ()).join() 1", - "Parameters": Object { + "Parameters": { "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap5", "Type": "Map", }, - "1__return [1, 2, 3].map(function ()).join() 2": Object { + "1__return [1, 2, 3].map(function ()).join() 2": { "Next": "check__1__return [1, 2, 3].map(function ()).join() 2", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0", "arrStr": "[null", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "1__return valuev": Object { + "1__return valuev": { "InputPath": "$.heap4.string", "Next": "handleResult__1__return [1, 2, 3].map(function ()).join() 2", "ResultPath": "$.heap1.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "{ value, obj }", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "append__1__return [1, 2, 3].map(function ()).join() 1": Object { + "append__1__return [1, 2, 3].map(function ()).join() 1": { "Next": "tail__1__return [1, 2, 3].map(function ()).join() 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{},{}', $.heap6.string, $.heap5[0])", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "check__1__return [1, 2, 3].map(function ()).join() 2": Object { - "Choices": Array [ - Object { + "check__1__return [1, 2, 3].map(function ()).join() 2": { + "Choices": [ + { "IsPresent": true, "Next": "return valuev", "Variable": "$.heap1.arr[0]", @@ -3652,33 +3652,33 @@ Object { "Default": "end__1__return [1, 2, 3].map(function ()).join() 2", "Type": "Choice", }, - "end__1__return [1, 2, 3].map(function ()).join() 2": Object { + "end__1__return [1, 2, 3].map(function ()).join() 2": { "Next": "set__end__1__return [1, 2, 3].map(function ()).join() 2", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "handleResult__1__return [1, 2, 3].map(function ()).join() 2": Object { + "handleResult__1__return [1, 2, 3].map(function ()).join() 2": { "Next": "check__1__return [1, 2, 3].map(function ()).join() 2", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0]))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "hasNext__1__return [1, 2, 3].map(function ()).join() 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "hasNext__1__return [1, 2, 3].map(function ()).join() 1": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap5[0]", }, - Object { - "Not": Object { + { + "Not": { "IsPresent": true, "Variable": "$.heap6", }, @@ -3686,20 +3686,20 @@ Object { ], "Next": "initValue__1__return [1, 2, 3].map(function ()).join() 1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": false, "Variable": "$.heap5[0]", }, - Object { + { "IsPresent": false, "Variable": "$.heap6", }, ], "Next": "returnEmpty__1__return [1, 2, 3].map(function ()).join() 1", }, - Object { + { "IsPresent": true, "Next": "append__1__return [1, 2, 3].map(function ()).join() 1", "Variable": "$.heap5[0]", @@ -3708,21 +3708,21 @@ Object { "Default": "1__return [1, 2, 3].map(function ()).join()", "Type": "Choice", }, - "initValue__1__return [1, 2, 3].map(function ()).join() 1": Object { + "initValue__1__return [1, 2, 3].map(function ()).join() 1": { "InputPath": "$.heap5[0]", "Next": "tail__1__return [1, 2, 3].map(function ()).join() 1", "ResultPath": "$.heap6.string", "Type": "Pass", }, - "obj": Object { + "obj": { "InputPath": "$$.Execution.Input['obj']", "Next": "{ value: v } = obj", "ResultPath": "$.obj", "Type": "Pass", }, - "return [1, 2, 3].map(function ()).join()": Object { + "return [1, 2, 3].map(function ()).join()": { "Next": "1__return [1, 2, 3].map(function ()).join() 2", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -3730,51 +3730,51 @@ Object { "ResultPath": "$.heap0", "Type": "Pass", }, - "return valuev": Object { + "return valuev": { "InputPath": "$.value", "Next": "v", "ResultPath": "$.heap2", "Type": "Pass", }, - "returnEmpty__1__return [1, 2, 3].map(function ()).join() 1": Object { + "returnEmpty__1__return [1, 2, 3].map(function ()).join() 1": { "Next": "1__return [1, 2, 3].map(function ()).join()", "Result": "", "ResultPath": "$.heap6.string", "Type": "Pass", }, - "set__end__1__return [1, 2, 3].map(function ()).join() 2": Object { + "set__end__1__return [1, 2, 3].map(function ()).join() 2": { "InputPath": "$.heap1.result[1:]", "Next": "1__return [1, 2, 3].map(function ()).join() 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "tail__1__return [1, 2, 3].map(function ()).join() 1": Object { + "tail__1__return [1, 2, 3].map(function ()).join() 1": { "InputPath": "$.heap5[1:]", "Next": "hasNext__1__return [1, 2, 3].map(function ()).join() 1", "ResultPath": "$.heap5", "Type": "Pass", }, - "v": Object { + "v": { "InputPath": "$.v", "Next": "valuev", "ResultPath": "$.heap3", "Type": "Pass", }, - "valuev": Object { + "valuev": { "Next": "1__return valuev", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap2,$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "{ value, obj }": Object { + "{ value, obj }": { "InputPath": "$$.Execution.Input['value']", "Next": "obj", "ResultPath": "$.value", "Type": "Pass", }, - "{ value: v } = obj": Object { + "{ value: v } = obj": { "InputPath": "$.obj['value']", "Next": "return [1, 2, 3].map(function ()).join()", "ResultPath": "$.v", @@ -3785,26 +3785,26 @@ Object { `; exports[`binding prop array 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "b", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "b": Object { + "b": { "InputPath": "$$.Execution.Input['arr'][0]", "Next": "return b", "ResultPath": "$.b", "Type": "Pass", }, - "return b": Object { + "return b": { "End": true, "InputPath": "$.b", "ResultPath": "$", @@ -3815,26 +3815,26 @@ Object { `; exports[`binding prop array rest 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "b", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "b": Object { + "b": { "InputPath": "$$.Execution.Input['arr'][1:]", "Next": "return b", "ResultPath": "$.b", "Type": "Pass", }, - "return b": Object { + "return b": { "End": true, "InputPath": "$.b", "ResultPath": "$", @@ -3845,26 +3845,26 @@ Object { `; exports[`binding prop binding 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "value", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return value": Object { + "return value": { "End": true, "InputPath": "$.value", "ResultPath": "$", "Type": "Pass", }, - "value": Object { + "value": { "InputPath": "$$.Execution.Input['value']", "Next": "return value", "ResultPath": "$.value", @@ -3875,26 +3875,26 @@ Object { `; exports[`binding prop nested 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "b", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "b": Object { + "b": { "InputPath": "$$.Execution.Input['value']['b']", "Next": "return b", "ResultPath": "$.b", "Type": "Pass", }, - "return b": Object { + "return b": { "End": true, "InputPath": "$.b", "ResultPath": "$", @@ -3905,26 +3905,26 @@ Object { `; exports[`binding prop rename 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "b", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "b": Object { + "b": { "InputPath": "$$.Execution.Input['value']", "Next": "return b", "ResultPath": "$.b", "Type": "Pass", }, - "return b": Object { + "return b": { "End": true, "InputPath": "$.b", "ResultPath": "$", @@ -3935,49 +3935,49 @@ Object { `; exports[`binding prop with default 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "value = \\"b\\"", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "value = "b"", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "default__value = \\"b\\"": Object { + "default__value = "b"": { "Next": "value", "Result": "b", "ResultPath": "$.heap0", "Type": "Pass", }, - "return value": Object { + "return value": { "End": true, "InputPath": "$.value", "ResultPath": "$", "Type": "Pass", }, - "value": Object { + "value": { "InputPath": "$.heap0", "Next": "return value", "ResultPath": "$.value", "Type": "Pass", }, - "value = \\"b\\"": Object { - "Choices": Array [ - Object { + "value = "b"": { + "Choices": [ + { "IsPresent": true, - "Next": "value__value = \\"b\\"", + "Next": "value__value = "b"", "Variable": "$$.Execution.Input['value']", }, ], - "Default": "default__value = \\"b\\"", + "Default": "default__value = "b"", "Type": "Choice", }, - "value__value = \\"b\\"": Object { + "value__value = "b"": { "InputPath": "$$.Execution.Input['value']", "Next": "value", "ResultPath": "$.heap0", @@ -3988,40 +3988,40 @@ Object { `; exports[`binding prop with self default 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "{ value, value2 = value }", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "default__value2 = value": Object { + "default__value2 = value": { "InputPath": "$.value", "Next": "value2", "ResultPath": "$.heap0", "Type": "Pass", }, - "return value2": Object { + "return value2": { "End": true, "InputPath": "$.value2", "ResultPath": "$", "Type": "Pass", }, - "value2": Object { + "value2": { "InputPath": "$.heap0", "Next": "return value2", "ResultPath": "$.value2", "Type": "Pass", }, - "value2 = value": Object { - "Choices": Array [ - Object { + "value2 = value": { + "Choices": [ + { "IsPresent": true, "Next": "value__value2 = value", "Variable": "$$.Execution.Input['value2']", @@ -4030,13 +4030,13 @@ Object { "Default": "default__value2 = value", "Type": "Choice", }, - "value__value2 = value": Object { + "value__value2 = value": { "InputPath": "$$.Execution.Input['value2']", "Next": "value2", "ResultPath": "$.heap0", "Type": "Pass", }, - "{ value, value2 = value }": Object { + "{ value, value2 = value }": { "InputPath": "$$.Execution.Input['value']", "Next": "value2 = value", "ResultPath": "$.value", @@ -4047,13 +4047,13 @@ Object { `; exports[`binding variable array 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "{ arr: [ b ] } = input", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -4061,13 +4061,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return b": Object { + "return b": { "End": true, "InputPath": "$.b", "ResultPath": "$", "Type": "Pass", }, - "{ arr: [ b ] } = input": Object { + "{ arr: [ b ] } = input": { "InputPath": "$.input['arr'][0]", "Next": "return b", "ResultPath": "$.b", @@ -4078,13 +4078,13 @@ Object { `; exports[`binding variable binding 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "{ value } = input", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -4092,13 +4092,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return value": Object { + "return value": { "End": true, "InputPath": "$.value", "ResultPath": "$", "Type": "Pass", }, - "{ value } = input": Object { + "{ value } = input": { "InputPath": "$.input['value']", "Next": "return value", "ResultPath": "$.value", @@ -4109,13 +4109,13 @@ Object { `; exports[`binding variable nested 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "{ value: { b } } = input", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -4123,13 +4123,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return b": Object { + "return b": { "End": true, "InputPath": "$.b", "ResultPath": "$", "Type": "Pass", }, - "{ value: { b } } = input": Object { + "{ value: { b } } = input": { "InputPath": "$.input['value']['b']", "Next": "return b", "ResultPath": "$.b", @@ -4140,13 +4140,13 @@ Object { `; exports[`binding variable rename 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "{ value: b } = input", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -4154,13 +4154,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return b": Object { + "return b": { "End": true, "InputPath": "$.b", "ResultPath": "$", "Type": "Pass", }, - "{ value: b } = input": Object { + "{ value: b } = input": { "InputPath": "$.input['value']", "Next": "return b", "ResultPath": "$.b", @@ -4171,13 +4171,13 @@ Object { `; exports[`binding variable with default 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "{ value = \\"b\\" } = input", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "{ value = "b" } = input", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -4185,39 +4185,39 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "default__{ value = \\"b\\" } = input": Object { + "default__{ value = "b" } = input": { "Next": "value", "Result": "b", "ResultPath": "$.heap0", "Type": "Pass", }, - "return value": Object { + "return value": { "End": true, "InputPath": "$.value", "ResultPath": "$", "Type": "Pass", }, - "value": Object { + "value": { "InputPath": "$.heap0", "Next": "return value", "ResultPath": "$.value", "Type": "Pass", }, - "value__{ value = \\"b\\" } = input": Object { + "value__{ value = "b" } = input": { "InputPath": "$.input['value']", "Next": "value", "ResultPath": "$.heap0", "Type": "Pass", }, - "{ value = \\"b\\" } = input": Object { - "Choices": Array [ - Object { + "{ value = "b" } = input": { + "Choices": [ + { "IsPresent": true, - "Next": "value__{ value = \\"b\\" } = input", + "Next": "value__{ value = "b" } = input", "Variable": "$.input['value']", }, ], - "Default": "default__{ value = \\"b\\" } = input", + "Default": "default__{ value = "b" } = input", "Type": "Choice", }, }, @@ -4225,43 +4225,43 @@ Object { `; exports[`boolean logic 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "!input.a && input.b": Object { - "Choices": Array [ - Object { + "States": { + "!input.a && input.b": { + "Choices": [ + { "Next": "true__!input.a && input.b", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap12", }, - Object { + { "IsNull": false, "Variable": "$.heap12", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap12", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap12", }, - Object { + { "StringEquals": "", "Variable": "$.heap12", }, @@ -4270,20 +4270,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap12", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap12", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap12", }, @@ -4292,30 +4292,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap12", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap12", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap12", }, - Object { + { "IsNumeric": true, "Variable": "$.heap12", }, - Object { + { "IsString": true, "Variable": "$.heap12", }, @@ -4331,40 +4331,40 @@ Object { "Default": "false__!input.a && input.b", "Type": "Choice", }, - "!input.a || input.b": Object { - "Choices": Array [ - Object { + "!input.a || input.b": { + "Choices": [ + { "Next": "true__!input.a || input.b", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap15", }, - Object { + { "IsNull": false, "Variable": "$.heap15", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap15", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap15", }, - Object { + { "StringEquals": "", "Variable": "$.heap15", }, @@ -4373,20 +4373,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap15", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap15", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap15", }, @@ -4395,30 +4395,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap15", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap15", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap15", }, - Object { + { "IsNumeric": true, "Variable": "$.heap15", }, - Object { + { "IsString": true, "Variable": "$.heap15", }, @@ -4434,40 +4434,40 @@ Object { "Default": "false__!input.a || input.b", "Type": "Choice", }, - "!input.a || input.b && input.a": Object { - "Choices": Array [ - Object { + "!input.a || input.b && input.a": { + "Choices": [ + { "Next": "true__!input.a || input.b && input.a", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap19", }, - Object { + { "IsNull": false, "Variable": "$.heap19", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap19", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap19", }, - Object { + { "StringEquals": "", "Variable": "$.heap19", }, @@ -4476,20 +4476,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap19", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap19", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap19", }, @@ -4498,30 +4498,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap19", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap19", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap19", }, - Object { + { "IsNumeric": true, "Variable": "$.heap19", }, - Object { + { "IsString": true, "Variable": "$.heap19", }, @@ -4537,11 +4537,11 @@ Object { "Default": "false__!input.a || input.b && input.a", "Type": "Choice", }, - "!true": Object { - "Choices": Array [ - Object { + "!true": { + "Choices": [ + { "Next": "true__!true", - "Not": Object { + "Not": { "IsNull": false, "Variable": "$$.Execution.Id", }, @@ -4550,45 +4550,45 @@ Object { "Default": "false__!true", "Type": "Choice", }, - "11__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": Object { + "11__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": { "InputPath": "$.heap10", "Next": "input.a && input.b", "ResultPath": "$.heap11", "Type": "Pass", }, - "13__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": Object { + "13__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": { "InputPath": "$.heap13", "Next": "input.a || input.b 1", "ResultPath": "$.heap14", "Type": "Pass", }, - "15__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": Object { + "15__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": { "InputPath": "$.heap16", "Next": "input.a || input.b && input.a", "ResultPath": "$.heap17", "Type": "Pass", }, - "17__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": Object { + "17__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": { "InputPath": "$.heap20", "Next": "18__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "ResultPath": "$.heap21", "Type": "Pass", }, - "18__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": Object { + "18__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": { "InputPath": "$.input.s", "Next": "input.a && input.s", "ResultPath": "$.heap22", "Type": "Pass", }, - "1__input.b && input.a": Object { + "1__input.b && input.a": { "InputPath": "$.heap18", "Next": "!input.a || input.b && input.a", "ResultPath": "$.heap19", "Type": "Pass", }, - "1__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": Object { + "1__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": { "End": true, - "Parameters": Object { + "Parameters": { "and.$": "$.heap1", "andAllConstant": false, "andCondition.$": "$.heap5", @@ -4610,58 +4610,58 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {and: input.a && input.b, or: input.a || input.b, andCondition: i 1": Object { + "1__return {and: input.a && input.b, or: input.a || input.b, andCondition: i 1": { "InputPath": "$.heap0", "Next": "input.a || input.b", "ResultPath": "$.heap1", "Type": "Pass", }, - "20__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": Object { + "20__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": { "InputPath": "$.heap23", "Next": "21__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "ResultPath": "$.heap24", "Type": "Pass", }, - "21__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": Object { + "21__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": { "InputPath": "$.input.s", "Next": "input.b || input.s", "ResultPath": "$.heap25", "Type": "Pass", }, - "23__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": Object { + "23__return {and: input.a && input.b, or: input.a || input.b, andCondition: ": { "InputPath": "$.heap26", "Next": "1__return {and: input.a && input.b, or: input.a || input.b, andCondition: i", "ResultPath": "$.heap27", "Type": "Pass", }, - "3__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": Object { + "3__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": { "InputPath": "$.heap2", - "Next": "input.a === input.b && input.s === \\"hello\\"", + "Next": "input.a === input.b && input.s === "hello"", "ResultPath": "$.heap3", "Type": "Pass", }, - "5__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": Object { + "5__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": { "InputPath": "$.heap4", - "Next": "input.a === input.b || input.s === \\"hello\\"", + "Next": "input.a === input.b || input.s === "hello"", "ResultPath": "$.heap5", "Type": "Pass", }, - "7__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": Object { + "7__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": { "InputPath": "$.heap6", - "Next": "input.a === input.b ?? input.s === \\"hello\\"", + "Next": "input.a === input.b ?? input.s === "hello"", "ResultPath": "$.heap7", "Type": "Pass", }, - "9__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": Object { + "9__return {and: input.a && input.b, or: input.a || input.b, andCondition: i": { "InputPath": "$.heap8", "Next": "!true", "ResultPath": "$.heap9", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return {and: input.a && input.b, or: input.a || input.b, andCondition: inpu", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -4669,124 +4669,124 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__!input.a && input.b": Object { + "false__!input.a && input.b": { "Next": "13__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "Result": false, "ResultPath": "$.heap13", "Type": "Pass", }, - "false__!input.a || input.b": Object { + "false__!input.a || input.b": { "Next": "15__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "Result": false, "ResultPath": "$.heap16", "Type": "Pass", }, - "false__!input.a || input.b && input.a": Object { + "false__!input.a || input.b && input.a": { "Next": "17__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "Result": false, "ResultPath": "$.heap20", "Type": "Pass", }, - "false__!true": Object { + "false__!true": { "Next": "11__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "Result": false, "ResultPath": "$.heap10", "Type": "Pass", }, - "false__input.a && input.b": Object { + "false__input.a && input.b": { "InputPath": "$.input.b", "Next": "!input.a && input.b", "ResultPath": "$.heap12", "Type": "Pass", }, - "false__input.a && input.s": Object { + "false__input.a && input.s": { "InputPath": "$.input.s", "Next": "20__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "ResultPath": "$.heap23", "Type": "Pass", }, - "false__input.a === input.b && input.s === \\"hello\\"": Object { + "false__input.a === input.b && input.s === "hello"": { "Next": "5__return {and: input.a && input.b, or: input.a || input.b, andCondition: i", "Result": false, "ResultPath": "$.heap4", "Type": "Pass", }, - "false__input.a === input.b ?? input.s === \\"hello\\"": Object { + "false__input.a === input.b ?? input.s === "hello"": { "Next": "9__return {and: input.a && input.b, or: input.a || input.b, andCondition: i", "Result": false, "ResultPath": "$.heap8", "Type": "Pass", }, - "false__input.a === input.b || input.s === \\"hello\\"": Object { + "false__input.a === input.b || input.s === "hello"": { "Next": "7__return {and: input.a && input.b, or: input.a || input.b, andCondition: i", "Result": false, "ResultPath": "$.heap6", "Type": "Pass", }, - "false__input.a || input.b": Object { + "false__input.a || input.b": { "InputPath": "$.input.b", "Next": "3__return {and: input.a && input.b, or: input.a || input.b, andCondition: i", "ResultPath": "$.heap2", "Type": "Pass", }, - "false__input.a || input.b 1": Object { + "false__input.a || input.b 1": { "InputPath": "$.input.b", "Next": "!input.a || input.b", "ResultPath": "$.heap15", "Type": "Pass", }, - "false__input.b && input.a": Object { + "false__input.b && input.a": { "InputPath": "$.input.a", "Next": "1__input.b && input.a", "ResultPath": "$.heap18", "Type": "Pass", }, - "false__input.b || input.s": Object { + "false__input.b || input.s": { "InputPath": "$.input.s", "Next": "23__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "ResultPath": "$.heap26", "Type": "Pass", }, - "false__return {and: input.a && input.b, or: input.a || input.b, andConditio": Object { + "false__return {and: input.a && input.b, or: input.a || input.b, andConditio": { "InputPath": "$.input.b", "Next": "1__return {and: input.a && input.b, or: input.a || input.b, andCondition: i 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "input.a && input.b": Object { - "Choices": Array [ - Object { + "input.a && input.b": { + "Choices": [ + { "Next": "true__input.a && input.b", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -4795,20 +4795,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -4817,30 +4817,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -4856,40 +4856,40 @@ Object { "Default": "false__input.a && input.b", "Type": "Choice", }, - "input.a && input.s": Object { - "Choices": Array [ - Object { + "input.a && input.s": { + "Choices": [ + { "Next": "true__input.a && input.s", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -4898,20 +4898,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -4920,30 +4920,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -4959,91 +4959,91 @@ Object { "Default": "false__input.a && input.s", "Type": "Choice", }, - "input.a === input.b && input.s === \\"hello\\"": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "input.a === input.b && input.s === "hello"": { + "Choices": [ + { + "And": [ + { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.a", }, - Object { + { "IsPresent": false, "Variable": "$.input.b", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsPresent": true, "Variable": "$.input.b", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.a", }, - Object { + { "IsNull": true, "Variable": "$.input.b", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.b", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEqualsPath": "$.input.b", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEqualsPath": "$.input.b", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEqualsPath": "$.input.b", "Variable": "$.input.a", }, @@ -5059,25 +5059,25 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.s", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.s", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.s", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.s", }, @@ -5088,96 +5088,96 @@ Object { ], }, ], - "Next": "true__input.a === input.b && input.s === \\"hello\\"", + "Next": "true__input.a === input.b && input.s === "hello"", }, ], - "Default": "false__input.a === input.b && input.s === \\"hello\\"", + "Default": "false__input.a === input.b && input.s === "hello"", "Type": "Choice", }, - "input.a === input.b ?? input.s === \\"hello\\"": Object { - "Choices": Array [ - Object { - "Next": "true__input.a === input.b ?? input.s === \\"hello\\"", - "Or": Array [ - Object { - "And": Array [ - Object { + "input.a === input.b ?? input.s === "hello"": { + "Choices": [ + { + "Next": "true__input.a === input.b ?? input.s === "hello"", + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.a", }, - Object { + { "IsPresent": false, "Variable": "$.input.b", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsPresent": true, "Variable": "$.input.b", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.a", }, - Object { + { "IsNull": true, "Variable": "$.input.b", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.b", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEqualsPath": "$.input.b", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEqualsPath": "$.input.b", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEqualsPath": "$.input.b", "Variable": "$.input.a", }, @@ -5194,95 +5194,95 @@ Object { ], }, ], - "Default": "false__input.a === input.b ?? input.s === \\"hello\\"", + "Default": "false__input.a === input.b ?? input.s === "hello"", "Type": "Choice", }, - "input.a === input.b || input.s === \\"hello\\"": Object { - "Choices": Array [ - Object { - "Next": "true__input.a === input.b || input.s === \\"hello\\"", - "Or": Array [ - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + "input.a === input.b || input.s === "hello"": { + "Choices": [ + { + "Next": "true__input.a === input.b || input.s === "hello"", + "Or": [ + { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.input.a", }, - Object { + { "IsPresent": false, "Variable": "$.input.b", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsPresent": true, "Variable": "$.input.b", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.input.a", }, - Object { + { "IsNull": true, "Variable": "$.input.b", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.b", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEqualsPath": "$.input.b", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEqualsPath": "$.input.b", "Variable": "$.input.a", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEqualsPath": "$.input.b", "Variable": "$.input.a", }, @@ -5298,25 +5298,25 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.s", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.s", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.s", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.s", }, @@ -5329,41 +5329,41 @@ Object { ], }, ], - "Default": "false__input.a === input.b || input.s === \\"hello\\"", + "Default": "false__input.a === input.b || input.s === "hello"", "Type": "Choice", }, - "input.a || input.b": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.a || input.b": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -5372,20 +5372,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -5394,30 +5394,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -5433,38 +5433,38 @@ Object { "Default": "false__input.a || input.b", "Type": "Choice", }, - "input.a || input.b && input.a": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.a || input.b && input.a": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -5473,20 +5473,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -5495,30 +5495,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -5530,38 +5530,38 @@ Object { ], "Next": "true__input.a || input.b && input.a", }, - Object { + { "Next": "true__input.b && input.a", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.b", }, - Object { + { "IsNull": false, "Variable": "$.input.b", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { + { "StringEquals": "", "Variable": "$.input.b", }, @@ -5570,20 +5570,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.b", }, @@ -5592,30 +5592,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.b", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "IsString": true, "Variable": "$.input.b", }, @@ -5631,38 +5631,38 @@ Object { "Default": "false__input.b && input.a", "Type": "Choice", }, - "input.a || input.b 1": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.a || input.b 1": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -5671,20 +5671,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -5693,30 +5693,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -5732,38 +5732,38 @@ Object { "Default": "false__input.a || input.b 1", "Type": "Choice", }, - "input.b || input.s": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "input.b || input.s": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.b", }, - Object { + { "IsNull": false, "Variable": "$.input.b", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { + { "StringEquals": "", "Variable": "$.input.b", }, @@ -5772,20 +5772,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.b", }, @@ -5794,30 +5794,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.b", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "IsString": true, "Variable": "$.input.b", }, @@ -5833,40 +5833,40 @@ Object { "Default": "false__input.b || input.s", "Type": "Choice", }, - "return {and: input.a && input.b, or: input.a || input.b, andCondition: inpu": Object { - "Choices": Array [ - Object { + "return {and: input.a && input.b, or: input.a || input.b, andCondition: inpu": { + "Choices": [ + { "Next": "true__return {and: input.a && input.b, or: input.a || input.b, andCondition", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -5875,20 +5875,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -5897,30 +5897,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -5936,91 +5936,91 @@ Object { "Default": "false__return {and: input.a && input.b, or: input.a || input.b, andConditio", "Type": "Choice", }, - "true__!input.a && input.b": Object { + "true__!input.a && input.b": { "Next": "13__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "Result": true, "ResultPath": "$.heap13", "Type": "Pass", }, - "true__!input.a || input.b": Object { + "true__!input.a || input.b": { "Next": "15__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "Result": true, "ResultPath": "$.heap16", "Type": "Pass", }, - "true__!input.a || input.b && input.a": Object { + "true__!input.a || input.b && input.a": { "Next": "17__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "Result": true, "ResultPath": "$.heap20", "Type": "Pass", }, - "true__!true": Object { + "true__!true": { "Next": "11__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "Result": true, "ResultPath": "$.heap10", "Type": "Pass", }, - "true__input.a && input.b": Object { + "true__input.a && input.b": { "InputPath": "$.input.a", "Next": "!input.a && input.b", "ResultPath": "$.heap12", "Type": "Pass", }, - "true__input.a && input.s": Object { + "true__input.a && input.s": { "InputPath": "$.input.a", "Next": "20__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "ResultPath": "$.heap23", "Type": "Pass", }, - "true__input.a === input.b && input.s === \\"hello\\"": Object { + "true__input.a === input.b && input.s === "hello"": { "Next": "5__return {and: input.a && input.b, or: input.a || input.b, andCondition: i", "Result": true, "ResultPath": "$.heap4", "Type": "Pass", }, - "true__input.a === input.b ?? input.s === \\"hello\\"": Object { + "true__input.a === input.b ?? input.s === "hello"": { "Next": "9__return {and: input.a && input.b, or: input.a || input.b, andCondition: i", "Result": true, "ResultPath": "$.heap8", "Type": "Pass", }, - "true__input.a === input.b || input.s === \\"hello\\"": Object { + "true__input.a === input.b || input.s === "hello"": { "Next": "7__return {and: input.a && input.b, or: input.a || input.b, andCondition: i", "Result": true, "ResultPath": "$.heap6", "Type": "Pass", }, - "true__input.a || input.b": Object { + "true__input.a || input.b": { "InputPath": "$.input.a", "Next": "3__return {and: input.a && input.b, or: input.a || input.b, andCondition: i", "ResultPath": "$.heap2", "Type": "Pass", }, - "true__input.a || input.b && input.a": Object { + "true__input.a || input.b && input.a": { "InputPath": "$.input.a", "Next": "!input.a || input.b && input.a", "ResultPath": "$.heap19", "Type": "Pass", }, - "true__input.a || input.b 1": Object { + "true__input.a || input.b 1": { "InputPath": "$.input.a", "Next": "!input.a || input.b", "ResultPath": "$.heap15", "Type": "Pass", }, - "true__input.b && input.a": Object { + "true__input.b && input.a": { "InputPath": "$.input.b", "Next": "1__input.b && input.a", "ResultPath": "$.heap18", "Type": "Pass", }, - "true__input.b || input.s": Object { + "true__input.b || input.s": { "InputPath": "$.input.b", "Next": "23__return {and: input.a && input.b, or: input.a || input.b, andCondition: ", "ResultPath": "$.heap26", "Type": "Pass", }, - "true__return {and: input.a && input.b, or: input.a || input.b, andCondition": Object { + "true__return {and: input.a && input.b, or: input.a || input.b, andCondition": { "InputPath": "$.input.a", "Next": "1__return {and: input.a && input.b, or: input.a || input.b, andCondition: i 1", "ResultPath": "$.heap0", @@ -6031,19 +6031,19 @@ Object { `; exports[`boolean return 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return input.a && input.b": Object { + "States": { + "1__return input.a && input.b": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return input.a && input.b", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6051,46 +6051,46 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__return input.a && input.b": Object { + "false__return input.a && input.b": { "InputPath": "$.input.b", "Next": "1__return input.a && input.b", "ResultPath": "$.heap0", "Type": "Pass", }, - "return input.a && input.b": Object { - "Choices": Array [ - Object { + "return input.a && input.b": { + "Choices": [ + { "Next": "true__return input.a && input.b", - "Not": Object { - "And": Array [ - Object { - "And": Array [ - Object { + "Not": { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.a", }, - Object { + { "StringEquals": "", "Variable": "$.input.a", }, @@ -6099,20 +6099,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.a", }, @@ -6121,30 +6121,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.a", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.a", }, - Object { + { "IsNumeric": true, "Variable": "$.input.a", }, - Object { + { "IsString": true, "Variable": "$.input.a", }, @@ -6160,7 +6160,7 @@ Object { "Default": "false__return input.a && input.b", "Type": "Choice", }, - "true__return input.a && input.b": Object { + "true__return input.a && input.b": { "InputPath": "$.input.a", "Next": "1__return input.a && input.b", "ResultPath": "$.heap0", @@ -6171,22 +6171,22 @@ Object { `; exports[`break from do-while-loop 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "break", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "break": Object { - "Choices": Array [ - Object { + "break": { + "Choices": [ + { "IsNull": false, "Next": "return null", "Variable": "$$.Execution.Id", @@ -6195,7 +6195,7 @@ Object { "Default": "return null", "Type": "Choice", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -6206,13 +6206,13 @@ Object { `; exports[`break from for-loop 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(item of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6220,15 +6220,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "for(item of input.items)": Object { + "for(item of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(item of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(item of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0[0]", @@ -6237,27 +6237,27 @@ Object { "Default": "return null", "Type": "Choice", }, - "if(item === \\"hello\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(item === "hello")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.item", }, - Object { + { "StringEquals": "hello", "Variable": "$.item", }, @@ -6272,19 +6272,19 @@ Object { "Default": "tail__for(item of input.items)", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap0[0]", - "Next": "if(item === \\"hello\\")", + "Next": "if(item === "hello")", "ResultPath": "$.item", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(item of input.items)": Object { + "tail__for(item of input.items)": { "InputPath": "$.heap0[1:]", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", @@ -6295,28 +6295,28 @@ Object { `; exports[`break from while-loop 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "while (true)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "while (true)": Object { - "Choices": Array [ - Object { + "while (true)": { + "Choices": [ + { "IsNull": false, "Next": "return null", "Variable": "$$.Execution.Id", @@ -6330,14 +6330,14 @@ Object { `; exports[`call AWS.DynamoDB.GetItem, then Lambda and return LiteralExpr 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: ": Object { + "States": { + "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: ": { "Next": "person", - "Parameters": Object { - "Key": Object { - "id": Object { + "Parameters": { + "Key": { + "id": { "S.$": "$.heap0", }, }, @@ -6347,9 +6347,9 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "1__return {id: person.Item.id.S, name: person.Item.name.S, score: score}": Object { + "1__return {id: person.Item.id.S, name: person.Item.name.S, score: score}": { "End": true, - "Parameters": Object { + "Parameters": { "id.$": "$.heap5", "name.$": "$.heap6", "score.$": "$.heap7", @@ -6357,15 +6357,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {id: person.Item.id.S, name: person.Item.name.S, score: score} 1": Object { + "1__return {id: person.Item.id.S, name: person.Item.name.S, score: score} 1": { "InputPath": "$.person.Item.name.S", "Next": "2__return {id: person.Item.id.S, name: person.Item.name.S, score: score}", "ResultPath": "$.heap6", "Type": "Pass", }, - "1__score = await computeScore({id: person.Item.id.S, name: person.Item.name": Object { + "1__score = await computeScore({id: person.Item.id.S, name: person.Item.name": { "Next": "score", - "Parameters": Object { + "Parameters": { "id.$": "$.heap2", "name.$": "$.heap3", }, @@ -6373,22 +6373,22 @@ Object { "ResultPath": "$.heap4", "Type": "Task", }, - "1__score = await computeScore({id: person.Item.id.S, name: person.Item.name 1": Object { + "1__score = await computeScore({id: person.Item.id.S, name: person.Item.name 1": { "InputPath": "$.person.Item.name.S", "Next": "1__score = await computeScore({id: person.Item.id.S, name: person.Item.name", "ResultPath": "$.heap3", "Type": "Pass", }, - "2__return {id: person.Item.id.S, name: person.Item.name.S, score: score}": Object { + "2__return {id: person.Item.id.S, name: person.Item.name.S, score: score}": { "InputPath": "$.score", "Next": "1__return {id: person.Item.id.S, name: person.Item.name.S, score: score}", "ResultPath": "$.heap7", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: inp", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6396,28 +6396,28 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(person.Item === undefined)": Object { - "Choices": Array [ - Object { + "if(person.Item === undefined)": { + "Choices": [ + { "Next": "return", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.person.Item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.person.Item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.person.Item", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -6431,37 +6431,37 @@ Object { "Default": "score = await computeScore({id: person.Item.id.S, name: person.Item.name.S}", "Type": "Choice", }, - "person": Object { + "person": { "InputPath": "$.heap1", "Next": "if(person.Item === undefined)", "ResultPath": "$.person", "Type": "Pass", }, - "person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: inp": Object { + "person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: inp": { "InputPath": "$.input.id", "Next": "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: ", "ResultPath": "$.heap0", "Type": "Pass", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return {id: person.Item.id.S, name: person.Item.name.S, score: score}": Object { + "return {id: person.Item.id.S, name: person.Item.name.S, score: score}": { "InputPath": "$.person.Item.id.S", "Next": "1__return {id: person.Item.id.S, name: person.Item.name.S, score: score} 1", "ResultPath": "$.heap5", "Type": "Pass", }, - "score": Object { + "score": { "InputPath": "$.heap4", "Next": "return {id: person.Item.id.S, name: person.Item.name.S, score: score}", "ResultPath": "$.score", "Type": "Pass", }, - "score = await computeScore({id: person.Item.id.S, name: person.Item.name.S}": Object { + "score = await computeScore({id: person.Item.id.S, name: person.Item.name.S}": { "InputPath": "$.person.Item.id.S", "Next": "1__score = await computeScore({id: person.Item.id.S, name: person.Item.name 1", "ResultPath": "$.heap2", @@ -6472,22 +6472,22 @@ Object { `; exports[`call Lambda Function, store as variable, return variable 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__person = await getPerson({id: input.id})": Object { + "States": { + "1__person = await getPerson({id: input.id})": { "Next": "person", - "Parameters": Object { + "Parameters": { "id.$": "$.heap0", }, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "person = await getPerson({id: input.id})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6495,19 +6495,19 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "person": Object { + "person": { "InputPath": "$.heap1", "Next": "return person", "ResultPath": "$.person", "Type": "Pass", }, - "person = await getPerson({id: input.id})": Object { + "person = await getPerson({id: input.id})": { "InputPath": "$.input.id", "Next": "1__person = await getPerson({id: input.id})", "ResultPath": "$.heap0", "Type": "Pass", }, - "return person": Object { + "return person": { "End": true, "InputPath": "$.person", "ResultPath": "$", @@ -6518,28 +6518,28 @@ Object { `; exports[`call Lambda Function, store as variable, return variable no block 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return getPerson({id: input.id})": Object { + "States": { + "1__return getPerson({id: input.id})": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return getPerson({id: input.id}) 1": Object { + "1__return getPerson({id: input.id}) 1": { "Next": "1__return getPerson({id: input.id})", - "Parameters": Object { + "Parameters": { "id.$": "$.heap0", }, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return getPerson({id: input.id})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6547,7 +6547,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return getPerson({id: input.id})": Object { + "return getPerson({id: input.id})": { "InputPath": "$.input.id", "Next": "1__return getPerson({id: input.id}) 1", "ResultPath": "$.heap0", @@ -6558,28 +6558,28 @@ Object { `; exports[`call Step Function describe from another Step Function 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return machine1.describeExecution(\\"hello\\")": Object { + "States": { + "1__return machine1.describeExecution("hello")": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return machine1.describeExecution(\\"hello\\")", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return machine1.describeExecution("hello")", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return machine1.describeExecution(\\"hello\\")": Object { - "Next": "1__return machine1.describeExecution(\\"hello\\")", - "Parameters": Object { + "return machine1.describeExecution("hello")": { + "Next": "1__return machine1.describeExecution("hello")", + "Parameters": { "ExecutionArn": "hello", }, "Resource": "arn:aws:states:::aws-sdk:sfn:describeExecution", @@ -6591,19 +6591,19 @@ Object { `; exports[`call Step Function describe from another Step Function from context 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return machine1.describeExecution(input.id)": Object { + "States": { + "1__return machine1.describeExecution(input.id)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return machine1.describeExecution(input.id)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6611,9 +6611,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return machine1.describeExecution(input.id)": Object { + "return machine1.describeExecution(input.id)": { "Next": "1__return machine1.describeExecution(input.id)", - "Parameters": Object { + "Parameters": { "ExecutionArn.$": "$.input.id", }, "Resource": "arn:aws:states:::aws-sdk:sfn:describeExecution", @@ -6625,28 +6625,28 @@ Object { `; exports[`call Step Function from another Step Function 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return machine1({})": Object { + "States": { + "1__return machine1({})": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return machine1({})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return machine1({})": Object { + "return machine1({})": { "Next": "1__return machine1({})", - "Parameters": Object { + "Parameters": { "StateMachineArn": "__REPLACED_TOKEN", }, "Resource": "arn:aws:states:::aws-sdk:sfn:startSyncExecution", @@ -6658,19 +6658,19 @@ Object { `; exports[`call Step Function from another Step Function with dynamic input 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return machine1({input: {value: input.value1}})": Object { + "States": { + "1__return machine1({input: {value: input.value1}})": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return machine1({input: {value: input.value1}}) 1": Object { + "1__return machine1({input: {value: input.value1}}) 1": { "Next": "1__return machine1({input: {value: input.value1}})", - "Parameters": Object { - "Input": Object { + "Parameters": { + "Input": { "value.$": "$.heap0", }, "StateMachineArn": "__REPLACED_TOKEN", @@ -6679,10 +6679,10 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return machine1({input: {value: input.value1}})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6690,7 +6690,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return machine1({input: {value: input.value1}})": Object { + "return machine1({input: {value: input.value1}})": { "InputPath": "$.input.value1", "Next": "1__return machine1({input: {value: input.value1}}) 1", "ResultPath": "$.heap0", @@ -6701,19 +6701,19 @@ Object { `; exports[`call Step Function from another Step Function with dynamic input field input 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return machine1({input: input})": Object { + "States": { + "1__return machine1({input: input})": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return machine1({input: input})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6721,9 +6721,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return machine1({input: input})": Object { + "return machine1({input: input})": { "Next": "1__return machine1({input: input})", - "Parameters": Object { + "Parameters": { "Input.$": "$.input", "StateMachineArn": "__REPLACED_TOKEN", }, @@ -6736,29 +6736,29 @@ Object { `; exports[`call Step Function from another Step Function with input 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return machine1({input: {value: \\"hello\\"}})": Object { + "States": { + "1__return machine1({input: {value: "hello"}})": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return machine1({input: {value: \\"hello\\"}})", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return machine1({input: {value: "hello"}})", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return machine1({input: {value: \\"hello\\"}})": Object { - "Next": "1__return machine1({input: {value: \\"hello\\"}})", - "Parameters": Object { - "Input": Object { + "return machine1({input: {value: "hello"}})": { + "Next": "1__return machine1({input: {value: "hello"}})", + "Parameters": { + "Input": { "value": "hello", }, "StateMachineArn": "__REPLACED_TOKEN", @@ -6772,28 +6772,28 @@ Object { `; exports[`call Step Function from another Step Function with name and trace 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return machine1({name: \\"exec1\\", traceHeader: \\"1\\"})": Object { + "States": { + "1__return machine1({name: "exec1", traceHeader: "1"})": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return machine1({name: \\"exec1\\", traceHeader: \\"1\\"})", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return machine1({name: "exec1", traceHeader: "1"})", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return machine1({name: \\"exec1\\", traceHeader: \\"1\\"})": Object { - "Next": "1__return machine1({name: \\"exec1\\", traceHeader: \\"1\\"})", - "Parameters": Object { + "return machine1({name: "exec1", traceHeader: "1"})": { + "Next": "1__return machine1({name: "exec1", traceHeader: "1"})", + "Parameters": { "Name": "exec1", "StateMachineArn": "__REPLACED_TOKEN", "TraceHeader": "1", @@ -6807,19 +6807,19 @@ Object { `; exports[`call Step Function from another Step Function with name and trace from variables 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return machine1({name: input.name, traceHeader: input.header})": Object { + "States": { + "1__return machine1({name: input.name, traceHeader: input.header})": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return machine1({name: input.name, traceHeader: input.header})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6827,9 +6827,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return machine1({name: input.name, traceHeader: input.header})": Object { + "return machine1({name: input.name, traceHeader: input.header})": { "Next": "1__return machine1({name: input.name, traceHeader: input.header})", - "Parameters": Object { + "Parameters": { "Name.$": "$.input.name", "StateMachineArn": "__REPLACED_TOKEN", "TraceHeader.$": "$.input.header", @@ -6843,19 +6843,19 @@ Object { `; exports[`call Step Function from another Step Function with null coalesce 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return machine1({input: {value: input.value ?? \\"default\\"}})": Object { + "States": { + "1__return machine1({input: {value: input.value ?? "default"}})": { "End": true, "InputPath": "$.heap2", "ResultPath": "$", "Type": "Pass", }, - "1__return machine1({input: {value: input.value ?? \\"default\\"}}) 1": Object { - "Next": "1__return machine1({input: {value: input.value ?? \\"default\\"}})", - "Parameters": Object { - "Input": Object { + "1__return machine1({input: {value: input.value ?? "default"}}) 1": { + "Next": "1__return machine1({input: {value: input.value ?? "default"}})", + "Parameters": { + "Input": { "value.$": "$.heap1", }, "StateMachineArn": "__REPLACED_TOKEN", @@ -6864,16 +6864,16 @@ Object { "ResultPath": "$.heap2", "Type": "Task", }, - "1__return machine1({input: {value: input.value ?? \\"default\\"}}) 2": Object { + "1__return machine1({input: {value: input.value ?? "default"}}) 2": { "InputPath": "$.heap0", - "Next": "1__return machine1({input: {value: input.value ?? \\"default\\"}}) 1", + "Next": "1__return machine1({input: {value: input.value ?? "default"}}) 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return machine1({input: {value: input.value ?? \\"default\\"}})", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return machine1({input: {value: input.value ?? "default"}})", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -6881,34 +6881,34 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__return machine1({input: {value: input.value ?? \\"default\\"}})": Object { - "Next": "1__return machine1({input: {value: input.value ?? \\"default\\"}}) 2", + "false__return machine1({input: {value: input.value ?? "default"}})": { + "Next": "1__return machine1({input: {value: input.value ?? "default"}}) 2", "Result": "default", "ResultPath": "$.heap0", "Type": "Pass", }, - "return machine1({input: {value: input.value ?? \\"default\\"}})": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return machine1({input: {value: input.value ?? "default"}})": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.value", }, - Object { + { "IsNull": false, "Variable": "$.input.value", }, ], - "Next": "true__return machine1({input: {value: input.value ?? \\"default\\"}})", + "Next": "true__return machine1({input: {value: input.value ?? "default"}})", }, ], - "Default": "false__return machine1({input: {value: input.value ?? \\"default\\"}})", + "Default": "false__return machine1({input: {value: input.value ?? "default"}})", "Type": "Choice", }, - "true__return machine1({input: {value: input.value ?? \\"default\\"}})": Object { + "true__return machine1({input: {value: input.value ?? "default"}})": { "InputPath": "$.input.value", - "Next": "1__return machine1({input: {value: input.value ?? \\"default\\"}}) 2", + "Next": "1__return machine1({input: {value: input.value ?? "default"}}) 2", "ResultPath": "$.heap0", "Type": "Pass", }, @@ -6917,33 +6917,33 @@ Object { `; exports[`catch and throw Error 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.fnl_tmp_0", - "Next": "throw new StepFunctionError(\\"CustomError\\", {property: \\"custom cause\\"})", + "Next": "throw new StepFunctionError("CustomError", {property: "custom cause"})", "ResultPath": "$.err", "Type": "Pass", }, - "throw new StepFunctionError(\\"CustomError\\", {property: \\"custom cause\\"})": Object { - "Cause": "{\\"property\\":\\"custom cause\\"}", + "throw new StepFunctionError("CustomError", {property: "custom cause"})": { + "Cause": "{"property":"custom cause"}", "Error": "CustomError", "Type": "Fail", }, - "try": Object { + "try": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": "$.fnl_tmp_0", @@ -6954,33 +6954,33 @@ Object { `; exports[`catch and throw new Error 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.fnl_tmp_0", - "Next": "throw new StepFunctionError(\\"CustomError\\", {property: \\"custom cause\\"})", + "Next": "throw new StepFunctionError("CustomError", {property: "custom cause"})", "ResultPath": "$.err", "Type": "Pass", }, - "throw new StepFunctionError(\\"CustomError\\", {property: \\"custom cause\\"})": Object { - "Cause": "{\\"property\\":\\"custom cause\\"}", + "throw new StepFunctionError("CustomError", {property: "custom cause"})": { + "Cause": "{"property":"custom cause"}", "Error": "CustomError", "Type": "Fail", }, - "try": Object { + "try": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": "$.fnl_tmp_0", @@ -6991,25 +6991,25 @@ Object { `; exports[`closure from map 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return aitem": Object { + "States": { + "1__return aitem": { "InputPath": "$.heap3.string", "Next": "handleResult__return input.list.map(function (item))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "1__return input.list.map(function (item))": Object { + "1__return input.list.map(function (item))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"x\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = "x"", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7017,23 +7017,23 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"x\\"": Object { + "a = "x"": { "Next": "return input.list.map(function (item))", "Result": "x", "ResultPath": "$.a", "Type": "Pass", }, - "aitem": Object { + "aitem": { "Next": "1__return aitem", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap1,$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "check__return input.list.map(function (item))": Object { - "Choices": Array [ - Object { + "check__return input.list.map(function (item))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -7042,51 +7042,51 @@ Object { "Default": "end__return input.list.map(function (item))", "Type": "Choice", }, - "end__return input.list.map(function (item))": Object { + "end__return input.list.map(function (item))": { "Next": "set__end__return input.list.map(function (item))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "handleResult__return input.list.map(function (item))": Object { + "handleResult__return input.list.map(function (item))": { "Next": "check__return input.list.map(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "return aitem", "ResultPath": "$.item", "Type": "Pass", }, - "item 1": Object { + "item 1": { "InputPath": "$.item", "Next": "aitem", "ResultPath": "$.heap2", "Type": "Pass", }, - "return aitem": Object { + "return aitem": { "InputPath": "$.a", "Next": "item 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "return input.list.map(function (item))": Object { + "return input.list.map(function (item))": { "Next": "check__return input.list.map(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", "arrStr": "[null", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "set__end__return input.list.map(function (item))": Object { + "set__end__return input.list.map(function (item))": { "InputPath": "$.heap0.result[1:]", "Next": "1__return input.list.map(function (item))", "ResultPath": "$.heap0", @@ -7097,30 +7097,30 @@ Object { `; exports[`condition on task output 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__if(await task() === 1)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "States": { + "1__if(await task() === 1)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap0", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap0", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap0", }, - Object { + { "NumericEquals": 1, "Variable": "$.heap0", }, @@ -7135,30 +7135,30 @@ Object { "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "if(await task() === 1)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "if(await task() === 1)": Object { + "if(await task() === 1)": { "InputPath": "$.fnl_context.null", "Next": "1__if(await task() === 1)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -7169,14 +7169,14 @@ Object { `; exports[`conditionally call DynamoDB and then void 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: input.id}": Object { + "States": { + "1__await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: input.id}": { "Next": "return null", - "Parameters": Object { - "Key": Object { - "id": Object { + "Parameters": { + "Key": { + "id": { "S.$": "$.heap0", }, }, @@ -7186,10 +7186,10 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { - "Next": "if(input.id === \\"hello\\")", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "if(input.id === "hello")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7197,33 +7197,33 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: input.id}}})": Object { + "await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: input.id}}})": { "InputPath": "$.input.id", "Next": "1__await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: input.id}", "ResultPath": "$.heap0", "Type": "Pass", }, - "if(input.id === \\"hello\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.id === "hello")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.id", }, @@ -7238,7 +7238,7 @@ Object { "Default": "return null", "Type": "Choice", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -7249,13 +7249,13 @@ Object { `; exports[`conditionally return void 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "if(input.id === \\"hello\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "if(input.id === "hello")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7263,27 +7263,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(input.id === \\"hello\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.id === "hello")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.id", }, @@ -7298,13 +7298,13 @@ Object { "Default": "return null", "Type": "Choice", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -7315,13 +7315,13 @@ Object { `; exports[`conditionally return void 2`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "if(input.id === \\"hello\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "if(input.id === "hello")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7329,27 +7329,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(input.id === \\"hello\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.id === "hello")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.id", }, @@ -7364,13 +7364,13 @@ Object { "Default": "return null", "Type": "Choice", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -7381,13 +7381,13 @@ Object { `; exports[`continue in do..while loop 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "if(input.key === \\"sam\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "if(input.key === "sam")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7395,40 +7395,40 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await task(input.key)": Object { + "await task(input.key)": { "InputPath": "$.input.key", - "Next": "if(input.key === \\"sam\\")", + "Next": "if(input.key === "sam")", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "if(input.key === \\"sam\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.key === "sam")": { + "Choices": [ + { + "And": [ + { "IsNull": false, "Variable": "$$.Execution.Id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.key", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.key", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.key", }, - Object { + { "StringEquals": "sam", "Variable": "$.input.key", }, @@ -7439,9 +7439,9 @@ Object { ], }, ], - "Next": "if(input.key === \\"sam\\")", + "Next": "if(input.key === "sam")", }, - Object { + { "IsNull": false, "Next": "await task(input.key)", "Variable": "$$.Execution.Id", @@ -7450,7 +7450,7 @@ Object { "Default": "return null", "Type": "Choice", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -7461,13 +7461,13 @@ Object { `; exports[`continue in for loop 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(item of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7475,15 +7475,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "for(item of input.items)": Object { + "for(item of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(item of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(item of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0[0]", @@ -7492,27 +7492,27 @@ Object { "Default": "return null", "Type": "Choice", }, - "if(item === \\"hello\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(item === "hello")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.item", }, - Object { + { "StringEquals": "hello", "Variable": "$.item", }, @@ -7527,19 +7527,19 @@ Object { "Default": "tail__for(item of input.items)", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap0[0]", - "Next": "if(item === \\"hello\\")", + "Next": "if(item === "hello")", "ResultPath": "$.item", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(item of input.items)": Object { + "tail__for(item of input.items)": { "InputPath": "$.heap0[1:]", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", @@ -7550,13 +7550,13 @@ Object { `; exports[`continue in while loop 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "while (true)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7564,46 +7564,46 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await task(input.key)": Object { + "await task(input.key)": { "InputPath": "$.input.key", "Next": "while (true)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "while (true)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "while (true)": { + "Choices": [ + { + "And": [ + { "IsNull": false, "Variable": "$$.Execution.Id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.key", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.key", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.key", }, - Object { + { "StringEquals": "sam", "Variable": "$.input.key", }, @@ -7616,7 +7616,7 @@ Object { ], "Next": "while (true)", }, - Object { + { "IsNull": false, "Next": "await task(input.key)", "Variable": "$$.Execution.Id", @@ -7630,13 +7630,13 @@ Object { `; exports[`else if 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "if(input.val === \\"a\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "if(input.val === "a")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7644,27 +7644,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(input.val === \\"a\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.val === "a")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.val", }, - Object { + { "StringEquals": "a", "Variable": "$.input.val", }, @@ -7673,27 +7673,27 @@ Object { ], }, ], - "Next": "return \\"yup\\"", + "Next": "return "yup"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.val", }, - Object { + { "StringEquals": "b", "Variable": "$.input.val", }, @@ -7702,27 +7702,27 @@ Object { ], }, ], - "Next": "return \\"yip\\"", + "Next": "return "yip"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.val", }, - Object { + { "StringEquals": "c", "Variable": "$.input.val", }, @@ -7731,31 +7731,31 @@ Object { ], }, ], - "Next": "return \\"woop\\"", + "Next": "return "woop"", }, ], - "Default": "return \\"noop\\"", + "Default": "return "noop"", "Type": "Choice", }, - "return \\"noop\\"": Object { + "return "noop"": { "End": true, "Result": "noop", "ResultPath": "$", "Type": "Pass", }, - "return \\"woop\\"": Object { + "return "woop"": { "End": true, "Result": "woop", "ResultPath": "$", "Type": "Pass", }, - "return \\"yip\\"": Object { + "return "yip"": { "End": true, "Result": "yip", "ResultPath": "$", "Type": "Pass", }, - "return \\"yup\\"": Object { + "return "yup"": { "End": true, "Result": "yup", "ResultPath": "$", @@ -7766,13 +7766,13 @@ Object { `; exports[`else if else 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "if(input.val === \\"a\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "if(input.val === "a")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7780,27 +7780,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(input.val === \\"a\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.val === "a")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.val", }, - Object { + { "StringEquals": "a", "Variable": "$.input.val", }, @@ -7809,27 +7809,27 @@ Object { ], }, ], - "Next": "return \\"yup\\"", + "Next": "return "yup"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.val", }, - Object { + { "StringEquals": "b", "Variable": "$.input.val", }, @@ -7838,25 +7838,25 @@ Object { ], }, ], - "Next": "return \\"woop\\"", + "Next": "return "woop"", }, ], - "Default": "return \\"noop\\"", + "Default": "return "noop"", "Type": "Choice", }, - "return \\"noop\\"": Object { + "return "noop"": { "End": true, "Result": "noop", "ResultPath": "$", "Type": "Pass", }, - "return \\"woop\\"": Object { + "return "woop"": { "End": true, "Result": "woop", "ResultPath": "$", "Type": "Pass", }, - "return \\"yup\\"": Object { + "return "yup"": { "End": true, "Result": "yup", "ResultPath": "$", @@ -7867,19 +7867,19 @@ Object { `; exports[`empty for 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(_ of [await task(input.items)])": Object { + "States": { + "1__for(_ of [await task(input.items)])": { "InputPath": "$.heap0", "Next": "[await task(input.items)]", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(_ of [await task(input.items)])", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -7887,36 +7887,36 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "[await task(input.items)]": Object { + "[await task(input.items)]": { "Next": "for(_ of [await task(input.items)]) 1", - "Parameters": Object { + "Parameters": { "arr.$": "States.Array($.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "_": Object { + "_": { "InputPath": "$.heap3[0]", "Next": "tail__for(_ of [await task(input.items)]) 1", "ResultPath": "$._", "Type": "Pass", }, - "for(_ of [await task(input.items)])": Object { + "for(_ of [await task(input.items)])": { "InputPath": "$.input.items", "Next": "1__for(_ of [await task(input.items)])", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "for(_ of [await task(input.items)]) 1": Object { + "for(_ of [await task(input.items)]) 1": { "InputPath": "$.heap2.arr", "Next": "hasNext__for(_ of [await task(input.items)]) 1", "ResultPath": "$.heap3", "Type": "Pass", }, - "hasNext__for(_ of [await task(input.items)]) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(_ of [await task(input.items)]) 1": { + "Choices": [ + { "IsPresent": true, "Next": "_", "Variable": "$.heap3[0]", @@ -7925,13 +7925,13 @@ Object { "Default": "return null", "Type": "Choice", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(_ of [await task(input.items)]) 1": Object { + "tail__for(_ of [await task(input.items)]) 1": { "InputPath": "$.heap3[1:]", "Next": "hasNext__for(_ of [await task(input.items)]) 1", "ResultPath": "$.heap3", @@ -7942,20 +7942,20 @@ Object { `; exports[`empty function 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return null", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -7966,28 +7966,28 @@ Object { `; exports[`for (const i in [task(input)]) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await task(await task(i))": Object { + "States": { + "1__await task(await task(i))": { "InputPath": "$.heap3", "Next": "tail__for(i in [await task(input)]) 1", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap4", "Type": "Task", }, - "1__for(i in [await task(input)])": Object { + "1__for(i in [await task(input)])": { "InputPath": "$.heap0", "Next": "[await task(input)]", "ResultPath": "$.heap1", "Type": "Pass", }, - "1__for(i in [await task(input)]) 1": Object { + "1__for(i in [await task(input)]) 1": { "ItemsPath": "$.heap5", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -7995,17 +7995,17 @@ Object { }, }, "Next": "hasNext__for(i in [await task(input)]) 1", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap5", "Type": "Map", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i in [await task(input)])", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -8013,43 +8013,43 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "[await task(input)]": Object { + "[await task(input)]": { "Next": "for(i in [await task(input)]) 1", - "Parameters": Object { + "Parameters": { "arr.$": "States.Array($.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "assignValue__i": Object { + "assignValue__i": { "InputPath": "$.heap5[0].item", "Next": "await task(await task(i))", "ResultPath": "$.0__i", "Type": "Pass", }, - "await task(await task(i))": Object { + "await task(await task(i))": { "InputPath": "$.i", "Next": "1__await task(await task(i))", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap3", "Type": "Task", }, - "for(i in [await task(input)])": Object { + "for(i in [await task(input)])": { "InputPath": "$.input", "Next": "1__for(i in [await task(input)])", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "for(i in [await task(input)]) 1": Object { + "for(i in [await task(input)]) 1": { "InputPath": "$.heap2.arr", "Next": "1__for(i in [await task(input)]) 1", "ResultPath": "$.heap5", "Type": "Pass", }, - "hasNext__for(i in [await task(input)]) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(i in [await task(input)]) 1": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap5[0]", @@ -8058,19 +8058,19 @@ Object { "Default": "return null", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap5[0].index", "Next": "assignValue__i", "ResultPath": "$.i", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i in [await task(input)]) 1": Object { + "tail__for(i in [await task(input)]) 1": { "InputPath": "$.heap5[1:]", "Next": "hasNext__for(i in [await task(input)]) 1", "ResultPath": "$.heap5", @@ -8081,26 +8081,26 @@ Object { `; exports[`for (const i of [task(input)]) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await task(await task(i))": Object { + "States": { + "1__await task(await task(i))": { "InputPath": "$.heap3", "Next": "tail__for(i of [await task(input)]) 1", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap4", "Type": "Task", }, - "1__for(i of [await task(input)])": Object { + "1__for(i of [await task(input)])": { "InputPath": "$.heap0", "Next": "[await task(input)]", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i of [await task(input)])", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -8108,37 +8108,37 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "[await task(input)]": Object { + "[await task(input)]": { "Next": "for(i of [await task(input)]) 1", - "Parameters": Object { + "Parameters": { "arr.$": "States.Array($.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "await task(await task(i))": Object { + "await task(await task(i))": { "InputPath": "$.i", "Next": "1__await task(await task(i))", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap3", "Type": "Task", }, - "for(i of [await task(input)])": Object { + "for(i of [await task(input)])": { "InputPath": "$.input", "Next": "1__for(i of [await task(input)])", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "for(i of [await task(input)]) 1": Object { + "for(i of [await task(input)]) 1": { "InputPath": "$.heap2.arr", "Next": "hasNext__for(i of [await task(input)]) 1", "ResultPath": "$.heap5", "Type": "Pass", }, - "hasNext__for(i of [await task(input)]) 1": Object { - "Choices": Array [ - Object { + "hasNext__for(i of [await task(input)]) 1": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap5[0]", @@ -8147,19 +8147,19 @@ Object { "Default": "return null", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap5[0]", "Next": "await task(await task(i))", "ResultPath": "$.i", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i of [await task(input)]) 1": Object { + "tail__for(i of [await task(input)]) 1": { "InputPath": "$.heap5[1:]", "Next": "hasNext__for(i of [await task(input)]) 1", "ResultPath": "$.heap5", @@ -8170,15 +8170,15 @@ Object { `; exports[`for assign 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(i in input.items)": Object { + "States": { + "1__for(i in input.items)": { "ItemsPath": "$.heap2", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -8186,17 +8186,17 @@ Object { }, }, "Next": "hasNext__for(i in input.items)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap2", "Type": "Map", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -8204,57 +8204,57 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "for(i in input.items)", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = i": Object { + "a = i": { "InputPath": "$.i", "Next": "i 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "a = i 1": Object { + "a = i 1": { "InputPath": "$.heap1.string", "Next": "tail__for(i in input.items)", "ResultPath": "$.a", "Type": "Pass", }, - "a = i 2": Object { + "a = i 2": { "InputPath": "$.i__1", "Next": "i 3", "ResultPath": "$.heap3", "Type": "Pass", }, - "a = i 3": Object { + "a = i 3": { "InputPath": "$.heap4.string", "Next": "tail__for(i of input.items)", "ResultPath": "$.a", "Type": "Pass", }, - "assignValue__i": Object { + "assignValue__i": { "InputPath": "$.heap2[0].item", "Next": "a = i", "ResultPath": "$.0__i", "Type": "Pass", }, - "for(i in input.items)": Object { + "for(i in input.items)": { "InputPath": "$.input.items", "Next": "1__for(i in input.items)", "ResultPath": "$.heap2", "Type": "Pass", }, - "for(i of input.items)": Object { + "for(i of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(i of input.items)", "ResultPath": "$.heap5", "Type": "Pass", }, - "hasNext__for(i in input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap2[0]", @@ -8263,9 +8263,9 @@ Object { "Default": "for(i of input.items)", "Type": "Choice", }, - "hasNext__for(i of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i 2", "Variable": "$.heap5[0]", @@ -8274,47 +8274,47 @@ Object { "Default": "return a", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap2[0].index", "Next": "assignValue__i", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "Next": "a = i 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}',$.heap0)", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "i 2": Object { + "i 2": { "InputPath": "$.heap5[0]", "Next": "a = i 2", "ResultPath": "$.i__1", "Type": "Pass", }, - "i 3": Object { + "i 3": { "Next": "a = i 3", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}',$.heap3)", }, "ResultPath": "$.heap4", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i in input.items)": Object { + "tail__for(i in input.items)": { "InputPath": "$.heap2[1:]", "Next": "hasNext__for(i in input.items)", "ResultPath": "$.heap2", "Type": "Pass", }, - "tail__for(i of input.items)": Object { + "tail__for(i of input.items)": { "InputPath": "$.heap5[1:]", "Next": "hasNext__for(i of input.items)", "ResultPath": "$.heap5", @@ -8325,15 +8325,15 @@ Object { `; exports[`for break 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(i in input.items)": Object { + "States": { + "1__for(i in input.items)": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -8341,17 +8341,17 @@ Object { }, }, "Next": "hasNext__for(i in input.items)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", "Type": "Map", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i in input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -8359,27 +8359,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "assignValue__i": Object { + "assignValue__i": { "InputPath": "$.heap0[0].item", - "Next": "if(input.items[i] === \\"1\\")", + "Next": "if(input.items[i] === "1")", "ResultPath": "$.0__i", "Type": "Pass", }, - "for(i in input.items)": Object { + "for(i in input.items)": { "InputPath": "$.input.items", "Next": "1__for(i in input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "for(i of input.items)": Object { + "for(i of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(i of input.items)", "ResultPath": "$.heap1", "Type": "Pass", }, - "hasNext__for(i in input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap0[0]", @@ -8388,50 +8388,50 @@ Object { "Default": "for(i of input.items)", "Type": "Choice", }, - "hasNext__for(i of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i 1", "Variable": "$.heap1[0]", }, ], - "Default": "return \\"end\\"", + "Default": "return "end"", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap0[0].index", "Next": "assignValue__i", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "InputPath": "$.heap1[0]", - "Next": "if(i === \\"1\\")", + "Next": "if(i === "1")", "ResultPath": "$.i__1", "Type": "Pass", }, - "if(i === \\"1\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === "1")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.i__1", }, - Object { + { "StringEquals": "1", "Variable": "$.i__1", }, @@ -8440,33 +8440,33 @@ Object { ], }, ], - "Next": "return \\"end\\"", + "Next": "return "end"", }, ], "Default": "return i", "Type": "Choice", }, - "if(input.items[i] === \\"1\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.items[i] === "1")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.0__i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.0__i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.0__i", }, - Object { + { "StringEquals": "1", "Variable": "$.0__i", }, @@ -8481,19 +8481,19 @@ Object { "Default": "return input.items[i]", "Type": "Choice", }, - "return \\"end\\"": Object { + "return "end"": { "End": true, "Result": "end", "ResultPath": "$", "Type": "Pass", }, - "return i": Object { + "return i": { "End": true, "InputPath": "$.i__1", "ResultPath": "$", "Type": "Pass", }, - "return input.items[i]": Object { + "return input.items[i]": { "End": true, "InputPath": "$.0__i", "ResultPath": "$", @@ -8504,15 +8504,15 @@ Object { `; exports[`for const i in items, items[i] 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(i in input.items)": Object { + "States": { + "1__for(i in input.items)": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -8520,17 +8520,17 @@ Object { }, }, "Next": "hasNext__for(i in input.items)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", "Type": "Map", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i in input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -8538,27 +8538,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = items[i]": Object { + "a = items[i]": { "InputPath": "$.0__i", "Next": "tail__for(i in input.items)", "ResultPath": "$.a", "Type": "Pass", }, - "assignValue__i": Object { + "assignValue__i": { "InputPath": "$.heap0[0].item", "Next": "a = items[i]", "ResultPath": "$.0__i", "Type": "Pass", }, - "for(i in input.items)": Object { + "for(i in input.items)": { "InputPath": "$.input.items", "Next": "1__for(i in input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(i in input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap0[0]", @@ -8567,19 +8567,19 @@ Object { "Default": "return null", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap0[0].index", "Next": "assignValue__i", "ResultPath": "$.i", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i in input.items)": Object { + "tail__for(i in input.items)": { "InputPath": "$.heap0[1:]", "Next": "hasNext__for(i in input.items)", "ResultPath": "$.heap0", @@ -8590,15 +8590,15 @@ Object { `; exports[`for continue 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(i in input.items)": Object { + "States": { + "1__for(i in input.items)": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -8606,17 +8606,17 @@ Object { }, }, "Next": "hasNext__for(i in input.items)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", "Type": "Map", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i in input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -8624,27 +8624,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "assignValue__i": Object { + "assignValue__i": { "InputPath": "$.heap0[0].item", - "Next": "if(input.items[i] === \\"1\\")", + "Next": "if(input.items[i] === "1")", "ResultPath": "$.0__i", "Type": "Pass", }, - "for(i in input.items)": Object { + "for(i in input.items)": { "InputPath": "$.input.items", "Next": "1__for(i in input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "for(i of input.items)": Object { + "for(i of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(i of input.items)", "ResultPath": "$.heap1", "Type": "Pass", }, - "hasNext__for(i in input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap0[0]", @@ -8653,50 +8653,50 @@ Object { "Default": "for(i of input.items)", "Type": "Choice", }, - "hasNext__for(i of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i 1", "Variable": "$.heap1[0]", }, ], - "Default": "return \\"end\\"", + "Default": "return "end"", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap0[0].index", "Next": "assignValue__i", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "InputPath": "$.heap1[0]", - "Next": "if(i === \\"1\\")", + "Next": "if(i === "1")", "ResultPath": "$.i__1", "Type": "Pass", }, - "if(i === \\"1\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === "1")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.i__1", }, - Object { + { "StringEquals": "1", "Variable": "$.i__1", }, @@ -8711,27 +8711,27 @@ Object { "Default": "return i", "Type": "Choice", }, - "if(input.items[i] === \\"1\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.items[i] === "1")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.0__i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.0__i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.0__i", }, - Object { + { "StringEquals": "1", "Variable": "$.0__i", }, @@ -8746,31 +8746,31 @@ Object { "Default": "return input.items[i]", "Type": "Choice", }, - "return \\"end\\"": Object { + "return "end"": { "End": true, "Result": "end", "ResultPath": "$", "Type": "Pass", }, - "return i": Object { + "return i": { "End": true, "InputPath": "$.i__1", "ResultPath": "$", "Type": "Pass", }, - "return input.items[i]": Object { + "return input.items[i]": { "End": true, "InputPath": "$.0__i", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i in input.items)": Object { + "tail__for(i in input.items)": { "InputPath": "$.heap0[1:]", "Next": "hasNext__for(i in input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "tail__for(i of input.items)": Object { + "tail__for(i of input.items)": { "InputPath": "$.heap1[1:]", "Next": "hasNext__for(i of input.items)", "ResultPath": "$.heap1", @@ -8781,15 +8781,15 @@ Object { `; exports[`for i in items, items[i] 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(i in input.items)": Object { + "States": { + "1__for(i in input.items)": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -8797,17 +8797,17 @@ Object { }, }, "Next": "hasNext__for(i in input.items)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", "Type": "Map", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i in input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -8815,27 +8815,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = items[i]": Object { + "a = items[i]": { "InputPath": "$.0__i", "Next": "tail__for(i in input.items)", "ResultPath": "$.a", "Type": "Pass", }, - "assignValue__i": Object { + "assignValue__i": { "InputPath": "$.heap0[0].item", "Next": "a = items[i]", "ResultPath": "$.0__i", "Type": "Pass", }, - "for(i in input.items)": Object { + "for(i in input.items)": { "InputPath": "$.input.items", "Next": "1__for(i in input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(i in input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap0[0]", @@ -8844,19 +8844,19 @@ Object { "Default": "return null", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap0[0].index", "Next": "assignValue__i", "ResultPath": "$.i", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i in input.items)": Object { + "tail__for(i in input.items)": { "InputPath": "$.heap0[1:]", "Next": "hasNext__for(i in input.items)", "ResultPath": "$.heap0", @@ -8867,15 +8867,15 @@ Object { `; exports[`for return 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(i in input.items)": Object { + "States": { + "1__for(i in input.items)": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -8883,17 +8883,17 @@ Object { }, }, "Next": "hasNext__for(i in input.items)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", "Type": "Map", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i in input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -8901,27 +8901,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "assignValue__i": Object { + "assignValue__i": { "InputPath": "$.heap0[0].item", - "Next": "if(input.items[i] === \\"1\\")", + "Next": "if(input.items[i] === "1")", "ResultPath": "$.0__i", "Type": "Pass", }, - "for(i in input.items)": Object { + "for(i in input.items)": { "InputPath": "$.input.items", "Next": "1__for(i in input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "for(i of input.items)": Object { + "for(i of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(i of input.items)", "ResultPath": "$.heap1", "Type": "Pass", }, - "hasNext__for(i in input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i in input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i", "Variable": "$.heap0[0]", @@ -8930,50 +8930,50 @@ Object { "Default": "for(i of input.items)", "Type": "Choice", }, - "hasNext__for(i of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(i of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "i 1", "Variable": "$.heap1[0]", }, ], - "Default": "return \\"end\\"", + "Default": "return "end"", "Type": "Choice", }, - "i": Object { + "i": { "InputPath": "$.heap0[0].index", "Next": "assignValue__i", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "InputPath": "$.heap1[0]", - "Next": "if(i === \\"1\\")", + "Next": "if(i === "1")", "ResultPath": "$.i__1", "Type": "Pass", }, - "if(i === \\"1\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === "1")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.i__1", }, - Object { + { "StringEquals": "1", "Variable": "$.i__1", }, @@ -8988,27 +8988,27 @@ Object { "Default": "tail__for(i of input.items)", "Type": "Choice", }, - "if(input.items[i] === \\"1\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.items[i] === "1")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.0__i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.0__i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.0__i", }, - Object { + { "StringEquals": "1", "Variable": "$.0__i", }, @@ -9023,31 +9023,31 @@ Object { "Default": "tail__for(i in input.items)", "Type": "Choice", }, - "return \\"end\\"": Object { + "return "end"": { "End": true, "Result": "end", "ResultPath": "$", "Type": "Pass", }, - "return i": Object { + "return i": { "End": true, "InputPath": "$.i__1", "ResultPath": "$", "Type": "Pass", }, - "return input.items[i]": Object { + "return input.items[i]": { "End": true, "InputPath": "$.0__i", "ResultPath": "$", "Type": "Pass", }, - "tail__for(i in input.items)": Object { + "tail__for(i in input.items)": { "InputPath": "$.heap0[1:]", "Next": "hasNext__for(i in input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "tail__for(i of input.items)": Object { + "tail__for(i of input.items)": { "InputPath": "$.heap1[1:]", "Next": "hasNext__for(i of input.items)", "ResultPath": "$.heap1", @@ -9058,28 +9058,28 @@ Object { `; exports[`for(;;) empty 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(;;)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "body__for(;;)": Object { + "body__for(;;)": { "Next": "increment__for(;;)", "Type": "Pass", }, - "for(;;)": Object { + "for(;;)": { "Next": "body__for(;;)", "Type": "Pass", }, - "increment__for(;;)": Object { + "increment__for(;;)": { "Next": "for(;;)", "Type": "Pass", }, @@ -9088,30 +9088,30 @@ Object { `; exports[`for(;;) loop 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(i = 0;i < 3;i = if(i === 0))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "States": { + "1__for(i = 0;i < 3;i = if(i === 0))": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericLessThan": 3, "Variable": "$.i", }, @@ -9126,62 +9126,62 @@ Object { "Default": "return null", "Type": "Choice", }, - "1__if(i === 1)": Object { + "1__if(i === 1)": { "InputPath": "$.heap1", "Next": "i = if(i === 0) 1", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i = 0;i < 3;i = if(i === 0))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await task(i)": Object { + "await task(i)": { "InputPath": "$.i", "Next": "i = if(i === 0)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "false__if(i === 1)": Object { + "false__if(i === 1)": { "Next": "1__if(i === 1)", "Result": 3, "ResultPath": "$.heap1", "Type": "Pass", }, - "for(i = 0;i < 3;i = if(i === 0))": Object { + "for(i = 0;i < 3;i = if(i === 0))": { "Next": "1__for(i = 0;i < 3;i = if(i === 0))", "Result": 0, "ResultPath": "$.i", "Type": "Pass", }, - "i = if(i === 0)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "i = if(i === 0)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 0, "Variable": "$.i", }, @@ -9192,25 +9192,25 @@ Object { ], "Next": "true__i = if(i === 0)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 1, "Variable": "$.i", }, @@ -9225,25 +9225,25 @@ Object { "Default": "false__if(i === 1)", "Type": "Choice", }, - "i = if(i === 0) 1": Object { + "i = if(i === 0) 1": { "InputPath": "$.heap2", "Next": "1__for(i = 0;i < 3;i = if(i === 0))", "ResultPath": "$.i", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "true__i = if(i === 0)": Object { + "true__i = if(i === 0)": { "Next": "i = if(i === 0) 1", "Result": 1, "ResultPath": "$.heap2", "Type": "Pass", }, - "true__if(i === 1)": Object { + "true__if(i === 1)": { "Next": "1__if(i === 1)", "Result": 2, "ResultPath": "$.heap1", @@ -9254,12 +9254,12 @@ Object { `; exports[`for(;;) loop complex 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await task({i: i, j: j})": Object { + "States": { + "1__await task({i: i, j: j})": { "Next": "i = i.slice(1) , j = j.slice(1)", - "Parameters": Object { + "Parameters": { "i.$": "$.heap0", "j.$": "$.heap1", }, @@ -9267,44 +9267,44 @@ Object { "ResultPath": "$.heap2", "Type": "Task", }, - "1__await task({i: i, j: j}) 1": Object { + "1__await task({i: i, j: j}) 1": { "InputPath": "$.j", "Next": "1__await task({i: i, j: j})", "ResultPath": "$.heap1", "Type": "Pass", }, - "2__for(i = [1, 2],j = [3, 4];i[0];i = i.slice(1) , j = j.slice(1))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "2__for(i = [1, 2],j = [3, 4];i[0];i = i.slice(1) , j = j.slice(1))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i[0]", }, - Object { + { "IsNull": false, "Variable": "$.i[0]", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.i[0]", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.i[0]", }, - Object { + { "StringEquals": "", "Variable": "$.i[0]", }, @@ -9313,20 +9313,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i[0]", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.i[0]", }, - Object { + { "NumericEquals": 0, "Variable": "$.i[0]", }, @@ -9335,30 +9335,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.i[0]", }, - Object { + { "BooleanEquals": true, "Variable": "$.i[0]", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.i[0]", }, - Object { + { "IsNumeric": true, "Variable": "$.i[0]", }, - Object { + { "IsString": true, "Variable": "$.i[0]", }, @@ -9374,53 +9374,53 @@ Object { "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i = [1, 2],j = [3, 4];i[0];i = i.slice(1) , j = j.slice(1))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await task({i: i, j: j})": Object { + "await task({i: i, j: j})": { "InputPath": "$.i", "Next": "1__await task({i: i, j: j}) 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "for(i = [1, 2],j = [3, 4];i[0];i = i.slice(1) , j = j.slice(1))": Object { + "for(i = [1, 2],j = [3, 4];i[0];i = i.slice(1) , j = j.slice(1))": { "Next": "j", - "Result": Array [ + "Result": [ 1, 2, ], "ResultPath": "$.i", "Type": "Pass", }, - "i = i.slice(1) , j = j.slice(1)": Object { + "i = i.slice(1) , j = j.slice(1)": { "InputPath": "$.i[1:]", "Next": "j = j.slice(1)", "ResultPath": "$.i", "Type": "Pass", }, - "j": Object { + "j": { "Next": "2__for(i = [1, 2],j = [3, 4];i[0];i = i.slice(1) , j = j.slice(1))", - "Result": Array [ + "Result": [ 3, 4, ], "ResultPath": "$.j", "Type": "Pass", }, - "j = j.slice(1)": Object { + "j = j.slice(1)": { "InputPath": "$.j[1:]", "Next": "2__for(i = [1, 2],j = [3, 4];i[0];i = i.slice(1) , j = j.slice(1))", "ResultPath": "$.j", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -9431,32 +9431,32 @@ Object { `; exports[`for(;;) loop empty body 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(i = 0;i < 3;i = if(i === 0))": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "States": { + "1__for(i = 0;i < 3;i = if(i === 0))": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericLessThan": 3, "Variable": "$.i", }, @@ -9466,25 +9466,25 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 0, "Variable": "$.i", }, @@ -9497,27 +9497,27 @@ Object { ], "Next": "true__i = if(i === 0)", }, - Object { - "And": Array [ - Object { - "And": Array [ - Object { + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericLessThan": 3, "Variable": "$.i", }, @@ -9527,25 +9527,25 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 1, "Variable": "$.i", }, @@ -9558,25 +9558,25 @@ Object { ], "Next": "true__if(i === 1)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericLessThan": 3, "Variable": "$.i", }, @@ -9591,53 +9591,53 @@ Object { "Default": "return null", "Type": "Choice", }, - "1__if(i === 1)": Object { + "1__if(i === 1)": { "InputPath": "$.heap0", "Next": "i = if(i === 0) 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(i = 0;i < 3;i = if(i === 0))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "false__if(i === 1)": Object { + "false__if(i === 1)": { "Next": "1__if(i === 1)", "Result": 3, "ResultPath": "$.heap0", "Type": "Pass", }, - "for(i = 0;i < 3;i = if(i === 0))": Object { + "for(i = 0;i < 3;i = if(i === 0))": { "Next": "1__for(i = 0;i < 3;i = if(i === 0))", "Result": 0, "ResultPath": "$.i", "Type": "Pass", }, - "i = if(i === 0) 1": Object { + "i = if(i === 0) 1": { "InputPath": "$.heap1", "Next": "1__for(i = 0;i < 3;i = if(i === 0))", "ResultPath": "$.i", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "true__i = if(i === 0)": Object { + "true__i = if(i === 0)": { "Next": "i = if(i === 0) 1", "Result": 1, "ResultPath": "$.heap1", "Type": "Pass", }, - "true__if(i === 1)": Object { + "true__if(i === 1)": { "Next": "1__if(i === 1)", "Result": 2, "ResultPath": "$.heap0", @@ -9648,27 +9648,27 @@ Object { `; exports[`for(;;) no statement 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "await task()", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await task()": Object { + "await task()": { "InputPath": "$.fnl_context.null", "Next": "return null", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -9679,13 +9679,13 @@ Object { `; exports[`for-in-loop variable initializer 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(x of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -9693,15 +9693,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "for(x of input.items)": Object { + "for(x of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(x of input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(x of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(x of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "x", "Variable": "$.heap0[0]", @@ -9710,19 +9710,19 @@ Object { "Default": "return", "Type": "Choice", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return x": Object { + "return x": { "End": true, "InputPath": "$.x", "ResultPath": "$", "Type": "Pass", }, - "x": Object { + "x": { "InputPath": "$.heap0[0]", "Next": "return x", "ResultPath": "$.x", @@ -9733,13 +9733,13 @@ Object { `; exports[`for-loop and do nothing 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(item of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -9747,21 +9747,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = item": Object { + "a = item": { "InputPath": "$.item", "Next": "tail__for(item of input.items)", "ResultPath": "$.a", "Type": "Pass", }, - "for(item of input.items)": Object { + "for(item of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(item of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(item of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0[0]", @@ -9770,19 +9770,19 @@ Object { "Default": "return null", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap0[0]", "Next": "a = item", "ResultPath": "$.item", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(item of input.items)": Object { + "tail__for(item of input.items)": { "InputPath": "$.heap0[1:]", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", @@ -9793,28 +9793,28 @@ Object { `; exports[`for-loop inline array 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(item of [1, 2, 3])", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "a = item": Object { + "a = item": { "InputPath": "$.item", "Next": "tail__for(item of [1, 2, 3])", "ResultPath": "$.a", "Type": "Pass", }, - "for(item of [1, 2, 3])": Object { + "for(item of [1, 2, 3])": { "Next": "hasNext__for(item of [1, 2, 3])", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -9822,9 +9822,9 @@ Object { "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(item of [1, 2, 3])": Object { - "Choices": Array [ - Object { + "hasNext__for(item of [1, 2, 3])": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0[0]", @@ -9833,19 +9833,19 @@ Object { "Default": "return null", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap0[0]", "Next": "a = item", "ResultPath": "$.item", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(item of [1, 2, 3])": Object { + "tail__for(item of [1, 2, 3])": { "InputPath": "$.heap0[1:]", "Next": "hasNext__for(item of [1, 2, 3])", "ResultPath": "$.heap0", @@ -9856,12 +9856,12 @@ Object { `; exports[`for-loop over a list literal 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await computeScore({id: input.id, name: name})": Object { + "States": { + "1__await computeScore({id: input.id, name: name})": { "Next": "tail__for(name of people)", - "Parameters": Object { + "Parameters": { "id.$": "$.heap0", "name.$": "$.heap1", }, @@ -9869,16 +9869,16 @@ Object { "ResultPath": "$.heap2", "Type": "Task", }, - "1__await computeScore({id: input.id, name: name}) 1": Object { + "1__await computeScore({id: input.id, name: name}) 1": { "InputPath": "$.name", "Next": "1__await computeScore({id: input.id, name: name})", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "people = [\\"sam\\", \\"sam\\"]", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "people = ["sam", "sam"]", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -9886,21 +9886,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await computeScore({id: input.id, name: name})": Object { + "await computeScore({id: input.id, name: name})": { "InputPath": "$.input.id", "Next": "1__await computeScore({id: input.id, name: name}) 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "for(name of people)": Object { + "for(name of people)": { "InputPath": "$.people", "Next": "hasNext__for(name of people)", "ResultPath": "$.heap3", "Type": "Pass", }, - "hasNext__for(name of people)": Object { - "Choices": Array [ - Object { + "hasNext__for(name of people)": { + "Choices": [ + { "IsPresent": true, "Next": "name", "Variable": "$.heap3[0]", @@ -9909,28 +9909,28 @@ Object { "Default": "return null", "Type": "Choice", }, - "name": Object { + "name": { "InputPath": "$.heap3[0]", "Next": "await computeScore({id: input.id, name: name})", "ResultPath": "$.name", "Type": "Pass", }, - "people = [\\"sam\\", \\"sam\\"]": Object { + "people = ["sam", "sam"]": { "Next": "for(name of people)", - "Result": Array [ + "Result": [ "sam", "sam", ], "ResultPath": "$.people", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(name of people)": Object { + "tail__for(name of people)": { "InputPath": "$.heap3[1:]", "Next": "hasNext__for(name of people)", "ResultPath": "$.heap3", @@ -9941,18 +9941,18 @@ Object { `; exports[`for-of { try { task() } catch (err) { if(err) throw } finally { task() } } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__catch__try": Object { + "States": { + "1__catch__try": { "InputPath": "$.fnl_tmp_0.0_ParsedError", "Next": "catch(err)", "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "1__finally": Object { - "Choices": Array [ - Object { + "1__finally": { + "Choices": [ + { "IsPresent": true, "Next": "throw__1__finally", "Variable": "$.fnl_tmp_1", @@ -9961,10 +9961,10 @@ Object { "Default": "tail__for(item of input.items)", "Type": "Choice", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(item of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -9972,36 +9972,36 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch(err)": Object { + "catch(err)": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"you dun' goofed\\")", + "Next": "if(err.message === "you dun' goofed")", "ResultPath": "$.err", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "Next": "1__catch__try", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_0.Cause)", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "finally": Object { + "finally": { "Next": "1__finally", "Parameters": "2", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "for(item of input.items)": Object { + "for(item of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap2", "Type": "Pass", }, - "hasNext__for(item of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(item of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap2[0]", @@ -10010,27 +10010,27 @@ Object { "Default": "return null", "Type": "Choice", }, - "if(err.message === \\"you dun' goofed\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "you dun' goofed")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "you dun' goofed", "Variable": "$.err.message", }, @@ -10039,47 +10039,47 @@ Object { ], }, ], - "Next": "throw new Error(\\"little\\")", + "Next": "throw new Error("little")", }, ], "Default": "finally", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap2[0]", "Next": "try", "ResultPath": "$.item", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(item of input.items)": Object { + "tail__for(item of input.items)": { "InputPath": "$.heap2[1:]", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap2", "Type": "Pass", }, - "throw new Error(\\"little\\")": Object { + "throw new Error("little")": { "Next": "finally", - "Result": Object { + "Result": { "message": "little", }, "ResultPath": "$.fnl_tmp_1", "Type": "Pass", }, - "throw__1__finally": Object { + "throw__1__finally": { "Cause": "an error was re-thrown from a finally block which is unsupported by Step Functions", "Error": "ReThrowFromFinally", "Type": "Fail", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -10097,15 +10097,15 @@ Object { `; exports[`for-of-loop variable initializer 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(x in input.items)": Object { + "States": { + "1__for(x in input.items)": { "ItemsPath": "$.heap0", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -10113,17 +10113,17 @@ Object { }, }, "Next": "hasNext__for(x in input.items)", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", "Type": "Map", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(x in input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -10131,21 +10131,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "assignValue__x": Object { + "assignValue__x": { "InputPath": "$.heap0[0].item", "Next": "return x", "ResultPath": "$.0__x", "Type": "Pass", }, - "for(x in input.items)": Object { + "for(x in input.items)": { "InputPath": "$.input.items", "Next": "1__for(x in input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(x in input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(x in input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "x", "Variable": "$.heap0[0]", @@ -10154,19 +10154,19 @@ Object { "Default": "return", "Type": "Choice", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return x": Object { + "return x": { "End": true, "InputPath": "$.x", "ResultPath": "$", "Type": "Pass", }, - "x": Object { + "x": { "InputPath": "$.heap0[0].index", "Next": "assignValue__x", "ResultPath": "$.x", @@ -10177,121 +10177,121 @@ Object { `; exports[`iam policy for AWS.SDK.CloudWatch.describeAlarms 1`] = ` -Object { - "Mappings": Object { - "ServiceprincipalMap": Object { - "af-south-1": Object { +{ + "Mappings": { + "ServiceprincipalMap": { + "af-south-1": { "states": "states.af-south-1.amazonaws.com", }, - "ap-east-1": Object { + "ap-east-1": { "states": "states.ap-east-1.amazonaws.com", }, - "ap-northeast-1": Object { + "ap-northeast-1": { "states": "states.ap-northeast-1.amazonaws.com", }, - "ap-northeast-2": Object { + "ap-northeast-2": { "states": "states.ap-northeast-2.amazonaws.com", }, - "ap-northeast-3": Object { + "ap-northeast-3": { "states": "states.ap-northeast-3.amazonaws.com", }, - "ap-south-1": Object { + "ap-south-1": { "states": "states.ap-south-1.amazonaws.com", }, - "ap-southeast-1": Object { + "ap-southeast-1": { "states": "states.ap-southeast-1.amazonaws.com", }, - "ap-southeast-2": Object { + "ap-southeast-2": { "states": "states.ap-southeast-2.amazonaws.com", }, - "ap-southeast-3": Object { + "ap-southeast-3": { "states": "states.ap-southeast-3.amazonaws.com", }, - "ca-central-1": Object { + "ca-central-1": { "states": "states.ca-central-1.amazonaws.com", }, - "cn-north-1": Object { + "cn-north-1": { "states": "states.cn-north-1.amazonaws.com", }, - "cn-northwest-1": Object { + "cn-northwest-1": { "states": "states.cn-northwest-1.amazonaws.com", }, - "eu-central-1": Object { + "eu-central-1": { "states": "states.eu-central-1.amazonaws.com", }, - "eu-north-1": Object { + "eu-north-1": { "states": "states.eu-north-1.amazonaws.com", }, - "eu-south-1": Object { + "eu-south-1": { "states": "states.eu-south-1.amazonaws.com", }, - "eu-south-2": Object { + "eu-south-2": { "states": "states.eu-south-2.amazonaws.com", }, - "eu-west-1": Object { + "eu-west-1": { "states": "states.eu-west-1.amazonaws.com", }, - "eu-west-2": Object { + "eu-west-2": { "states": "states.eu-west-2.amazonaws.com", }, - "eu-west-3": Object { + "eu-west-3": { "states": "states.eu-west-3.amazonaws.com", }, - "me-south-1": Object { + "me-south-1": { "states": "states.me-south-1.amazonaws.com", }, - "sa-east-1": Object { + "sa-east-1": { "states": "states.sa-east-1.amazonaws.com", }, - "us-east-1": Object { + "us-east-1": { "states": "states.us-east-1.amazonaws.com", }, - "us-east-2": Object { + "us-east-2": { "states": "states.us-east-2.amazonaws.com", }, - "us-gov-east-1": Object { + "us-gov-east-1": { "states": "states.us-gov-east-1.amazonaws.com", }, - "us-gov-west-1": Object { + "us-gov-west-1": { "states": "states.us-gov-west-1.amazonaws.com", }, - "us-iso-east-1": Object { + "us-iso-east-1": { "states": "states.amazonaws.com", }, - "us-iso-west-1": Object { + "us-iso-west-1": { "states": "states.amazonaws.com", }, - "us-isob-east-1": Object { + "us-isob-east-1": { "states": "states.amazonaws.com", }, - "us-west-1": Object { + "us-west-1": { "states": "states.us-west-1.amazonaws.com", }, - "us-west-2": Object { + "us-west-2": { "states": "states.us-west-2.amazonaws.com", }, }, }, - "Parameters": Object { - "BootstrapVersion": Object { + "Parameters": { + "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", "Type": "AWS::SSM::Parameter::Value", }, }, - "Resources": Object { - "FC4345940": Object { - "DependsOn": Array [ + "Resources": { + "FC4345940": { + "DependsOn": [ "FServiceRole3AC82EE1", ], - "Properties": Object { - "Code": Object { + "Properties": { + "Code": { "ZipFile": "exports.handler = function() { return null; }", }, "FunctionName": "testFunction", "Handler": "index.handler", - "Role": Object { - "Fn::GetAtt": Array [ + "Role": { + "Fn::GetAtt": [ "FServiceRole3AC82EE1", "Arn", ], @@ -10300,27 +10300,27 @@ Object { }, "Type": "AWS::Lambda::Function", }, - "FServiceRole3AC82EE1": Object { - "Properties": Object { - "AssumeRolePolicyDocument": Object { - "Statement": Array [ - Object { + "FServiceRole3AC82EE1": { + "Properties": { + "AssumeRolePolicyDocument": { + "Statement": [ + { "Action": "sts:AssumeRole", "Effect": "Allow", - "Principal": Object { + "Principal": { "Service": "lambda.amazonaws.com", }, }, ], "Version": "2012-10-17", }, - "ManagedPolicyArns": Array [ - Object { - "Fn::Join": Array [ + "ManagedPolicyArns": [ + { + "Fn::Join": [ "", - Array [ + [ "arn:", - Object { + { "Ref": "AWS::Partition", }, ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", @@ -10331,22 +10331,22 @@ Object { }, "Type": "AWS::IAM::Role", }, - "TableCD117FA1": Object { + "TableCD117FA1": { "DeletionPolicy": "Retain", - "Properties": Object { - "AttributeDefinitions": Array [ - Object { + "Properties": { + "AttributeDefinitions": [ + { "AttributeName": "id", "AttributeType": "S", }, ], - "KeySchema": Array [ - Object { + "KeySchema": [ + { "AttributeName": "id", "KeyType": "HASH", }, ], - "ProvisionedThroughput": Object { + "ProvisionedThroughput": { "ReadCapacityUnits": 5, "WriteCapacityUnits": 5, }, @@ -10355,15 +10355,15 @@ Object { "Type": "AWS::DynamoDB::Table", "UpdateReplacePolicy": "Retain", }, - "fn5FF616E3": Object { - "DependsOn": Array [ + "fn5FF616E3": { + "DependsOn": [ "fnRoleDefaultPolicy4FB655BE", "fnRole50A611CF", ], - "Properties": Object { - "DefinitionString": "{\\"StartAt\\":\\"Initialize Functionless Context\\",\\"States\\":{\\"Initialize Functionless Context\\":{\\"Type\\":\\"Pass\\",\\"Parameters\\":{\\"fnl_context\\":{\\"null\\":null}},\\"ResultPath\\":\\"$\\",\\"Next\\":\\"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso\\"},\\"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso\\":{\\"Type\\":\\"Task\\",\\"Resource\\":\\"arn:aws:states:::aws-sdk:cloudwatch:describeAlarms\\",\\"Next\\":\\"MetricAlarms\\",\\"Parameters\\":{},\\"ResultPath\\":\\"$.heap0\\"},\\"MetricAlarms\\":{\\"Type\\":\\"Pass\\",\\"Next\\":\\"return MetricAlarms\\",\\"ResultPath\\":\\"$.MetricAlarms\\",\\"InputPath\\":\\"$.heap0['MetricAlarms']\\"},\\"return MetricAlarms\\":{\\"Type\\":\\"Pass\\",\\"End\\":true,\\"ResultPath\\":\\"$\\",\\"InputPath\\":\\"$.MetricAlarms\\"}}}", - "RoleArn": Object { - "Fn::GetAtt": Array [ + "Properties": { + "DefinitionString": "{"StartAt":"Initialize Functionless Context","States":{"Initialize Functionless Context":{"Type":"Pass","Parameters":{"fnl_context":{"null":null}},"ResultPath":"$","Next":"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso"},"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso":{"Type":"Task","Resource":"arn:aws:states:::aws-sdk:cloudwatch:describeAlarms","Next":"MetricAlarms","Parameters":{},"ResultPath":"$.heap0"},"MetricAlarms":{"Type":"Pass","Next":"return MetricAlarms","ResultPath":"$.MetricAlarms","InputPath":"$.heap0['MetricAlarms']"},"return MetricAlarms":{"Type":"Pass","End":true,"ResultPath":"$","InputPath":"$.MetricAlarms"}}}", + "RoleArn": { + "Fn::GetAtt": [ "fnRole50A611CF", "Arn", ], @@ -10372,18 +10372,18 @@ Object { }, "Type": "AWS::StepFunctions::StateMachine", }, - "fnRole50A611CF": Object { - "Properties": Object { - "AssumeRolePolicyDocument": Object { - "Statement": Array [ - Object { + "fnRole50A611CF": { + "Properties": { + "AssumeRolePolicyDocument": { + "Statement": [ + { "Action": "sts:AssumeRole", "Effect": "Allow", - "Principal": Object { - "Service": Object { - "Fn::FindInMap": Array [ + "Principal": { + "Service": { + "Fn::FindInMap": [ "ServiceprincipalMap", - Object { + { "Ref": "AWS::Region", }, "states", @@ -10397,11 +10397,11 @@ Object { }, "Type": "AWS::IAM::Role", }, - "fnRoleDefaultPolicy4FB655BE": Object { - "Properties": Object { - "PolicyDocument": Object { - "Statement": Array [ - Object { + "fnRoleDefaultPolicy4FB655BE": { + "Properties": { + "PolicyDocument": { + "Statement": [ + { "Action": "cloudwatch:DescribeAlarms", "Effect": "Allow", "Resource": "*", @@ -10410,8 +10410,8 @@ Object { "Version": "2012-10-17", }, "PolicyName": "fnRoleDefaultPolicy4FB655BE", - "Roles": Array [ - Object { + "Roles": [ + { "Ref": "fnRole50A611CF", }, ], @@ -10419,22 +10419,22 @@ Object { "Type": "AWS::IAM::Policy", }, }, - "Rules": Object { - "CheckBootstrapVersion": Object { - "Assertions": Array [ - Object { - "Assert": Object { - "Fn::Not": Array [ - Object { - "Fn::Contains": Array [ - Array [ + "Rules": { + "CheckBootstrapVersion": { + "Assertions": [ + { + "Assert": { + "Fn::Not": [ + { + "Fn::Contains": [ + [ "1", "2", "3", "4", "5", ], - Object { + { "Ref": "BootstrapVersion", }, ], @@ -10450,30 +10450,30 @@ Object { `; exports[`if (?? === typeof x) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__if_1__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "States": { + "1__if_1__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap0", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap0", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap0", }, - Object { + { "StringEquals": "undefined", "Variable": "$.heap0", }, @@ -10482,48 +10482,48 @@ Object { ], }, ], - "Next": "return \\"undefined\\"", + "Next": "return "undefined"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_2__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_2__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_2__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_2__if(input.id === undefined)", "Variable": "$.input.id", @@ -10532,27 +10532,27 @@ Object { "Default": "undefined__if_2__if(input.id === undefined)", "Type": "Choice", }, - "1__if_2__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "1__if_2__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap1", }, - Object { + { "StringEquals": "string", "Variable": "$.heap1", }, @@ -10561,48 +10561,48 @@ Object { ], }, ], - "Next": "return \\"string\\"", + "Next": "return "string"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_3__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_3__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_3__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_3__if(input.id === undefined)", "Variable": "$.input.id", @@ -10611,27 +10611,27 @@ Object { "Default": "undefined__if_3__if(input.id === undefined)", "Type": "Choice", }, - "1__if_3__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "1__if_3__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap2", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap2", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { + { "StringEquals": "boolean", "Variable": "$.heap2", }, @@ -10640,48 +10640,48 @@ Object { ], }, ], - "Next": "return \\"boolean\\"", + "Next": "return "boolean"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_4__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_4__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_4__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_4__if(input.id === undefined)", "Variable": "$.input.id", @@ -10690,27 +10690,27 @@ Object { "Default": "undefined__if_4__if(input.id === undefined)", "Type": "Choice", }, - "1__if_4__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "1__if_4__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap3", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap3", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap3", }, - Object { + { "StringEquals": "number", "Variable": "$.heap3", }, @@ -10719,48 +10719,48 @@ Object { ], }, ], - "Next": "return \\"number\\"", + "Next": "return "number"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_5__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_5__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_5__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_5__if(input.id === undefined)", "Variable": "$.input.id", @@ -10769,27 +10769,27 @@ Object { "Default": "undefined__if_5__if(input.id === undefined)", "Type": "Choice", }, - "1__if_5__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "1__if_5__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap4", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap4", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap4", }, - Object { + { "StringEquals": "bigint", "Variable": "$.heap4", }, @@ -10798,16 +10798,16 @@ Object { ], }, ], - "Next": "return \\"bigint\\"", + "Next": "return "bigint"", }, ], "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "if(input.id === undefined)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -10815,58 +10815,58 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "boolean__if_1__if(input.id === undefined)": Object { + "boolean__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap0", "Type": "Pass", }, - "boolean__if_2__if(input.id === undefined)": Object { + "boolean__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap1", "Type": "Pass", }, - "boolean__if_3__if(input.id === undefined)": Object { + "boolean__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap2", "Type": "Pass", }, - "boolean__if_4__if(input.id === undefined)": Object { + "boolean__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap3", "Type": "Pass", }, - "boolean__if_5__if(input.id === undefined)": Object { + "boolean__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap4", "Type": "Pass", }, - "if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "Next": "return \\"null\\"", - "Or": Array [ - Object { + "if(input.id === undefined)": { + "Choices": [ + { + "Next": "return "null"", + "Or": [ + { "IsPresent": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -10876,46 +10876,46 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_1__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_1__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_1__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_1__if(input.id === undefined)", "Variable": "$.input.id", @@ -10924,163 +10924,163 @@ Object { "Default": "undefined__if_1__if(input.id === undefined)", "Type": "Choice", }, - "number__if_1__if(input.id === undefined)": Object { + "number__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap0", "Type": "Pass", }, - "number__if_2__if(input.id === undefined)": Object { + "number__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap1", "Type": "Pass", }, - "number__if_3__if(input.id === undefined)": Object { + "number__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap2", "Type": "Pass", }, - "number__if_4__if(input.id === undefined)": Object { + "number__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap3", "Type": "Pass", }, - "number__if_5__if(input.id === undefined)": Object { + "number__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap4", "Type": "Pass", }, - "object__if_1__if(input.id === undefined)": Object { + "object__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap0", "Type": "Pass", }, - "object__if_2__if(input.id === undefined)": Object { + "object__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap1", "Type": "Pass", }, - "object__if_3__if(input.id === undefined)": Object { + "object__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap2", "Type": "Pass", }, - "object__if_4__if(input.id === undefined)": Object { + "object__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap3", "Type": "Pass", }, - "object__if_5__if(input.id === undefined)": Object { + "object__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap4", "Type": "Pass", }, - "return \\"bigint\\"": Object { + "return "bigint"": { "End": true, "Result": "bigint", "ResultPath": "$", "Type": "Pass", }, - "return \\"boolean\\"": Object { + "return "boolean"": { "End": true, "Result": "boolean", "ResultPath": "$", "Type": "Pass", }, - "return \\"null\\"": Object { + "return "null"": { "End": true, "Result": "null", "ResultPath": "$", "Type": "Pass", }, - "return \\"number\\"": Object { + "return "number"": { "End": true, "Result": "number", "ResultPath": "$", "Type": "Pass", }, - "return \\"string\\"": Object { + "return "string"": { "End": true, "Result": "string", "ResultPath": "$", "Type": "Pass", }, - "return \\"undefined\\"": Object { + "return "undefined"": { "End": true, "Result": "undefined", "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "string__if_1__if(input.id === undefined)": Object { + "string__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap0", "Type": "Pass", }, - "string__if_2__if(input.id === undefined)": Object { + "string__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap1", "Type": "Pass", }, - "string__if_3__if(input.id === undefined)": Object { + "string__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap2", "Type": "Pass", }, - "string__if_4__if(input.id === undefined)": Object { + "string__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap3", "Type": "Pass", }, - "string__if_5__if(input.id === undefined)": Object { + "string__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap4", "Type": "Pass", }, - "undefined__if_1__if(input.id === undefined)": Object { + "undefined__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap0", "Type": "Pass", }, - "undefined__if_2__if(input.id === undefined)": Object { + "undefined__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap1", "Type": "Pass", }, - "undefined__if_3__if(input.id === undefined)": Object { + "undefined__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap2", "Type": "Pass", }, - "undefined__if_4__if(input.id === undefined)": Object { + "undefined__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap3", "Type": "Pass", }, - "undefined__if_5__if(input.id === undefined)": Object { + "undefined__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap4", @@ -11091,30 +11091,30 @@ Object { `; exports[`if (typeof x === ??) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__if_1__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "States": { + "1__if_1__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap0", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap0", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap0", }, - Object { + { "StringEquals": "undefined", "Variable": "$.heap0", }, @@ -11123,48 +11123,48 @@ Object { ], }, ], - "Next": "return \\"undefined\\"", + "Next": "return "undefined"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_2__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_2__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_2__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_2__if(input.id === undefined)", "Variable": "$.input.id", @@ -11173,27 +11173,27 @@ Object { "Default": "undefined__if_2__if(input.id === undefined)", "Type": "Choice", }, - "1__if_2__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "1__if_2__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap1", }, - Object { + { "StringEquals": "string", "Variable": "$.heap1", }, @@ -11202,48 +11202,48 @@ Object { ], }, ], - "Next": "return \\"string\\"", + "Next": "return "string"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_3__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_3__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_3__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_3__if(input.id === undefined)", "Variable": "$.input.id", @@ -11252,27 +11252,27 @@ Object { "Default": "undefined__if_3__if(input.id === undefined)", "Type": "Choice", }, - "1__if_3__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "1__if_3__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap2", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap2", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap2", }, - Object { + { "StringEquals": "boolean", "Variable": "$.heap2", }, @@ -11281,48 +11281,48 @@ Object { ], }, ], - "Next": "return \\"boolean\\"", + "Next": "return "boolean"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_4__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_4__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_4__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_4__if(input.id === undefined)", "Variable": "$.input.id", @@ -11331,27 +11331,27 @@ Object { "Default": "undefined__if_4__if(input.id === undefined)", "Type": "Choice", }, - "1__if_4__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "1__if_4__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap3", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap3", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap3", }, - Object { + { "StringEquals": "number", "Variable": "$.heap3", }, @@ -11360,48 +11360,48 @@ Object { ], }, ], - "Next": "return \\"number\\"", + "Next": "return "number"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_5__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_5__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_5__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_5__if(input.id === undefined)", "Variable": "$.input.id", @@ -11410,27 +11410,27 @@ Object { "Default": "undefined__if_5__if(input.id === undefined)", "Type": "Choice", }, - "1__if_5__if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "1__if_5__if(input.id === undefined)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap4", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.heap4", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.heap4", }, - Object { + { "StringEquals": "bigint", "Variable": "$.heap4", }, @@ -11439,16 +11439,16 @@ Object { ], }, ], - "Next": "return \\"bigint\\"", + "Next": "return "bigint"", }, ], "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "if(input.id === undefined)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -11456,58 +11456,58 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "boolean__if_1__if(input.id === undefined)": Object { + "boolean__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap0", "Type": "Pass", }, - "boolean__if_2__if(input.id === undefined)": Object { + "boolean__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap1", "Type": "Pass", }, - "boolean__if_3__if(input.id === undefined)": Object { + "boolean__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap2", "Type": "Pass", }, - "boolean__if_4__if(input.id === undefined)": Object { + "boolean__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap3", "Type": "Pass", }, - "boolean__if_5__if(input.id === undefined)": Object { + "boolean__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "boolean", "ResultPath": "$.heap4", "Type": "Pass", }, - "if(input.id === undefined)": Object { - "Choices": Array [ - Object { - "Next": "return \\"null\\"", - "Or": Array [ - Object { + "if(input.id === undefined)": { + "Choices": [ + { + "Next": "return "null"", + "Or": [ + { "IsPresent": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -11517,46 +11517,46 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__if_1__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__if_1__if(input.id === undefined)", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__if_1__if(input.id === undefined)", }, - Object { + { "IsPresent": true, "Next": "object__if_1__if(input.id === undefined)", "Variable": "$.input.id", @@ -11565,163 +11565,163 @@ Object { "Default": "undefined__if_1__if(input.id === undefined)", "Type": "Choice", }, - "number__if_1__if(input.id === undefined)": Object { + "number__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap0", "Type": "Pass", }, - "number__if_2__if(input.id === undefined)": Object { + "number__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap1", "Type": "Pass", }, - "number__if_3__if(input.id === undefined)": Object { + "number__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap2", "Type": "Pass", }, - "number__if_4__if(input.id === undefined)": Object { + "number__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap3", "Type": "Pass", }, - "number__if_5__if(input.id === undefined)": Object { + "number__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "number", "ResultPath": "$.heap4", "Type": "Pass", }, - "object__if_1__if(input.id === undefined)": Object { + "object__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap0", "Type": "Pass", }, - "object__if_2__if(input.id === undefined)": Object { + "object__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap1", "Type": "Pass", }, - "object__if_3__if(input.id === undefined)": Object { + "object__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap2", "Type": "Pass", }, - "object__if_4__if(input.id === undefined)": Object { + "object__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap3", "Type": "Pass", }, - "object__if_5__if(input.id === undefined)": Object { + "object__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "object", "ResultPath": "$.heap4", "Type": "Pass", }, - "return \\"bigint\\"": Object { + "return "bigint"": { "End": true, "Result": "bigint", "ResultPath": "$", "Type": "Pass", }, - "return \\"boolean\\"": Object { + "return "boolean"": { "End": true, "Result": "boolean", "ResultPath": "$", "Type": "Pass", }, - "return \\"null\\"": Object { + "return "null"": { "End": true, "Result": "null", "ResultPath": "$", "Type": "Pass", }, - "return \\"number\\"": Object { + "return "number"": { "End": true, "Result": "number", "ResultPath": "$", "Type": "Pass", }, - "return \\"string\\"": Object { + "return "string"": { "End": true, "Result": "string", "ResultPath": "$", "Type": "Pass", }, - "return \\"undefined\\"": Object { + "return "undefined"": { "End": true, "Result": "undefined", "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "string__if_1__if(input.id === undefined)": Object { + "string__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap0", "Type": "Pass", }, - "string__if_2__if(input.id === undefined)": Object { + "string__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap1", "Type": "Pass", }, - "string__if_3__if(input.id === undefined)": Object { + "string__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap2", "Type": "Pass", }, - "string__if_4__if(input.id === undefined)": Object { + "string__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap3", "Type": "Pass", }, - "string__if_5__if(input.id === undefined)": Object { + "string__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "string", "ResultPath": "$.heap4", "Type": "Pass", }, - "undefined__if_1__if(input.id === undefined)": Object { + "undefined__if_1__if(input.id === undefined)": { "Next": "1__if_1__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap0", "Type": "Pass", }, - "undefined__if_2__if(input.id === undefined)": Object { + "undefined__if_2__if(input.id === undefined)": { "Next": "1__if_2__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap1", "Type": "Pass", }, - "undefined__if_3__if(input.id === undefined)": Object { + "undefined__if_3__if(input.id === undefined)": { "Next": "1__if_3__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap2", "Type": "Pass", }, - "undefined__if_4__if(input.id === undefined)": Object { + "undefined__if_4__if(input.id === undefined)": { "Next": "1__if_4__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap3", "Type": "Pass", }, - "undefined__if_5__if(input.id === undefined)": Object { + "undefined__if_5__if(input.id === undefined)": { "Next": "1__if_5__if(input.id === undefined)", "Result": "undefined", "ResultPath": "$.heap4", @@ -11732,37 +11732,37 @@ Object { `; exports[`if 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "if(true)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "if(true)": Object { - "Choices": Array [ - Object { + "if(true)": { + "Choices": [ + { "IsNull": false, - "Next": "return \\"yup\\"", + "Next": "return "yup"", "Variable": "$$.Execution.Id", }, ], - "Default": "return \\"noop\\"", + "Default": "return "noop"", "Type": "Choice", }, - "return \\"noop\\"": Object { + "return "noop"": { "End": true, "Result": "noop", "ResultPath": "$", "Type": "Pass", }, - "return \\"yup\\"": Object { + "return "yup"": { "End": true, "Result": "yup", "ResultPath": "$", @@ -11773,13 +11773,13 @@ Object { `; exports[`if else 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "if(input.val === \\"a\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "if(input.val === "a")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -11787,27 +11787,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(input.val === \\"a\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.val === "a")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.val", }, - Object { + { "StringEquals": "a", "Variable": "$.input.val", }, @@ -11816,19 +11816,19 @@ Object { ], }, ], - "Next": "return \\"yup\\"", + "Next": "return "yup"", }, ], - "Default": "return \\"noop\\"", + "Default": "return "noop"", "Type": "Choice", }, - "return \\"noop\\"": Object { + "return "noop"": { "End": true, "Result": "noop", "ResultPath": "$", "Type": "Pass", }, - "return \\"yup\\"": Object { + "return "yup"": { "End": true, "Result": "yup", "ResultPath": "$", @@ -11839,13 +11839,13 @@ Object { `; exports[`if if 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "if(input.val !== \\"a\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "if(input.val !== "a")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -11853,30 +11853,30 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(input.val !== \\"a\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "Not": Object { - "And": Array [ - Object { + "if(input.val !== "a")": { + "Choices": [ + { + "And": [ + { + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.val", }, - Object { + { "StringEquals": "a", "Variable": "$.input.val", }, @@ -11887,25 +11887,25 @@ Object { ], }, }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.val", }, - Object { + { "StringEquals": "b", "Variable": "$.input.val", }, @@ -11916,29 +11916,29 @@ Object { ], }, ], - "Next": "return \\"hullo\\"", + "Next": "return "hullo"", }, - Object { - "Next": "return \\"woop\\"", - "Not": Object { - "And": Array [ - Object { + { + "Next": "return "woop"", + "Not": { + "And": [ + { "IsPresent": true, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.val", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.val", }, - Object { + { "StringEquals": "a", "Variable": "$.input.val", }, @@ -11950,16 +11950,16 @@ Object { }, }, ], - "Default": "return \\"woop\\"", + "Default": "return "woop"", "Type": "Choice", }, - "return \\"hullo\\"": Object { + "return "hullo"": { "End": true, "Result": "hullo", "ResultPath": "$", "Type": "Pass", }, - "return \\"woop\\"": Object { + "return "woop"": { "End": true, "Result": "woop", "ResultPath": "$", @@ -11970,41 +11970,41 @@ Object { `; exports[`if invoke 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__if(await task())": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "States": { + "1__if(await task())": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap0", }, - Object { + { "IsNull": false, "Variable": "$.heap0", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.heap0", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.heap0", }, - Object { + { "StringEquals": "", "Variable": "$.heap0", }, @@ -12013,20 +12013,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.heap0", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.heap0", }, - Object { + { "NumericEquals": 0, "Variable": "$.heap0", }, @@ -12035,30 +12035,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.heap0", }, - Object { + { "BooleanEquals": true, "Variable": "$.heap0", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.heap0", }, - Object { + { "IsNumeric": true, "Variable": "$.heap0", }, - Object { + { "IsString": true, "Variable": "$.heap0", }, @@ -12068,36 +12068,36 @@ Object { ], }, ], - "Next": "return \\"hi\\"", + "Next": "return "hi"", }, ], - "Default": "return \\"woop\\"", + "Default": "return "woop"", "Type": "Choice", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "if(await task())", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "if(await task())": Object { + "if(await task())": { "InputPath": "$.fnl_context.null", "Next": "1__if(await task())", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "return \\"hi\\"": Object { + "return "hi"": { "End": true, "Result": "hi", "ResultPath": "$", "Type": "Pass", }, - "return \\"woop\\"": Object { + "return "woop"": { "End": true, "Result": "woop", "ResultPath": "$", @@ -12108,13 +12108,13 @@ Object { `; exports[`if-else 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "if(input.id === \\"hello\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "if(input.id === "hello")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -12122,27 +12122,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(input.id === \\"hello\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.id === "hello")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.id", }, @@ -12151,19 +12151,19 @@ Object { ], }, ], - "Next": "return \\"hello\\"", + "Next": "return "hello"", }, ], - "Default": "return \\"world\\"", + "Default": "return "world"", "Type": "Choice", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "return \\"world\\"": Object { + "return "world"": { "End": true, "Result": "world", "ResultPath": "$", @@ -12174,13 +12174,13 @@ Object { `; exports[`if-else-if 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "if(input.id === \\"hello\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "if(input.id === "hello")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -12188,27 +12188,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(input.id === \\"hello\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(input.id === "hello")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.id", }, @@ -12217,27 +12217,27 @@ Object { ], }, ], - "Next": "return \\"hello\\"", + "Next": "return "hello"", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "world", "Variable": "$.input.id", }, @@ -12246,25 +12246,25 @@ Object { ], }, ], - "Next": "return \\"world\\"", + "Next": "return "world"", }, ], "Default": "return", "Type": "Choice", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "return \\"world\\"": Object { + "return "world"": { "End": true, "Result": "world", "ResultPath": "$", @@ -12275,23 +12275,23 @@ Object { `; exports[`import from express state machine into machine 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "await machine({input: {id: \\"hi\\"}})", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "await machine({input: {id: "hi"}})", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await machine({input: {id: \\"hi\\"}})": Object { + "await machine({input: {id: "hi"}})": { "Next": "return null", - "Parameters": Object { - "Input": Object { + "Parameters": { + "Input": { "id": "hi", }, "StateMachineArn": "__REPLACED_TOKEN", @@ -12300,7 +12300,7 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -12311,23 +12311,23 @@ Object { `; exports[`import from state machine into state machine 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "await machine({input: {id: \\"hi\\"}})", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "await machine({input: {id: "hi"}})", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await machine({input: {id: \\"hi\\"}})": Object { + "await machine({input: {id: "hi"}})": { "Next": "return null", - "Parameters": Object { - "Input": Object { + "Parameters": { + "Input": { "id": "hi", }, "StateMachineArn": "__REPLACED_TOKEN", @@ -12336,7 +12336,7 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -12347,31 +12347,31 @@ Object { `; exports[`input.b ? task() : task(input) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__false__return if(input.b)": Object { + "States": { + "1__false__return if(input.b)": { "InputPath": "$.heap1", "Next": "1__return if(input.b)", "ResultPath": "$.heap2", "Type": "Pass", }, - "1__return if(input.b)": Object { + "1__return if(input.b)": { "End": true, "InputPath": "$.heap2", "ResultPath": "$", "Type": "Pass", }, - "1__true__return if(input.b)": Object { + "1__true__return if(input.b)": { "InputPath": "$.heap0", "Next": "1__return if(input.b)", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return if(input.b)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -12379,45 +12379,45 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__return if(input.b)": Object { + "false__return if(input.b)": { "InputPath": "$.input", "Next": "1__false__return if(input.b)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "return if(input.b)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "return if(input.b)": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.b", }, - Object { + { "IsNull": false, "Variable": "$.input.b", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.b", }, - Object { + { "StringEquals": "", "Variable": "$.input.b", }, @@ -12426,20 +12426,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.b", }, @@ -12448,30 +12448,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.b", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.b", }, - Object { + { "IsNumeric": true, "Variable": "$.input.b", }, - Object { + { "IsString": true, "Variable": "$.input.b", }, @@ -12487,7 +12487,7 @@ Object { "Default": "false__return if(input.b)", "Type": "Choice", }, - "true__return if(input.b)": Object { + "true__return if(input.b)": { "InputPath": "$.fnl_context.null", "Next": "1__true__return if(input.b)", "Resource": "__REPLACED_TOKEN", @@ -12499,19 +12499,19 @@ Object { `; exports[`input.list.map((item) => item).filter((item) => item.length > 2) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return input.list.map(function (item)).filter(function (item))": Object { + "States": { + "1__return input.list.map(function (item)).filter(function (item))": { "End": true, "InputPath": "$.heap0[?(@.length>2)]", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return input.list.map(function (item)).filter(function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -12519,9 +12519,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return input.list.map(function (item)).filter(function (item))": Object { - "Choices": Array [ - Object { + "check__return input.list.map(function (item)).filter(function (item))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -12530,45 +12530,45 @@ Object { "Default": "end__return input.list.map(function (item)).filter(function (item))", "Type": "Choice", }, - "end__return input.list.map(function (item)).filter(function (item))": Object { + "end__return input.list.map(function (item)).filter(function (item))": { "Next": "set__end__return input.list.map(function (item)).filter(function (item))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "handleResult__return input.list.map(function (item)).filter(function (item)": Object { + "handleResult__return input.list.map(function (item)).filter(function (item)": { "Next": "check__return input.list.map(function (item)).filter(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "return item", "ResultPath": "$.item", "Type": "Pass", }, - "return input.list.map(function (item)).filter(function (item))": Object { + "return input.list.map(function (item)).filter(function (item))": { "Next": "check__return input.list.map(function (item)).filter(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", "arrStr": "[null", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "return item": Object { + "return item": { "InputPath": "$.item", "Next": "handleResult__return input.list.map(function (item)).filter(function (item)", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "set__end__return input.list.map(function (item)).filter(function (item))": Object { + "set__end__return input.list.map(function (item)).filter(function (item))": { "InputPath": "$.heap0.result[1:]", "Next": "1__return input.list.map(function (item)).filter(function (item))", "ResultPath": "$.heap0", @@ -12579,186 +12579,186 @@ Object { `; exports[`let and set 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "a = null", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "a = \\"hello\\"": Object { - "Next": "a = \\"hello\\" + \\" world\\"", + "a = "hello"": { + "Next": "a = "hello" + " world"", "Result": "hello", "ResultPath": "$.a", "Type": "Pass", }, - "a = \\"hello\\" + \\" world\\"": Object { - "Next": "a = \\"hello\\" + 1", + "a = "hello" + " world"": { + "Next": "a = "hello" + 1", "Result": "hello world", "ResultPath": "$.a", "Type": "Pass", }, - "a = \\"hello\\" + 1": Object { - "Next": "a = 1 + \\"hello\\"", + "a = "hello" + 1": { + "Next": "a = 1 + "hello"", "Result": "hello1", "ResultPath": "$.a", "Type": "Pass", }, - "a = \\"hello\\" + [\\"world\\"]": Object { + "a = "hello" + ["world"]": { "Next": "return a", "Result": "helloworld", "ResultPath": "$.a", "Type": "Pass", }, - "a = \\"hello\\" + null": Object { + "a = "hello" + null": { "Next": "a = [null]", "Result": "hellonull", "ResultPath": "$.a", "Type": "Pass", }, - "a = \\"hello\\" + true": Object { - "Next": "a = false + \\"hello\\"", + "a = "hello" + true": { + "Next": "a = false + "hello"", "Result": "hellotrue", "ResultPath": "$.a", "Type": "Pass", }, - "a = \\"hello\\" + {place: \\"world\\"}": Object { - "Next": "a = \\"hello\\" + [\\"world\\"]", + "a = "hello" + {place: "world"}": { + "Next": "a = "hello" + ["world"]", "Result": "hello[object Object]", "ResultPath": "$.a", "Type": "Pass", }, - "a = -1": Object { + "a = -1": { "Next": "a = -100", "Result": -1, "ResultPath": "$.a", "Type": "Pass", }, - "a = -100": Object { + "a = -100": { "Next": "a = 1 + 2", "Result": -100, "ResultPath": "$.a", "Type": "Pass", }, - "a = 0": Object { + "a = 0": { "Next": "a = -1", "Result": 0, "ResultPath": "$.a", "Type": "Pass", }, - "a = 1 + \\"hello\\"": Object { - "Next": "a = \\"hello\\" + true", + "a = 1 + "hello"": { + "Next": "a = "hello" + true", "Result": "1hello", "ResultPath": "$.a", "Type": "Pass", }, - "a = 1 + 2": Object { - "Next": "a = \\"hello\\"", + "a = 1 + 2": { + "Next": "a = "hello"", "Result": 3, "ResultPath": "$.a", "Type": "Pass", }, - "a = [-1]": Object { + "a = [-1]": { "Next": "a = [true]", - "Result": Array [ + "Result": [ -1, ], "ResultPath": "$.a", "Type": "Pass", }, - "a = [1]": Object { + "a = [1]": { "Next": "a = [-1]", - "Result": Array [ + "Result": [ 1, ], "ResultPath": "$.a", "Type": "Pass", }, - "a = [null]": Object { + "a = [null]": { "Next": "a = [1]", - "Result": Array [ + "Result": [ null, ], "ResultPath": "$.a", "Type": "Pass", }, - "a = [true]": Object { - "Next": "a = [{key: \\"value\\"}]", - "Result": Array [ + "a = [true]": { + "Next": "a = [{key: "value"}]", + "Result": [ true, ], "ResultPath": "$.a", "Type": "Pass", }, - "a = [{key: \\"value\\"}]": Object { - "Next": "a = {key: \\"value\\"}", - "Result": Array [ - Object { + "a = [{key: "value"}]": { + "Next": "a = {key: "value"}", + "Result": [ + { "key": "value", }, ], "ResultPath": "$.a", "Type": "Pass", }, - "a = a": Object { + "a = a": { "InputPath": "$.a", - "Next": "a = \\"hello\\" + {place: \\"world\\"}", + "Next": "a = "hello" + {place: "world"}", "ResultPath": "$.a", "Type": "Pass", }, - "a = false": Object { + "a = false": { "Next": "a = 0", "Result": false, "ResultPath": "$.a", "Type": "Pass", }, - "a = false + \\"hello\\"": Object { - "Next": "a = null + \\"hello\\"", + "a = false + "hello"": { + "Next": "a = null + "hello"", "Result": "falsehello", "ResultPath": "$.a", "Type": "Pass", }, - "a = null": Object { + "a = null": { "InputPath": "$.fnl_context.null", "Next": "a = true", "ResultPath": "$.a", "Type": "Pass", }, - "a = null + \\"hello\\"": Object { - "Next": "a = \\"hello\\" + null", + "a = null + "hello"": { + "Next": "a = "hello" + null", "Result": "nullhello", "ResultPath": "$.a", "Type": "Pass", }, - "a = true": Object { + "a = true": { "Next": "a = false", "Result": true, "ResultPath": "$.a", "Type": "Pass", }, - "a = {1: \\"value\\"}": Object { + "a = {1: "value"}": { "Next": "a = a", - "Result": Object { + "Result": { "1": "value", }, "ResultPath": "$.a", "Type": "Pass", }, - "a = {key: \\"value\\"}": Object { - "Next": "a = {1: \\"value\\"}", - "Result": Object { + "a = {key: "value"}": { + "Next": "a = {1: "value"}", + "Result": { "key": "value", }, "ResultPath": "$.a", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", @@ -12769,103 +12769,103 @@ Object { `; exports[`let cond; do { cond = task() } while (cond) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "cond = await task()", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "cond = await task()": Object { - "Choices": Array [ - Object { + "cond = await task()": { + "Choices": [ + { "Next": "cond = await task() 1", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.cond", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.cond", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.cond", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.cond", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.cond", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.cond", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.cond", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.cond", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.cond", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.cond", }, @@ -12885,20 +12885,20 @@ Object { "Default": "return null", "Type": "Choice", }, - "cond = await task() 1": Object { + "cond = await task() 1": { "InputPath": "$.fnl_context.null", "Next": "cond = await task() 2", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "cond = await task() 2": Object { + "cond = await task() 2": { "InputPath": "$.heap0", "Next": "cond = await task()", "ResultPath": "$.cond", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -12909,26 +12909,26 @@ Object { `; exports[`let empty 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "a = \\"b\\"", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "a = "b"", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "a = \\"b\\"": Object { + "a = "b"": { "Next": "return a", "Result": "b", "ResultPath": "$.a", "Type": "Pass", }, - "return a": Object { + "return a": { "End": true, "InputPath": "$.a", "ResultPath": "$", @@ -12939,19 +12939,19 @@ Object { `; exports[`list.filter(item => item.length > 2).map(item => item) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return input.list.filter(function (item)).map(function (item))": Object { + "States": { + "1__return input.list.filter(function (item)).map(function (item))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return input.list.filter(function (item)).map(function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -12959,9 +12959,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return input.list.filter(function (item)).map(function (item))": Object { - "Choices": Array [ - Object { + "check__return input.list.filter(function (item)).map(function (item))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -12970,45 +12970,45 @@ Object { "Default": "end__return input.list.filter(function (item)).map(function (item))", "Type": "Choice", }, - "end__return input.list.filter(function (item)).map(function (item))": Object { + "end__return input.list.filter(function (item)).map(function (item))": { "Next": "set__end__return input.list.filter(function (item)).map(function (item))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "handleResult__return input.list.filter(function (item)).map(function (item)": Object { + "handleResult__return input.list.filter(function (item)).map(function (item)": { "Next": "check__return input.list.filter(function (item)).map(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "return item", "ResultPath": "$.item", "Type": "Pass", }, - "return input.list.filter(function (item)).map(function (item))": Object { + "return input.list.filter(function (item)).map(function (item))": { "Next": "check__return input.list.filter(function (item)).map(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list[?(@.length>2)]", "arrStr": "[null", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "return item": Object { + "return item": { "InputPath": "$.item", "Next": "handleResult__return input.list.filter(function (item)).map(function (item)", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "set__end__return input.list.filter(function (item)).map(function (item))": Object { + "set__end__return input.list.filter(function (item)).map(function (item))": { "InputPath": "$.heap0.result[1:]", "Next": "1__return input.list.filter(function (item)).map(function (item))", "ResultPath": "$.heap0", @@ -13019,25 +13019,25 @@ Object { `; exports[`list.filter(item => item.length > 2).map(item => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return Promise.all(input.list.filter(function (item)).map(function (item": Object { + "States": { + "1__return Promise.all(input.list.filter(function (item)).map(function (item": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "1__return task(item)": Object { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "handleResult__return Promise.all(input.list.filter(function (item)).map(fun", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return Promise.all(input.list.filter(function (item)).map(function (item)))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -13045,9 +13045,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return Promise.all(input.list.filter(function (item)).map(function (": Object { - "Choices": Array [ - Object { + "check__return Promise.all(input.list.filter(function (item)).map(function (": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -13056,46 +13056,46 @@ Object { "Default": "end__return Promise.all(input.list.filter(function (item)).map(function (it", "Type": "Choice", }, - "end__return Promise.all(input.list.filter(function (item)).map(function (it": Object { + "end__return Promise.all(input.list.filter(function (item)).map(function (it": { "Next": "set__end__return Promise.all(input.list.filter(function (item)).map(functio", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "handleResult__return Promise.all(input.list.filter(function (item)).map(fun": Object { + "handleResult__return Promise.all(input.list.filter(function (item)).map(fun": { "Next": "check__return Promise.all(input.list.filter(function (item)).map(function (", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "return task(item)", "ResultPath": "$.item", "Type": "Pass", }, - "return Promise.all(input.list.filter(function (item)).map(function (item)))": Object { + "return Promise.all(input.list.filter(function (item)).map(function (item)))": { "Next": "check__return Promise.all(input.list.filter(function (item)).map(function (", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list[?(@.length>2)]", "arrStr": "[null", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "set__end__return Promise.all(input.list.filter(function (item)).map(functio": Object { + "set__end__return Promise.all(input.list.filter(function (item)).map(functio": { "InputPath": "$.heap0.result[1:]", "Next": "1__return Promise.all(input.list.filter(function (item)).map(function (item", "ResultPath": "$.heap0", @@ -13106,25 +13106,25 @@ Object { `; exports[`list.forEach((item, i) => if (i == 0) task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return input.list.forEach(function (item,i))": Object { + "States": { + "1__return input.list.forEach(function (item,i))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "1__return task(item)": Object { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "tail__return input.list.forEach(function (item,i))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return input.list.forEach(function (item,i))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -13132,9 +13132,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return input.list.forEach(function (item,i))": Object { - "Choices": Array [ - Object { + "check__return input.list.forEach(function (item,i))": { + "Choices": [ + { "IsPresent": true, "Next": "function (item,i)", "Variable": "$.heap0.arr[0]", @@ -13143,45 +13143,45 @@ Object { "Default": "end__return input.list.forEach(function (item,i))", "Type": "Choice", }, - "end__return input.list.forEach(function (item,i))": Object { + "end__return input.list.forEach(function (item,i))": { "Next": "1__return input.list.forEach(function (item,i))", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "function (item,i)": Object { + "function (item,i)": { "InputPath": "$.heap0.arr[0].item", "Next": "i", "ResultPath": "$.item", "Type": "Pass", }, - "i": Object { + "i": { "InputPath": "$.heap0.arr[0].index", "Next": "if(i === 0)", "ResultPath": "$.i", "Type": "Pass", }, - "if(i === 0)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 0)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 0, "Variable": "$.i", }, @@ -13196,12 +13196,12 @@ Object { "Default": "return null", "Type": "Choice", }, - "return input.list.forEach(function (item,i))": Object { + "return input.list.forEach(function (item,i))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -13209,30 +13209,30 @@ Object { }, }, "Next": "check__return input.list.forEach(function (item,i))", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", }, "Type": "Map", }, - "return null": Object { + "return null": { "InputPath": "$.fnl_context.null", "Next": "tail__return input.list.forEach(function (item,i))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "tail__return input.list.forEach(function (item,i))": Object { + "tail__return input.list.forEach(function (item,i))": { "InputPath": "$.heap0.arr[1:]", "Next": "check__return input.list.forEach(function (item,i))", "ResultPath": "$.heap0.arr", @@ -13243,31 +13243,31 @@ Object { `; exports[`list.forEach((item, i, list) => if (i == 0) task(item) else task(list[0])) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return input.list.forEach(function (item,i))": Object { + "States": { + "1__return input.list.forEach(function (item,i))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "1__return task(input.list[0])": Object { + "1__return task(input.list[0])": { "InputPath": "$.heap2", "Next": "tail__return input.list.forEach(function (item,i))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "1__return task(item)": Object { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "tail__return input.list.forEach(function (item,i))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return input.list.forEach(function (item,i))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -13275,9 +13275,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return input.list.forEach(function (item,i))": Object { - "Choices": Array [ - Object { + "check__return input.list.forEach(function (item,i))": { + "Choices": [ + { "IsPresent": true, "Next": "function (item,i)", "Variable": "$.heap0.arr[0]", @@ -13286,45 +13286,45 @@ Object { "Default": "end__return input.list.forEach(function (item,i))", "Type": "Choice", }, - "end__return input.list.forEach(function (item,i))": Object { + "end__return input.list.forEach(function (item,i))": { "Next": "1__return input.list.forEach(function (item,i))", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "function (item,i)": Object { + "function (item,i)": { "InputPath": "$.heap0.arr[0].item", "Next": "i", "ResultPath": "$.item", "Type": "Pass", }, - "i": Object { + "i": { "InputPath": "$.heap0.arr[0].index", "Next": "if(i === 0)", "ResultPath": "$.i", "Type": "Pass", }, - "if(i === 0)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 0)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 0, "Variable": "$.i", }, @@ -13339,12 +13339,12 @@ Object { "Default": "return task(input.list[0])", "Type": "Choice", }, - "return input.list.forEach(function (item,i))": Object { + "return input.list.forEach(function (item,i))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -13352,31 +13352,31 @@ Object { }, }, "Next": "check__return input.list.forEach(function (item,i))", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", }, "Type": "Map", }, - "return task(input.list[0])": Object { + "return task(input.list[0])": { "InputPath": "$.input.list[0]", "Next": "1__return task(input.list[0])", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap2", "Type": "Task", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "tail__return input.list.forEach(function (item,i))": Object { + "tail__return input.list.forEach(function (item,i))": { "InputPath": "$.heap0.arr[1:]", "Next": "check__return input.list.forEach(function (item,i))", "ResultPath": "$.heap0.arr", @@ -13387,13 +13387,13 @@ Object { `; exports[`list.forEach(item => ) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -13401,35 +13401,35 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { + "a = """: { "Next": "input.list.forEach(function (item))", "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = aitem": Object { + "a = aitem": { "InputPath": "$.a", "Next": "item 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "a = aitem 1": Object { + "a = aitem 1": { "InputPath": "$.heap3.string", "Next": "return null 1", "ResultPath": "$.a", "Type": "Pass", }, - "aitem": Object { + "aitem": { "Next": "a = aitem 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap1,$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "check__input.list.forEach(function (item))": Object { - "Choices": Array [ - Object { + "check__input.list.forEach(function (item))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -13438,45 +13438,45 @@ Object { "Default": "end__input.list.forEach(function (item))", "Type": "Choice", }, - "end__input.list.forEach(function (item))": Object { + "end__input.list.forEach(function (item))": { "Next": "return null", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "input.list.forEach(function (item))": Object { + "input.list.forEach(function (item))": { "Next": "check__input.list.forEach(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "a = aitem", "ResultPath": "$.item", "Type": "Pass", }, - "item 1": Object { + "item 1": { "InputPath": "$.item", "Next": "aitem", "ResultPath": "$.heap2", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return null 1": Object { + "return null 1": { "InputPath": "$.fnl_context.null", "Next": "tail__input.list.forEach(function (item))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "tail__input.list.forEach(function (item))": Object { + "tail__input.list.forEach(function (item))": { "InputPath": "$.heap0.arr[1:]", "Next": "check__input.list.forEach(function (item))", "ResultPath": "$.heap0.arr", @@ -13487,25 +13487,25 @@ Object { `; exports[`list.forEach(item => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return input.list.forEach(function (item))": Object { + "States": { + "1__return input.list.forEach(function (item))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "1__return task(item)": Object { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "tail__return input.list.forEach(function (item))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return input.list.forEach(function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -13513,9 +13513,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return input.list.forEach(function (item))": Object { - "Choices": Array [ - Object { + "check__return input.list.forEach(function (item))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -13524,34 +13524,34 @@ Object { "Default": "end__return input.list.forEach(function (item))", "Type": "Choice", }, - "end__return input.list.forEach(function (item))": Object { + "end__return input.list.forEach(function (item))": { "Next": "1__return input.list.forEach(function (item))", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "return task(item)", "ResultPath": "$.item", "Type": "Pass", }, - "return input.list.forEach(function (item))": Object { + "return input.list.forEach(function (item))": { "Next": "check__return input.list.forEach(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "tail__return input.list.forEach(function (item))": Object { + "tail__return input.list.forEach(function (item))": { "InputPath": "$.heap0.arr[1:]", "Next": "check__return input.list.forEach(function (item))", "ResultPath": "$.heap0.arr", @@ -13562,25 +13562,25 @@ Object { `; exports[`list.map((item, i) => if (i == 0) task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return Promise.all(input.list.map(function (item,i)))": Object { + "States": { + "1__return Promise.all(input.list.map(function (item,i)))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "1__return task(item)": Object { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "handleResult__return Promise.all(input.list.map(function (item,i)))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return Promise.all(input.list.map(function (item,i)))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -13588,9 +13588,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return Promise.all(input.list.map(function (item,i)))": Object { - "Choices": Array [ - Object { + "check__return Promise.all(input.list.map(function (item,i)))": { + "Choices": [ + { "IsPresent": true, "Next": "function (item,i)", "Variable": "$.heap0.arr[0]", @@ -13599,56 +13599,56 @@ Object { "Default": "end__return Promise.all(input.list.map(function (item,i)))", "Type": "Choice", }, - "end__return Promise.all(input.list.map(function (item,i)))": Object { + "end__return Promise.all(input.list.map(function (item,i)))": { "Next": "set__end__return Promise.all(input.list.map(function (item,i)))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "function (item,i)": Object { + "function (item,i)": { "InputPath": "$.heap0.arr[0].item", "Next": "i", "ResultPath": "$.item", "Type": "Pass", }, - "handleResult__return Promise.all(input.list.map(function (item,i)))": Object { + "handleResult__return Promise.all(input.list.map(function (item,i)))": { "Next": "check__return Promise.all(input.list.map(function (item,i)))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "i": Object { + "i": { "InputPath": "$.heap0.arr[0].index", "Next": "if(i === 0)", "ResultPath": "$.i", "Type": "Pass", }, - "if(i === 0)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 0)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 0, "Variable": "$.i", }, @@ -13663,12 +13663,12 @@ Object { "Default": "return null", "Type": "Choice", }, - "return Promise.all(input.list.map(function (item,i)))": Object { + "return Promise.all(input.list.map(function (item,i)))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -13676,31 +13676,31 @@ Object { }, }, "Next": "check__return Promise.all(input.list.map(function (item,i)))", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", "arrStr": "[null", }, "Type": "Map", }, - "return null": Object { + "return null": { "InputPath": "$.fnl_context.null", "Next": "handleResult__return Promise.all(input.list.map(function (item,i)))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "set__end__return Promise.all(input.list.map(function (item,i)))": Object { + "set__end__return Promise.all(input.list.map(function (item,i)))": { "InputPath": "$.heap0.result[1:]", "Next": "1__return Promise.all(input.list.map(function (item,i)))", "ResultPath": "$.heap0", @@ -13711,31 +13711,31 @@ Object { `; exports[`list.map((item, i, list) => if (i == 0) task(item) else task(list[0])) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return Promise.all(input.list.map(function (item,i)))": Object { + "States": { + "1__return Promise.all(input.list.map(function (item,i)))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "1__return task(input.list[0])": Object { + "1__return task(input.list[0])": { "InputPath": "$.heap2", "Next": "handleResult__return Promise.all(input.list.map(function (item,i)))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "1__return task(item)": Object { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "handleResult__return Promise.all(input.list.map(function (item,i)))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return Promise.all(input.list.map(function (item,i)))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -13743,9 +13743,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return Promise.all(input.list.map(function (item,i)))": Object { - "Choices": Array [ - Object { + "check__return Promise.all(input.list.map(function (item,i)))": { + "Choices": [ + { "IsPresent": true, "Next": "function (item,i)", "Variable": "$.heap0.arr[0]", @@ -13754,56 +13754,56 @@ Object { "Default": "end__return Promise.all(input.list.map(function (item,i)))", "Type": "Choice", }, - "end__return Promise.all(input.list.map(function (item,i)))": Object { + "end__return Promise.all(input.list.map(function (item,i)))": { "Next": "set__end__return Promise.all(input.list.map(function (item,i)))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "function (item,i)": Object { + "function (item,i)": { "InputPath": "$.heap0.arr[0].item", "Next": "i", "ResultPath": "$.item", "Type": "Pass", }, - "handleResult__return Promise.all(input.list.map(function (item,i)))": Object { + "handleResult__return Promise.all(input.list.map(function (item,i)))": { "Next": "check__return Promise.all(input.list.map(function (item,i)))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "i": Object { + "i": { "InputPath": "$.heap0.arr[0].index", "Next": "if(i === 0)", "ResultPath": "$.i", "Type": "Pass", }, - "if(i === 0)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(i === 0)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.i", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.i", }, - Object { + { "NumericEquals": 0, "Variable": "$.i", }, @@ -13818,12 +13818,12 @@ Object { "Default": "return task(input.list[0])", "Type": "Choice", }, - "return Promise.all(input.list.map(function (item,i)))": Object { + "return Promise.all(input.list.map(function (item,i)))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -13831,32 +13831,32 @@ Object { }, }, "Next": "check__return Promise.all(input.list.map(function (item,i)))", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", "arrStr": "[null", }, "Type": "Map", }, - "return task(input.list[0])": Object { + "return task(input.list[0])": { "InputPath": "$.input.list[0]", "Next": "1__return task(input.list[0])", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap2", "Type": "Task", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "set__end__return Promise.all(input.list.map(function (item,i)))": Object { + "set__end__return Promise.all(input.list.map(function (item,i)))": { "InputPath": "$.heap0.result[1:]", "Next": "1__return Promise.all(input.list.map(function (item,i)))", "ResultPath": "$.heap0", @@ -13867,25 +13867,25 @@ Object { `; exports[`list.map(item => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return Promise.all(input.list.map(function (item)))": Object { + "States": { + "1__return Promise.all(input.list.map(function (item)))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "1__return task(item)": Object { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "handleResult__return Promise.all(input.list.map(function (item)))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return Promise.all(input.list.map(function (item)))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -13893,9 +13893,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "check__return Promise.all(input.list.map(function (item)))": Object { - "Choices": Array [ - Object { + "check__return Promise.all(input.list.map(function (item)))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -13904,46 +13904,46 @@ Object { "Default": "end__return Promise.all(input.list.map(function (item)))", "Type": "Choice", }, - "end__return Promise.all(input.list.map(function (item)))": Object { + "end__return Promise.all(input.list.map(function (item)))": { "Next": "set__end__return Promise.all(input.list.map(function (item)))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "handleResult__return Promise.all(input.list.map(function (item)))": Object { + "handleResult__return Promise.all(input.list.map(function (item)))": { "Next": "check__return Promise.all(input.list.map(function (item)))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "return task(item)", "ResultPath": "$.item", "Type": "Pass", }, - "return Promise.all(input.list.map(function (item)))": Object { + "return Promise.all(input.list.map(function (item)))": { "Next": "check__return Promise.all(input.list.map(function (item)))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", "arrStr": "[null", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "set__end__return Promise.all(input.list.map(function (item)))": Object { + "set__end__return Promise.all(input.list.map(function (item)))": { "InputPath": "$.heap0.result[1:]", "Next": "1__return Promise.all(input.list.map(function (item)))", "ResultPath": "$.heap0", @@ -13954,35 +13954,35 @@ Object { `; exports[`nested try-catch 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { - "Cause": "{\\"message\\":\\"error3\\"}", + "catch__try": { + "Cause": "{"message":"error3"}", "Error": "Error", "Type": "Fail", }, - "catch__try 1": Object { + "catch__try 1": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "error2", }, "ResultPath": null, "Type": "Pass", }, - "try": Object { + "try": { "Next": "catch__try 1", - "Result": Object { + "Result": { "message": "error1", }, "ResultPath": null, @@ -13993,58 +13993,58 @@ Object { `; exports[`non-literal params AWS.SDK.CloudWatch.deleteAlarms 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(fun": Object { + "States": { + "1__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(fun": { "Next": "return null", - "Parameters": Object { + "Parameters": { "AlarmNames.$": "$.heap2", }, "Resource": "arn:aws:states:::aws-sdk:cloudwatch:deleteAlarms", "ResultPath": "$.heap3", "Type": "Task", }, - "1__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(fun 1": Object { + "1__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(fun 1": { "InputPath": "$.heap1", "Next": "1__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(fun", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "MetricAlarms": Object { + "MetricAlarms": { "InputPath": "$.heap0['MetricAlarms']", "Next": "if(MetricAlarms === undefined)", "ResultPath": "$.MetricAlarms", "Type": "Pass", }, - "a": Object { + "a": { "InputPath": "$.heap1.arr[0]", "Next": "return a.AlarmName", "ResultPath": "$.a", "Type": "Pass", }, - "await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(functi": Object { + "await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(functi": { "Next": "check__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map", - "Parameters": Object { + "Parameters": { "arr.$": "$.MetricAlarms", "arrStr": "[null", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "check__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map": Object { - "Choices": Array [ - Object { + "check__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map": { + "Choices": [ + { "IsPresent": true, "Next": "a", "Variable": "$.heap1.arr[0]", @@ -14053,45 +14053,45 @@ Object { "Default": "end__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(f", "Type": "Choice", }, - "end__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(f": Object { + "end__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(f": { "Next": "set__end__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap1.arrStr))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "handleResult__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAla": Object { + "handleResult__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAla": { "Next": "check__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap1.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap1.arrStr, States.JsonToString($.heap1.arr[0]))", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "if(MetricAlarms === undefined)": Object { - "Choices": Array [ - Object { + "if(MetricAlarms === undefined)": { + "Choices": [ + { "Next": "return", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.MetricAlarms", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.MetricAlarms", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.MetricAlarms", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -14105,33 +14105,33 @@ Object { "Default": "await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(functi", "Type": "Choice", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return a.AlarmName": Object { + "return a.AlarmName": { "InputPath": "$.a.AlarmName", "Next": "handleResult__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAla", "ResultPath": "$.heap1.arr[0]", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "set__end__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.": Object { + "set__end__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.": { "InputPath": "$.heap1.result[1:]", "Next": "1__await $AWS.SDK.CloudWatch.deleteAlarms({AlarmNames: MetricAlarms.map(fun 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso": Object { + "{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso": { "Next": "MetricAlarms", - "Parameters": Object {}, + "Parameters": {}, "Resource": "arn:aws:states:::aws-sdk:cloudwatch:describeAlarms", "ResultPath": "$.heap0", "Type": "Task", @@ -14141,27 +14141,27 @@ Object { `; exports[`null coalesce logic 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {null: input.a ?? input.b}": Object { + "States": { + "1__return {null: input.a ?? input.b}": { "End": true, - "Parameters": Object { + "Parameters": { "null.$": "$.heap1", }, "ResultPath": "$", "Type": "Pass", }, - "1__return {null: input.a ?? input.b} 1": Object { + "1__return {null: input.a ?? input.b} 1": { "InputPath": "$.heap0", "Next": "1__return {null: input.a ?? input.b}", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return {null: input.a ?? input.b}", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -14169,21 +14169,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__return {null: input.a ?? input.b}": Object { + "false__return {null: input.a ?? input.b}": { "InputPath": "$.input.b", "Next": "1__return {null: input.a ?? input.b} 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "return {null: input.a ?? input.b}": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return {null: input.a ?? input.b}": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.a", }, - Object { + { "IsNull": false, "Variable": "$.input.a", }, @@ -14194,7 +14194,7 @@ Object { "Default": "false__return {null: input.a ?? input.b}", "Type": "Choice", }, - "true__return {null: input.a ?? input.b}": Object { + "true__return {null: input.a ?? input.b}": { "InputPath": "$.input.a", "Next": "1__return {null: input.a ?? input.b} 1", "ResultPath": "$.heap0", @@ -14205,34 +14205,34 @@ Object { `; exports[`overwrite aslServiceName AWS.SDK.CloudWatch.describeAlarms 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "MetricAlarms": Object { + "MetricAlarms": { "InputPath": "$.heap0['MetricAlarms']", "Next": "return MetricAlarms", "ResultPath": "$.MetricAlarms", "Type": "Pass", }, - "return MetricAlarms": Object { + "return MetricAlarms": { "End": true, "InputPath": "$.MetricAlarms", "ResultPath": "$", "Type": "Pass", }, - "{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso": Object { + "{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso": { "Next": "MetricAlarms", - "Parameters": Object {}, + "Parameters": {}, "Resource": "arn:aws:states:::aws-sdk:cw:describeAlarms", "ResultPath": "$.heap0", "Type": "Task", @@ -14242,121 +14242,121 @@ Object { `; exports[`overwrite iamActions AWS.SDK.CloudWatch.describeAlarms 1`] = ` -Object { - "Mappings": Object { - "ServiceprincipalMap": Object { - "af-south-1": Object { +{ + "Mappings": { + "ServiceprincipalMap": { + "af-south-1": { "states": "states.af-south-1.amazonaws.com", }, - "ap-east-1": Object { + "ap-east-1": { "states": "states.ap-east-1.amazonaws.com", }, - "ap-northeast-1": Object { + "ap-northeast-1": { "states": "states.ap-northeast-1.amazonaws.com", }, - "ap-northeast-2": Object { + "ap-northeast-2": { "states": "states.ap-northeast-2.amazonaws.com", }, - "ap-northeast-3": Object { + "ap-northeast-3": { "states": "states.ap-northeast-3.amazonaws.com", }, - "ap-south-1": Object { + "ap-south-1": { "states": "states.ap-south-1.amazonaws.com", }, - "ap-southeast-1": Object { + "ap-southeast-1": { "states": "states.ap-southeast-1.amazonaws.com", }, - "ap-southeast-2": Object { + "ap-southeast-2": { "states": "states.ap-southeast-2.amazonaws.com", }, - "ap-southeast-3": Object { + "ap-southeast-3": { "states": "states.ap-southeast-3.amazonaws.com", }, - "ca-central-1": Object { + "ca-central-1": { "states": "states.ca-central-1.amazonaws.com", }, - "cn-north-1": Object { + "cn-north-1": { "states": "states.cn-north-1.amazonaws.com", }, - "cn-northwest-1": Object { + "cn-northwest-1": { "states": "states.cn-northwest-1.amazonaws.com", }, - "eu-central-1": Object { + "eu-central-1": { "states": "states.eu-central-1.amazonaws.com", }, - "eu-north-1": Object { + "eu-north-1": { "states": "states.eu-north-1.amazonaws.com", }, - "eu-south-1": Object { + "eu-south-1": { "states": "states.eu-south-1.amazonaws.com", }, - "eu-south-2": Object { + "eu-south-2": { "states": "states.eu-south-2.amazonaws.com", }, - "eu-west-1": Object { + "eu-west-1": { "states": "states.eu-west-1.amazonaws.com", }, - "eu-west-2": Object { + "eu-west-2": { "states": "states.eu-west-2.amazonaws.com", }, - "eu-west-3": Object { + "eu-west-3": { "states": "states.eu-west-3.amazonaws.com", }, - "me-south-1": Object { + "me-south-1": { "states": "states.me-south-1.amazonaws.com", }, - "sa-east-1": Object { + "sa-east-1": { "states": "states.sa-east-1.amazonaws.com", }, - "us-east-1": Object { + "us-east-1": { "states": "states.us-east-1.amazonaws.com", }, - "us-east-2": Object { + "us-east-2": { "states": "states.us-east-2.amazonaws.com", }, - "us-gov-east-1": Object { + "us-gov-east-1": { "states": "states.us-gov-east-1.amazonaws.com", }, - "us-gov-west-1": Object { + "us-gov-west-1": { "states": "states.us-gov-west-1.amazonaws.com", }, - "us-iso-east-1": Object { + "us-iso-east-1": { "states": "states.amazonaws.com", }, - "us-iso-west-1": Object { + "us-iso-west-1": { "states": "states.amazonaws.com", }, - "us-isob-east-1": Object { + "us-isob-east-1": { "states": "states.amazonaws.com", }, - "us-west-1": Object { + "us-west-1": { "states": "states.us-west-1.amazonaws.com", }, - "us-west-2": Object { + "us-west-2": { "states": "states.us-west-2.amazonaws.com", }, }, }, - "Parameters": Object { - "BootstrapVersion": Object { + "Parameters": { + "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", "Type": "AWS::SSM::Parameter::Value", }, }, - "Resources": Object { - "FC4345940": Object { - "DependsOn": Array [ + "Resources": { + "FC4345940": { + "DependsOn": [ "FServiceRole3AC82EE1", ], - "Properties": Object { - "Code": Object { + "Properties": { + "Code": { "ZipFile": "exports.handler = function() { return null; }", }, "FunctionName": "testFunction", "Handler": "index.handler", - "Role": Object { - "Fn::GetAtt": Array [ + "Role": { + "Fn::GetAtt": [ "FServiceRole3AC82EE1", "Arn", ], @@ -14365,27 +14365,27 @@ Object { }, "Type": "AWS::Lambda::Function", }, - "FServiceRole3AC82EE1": Object { - "Properties": Object { - "AssumeRolePolicyDocument": Object { - "Statement": Array [ - Object { + "FServiceRole3AC82EE1": { + "Properties": { + "AssumeRolePolicyDocument": { + "Statement": [ + { "Action": "sts:AssumeRole", "Effect": "Allow", - "Principal": Object { + "Principal": { "Service": "lambda.amazonaws.com", }, }, ], "Version": "2012-10-17", }, - "ManagedPolicyArns": Array [ - Object { - "Fn::Join": Array [ + "ManagedPolicyArns": [ + { + "Fn::Join": [ "", - Array [ + [ "arn:", - Object { + { "Ref": "AWS::Partition", }, ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", @@ -14396,22 +14396,22 @@ Object { }, "Type": "AWS::IAM::Role", }, - "TableCD117FA1": Object { + "TableCD117FA1": { "DeletionPolicy": "Retain", - "Properties": Object { - "AttributeDefinitions": Array [ - Object { + "Properties": { + "AttributeDefinitions": [ + { "AttributeName": "id", "AttributeType": "S", }, ], - "KeySchema": Array [ - Object { + "KeySchema": [ + { "AttributeName": "id", "KeyType": "HASH", }, ], - "ProvisionedThroughput": Object { + "ProvisionedThroughput": { "ReadCapacityUnits": 5, "WriteCapacityUnits": 5, }, @@ -14420,15 +14420,15 @@ Object { "Type": "AWS::DynamoDB::Table", "UpdateReplacePolicy": "Retain", }, - "fn5FF616E3": Object { - "DependsOn": Array [ + "fn5FF616E3": { + "DependsOn": [ "fnRoleDefaultPolicy4FB655BE", "fnRole50A611CF", ], - "Properties": Object { - "DefinitionString": "{\\"StartAt\\":\\"Initialize Functionless Context\\",\\"States\\":{\\"Initialize Functionless Context\\":{\\"Type\\":\\"Pass\\",\\"Parameters\\":{\\"fnl_context\\":{\\"null\\":null}},\\"ResultPath\\":\\"$\\",\\"Next\\":\\"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso\\"},\\"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso\\":{\\"Type\\":\\"Task\\",\\"Resource\\":\\"arn:aws:states:::aws-sdk:cloudwatch:describeAlarms\\",\\"Next\\":\\"MetricAlarms\\",\\"Parameters\\":{},\\"ResultPath\\":\\"$.heap0\\"},\\"MetricAlarms\\":{\\"Type\\":\\"Pass\\",\\"Next\\":\\"return MetricAlarms\\",\\"ResultPath\\":\\"$.MetricAlarms\\",\\"InputPath\\":\\"$.heap0['MetricAlarms']\\"},\\"return MetricAlarms\\":{\\"Type\\":\\"Pass\\",\\"End\\":true,\\"ResultPath\\":\\"$\\",\\"InputPath\\":\\"$.MetricAlarms\\"}}}", - "RoleArn": Object { - "Fn::GetAtt": Array [ + "Properties": { + "DefinitionString": "{"StartAt":"Initialize Functionless Context","States":{"Initialize Functionless Context":{"Type":"Pass","Parameters":{"fnl_context":{"null":null}},"ResultPath":"$","Next":"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso"},"{ MetricAlarms } = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {reso":{"Type":"Task","Resource":"arn:aws:states:::aws-sdk:cloudwatch:describeAlarms","Next":"MetricAlarms","Parameters":{},"ResultPath":"$.heap0"},"MetricAlarms":{"Type":"Pass","Next":"return MetricAlarms","ResultPath":"$.MetricAlarms","InputPath":"$.heap0['MetricAlarms']"},"return MetricAlarms":{"Type":"Pass","End":true,"ResultPath":"$","InputPath":"$.MetricAlarms"}}}", + "RoleArn": { + "Fn::GetAtt": [ "fnRole50A611CF", "Arn", ], @@ -14437,18 +14437,18 @@ Object { }, "Type": "AWS::StepFunctions::StateMachine", }, - "fnRole50A611CF": Object { - "Properties": Object { - "AssumeRolePolicyDocument": Object { - "Statement": Array [ - Object { + "fnRole50A611CF": { + "Properties": { + "AssumeRolePolicyDocument": { + "Statement": [ + { "Action": "sts:AssumeRole", "Effect": "Allow", - "Principal": Object { - "Service": Object { - "Fn::FindInMap": Array [ + "Principal": { + "Service": { + "Fn::FindInMap": [ "ServiceprincipalMap", - Object { + { "Ref": "AWS::Region", }, "states", @@ -14462,11 +14462,11 @@ Object { }, "Type": "AWS::IAM::Role", }, - "fnRoleDefaultPolicy4FB655BE": Object { - "Properties": Object { - "PolicyDocument": Object { - "Statement": Array [ - Object { + "fnRoleDefaultPolicy4FB655BE": { + "Properties": { + "PolicyDocument": { + "Statement": [ + { "Action": "cloudwatch:Describe*", "Effect": "Allow", "Resource": "*", @@ -14475,8 +14475,8 @@ Object { "Version": "2012-10-17", }, "PolicyName": "fnRoleDefaultPolicy4FB655BE", - "Roles": Array [ - Object { + "Roles": [ + { "Ref": "fnRole50A611CF", }, ], @@ -14484,22 +14484,22 @@ Object { "Type": "AWS::IAM::Policy", }, }, - "Rules": Object { - "CheckBootstrapVersion": Object { - "Assertions": Array [ - Object { - "Assert": Object { - "Fn::Not": Array [ - Object { - "Fn::Contains": Array [ - Array [ + "Rules": { + "CheckBootstrapVersion": { + "Assertions": [ + { + "Assert": { + "Fn::Not": [ + { + "Fn::Contains": [ + [ "1", "2", "3", "4", "5", ], - Object { + { "Ref": "BootstrapVersion", }, ], @@ -14515,35 +14515,35 @@ Object { `; exports[`parse json 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return JSON.parse(\\"{ a: 'a', b: { c: 'c' } }\\")": Object { + "States": { + "1__return JSON.parse("{ a: 'a', b: { c: 'c' } }")": { "End": true, "InputPath": "$.heap0.string", "ResultPath": "$", "Type": "Pass", }, - "1__return JSON.parse(\\"{ a: 'a', b: { c: 'c' } }\\") 1": Object { - "Next": "1__return JSON.parse(\\"{ a: 'a', b: { c: 'c' } }\\")", - "Parameters": Object { + "1__return JSON.parse("{ a: 'a', b: { c: 'c' } }") 1": { + "Next": "1__return JSON.parse("{ a: 'a', b: { c: 'c' } }")", + "Parameters": { "string.$": "States.StringToJson($.heap1)", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return JSON.parse(\\"{ a: 'a', b: { c: 'c' } }\\")", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return JSON.parse("{ a: 'a', b: { c: 'c' } }")", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return JSON.parse(\\"{ a: 'a', b: { c: 'c' } }\\")": Object { - "Next": "1__return JSON.parse(\\"{ a: 'a', b: { c: 'c' } }\\") 1", + "return JSON.parse("{ a: 'a', b: { c: 'c' } }")": { + "Next": "1__return JSON.parse("{ a: 'a', b: { c: 'c' } }") 1", "Result": "{ a: 'a', b: { c: 'c' } }", "ResultPath": "$.heap1", "Type": "Pass", @@ -14553,28 +14553,28 @@ Object { `; exports[`purge SQS Queue 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "await queue.purge()", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await queue.purge()": Object { + "await queue.purge()": { "Next": "return null", - "Parameters": Object { + "Parameters": { "QueueUrl": "__REPLACED_TOKEN", }, "Resource": "arn:aws:states:::aws-sdk:sqs:purgeQueue", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -14585,23 +14585,23 @@ Object { `; exports[`put an event bus event 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail": Object { + "States": { + "1__await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail": { "Next": "return null", - "Parameters": Object { - "Entries": Array [ - Object { + "Parameters": { + "Entries": [ + { "Account": "123456789012", - "Detail": Object { + "Detail": { "value.$": "$.heap0", }, "DetailType": "someEvent", "EventBusName": "__REPLACED_TOKEN", "Id": "bbbbbbbb-eeee-eeee-eeee-ffffffffffff", "Region": "us-east-1", - "Resources": Array [ + "Resources": [ "__REPLACED_ARN", ], "Source": "sfnTest", @@ -14614,10 +14614,10 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { - "Next": "await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail: {", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail: {", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -14625,13 +14625,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail: {": Object { + "await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail: {": { "InputPath": "$.input.id", - "Next": "1__await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail", + "Next": "1__await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail", "ResultPath": "$.heap0", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -14642,29 +14642,29 @@ Object { `; exports[`put multiple event bus events 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail": Object { + "States": { + "1__await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail": { "InputPath": "$.input.id", - "Next": "2__await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail", + "Next": "2__await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail", "ResultPath": "$.heap1", "Type": "Pass", }, - "2__await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail": Object { + "2__await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail": { "Next": "return null", - "Parameters": Object { - "Entries": Array [ - Object { - "Detail": Object { + "Parameters": { + "Entries": [ + { + "Detail": { "value.$": "$.heap0", }, "DetailType": "someEvent", "EventBusName": "__REPLACED_TOKEN", "Source": "sfnTest", }, - Object { - "Detail": Object { + { + "Detail": { "constant": "hi", "value.$": "$.heap1", }, @@ -14678,10 +14678,10 @@ Object { "ResultPath": "$.heap2", "Type": "Task", }, - "Initialize Functionless Context": Object { - "Next": "await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail: {", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail: {", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -14689,13 +14689,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail: {": Object { + "await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail: {": { "InputPath": "$.input.id", - "Next": "1__await bus.putEvents({detail-type: \\"someEvent\\", source: \\"sfnTest\\", detail", + "Next": "1__await bus.putEvents({detail-type: "someEvent", source: "sfnTest", detail", "ResultPath": "$.heap0", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -14706,31 +14706,31 @@ Object { `; exports[`receiveMessage with JSON serialization 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "await queue.receiveMessage()", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await queue.receiveMessage()": Object { + "await queue.receiveMessage()": { "Next": "parseIfMessages__await queue.receiveMessage()", - "Parameters": Object { + "Parameters": { "QueueUrl": "__REPLACED_TOKEN", }, "Resource": "arn:aws:states:::aws-sdk:sqs:receiveMessage", "ResultPath": "$.heap0", "Type": "Task", }, - "parseIfMessages__await queue.receiveMessage()": Object { - "Choices": Array [ - Object { + "parseIfMessages__await queue.receiveMessage()": { + "Choices": [ + { "IsPresent": true, "Next": "parse__await queue.receiveMessage()", "Variable": "$.heap0.Messages", @@ -14739,20 +14739,20 @@ Object { "Default": "return null", "Type": "Choice", }, - "parse__await queue.receiveMessage()": Object { + "parse__await queue.receiveMessage()": { "ItemsPath": "$.heap0.Messages", - "Iterator": Object { + "Iterator": { "StartAt": "JsonParse", - "States": Object { - "JsonParse": Object { + "States": { + "JsonParse": { "Next": "UnwrapMessage", - "Parameters": Object { + "Parameters": { "parsed.$": "States.StringToJson($.message.Body)", }, "ResultPath": "$.message.Message", "Type": "Pass", }, - "UnwrapMessage": Object { + "UnwrapMessage": { "End": true, "InputPath": "$.message.Message.parsed", "OutputPath": "$.message", @@ -14762,13 +14762,13 @@ Object { }, }, "Next": "return null", - "Parameters": Object { + "Parameters": { "message.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0.Messages", "Type": "Map", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -14779,28 +14779,28 @@ Object { `; exports[`receiveMessage with Text serialization 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return queue.receiveMessage()": Object { + "States": { + "1__return queue.receiveMessage()": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return queue.receiveMessage()", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return queue.receiveMessage()": Object { + "return queue.receiveMessage()": { "Next": "1__return queue.receiveMessage()", - "Parameters": Object { + "Parameters": { "QueueUrl": "__REPLACED_TOKEN", }, "Resource": "arn:aws:states:::aws-sdk:sqs:receiveMessage", @@ -14812,19 +14812,19 @@ Object { `; exports[`result = $SFN.forEach(list, (item) => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return $SFN.forEach(input.list, function (item))": Object { + "States": { + "1__return $SFN.forEach(input.list, function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.forEach(input.list, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -14832,18 +14832,18 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return $SFN.forEach(input.list, function (item))": Object { + "return $SFN.forEach(input.list, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "return task(item)", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", @@ -14853,7 +14853,7 @@ Object { }, }, "Next": "1__return $SFN.forEach(input.list, function (item))", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -14866,13 +14866,13 @@ Object { `; exports[`result = $SFN.map(list, (item) => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "result = await $SFN.map(input.list, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -14880,24 +14880,24 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "result": Object { + "result": { "InputPath": "$.heap1", "Next": "return result", "ResultPath": "$.result", "Type": "Pass", }, - "result = await $SFN.map(input.list, function (item))": Object { + "result = await $SFN.map(input.list, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "return task(item)", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", @@ -14907,7 +14907,7 @@ Object { }, }, "Next": "result", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -14915,7 +14915,7 @@ Object { "ResultPath": "$.heap1", "Type": "Map", }, - "return result": Object { + "return result": { "End": true, "InputPath": "$.result", "ResultPath": "$", @@ -14926,19 +14926,19 @@ Object { `; exports[`return $SFN.forEach(list, (item) => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return $SFN.forEach(input.list, function (item))": Object { + "States": { + "1__return $SFN.forEach(input.list, function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.forEach(input.list, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -14946,19 +14946,19 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return $SFN.forEach(input.list, function (item))": Object { + "return $SFN.forEach(input.list, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "await task(item)", - "States": Object { - "await task(item)": Object { + "States": { + "await task(item)": { "InputPath": "$.item", "Next": "return null", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -14967,7 +14967,7 @@ Object { }, }, "Next": "1__return $SFN.forEach(input.list, function (item))", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -14980,19 +14980,19 @@ Object { `; exports[`return $SFN.forEach(list, (item) => try { task(item)) } catch { return null } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return $SFN.forEach(input.list, function (item))": Object { + "States": { + "1__return $SFN.forEach(input.list, function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.forEach(input.list, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15000,15 +15000,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return $SFN.forEach(input.list, function (item))": Object { + "return $SFN.forEach(input.list, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "await task(item)", - "States": Object { - "await task(item)": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "States": { + "await task(item)": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__await task(item)", @@ -15021,13 +15021,13 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "catch__await task(item)": Object { + "catch__await task(item)": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -15036,7 +15036,7 @@ Object { }, }, "Next": "1__return $SFN.forEach(input.list, function (item))", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -15049,19 +15049,19 @@ Object { `; exports[`return $SFN.forEach(list, {maxConcurrency: 2} (item) => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return $SFN.forEach(input.list, {maxConcurrency: 2}, function (item))": Object { + "States": { + "1__return $SFN.forEach(input.list, {maxConcurrency: 2}, function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.forEach(input.list, {maxConcurrency: 2}, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15069,19 +15069,19 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return $SFN.forEach(input.list, {maxConcurrency: 2}, function (item))": Object { + "return $SFN.forEach(input.list, {maxConcurrency: 2}, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "await task(item)", - "States": Object { - "await task(item)": Object { + "States": { + "await task(item)": { "InputPath": "$.item", "Next": "return null", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -15091,7 +15091,7 @@ Object { }, "MaxConcurrency": 2, "Next": "1__return $SFN.forEach(input.list, {maxConcurrency: 2}, function (item))", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -15104,19 +15104,19 @@ Object { `; exports[`return $SFN.map(list, (item) => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return $SFN.map(input.list, function (item))": Object { + "States": { + "1__return $SFN.map(input.list, function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.map(input.list, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15124,18 +15124,18 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return $SFN.map(input.list, function (item))": Object { + "return $SFN.map(input.list, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "return task(item)", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", @@ -15145,7 +15145,7 @@ Object { }, }, "Next": "1__return $SFN.map(input.list, function (item))", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -15158,19 +15158,19 @@ Object { `; exports[`return $SFN.map(list, (item) => try { task(item)) } catch { return null } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return $SFN.map(input.list, function (item))": Object { + "States": { + "1__return $SFN.map(input.list, function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.map(input.list, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15178,27 +15178,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return $SFN.map(input.list, function (item))": Object { + "return $SFN.map(input.list, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "try", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -15214,7 +15214,7 @@ Object { }, }, "Next": "1__return $SFN.map(input.list, function (item))", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -15227,19 +15227,19 @@ Object { `; exports[`return $SFN.map(list, {maxConcurrency: 2} (item) => task(item)) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return $SFN.map(input.list, {maxConcurrency: 2}, function (item))": Object { + "States": { + "1__return $SFN.map(input.list, {maxConcurrency: 2}, function (item))": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.map(input.list, {maxConcurrency: 2}, function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15247,18 +15247,18 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return $SFN.map(input.list, {maxConcurrency: 2}, function (item))": Object { + "return $SFN.map(input.list, {maxConcurrency: 2}, function (item))": { "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "return task(item)", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", @@ -15269,7 +15269,7 @@ Object { }, "MaxConcurrency": 2, "Next": "1__return $SFN.map(input.list, {maxConcurrency: 2}, function (item))", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -15282,31 +15282,31 @@ Object { `; exports[`return $SFN.parallel(() => "hello", () => "world")) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return $SFN.parallel(function (), function ())": Object { + "States": { + "1__return $SFN.parallel(function (), function ())": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.parallel(function (), function ())", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return $SFN.parallel(function (), function ())": Object { - "Branches": Array [ - Object { - "StartAt": "return \\"hello\\"", - "States": Object { - "return \\"hello\\"": Object { + "return $SFN.parallel(function (), function ())": { + "Branches": [ + { + "StartAt": "return "hello"", + "States": { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", @@ -15314,10 +15314,10 @@ Object { }, }, }, - Object { - "StartAt": "return \\"world\\"", - "States": Object { - "return \\"world\\"": Object { + { + "StartAt": "return "world"", + "States": { + "return "world"": { "End": true, "Result": "world", "ResultPath": "$", @@ -15335,31 +15335,31 @@ Object { `; exports[`return $SFN.parallel(() => {})) } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return $SFN.parallel(function ())": Object { + "States": { + "1__return $SFN.parallel(function ())": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return $SFN.parallel(function ())", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return $SFN.parallel(function ())": Object { - "Branches": Array [ - Object { + "return $SFN.parallel(function ())": { + "Branches": [ + { "StartAt": "return null", - "States": Object { - "return null": Object { + "States": { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -15377,52 +15377,52 @@ Object { `; exports[`return $SFN.parallel(() => try { task() } catch { return null })) } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__try 1": Object { + "States": { + "1__try 1": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try 1", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try 1": Object { + "catch__try 1": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "try 1": Object { - "Branches": Array [ - Object { + "try 1": { + "Branches": [ + { "StartAt": "try", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -15438,9 +15438,9 @@ Object { }, }, ], - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try 1", @@ -15456,14 +15456,14 @@ Object { `; exports[`return AWS.DynamoDB.GetItem 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: ": Object { + "States": { + "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: ": { "Next": "person", - "Parameters": Object { - "Key": Object { - "id": Object { + "Parameters": { + "Key": { + "id": { "S.$": "$.heap0", }, }, @@ -15473,25 +15473,25 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "1__return {id: person.Item.id.S, name: person.Item.name.S}": Object { + "1__return {id: person.Item.id.S, name: person.Item.name.S}": { "End": true, - "Parameters": Object { + "Parameters": { "id.$": "$.heap2", "name.$": "$.heap3", }, "ResultPath": "$", "Type": "Pass", }, - "1__return {id: person.Item.id.S, name: person.Item.name.S} 1": Object { + "1__return {id: person.Item.id.S, name: person.Item.name.S} 1": { "InputPath": "$.person.Item.name.S", "Next": "1__return {id: person.Item.id.S, name: person.Item.name.S}", "ResultPath": "$.heap3", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: inp", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15499,28 +15499,28 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "if(person.Item === undefined)": Object { - "Choices": Array [ - Object { + "if(person.Item === undefined)": { + "Choices": [ + { "Next": "return", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.person.Item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.person.Item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.person.Item", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -15534,25 +15534,25 @@ Object { "Default": "return {id: person.Item.id.S, name: person.Item.name.S}", "Type": "Choice", }, - "person": Object { + "person": { "InputPath": "$.heap1", "Next": "if(person.Item === undefined)", "ResultPath": "$.person", "Type": "Pass", }, - "person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: inp": Object { + "person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: inp": { "InputPath": "$.input.id", "Next": "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: ", "ResultPath": "$.heap0", "Type": "Pass", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return {id: person.Item.id.S, name: person.Item.name.S}": Object { + "return {id: person.Item.id.S, name: person.Item.name.S}": { "InputPath": "$.person.Item.id.S", "Next": "1__return {id: person.Item.id.S, name: person.Item.name.S} 1", "ResultPath": "$.heap2", @@ -15563,14 +15563,14 @@ Object { `; exports[`return AWS.DynamoDB.GetItem dynamic parameters 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: ": Object { + "States": { + "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: ": { "Next": "person", - "Parameters": Object { - "Key": Object { - "id": Object { + "Parameters": { + "Key": { + "id": { "S.$": "$.heap1", }, }, @@ -15580,31 +15580,31 @@ Object { "ResultPath": "$.heap2", "Type": "Task", }, - "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: 1": Object { + "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: 1": { "InputPath": "$.heap0", "Next": "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: ", "ResultPath": "$.heap1", "Type": "Pass", }, - "1__return {id: person.Item.id.S, name: person.Item.name.S}": Object { + "1__return {id: person.Item.id.S, name: person.Item.name.S}": { "End": true, - "Parameters": Object { + "Parameters": { "id.$": "$.heap3", "name.$": "$.heap4", }, "ResultPath": "$", "Type": "Pass", }, - "1__return {id: person.Item.id.S, name: person.Item.name.S} 1": Object { + "1__return {id: person.Item.id.S, name: person.Item.name.S} 1": { "InputPath": "$.person.Item.name.S", "Next": "1__return {id: person.Item.id.S, name: person.Item.name.S}", "ResultPath": "$.heap4", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: inp", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15612,34 +15612,34 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: ": Object { + "false__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: ": { "Next": "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: 1", "Result": "default", "ResultPath": "$.heap0", "Type": "Pass", }, - "if(person.Item === undefined)": Object { - "Choices": Array [ - Object { + "if(person.Item === undefined)": { + "Choices": [ + { "Next": "return", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.person.Item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.person.Item", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.person.Item", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -15653,21 +15653,21 @@ Object { "Default": "return {id: person.Item.id.S, name: person.Item.name.S}", "Type": "Choice", }, - "person": Object { + "person": { "InputPath": "$.heap2", "Next": "if(person.Item === undefined)", "ResultPath": "$.person", "Type": "Pass", }, - "person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: inp": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: inp": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNull": false, "Variable": "$.input.id", }, @@ -15678,19 +15678,19 @@ Object { "Default": "false__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: ", "Type": "Choice", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return {id: person.Item.id.S, name: person.Item.name.S}": Object { + "return {id: person.Item.id.S, name: person.Item.name.S}": { "InputPath": "$.person.Item.id.S", "Next": "1__return {id: person.Item.id.S, name: person.Item.name.S} 1", "ResultPath": "$.heap3", "Type": "Pass", }, - "true__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {": Object { + "true__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {": { "InputPath": "$.input.id", "Next": "1__person = await $AWS.DynamoDB.GetItem({Table: personTable, Key: {id: {S: 1", "ResultPath": "$.heap0", @@ -15701,20 +15701,20 @@ Object { `; exports[`return AWS.Lambda.Invoke dynamic parameters 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id ": Object { + "States": { + "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id ": { "End": true, "InputPath": "$.heap2.Payload", "ResultPath": "$", "Type": "Pass", }, - "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id 1": Object { + "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id 1": { "Next": "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id ", - "Parameters": Object { + "Parameters": { "FunctionName": "__REPLACED_TOKEN", - "Payload": Object { + "Payload": { "id.$": "$.heap1", }, }, @@ -15722,16 +15722,16 @@ Object { "ResultPath": "$.heap2", "Type": "Task", }, - "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id 2": Object { + "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id 2": { "InputPath": "$.heap0", "Next": "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id ?? ", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15739,21 +15739,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input": Object { + "false__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input": { "Next": "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id 2", "Result": "default", "ResultPath": "$.heap0", "Type": "Pass", }, - "return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id ?? ": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id ?? ": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNull": false, "Variable": "$.input.id", }, @@ -15764,7 +15764,7 @@ Object { "Default": "false__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input", "Type": "Choice", }, - "true__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.": Object { + "true__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.": { "InputPath": "$.input.id", "Next": "1__return await $AWS.Lambda.Invoke({Function: task, Payload: {id: input.id 2", "ResultPath": "$.heap0", @@ -15775,54 +15775,54 @@ Object { `; exports[`return AWS.SDK.CloudWatch.describeAlarms 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "alarms = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {resources: [\\"*", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "alarms = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {resources: ["*", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "alarms": Object { + "alarms": { "InputPath": "$.heap0", "Next": "if(alarms.MetricAlarms === undefined)", "ResultPath": "$.alarms", "Type": "Pass", }, - "alarms = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {resources: [\\"*": Object { + "alarms = await $AWS.SDK.CloudWatch.describeAlarms({}, {iam: {resources: ["*": { "Next": "alarms", - "Parameters": Object {}, + "Parameters": {}, "Resource": "arn:aws:states:::aws-sdk:cloudwatch:describeAlarms", "ResultPath": "$.heap0", "Type": "Task", }, - "if(alarms.MetricAlarms === undefined)": Object { - "Choices": Array [ - Object { + "if(alarms.MetricAlarms === undefined)": { + "Choices": [ + { "Next": "return", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.alarms.MetricAlarms", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.alarms.MetricAlarms", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.alarms.MetricAlarms", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -15836,13 +15836,13 @@ Object { "Default": "return alarms.MetricAlarms", "Type": "Choice", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return alarms.MetricAlarms": Object { + "return alarms.MetricAlarms": { "End": true, "InputPath": "$.alarms.MetricAlarms", "ResultPath": "$", @@ -15853,28 +15853,28 @@ Object { `; exports[`return AWS.SDK.CloudWatch.describeAlarms dynamic parameters 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: inpu": Object { + "States": { + "1__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: inpu": { "Next": "alarms", - "Parameters": Object { + "Parameters": { "AlarmNamePrefix.$": "$.heap1", }, "Resource": "arn:aws:states:::aws-sdk:cloudwatch:describeAlarms", "ResultPath": "$.heap2", "Type": "Task", }, - "1__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: inpu 1": Object { + "1__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: inpu 1": { "InputPath": "$.heap0", "Next": "1__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: inpu", "ResultPath": "$.heap1", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: input.p", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15882,21 +15882,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "alarms": Object { + "alarms": { "InputPath": "$.heap2", "Next": "if(alarms.MetricAlarms === undefined)", "ResultPath": "$.alarms", "Type": "Pass", }, - "alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: input.p": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: input.p": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.prefix", }, - Object { + { "IsNull": false, "Variable": "$.input.prefix", }, @@ -15907,34 +15907,34 @@ Object { "Default": "false__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: ", "Type": "Choice", }, - "false__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: ": Object { + "false__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: ": { "Next": "1__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: inpu 1", "Result": "default", "ResultPath": "$.heap0", "Type": "Pass", }, - "if(alarms.MetricAlarms === undefined)": Object { - "Choices": Array [ - Object { + "if(alarms.MetricAlarms === undefined)": { + "Choices": [ + { "Next": "return", - "Or": Array [ - Object { + "Or": [ + { "IsPresent": false, "Variable": "$.alarms.MetricAlarms", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.alarms.MetricAlarms", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.alarms.MetricAlarms", }, - Object { + { "IsNull": true, "Variable": "$$.Execution.Id", }, @@ -15948,19 +15948,19 @@ Object { "Default": "return alarms.MetricAlarms", "Type": "Choice", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return alarms.MetricAlarms": Object { + "return alarms.MetricAlarms": { "End": true, "InputPath": "$.alarms.MetricAlarms", "ResultPath": "$", "Type": "Pass", }, - "true__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: i": Object { + "true__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: i": { "InputPath": "$.input.prefix", "Next": "1__alarms = await $AWS.SDK.CloudWatch.describeAlarms({AlarmNamePrefix: inpu 1", "ResultPath": "$.heap0", @@ -15971,13 +15971,13 @@ Object { `; exports[`return ElementAccessExpr 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "return input.input[\\"id special\\"]", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "return input.input["id special"]", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -15985,7 +15985,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.input[\\"id special\\"]": Object { + "return input.input["id special"]": { "End": true, "InputPath": "$.input.input['id special']", "ResultPath": "$", @@ -15996,13 +15996,13 @@ Object { `; exports[`return ElementAccessExpr number 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.input.arr[0]", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16010,7 +16010,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.input.arr[0]": Object { + "return input.input.arr[0]": { "End": true, "InputPath": "$.input.input.arr[0]", "ResultPath": "$", @@ -16021,13 +16021,13 @@ Object { `; exports[`return PropAccessExpr 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.input.id", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16035,7 +16035,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.input.id": Object { + "return input.input.id": { "End": true, "InputPath": "$.input.input.id", "ResultPath": "$", @@ -16046,28 +16046,28 @@ Object { `; exports[`return a single Lambda Function call 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return getPerson({id: input.id})": Object { + "States": { + "1__return getPerson({id: input.id})": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return getPerson({id: input.id}) 1": Object { + "1__return getPerson({id: input.id}) 1": { "Next": "1__return getPerson({id: input.id})", - "Parameters": Object { + "Parameters": { "id.$": "$.heap0", }, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return getPerson({id: input.id})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16075,7 +16075,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return getPerson({id: input.id})": Object { + "return getPerson({id: input.id})": { "InputPath": "$.input.id", "Next": "1__return getPerson({id: input.id}) 1", "ResultPath": "$.heap0", @@ -16086,33 +16086,33 @@ Object { `; exports[`return await task(await task()) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task(await task())": Object { + "States": { + "1__return task(await task())": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return task(await task()) 1": Object { + "1__return task(await task()) 1": { "InputPath": "$.heap0", "Next": "1__return task(await task())", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return task(await task())", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return task(await task())": Object { + "return task(await task())": { "InputPath": "$.fnl_context.null", "Next": "1__return task(await task()) 1", "Resource": "__REPLACED_TOKEN", @@ -16124,31 +16124,31 @@ Object { `; exports[`return cond ? task(1) : task(2) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__false__return if(input.cond)": Object { + "States": { + "1__false__return if(input.cond)": { "InputPath": "$.heap1", "Next": "1__return if(input.cond)", "ResultPath": "$.heap2", "Type": "Pass", }, - "1__return if(input.cond)": Object { + "1__return if(input.cond)": { "End": true, "InputPath": "$.heap2", "ResultPath": "$", "Type": "Pass", }, - "1__true__return if(input.cond)": Object { + "1__true__return if(input.cond)": { "InputPath": "$.heap0", "Next": "1__return if(input.cond)", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return if(input.cond)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16156,45 +16156,45 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__return if(input.cond)": Object { + "false__return if(input.cond)": { "Next": "1__false__return if(input.cond)", "Parameters": 2, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "return if(input.cond)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { - "And": Array [ - Object { + "return if(input.cond)": { + "Choices": [ + { + "And": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.cond", }, - Object { + { "IsNull": false, "Variable": "$.input.cond", }, ], }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.input.cond", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsString": true, "Variable": "$.input.cond", }, - Object { + { "StringEquals": "", "Variable": "$.input.cond", }, @@ -16203,20 +16203,20 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.input.cond", }, - Object { - "Not": Object { - "And": Array [ - Object { + { + "Not": { + "And": [ + { "IsNumeric": true, "Variable": "$.input.cond", }, - Object { + { "NumericEquals": 0, "Variable": "$.input.cond", }, @@ -16225,30 +16225,30 @@ Object { }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.input.cond", }, - Object { + { "BooleanEquals": true, "Variable": "$.input.cond", }, ], }, - Object { - "Not": Object { - "Or": Array [ - Object { + { + "Not": { + "Or": [ + { "IsBoolean": true, "Variable": "$.input.cond", }, - Object { + { "IsNumeric": true, "Variable": "$.input.cond", }, - Object { + { "IsString": true, "Variable": "$.input.cond", }, @@ -16264,7 +16264,7 @@ Object { "Default": "false__return if(input.cond)", "Type": "Choice", }, - "true__return if(input.cond)": Object { + "true__return if(input.cond)": { "Next": "1__true__return if(input.cond)", "Parameters": 1, "Resource": "__REPLACED_TOKEN", @@ -16276,13 +16276,13 @@ Object { `; exports[`return identifier 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.id", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16290,7 +16290,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.id": Object { + "return input.id": { "End": true, "InputPath": "$.input.id", "ResultPath": "$", @@ -16301,13 +16301,13 @@ Object { `; exports[`return items.slice(-1) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.items.slice(-1)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16315,7 +16315,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.items.slice(-1)": Object { + "return input.items.slice(-1)": { "End": true, "InputPath": "$.input.items[-1:]", "ResultPath": "$", @@ -16326,13 +16326,13 @@ Object { `; exports[`return items.slice(0, -1) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.items.slice(0, -1)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16340,7 +16340,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.items.slice(0, -1)": Object { + "return input.items.slice(0, -1)": { "End": true, "InputPath": "$.input.items[0:-1]", "ResultPath": "$", @@ -16351,13 +16351,13 @@ Object { `; exports[`return items.slice(1) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.items.slice(1)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16365,7 +16365,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.items.slice(1)": Object { + "return input.items.slice(1)": { "End": true, "InputPath": "$.input.items[1:]", "ResultPath": "$", @@ -16376,13 +16376,13 @@ Object { `; exports[`return items.slice(1, 3) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.items.slice(1, 3)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16390,7 +16390,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.items.slice(1, 3)": Object { + "return input.items.slice(1, 3)": { "End": true, "InputPath": "$.input.items[1:3]", "ResultPath": "$", @@ -16401,13 +16401,13 @@ Object { `; exports[`return items.slice(1, undefined) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.items.slice(1, undefined)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16415,7 +16415,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.items.slice(1, undefined)": Object { + "return input.items.slice(1, undefined)": { "End": true, "InputPath": "$.input.items[1:]", "ResultPath": "$", @@ -16426,13 +16426,13 @@ Object { `; exports[`return optional PropAccessExpr 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return input.input.id", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16440,7 +16440,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return input.input.id": Object { + "return input.input.id": { "End": true, "InputPath": "$.input.input.id", "ResultPath": "$", @@ -16451,18 +16451,18 @@ Object { `; exports[`return task({ key: items.filter(*) }) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task({equals: input.items.filter(function (item)), and: input.ite": Object { + "States": { + "1__return task({equals: input.items.filter(function (item)), and: input.ite": { "End": true, "InputPath": "$.heap3", "ResultPath": "$", "Type": "Pass", }, - "1__return task({equals: input.items.filter(function (item)), and: input.ite 1": Object { + "1__return task({equals: input.items.filter(function (item)), and: input.ite 1": { "Next": "1__return task({equals: input.items.filter(function (item)), and: input.ite", - "Parameters": Object { + "Parameters": { "and.$": "$.heap1", "equals.$": "$.heap0", "or.$": "$.heap2", @@ -16471,22 +16471,22 @@ Object { "ResultPath": "$.heap3", "Type": "Task", }, - "1__return task({equals: input.items.filter(function (item)), and: input.ite 2": Object { + "1__return task({equals: input.items.filter(function (item)), and: input.ite 2": { "InputPath": "$.input.items[?(@.str=='hello'&&@.items[0]=='hello')]", "Next": "2__return task({equals: input.items.filter(function (item)), and: input.ite", "ResultPath": "$.heap1", "Type": "Pass", }, - "2__return task({equals: input.items.filter(function (item)), and: input.ite": Object { + "2__return task({equals: input.items.filter(function (item)), and: input.ite": { "InputPath": "$.input.items[?(@.str=='hello'||@.items[0]=='hello')]", "Next": "1__return task({equals: input.items.filter(function (item)), and: input.ite 1", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return task({equals: input.items.filter(function (item)), and: input.items.", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16494,7 +16494,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return task({equals: input.items.filter(function (item)), and: input.items.": Object { + "return task({equals: input.items.filter(function (item)), and: input.items.": { "InputPath": "$.input.items[?(@.str=='hello')]", "Next": "1__return task({equals: input.items.filter(function (item)), and: input.ite 2", "ResultPath": "$.heap0", @@ -16505,28 +16505,28 @@ Object { `; exports[`return task({key: items.slice(1, 3)}) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task({key: input.items.slice(1, 3)})": Object { + "States": { + "1__return task({key: input.items.slice(1, 3)})": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return task({key: input.items.slice(1, 3)}) 1": Object { + "1__return task({key: input.items.slice(1, 3)}) 1": { "Next": "1__return task({key: input.items.slice(1, 3)})", - "Parameters": Object { + "Parameters": { "key.$": "$.heap0", }, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return task({key: input.items.slice(1, 3)})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16534,7 +16534,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return task({key: input.items.slice(1, 3)})": Object { + "return task({key: input.items.slice(1, 3)})": { "InputPath": "$.input.items[1:3]", "Next": "1__return task({key: input.items.slice(1, 3)}) 1", "ResultPath": "$.heap0", @@ -16545,40 +16545,40 @@ Object { `; exports[`return task(1) ?? task(2) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__false__await task(1) ?? await task(2)": Object { + "States": { + "1__false__await task(1) ?? await task(2)": { "InputPath": "$.heap1", "Next": "1__return await task(1) ?? await task(2)", "ResultPath": "$.heap2", "Type": "Pass", }, - "1__return await task(1) ?? await task(2)": Object { + "1__return await task(1) ?? await task(2)": { "End": true, "InputPath": "$.heap2", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return await task(1) ?? await task(2)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await task(1) ?? await task(2)": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "await task(1) ?? await task(2)": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.heap0", }, - Object { + { "IsNull": false, "Variable": "$.heap0", }, @@ -16589,21 +16589,21 @@ Object { "Default": "false__await task(1) ?? await task(2)", "Type": "Choice", }, - "false__await task(1) ?? await task(2)": Object { + "false__await task(1) ?? await task(2)": { "Next": "1__false__await task(1) ?? await task(2)", "Parameters": 2, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "return await task(1) ?? await task(2)": Object { + "return await task(1) ?? await task(2)": { "Next": "await task(1) ?? await task(2)", "Parameters": 1, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "true__await task(1) ?? await task(2)": Object { + "true__await task(1) ?? await task(2)": { "InputPath": "$.heap0", "Next": "1__return await task(1) ?? await task(2)", "ResultPath": "$.heap2", @@ -16614,33 +16614,33 @@ Object { `; exports[`return task(await task()) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task(await task())": Object { + "States": { + "1__return task(await task())": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return task(await task()) 1": Object { + "1__return task(await task()) 1": { "InputPath": "$.heap0", "Next": "1__return task(await task())", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return task(await task())", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return task(await task())": Object { + "return task(await task())": { "InputPath": "$.fnl_context.null", "Next": "1__return task(await task()) 1", "Resource": "__REPLACED_TOKEN", @@ -16652,19 +16652,19 @@ Object { `; exports[`return typeof x 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return typeof input.id": Object { + "States": { + "1__return typeof input.id": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return typeof input.id", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16672,66 +16672,66 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "boolean__return typeof input.id": Object { + "boolean__return typeof input.id": { "Next": "1__return typeof input.id", "Result": "boolean", "ResultPath": "$.heap0", "Type": "Pass", }, - "number__return typeof input.id": Object { + "number__return typeof input.id": { "Next": "1__return typeof input.id", "Result": "number", "ResultPath": "$.heap0", "Type": "Pass", }, - "object__return typeof input.id": Object { + "object__return typeof input.id": { "Next": "1__return typeof input.id", "Result": "object", "ResultPath": "$.heap0", "Type": "Pass", }, - "return typeof input.id": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return typeof input.id": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsString": true, "Variable": "$.input.id", }, ], "Next": "string__return typeof input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsBoolean": true, "Variable": "$.input.id", }, ], "Next": "boolean__return typeof input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { + { "IsNumeric": true, "Variable": "$.input.id", }, ], "Next": "number__return typeof input.id", }, - Object { + { "IsPresent": true, "Next": "object__return typeof input.id", "Variable": "$.input.id", @@ -16740,13 +16740,13 @@ Object { "Default": "undefined__return typeof input.id", "Type": "Choice", }, - "string__return typeof input.id": Object { + "string__return typeof input.id": { "Next": "1__return typeof input.id", "Result": "string", "ResultPath": "$.heap0", "Type": "Pass", }, - "undefined__return typeof input.id": Object { + "undefined__return typeof input.id": { "Next": "1__return typeof input.id", "Result": "undefined", "ResultPath": "$.heap0", @@ -16757,20 +16757,20 @@ Object { `; exports[`return void 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return": Object { + "return": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -16781,12 +16781,12 @@ Object { `; exports[`sendMessage JSON array 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await queue.sendMessage({MessageBody: [input]})": Object { + "States": { + "1__await queue.sendMessage({MessageBody: [input]})": { "Next": "return null", - "Parameters": Object { + "Parameters": { "MessageBody.$": "States.JsonToString($.heap2)", "QueueUrl": "__REPLACED_TOKEN", }, @@ -16794,16 +16794,16 @@ Object { "ResultPath": "$.heap3", "Type": "Task", }, - "1__await queue.sendMessage({MessageBody: [input]}) 1": Object { + "1__await queue.sendMessage({MessageBody: [input]}) 1": { "InputPath": "$.heap1.arr", "Next": "1__await queue.sendMessage({MessageBody: [input]})", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "await queue.sendMessage({MessageBody: [input]})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16811,21 +16811,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "[input]": Object { + "[input]": { "Next": "1__await queue.sendMessage({MessageBody: [input]}) 1", - "Parameters": Object { + "Parameters": { "arr.$": "States.Array($.heap0)", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "await queue.sendMessage({MessageBody: [input]})": Object { + "await queue.sendMessage({MessageBody: [input]})": { "InputPath": "$.input", "Next": "[input]", "ResultPath": "$.heap0", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -16836,12 +16836,12 @@ Object { `; exports[`sendMessage TextSerializer 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await queue.sendMessage({MessageBody: input.message})": Object { + "States": { + "1__await queue.sendMessage({MessageBody: input.message})": { "Next": "return null", - "Parameters": Object { + "Parameters": { "MessageBody.$": "$.heap0", "QueueUrl": "__REPLACED_TOKEN", }, @@ -16849,10 +16849,10 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "await queue.sendMessage({MessageBody: input.message})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16860,13 +16860,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await queue.sendMessage({MessageBody: input.message})": Object { + "await queue.sendMessage({MessageBody: input.message})": { "InputPath": "$.input.message", "Next": "1__await queue.sendMessage({MessageBody: input.message})", "ResultPath": "$.heap0", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -16877,22 +16877,22 @@ Object { `; exports[`sendMessage TextSerializer literal string 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "await queue.sendMessage({MessageBody: \\"hello world\\"})", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "await queue.sendMessage({MessageBody: "hello world"})", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await queue.sendMessage({MessageBody: \\"hello world\\"})": Object { + "await queue.sendMessage({MessageBody: "hello world"})": { "Next": "return null", - "Parameters": Object { + "Parameters": { "MessageBody": "hello world", "QueueUrl": "__REPLACED_TOKEN", }, @@ -16900,7 +16900,7 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -16911,20 +16911,20 @@ Object { `; exports[`sendMessage object literal with JSON Path to SQS Queue 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await queue.sendMessage({MessageBody: {orderId: input.orderId}})": Object { + "States": { + "1__await queue.sendMessage({MessageBody: {orderId: input.orderId}})": { "Next": "2__await queue.sendMessage({MessageBody: {orderId: input.orderId}})", - "Parameters": Object { + "Parameters": { "orderId.$": "$.heap0", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "2__await queue.sendMessage({MessageBody: {orderId: input.orderId}})": Object { + "2__await queue.sendMessage({MessageBody: {orderId: input.orderId}})": { "Next": "return null", - "Parameters": Object { + "Parameters": { "MessageBody.$": "States.JsonToString($.heap1)", "QueueUrl": "__REPLACED_TOKEN", }, @@ -16932,10 +16932,10 @@ Object { "ResultPath": "$.heap2", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "await queue.sendMessage({MessageBody: {orderId: input.orderId}})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16943,13 +16943,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await queue.sendMessage({MessageBody: {orderId: input.orderId}})": Object { + "await queue.sendMessage({MessageBody: {orderId: input.orderId}})": { "InputPath": "$.input.orderId", "Next": "1__await queue.sendMessage({MessageBody: {orderId: input.orderId}})", "ResultPath": "$.heap0", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -16960,12 +16960,12 @@ Object { `; exports[`sendMessage when whole message is JSON Path 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await queue.sendMessage({MessageBody: input})": Object { + "States": { + "1__await queue.sendMessage({MessageBody: input})": { "Next": "return null", - "Parameters": Object { + "Parameters": { "MessageBody.$": "States.JsonToString($.heap0)", "QueueUrl": "__REPLACED_TOKEN", }, @@ -16973,10 +16973,10 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "await queue.sendMessage({MessageBody: input})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -16984,13 +16984,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await queue.sendMessage({MessageBody: input})": Object { + "await queue.sendMessage({MessageBody: input})": { "InputPath": "$.input", "Next": "1__await queue.sendMessage({MessageBody: input})", "ResultPath": "$.heap0", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -17001,52 +17001,52 @@ Object { `; exports[`sendMessageBatch with JSON serialization 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess": Object { + "States": { + "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess": { "Next": "2__await queue.sendMessageBatch({Entries: input.messages.map(function (mess", - "Parameters": Object { + "Parameters": { "Entries.$": "$.heap5", }, "ResultPath": "$.heap6", "Type": "Pass", }, - "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess 1": Object { + "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess 1": { "InputPath": "$.heap0", "Next": "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess", "ResultPath": "$.heap5", "Type": "Pass", }, - "1__return {Id: i, MessageBody: message}": Object { + "1__return {Id: i, MessageBody: message}": { "Next": "handleResult__await queue.sendMessageBatch({Entries: input.messages.map(fun", - "Parameters": Object { + "Parameters": { "Id.$": "$.heap3", "MessageBody.$": "$.heap4", }, "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "1__return {Id: i, MessageBody: message} 1": Object { + "1__return {Id: i, MessageBody: message} 1": { "InputPath": "$.heap2.string", "Next": "2__return {Id: i, MessageBody: message}", "ResultPath": "$.heap3", "Type": "Pass", }, - "2__await queue.sendMessageBatch({Entries: input.messages.map(function (mess": Object { + "2__await queue.sendMessageBatch({Entries: input.messages.map(function (mess": { "ItemsPath": "$.heap6.Entries", - "Iterator": Object { + "Iterator": { "StartAt": "serialize Message", - "States": Object { - "serialize Message": Object { + "States": { + "serialize Message": { "Next": "unwrap Message", - "Parameters": Object { + "Parameters": { "value.$": "States.JsonToString($.entry.MessageBody)", }, "ResultPath": "$.entry.MessageBody", "Type": "Pass", }, - "unwrap Message": Object { + "unwrap Message": { "End": true, "InputPath": "$.entry.MessageBody.value", "OutputPath": "$.entry", @@ -17056,22 +17056,22 @@ Object { }, }, "Next": "send message batch__2__await queue.sendMessageBatch({Entries: input.message", - "Parameters": Object { + "Parameters": { "entry.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap7", "Type": "Map", }, - "2__return {Id: i, MessageBody: message}": Object { + "2__return {Id: i, MessageBody: message}": { "InputPath": "$.message", "Next": "1__return {Id: i, MessageBody: message}", "ResultPath": "$.heap4", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "await queue.sendMessageBatch({Entries: input.messages.map(function (message", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -17079,12 +17079,12 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await queue.sendMessageBatch({Entries: input.messages.map(function (message": Object { + "await queue.sendMessageBatch({Entries: input.messages.map(function (message": { "ItemsPath": "$.input.messages", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -17092,20 +17092,20 @@ Object { }, }, "Next": "check__await queue.sendMessageBatch({Entries: input.messages.map(function (", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", "arrStr": "[null", }, "Type": "Map", }, - "check__await queue.sendMessageBatch({Entries: input.messages.map(function (": Object { - "Choices": Array [ - Object { + "check__await queue.sendMessageBatch({Entries: input.messages.map(function (": { + "Choices": [ + { "IsPresent": true, "Next": "function (message,i)", "Variable": "$.heap0.arr[0]", @@ -17114,58 +17114,58 @@ Object { "Default": "end__await queue.sendMessageBatch({Entries: input.messages.map(function (me", "Type": "Choice", }, - "end__await queue.sendMessageBatch({Entries: input.messages.map(function (me": Object { + "end__await queue.sendMessageBatch({Entries: input.messages.map(function (me": { "Next": "set__end__await queue.sendMessageBatch({Entries: input.messages.map(functio", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "function (message,i)": Object { + "function (message,i)": { "InputPath": "$.heap0.arr[0].item", "Next": "i", "ResultPath": "$.message", "Type": "Pass", }, - "handleResult__await queue.sendMessageBatch({Entries: input.messages.map(fun": Object { + "handleResult__await queue.sendMessageBatch({Entries: input.messages.map(fun": { "Next": "check__await queue.sendMessageBatch({Entries: input.messages.map(function (", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "i": Object { + "i": { "InputPath": "$.heap0.arr[0].index", "Next": "return {Id: i, MessageBody: message}", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "Next": "1__return {Id: i, MessageBody: message} 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}',$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return {Id: i, MessageBody: message}": Object { + "return {Id: i, MessageBody: message}": { "InputPath": "$.i", "Next": "i 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "send message batch__2__await queue.sendMessageBatch({Entries: input.message": Object { + "send message batch__2__await queue.sendMessageBatch({Entries: input.message": { "Next": "return null", - "Parameters": Object { + "Parameters": { "Entries.$": "$.heap7", "QueueUrl": "__REPLACED_TOKEN", }, @@ -17173,7 +17173,7 @@ Object { "ResultPath": "$.heap7", "Type": "Task", }, - "set__end__await queue.sendMessageBatch({Entries: input.messages.map(functio": Object { + "set__end__await queue.sendMessageBatch({Entries: input.messages.map(functio": { "InputPath": "$.heap0.result[1:]", "Next": "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess 1", "ResultPath": "$.heap0", @@ -17184,12 +17184,12 @@ Object { `; exports[`sendMessageBatch with Text serialization 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess": Object { + "States": { + "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess": { "Next": "return null", - "Parameters": Object { + "Parameters": { "Entries.$": "$.heap5", "QueueUrl": "__REPLACED_TOKEN", }, @@ -17197,37 +17197,37 @@ Object { "ResultPath": "$.heap6", "Type": "Task", }, - "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess 1": Object { + "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess 1": { "InputPath": "$.heap0", "Next": "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess", "ResultPath": "$.heap5", "Type": "Pass", }, - "1__return {Id: i, MessageBody: message}": Object { + "1__return {Id: i, MessageBody: message}": { "Next": "handleResult__await queue.sendMessageBatch({Entries: input.messages.map(fun", - "Parameters": Object { + "Parameters": { "Id.$": "$.heap3", "MessageBody.$": "$.heap4", }, "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "1__return {Id: i, MessageBody: message} 1": Object { + "1__return {Id: i, MessageBody: message} 1": { "InputPath": "$.heap2.string", "Next": "2__return {Id: i, MessageBody: message}", "ResultPath": "$.heap3", "Type": "Pass", }, - "2__return {Id: i, MessageBody: message}": Object { + "2__return {Id: i, MessageBody: message}": { "InputPath": "$.message", "Next": "1__return {Id: i, MessageBody: message}", "ResultPath": "$.heap4", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "await queue.sendMessageBatch({Entries: input.messages.map(function (message", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -17235,12 +17235,12 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await queue.sendMessageBatch({Entries: input.messages.map(function (message": Object { + "await queue.sendMessageBatch({Entries: input.messages.map(function (message": { "ItemsPath": "$.input.messages", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -17248,20 +17248,20 @@ Object { }, }, "Next": "check__await queue.sendMessageBatch({Entries: input.messages.map(function (", - "Parameters": Object { + "Parameters": { "index.$": "$$.Map.Item.Index", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap0", - "ResultSelector": Object { + "ResultSelector": { "arr.$": "$", "arrStr": "[null", }, "Type": "Map", }, - "check__await queue.sendMessageBatch({Entries: input.messages.map(function (": Object { - "Choices": Array [ - Object { + "check__await queue.sendMessageBatch({Entries: input.messages.map(function (": { + "Choices": [ + { "IsPresent": true, "Next": "function (message,i)", "Variable": "$.heap0.arr[0]", @@ -17270,56 +17270,56 @@ Object { "Default": "end__await queue.sendMessageBatch({Entries: input.messages.map(function (me", "Type": "Choice", }, - "end__await queue.sendMessageBatch({Entries: input.messages.map(function (me": Object { + "end__await queue.sendMessageBatch({Entries: input.messages.map(function (me": { "Next": "set__end__await queue.sendMessageBatch({Entries: input.messages.map(functio", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "function (message,i)": Object { + "function (message,i)": { "InputPath": "$.heap0.arr[0].item", "Next": "i", "ResultPath": "$.message", "Type": "Pass", }, - "handleResult__await queue.sendMessageBatch({Entries: input.messages.map(fun": Object { + "handleResult__await queue.sendMessageBatch({Entries: input.messages.map(fun": { "Next": "check__await queue.sendMessageBatch({Entries: input.messages.map(function (", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "i": Object { + "i": { "InputPath": "$.heap0.arr[0].index", "Next": "return {Id: i, MessageBody: message}", "ResultPath": "$.i", "Type": "Pass", }, - "i 1": Object { + "i 1": { "Next": "1__return {Id: i, MessageBody: message} 1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}',$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "return {Id: i, MessageBody: message}": Object { + "return {Id: i, MessageBody: message}": { "InputPath": "$.i", "Next": "i 1", "ResultPath": "$.heap1", "Type": "Pass", }, - "set__end__await queue.sendMessageBatch({Entries: input.messages.map(functio": Object { + "set__end__await queue.sendMessageBatch({Entries: input.messages.map(functio": { "InputPath": "$.heap0.result[1:]", "Next": "1__await queue.sendMessageBatch({Entries: input.messages.map(function (mess 1", "ResultPath": "$.heap0", @@ -17330,12 +17330,12 @@ Object { `; exports[`set obj 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {a: a, b: b, c: c}": Object { + "States": { + "1__return {a: a, b: b, c: c}": { "End": true, - "Parameters": Object { + "Parameters": { "a.$": "$.heap0", "b.$": "$.heap1", "c.$": "$.heap2", @@ -17343,49 +17343,49 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "1__return {a: a, b: b, c: c} 1": Object { + "1__return {a: a, b: b, c: c} 1": { "InputPath": "$.b", "Next": "2__return {a: a, b: b, c: c}", "ResultPath": "$.heap1", "Type": "Pass", }, - "2__return {a: a, b: b, c: c}": Object { + "2__return {a: a, b: b, c: c}": { "InputPath": "$.c", "Next": "1__return {a: a, b: b, c: c}", "ResultPath": "$.heap2", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = {1: \\"value\\"}", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = {1: "value"}", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "a = {1: \\"value\\"}": Object { + "a = {1: "value"}": { "Next": "b = a[1]", - "Result": Object { + "Result": { "1": "value", }, "ResultPath": "$.a", "Type": "Pass", }, - "b = a[1]": Object { + "b = a[1]": { "InputPath": "$.a[1]", - "Next": "c = a[\\"1\\"]", + "Next": "c = a["1"]", "ResultPath": "$.b", "Type": "Pass", }, - "c = a[\\"1\\"]": Object { + "c = a["1"]": { "InputPath": "$.a['1']", "Next": "return {a: a, b: b, c: c}", "ResultPath": "$.c", "Type": "Pass", }, - "return {a: a, b: b, c: c}": Object { + "return {a: a, b: b, c: c}": { "InputPath": "$.a", "Next": "1__return {a: a, b: b, c: c} 1", "ResultPath": "$.heap0", @@ -17396,15 +17396,15 @@ Object { `; exports[`shadow 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__for(b in [1, 2, 3])": Object { + "States": { + "1__for(b in [1, 2, 3])": { "ItemsPath": "$.heap4", - "Iterator": Object { + "Iterator": { "StartAt": "Default", - "States": Object { - "Default": Object { + "States": { + "Default": { "End": true, "ResultPath": "$", "Type": "Pass", @@ -17412,114 +17412,114 @@ Object { }, }, "Next": "hasNext__for(b in [1, 2, 3])", - "Parameters": Object { + "Parameters": { "index.$": "States.Format('{}', $$.Map.Item.Index)", "item.$": "$$.Map.Item.Value", }, "ResultPath": "$.heap4", "Type": "Map", }, - "1__return aa__2": Object { + "1__return aa__2": { "End": true, "InputPath": "$.heap7.string", "ResultPath": "$", "Type": "Pass", }, - "1__return aba__1": Object { + "1__return aba__1": { "End": true, "InputPath": "$.heap3.string", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "a = \\"\\"", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "a = """, + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "a = \\"\\"": Object { - "Next": "a__2 = \\"\\"", + "a = """: { + "Next": "a__2 = """, "Result": "", "ResultPath": "$.a", "Type": "Pass", }, - "a = \\"\\" 1": Object { - "Next": "a__1 = \\"\\"", + "a = "" 1": { + "Next": "a__1 = """, "Result": "", "ResultPath": "$.a__1", "Type": "Pass", }, - "a = \\"\\" 2": Object { + "a = "" 2": { "Next": "return aba__1", "Result": "", "ResultPath": "$.a__3", "Type": "Pass", }, - "a__1": Object { + "a__1": { "InputPath": "$.a__1__1", "Next": "aba__1", "ResultPath": "$.heap2", "Type": "Pass", }, - "a__1 = \\"\\"": Object { - "Next": "if(a === \\"\\")", + "a__1 = """: { + "Next": "if(a === "")", "Result": "", "ResultPath": "$.a__1__1", "Type": "Pass", }, - "a__2": Object { + "a__2": { "InputPath": "$.a__2", "Next": "aa__2", "ResultPath": "$.heap6", "Type": "Pass", }, - "a__2 = \\"\\"": Object { + "a__2 = """: { "Next": "for(b in [1, 2, 3])", "Result": "", "ResultPath": "$.a__2", "Type": "Pass", }, - "aa__2": Object { + "aa__2": { "Next": "1__return aa__2", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}',$.heap5,$.heap6)", }, "ResultPath": "$.heap7", "Type": "Pass", }, - "aba__1": Object { + "aba__1": { "Next": "1__return aba__1", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('{}{}{}',$.heap0,$.heap1,$.heap2)", }, "ResultPath": "$.heap3", "Type": "Pass", }, - "assignValue__b": Object { + "assignValue__b": { "InputPath": "$.heap4[0].item", - "Next": "a = \\"\\" 1", + "Next": "a = "" 1", "ResultPath": "$.0__b", "Type": "Pass", }, - "b": Object { + "b": { "InputPath": "$.heap4[0].index", "Next": "assignValue__b", "ResultPath": "$.b", "Type": "Pass", }, - "b 1": Object { + "b 1": { "InputPath": "$.b", "Next": "a__1", "ResultPath": "$.heap1", "Type": "Pass", }, - "for(b in [1, 2, 3])": Object { + "for(b in [1, 2, 3])": { "Next": "1__for(b in [1, 2, 3])", - "Result": Array [ + "Result": [ 1, 2, 3, @@ -17527,9 +17527,9 @@ Object { "ResultPath": "$.heap4", "Type": "Pass", }, - "hasNext__for(b in [1, 2, 3])": Object { - "Choices": Array [ - Object { + "hasNext__for(b in [1, 2, 3])": { + "Choices": [ + { "IsPresent": true, "Next": "b", "Variable": "$.heap4[0]", @@ -17538,27 +17538,27 @@ Object { "Default": "return aa__2", "Type": "Choice", }, - "if(a === \\"\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(a === "")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.a__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.a__1", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.a__1", }, - Object { + { "StringEquals": "", "Variable": "$.a__1", }, @@ -17567,25 +17567,25 @@ Object { ], }, ], - "Next": "a = \\"\\" 2", + "Next": "a = "" 2", }, ], "Default": "tail__for(b in [1, 2, 3])", "Type": "Choice", }, - "return aa__2": Object { + "return aa__2": { "InputPath": "$.a", "Next": "a__2", "ResultPath": "$.heap5", "Type": "Pass", }, - "return aba__1": Object { + "return aba__1": { "InputPath": "$.a__3", "Next": "b 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "tail__for(b in [1, 2, 3])": Object { + "tail__for(b in [1, 2, 3])": { "InputPath": "$.heap4[1:]", "Next": "hasNext__for(b in [1, 2, 3])", "ResultPath": "$.heap4", @@ -17596,28 +17596,28 @@ Object { `; exports[`single quotes in StringLiteralExpr should be escaped in a JSON Path filter expression 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task({escape: input.items.filter(function (item))})": Object { + "States": { + "1__return task({escape: input.items.filter(function (item))})": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return task({escape: input.items.filter(function (item))}) 1": Object { + "1__return task({escape: input.items.filter(function (item))}) 1": { "Next": "1__return task({escape: input.items.filter(function (item))})", - "Parameters": Object { + "Parameters": { "escape.$": "$.heap0", }, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return task({escape: input.items.filter(function (item))})", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -17625,8 +17625,8 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return task({escape: input.items.filter(function (item))})": Object { - "InputPath": "$.input.items[?(@.str=='hello\\\\'world')]", + "return task({escape: input.items.filter(function (item))})": { + "InputPath": "$.input.items[?(@.str=='hello\\'world')]", "Next": "1__return task({escape: input.items.filter(function (item))}) 1", "ResultPath": "$.heap0", "Type": "Pass", @@ -17636,29 +17636,29 @@ Object { `; exports[`spread constant array and object 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "return {array: [0, ...array, 3], object: {key: \\"value\\", ...object}}", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "return {array: [0, ...array, 3], object: {key: "value", ...object}}", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return {array: [0, ...array, 3], object: {key: \\"value\\", ...object}}": Object { + "return {array: [0, ...array, 3], object: {key: "value", ...object}}": { "End": true, - "Result": Object { - "array": Array [ + "Result": { + "array": [ 0, 1, 2, 3, ], - "object": Object { + "object": { "hello": "world", "key": "value", }, @@ -17671,19 +17671,19 @@ Object { `; exports[`stringify json 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return JSON.stringify(input)": Object { + "States": { + "1__return JSON.stringify(input)": { "End": true, "InputPath": "$.heap0.string", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return JSON.stringify(input)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -17691,9 +17691,9 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return JSON.stringify(input)": Object { + "return JSON.stringify(input)": { "Next": "1__return JSON.stringify(input)", - "Parameters": Object { + "Parameters": { "string.$": "States.JsonToString($.input)", }, "ResultPath": "$.heap0", @@ -17704,38 +17704,38 @@ Object { `; exports[`stringify object literal 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return JSON.stringify({a: \\"a\\", b: {c: \\"c\\"}})": Object { + "States": { + "1__return JSON.stringify({a: "a", b: {c: "c"}})": { "End": true, "InputPath": "$.heap0.string", "ResultPath": "$", "Type": "Pass", }, - "1__return JSON.stringify({a: \\"a\\", b: {c: \\"c\\"}}) 1": Object { - "Next": "1__return JSON.stringify({a: \\"a\\", b: {c: \\"c\\"}})", - "Parameters": Object { + "1__return JSON.stringify({a: "a", b: {c: "c"}}) 1": { + "Next": "1__return JSON.stringify({a: "a", b: {c: "c"}})", + "Parameters": { "string.$": "States.JsonToString($.heap1)", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return JSON.stringify({a: \\"a\\", b: {c: \\"c\\"}})", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return JSON.stringify({a: "a", b: {c: "c"}})", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return JSON.stringify({a: \\"a\\", b: {c: \\"c\\"}})": Object { - "Next": "1__return JSON.stringify({a: \\"a\\", b: {c: \\"c\\"}}) 1", - "Result": Object { + "return JSON.stringify({a: "a", b: {c: "c"}})": { + "Next": "1__return JSON.stringify({a: "a", b: {c: "c"}}) 1", + "Result": { "a": "a", - "b": Object { + "b": { "c": "c", }, }, @@ -17747,20 +17747,20 @@ Object { `; exports[`stringify undefined 2 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return JSON.stringify(undefined)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return JSON.stringify(undefined)": Object { + "return JSON.stringify(undefined)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", @@ -17771,26 +17771,26 @@ Object { `; exports[`task(-1) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task(-1)": Object { + "States": { + "1__return task(-1)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return task(-1)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return task(-1)": Object { + "return task(-1)": { "Next": "1__return task(-1)", "Parameters": -1, "Resource": "__REPLACED_TOKEN", @@ -17802,150 +17802,150 @@ Object { `; exports[`task(any) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "await task()", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await task(\\"hello\\" + \\" world\\")": Object { - "Next": "await task(\\"hello\\" + 1)", + "await task("hello" + " world")": { + "Next": "await task("hello" + 1)", "Parameters": "hello world", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap9", "Type": "Task", }, - "await task(\\"hello\\" + 1)": Object { - "Next": "await task(1 + \\"hello\\")", + "await task("hello" + 1)": { + "Next": "await task(1 + "hello")", "Parameters": "hello1", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap10", "Type": "Task", }, - "await task(\\"hello\\" + [\\"world\\"])": Object { + "await task("hello" + ["world"])": { "Next": "return null", "Parameters": "helloworld", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap23", "Type": "Task", }, - "await task(\\"hello\\" + null)": Object { + "await task("hello" + null)": { "Next": "await task([null])", "Parameters": "hellonull", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap15", "Type": "Task", }, - "await task(\\"hello\\" + true)": Object { - "Next": "await task(false + \\"hello\\")", + "await task("hello" + true)": { + "Next": "await task(false + "hello")", "Parameters": "hellotrue", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap12", "Type": "Task", }, - "await task(\\"hello\\" + {place: \\"world\\"})": Object { - "Next": "await task(\\"hello\\" + [\\"world\\"])", + "await task("hello" + {place: "world"})": { + "Next": "await task("hello" + ["world"])", "Parameters": "hello[object Object]", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap22", "Type": "Task", }, - "await task(\\"hello\\")": Object { - "Next": "await task(\\"hello\\" + \\" world\\")", + "await task("hello")": { + "Next": "await task("hello" + " world")", "Parameters": "hello", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap8", "Type": "Task", }, - "await task()": Object { + "await task()": { "InputPath": "$.fnl_context.null", "Next": "await task(null)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "await task(-1)": Object { + "await task(-1)": { "Next": "await task(-100)", "Parameters": -1, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap5", "Type": "Task", }, - "await task(-100)": Object { + "await task(-100)": { "Next": "await task(1 + 2)", "Parameters": -100, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap6", "Type": "Task", }, - "await task(0)": Object { + "await task(0)": { "Next": "await task(-1)", "Parameters": 0, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap4", "Type": "Task", }, - "await task(1 + \\"hello\\")": Object { - "Next": "await task(\\"hello\\" + true)", + "await task(1 + "hello")": { + "Next": "await task("hello" + true)", "Parameters": "1hello", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap11", "Type": "Task", }, - "await task(1 + 2)": Object { - "Next": "await task(\\"hello\\")", + "await task(1 + 2)": { + "Next": "await task("hello")", "Parameters": 3, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap7", "Type": "Task", }, - "await task([-1])": Object { + "await task([-1])": { "Next": "await task([true])", - "Parameters": Array [ + "Parameters": [ -1, ], "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap18", "Type": "Task", }, - "await task([1])": Object { + "await task([1])": { "Next": "await task([-1])", - "Parameters": Array [ + "Parameters": [ 1, ], "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap17", "Type": "Task", }, - "await task([null])": Object { + "await task([null])": { "Next": "await task([1])", - "Parameters": Array [ + "Parameters": [ null, ], "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap16", "Type": "Task", }, - "await task([true])": Object { - "Next": "await task([{key: \\"value\\"}])", - "Parameters": Array [ + "await task([true])": { + "Next": "await task([{key: "value"}])", + "Parameters": [ true, ], "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap19", "Type": "Task", }, - "await task([{key: \\"value\\"}])": Object { - "Next": "await task({key: \\"value\\"})", - "Parameters": Array [ - Object { + "await task([{key: "value"}])": { + "Next": "await task({key: "value"})", + "Parameters": [ + { "key": "value", }, ], @@ -17953,51 +17953,51 @@ Object { "ResultPath": "$.heap20", "Type": "Task", }, - "await task(false + \\"hello\\")": Object { - "Next": "await task(null + \\"hello\\")", + "await task(false + "hello")": { + "Next": "await task(null + "hello")", "Parameters": "falsehello", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap13", "Type": "Task", }, - "await task(false)": Object { + "await task(false)": { "Next": "await task(0)", "Parameters": false, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap3", "Type": "Task", }, - "await task(null + \\"hello\\")": Object { - "Next": "await task(\\"hello\\" + null)", + "await task(null + "hello")": { + "Next": "await task("hello" + null)", "Parameters": "nullhello", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap14", "Type": "Task", }, - "await task(null)": Object { + "await task(null)": { "InputPath": "$.fnl_context.null", "Next": "await task(true)", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "await task(true)": Object { + "await task(true)": { "Next": "await task(false)", "Parameters": true, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap2", "Type": "Task", }, - "await task({key: \\"value\\"})": Object { - "Next": "await task(\\"hello\\" + {place: \\"world\\"})", - "Parameters": Object { + "await task({key: "value"})": { + "Next": "await task("hello" + {place: "world"})", + "Parameters": { "key": "value", }, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap21", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -18008,19 +18008,19 @@ Object { `; exports[`task(input.list[-1]) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task(input.list[-1])": Object { + "States": { + "1__return task(input.list[-1])": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return task(input.list[-1])", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18028,7 +18028,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return task(input.list[-1])": Object { + "return task(input.list[-1])": { "InputPath": "$.input.list[-1]", "Next": "1__return task(input.list[-1])", "Resource": "__REPLACED_TOKEN", @@ -18040,42 +18040,42 @@ Object { `; exports[`template literal strings 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - " input.obj.str \\"hello\\"input.obj.items[0]": Object { - "Next": "1__return task({key: input.obj.str \\"hello\\"input.obj.items[0]}) 2", - "Parameters": Object { + "States": { + " input.obj.str "hello"input.obj.items[0]": { + "Next": "1__return task({key: input.obj.str "hello"input.obj.items[0]}) 2", + "Parameters": { "string.$": "States.Format('{} hello {}',$.heap0,$.heap1)", }, "ResultPath": "$.heap2", "Type": "Pass", }, - "1__return task({key: input.obj.str \\"hello\\"input.obj.items[0]})": Object { + "1__return task({key: input.obj.str "hello"input.obj.items[0]})": { "End": true, "InputPath": "$.heap4", "ResultPath": "$", "Type": "Pass", }, - "1__return task({key: input.obj.str \\"hello\\"input.obj.items[0]}) 1": Object { - "Next": "1__return task({key: input.obj.str \\"hello\\"input.obj.items[0]})", - "Parameters": Object { + "1__return task({key: input.obj.str "hello"input.obj.items[0]}) 1": { + "Next": "1__return task({key: input.obj.str "hello"input.obj.items[0]})", + "Parameters": { "key.$": "$.heap3", }, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap4", "Type": "Task", }, - "1__return task({key: input.obj.str \\"hello\\"input.obj.items[0]}) 2": Object { + "1__return task({key: input.obj.str "hello"input.obj.items[0]}) 2": { "InputPath": "$.heap2.string", - "Next": "1__return task({key: input.obj.str \\"hello\\"input.obj.items[0]}) 1", + "Next": "1__return task({key: input.obj.str "hello"input.obj.items[0]}) 1", "ResultPath": "$.heap3", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return task({key: input.obj.str \\"hello\\"input.obj.items[0]})", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return task({key: input.obj.str "hello"input.obj.items[0]})", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18083,13 +18083,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "input.obj.items[0]": Object { + "input.obj.items[0]": { "InputPath": "$.input.obj.items[0]", - "Next": " input.obj.str \\"hello\\"input.obj.items[0]", + "Next": " input.obj.str "hello"input.obj.items[0]", "ResultPath": "$.heap1", "Type": "Pass", }, - "return task({key: input.obj.str \\"hello\\"input.obj.items[0]})": Object { + "return task({key: input.obj.str "hello"input.obj.items[0]})": { "InputPath": "$.input.obj.str", "Next": "input.obj.items[0]", "ResultPath": "$.heap0", @@ -18100,54 +18100,54 @@ Object { `; exports[`template literal strings complex 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - " hello input.obj.str ?? \\"default\\"": Object { + "States": { + " hello input.obj.str ?? "default"": { "InputPath": "$.heap0", "Next": "input.obj.items[0] ?? await task()", "ResultPath": "$.heap1", "Type": "Pass", }, - " hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.items[0] ?? await task()": Object { - "Next": "1__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.ite 2", - "Parameters": Object { + " hello input.obj.str ?? "default" "hello"input.obj.items[0] ?? await task()": { + "Next": "1__return task({key: hello input.obj.str ?? "default" "hello"input.obj.ite 2", + "Parameters": { "string.$": "States.Format('{} hello hello {}',$.heap1,$.heap4)", }, "ResultPath": "$.heap5", "Type": "Pass", }, - "1__false__input.obj.items[0] ?? await task()": Object { + "1__false__input.obj.items[0] ?? await task()": { "InputPath": "$.heap2", "Next": "input.obj.items[0] ?? await task() 1", "ResultPath": "$.heap3", "Type": "Pass", }, - "1__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.ite": Object { + "1__return task({key: hello input.obj.str ?? "default" "hello"input.obj.ite": { "End": true, "InputPath": "$.heap7", "ResultPath": "$", "Type": "Pass", }, - "1__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.ite 1": Object { - "Next": "1__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.ite", - "Parameters": Object { + "1__return task({key: hello input.obj.str ?? "default" "hello"input.obj.ite 1": { + "Next": "1__return task({key: hello input.obj.str ?? "default" "hello"input.obj.ite", + "Parameters": { "key.$": "$.heap6", }, "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap7", "Type": "Task", }, - "1__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.ite 2": Object { + "1__return task({key: hello input.obj.str ?? "default" "hello"input.obj.ite 2": { "InputPath": "$.heap5.string", - "Next": "1__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.ite 1", + "Next": "1__return task({key: hello input.obj.str ?? "default" "hello"input.obj.ite 1", "ResultPath": "$.heap6", "Type": "Pass", }, - "Initialize Functionless Context": Object { - "Next": "return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.items[", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "return task({key: hello input.obj.str ?? "default" "hello"input.obj.items[", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18155,28 +18155,28 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "false__input.obj.items[0] ?? await task()": Object { + "false__input.obj.items[0] ?? await task()": { "InputPath": "$.fnl_context.null", "Next": "1__false__input.obj.items[0] ?? await task()", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap2", "Type": "Task", }, - "false__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj": Object { - "Next": " hello input.obj.str ?? \\"default\\"", + "false__return task({key: hello input.obj.str ?? "default" "hello"input.obj": { + "Next": " hello input.obj.str ?? "default"", "Result": "default", "ResultPath": "$.heap0", "Type": "Pass", }, - "input.obj.items[0] ?? await task()": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "input.obj.items[0] ?? await task()": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj.items[0]", }, - Object { + { "IsNull": false, "Variable": "$.input.obj.items[0]", }, @@ -18187,40 +18187,40 @@ Object { "Default": "false__input.obj.items[0] ?? await task()", "Type": "Choice", }, - "input.obj.items[0] ?? await task() 1": Object { + "input.obj.items[0] ?? await task() 1": { "InputPath": "$.heap3", - "Next": " hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.items[0] ?? await task()", + "Next": " hello input.obj.str ?? "default" "hello"input.obj.items[0] ?? await task()", "ResultPath": "$.heap4", "Type": "Pass", }, - "return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.items[": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "return task({key: hello input.obj.str ?? "default" "hello"input.obj.items[": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.obj.str", }, - Object { + { "IsNull": false, "Variable": "$.input.obj.str", }, ], - "Next": "true__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.", + "Next": "true__return task({key: hello input.obj.str ?? "default" "hello"input.obj.", }, ], - "Default": "false__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj", + "Default": "false__return task({key: hello input.obj.str ?? "default" "hello"input.obj", "Type": "Choice", }, - "true__input.obj.items[0] ?? await task()": Object { + "true__input.obj.items[0] ?? await task()": { "InputPath": "$.input.obj.items[0]", "Next": "input.obj.items[0] ?? await task() 1", "ResultPath": "$.heap3", "Type": "Pass", }, - "true__return task({key: hello input.obj.str ?? \\"default\\" \\"hello\\"input.obj.": Object { + "true__return task({key: hello input.obj.str ?? "default" "hello"input.obj.": { "InputPath": "$.input.obj.str", - "Next": " hello input.obj.str ?? \\"default\\"", + "Next": " hello input.obj.str ?? "default"", "ResultPath": "$.heap0", "Type": "Pass", }, @@ -18229,21 +18229,21 @@ Object { `; exports[`throw Error 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "throw Error(\\"cause\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "throw Error("cause")", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "throw Error(\\"cause\\")": Object { - "Cause": "{\\"message\\":\\"cause\\"}", + "throw Error("cause")": { + "Cause": "{"message":"cause"}", "Error": "Error", "Type": "Fail", }, @@ -18252,13 +18252,13 @@ Object { `; exports[`throw in for-of 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(item of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18266,15 +18266,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "for(item of input.items)": Object { + "for(item of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(item of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(item of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0[0]", @@ -18283,20 +18283,20 @@ Object { "Default": "return null", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap0[0]", - "Next": "throw new Error(\\"err\\")", + "Next": "throw new Error("err")", "ResultPath": "$.item", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw new Error(\\"err\\")": Object { - "Cause": "{\\"message\\":\\"err\\"}", + "throw new Error("err")": { + "Cause": "{"message":"err"}", "Error": "Error", "Type": "Fail", }, @@ -18305,21 +18305,21 @@ Object { `; exports[`throw new Error 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "throw new Error(\\"cause\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "throw new Error("cause")", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "throw new Error(\\"cause\\")": Object { - "Cause": "{\\"message\\":\\"cause\\"}", + "throw new Error("cause")": { + "Cause": "{"message":"cause"}", "Error": "Error", "Type": "Fail", }, @@ -18328,21 +18328,21 @@ Object { `; exports[`throw new StepFunctionError 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "throw new StepFunctionError(\\"CustomError\\", {property: \\"cause\\"})", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "throw new StepFunctionError("CustomError", {property: "cause"})", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "throw new StepFunctionError(\\"CustomError\\", {property: \\"cause\\"})": Object { - "Cause": "{\\"property\\":\\"cause\\"}", + "throw new StepFunctionError("CustomError", {property: "cause"})": { + "Cause": "{"property":"cause"}", "Error": "CustomError", "Type": "Fail", }, @@ -18351,21 +18351,21 @@ Object { `; exports[`throw new functionless.StepFunctionError 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "throw new functionless.StepFunctionError(\\"CustomError\\", {property: \\"cause\\"}", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "throw new functionless.StepFunctionError("CustomError", {property: "cause"}", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "throw new functionless.StepFunctionError(\\"CustomError\\", {property: \\"cause\\"}": Object { - "Cause": "{\\"property\\":\\"cause\\"}", + "throw new functionless.StepFunctionError("CustomError", {property: "cause"}": { + "Cause": "{"property":"cause"}", "Error": "CustomError", "Type": "Fail", }, @@ -18374,19 +18374,19 @@ Object { `; exports[`try { $SFN.forEach(list, (item) => task(item)) } catch { return null } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18394,16 +18394,16 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -18411,16 +18411,16 @@ Object { }, ], "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "return task(item)", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", @@ -18430,7 +18430,7 @@ Object { }, }, "Next": "1__try", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -18443,19 +18443,19 @@ Object { `; exports[`try { $SFN.map(list, (item) => task(item)) } catch { return null } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18463,16 +18463,16 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -18480,16 +18480,16 @@ Object { }, ], "ItemsPath": "$.input.list", - "Iterator": Object { + "Iterator": { "StartAt": "return task(item)", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "return task(item)": Object { + "return task(item)": { "InputPath": "$.item", "Next": "1__return task(item)", "Resource": "__REPLACED_TOKEN", @@ -18499,7 +18499,7 @@ Object { }, }, "Next": "1__try", - "Parameters": Object { + "Parameters": { "fnl_context.$": "$.fnl_context", "input.$": "$.input", "item.$": "$$.Map.Item.Value", @@ -18512,18 +18512,18 @@ Object { `; exports[`try { for-of } catch { (maybe) throw } finally { task } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__catch__for(item of input.items)": Object { + "States": { + "1__catch__for(item of input.items)": { "InputPath": "$.fnl_tmp_0.0_ParsedError", "Next": "catch(err)", "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "1__finally": Object { - "Choices": Array [ - Object { + "1__finally": { + "Choices": [ + { "IsPresent": true, "Next": "throw__1__finally", "Variable": "$.fnl_tmp_1", @@ -18532,10 +18532,10 @@ Object { "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "for(item of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18543,10 +18543,10 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await task(item)": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "await task(item)": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__for(item of input.items)", @@ -18559,36 +18559,36 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "catch(err)": Object { + "catch(err)": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"you dun' goofed\\")", + "Next": "if(err.message === "you dun' goofed")", "ResultPath": "$.err", "Type": "Pass", }, - "catch__for(item of input.items)": Object { + "catch__for(item of input.items)": { "Next": "1__catch__for(item of input.items)", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_0.Cause)", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "finally": Object { + "finally": { "Next": "1__finally", "Parameters": "2", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap2", "Type": "Task", }, - "for(item of input.items)": Object { + "for(item of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap1", "Type": "Pass", }, - "hasNext__for(item of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(item of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap1[0]", @@ -18597,27 +18597,27 @@ Object { "Default": "finally", "Type": "Choice", }, - "if(err.message === \\"you dun' goofed\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "you dun' goofed")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "you dun' goofed", "Variable": "$.err.message", }, @@ -18626,39 +18626,39 @@ Object { ], }, ], - "Next": "throw new Error(\\"little\\")", + "Next": "throw new Error("little")", }, ], "Default": "finally", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap1[0]", "Next": "await task(item)", "ResultPath": "$.item", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "tail__for(item of input.items)": Object { + "tail__for(item of input.items)": { "InputPath": "$.heap1[1:]", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap1", "Type": "Pass", }, - "throw new Error(\\"little\\")": Object { + "throw new Error("little")": { "Next": "finally", - "Result": Object { + "Result": { "message": "little", }, "ResultPath": "$.fnl_tmp_1", "Type": "Pass", }, - "throw__1__finally": Object { + "throw__1__finally": { "Cause": "an error was re-thrown from a finally block which is unsupported by Step Functions", "Error": "ReThrowFromFinally", "Type": "Fail", @@ -18668,25 +18668,25 @@ Object { `; exports[`try { list.forEach(item => task(item)) } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "tail__try", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "1__try": Object { + "1__try": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18694,15 +18694,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "check__try": Object { - "Choices": Array [ - Object { + "check__try": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -18711,22 +18711,22 @@ Object { "Default": "end__try", "Type": "Choice", }, - "end__try": Object { + "end__try": { "Next": "1__try", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "return task(item)", "ResultPath": "$.item", "Type": "Pass", }, - "return task(item)": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "return task(item)": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -18739,15 +18739,15 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "tail__try": Object { + "tail__try": { "InputPath": "$.heap0.arr[1:]", "Next": "check__try", "ResultPath": "$.heap0.arr", "Type": "Pass", }, - "try": Object { + "try": { "Next": "check__try", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", }, "ResultPath": "$.heap0", @@ -18758,25 +18758,25 @@ Object { `; exports[`try { list.forEach(item => task(item)) } 2`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return input.list.forEach(function (item))": Object { + "States": { + "1__return input.list.forEach(function (item))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "1__try": Object { + "1__try": { "InputPath": "$.heap1", "Next": "tail__return input.list.forEach(function (item))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return input.list.forEach(function (item))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18784,15 +18784,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.fnl_context.null", "Next": "tail__return input.list.forEach(function (item))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "check__return input.list.forEach(function (item))": Object { - "Choices": Array [ - Object { + "check__return input.list.forEach(function (item))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -18801,36 +18801,36 @@ Object { "Default": "end__return input.list.forEach(function (item))", "Type": "Choice", }, - "end__return input.list.forEach(function (item))": Object { + "end__return input.list.forEach(function (item))": { "Next": "1__return input.list.forEach(function (item))", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "try", "ResultPath": "$.item", "Type": "Pass", }, - "return input.list.forEach(function (item))": Object { + "return input.list.forEach(function (item))": { "Next": "check__return input.list.forEach(function (item))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "tail__return input.list.forEach(function (item))": Object { + "tail__return input.list.forEach(function (item))": { "InputPath": "$.heap0.arr[1:]", "Next": "check__return input.list.forEach(function (item))", "ResultPath": "$.heap0.arr", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -18848,19 +18848,19 @@ Object { `; exports[`try { list.forEach(item => throw) } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18868,40 +18868,40 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "check__try": Object { - "Choices": Array [ - Object { + "check__try": { + "Choices": [ + { "IsPresent": true, - "Next": "throw new Error(\\"cause\\")", + "Next": "throw new Error("cause")", "Variable": "$.heap0.arr[0]", }, ], "Default": "end__try", "Type": "Choice", }, - "end__try": Object { + "end__try": { "Next": "1__try", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "throw new Error(\\"cause\\")": Object { + "throw new Error("cause")": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": null, "Type": "Pass", }, - "try": Object { + "try": { "Next": "check__try", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", }, "ResultPath": "$.heap0", @@ -18912,19 +18912,19 @@ Object { `; exports[`try { list.forEach(item => throw) } catch (err) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -18932,50 +18932,50 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"cause\\")", + "Next": "if(err.message === "cause")", "ResultPath": "$.err", "Type": "Pass", }, - "check__try": Object { - "Choices": Array [ - Object { + "check__try": { + "Choices": [ + { "IsPresent": true, - "Next": "throw new Error(\\"cause\\")", + "Next": "throw new Error("cause")", "Variable": "$.heap0.arr[0]", }, ], "Default": "end__try", "Type": "Choice", }, - "end__try": Object { + "end__try": { "Next": "1__try", "Result": "$.fnl_context.null", "ResultPath": "$.heap0", "Type": "Pass", }, - "if(err.message === \\"cause\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "cause")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "cause", "Variable": "$.err.message", }, @@ -18990,29 +18990,29 @@ Object { "Default": "return 1", "Type": "Choice", }, - "return 0": Object { + "return 0": { "End": true, "Result": 0, "ResultPath": "$", "Type": "Pass", }, - "return 1": Object { + "return 1": { "End": true, "Result": 1, "ResultPath": "$", "Type": "Pass", }, - "throw new Error(\\"cause\\")": Object { + "throw new Error("cause")": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "try": Object { + "try": { "Next": "check__try", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", }, "ResultPath": "$.heap0", @@ -19023,25 +19023,25 @@ Object { `; exports[`try { list.map(item => task(item)) } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task(item)": Object { + "States": { + "1__return task(item)": { "InputPath": "$.heap1", "Next": "handleResult__try", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "1__try": Object { + "1__try": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -19049,15 +19049,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "check__try": Object { - "Choices": Array [ - Object { + "check__try": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -19066,33 +19066,33 @@ Object { "Default": "end__try", "Type": "Choice", }, - "end__try": Object { + "end__try": { "Next": "set__end__try", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "handleResult__try": Object { + "handleResult__try": { "Next": "check__try", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "return task(item)", "ResultPath": "$.item", "Type": "Pass", }, - "return task(item)": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "return task(item)": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -19105,15 +19105,15 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "set__end__try": Object { + "set__end__try": { "InputPath": "$.heap0.result[1:]", "Next": "1__try", "ResultPath": "$.heap0", "Type": "Pass", }, - "try": Object { + "try": { "Next": "check__try", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", "arrStr": "[null", }, @@ -19125,25 +19125,25 @@ Object { `; exports[`try { list.map(item => task(item)) } 2`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return Promise.all(input.list.map(function (item)))": Object { + "States": { + "1__return Promise.all(input.list.map(function (item)))": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "1__try": Object { + "1__try": { "InputPath": "$.heap1", "Next": "handleResult__return Promise.all(input.list.map(function (item)))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return Promise.all(input.list.map(function (item)))", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -19151,15 +19151,15 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.fnl_context.null", "Next": "handleResult__return Promise.all(input.list.map(function (item)))", "ResultPath": "$.heap0.arr[0]", "Type": "Pass", }, - "check__return Promise.all(input.list.map(function (item)))": Object { - "Choices": Array [ - Object { + "check__return Promise.all(input.list.map(function (item)))": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0.arr[0]", @@ -19168,48 +19168,48 @@ Object { "Default": "end__return Promise.all(input.list.map(function (item)))", "Type": "Choice", }, - "end__return Promise.all(input.list.map(function (item)))": Object { + "end__return Promise.all(input.list.map(function (item)))": { "Next": "set__end__return Promise.all(input.list.map(function (item)))", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "handleResult__return Promise.all(input.list.map(function (item)))": Object { + "handleResult__return Promise.all(input.list.map(function (item)))": { "Next": "check__return Promise.all(input.list.map(function (item)))", - "Parameters": Object { + "Parameters": { "arr.$": "$.heap0.arr[1:]", "arrStr.$": "States.Format('{},{}', $.heap0.arrStr, States.JsonToString($.heap0.arr[0]))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "item": Object { + "item": { "InputPath": "$.heap0.arr[0]", "Next": "try", "ResultPath": "$.item", "Type": "Pass", }, - "return Promise.all(input.list.map(function (item)))": Object { + "return Promise.all(input.list.map(function (item)))": { "Next": "check__return Promise.all(input.list.map(function (item)))", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", "arrStr": "[null", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "set__end__return Promise.all(input.list.map(function (item)))": Object { + "set__end__return Promise.all(input.list.map(function (item)))": { "InputPath": "$.heap0.result[1:]", "Next": "1__return Promise.all(input.list.map(function (item)))", "ResultPath": "$.heap0", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -19227,19 +19227,19 @@ Object { `; exports[`try { list.map(item => throw) } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -19247,48 +19247,48 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "check__try": Object { - "Choices": Array [ - Object { + "check__try": { + "Choices": [ + { "IsPresent": true, - "Next": "throw new Error(\\"cause\\")", + "Next": "throw new Error("cause")", "Variable": "$.heap0.arr[0]", }, ], "Default": "end__try", "Type": "Choice", }, - "end__try": Object { + "end__try": { "Next": "set__end__try", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "set__end__try": Object { + "set__end__try": { "InputPath": "$.heap0.result[1:]", "Next": "1__try", "ResultPath": "$.heap0", "Type": "Pass", }, - "throw new Error(\\"cause\\")": Object { + "throw new Error("cause")": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": null, "Type": "Pass", }, - "try": Object { + "try": { "Next": "check__try", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", "arrStr": "[null", }, @@ -19300,19 +19300,19 @@ Object { `; exports[`try { list.map(item => throw) } catch (err) 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -19320,52 +19320,52 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"cause\\")", + "Next": "if(err.message === "cause")", "ResultPath": "$.err", "Type": "Pass", }, - "check__try": Object { - "Choices": Array [ - Object { + "check__try": { + "Choices": [ + { "IsPresent": true, - "Next": "throw new Error(\\"cause\\")", + "Next": "throw new Error("cause")", "Variable": "$.heap0.arr[0]", }, ], "Default": "end__try", "Type": "Choice", }, - "end__try": Object { + "end__try": { "Next": "set__end__try", - "Parameters": Object { + "Parameters": { "result.$": "States.StringToJson(States.Format('{}]', $.heap0.arrStr))", }, "ResultPath": "$.heap0", "Type": "Pass", }, - "if(err.message === \\"cause\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "cause")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "cause", "Variable": "$.err.message", }, @@ -19380,35 +19380,35 @@ Object { "Default": "return 1", "Type": "Choice", }, - "return 0": Object { + "return 0": { "End": true, "Result": 0, "ResultPath": "$", "Type": "Pass", }, - "return 1": Object { + "return 1": { "End": true, "Result": 1, "ResultPath": "$", "Type": "Pass", }, - "set__end__try": Object { + "set__end__try": { "InputPath": "$.heap0.result[1:]", "Next": "1__try", "ResultPath": "$.heap0", "Type": "Pass", }, - "throw new Error(\\"cause\\")": Object { + "throw new Error("cause")": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "try": Object { + "try": { "Next": "check__try", - "Parameters": Object { + "Parameters": { "arr.$": "$.input.list", "arrStr": "[null", }, @@ -19420,37 +19420,37 @@ Object { `; exports[`try { return $SFN.parallel(() => "hello", () => "world")) } catch { return null } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Branches": Array [ - Object { - "StartAt": "return \\"hello\\"", - "States": Object { - "return \\"hello\\"": Object { + "try": { + "Branches": [ + { + "StartAt": "return "hello"", + "States": { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", @@ -19458,10 +19458,10 @@ Object { }, }, }, - Object { - "StartAt": "return \\"world\\"", - "States": Object { - "return \\"world\\"": Object { + { + "StartAt": "return "world"", + "States": { + "return "world"": { "End": true, "Result": "world", "ResultPath": "$", @@ -19470,9 +19470,9 @@ Object { }, }, ], - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -19488,37 +19488,37 @@ Object { `; exports[`try { return $SFN.parallel(() => "hello", async () => { await task(); await task(); })) } catch { return null } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__try": Object { + "States": { + "1__try": { "End": true, "InputPath": "$.heap2", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Branches": Array [ - Object { - "StartAt": "return \\"hello\\"", - "States": Object { - "return \\"hello\\"": Object { + "try": { + "Branches": [ + { + "StartAt": "return "hello"", + "States": { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", @@ -19526,24 +19526,24 @@ Object { }, }, }, - Object { + { "StartAt": "await task()", - "States": Object { - "await task()": Object { + "States": { + "await task()": { "InputPath": "$.fnl_context.null", "Next": "await task() 1", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "await task() 1": Object { + "await task() 1": { "InputPath": "$.fnl_context.null", "Next": "return null", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -19552,9 +19552,9 @@ Object { }, }, ], - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -19570,12 +19570,12 @@ Object { `; exports[`try { task } catch { throw } finally { task() } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__finally": Object { - "Choices": Array [ - Object { + "States": { + "1__finally": { + "Choices": [ + { "IsPresent": true, "Next": "throw__1__finally", "Variable": "$.fnl_tmp_1", @@ -19584,20 +19584,20 @@ Object { "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "await task()", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await task()": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "await task()": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__await task()", @@ -19610,28 +19610,28 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "catch__await task()": Object { + "catch__await task()": { "Next": "finally", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": "$.fnl_tmp_1", "Type": "Pass", }, - "finally": Object { + "finally": { "Next": "1__finally", "Parameters": "recover", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw__1__finally": Object { + "throw__1__finally": { "Cause": "an error was re-thrown from a finally block which is unsupported by Step Functions", "Error": "ReThrowFromFinally", "Type": "Fail", @@ -19641,12 +19641,12 @@ Object { `; exports[`try { task() } catch { (maybe) throw } finally { task } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__finally": Object { - "Choices": Array [ - Object { + "States": { + "1__finally": { + "Choices": [ + { "IsPresent": true, "Next": "throw__1__finally", "Variable": "$.fnl_tmp_1", @@ -19655,10 +19655,10 @@ Object { "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { - "Next": "await task(\\"1\\")", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "await task("1")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -19666,13 +19666,13 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await task(\\"1\\")": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "await task("1")": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], - "Next": "catch__await task(\\"1\\")", + "Next": "catch__await task("1")", "ResultPath": null, }, ], @@ -19682,27 +19682,27 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "catch__await task(\\"1\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "catch__await task("1")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "sam", "Variable": "$.input.id", }, @@ -19711,34 +19711,34 @@ Object { ], }, ], - "Next": "throw new Error(\\"little\\")", + "Next": "throw new Error("little")", }, ], "Default": "finally", "Type": "Choice", }, - "finally": Object { + "finally": { "Next": "1__finally", "Parameters": "2", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw new Error(\\"little\\")": Object { + "throw new Error("little")": { "Next": "finally", - "Result": Object { + "Result": { "message": "little", }, "ResultPath": "$.fnl_tmp_1", "Type": "Pass", }, - "throw__1__finally": Object { + "throw__1__finally": { "Cause": "an error was re-thrown from a finally block which is unsupported by Step Functions", "Error": "ReThrowFromFinally", "Type": "Fail", @@ -19748,12 +19748,12 @@ Object { `; exports[`try { task() } catch { task() } finally { task() } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__finally": Object { - "Choices": Array [ - Object { + "States": { + "1__finally": { + "Choices": [ + { "IsPresent": true, "Next": "throw__1__finally", "Variable": "$.fnl_tmp_1", @@ -19762,23 +19762,23 @@ Object { "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { - "Next": "await task(\\"1\\")", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "await task("1")", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await task(\\"1\\")": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "await task("1")": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], - "Next": "catch__await task(\\"1\\")", + "Next": "catch__await task("1")", "ResultPath": null, }, ], @@ -19788,10 +19788,10 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "catch__await task(\\"1\\")": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "catch__await task("1")": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "finally", @@ -19804,20 +19804,20 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "finally": Object { + "finally": { "Next": "1__finally", "Parameters": "3", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap2", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw__1__finally": Object { + "throw__1__finally": { "Cause": "an error was re-thrown from a finally block which is unsupported by Step Functions", "Error": "ReThrowFromFinally", "Type": "Fail", @@ -19827,18 +19827,18 @@ Object { `; exports[`try { task() } catch(err) { (maybe) throw } finally { task } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__catch__await task(\\"1\\")": Object { + "States": { + "1__catch__await task("1")": { "InputPath": "$.fnl_tmp_0.0_ParsedError", "Next": "catch(err)", "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "1__finally": Object { - "Choices": Array [ - Object { + "1__finally": { + "Choices": [ + { "IsPresent": true, "Next": "throw__1__finally", "Variable": "$.fnl_tmp_1", @@ -19847,23 +19847,23 @@ Object { "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { - "Next": "await task(\\"1\\")", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "await task("1")", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await task(\\"1\\")": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "await task("1")": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], - "Next": "catch__await task(\\"1\\")", + "Next": "catch__await task("1")", "ResultPath": "$.fnl_tmp_0", }, ], @@ -19873,48 +19873,48 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "catch(err)": Object { + "catch(err)": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"sam\\")", + "Next": "if(err.message === "sam")", "ResultPath": "$.err", "Type": "Pass", }, - "catch__await task(\\"1\\")": Object { - "Next": "1__catch__await task(\\"1\\")", - "Parameters": Object { + "catch__await task("1")": { + "Next": "1__catch__await task("1")", + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_0.Cause)", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "finally": Object { + "finally": { "Next": "1__finally", "Parameters": "2", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap1", "Type": "Task", }, - "if(err.message === \\"sam\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "sam")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "sam", "Variable": "$.err.message", }, @@ -19923,27 +19923,27 @@ Object { ], }, ], - "Next": "throw new Error(\\"little\\")", + "Next": "throw new Error("little")", }, ], "Default": "finally", "Type": "Choice", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw new Error(\\"little\\")": Object { + "throw new Error("little")": { "Next": "finally", - "Result": Object { + "Result": { "message": "little", }, "ResultPath": "$.fnl_tmp_1", "Type": "Pass", }, - "throw__1__finally": Object { + "throw__1__finally": { "Cause": "an error was re-thrown from a finally block which is unsupported by Step Functions", "Error": "ReThrowFromFinally", "Type": "Fail", @@ -19953,12 +19953,12 @@ Object { `; exports[`try { throw } catch { (maybe) throw } finally { task } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__finally": Object { - "Choices": Array [ - Object { + "States": { + "1__finally": { + "Choices": [ + { "IsPresent": true, "Next": "throw__1__finally", "Variable": "$.fnl_tmp_1", @@ -19967,10 +19967,10 @@ Object { "Default": "return null", "Type": "Choice", }, - "Initialize Functionless Context": Object { - "Next": "throw new Error(\\"go\\")", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "throw new Error("go")", + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -19978,27 +19978,27 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__throw new Error(\\"go\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "catch__throw new Error("go")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "sam", "Variable": "$.input.id", }, @@ -20007,42 +20007,42 @@ Object { ], }, ], - "Next": "throw new Error(\\"little\\")", + "Next": "throw new Error("little")", }, ], "Default": "finally", "Type": "Choice", }, - "finally": Object { + "finally": { "InputPath": "$.fnl_context.null", "Next": "1__finally", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw new Error(\\"go\\")": Object { - "Next": "catch__throw new Error(\\"go\\")", - "Result": Object { + "throw new Error("go")": { + "Next": "catch__throw new Error("go")", + "Result": { "message": "go", }, "ResultPath": null, "Type": "Pass", }, - "throw new Error(\\"little\\")": Object { + "throw new Error("little")": { "Next": "finally", - "Result": Object { + "Result": { "message": "little", }, "ResultPath": "$.fnl_tmp_1", "Type": "Pass", }, - "throw__1__finally": Object { + "throw__1__finally": { "Cause": "an error was re-thrown from a finally block which is unsupported by Step Functions", "Error": "ReThrowFromFinally", "Type": "Fail", @@ -20052,23 +20052,23 @@ Object { `; exports[`try, task, empty catch 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "await computeScore({id: \\"id\\", name: \\"name\\"})", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "await computeScore({id: "id", name: "name"})", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "await computeScore({id: \\"id\\", name: \\"name\\"})": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "await computeScore({id: "id", name: "name"})": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "return null", @@ -20076,7 +20076,7 @@ Object { }, ], "Next": "return null", - "Parameters": Object { + "Parameters": { "id": "id", "name": "name", }, @@ -20084,7 +20084,7 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -20095,28 +20095,28 @@ Object { `; exports[`try, throw Error('error'), empty catch 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "throw Error(\\"cause\\")", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "throw Error("cause")", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw Error(\\"cause\\")": Object { + "throw Error("cause")": { "Next": "return null", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": null, @@ -20127,36 +20127,36 @@ Object { `; exports[`try, throw, catch, throw, finally, return 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { - "Next": "return \\"rock-star\\"", - "Result": Object { + "catch__try": { + "Next": "return "rock-star"", + "Result": { "message": "little", }, "ResultPath": null, "Type": "Pass", }, - "return \\"rock-star\\"": Object { + "return "rock-star"": { "End": true, "Result": "rock-star", "ResultPath": "$", "Type": "Pass", }, - "try": Object { + "try": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "go", }, "ResultPath": null, @@ -20167,28 +20167,28 @@ Object { `; exports[`try, throw, empty catch 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { - "Next": "throw new StepFunctionError(\\"CustomError\\", {property: \\"cause\\"})", - "Parameters": Object { - "fnl_context": Object { + "States": { + "Initialize Functionless Context": { + "Next": "throw new StepFunctionError("CustomError", {property: "cause"})", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw new StepFunctionError(\\"CustomError\\", {property: \\"cause\\"})": Object { + "throw new StepFunctionError("CustomError", {property: "cause"})": { "Next": "return null", - "Result": Object { + "Result": { "property": "cause", }, "ResultPath": null, @@ -20199,28 +20199,28 @@ Object { `; exports[`try, throw, finally 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Next": "return \\"hello\\"", - "Result": Object { + "try": { + "Next": "return "hello"", + "Result": { "message": "cause", }, "ResultPath": null, @@ -20231,46 +20231,46 @@ Object { `; exports[`try-catch with guaranteed throw new Error 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"cause\\")", + "Next": "if(err.message === "cause")", "ResultPath": "$.err", "Type": "Pass", }, - "if(err.message === \\"cause\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "cause")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "cause", "Variable": "$.err.message", }, @@ -20279,27 +20279,27 @@ Object { ], }, ], - "Next": "return \\"hello\\"", + "Next": "return "hello"", }, ], - "Default": "return \\"world\\"", + "Default": "return "world"", "Type": "Choice", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "return \\"world\\"": Object { + "return "world"": { "End": true, "Result": "world", "ResultPath": "$", "Type": "Pass", }, - "try": Object { + "try": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": "$.fnl_tmp_0", @@ -20310,63 +20310,63 @@ Object { `; exports[`try-catch with inner return and a catch variable 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__catch__try": Object { + "States": { + "1__catch__try": { "InputPath": "$.fnl_tmp_0.0_ParsedError", "Next": "catch(err)", "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch(err)": Object { + "catch(err)": { "InputPath": "$.fnl_tmp_0", "Next": "return err.message", "ResultPath": "$.err", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "Next": "1__catch__try", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_0.Cause)", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "return err.message": Object { + "return err.message": { "End": true, "InputPath": "$.err.message", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", "ResultPath": "$.fnl_tmp_0", }, ], - "Next": "return \\"hello\\"", - "Parameters": Object { + "Next": "return "hello"", + "Parameters": { "id": "id", "name": "name", }, @@ -20379,43 +20379,43 @@ Object { `; exports[`try-catch with inner return and no catch variable 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "End": true, "Result": "world", "ResultPath": "$", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", "ResultPath": null, }, ], - "Next": "return \\"hello\\"", - "Parameters": Object { + "Next": "return "hello"", + "Parameters": { "id": "id", "name": "name", }, @@ -20428,21 +20428,21 @@ Object { `; exports[`try-catch with optional return of task 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await computeScore({id: input.id, name: \\"sam\\"})": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "States": { + "1__await computeScore({id: input.id, name: "sam"})": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", "ResultPath": "$.fnl_tmp_0", }, ], - "Next": "return \\"hello world\\"", - "Parameters": Object { + "Next": "return "hello world"", + "Parameters": { "id.$": "$.heap0", "name": "sam", }, @@ -20450,16 +20450,16 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "1__catch__try": Object { + "1__catch__try": { "InputPath": "$.fnl_tmp_0.0_ParsedError", "Next": "catch(err)", "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -20467,47 +20467,47 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await computeScore({id: input.id, name: \\"sam\\"})": Object { + "await computeScore({id: input.id, name: "sam"})": { "InputPath": "$.input.id", - "Next": "1__await computeScore({id: input.id, name: \\"sam\\"})", + "Next": "1__await computeScore({id: input.id, name: "sam"})", "ResultPath": "$.heap0", "Type": "Pass", }, - "catch(err)": Object { + "catch(err)": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"cause\\")", + "Next": "if(err.message === "cause")", "ResultPath": "$.err", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "Next": "1__catch__try", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_0.Cause)", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "if(err.message === \\"cause\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "cause")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "cause", "Variable": "$.err.message", }, @@ -20516,51 +20516,51 @@ Object { ], }, ], - "Next": "return \\"hello\\"", + "Next": "return "hello"", }, ], - "Default": "return \\"world\\"", + "Default": "return "world"", "Type": "Choice", }, - "return \\"hello world\\"": Object { + "return "hello world"": { "End": true, "Result": "hello world", "ResultPath": "$", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "return \\"world\\"": Object { + "return "world"": { "End": true, "Result": "world", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "try": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.id", }, @@ -20569,10 +20569,10 @@ Object { ], }, ], - "Next": "await computeScore({id: input.id, name: \\"sam\\"})", + "Next": "await computeScore({id: input.id, name: "sam"})", }, ], - "Default": "return \\"hello world\\"", + "Default": "return "hello world"", "Type": "Choice", }, }, @@ -20580,33 +20580,33 @@ Object { `; exports[`try-catch with optional return of task 2`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__catch__try": Object { + "States": { + "1__catch__try": { "InputPath": "$.fnl_tmp_0.0_ParsedError", "Next": "catch(err)", "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "1__return await computeScore({id: input.id, name: \\"sam\\"})": Object { + "1__return await computeScore({id: input.id, name: "sam"})": { "End": true, "InputPath": "$.heap1", "ResultPath": "$", "Type": "Pass", }, - "1__return await computeScore({id: input.id, name: \\"sam\\"}) 1": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "1__return await computeScore({id: input.id, name: "sam"}) 1": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", "ResultPath": "$.fnl_tmp_0", }, ], - "Next": "1__return await computeScore({id: input.id, name: \\"sam\\"})", - "Parameters": Object { + "Next": "1__return await computeScore({id: input.id, name: "sam"})", + "Parameters": { "id.$": "$.heap0", "name": "sam", }, @@ -20614,10 +20614,10 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -20625,41 +20625,41 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch(err)": Object { + "catch(err)": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"cause\\")", + "Next": "if(err.message === "cause")", "ResultPath": "$.err", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "Next": "1__catch__try", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_0.Cause)", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "if(err.message === \\"cause\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "cause")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "cause", "Variable": "$.err.message", }, @@ -20668,57 +20668,57 @@ Object { ], }, ], - "Next": "return \\"hello\\"", + "Next": "return "hello"", }, ], - "Default": "return \\"world\\"", + "Default": "return "world"", "Type": "Choice", }, - "return \\"hello world\\"": Object { + "return "hello world"": { "End": true, "Result": "hello world", "ResultPath": "$", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "return \\"world\\"": Object { + "return "world"": { "End": true, "Result": "world", "ResultPath": "$", "Type": "Pass", }, - "return await computeScore({id: input.id, name: \\"sam\\"})": Object { + "return await computeScore({id: input.id, name: "sam"})": { "InputPath": "$.input.id", - "Next": "1__return await computeScore({id: input.id, name: \\"sam\\"}) 1", + "Next": "1__return await computeScore({id: input.id, name: "sam"}) 1", "ResultPath": "$.heap0", "Type": "Pass", }, - "try": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "try": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.id", }, @@ -20727,10 +20727,10 @@ Object { ], }, ], - "Next": "return await computeScore({id: input.id, name: \\"sam\\"})", + "Next": "return await computeScore({id: input.id, name: "sam"})", }, ], - "Default": "return \\"hello world\\"", + "Default": "return "hello world"", "Type": "Choice", }, }, @@ -20738,21 +20738,21 @@ Object { `; exports[`try-catch with optional task 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__await computeScore({id: input.id, name: \\"sam\\"})": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "States": { + "1__await computeScore({id: input.id, name: "sam"})": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", "ResultPath": "$.fnl_tmp_0", }, ], - "Next": "return \\"hello world\\"", - "Parameters": Object { + "Next": "return "hello world"", + "Parameters": { "id.$": "$.heap0", "name": "sam", }, @@ -20760,16 +20760,16 @@ Object { "ResultPath": "$.heap1", "Type": "Task", }, - "1__catch__try": Object { + "1__catch__try": { "InputPath": "$.fnl_tmp_0.0_ParsedError", "Next": "catch(err)", "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -20777,47 +20777,47 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "await computeScore({id: input.id, name: \\"sam\\"})": Object { + "await computeScore({id: input.id, name: "sam"})": { "InputPath": "$.input.id", - "Next": "1__await computeScore({id: input.id, name: \\"sam\\"})", + "Next": "1__await computeScore({id: input.id, name: "sam"})", "ResultPath": "$.heap0", "Type": "Pass", }, - "catch(err)": Object { + "catch(err)": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"cause\\")", + "Next": "if(err.message === "cause")", "ResultPath": "$.err", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "Next": "1__catch__try", - "Parameters": Object { + "Parameters": { "0_ParsedError.$": "States.StringToJson($.fnl_tmp_0.Cause)", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "if(err.message === \\"cause\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "cause")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "cause", "Variable": "$.err.message", }, @@ -20826,51 +20826,51 @@ Object { ], }, ], - "Next": "return \\"hello\\"", + "Next": "return "hello"", }, ], - "Default": "return \\"world\\"", + "Default": "return "world"", "Type": "Choice", }, - "return \\"hello world\\"": Object { + "return "hello world"": { "End": true, "Result": "hello world", "ResultPath": "$", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "return \\"world\\"": Object { + "return "world"": { "End": true, "Result": "world", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "try": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.id", }, @@ -20879,10 +20879,10 @@ Object { ], }, ], - "Next": "await computeScore({id: input.id, name: \\"sam\\"})", + "Next": "await computeScore({id: input.id, name: "sam"})", }, ], - "Default": "return \\"hello world\\"", + "Default": "return "hello world"", "Type": "Choice", }, }, @@ -20890,13 +20890,13 @@ Object { `; exports[`try-catch with optional throw of an Error 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -20904,33 +20904,33 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "InputPath": "$.fnl_tmp_0", - "Next": "if(err.message === \\"cause\\")", + "Next": "if(err.message === "cause")", "ResultPath": "$.err", "Type": "Pass", }, - "if(err.message === \\"cause\\")": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "if(err.message === "cause")": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.err.message", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.err.message", }, - Object { + { "StringEquals": "cause", "Variable": "$.err.message", }, @@ -20939,59 +20939,59 @@ Object { ], }, ], - "Next": "return \\"hello\\"", + "Next": "return "hello"", }, ], - "Default": "return \\"world\\"", + "Default": "return "world"", "Type": "Choice", }, - "return \\"hello world\\"": Object { + "return "hello world"": { "End": true, "Result": "hello world", "ResultPath": "$", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "return \\"world\\"": Object { + "return "world"": { "End": true, "Result": "world", "ResultPath": "$", "Type": "Pass", }, - "throw new Error(\\"cause\\")": Object { + "throw new Error("cause")": { "Next": "catch__try", - "Result": Object { + "Result": { "message": "cause", }, "ResultPath": "$.fnl_tmp_0", "Type": "Pass", }, - "try": Object { - "Choices": Array [ - Object { - "And": Array [ - Object { + "try": { + "Choices": [ + { + "And": [ + { "IsPresent": true, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.input.id", }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsString": true, "Variable": "$.input.id", }, - Object { + { "StringEquals": "hello", "Variable": "$.input.id", }, @@ -21000,10 +21000,10 @@ Object { ], }, ], - "Next": "throw new Error(\\"cause\\")", + "Next": "throw new Error("cause")", }, ], - "Default": "return \\"hello world\\"", + "Default": "return "hello world"", "Type": "Choice", }, }, @@ -21011,13 +21011,13 @@ Object { `; exports[`try-catch, err variable, contains for-of, throw Error 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(item of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -21025,21 +21025,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__for(item of input.items)": Object { + "catch__for(item of input.items)": { "InputPath": "$.fnl_tmp_0", "Next": "return err.message", "ResultPath": "$.err", "Type": "Pass", }, - "for(item of input.items)": Object { + "for(item of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(item of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(item of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0[0]", @@ -21048,27 +21048,27 @@ Object { "Default": "return null", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap0[0]", - "Next": "throw Error(\\"err\\")", + "Next": "throw Error("err")", "ResultPath": "$.item", "Type": "Pass", }, - "return err.message": Object { + "return err.message": { "End": true, "InputPath": "$.err.message", "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw Error(\\"err\\")": Object { + "throw Error("err")": { "Next": "catch__for(item of input.items)", - "Result": Object { + "Result": { "message": "err", }, "ResultPath": "$.fnl_tmp_0", @@ -21079,13 +21079,13 @@ Object { `; exports[`try-catch, err variable, contains for-of, throw new Error 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(item of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -21093,21 +21093,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__for(item of input.items)": Object { + "catch__for(item of input.items)": { "InputPath": "$.fnl_tmp_0", "Next": "return err.message", "ResultPath": "$.err", "Type": "Pass", }, - "for(item of input.items)": Object { + "for(item of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(item of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(item of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0[0]", @@ -21116,27 +21116,27 @@ Object { "Default": "return null", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap0[0]", - "Next": "throw new Error(\\"err\\")", + "Next": "throw new Error("err")", "ResultPath": "$.item", "Type": "Pass", }, - "return err.message": Object { + "return err.message": { "End": true, "InputPath": "$.err.message", "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw new Error(\\"err\\")": Object { + "throw new Error("err")": { "Next": "catch__for(item of input.items)", - "Result": Object { + "Result": { "message": "err", }, "ResultPath": "$.fnl_tmp_0", @@ -21147,13 +21147,13 @@ Object { `; exports[`try-catch, no variable, contains for-of, throw 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "for(item of input.items)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -21161,21 +21161,21 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "catch__for(item of input.items)": Object { + "catch__for(item of input.items)": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "for(item of input.items)": Object { + "for(item of input.items)": { "InputPath": "$.input.items", "Next": "hasNext__for(item of input.items)", "ResultPath": "$.heap0", "Type": "Pass", }, - "hasNext__for(item of input.items)": Object { - "Choices": Array [ - Object { + "hasNext__for(item of input.items)": { + "Choices": [ + { "IsPresent": true, "Next": "item", "Variable": "$.heap0[0]", @@ -21184,21 +21184,21 @@ Object { "Default": "return null", "Type": "Choice", }, - "item": Object { + "item": { "InputPath": "$.heap0[0]", - "Next": "throw new Error(\\"err\\")", + "Next": "throw new Error("err")", "ResultPath": "$.item", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "throw new Error(\\"err\\")": Object { + "throw new Error("err")": { "Next": "catch__for(item of input.items)", - "Result": Object { + "Result": { "message": "err", }, "ResultPath": null, @@ -21209,37 +21209,37 @@ Object { `; exports[`try-catch-finally 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "try", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return \\"hello\\"": Object { + "return "hello"": { "End": true, "Result": "hello", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], - "Next": "return \\"hello\\"", + "Next": "return "hello"", "ResultPath": null, }, ], - "Next": "return \\"hello\\"", - "Parameters": Object { + "Next": "return "hello"", + "Parameters": { "id": "id", "name": "name", }, @@ -21252,29 +21252,29 @@ Object { `; exports[`use context in object 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return {a: context.Execution.Name}": Object { + "States": { + "1__return {a: context.Execution.Name}": { "End": true, - "Parameters": Object { + "Parameters": { "a.$": "$.heap0", }, "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return {a: context.Execution.Name}", - "Parameters": Object { + "Parameters": { "_.$": "$$.Execution.Input", - "fnl_context": Object { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return {a: context.Execution.Name}": Object { + "return {a: context.Execution.Name}": { "InputPath": "$$.Execution.Name", "Next": "1__return {a: context.Execution.Name}", "ResultPath": "$.heap0", @@ -21285,27 +21285,27 @@ Object { `; exports[`use context object 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task(context)": Object { + "States": { + "1__return task(context)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return task(context)", - "Parameters": Object { + "Parameters": { "_.$": "$$.Execution.Input", - "fnl_context": Object { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return task(context)": Object { + "return task(context)": { "InputPath": "$$", "Next": "1__return task(context)", "Resource": "__REPLACED_TOKEN", @@ -21317,21 +21317,21 @@ Object { `; exports[`use context parameter 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "return context.Execution.Name", - "Parameters": Object { + "Parameters": { "_.$": "$$.Execution.Input", - "fnl_context": Object { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return context.Execution.Name": Object { + "return context.Execution.Name": { "End": true, "InputPath": "$$.Execution.Name", "ResultPath": "$", @@ -21342,27 +21342,27 @@ Object { `; exports[`use context parameter in function call 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return task(context.Execution.Id)": Object { + "States": { + "1__return task(context.Execution.Id)": { "End": true, "InputPath": "$.heap0", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return task(context.Execution.Id)", - "Parameters": Object { + "Parameters": { "_.$": "$$.Execution.Input", - "fnl_context": Object { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return task(context.Execution.Id)": Object { + "return task(context.Execution.Id)": { "InputPath": "$$.Execution.Id", "Next": "1__return task(context.Execution.Id)", "Resource": "__REPLACED_TOKEN", @@ -21374,35 +21374,35 @@ Object { `; exports[`use context parameter in template 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "1__return name: context.Execution.Id": Object { + "States": { + "1__return name: context.Execution.Id": { "End": true, "InputPath": "$.heap1.string", "ResultPath": "$", "Type": "Pass", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "return name: context.Execution.Id", - "Parameters": Object { + "Parameters": { "_.$": "$$.Execution.Input", - "fnl_context": Object { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "name: context.Execution.Id": Object { + "name: context.Execution.Id": { "Next": "1__return name: context.Execution.Id", - "Parameters": Object { + "Parameters": { "string.$": "States.Format('name: {}',$.heap0)", }, "ResultPath": "$.heap1", "Type": "Pass", }, - "return name: context.Execution.Id": Object { + "return name: context.Execution.Id": { "InputPath": "$$.Execution.Id", "Next": "name: context.Execution.Id", "ResultPath": "$.heap0", @@ -21413,25 +21413,25 @@ Object { `; exports[`waitFor literal number of seconds 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.waitFor(1)": Object { + "States": { + "$SFN.waitFor(1)": { "Next": "return null", "Seconds": 1, "Type": "Wait", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "$SFN.waitFor(1)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -21442,25 +21442,25 @@ Object { `; exports[`waitFor literal timestamp 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.waitUntil(\\"2022-08-01T00:00:00Z\\")": Object { + "States": { + "$SFN.waitUntil("2022-08-01T00:00:00Z")": { "Next": "return null", "Timestamp": "2022-08-01T00:00:00Z", "Type": "Wait", }, - "Initialize Functionless Context": Object { - "Next": "$SFN.waitUntil(\\"2022-08-01T00:00:00Z\\")", - "Parameters": Object { - "fnl_context": Object { + "Initialize Functionless Context": { + "Next": "$SFN.waitUntil("2022-08-01T00:00:00Z")", + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -21471,18 +21471,18 @@ Object { `; exports[`waitFor reference number of seconds 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.waitFor(input.seconds)": Object { + "States": { + "$SFN.waitFor(input.seconds)": { "Next": "return null", "SecondsPath": "$.input.seconds", "Type": "Wait", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "$SFN.waitFor(input.seconds)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -21490,7 +21490,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -21501,18 +21501,18 @@ Object { `; exports[`waitUntil reference timestamp 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "$SFN.waitUntil(input.until)": Object { + "States": { + "$SFN.waitUntil(input.until)": { "Next": "return null", "TimestampPath": "$.input.until", "Type": "Wait", }, - "Initialize Functionless Context": Object { + "Initialize Functionless Context": { "Next": "$SFN.waitUntil(input.until)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, "input.$": "$$.Execution.Input", @@ -21520,7 +21520,7 @@ Object { "ResultPath": "$", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", @@ -21531,122 +21531,122 @@ Object { `; exports[`while (cond) { cond = task() } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "while (cond === null)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "cond = await task()": Object { + "cond = await task()": { "InputPath": "$.fnl_context.null", "Next": "cond = await task() 1", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "cond = await task() 1": Object { + "cond = await task() 1": { "InputPath": "$.heap0", "Next": "while (cond === null)", "ResultPath": "$.cond", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "while (cond === null)": Object { - "Choices": Array [ - Object { + "while (cond === null)": { + "Choices": [ + { "Next": "cond = await task()", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.cond", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.cond", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.cond", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.cond", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.cond", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.cond", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.cond", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.cond", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.cond", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.cond", }, @@ -21671,122 +21671,122 @@ Object { `; exports[`while (cond); cond = task() 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "while (cond === null)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "cond = await task()": Object { + "cond = await task()": { "InputPath": "$.fnl_context.null", "Next": "cond = await task() 1", "Resource": "__REPLACED_TOKEN", "ResultPath": "$.heap0", "Type": "Task", }, - "cond = await task() 1": Object { + "cond = await task() 1": { "InputPath": "$.heap0", "Next": "while (cond === null)", "ResultPath": "$.cond", "Type": "Pass", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "while (cond === null)": Object { - "Choices": Array [ - Object { + "while (cond === null)": { + "Choices": [ + { "Next": "cond = await task()", - "Or": Array [ - Object { - "And": Array [ - Object { + "Or": [ + { + "And": [ + { "IsPresent": false, "Variable": "$.cond", }, - Object { + { "IsPresent": false, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsPresent": true, "Variable": "$.cond", }, - Object { + { "IsPresent": true, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsNull": true, "Variable": "$.cond", }, - Object { + { "IsNull": true, "Variable": "$.fnl_context.null", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNull": false, "Variable": "$.cond", }, - Object { + { "IsNull": false, "Variable": "$.fnl_context.null", }, - Object { - "Or": Array [ - Object { - "And": Array [ - Object { + { + "Or": [ + { + "And": [ + { "IsString": true, "Variable": "$.cond", }, - Object { + { "StringEqualsPath": "$.fnl_context.null", "Variable": "$.cond", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsBoolean": true, "Variable": "$.cond", }, - Object { + { "BooleanEqualsPath": "$.fnl_context.null", "Variable": "$.cond", }, ], }, - Object { - "And": Array [ - Object { + { + "And": [ + { "IsNumeric": true, "Variable": "$.cond", }, - Object { + { "NumericEqualsPath": "$.fnl_context.null", "Variable": "$.cond", }, @@ -21811,34 +21811,34 @@ Object { `; exports[`while(true) { try { } catch { wait } 1`] = ` -Object { +{ "StartAt": "Initialize Functionless Context", - "States": Object { - "Initialize Functionless Context": Object { + "States": { + "Initialize Functionless Context": { "Next": "while (true)", - "Parameters": Object { - "fnl_context": Object { + "Parameters": { + "fnl_context": { "null": null, }, }, "ResultPath": "$", "Type": "Pass", }, - "catch__try": Object { + "catch__try": { "Next": "while (true)", "Seconds": 1, "Type": "Wait", }, - "return null": Object { + "return null": { "End": true, "InputPath": "$.fnl_context.null", "ResultPath": "$", "Type": "Pass", }, - "try": Object { - "Catch": Array [ - Object { - "ErrorEquals": Array [ + "try": { + "Catch": [ + { + "ErrorEquals": [ "States.ALL", ], "Next": "catch__try", @@ -21851,9 +21851,9 @@ Object { "ResultPath": "$.heap0", "Type": "Task", }, - "while (true)": Object { - "Choices": Array [ - Object { + "while (true)": { + "Choices": [ + { "IsNull": false, "Next": "try", "Variable": "$$.Execution.Id", diff --git a/test/__snapshots__/table.test.ts.snap b/test/__snapshots__/table.test.ts.snap index 9dc34197..e732f4de 100644 --- a/test/__snapshots__/table.test.ts.snap +++ b/test/__snapshots__/table.test.ts.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`delete item 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -18,7 +18,7 @@ $util.qr($v4.put('expression', '#name = #name + 1')) $util.qr($v5.put('#name', 'name')) $util.qr($v4.put('expressionNames', $v5)) $util.qr($v1.put('condition', $v4)) -#set($v6 = {\\"operation\\": \\"DeleteItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v6 = {"operation": "DeleteItem", "version": "2018-05-29"}) $util.qr($v6.put('key', $v1.get('key'))) #if($v1.containsKey('condition')) $util.qr($v6.put('condition', $v1.get('condition'))) @@ -37,7 +37,7 @@ $util.toJson($v6)", `; exports[`delete item 2`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -54,7 +54,7 @@ $util.qr($v4.put('expression', '#name = #name + 1')) $util.qr($v5.put('#name', 'name')) $util.qr($v4.put('expressionNames', $v5)) $util.qr($v1.put('condition', $v4)) -#set($v6 = {\\"operation\\": \\"DeleteItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v6 = {"operation": "DeleteItem", "version": "2018-05-29"}) $util.qr($v6.put('key', $v1.get('key'))) #if($v1.containsKey('condition')) $util.qr($v6.put('condition', $v1.get('condition'))) @@ -73,7 +73,7 @@ $util.toJson($v6)", `; exports[`delete item 3`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -93,7 +93,7 @@ $util.qr($v5.put('expression', '#name = #name + 1')) $util.qr($v6.put('#name', 'name')) $util.qr($v5.put('expressionNames', $v6)) $util.qr($v1.put('condition', $v5)) -#set($v7 = {\\"operation\\": \\"DeleteItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v7 = {"operation": "DeleteItem", "version": "2018-05-29"}) $util.qr($v7.put('key', $v1.get('key'))) #if($v1.containsKey('condition')) $util.qr($v7.put('condition', $v1.get('condition'))) @@ -112,7 +112,7 @@ $util.toJson($v7)", `; exports[`delete item 4`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -132,7 +132,7 @@ $util.qr($v5.put('expression', '#name = #name + 1')) $util.qr($v6.put('#name', 'name')) $util.qr($v5.put('expressionNames', $v6)) $util.qr($v1.put('condition', $v5)) -#set($v7 = {\\"operation\\": \\"DeleteItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v7 = {"operation": "DeleteItem", "version": "2018-05-29"}) $util.qr($v7.put('key', $v1.get('key'))) #if($v1.containsKey('condition')) $util.qr($v7.put('condition', $v1.get('condition'))) @@ -151,7 +151,7 @@ $util.toJson($v7)", `; exports[`get item 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -162,7 +162,7 @@ Array [ $util.qr($v3.put('S', $context.arguments.id)) $util.qr($v2.put('id', $v3)) $util.qr($v1.put('key', $v2)) -#set($v4 = {\\"operation\\": \\"GetItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v4 = {"operation": "GetItem", "version": "2018-05-29"}) $util.qr($v4.put('key', $v1.get('key'))) #if($v1.containsKey('consistentRead')) $util.qr($v4.put('consistentRead', $v1.get('consistentRead'))) @@ -178,7 +178,7 @@ $util.toJson($v4)", `; exports[`get item 2`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -189,7 +189,7 @@ Array [ $util.qr($v3.put('S', $context.arguments.id)) $util.qr($v2.put('id', $v3)) $util.qr($v1.put('key', $v2)) -#set($v4 = {\\"operation\\": \\"GetItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v4 = {"operation": "GetItem", "version": "2018-05-29"}) $util.qr($v4.put('key', $v1.get('key'))) #if($v1.containsKey('consistentRead')) $util.qr($v4.put('consistentRead', $v1.get('consistentRead'))) @@ -205,7 +205,7 @@ $util.toJson($v4)", `; exports[`get item 3`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -219,7 +219,7 @@ $util.qr($v2.put('id', $v3)) $util.qr($v4.put('N', '1')) $util.qr($v2.put('name', $v4)) $util.qr($v1.put('key', $v2)) -#set($v5 = {\\"operation\\": \\"GetItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v5 = {"operation": "GetItem", "version": "2018-05-29"}) $util.qr($v5.put('key', $v1.get('key'))) #if($v1.containsKey('consistentRead')) $util.qr($v5.put('consistentRead', $v1.get('consistentRead'))) @@ -235,7 +235,7 @@ $util.toJson($v5)", `; exports[`get item 4`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -249,7 +249,7 @@ $util.qr($v2.put('id', $v3)) $util.qr($v4.put('N', '1')) $util.qr($v2.put('name', $v4)) $util.qr($v1.put('key', $v2)) -#set($v5 = {\\"operation\\": \\"GetItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v5 = {"operation": "GetItem", "version": "2018-05-29"}) $util.qr($v5.put('key', $v1.get('key'))) #if($v1.containsKey('consistentRead')) $util.qr($v5.put('consistentRead', $v1.get('consistentRead'))) @@ -265,7 +265,7 @@ $util.toJson($v5)", `; exports[`get item and set consistentRead:true 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -277,7 +277,7 @@ $util.qr($v3.put('S', $context.arguments.id)) $util.qr($v2.put('id', $v3)) $util.qr($v1.put('key', $v2)) $util.qr($v1.put('consistentRead', true)) -#set($v4 = {\\"operation\\": \\"GetItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v4 = {"operation": "GetItem", "version": "2018-05-29"}) $util.qr($v4.put('key', $v1.get('key'))) #if($v1.containsKey('consistentRead')) $util.qr($v4.put('consistentRead', $v1.get('consistentRead'))) @@ -293,7 +293,7 @@ $util.toJson($v4)", `; exports[`get item and set consistentRead:true 2`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -305,7 +305,7 @@ $util.qr($v3.put('S', $context.arguments.id)) $util.qr($v2.put('id', $v3)) $util.qr($v1.put('key', $v2)) $util.qr($v1.put('consistentRead', true)) -#set($v4 = {\\"operation\\": \\"GetItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v4 = {"operation": "GetItem", "version": "2018-05-29"}) $util.qr($v4.put('key', $v1.get('key'))) #if($v1.containsKey('consistentRead')) $util.qr($v4.put('consistentRead', $v1.get('consistentRead'))) @@ -321,7 +321,7 @@ $util.toJson($v4)", `; exports[`get item and set consistentRead:true 3`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -336,7 +336,7 @@ $util.qr($v4.put('N', '1')) $util.qr($v2.put('name', $v4)) $util.qr($v1.put('key', $v2)) $util.qr($v1.put('consistentRead', true)) -#set($v5 = {\\"operation\\": \\"GetItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v5 = {"operation": "GetItem", "version": "2018-05-29"}) $util.qr($v5.put('key', $v1.get('key'))) #if($v1.containsKey('consistentRead')) $util.qr($v5.put('consistentRead', $v1.get('consistentRead'))) @@ -352,7 +352,7 @@ $util.toJson($v5)", `; exports[`get item and set consistentRead:true 4`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -367,7 +367,7 @@ $util.qr($v4.put('N', '1')) $util.qr($v2.put('name', $v4)) $util.qr($v1.put('key', $v2)) $util.qr($v1.put('consistentRead', true)) -#set($v5 = {\\"operation\\": \\"GetItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v5 = {"operation": "GetItem", "version": "2018-05-29"}) $util.qr($v5.put('key', $v1.get('key'))) #if($v1.containsKey('consistentRead')) $util.qr($v5.put('consistentRead', $v1.get('consistentRead'))) @@ -383,7 +383,7 @@ $util.toJson($v5)", `; exports[`put item 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -396,7 +396,7 @@ $util.qr($v2.put('id', $v3)) $util.qr($v1.put('key', $v2)) #set($v4 = {}) #set($v5 = {}) -$util.qr($v5.put('N', \\"\${context.arguments.name}\\")) +$util.qr($v5.put('N', "\${context.arguments.name}")) $util.qr($v4.put('name', $v5)) $util.qr($v1.put('attributeValues', $v4)) #set($v6 = {}) @@ -410,7 +410,7 @@ $util.qr($v9.put('S', $context.arguments.id)) $util.qr($v8.put(':val', $v9)) $util.qr($v6.put('expressionValues', $v8)) $util.qr($v1.put('condition', $v6)) -#set($v10 = {\\"operation\\": \\"PutItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v10 = {"operation": "PutItem", "version": "2018-05-29"}) $util.qr($v10.put('key', $v1.get('key'))) $util.qr($v10.put('attributeValues', $v1.get('attributeValues'))) #if($v1.containsKey('condition')) @@ -430,7 +430,7 @@ $util.toJson($v10)", `; exports[`put item 2`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -443,7 +443,7 @@ $util.qr($v2.put('id', $v3)) $util.qr($v1.put('key', $v2)) #set($v4 = {}) #set($v5 = {}) -$util.qr($v5.put('N', \\"\${context.arguments.name}\\")) +$util.qr($v5.put('N', "\${context.arguments.name}")) $util.qr($v4.put('name', $v5)) $util.qr($v1.put('attributeValues', $v4)) #set($v6 = {}) @@ -457,7 +457,7 @@ $util.qr($v9.put('S', $context.arguments.id)) $util.qr($v8.put(':val', $v9)) $util.qr($v6.put('expressionValues', $v8)) $util.qr($v1.put('condition', $v6)) -#set($v10 = {\\"operation\\": \\"PutItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v10 = {"operation": "PutItem", "version": "2018-05-29"}) $util.qr($v10.put('key', $v1.get('key'))) $util.qr($v10.put('attributeValues', $v1.get('attributeValues'))) #if($v1.containsKey('condition')) @@ -477,7 +477,7 @@ $util.toJson($v10)", `; exports[`put item 3`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -504,7 +504,7 @@ $util.qr($v9.put('S', $context.arguments.id)) $util.qr($v8.put(':val', $v9)) $util.qr($v6.put('expressionValues', $v8)) $util.qr($v1.put('condition', $v6)) -#set($v10 = {\\"operation\\": \\"PutItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v10 = {"operation": "PutItem", "version": "2018-05-29"}) $util.qr($v10.put('key', $v1.get('key'))) $util.qr($v10.put('attributeValues', $v1.get('attributeValues'))) #if($v1.containsKey('condition')) @@ -524,7 +524,7 @@ $util.toJson($v10)", `; exports[`put item 4`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -551,7 +551,7 @@ $util.qr($v9.put('S', $context.arguments.id)) $util.qr($v8.put(':val', $v9)) $util.qr($v6.put('expressionValues', $v8)) $util.qr($v1.put('condition', $v6)) -#set($v10 = {\\"operation\\": \\"PutItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v10 = {"operation": "PutItem", "version": "2018-05-29"}) $util.qr($v10.put('key', $v1.get('key'))) $util.qr($v10.put('attributeValues', $v1.get('attributeValues'))) #if($v1.containsKey('condition')) @@ -571,7 +571,7 @@ $util.toJson($v10)", `; exports[`query 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -587,7 +587,7 @@ $util.qr($v4.put(':id', $util.dynamodb.toDynamoDB($context.arguments.id))) $util.qr($v4.put(':val', $util.dynamodb.toDynamoDB($context.arguments.sort))) $util.qr($v2.put('expressionValues', $v4)) $util.qr($v1.put('query', $v2)) -#set($v5 = {\\"operation\\": \\"Query\\", \\"version\\": \\"2018-05-29\\"}) +#set($v5 = {"operation": "Query", "version": "2018-05-29"}) $util.qr($v5.put('query', $v1.get('query'))) #if($v1.containsKey('index')) $util.qr($v5.put('index', $v1.get('index'))) @@ -618,7 +618,7 @@ $util.toJson($v5)", `; exports[`query 2`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -634,7 +634,7 @@ $util.qr($v4.put(':id', $util.dynamodb.toDynamoDB($context.arguments.id))) $util.qr($v4.put(':val', $util.dynamodb.toDynamoDB($context.arguments.sort))) $util.qr($v2.put('expressionValues', $v4)) $util.qr($v1.put('query', $v2)) -#set($v5 = {\\"operation\\": \\"Query\\", \\"version\\": \\"2018-05-29\\"}) +#set($v5 = {"operation": "Query", "version": "2018-05-29"}) $util.qr($v5.put('query', $v1.get('query'))) #if($v1.containsKey('index')) $util.qr($v5.put('index', $v1.get('index'))) @@ -665,7 +665,7 @@ $util.toJson($v5)", `; exports[`query 3`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -681,7 +681,7 @@ $util.qr($v4.put(':id', $util.dynamodb.toDynamoDB($context.arguments.id))) $util.qr($v4.put(':val', $util.dynamodb.toDynamoDB($context.arguments.sort))) $util.qr($v2.put('expressionValues', $v4)) $util.qr($v1.put('query', $v2)) -#set($v5 = {\\"operation\\": \\"Query\\", \\"version\\": \\"2018-05-29\\"}) +#set($v5 = {"operation": "Query", "version": "2018-05-29"}) $util.qr($v5.put('query', $v1.get('query'))) #if($v1.containsKey('index')) $util.qr($v5.put('index', $v1.get('index'))) @@ -712,7 +712,7 @@ $util.toJson($v5)", `; exports[`query 4`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -728,7 +728,7 @@ $util.qr($v4.put(':id', $util.dynamodb.toDynamoDB($context.arguments.id))) $util.qr($v4.put(':val', $util.dynamodb.toDynamoDB($context.arguments.sort))) $util.qr($v2.put('expressionValues', $v4)) $util.qr($v1.put('query', $v2)) -#set($v5 = {\\"operation\\": \\"Query\\", \\"version\\": \\"2018-05-29\\"}) +#set($v5 = {"operation": "Query", "version": "2018-05-29"}) $util.qr($v5.put('query', $v1.get('query'))) #if($v1.containsKey('index')) $util.qr($v5.put('index', $v1.get('index'))) @@ -759,7 +759,7 @@ $util.toJson($v5)", `; exports[`update item 1`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -776,7 +776,7 @@ $util.qr($v4.put('expression', '#name = #name + 1')) $util.qr($v5.put('#name', 'name')) $util.qr($v4.put('expressionNames', $v5)) $util.qr($v1.put('update', $v4)) -#set($v6 = {\\"operation\\": \\"UpdateItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v6 = {"operation": "UpdateItem", "version": "2018-05-29"}) $util.qr($v6.put('key', $v1.get('key'))) $util.qr($v6.put('update', $v1.get('update'))) #if($v1.containsKey('condition')) @@ -796,7 +796,7 @@ $util.toJson($v6)", `; exports[`update item 2`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -813,7 +813,7 @@ $util.qr($v4.put('expression', '#name = #name + 1')) $util.qr($v5.put('#name', 'name')) $util.qr($v4.put('expressionNames', $v5)) $util.qr($v1.put('update', $v4)) -#set($v6 = {\\"operation\\": \\"UpdateItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v6 = {"operation": "UpdateItem", "version": "2018-05-29"}) $util.qr($v6.put('key', $v1.get('key'))) $util.qr($v6.put('update', $v1.get('update'))) #if($v1.containsKey('condition')) @@ -833,7 +833,7 @@ $util.toJson($v6)", `; exports[`update item 3`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -853,7 +853,7 @@ $util.qr($v5.put('expression', '#name = #name + 1')) $util.qr($v6.put('#name', 'name')) $util.qr($v5.put('expressionNames', $v6)) $util.qr($v1.put('update', $v5)) -#set($v7 = {\\"operation\\": \\"UpdateItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v7 = {"operation": "UpdateItem", "version": "2018-05-29"}) $util.qr($v7.put('key', $v1.get('key'))) $util.qr($v7.put('update', $v1.get('update'))) #if($v1.containsKey('condition')) @@ -873,7 +873,7 @@ $util.toJson($v7)", `; exports[`update item 4`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -893,7 +893,7 @@ $util.qr($v5.put('expression', '#name = #name + 1')) $util.qr($v6.put('#name', 'name')) $util.qr($v5.put('expressionNames', $v6)) $util.qr($v1.put('update', $v5)) -#set($v7 = {\\"operation\\": \\"UpdateItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v7 = {"operation": "UpdateItem", "version": "2018-05-29"}) $util.qr($v7.put('key', $v1.get('key'))) $util.qr($v7.put('update', $v1.get('update'))) #if($v1.containsKey('condition')) @@ -913,7 +913,7 @@ $util.toJson($v7)", `; exports[`update item 5`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -933,7 +933,7 @@ $util.qr($v5.put('expression', '#name = #name + 1')) $util.qr($v6.put('#name', 'name')) $util.qr($v5.put('expressionNames', $v6)) $util.qr($v1.put('update', $v5)) -#set($v7 = {\\"operation\\": \\"UpdateItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v7 = {"operation": "UpdateItem", "version": "2018-05-29"}) $util.qr($v7.put('key', $v1.get('key'))) $util.qr($v7.put('update', $v1.get('update'))) #if($v1.containsKey('condition')) @@ -953,7 +953,7 @@ $util.toJson($v7)", `; exports[`update item 6`] = ` -Array [ +[ "{}", "#if($context.stash.return__flag) #return($context.stash.return__val) @@ -973,7 +973,7 @@ $util.qr($v5.put('expression', '#name = #name + 1')) $util.qr($v6.put('#name', 'name')) $util.qr($v5.put('expressionNames', $v6)) $util.qr($v1.put('update', $v5)) -#set($v7 = {\\"operation\\": \\"UpdateItem\\", \\"version\\": \\"2018-05-29\\"}) +#set($v7 = {"operation": "UpdateItem", "version": "2018-05-29"}) $util.qr($v7.put('key', $v1.get('key'))) $util.qr($v7.put('update', $v1.get('update'))) #if($v1.containsKey('condition')) diff --git a/test/__snapshots__/validate.test.ts.snap b/test/__snapshots__/validate.test.ts.snap index 53522be9..c887dca6 100644 --- a/test/__snapshots__/validate.test.ts.snap +++ b/test/__snapshots__/validate.test.ts.snap @@ -27,7 +27,7 @@ https://functionless.org/docs/error-codes#api-gateway-does-not-supported-compute 90 ...$input.data,     -91 [$input.params(\\"param\\")]: null, +91 [$input.params("param")]: null,   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/api-gateway.ts:114:11 - error Functionless(10013): API gateway response mapping template cannot call integration @@ -58,7 +58,7 @@ https://functionless.org/docs/error-codes#apigateway-unsupported-reference https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -130 const sfn = new StepFunction(stack, \\"\\", () => {}); +130 const sfn = new StepFunction(stack, "", () => {});    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/api-gateway.ts:131:11 - error Functionless(10019): Unable to find reference out of application function @@ -72,25 +72,25 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource 133 () => {     -134 new StepFunction(stack, \\"\\", () => {}); +134 new StepFunction(stack, "", () => {});   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/api-gateway.ts:134:8 - error Functionless(10029): ApiGateway Unsupported Reference: StepFunction https://functionless.org/docs/error-codes#apigateway-unsupported-reference -134 new StepFunction(stack, \\"\\", () => {}); +134 new StepFunction(stack, "", () => {});    ~~~~~~~~~~~~~ test/test-files/api-gateway.ts:134:22 - error Functionless(10029): ApiGateway Unsupported Reference: stack https://functionless.org/docs/error-codes#apigateway-unsupported-reference -134 new StepFunction(stack, \\"\\", () => {}); +134 new StepFunction(stack, "", () => {});    ~~~~~ test/test-files/api-gateway.ts:141:17 - error Functionless(10008): Cannot initialize new resources in a runtime function, found Function. https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -141 const func = new Function(stack, \\"\\", async () => {}); +141 const func = new Function(stack, "", async () => {});    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/api-gateway.ts:142:11 - error Functionless(10019): Unable to find reference out of application function @@ -104,25 +104,25 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource 144 () => {     -145 new Function(stack, \\"\\", async () => {}); +145 new Function(stack, "", async () => {});   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/api-gateway.ts:145:8 - error Functionless(10029): ApiGateway Unsupported Reference: Function https://functionless.org/docs/error-codes#apigateway-unsupported-reference -145 new Function(stack, \\"\\", async () => {}); +145 new Function(stack, "", async () => {});    ~~~~~~~~~ test/test-files/api-gateway.ts:145:18 - error Functionless(10029): ApiGateway Unsupported Reference: stack https://functionless.org/docs/error-codes#apigateway-unsupported-reference -145 new Function(stack, \\"\\", async () => {}); +145 new Function(stack, "", async () => {});    ~~~~~ test/test-files/api-gateway.ts:152:16 - error Functionless(10008): Cannot initialize new resources in a runtime function, found EventBus. https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -152 const bus = new EventBus(stack, \\"\\"); +152 const bus = new EventBus(stack, "");    ~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/api-gateway.ts:155:10 - error Functionless(10008): Cannot initialize new resources in a runtime function, found EventBus. @@ -130,19 +130,19 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource 155 () => {     -156 new EventBus(stack, \\"\\"); +156 new EventBus(stack, "");   ~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/api-gateway.ts:156:8 - error Functionless(10029): ApiGateway Unsupported Reference: EventBus https://functionless.org/docs/error-codes#apigateway-unsupported-reference -156 new EventBus(stack, \\"\\"); +156 new EventBus(stack, "");    ~~~~~~~~~ test/test-files/api-gateway.ts:156:18 - error Functionless(10029): ApiGateway Unsupported Reference: stack https://functionless.org/docs/error-codes#apigateway-unsupported-reference -156 new EventBus(stack, \\"\\"); +156 new EventBus(stack, "");    ~~~~~ test/test-files/api-gateway.ts:162:16 - error Functionless(10008): Cannot initialize new CDK resources in a runtime function, found EventBus. @@ -150,19 +150,19 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource 162 async () => {     -163 new aws_events.EventBus(stack, \\"\\"); +163 new aws_events.EventBus(stack, "");   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/api-gateway.ts:163:8 - error Functionless(10029): ApiGateway Unsupported Reference: aws_events https://functionless.org/docs/error-codes#apigateway-unsupported-reference -163 new aws_events.EventBus(stack, \\"\\"); +163 new aws_events.EventBus(stack, "");    ~~~~~~~~~~~ test/test-files/api-gateway.ts:163:29 - error Functionless(10029): ApiGateway Unsupported Reference: stack https://functionless.org/docs/error-codes#apigateway-unsupported-reference -163 new aws_events.EventBus(stack, \\"\\"); +163 new aws_events.EventBus(stack, "");    ~~~~~ test/test-files/api-gateway.ts:166:10 - error Functionless(10008): Cannot initialize new CDK resources in a runtime function, found EventBus. @@ -170,19 +170,19 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource 166 () => {     -167 new aws_events.EventBus(stack, \\"\\"); +167 new aws_events.EventBus(stack, "");   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/api-gateway.ts:167:8 - error Functionless(10029): ApiGateway Unsupported Reference: aws_events https://functionless.org/docs/error-codes#apigateway-unsupported-reference -167 new aws_events.EventBus(stack, \\"\\"); +167 new aws_events.EventBus(stack, "");    ~~~~~~~~~~~ test/test-files/api-gateway.ts:167:29 - error Functionless(10029): ApiGateway Unsupported Reference: stack https://functionless.org/docs/error-codes#apigateway-unsupported-reference -167 new aws_events.EventBus(stack, \\"\\"); +167 new aws_events.EventBus(stack, "");    ~~~~~ test/test-files/api-gateway.ts:183:33 - error Functionless(10012): Expected the first argument of $AWS.DynamoDB.getItem to be an object literal. @@ -194,7 +194,7 @@ https://functionless.org/docs/error-codes#expected-an-object-literal https://functionless.org/docs/error-codes#unable-to-find-reference-out-of-application-function -216 await x(\\"\\"); +216 await x("");    ~~ test/test-files/api-gateway.ts:235:17 - error Functionless(10029): ApiGateway Unsupported Reference: a @@ -245,7 +245,7 @@ https://functionless.org/docs/error-codes#argument-must-be-an-inline-function https://functionless.org/docs/error-codes#argument-must-be-an-inline-function -101 { api, typeName: \\"Query\\", fieldName: \\"getPost\\" }, +101 { api, typeName: "Query", fieldName: "getPost" },     102 // invalid - must be an inline function   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -302,7 +302,7 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource 258 async () => {     -259 new StepFunction(stack, \\"\\", () => {}); +259 new StepFunction(stack, "", () => {});   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/appsync.ts:270:16 - error Functionless(10008): Cannot initialize new resources in a runtime function, found Function. @@ -310,7 +310,7 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource 270 async () => {     -271 new Function(stack, \\"\\", async () => {}); +271 new Function(stack, "", async () => {});   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/appsync.ts:282:16 - error Functionless(10008): Cannot initialize new resources in a runtime function, found EventBus. @@ -318,7 +318,7 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource 282 async () => {     -283 new EventBus(stack, \\"\\"); +283 new EventBus(stack, "");   ~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/appsync.ts:294:16 - error Functionless(10008): Cannot initialize new resources in a runtime function, found AppsyncResolver. @@ -351,19 +351,19 @@ https://functionless.org/docs/error-codes#appsync-unsupported-reference https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -299 api: new GraphqlApi(stack, \\"\\", { name: \\"api\\" }), +299 api: new GraphqlApi(stack, "", { name: "api" }),    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/appsync.ts:299:17 - error Functionless(10028): AppSync Unsupported Reference: GraphqlApi https://functionless.org/docs/error-codes#appsync-unsupported-reference -299 api: new GraphqlApi(stack, \\"\\", { name: \\"api\\" }), +299 api: new GraphqlApi(stack, "", { name: "api" }),    ~~~~~~~~~~~ test/test-files/appsync.ts:299:29 - error Functionless(10028): AppSync Unsupported Reference: stack https://functionless.org/docs/error-codes#appsync-unsupported-reference -299 api: new GraphqlApi(stack, \\"\\", { name: \\"api\\" }), +299 api: new GraphqlApi(stack, "", { name: "api" }),    ~~~~~ test/test-files/appsync.ts:315:16 - error Functionless(10008): Cannot initialize new CDK resources in a runtime function, found EventBus. @@ -371,19 +371,19 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource 315 async () => {     -316 new aws_events.EventBus(stack, \\"\\"); +316 new aws_events.EventBus(stack, "");   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/appsync.ts:316:8 - error Functionless(10028): AppSync Unsupported Reference: aws_events https://functionless.org/docs/error-codes#appsync-unsupported-reference -316 new aws_events.EventBus(stack, \\"\\"); +316 new aws_events.EventBus(stack, "");    ~~~~~~~~~~~ test/test-files/appsync.ts:316:29 - error Functionless(10028): AppSync Unsupported Reference: stack https://functionless.org/docs/error-codes#appsync-unsupported-reference -316 new aws_events.EventBus(stack, \\"\\"); +316 new aws_events.EventBus(stack, "");    ~~~~~ test/test-files/appsync.ts:333:12 - error Functionless(10020): Appsync Integration invocations must be unidirectional and defined statically @@ -407,7 +407,7 @@ https://functionless.org/docs/error-codes#appsync-integration-invocations-must-b https://functionless.org/docs/error-codes#appsync-integration-invocations-must-be-unidirectional-and-defined-statically -377 const c = $context.arguments.bool ? await func() : \\"x\\"; +377 const c = $context.arguments.bool ? await func() : "x";    ~~~~~~~ test/test-files/appsync.ts:398:33 - error Functionless(10012): Expected the first argument of Table.AppSync.getItem to be an object literal. @@ -439,7 +439,7 @@ https://functionless.org/docs/error-codes#eventbus-input-transformers-do-not-sup     17 // eslint-disable-next-line @typescript-eslint/no-floating-promises   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -18 bus.putEvents({ \\"detail-type\\": \\"detail\\", detail: {}, source: \\"\\" }); +18 bus.putEvents({ "detail-type": "detail", detail: {}, source: "" });   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/event-bus.ts:23:9 - error Functionless(10014): EventBus Input Transformers do not support integrations @@ -451,73 +451,73 @@ https://functionless.org/docs/error-codes#eventbus-input-transformers-do-not-sup https://functionless.org/docs/error-codes#eventbus-rules-do-not-support-integrations -35 return (func() as any) === \\"x\\"; +35 return (func() as any) === "x";    ~~~~~~ test/test-files/event-bus.ts:39:11 - error Functionless(10015): EventBus Rules do not support integrations https://functionless.org/docs/error-codes#eventbus-rules-do-not-support-integrations -39 return (func() as any) === \\"x\\"; +39 return (func() as any) === "x";    ~~~~~~ test/test-files/event-bus.ts:43:34 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -43 bus.when(\\"rule\\", (event) => event); +43 bus.when("rule", (event) => event);    ~~~~~ test/test-files/event-bus.ts:44:28 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -44 bus.when(\\"rule\\", (event) => event as any); +44 bus.when("rule", (event) => event as any);    ~~~~~~ test/test-files/event-bus.ts:45:28 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -45 bus.when(\\"rule\\", (event) => event.detail.a); +45 bus.when("rule", (event) => event.detail.a);    ~~~~~~~~~~~~~~~ test/test-files/event-bus.ts:46:30 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -46 bus.when(\\"rule\\", (event) => !event.detail.a); +46 bus.when("rule", (event) => !event.detail.a);    ~~~~~~~~~~~~~~ test/test-files/event-bus.ts:47:30 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -47 bus.when(\\"rule\\", (event) => !event.detail.a || event.detail.b === \\"b\\"); +47 bus.when("rule", (event) => !event.detail.a || event.detail.b === "b");    ~~~~~~~~~~~~~~ test/test-files/event-bus.ts:48:56 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -48 bus.when(\\"rule\\", (event) => event.detail.a === \\"b\\" || !event.detail.b); +48 bus.when("rule", (event) => event.detail.a === "b" || !event.detail.b);    ~~~~~~~~~~~~~~ test/test-files/event-bus.ts:49:28 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -49 bus.when(\\"rule\\", (event) => event.detail.a && event.detail.b === \\"b\\"); +49 bus.when("rule", (event) => event.detail.a && event.detail.b === "b");    ~~~~~~~~~~~~~~~ test/test-files/event-bus.ts:50:54 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -50 bus.when(\\"rule\\", (event) => event.detail.a === \\"a\\" && event.detail.b); +50 bus.when("rule", (event) => event.detail.a === "a" && event.detail.b);    ~~~~~~~~~~~~~~~ test/test-files/event-bus.ts:51:28 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -51 bus.when(\\"rule\\", (event) => event.detail.a || event.detail.b === \\"b\\"); +51 bus.when("rule", (event) => event.detail.a || event.detail.b === "b");    ~~~~~~~~~~~~~~~ test/test-files/event-bus.ts:52:54 - error Functionless(10032): Event Bridge does not support a truthy comparison https://functionless.org/docs/error-codes#event-bridge-does-not-support-a-truthy-comparison -52 bus.when(\\"rule\\", (event) => event.detail.a === \\"a\\" || event.detail.b); +52 bus.when("rule", (event) => event.detail.a === "a" || event.detail.b);    ~~~~~~~~~~~~~~~ " `; @@ -527,7 +527,7 @@ exports[`function.ts 1`] = ` https://functionless.org/docs/error-codes#cannot-use-infrastructure-resource-in-function-closure -36 new Function(stack, \\"event bus bus\\", async () => { +36 new Function(stack, "event bus bus", async () => {     37 bus.resource.eventBusArn;   ~~~~~ @@ -535,7 +535,7 @@ https://functionless.org/docs/error-codes#cannot-use-infrastructure-resource-in- https://functionless.org/docs/error-codes#cannot-use-infrastructure-resource-in-function-closure -40 new Function(stack, \\"sfn resource\\", async () => { +40 new Function(stack, "sfn resource", async () => {     41 sfn.resource.stateMachineArn;   ~~~~~ @@ -543,7 +543,7 @@ https://functionless.org/docs/error-codes#cannot-use-infrastructure-resource-in- https://functionless.org/docs/error-codes#cannot-use-infrastructure-resource-in-function-closure -44 new Function(stack, \\"func resource\\", async () => { +44 new Function(stack, "func resource", async () => {     45 func.resource;   ~~~~~~ @@ -551,7 +551,7 @@ https://functionless.org/docs/error-codes#cannot-use-infrastructure-resource-in- https://functionless.org/docs/error-codes#cannot-use-infrastructure-resource-in-function-closure -48 new Function(stack, \\"table resource\\", async () => { +48 new Function(stack, "table resource", async () => {     49 table.resource;   ~~~~~~~ @@ -565,7 +565,7 @@ https://functionless.org/docs/error-codes#cannot-use-infrastructure-resource-in- https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -106 new Function(stack, \\"new resolver\\", async () => { +106 new Function(stack, "new resolver", async () => {     107 new AppsyncResolver(   ~~~~~~~~~~~~~~~~~~~~~~ @@ -578,15 +578,15 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -111 api: new GraphqlApi(stack, \\"\\", { name: \\"api\\" }), +111 api: new GraphqlApi(stack, "", { name: "api" }),    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/function.ts:119:50 - error Functionless(10008): Cannot initialize new CDK resources in a runtime function, found EventBus. https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -119 new Function(stack, \\"cdk resource\\", async () => { +119 new Function(stack, "cdk resource", async () => {     -120 new aws_events.EventBus(stack, \\"\\"); +120 new aws_events.EventBus(stack, "");   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/function.ts:133:31 - error Functionless(10012): Expected the first argument of $AWS.DynamoDB.getItem to be an object literal. @@ -598,7 +598,7 @@ https://functionless.org/docs/error-codes#expected-an-object-literal https://functionless.org/docs/error-codes#unable-to-find-reference-out-of-application-function -154 await x(\\"\\"); +154 await x("");    ~~ " `; @@ -608,31 +608,31 @@ exports[`step-function.ts 1`] = ` https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -34 new StepFunction(stack, \\"input.i + 2\\", (input: { i: number }) => input.i + 2); +34 new StepFunction(stack, "input.i + 2", (input: { i: number }) => input.i + 2);    ~~~~~~~~~~~~ test/test-files/step-function.ts:35:65 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -35 new StepFunction(stack, \\"input.i - 2\\", (input: { i: number }) => input.i - 2); +35 new StepFunction(stack, "input.i - 2", (input: { i: number }) => input.i - 2);    ~~~~~~~~~~~~ test/test-files/step-function.ts:36:65 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -36 new StepFunction(stack, \\"input.i * 2\\", (input: { i: number }) => input.i * 2); +36 new StepFunction(stack, "input.i * 2", (input: { i: number }) => input.i * 2);    ~~~~~~~~~~~~ test/test-files/step-function.ts:37:65 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -37 new StepFunction(stack, \\"input.i / 2\\", (input: { i: number }) => input.i / 2); +37 new StepFunction(stack, "input.i / 2", (input: { i: number }) => input.i / 2);    ~~~~~~~~~~~~ test/test-files/step-function.ts:38:65 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -38 new StepFunction(stack, \\"input.i % 2\\", (input: { i: number }) => input.i % 2); +38 new StepFunction(stack, "input.i % 2", (input: { i: number }) => input.i % 2);    ~~~~~~~~~~~~ test/test-files/step-function.ts:42:30 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function @@ -668,31 +668,31 @@ https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -64 new StepFunction(stack, \\"input.i++\\", (input: { i: number }) => input.i++); +64 new StepFunction(stack, "input.i++", (input: { i: number }) => input.i++);    ~~~~~~~~~~ test/test-files/step-function.ts:65:63 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -65 new StepFunction(stack, \\"++input.i\\", (input: { i: number }) => ++input.i); +65 new StepFunction(stack, "++input.i", (input: { i: number }) => ++input.i);    ~~~~~~~~~~ test/test-files/step-function.ts:66:63 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -66 new StepFunction(stack, \\"input.i--\\", (input: { i: number }) => input.i--); +66 new StepFunction(stack, "input.i--", (input: { i: number }) => input.i--);    ~~~~~~~~~~ test/test-files/step-function.ts:67:63 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -67 new StepFunction(stack, \\"--input.i\\", (input: { i: number }) => --input.i); +67 new StepFunction(stack, "--input.i", (input: { i: number }) => --input.i);    ~~~~~~~~~~ test/test-files/step-function.ts:68:62 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function https://functionless.org/docs/error-codes#cannot-perform-arithmetic-on-variables-in-step-function -68 new StepFunction(stack, \\"-input.i\\", (input: { i: number }) => -input.i); +68 new StepFunction(stack, "-input.i", (input: { i: number }) => -input.i);    ~~~~~~~~~ test/test-files/step-function.ts:73:14 - error Functionless(10000): Cannot perform arithmetic on variables in Step Function @@ -752,31 +752,31 @@ https://functionless.org/docs/error-codes#unsupported-use-of-promises https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -190 new StepFunction(stack, \\"new step function\\", async () => { +190 new StepFunction(stack, "new step function", async () => {     -191 new StepFunction(stack, \\"\\", () => {}); +191 new StepFunction(stack, "", () => {});   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/step-function.ts:194:54 - error Functionless(10008): Cannot initialize new resources in a runtime function, found Function. https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -194 new StepFunction(stack, \\"new function\\", async () => { +194 new StepFunction(stack, "new function", async () => {     -195 new Function(stack, \\"\\", async () => {}); +195 new Function(stack, "", async () => {});   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/step-function.ts:198:49 - error Functionless(10008): Cannot initialize new resources in a runtime function, found EventBus. https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -198 new StepFunction(stack, \\"new bus\\", async () => { +198 new StepFunction(stack, "new bus", async () => {     -199 new EventBus(stack, \\"\\"); +199 new EventBus(stack, "");   ~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/step-function.ts:202:54 - error Functionless(10008): Cannot initialize new resources in a runtime function, found AppsyncResolver. https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -202 new StepFunction(stack, \\"new resolver\\", async () => { +202 new StepFunction(stack, "new resolver", async () => {     203 new AppsyncResolver(   ~~~~~~~~~~~~~~~~~~~~~~ @@ -789,15 +789,15 @@ https://functionless.org/docs/error-codes#unsupported-initialization-of-resource https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -207 api: new GraphqlApi(stack, \\"\\", { name: \\"api\\" }), +207 api: new GraphqlApi(stack, "", { name: "api" }),    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/step-function.ts:215:48 - error Functionless(10008): Cannot initialize new CDK resources in a runtime function, found EventBus. https://functionless.org/docs/error-codes#unsupported-initialization-of-resources-in-a-runtime-closure -215 new StepFunction(stack, \\"cdk resource\\", () => { +215 new StepFunction(stack, "cdk resource", () => {     -216 new aws_events.EventBus(stack, \\"\\"); +216 new aws_events.EventBus(stack, "");   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/step-function.ts:229:23 - error Functionless(10023): StepFunctions calls to EventBus putEvents must use object literals @@ -809,7 +809,7 @@ https://functionless.org/docs/error-codes#stepfunctions-calls-to-eventbus-puteve https://functionless.org/docs/error-codes#stepfunctions-calls-to-eventbus-putevents-must-use-object-literals -236 await bus.putEvents({ source: \\"\\", detail: {}, \\"detail-type\\": \\"\\" }, ...events); +236 await bus.putEvents({ source: "", detail: {}, "detail-type": "" }, ...events);    ~~~~~~~~~~ test/test-files/step-function.ts:245:23 - error Functionless(10023): StepFunctions calls to EventBus putEvents must use object literals @@ -821,15 +821,15 @@ https://functionless.org/docs/error-codes#stepfunctions-calls-to-eventbus-puteve https://functionless.org/docs/error-codes#stepfunctions-calls-to-eventbus-putevents-must-use-object-literals -250 await bus.putEvents({ [source]: \\"\\", detail: {}, \\"detail-type\\": \\"\\" }); +250 await bus.putEvents({ [source]: "", detail: {}, "detail-type": "" });    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/step-function.ts:256:51 - error Functionless(10023): StepFunctions calls to EventBus putEvents must use object literals https://functionless.org/docs/error-codes#stepfunctions-calls-to-eventbus-putevents-must-use-object-literals -256 { source: \\"\\", detail: {}, \\"detail-type\\": \\"\\" }, +256 { source: "", detail: {}, "detail-type": "" },     -257 { [source]: \\"\\", detail: {}, \\"detail-type\\": \\"\\" } +257 { [source]: "", detail: {}, "detail-type": "" }   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test-files/step-function.ts:274:15 - error Functionless(10024): StepFunctions error cause must be a constant @@ -951,7 +951,7 @@ https://functionless.org/docs/error-codes#stepfunction-property-names-must-be-co 508 return {     -509 [input.key]: \\"\\", +509 [input.key]: "",   ~~~~~~~~~~~~~~~ test/test-files/step-function.ts:563:23 - error Functionless(10024): StepFunctions error cause must be a constant @@ -963,31 +963,31 @@ https://functionless.org/docs/error-codes#stepfunctions-error-cause-must-be-a-co https://functionless.org/docs/error-codes#stepfunction-throw-must-be-error-or-stepfunctionerror-class -565 throw new CustomError(\\"error\\"); +565 throw new CustomError("error");    ~~~~~~~~~~~~ test/test-files/step-function.ts:568:35 - error Functionless(10024): StepFunctions error cause must be a constant https://functionless.org/docs/error-codes#stepfunctions-error-cause-must-be-a-constant -568 throw new StepFunctionError(input.key, { reason: \\"reason\\" }); +568 throw new StepFunctionError(input.key, { reason: "reason" });    ~~~~~~~~~ test/test-files/step-function.ts:571:47 - error Functionless(10024): StepFunctions error cause must be a constant https://functionless.org/docs/error-codes#stepfunctions-error-cause-must-be-a-constant -571 throw new StepFunctionError(\\"ErrorName\\", { reason: input.key }); +571 throw new StepFunctionError("ErrorName", { reason: input.key });    ~~~~~~~~~~~~~~~~~~~~~~ test/test-files/step-function.ts:573:47 - error Functionless(10024): StepFunctions error cause must be a constant https://functionless.org/docs/error-codes#stepfunctions-error-cause-must-be-a-constant -573 throw new StepFunctionError(\\"ErrorName\\", input.key); +573 throw new StepFunctionError("ErrorName", input.key);    ~~~~~~~~~~ test/test-files/step-function.ts:587:40 - error Functionless(10033): StepFunctions does not support destructuring object with rest https://functionless.org/docs/error-codes#stepfunctions-does-not-support-destructuring-object-with-rest -587 new StepFunction(stack, \\"sfn\\", async ({ ...rest }) => { +587 new StepFunction(stack, "sfn", async ({ ...rest }) => {    ~~~~~~~~ test/test-files/step-function.ts:591:10 - error Functionless(10033): StepFunctions does not support destructuring object with rest @@ -1023,7 +1023,7 @@ https://functionless.org/docs/error-codes#stepfunctions-mismatched-index-type. https://functionless.org/docs/error-codes#stepfunctions-mismatched-index-type. -663 arr[\\"0\\"]; +663 arr["0"];    ~~~ " `; diff --git a/test/__snapshots__/vtl.test.ts.snap b/test/__snapshots__/vtl.test.ts.snap index 30cfc0bd..0f9b73bc 100644 --- a/test/__snapshots__/vtl.test.ts.snap +++ b/test/__snapshots__/vtl.test.ts.snap @@ -1,20 +1,20 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`$util.log.error(message) 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#return($util.log.error('hello world'))", ] `; exports[`$util.log.error(message, ...Object) 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) $util.qr($v1.put('a', 1)) @@ -25,20 +25,20 @@ $util.qr($v2.put('b', 2)) `; exports[`$util.log.info(message) 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#return($util.log.info('hello world'))", ] `; exports[`$util.log.info(message, ...Object) 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) $util.qr($v1.put('a', 1)) @@ -49,20 +49,20 @@ $util.qr($v2.put('b', 2)) `; exports[`$util.time.nowISO8601 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#return($util.time.nowISO8601())", ] `; exports[`BinaryExpr and UnaryExpr are evaluated to temporary variables 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) #set($v2 = 0 - 1) @@ -78,10 +78,10 @@ $util.qr($v1.put('z', $v6)) `; exports[`assignment in object 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.y = 1) #set($v1 = {}) @@ -93,17 +93,17 @@ $util.qr($v1.put('y', $context.stash.y)) `; exports[`assignment in object 2`] = ` -Object { +{ "x": 2, "y": 2, } `; exports[`binary expr = 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = $context.arguments.key == 'help me') #if($v1) @@ -125,28 +125,28 @@ $util.qr($v4.put('out', 'wot')) `; exports[`binary expr = 2`] = ` -Object { +{ "out": "ohh hi", } `; exports[`binary expr = 3`] = ` -Object { +{ "out": "wot", } `; exports[`binary expr = 4`] = ` -Object { +{ "out": "ohh hi", } `; exports[`binary expr == 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) #set($v2 = $context.arguments.key == 'key') @@ -159,8 +159,8 @@ $util.qr($v1.put('out', [$v2, $v3, $v4, $v5])) `; exports[`binary expr == 2`] = ` -Object { - "out": Array [ +{ + "out": [ true, true, true, @@ -170,10 +170,10 @@ Object { `; exports[`binary expr in 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v2 = $context.arguments.class.name.startsWith('[L') || $context.arguments.class.name.contains('ArrayList')) #if($v2) @@ -196,19 +196,19 @@ $util.qr($v5.put('out', $context.arguments.key2)) `; exports[`binary expr in 2`] = ` -Object { +{ "out": "hi", } `; exports[`binary expr in 3`] = ` -Object { +{ "out": "", } `; exports[`binary expr in 4`] = ` -Object { +{ "out": "hello", } `; @@ -255,10 +255,10 @@ Object { `; exports[`binary expr in map 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) $util.qr($v1.put('key', 'value')) @@ -294,7 +294,7 @@ $util.qr($v2.put('inEmpty', $v9)) `; exports[`binary expr in map 2`] = ` -Object { +{ "in": true, "inEmpty": true, "notIn": false, @@ -302,10 +302,10 @@ Object { `; exports[`binary exprs logical 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.a = $context.arguments.a) #set($context.stash.b = $context.arguments.b) @@ -326,7 +326,7 @@ $util.qr($v1.put('??', $v4)) `; exports[`binary exprs logical 2`] = ` -Object { +{ "&&": true, "??": true, "||": true, @@ -334,7 +334,7 @@ Object { `; exports[`binary exprs logical 3`] = ` -Object { +{ "&&": false, "??": true, "||": true, @@ -342,7 +342,7 @@ Object { `; exports[`binary exprs logical 4`] = ` -Object { +{ "&&": false, "??": false, "||": false, @@ -350,10 +350,10 @@ Object { `; exports[`binary exprs math 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.a = $context.arguments.a) #set($context.stash.b = $context.arguments.b) @@ -373,7 +373,7 @@ $util.qr($v1.put('%', $v6)) `; exports[`binary exprs math 2`] = ` -Object { +{ "%": 0, "*": 12, "+": 8, @@ -383,10 +383,10 @@ Object { `; exports[`binary exprs value comparison 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.a = $context.arguments.a) #set($context.stash.b = $context.arguments.b) @@ -416,7 +416,7 @@ $util.qr($v1.put('>=', $v11)) `; exports[`binary exprs value comparison 2`] = ` -Object { +{ "!=": true, "!==": true, "&&": 2, @@ -431,7 +431,7 @@ Object { `; exports[`binary exprs value comparison 3`] = ` -Object { +{ "!=": true, "!==": true, "&&": 1, @@ -446,7 +446,7 @@ Object { `; exports[`binary exprs value comparison 4`] = ` -Object { +{ "!=": false, "!==": false, "&&": 1, @@ -461,10 +461,10 @@ Object { `; exports[`binary mutation 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.n = 9) #set($context.stash.n = $context.stash.n + 1) @@ -489,7 +489,7 @@ $util.qr($v1.put('n', $context.stash.n)) `; exports[`binary mutation 2`] = ` -Object { +{ "%=": 0, "*=": 18, "+=": 10, @@ -500,10 +500,10 @@ Object { `; exports[`blockless if 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = 1 == $context.arguments.num) #if($v1) @@ -522,10 +522,10 @@ Array [ `; exports[`break from for-loop 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.newList = []) #foreach($item in $context.arguments.list) @@ -540,20 +540,20 @@ $util.qr($context.stash.newList.add($item)) `; exports[`call function and return its value 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#return($util.autoId())", ] `; exports[`call function, assign to variable and return variable reference 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.id = $util.autoId()) #return($context.stash.id)", @@ -561,15 +561,15 @@ Array [ `; exports[`chain map over list 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #foreach($item in $context.arguments.list) -#set($item = \\"hello \${item}\\") -#set($v2 = \\"hello \${item}\\") +#set($item = "hello \${item}") +#set($v2 = "hello \${item}") $util.qr($v1.add($v2)) #end #return($v1)", @@ -577,10 +577,10 @@ $util.qr($v1.add($v2)) `; exports[`chain map over list complex 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #foreach($item in $context.arguments.list) @@ -588,9 +588,9 @@ Array [ #set($arr = $context.arguments.list) #set($v2 = $i + 1) #set($x = $v2) -#set($item2 = \\"hello \${item} \${x} \${arr.length}\\") +#set($item2 = "hello \${item} \${x} \${arr.length}") #set($ii = $foreach.index) -#set($v3 = \\"hello \${item2} \${ii}\\") +#set($v3 = "hello \${item2} \${ii}") $util.qr($v1.add($v3)) #end #return($v1)", @@ -598,23 +598,23 @@ $util.qr($v1.add($v3)) `; exports[`chain map over list multiple array 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #set($v2 = []) #foreach($item in $context.arguments.list) #set($_i = $foreach.index) #set($_arr = $context.arguments.list) -#set($v3 = \\"hello \${item}\\") +#set($v3 = "hello \${item}") $util.qr($v2.add($v3)) #end #foreach($item in $v2) #set($_i = $foreach.index) #set($_arr = $v2) -#set($v4 = \\"hello \${item}\\") +#set($v4 = "hello \${item}") $util.qr($v1.add($v4)) #end #return($v1)", @@ -622,10 +622,10 @@ $util.qr($v1.add($v4)) `; exports[`computed property names 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.name = $context.arguments.arg) #set($v1 = $context.stash.name + '_test') @@ -638,10 +638,10 @@ $util.qr($v2.put($context.stash.value, $context.arguments.arg)) `; exports[`conditional expression in template expression 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v2 = $context.arguments.a == 'hello') #if($v2) @@ -649,15 +649,15 @@ Array [ #else #set($v1 = $context.arguments.a) #end -#return(\\"head \${v1}\\")", +#return("head \${v1}")", ] `; exports[`deconstruct for of 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#foreach($v1 in $context.arguments.items) #set($a = $v1.a) @@ -702,10 +702,10 @@ Array [ exports[`deconstruct for of 2`] = `"helloworldwhatisupsirendofobjendofarray"`; exports[`deconstruct map 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #foreach($v2 in $context.arguments.items) @@ -748,16 +748,16 @@ $util.qr($v1.add($v9)) `; exports[`deconstruct map 2`] = ` -Array [ +[ "helloworldwhatisupsirendofobjendofarray", ] `; exports[`deconstruct map chain 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #foreach($v4 in $context.arguments.items) @@ -786,16 +786,16 @@ $util.qr($v1.add($v9)) `; exports[`deconstruct map chain 2`] = ` -Array [ +[ "baab", ] `; exports[`deconstruct parameter 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.a = $context.arguments.a) #set($context.stash.b = $context.arguments.bb.value) @@ -841,10 +841,10 @@ Array [ exports[`deconstruct parameter 2`] = `"helloworldwhatisupsirendofobjendofarraywhat"`; exports[`deconstruct reduce 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v2 = '') #foreach($v1 in $context.arguments.items) @@ -880,7 +880,7 @@ Array [ #set($v14 = $v13 + $f) #set($v15 = $v14 + $objRest.d) #set($v16 = $v15 + $arrRest[0]) -#set($v9 = \\"\${acc}\${v16}\\") +#set($v9 = "\${acc}\${v16}") #set($v2 = $v9) #end #return($v2)", @@ -890,10 +890,10 @@ Array [ exports[`deconstruct reduce 2`] = `"helloworldwhatisupsirendofobjendofarray"`; exports[`deconstruct variable 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = $context.arguments) #set($context.stash.a = $v1.a) @@ -937,20 +937,20 @@ Array [ exports[`deconstruct variable 2`] = `"helloworldwhatisupsirendofobjendofarraydynamic"`; exports[`empty function returning an argument 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#return($context.arguments.a)", ] `; exports[`for-in loop and element access 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.newList = []) #foreach($key in $context.arguments.record.keySet()) @@ -961,10 +961,10 @@ $util.qr($context.stash.newList.add($context.arguments.record[$key])) `; exports[`for-of loop 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.newList = []) #foreach($item in $context.arguments.list) @@ -975,10 +975,10 @@ $util.qr($context.stash.newList.add($item)) `; exports[`forEach over list 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#foreach($item in $context.arguments.list) $util.qr($util.error($item)) @@ -988,10 +988,10 @@ $util.qr($util.error($item)) `; exports[`if statement 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = $context.arguments.list.length > 0) #if($v1) @@ -1007,10 +1007,10 @@ Array [ `; exports[`local variable inside for-of loop is declared as a local variable 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.newList = []) #foreach($item in $context.arguments.list) @@ -1022,14 +1022,14 @@ $util.qr($context.stash.newList.add($i)) `; exports[`map and reduce and map and reduce over list with initial value 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v2 = []) #foreach($item in $context.arguments.list) -#set($item = \\"hello \${item}\\") +#set($item = "hello \${item}") #set($newList = $v2) #set($v4 = []) $util.qr($v4.addAll($newList)) @@ -1039,7 +1039,7 @@ $util.qr($v4.add($item)) #end #set($v1 = []) #foreach($item in $v2) -#set($item = \\"hello \${item}\\") +#set($item = "hello \${item}") #set($newList = $v1) #set($v6 = []) $util.qr($v6.addAll($newList)) @@ -1052,14 +1052,14 @@ $util.qr($v6.add($item)) `; exports[`map and reduce over list with initial value 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #foreach($item in $context.arguments.list) -#set($item = \\"hello \${item}\\") +#set($item = "hello \${item}") #set($newList = $v1) #set($v3 = []) $util.qr($v3.addAll($newList)) @@ -1072,14 +1072,14 @@ $util.qr($v3.add($item)) `; exports[`map and reduce with array over list with initial value 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v2 = []) #foreach($item in $context.arguments.list) -#set($v3 = \\"hello \${item}\\") +#set($v3 = "hello \${item}") $util.qr($v2.add($v3)) #end #set($v1 = []) @@ -1098,14 +1098,14 @@ $util.qr($v5.add($item)) `; exports[`map over list 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #foreach($item in $context.arguments.list) -#set($v2 = \\"hello \${item}\\") +#set($v2 = "hello \${item}") $util.qr($v1.add($v2)) #end #return($v1)", @@ -1113,14 +1113,14 @@ $util.qr($v1.add($v2)) `; exports[`map over list with in-line return 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #foreach($item in $context.arguments.list) -#set($v2 = \\"hello \${item}\\") +#set($v2 = "hello \${item}") $util.qr($v1.add($v2)) #end #return($v1)", @@ -1128,10 +1128,10 @@ $util.qr($v1.add($v2)) `; exports[`map over list without parameter 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #foreach($v2 in $context.arguments.list) @@ -1143,10 +1143,10 @@ $util.qr($v1.add($v3)) `; exports[`null and undefined 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) $util.qr($v1.put('name', $null)) @@ -1156,10 +1156,10 @@ $util.qr($v1.put('value', $null)) `; exports[`null coalescing 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) #set($v3 = $null) @@ -1195,7 +1195,7 @@ $util.qr($v1.put('undefined', $v8)) `; exports[`null coalescing 2`] = ` -Object { +{ "??": "a", "not ??": "a", "undefined": "a", @@ -1203,10 +1203,10 @@ Object { `; exports[`property assignment of conditional expression 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) #set($v3 = $context.arguments.list.length > 0) @@ -1221,10 +1221,10 @@ $util.qr($v1.put('prop', $v2)) `; exports[`push element to array is renamed to add 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "$util.qr($context.arguments.list.add('hello')) #return($context.arguments.list)", @@ -1232,10 +1232,10 @@ Array [ `; exports[`reduce over list with initial value 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = []) #foreach($item in $context.arguments.list) @@ -1251,10 +1251,10 @@ $util.qr($v3.add($item)) `; exports[`reduce over list without initial value 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#if($context.arguments.list.isEmpty()) $util.error('Reduce of empty array with no initial value') @@ -1264,7 +1264,7 @@ $util.error('Reduce of empty array with no initial value') #set($v1 = $item) #else #set($str = $v1) -#set($v2 = \\"\${str}\${item}\\") +#set($v2 = "\${str}\${item}") #set($v1 = $v2) #end #end @@ -1273,10 +1273,10 @@ $util.error('Reduce of empty array with no initial value') `; exports[`return conditional expression 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v2 = $context.arguments.list.length > 0) #if($v2) @@ -1289,20 +1289,20 @@ Array [ `; exports[`return in-line list literal 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#return([$context.arguments.a, $context.arguments.b])", ] `; exports[`return in-line spread object 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) $util.qr($v1.put('id', $util.autoId())) @@ -1312,10 +1312,10 @@ $util.qr($v1.putAll($context.arguments.obj)) `; exports[`return list element 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.list = [$context.arguments.a, $context.arguments.b]) #return($context.stash.list[0])", @@ -1323,10 +1323,10 @@ Array [ `; exports[`return list literal variable 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.list = [$context.arguments.a, $context.arguments.b]) #return($context.stash.list)", @@ -1334,10 +1334,10 @@ Array [ `; exports[`return literal object with values 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.arg = $context.arguments.arg) #set($context.stash.obj = $context.arguments.obj) @@ -1357,21 +1357,21 @@ $util.qr($v1.putAll($context.stash.obj)) `; exports[`template expression 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.local = $context.arguments.a) -#return(\\"head \${context.arguments.a} \${context.stash.local}\${context.arguments.a}\\")", +#return("head \${context.arguments.a} \${context.stash.local}\${context.arguments.a}")", ] `; exports[`unary 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($v1 = {}) #set($v2 = !false) @@ -1386,7 +1386,7 @@ $util.qr($v1.put('-(-)', $v5)) `; exports[`unary 2`] = ` -Object { +{ "!": true, "-": -10, "-(-)": 10, @@ -1394,10 +1394,10 @@ Object { `; exports[`unary mutation 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.n = 9) #set($v1 = {}) @@ -1416,7 +1416,7 @@ $util.qr($v1.put('++pre', $context.stash.n)) `; exports[`unary mutation 2`] = ` -Object { +{ "++pre": 9, "--pre": 7, "post++": 7, @@ -1425,10 +1425,10 @@ Object { `; exports[`var args push 1`] = ` -Array [ +[ "{ -\\"version\\": \\"2018-05-29\\", -\\"payload\\": null +"version": "2018-05-29", +"payload": null }", "#set($context.stash.y1 = []) #set($context.stash.y2 = []) @@ -1461,25 +1461,25 @@ $util.qr($v5.put('y4', $context.stash.y4)) `; exports[`var args push 2`] = ` -Object { - "y1": Array [ +{ + "y1": [ 1, 2, 3, ], - "y2": Array [ + "y2": [ 1, 2, 3, 4, ], - "y3": Array [ + "y3": [ 0, 1, 2, 3, ], - "y4": Array [ + "y4": [ 0, 1, 2, diff --git a/test/isolated.test.ts b/test/isolated.test.ts deleted file mode 100644 index 6f93464e..00000000 --- a/test/isolated.test.ts +++ /dev/null @@ -1,23 +0,0 @@ -import "jest"; -import { aws_events, Duration, Stack } from "aws-cdk-lib"; -import { Function } from "../src"; - -test("should not create new resources in lambda", async () => { - await expect(async () => { - const stack = new Stack(); - new Function( - stack, - "function", - { - timeout: Duration.seconds(20), - }, - async () => { - const bus = new aws_events.EventBus(stack, "busbus"); - return bus.eventBusArn; - } - ); - await Promise.all(Function.promises); - }).rejects.toThrow( - `Cannot initialize new CDK resources in a runtime function.` - ); -}); diff --git a/test/queue.localstack.test.ts b/test/queue.localstack.test.ts index 52cb3eb9..4f2a8308 100644 --- a/test/queue.localstack.test.ts +++ b/test/queue.localstack.test.ts @@ -116,6 +116,9 @@ runtimeTestSuite<{ const test = _testQ(_test) as TestQueueResource; + // eslint-disable-next-line no-only-tests/no-only-tests + test.only = _testQ(_test.only); + test.skip = (name, _func, _t) => _test.skip( name, diff --git a/test/runtime.ts b/test/runtime.ts index 607642a5..bbb66ddf 100644 --- a/test/runtime.ts +++ b/test/runtime.ts @@ -336,7 +336,9 @@ export function runtimeTestSuite< Key: k, Value: v, })), - hotswap: true, + // hotswap uses the current user's role and not the bootstrapped role. + // the CI user does not have all of the right permissions. + hotswap: !process.env.CI, }) ); diff --git a/test/serialize-closure.test.ts b/test/serialize-closure.test.ts new file mode 100644 index 00000000..b68fd5b0 --- /dev/null +++ b/test/serialize-closure.test.ts @@ -0,0 +1,1307 @@ +/* eslint-disable @typescript-eslint/no-require-imports */ +import "jest"; +import fs from "fs"; +import path from "path"; +import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; +import { App, aws_dynamodb, Stack } from "aws-cdk-lib"; +import AWS from "aws-sdk"; +import { v4 } from "uuid"; +import { $AWS, AnyFunction, Table, Function } from "../src"; + +import { NativePreWarmContext } from "../src/function-prewarm"; +import { isNode } from "../src/guards"; +import { + serializeClosure, + SerializeClosureProps, + serializeCodeWithSourceMap, +} from "../src/serialize-closure/serialize"; + +// set to false to inspect generated js files in .test/ +const cleanup = true; + +const tmpDir = path.join(__dirname, ".test"); +beforeAll(async () => { + let exists = true; + try { + await fs.promises.access(tmpDir); + } catch { + exists = false; + } + if (exists) { + await rmrf(tmpDir); + } + await fs.promises.mkdir(tmpDir); +}); + +afterAll(async () => { + if (cleanup) { + await rmrf(tmpDir); + } +}); +async function rmrf(file: string) { + const stat = await fs.promises.stat(file); + if (stat.isDirectory()) { + await Promise.all( + (await fs.promises.readdir(file)).map((f) => rmrf(path.join(file, f))) + ); + await fs.promises.rmdir(file); + } else { + await fs.promises.rm(file); + } +} + +async function expectClosure( + f: F, + options?: SerializeClosureProps +): Promise { + const closure = serializeCodeWithSourceMap(serializeClosure(f, options)); + expect(closure).toMatchSnapshot(); + const jsFile = path.join(tmpDir, `${v4()}.js`); + await fs.promises.writeFile(jsFile, closure); + // eslint-disable-next-line @typescript-eslint/no-require-imports + return require(jsFile).handler as F; +} + +test("all observers of a free variable share the same reference", async () => { + let i = 0; + + function up() { + i += 2; + } + + function down() { + i -= 1; + } + + const closure = await expectClosure(() => { + up(); + down(); + return i; + }); + + expect(closure()).toEqual(1); +}); + +test("all observers of a free variable share the same reference even when two instances", async () => { + const closures = [0, 0].map(() => { + let i = 0; + + function up() { + i += 2; + } + + function down() { + i -= 1; + } + + return () => { + up(); + down(); + return i; + }; + }); + + const closure = await expectClosure(() => { + return closures.map((closure) => closure()); + }); + + expect(closure()).toEqual([1, 1]); +}); + +test("serialize an imported module", async () => { + const closure = await expectClosure(isNode); + + expect(closure({ kind: 1 })).toEqual(true); +}); + +test("serialize a class declaration", async () => { + let i = 0; + class Foo { + public method() { + i++; + return i; + } + } + + const closure = await expectClosure(() => { + const foo = new Foo(); + + foo.method(); + foo.method(); + return i; + }); + + expect(closure()).toEqual(2); +}); + +test("serialize a class declaration with constructor", async () => { + let i = 0; + class Foo { + constructor() { + i += 1; + } + + public method() { + i++; + return i; + } + } + + const closure = await expectClosure(() => { + const foo = new Foo(); + + foo.method(); + foo.method(); + return i; + }); + + expect(closure()).toEqual(3); +}); + +test("serialize a monkey-patched static class method", async () => { + let i = 0; + class Foo { + public static method() { + i += 1; + } + } + + Foo.method = function () { + i += 2; + }; + + const closure = await expectClosure(() => { + Foo.method(); + Foo.method(); + return i; + }); + + expect(closure()).toEqual(4); +}); + +test("serialize a monkey-patched static class arrow function", async () => { + let i = 0; + class Foo { + public static method = () => { + i += 1; + }; + } + + Foo.method = function () { + i += 2; + }; + + const closure = await expectClosure(() => { + Foo.method(); + Foo.method(); + return i; + }); + + expect(closure()).toEqual(4); +}); + +test("serialize a monkey-patched static class property", async () => { + class Foo { + public static prop = 1; + } + + Foo.prop = 2; + + const closure = await expectClosure(() => { + return Foo.prop; + }); + + expect(closure()).toEqual(2); +}); + +test("serialize a monkey-patched class method", async () => { + let i = 0; + class Foo { + public method() { + i += 1; + } + } + + Foo.prototype.method = function () { + i += 2; + }; + + const closure = await expectClosure(() => { + const foo = new Foo(); + + foo.method(); + foo.method(); + return i; + }); + + expect(closure()).toEqual(4); +}); + +test("serialize a monkey-patched class method that has been re-set", async () => { + let i = 0; + class Foo { + public method() { + i += 1; + } + } + + const method = Foo.prototype.method; + + Foo.prototype.method = function () { + i += 2; + }; + + const closure = () => { + const foo = new Foo(); + + foo.method(); + + Foo.prototype.method = method; + + foo.method(); + return i; + }; + + const serialized = await expectClosure(closure); + + expect(closure()).toEqual(3); + expect(serialized()).toEqual(3); +}); + +test("serialize a monkey-patched class getter", async () => { + let i = 0; + class Foo { + public get method() { + return (i += 1); + } + } + + Object.defineProperty(Foo.prototype, "method", { + get() { + return (i += 2); + }, + }); + + const closure = await expectClosure(() => { + const foo = new Foo(); + + foo.method; + foo.method; + return i; + }); + + expect(closure()).toEqual(4); // equals 2 if monkey patch not applied +}); + +test("serialize a monkey-patched class setter", async () => { + let i = 0; + class Foo { + public set method(val: number) { + i += val; + } + } + + Object.defineProperty(Foo.prototype, "method", { + set(val: number) { + i += val + 1; + }, + }); + + const closure = await expectClosure(() => { + const foo = new Foo(); + + foo.method = 1; + foo.method = 1; + return i; + }); + + expect(closure()).toEqual(4); // equals 2 if monkey patch not applied +}); + +test("serialize a monkey-patched class getter and setter", async () => { + let i = 0; + class Foo { + public set method(val: number) { + i += val; + } + public get method() { + return i; + } + } + + Object.defineProperty(Foo.prototype, "method", { + set(val: number) { + i += val + 1; + }, + get() { + return i + 1; + }, + }); + + const closure = await expectClosure(() => { + const foo = new Foo(); + + foo.method = 1; + foo.method = 1; + return foo.method; + }); + + expect(closure()).toEqual(5); // equals 2 if monkey patch not applied +}); + +test("serialize a monkey-patched class getter while setter remains unchanged", async () => { + let i = 0; + class Foo { + public set method(val: number) { + i += val; + } + public get method() { + return i; + } + } + + Object.defineProperty(Foo.prototype, "method", { + set: Object.getOwnPropertyDescriptor(Foo.prototype, "method")?.set!, + get() { + return i + 1; + }, + }); + + const closure = await expectClosure(() => { + const foo = new Foo(); + + foo.method = 1; + foo.method = 1; + return foo.method; + }); + + expect(closure()).toEqual(3); +}); + +test("serialize a class hierarchy", async () => { + let i = 0; + class Foo { + public method() { + return (i += 1); + } + } + + class Bar extends Foo { + public method() { + return super.method() + 1; + } + } + + const closure = await expectClosure(() => { + const bar = new Bar(); + + return [bar.method(), i]; + }); + + expect(closure()).toEqual([2, 1]); +}); + +test("serialize a class mix-in", async () => { + let i = 0; + const mixin = () => + class Foo { + public method() { + return (i += 1); + } + }; + + class Bar extends mixin() { + public method() { + return super.method() + 1; + } + } + + const closure = await expectClosure(() => { + const bar = new Bar(); + + return [bar.method(), i]; + }); + + expect(closure()).toEqual([2, 1]); +}); + +test("avoid name collision with a closure's lexical scope", async () => { + let v0 = 0; + class v1 { + public foo() { + return (v0 += 1); + } + } + class v2 extends v1 {} + + const closure = await expectClosure(() => { + const v3 = new v2(); + return v3.foo(); + }); + + expect(closure()).toEqual(1); +}); + +test("avoid collision with a locally scoped variable", async () => { + const one = 1; + const closure = await expectClosure(() => { + // capture the v0 free variable + let free = one; + // shadow the v0 free variable + const v1 = 2; + return v1 + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a locally scoped object binding variable", async () => { + const one = 1; + const closure = await expectClosure(() => { + // capture the v0 free variable + let free = one; + // shadow the v0 free variable + const { v1 } = { v1: 2 }; + return v1 + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a locally scoped object binding variable with renamed property", async () => { + const one = 1; + const closure = await expectClosure(() => { + // capture the v0 free variable + let free = one; + // shadow the v0 free variable + const { v2: v1 } = { v2: 2 }; + return v1 + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a locally scoped array binding", async () => { + const one = 1; + const closure = await expectClosure(() => { + // capture the v0 free variable + let free = one; + // shadow the v0 free variable + const [v1] = [2]; + return v1 + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a locally scoped array binding with nested object binding", async () => { + const one = 1; + const closure = await expectClosure(() => { + // capture the v0 free variable + let free = one; + // shadow the v0 free variable + const [{ v1 }] = [{ v1: 2 }]; + return v1 + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a locally scoped function", async () => { + const one = 1; + const closure = await expectClosure(() => { + // capture the v0 free variable + let free = one; + // shadow the v0 free variable + function v1() { + return 2; + } + return v1() + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a locally scoped class", async () => { + const one = 1; + const closure = await expectClosure(() => { + // capture the v0 free variable + let free = one; + // shadow the v0 free variable + class v1 { + foo = 2; + } + return new v1().foo + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a parameter declaration", async () => { + const one = 1; + const closure = await expectClosure((v1: number) => { + // capture the v0 free variable + let free = one; + return v1 + free; + }); + + expect(closure(2)).toEqual(3); +}); + +test("avoid collision with a parameter object binding", async () => { + const one = 1; + const closure = await expectClosure(({ v1 }: { v1: number }) => { + // capture the v0 free variable + let free = one; + return v1 + free; + }); + + expect(closure({ v1: 2 })).toEqual(3); +}); + +test("avoid collision with a parameter object binding renamed", async () => { + const one = 1; + const closure = await expectClosure(({ v2: v1 }: { v2: number }) => { + // capture the v0 free variable + let free = one; + return v1 + free; + }); + + expect(closure({ v2: 2 })).toEqual(3); +}); + +test("avoid collision with a parameter array binding", async () => { + const one = 1; + const closure = await expectClosure(([v1]: [number]) => { + // capture the v0 free variable + let free = one; + return v1 + free; + }); + + expect(closure([2])).toEqual(3); +}); + +test("avoid collision with a parameter with object binding nested in array binding", async () => { + const one = 1; + const closure = await expectClosure(([{ v1 }]: [{ v1: number }]) => { + // capture the v0 free variable + let free = one; + return v1 + free; + }); + + expect(closure([{ v1: 2 }])).toEqual(3); +}); + +test("avoid collision with a variable declaration in for-of", async () => { + const one = 1; + const closure = await expectClosure(() => { + let _v: number = 0; + for (const v1 of [2]) { + _v = v1; + } + // capture the v0 free variable + let free = one; + return _v + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a variable declaration object binding in for-of", async () => { + const one = 1; + const closure = await expectClosure(() => { + let _v: number = 0; + for (const { v1 } of [{ v1: 2 }]) { + _v = v1; + } + // capture the v0 free variable + let free = one; + return _v + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a variable declaration object binding in for-of", async () => { + const one = 1; + const closure = await expectClosure(() => { + let _v: number = 0; + for (const { v1 } of [{ v1: 2 }]) { + _v = v1; + } + // capture the v0 free variable + let free = one; + return _v + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a variable declaration array binding in for-of", async () => { + const one = 1; + const closure = await expectClosure(() => { + let _v: number = 0; + for (const [v1] of [[2]]) { + _v = v1!; + } + // capture the v0 free variable + let free = one; + return _v + free; + }); + + expect(closure()).toEqual(3); +}); + +test("avoid collision with a catch variable", async () => { + const one = 1; + const closure = await expectClosure(() => { + let _v: number = 0; + try { + throw 2; + } catch (v1) { + _v = v1 as number; + } + // capture the v0 free variable + let free = one; + return _v + free; + }); + + expect(closure()).toEqual(3); +}); + +test("instantiating the AWS SDK", async () => { + const closure = await expectClosure(() => { + const client = new AWS.DynamoDB(); + + return client; + }); + + expect(closure()).toBeInstanceOf(AWS.DynamoDB); +}); + +test.skip("instantiating the AWS SDK without esbuild", async () => { + const closure = await expectClosure( + () => { + const client = new AWS.DynamoDB(); + return client.config.endpoint; + }, + { + // @ts-ignore + requireModules: false, + } + ); + expect(closure()).toBeInstanceOf(AWS.DynamoDB); +}); + +test("instantiating the AWS SDK v3", async () => { + const closure = await expectClosure(() => { + const client = new DynamoDBClient({}); + + return client; + }); + + expect(closure()).toBeInstanceOf(DynamoDBClient); +}); + +test.skip("instantiating the AWS SDK v3 without esbuild", async () => { + const closure = await expectClosure( + () => { + const client = new DynamoDBClient({}); + + return client.config.serviceId; + }, + { + // @ts-ignore + requireModules: false, + } + ); + + expect(closure()).toEqual("DynamoDB"); +}); + +test("serialize a bound function", async () => { + const func = function foo(this: { prop: string }) { + return this.prop; + }; + + const bound = func.bind({ + prop: "hello", + }); + + const closure = await expectClosure(() => { + return bound(); + }); + + expect(closure()).toEqual("hello"); +}); + +test("serialize a proxy", async () => { + const proxy = new Proxy( + { + value: "hello", + }, + { + get: (self, name) => { + return `${self[name as keyof typeof self]} world`; + }, + } + ); + + const closure = await expectClosure(() => { + return proxy.value; + }); + + expect(closure()).toEqual("hello world"); +}); + +test("thrown errors map back to source", async () => { + const closure = await expectClosure(() => { + throw new Error("oops"); + }); + + let failed = false; + try { + closure(); + } catch (err) { + failed = true; + console.log((err as Error).stack); + } + if (!failed) { + fail("expected a thrown error"); + } +}); + +test("serialize a class value", async () => { + class Foo { + constructor(readonly value: string) {} + public method() { + return `hello ${this.value}`; + } + } + const foo = new Foo("world"); + + const closure = await expectClosure(() => foo.method()); + + expect(closure()).toEqual("hello world"); +}); + +test("serialize a class method calling super", async () => { + class Foo { + constructor(readonly value: string) {} + public method() { + return `hello ${this.value}`; + } + } + class Bar extends Foo { + public method() { + return `${super.method()}!`; + } + } + const foo = new Bar("world"); + + const closure = await expectClosure(() => foo.method()); + + expect(closure()).toEqual("hello world!"); +}); + +test("serialize a this reference in an object literal", async () => { + const obj = { + prop: "prop", + get() { + return this.prop; + }, + }; + + const closure = await expectClosure(() => obj.get()); + + expect(closure()).toEqual("prop"); +}); + +test("broad spectrum syntax test", async () => { + const closure = await expectClosure(async () => { + const arrowExpr = (a: string, ...b: string[]) => [a, ...b]; + const arrowBlockExpr = (a: string, ...b: string[]) => { + return [a, ...b]; + }; + const asyncArrowExpr = async () => { + return "asyncArrowExpr"; + }; + async function asyncFuncDecl() { + return "asyncFuncDecl"; + } + function funcDecl(a: string, ...b: string[]) { + return [a, ...b]; + } + const funcExpr = function funcExpr(a: string, ...b: string[]) { + return [a, ...b]; + }; + const anonFuncExpr = function (a: string, ...b: string[]) { + return [a, ...b]; + }; + const asyncFuncExpr = async function asyncFuncExpr() { + return "asyncFuncExpr"; + }; + const anonAsyncFuncExpr = async function () { + return "anonAsyncFuncExpr"; + }; + + let getterSetterVal: string; + const obj = { + prop: "prop", + getProp() { + return this.prop + " 1"; + }, + get getterSetter(): string { + return getterSetterVal; + }, + set getterSetter(val: string) { + getterSetterVal = val; + }, + }; + + // destructuring + const { + a, + b: c, + d: [e], + f = "f", + } = { + a: "a", + b: "b", + d: ["e"], + }; + + obj.getterSetter = "getterSetter"; + + class Foo { + static VAL = "VAL"; + static { + Foo.VAL = "VAL 1"; + this.VAL = `${this.VAL} 2`; + } + readonly val: string; + constructor(readonly prop: string, val: string) { + this.val = val; + } + public method() { + return `${this.prop} ${this.val} ${Foo.VAL}`; + } + + public async asyncMethod() { + const result = await new Promise((resolve) => + resolve("asyncResult") + ); + return result; + } + + public *generatorMethod(): any { + yield "yielded item"; + yield* generatorFuncDecl(); + yield* generatorFuncExpr(); + yield* anonGeneratorFuncExpr(); + } + } + + function* generatorFuncDecl() { + yield "yielded in function decl"; + } + + const generatorFuncExpr = function* generatorFuncExpr() { + yield "yielded in function expr"; + }; + + const anonGeneratorFuncExpr = function* () { + yield "yielded in anonymous function expr"; + }; + + class Bar extends Foo { + constructor() { + super("bar prop", "bar val"); + } + + public method() { + return `bar ${super.method()}`; + } + } + + const foo = new Foo("foo prop", "foo val"); + const bar = new Bar(); + const generator = foo.generatorMethod(); + + function ifTest(condition: 0 | 1 | 2) { + if (condition === 0) { + return "if"; + } else if (condition === 1) { + return "else if"; + } else { + return "else"; + } + } + + const whileStmts = []; + while (whileStmts.length === 0) { + whileStmts.push("while block"); + } + + while (whileStmts.length === 1) whileStmts.push("while stmt"); + + const doWhileStmts = []; + do { + doWhileStmts.push("do while block"); + } while (doWhileStmts.length === 0); + + do doWhileStmts.push("do while stmt"); + while (doWhileStmts.length === 1); + + const whileTrue = []; + while (true) { + whileTrue.push(`while true ${whileTrue.length}`); + if (whileTrue.length === 1) { + continue; + } + break; + } + + const tryCatchErr = []; + try { + tryCatchErr.push("try"); + throw new Error("catch"); + } catch (err: any) { + tryCatchErr.push(err.message); + } finally { + tryCatchErr.push("finally"); + } + + const tryCatch = []; + try { + tryCatch.push("try 2"); + throw new Error(""); + } catch { + tryCatch.push("catch 2"); + } finally { + tryCatch.push("finally 2"); + } + + const tryNoFinally = []; + try { + tryNoFinally.push("try 3"); + throw new Error(""); + } catch { + tryNoFinally.push("catch 3"); + } + + const tryNoCatch: string[] = []; + try { + (() => { + try { + tryNoCatch.push("try 4"); + throw new Error(""); + } finally { + tryNoCatch.push("finally 4"); + } + })(); + } catch {} + + const deleteObj: any = { + notDeleted: "value", + prop: "prop", + "spaces prop": "spaces prop", + [Symbol.for("prop")]: "symbol prop", + }; + delete deleteObj.prop; + delete deleteObj["spaces prop"]; + delete deleteObj[Symbol.for("prop")]; + + const regex = /a.*/g; + + let unicode; + { + var HECOMḚṮH = 42; + const _ = "___"; + const $ = "$$"; + const ƒ = { + π: Math.PI, + ø: [], + Ø: NaN, + e: 2.7182818284590452353602874713527, + root2: 2.7182818284590452353602874713527, + α: 2.5029, + δ: 4.6692, + ζ: 1.2020569, + φ: 1.61803398874, + γ: 1.30357, + K: 2.685452001, + oo: 9999999999e999 * 9999999999e9999, + A: 1.2824271291, + C10: 0.12345678910111213141516171819202122232425252728293031323334353637, + c: 299792458, + }; + unicode = { ƒ, out: `${HECOMḚṮH}${_}${$}` }; + } + + var homecometh = { H̹̙̦̮͉̩̗̗ͧ̇̏̊̾Eͨ͆͒̆ͮ̃͏̷̮̣̫̤̣Cͯ̂͐͏̨̛͔̦̟͈̻O̜͎͍͙͚̬̝̣̽ͮ͐͗̀ͤ̍̀͢M̴̡̲̭͍͇̼̟̯̦̉̒͠Ḛ̛̙̞̪̗ͥͤͩ̾͑̔͐ͅṮ̴̷̷̗̼͍̿̿̓̽͐H̙̙̔̄͜: 42 }; + + const parens = (2 + 3) * 2; + + function tag(strings: TemplateStringsArray, ...args: number[]) { + // hi is tag function + return `tag ${strings.map((str, i) => `${str} ${args[i]}`).join("|")}`; + } + + const noSubstitutionTemplateLiteral = `hello world`; + + const { head, ...rest } = { head: "head", rest1: "rest1", rest2: "rest2" }; + const [head2, ...rest2] = ["head array", "rest array1", "rest array2"]; + + const binary = true && false; + const fooInstanceOf = foo instanceof Foo; + const condition = binary ? "condition true" : "condition false"; + + let switchDefault; + switch (0 as number) { + case 1: + switchDefault = "switchCase"; + break; + default: + switchDefault = "switchDefault"; + } + + let switchCase; + switch (0 as number) { + case 0: + switchCase = "switchCase"; + break; + default: + switchDefault = "switchDefault"; + } + + let num = 0; + const str = "hello"; + const typeOf = typeof str; + + const array = [1, 2]; + const object = { key: "value" }; + const key = "key"; + const element = object[key]; + const unary = !str; + const postfix = num++; + const prefix = ++num; + const binaryOp = (num += 1); + + // eslint-disable-next-line no-debugger + debugger; + + return [ + ...arrowExpr("a", "b", "c"), + ...arrowBlockExpr("A", "B", "C"), + ...funcDecl("d", "e", "f"), + ...funcExpr("g", "h", "i"), + ...anonFuncExpr("j", "k", "l"), + await asyncArrowExpr(), + await asyncFuncDecl(), + await asyncFuncExpr(), + await anonAsyncFuncExpr(), + obj.prop, + obj.getProp(), + obj.getterSetter, + a, + c, + e, + f, + (() => { + return "foo"; + })(), + (function () { + return "bar"; + })(), + (function baz() { + return "baz"; + })(), + foo.method(), + bar.method(), + await foo.asyncMethod(), + generator.next().value, + generator.next().value, + generator.next().value, + generator.next().value, + ifTest(0), + ifTest(1), + ifTest(2), + ...whileStmts, + ...doWhileStmts, + ...whileTrue, + ...tryCatchErr, + ...tryCatch, + ...tryNoFinally, + ...tryNoCatch, + deleteObj, + regex.test("abc"), + unicode, + homecometh, + parens, + tag`${1} + ${2} + ${3}`, + noSubstitutionTemplateLiteral, + typeof "hello world", + void 0, + rest, + head2, + rest2, + binary, + fooInstanceOf, + condition, + switchDefault, + switchCase, + typeOf, + array, + element, + unary, + postfix, + prefix, + binaryOp, + ]; + }); + + expect(await closure()).toEqual([ + "a", + "b", + "c", + "A", + "B", + "C", + "d", + "e", + "f", + "g", + "h", + "i", + "j", + "k", + "l", + "asyncArrowExpr", + "asyncFuncDecl", + "asyncFuncExpr", + "anonAsyncFuncExpr", + "prop", + "prop 1", + "getterSetter", + "a", + "b", + "e", + "f", + "foo", + "bar", + "baz", + "foo prop foo val VAL 1 2", + "bar bar prop bar val VAL 1 2", + "asyncResult", + "yielded item", + "yielded in function decl", + "yielded in function expr", + "yielded in anonymous function expr", + "if", + "else if", + "else", + "while block", + "while stmt", + "do while block", + "do while stmt", + "while true 0", + "while true 1", + "try", + "catch", + "finally", + "try 2", + "catch 2", + "finally 2", + "try 3", + "catch 3", + "try 4", + "finally 4", + { + notDeleted: "value", + }, + true, + { + out: "42___$$", + ƒ: { + A: 1.2824271291, + C10: 0.12345678910111213, + K: 2.685452001, + c: 299792458, + e: 2.718281828459045, + oo: Infinity, + root2: 2.718281828459045, + Ø: NaN, + ø: [], + α: 2.5029, + γ: 1.30357, + δ: 4.6692, + ζ: 1.2020569, + π: 3.141592653589793, + φ: 1.61803398874, + }, + }, + { H̹̙̦̮͉̩̗̗ͧ̇̏̊̾Eͨ͆͒̆ͮ̃͏̷̮̣̫̤̣Cͯ̂͐͏̨̛͔̦̟͈̻O̜͎͍͙͚̬̝̣̽ͮ͐͗̀ͤ̍̀͢M̴̡̲̭͍͇̼̟̯̦̉̒͠Ḛ̛̙̞̪̗ͥͤͩ̾͑̔͐ͅṮ̴̷̷̗̼͍̿̿̓̽͐H̙̙̔̄͜: 42 }, + 10, + "tag 1| + 2| + 3| undefined", + "hello world", + "string", + void 0, + { + rest1: "rest1", + rest2: "rest2", + }, + "head array", + ["rest array1", "rest array2"], + false, + true, + "condition false", + "switchDefault", + "switchCase", + "string", + [1, 2], + "value", + false, + 0, + 2, + 3, + ]); +}); + +test("should serialize NativePreWarmContext", async () => { + const preWarm = new NativePreWarmContext(); + + const closure = await expectClosure(() => { + return preWarm.getOrInit({ + key: "key", + init: () => "value", + }); + }); + + expect(closure()).toEqual("value"); +}); + +test("should serialize Function", async () => { + const app = new App({ + autoSynth: false, + }); + const stack = new Stack(app, "stack"); + + const table = new Table(stack, "Table", { + partitionKey: { + name: "id", + type: aws_dynamodb.AttributeType.STRING, + }, + }); + + new Function(stack, "foo", async () => { + await $AWS.DynamoDB.GetItem({ + Table: table, + Key: { + id: { + S: "id", + }, + }, + }); + }); +}); diff --git a/test/serialize.test.ts b/test/serialize.test.ts index 7061bfaa..9c035885 100644 --- a/test/serialize.test.ts +++ b/test/serialize.test.ts @@ -14,7 +14,7 @@ import { // 15k arbitrary max bundle size. Some functions may need more. // In that case increase explicitly. -const BUNDLED_MAX_SIZE = 15 * 1024; +const BUNDLED_MAX_SIZE = 50 * 1024; interface CustomMatchers { toHaveLengthLessThan(length: number): R; diff --git a/test/validate.test.ts b/test/validate.test.ts index 63f64e95..41e60798 100644 --- a/test/validate.test.ts +++ b/test/validate.test.ts @@ -1,5 +1,6 @@ import "jest"; import fs from "fs"; +import fs_promise from "fs/promises"; import path from "path"; import ts from "typescript"; import { ErrorCode, ErrorCodes } from "../src"; @@ -55,12 +56,6 @@ const skipErrorCodes: ErrorCode[] = [ ErrorCodes.Step_Function_Retry_Invalid_Input, ]; -const file: string | undefined = fs - .readFileSync( - path.resolve(__dirname, "./__snapshots__/validate.test.ts.snap") - ) - .toString("utf8"); - /** * Test for recorded validations of each error code. * 1. Checks if there is a validation for an error code. @@ -69,10 +64,14 @@ const file: string | undefined = fs * If the error code cannot be validated or the validation cannot be easily tested, use skipErrorCodes to skip the code. */ describe("all error codes tested", () => { + const file: Promise = fs_promise + .readFile(path.resolve(__dirname, "./__snapshots__/validate.test.ts.snap")) + .then((f) => f.toString("utf8")); + test.concurrent.each( Object.values(ErrorCodes).filter((code) => !skipErrorCodes.includes(code)) )("$code: $title", async (code) => { - if (!file?.includes(`${code.code}`)) { + if (!(await file).includes(`${code.code}`)) { throw new Error( `validate.test.ts does not emit any errors for ${code.title}` ); diff --git a/tsconfig.dev.json b/tsconfig.dev.json index 58e08dc5..883d9ac0 100644 --- a/tsconfig.dev.json +++ b/tsconfig.dev.json @@ -8,7 +8,7 @@ "inlineSources": true, "lib": [ "dom", - "ES2019" + "ES2022" ], "module": "CommonJS", "noEmitOnError": false, diff --git a/tsconfig.json b/tsconfig.json index fe6fea4c..ea8ef17d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "inlineSources": true, "lib": [ "dom", - "ES2019" + "ES2022" ], "module": "CommonJS", "noEmitOnError": false, diff --git a/yarn.lock b/yarn.lock index 3765fc5a..a43e1f0c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -53,9 +53,9 @@ semver "^7.3.7" "@aws-crypto/ie11-detection@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/ie11-detection/-/ie11-detection-2.0.0.tgz#bb6c2facf8f03457e949dcf0921477397ffa4c6e" - integrity sha512-pkVXf/dq6PITJ0jzYZ69VhL8VFOFoPZLZqtU/12SGnzYuJOOGNfF41q9GxdI1yqC8R13Rq3jOLKDFpUJFT5eTA== + version "2.0.2" + resolved "https://registry.yarnpkg.com/@aws-crypto/ie11-detection/-/ie11-detection-2.0.2.tgz#9c39f4a5558196636031a933ec1b4792de959d6a" + integrity sha512-5XDMQY98gMAf/WRTic5G++jfmS/VLM0rwpiOpaainKi4L0nqWMSB1SzsrEG5rjFZGYN6ZAefO+/Yta2dFM0kMw== dependencies: tslib "^1.11.1" @@ -83,649 +83,649 @@ tslib "^1.11.1" "@aws-crypto/sha256-js@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-js/-/sha256-js-2.0.1.tgz#79e1e6cf61f652ef2089c08d471c722ecf1626a9" - integrity sha512-mbHTBSPBvg6o/mN/c18Z/zifM05eJrapj5ggoOIeHIWckvkv5VgGi7r/wYpt+QAO2ySKXLNvH2d8L7bne4xrMQ== + version "2.0.2" + resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-js/-/sha256-js-2.0.2.tgz#c81e5d378b8a74ff1671b58632779986e50f4c99" + integrity sha512-iXLdKH19qPmIC73fVCrHWCSYjN/sxaAvZ3jNNyw6FclmHyjLKg0f69WlC9KTnyElxCR5MO9SKaG00VwlJwyAkQ== dependencies: - "@aws-crypto/util" "^2.0.1" - "@aws-sdk/types" "^3.1.0" + "@aws-crypto/util" "^2.0.2" + "@aws-sdk/types" "^3.110.0" tslib "^1.11.1" "@aws-crypto/supports-web-crypto@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/supports-web-crypto/-/supports-web-crypto-2.0.0.tgz#fd6cde30b88f77d5a4f57b2c37c560d918014f9e" - integrity sha512-Ge7WQ3E0OC7FHYprsZV3h0QIcpdyJLvIeg+uTuHqRYm8D6qCFJoiC+edSzSyFiHtZf+NOQDJ1q46qxjtzIY2nA== + version "2.0.2" + resolved "https://registry.yarnpkg.com/@aws-crypto/supports-web-crypto/-/supports-web-crypto-2.0.2.tgz#9f02aafad8789cac9c0ab5faaebb1ab8aa841338" + integrity sha512-6mbSsLHwZ99CTOOswvCRP3C+VCWnzBf+1SnbWxzzJ9lR0mA0JnY2JEAhp8rqmTE0GPFy88rrM27ffgp62oErMQ== dependencies: tslib "^1.11.1" -"@aws-crypto/util@^2.0.0", "@aws-crypto/util@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@aws-crypto/util/-/util-2.0.1.tgz#976cf619cf85084ca85ec5eb947a6ac6b8b5c98c" - integrity sha512-JJmFFwvbm08lULw4Nm5QOLg8+lAQeC8aCXK5xrtxntYzYXCGfHwUJ4Is3770Q7HmICsXthGQ+ZsDL7C2uH3yBQ== +"@aws-crypto/util@^2.0.0", "@aws-crypto/util@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@aws-crypto/util/-/util-2.0.2.tgz#adf5ff5dfbc7713082f897f1d01e551ce0edb9c0" + integrity sha512-Lgu5v/0e/BcrZ5m/IWqzPUf3UYFTy/PpeED+uc9SWUR1iZQL8XXbGQg10UfllwwBryO3hFF5dizK+78aoXC1eA== dependencies: - "@aws-sdk/types" "^3.1.0" + "@aws-sdk/types" "^3.110.0" "@aws-sdk/util-utf8-browser" "^3.0.0" tslib "^1.11.1" -"@aws-sdk/abort-controller@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/abort-controller/-/abort-controller-3.162.0.tgz#c49c08e61e87c1e6bcba8214177228ecf4007535" - integrity sha512-8j1f/g+pNny3HkOojl+6phwd1yQE0FmM6EdssRJPA/IpR+SE0qTva2psKfZA9DivAg+/iTBozVCQU5GUJY1F2A== +"@aws-sdk/abort-controller@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/abort-controller/-/abort-controller-3.168.0.tgz#f98f08022f9e3ffc38d57686e1d5e2abf7a91b06" + integrity sha512-mvFXmdoIVV3cUmPuwzzHLB1YNjxzm7sHk99zE0zvT653kc7slThLMfO5Kc1WtblXAKbE6eqPDMcA0zg6eRM1cw== dependencies: - "@aws-sdk/types" "3.162.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/client-dynamodb@^3.50.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-dynamodb/-/client-dynamodb-3.163.0.tgz#7b3a4c7e7e5ebdeb813781efe83fca45133ee226" - integrity sha512-NALw3nejI4e8pYucHchYz3RyxREvr58w3FhcmmTp0u9FA4zfRN4D0+tHexdBlMGuKkdY1niSPXXDq+qefxudyA== +"@aws-sdk/client-dynamodb@^3.145.0", "@aws-sdk/client-dynamodb@^3.50.0": + version "3.169.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-dynamodb/-/client-dynamodb-3.169.0.tgz#e776d639326ac45eeebb653c70c8476f2f78ba18" + integrity sha512-s+s1PH5HjSydWAgeW7rzOfmbek3U1Y/SIMGUauxujz442Q4H4iWqxxoUR0TYefTP87k/i95yfA8Ezt8XocW3Cg== dependencies: "@aws-crypto/sha256-browser" "2.0.0" "@aws-crypto/sha256-js" "2.0.0" - "@aws-sdk/client-sts" "3.163.0" - "@aws-sdk/config-resolver" "3.163.0" - "@aws-sdk/credential-provider-node" "3.163.0" - "@aws-sdk/fetch-http-handler" "3.162.0" - "@aws-sdk/hash-node" "3.162.0" - "@aws-sdk/invalid-dependency" "3.162.0" - "@aws-sdk/middleware-content-length" "3.162.0" - "@aws-sdk/middleware-endpoint-discovery" "3.163.0" - "@aws-sdk/middleware-host-header" "3.162.0" - "@aws-sdk/middleware-logger" "3.162.0" - "@aws-sdk/middleware-recursion-detection" "3.162.0" - "@aws-sdk/middleware-retry" "3.162.0" - "@aws-sdk/middleware-serde" "3.162.0" - "@aws-sdk/middleware-signing" "3.163.0" - "@aws-sdk/middleware-stack" "3.162.0" - "@aws-sdk/middleware-user-agent" "3.162.0" - "@aws-sdk/node-config-provider" "3.162.0" - "@aws-sdk/node-http-handler" "3.162.0" - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/smithy-client" "3.162.0" - "@aws-sdk/types" "3.162.0" - "@aws-sdk/url-parser" "3.162.0" - "@aws-sdk/util-base64-browser" "3.109.0" - "@aws-sdk/util-base64-node" "3.55.0" - "@aws-sdk/util-body-length-browser" "3.154.0" - "@aws-sdk/util-body-length-node" "3.55.0" - "@aws-sdk/util-defaults-mode-browser" "3.162.0" - "@aws-sdk/util-defaults-mode-node" "3.163.0" - "@aws-sdk/util-user-agent-browser" "3.162.0" - "@aws-sdk/util-user-agent-node" "3.162.0" - "@aws-sdk/util-utf8-browser" "3.109.0" - "@aws-sdk/util-utf8-node" "3.109.0" - "@aws-sdk/util-waiter" "3.162.0" + "@aws-sdk/client-sts" "3.169.0" + "@aws-sdk/config-resolver" "3.168.0" + "@aws-sdk/credential-provider-node" "3.169.0" + "@aws-sdk/fetch-http-handler" "3.168.0" + "@aws-sdk/hash-node" "3.168.0" + "@aws-sdk/invalid-dependency" "3.168.0" + "@aws-sdk/middleware-content-length" "3.168.0" + "@aws-sdk/middleware-endpoint-discovery" "3.168.0" + "@aws-sdk/middleware-host-header" "3.168.0" + "@aws-sdk/middleware-logger" "3.168.0" + "@aws-sdk/middleware-recursion-detection" "3.168.0" + "@aws-sdk/middleware-retry" "3.169.0" + "@aws-sdk/middleware-serde" "3.168.0" + "@aws-sdk/middleware-signing" "3.168.0" + "@aws-sdk/middleware-stack" "3.168.0" + "@aws-sdk/middleware-user-agent" "3.168.0" + "@aws-sdk/node-config-provider" "3.168.0" + "@aws-sdk/node-http-handler" "3.168.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/smithy-client" "3.168.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/url-parser" "3.168.0" + "@aws-sdk/util-base64-browser" "3.168.0" + "@aws-sdk/util-base64-node" "3.168.0" + "@aws-sdk/util-body-length-browser" "3.168.0" + "@aws-sdk/util-body-length-node" "3.168.0" + "@aws-sdk/util-defaults-mode-browser" "3.168.0" + "@aws-sdk/util-defaults-mode-node" "3.168.0" + "@aws-sdk/util-user-agent-browser" "3.168.0" + "@aws-sdk/util-user-agent-node" "3.168.0" + "@aws-sdk/util-utf8-browser" "3.168.0" + "@aws-sdk/util-utf8-node" "3.168.0" + "@aws-sdk/util-waiter" "3.168.0" tslib "^2.3.1" uuid "^8.3.2" -"@aws-sdk/client-sso@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.163.0.tgz#fa99acadf4f049c0482ac92373b64ad409f26570" - integrity sha512-qWVDIhHwrGQf+vu+y/6Yq/YaWwdp8wa3OhX5JbaU5aBEoRYVAMEZX/srHKcfGR4Lu9lHoUZcXp3XnKugZiN49g== +"@aws-sdk/client-sso@3.169.0": + version "3.169.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.169.0.tgz#1f5df90de01ab723044ebaed82486e89124846b0" + integrity sha512-FeV4X7iP2mXr3+KSRfsQsHIDdGpOXZALC7huFYvC27CGjZgI6lYkQZqY4LjPd+1zi4MF77A8RgjwdNsmBTt6rg== dependencies: "@aws-crypto/sha256-browser" "2.0.0" "@aws-crypto/sha256-js" "2.0.0" - "@aws-sdk/config-resolver" "3.163.0" - "@aws-sdk/fetch-http-handler" "3.162.0" - "@aws-sdk/hash-node" "3.162.0" - "@aws-sdk/invalid-dependency" "3.162.0" - "@aws-sdk/middleware-content-length" "3.162.0" - "@aws-sdk/middleware-host-header" "3.162.0" - "@aws-sdk/middleware-logger" "3.162.0" - "@aws-sdk/middleware-recursion-detection" "3.162.0" - "@aws-sdk/middleware-retry" "3.162.0" - "@aws-sdk/middleware-serde" "3.162.0" - "@aws-sdk/middleware-stack" "3.162.0" - "@aws-sdk/middleware-user-agent" "3.162.0" - "@aws-sdk/node-config-provider" "3.162.0" - "@aws-sdk/node-http-handler" "3.162.0" - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/smithy-client" "3.162.0" - "@aws-sdk/types" "3.162.0" - "@aws-sdk/url-parser" "3.162.0" - "@aws-sdk/util-base64-browser" "3.109.0" - "@aws-sdk/util-base64-node" "3.55.0" - "@aws-sdk/util-body-length-browser" "3.154.0" - "@aws-sdk/util-body-length-node" "3.55.0" - "@aws-sdk/util-defaults-mode-browser" "3.162.0" - "@aws-sdk/util-defaults-mode-node" "3.163.0" - "@aws-sdk/util-user-agent-browser" "3.162.0" - "@aws-sdk/util-user-agent-node" "3.162.0" - "@aws-sdk/util-utf8-browser" "3.109.0" - "@aws-sdk/util-utf8-node" "3.109.0" + "@aws-sdk/config-resolver" "3.168.0" + "@aws-sdk/fetch-http-handler" "3.168.0" + "@aws-sdk/hash-node" "3.168.0" + "@aws-sdk/invalid-dependency" "3.168.0" + "@aws-sdk/middleware-content-length" "3.168.0" + "@aws-sdk/middleware-host-header" "3.168.0" + "@aws-sdk/middleware-logger" "3.168.0" + "@aws-sdk/middleware-recursion-detection" "3.168.0" + "@aws-sdk/middleware-retry" "3.169.0" + "@aws-sdk/middleware-serde" "3.168.0" + "@aws-sdk/middleware-stack" "3.168.0" + "@aws-sdk/middleware-user-agent" "3.168.0" + "@aws-sdk/node-config-provider" "3.168.0" + "@aws-sdk/node-http-handler" "3.168.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/smithy-client" "3.168.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/url-parser" "3.168.0" + "@aws-sdk/util-base64-browser" "3.168.0" + "@aws-sdk/util-base64-node" "3.168.0" + "@aws-sdk/util-body-length-browser" "3.168.0" + "@aws-sdk/util-body-length-node" "3.168.0" + "@aws-sdk/util-defaults-mode-browser" "3.168.0" + "@aws-sdk/util-defaults-mode-node" "3.168.0" + "@aws-sdk/util-user-agent-browser" "3.168.0" + "@aws-sdk/util-user-agent-node" "3.168.0" + "@aws-sdk/util-utf8-browser" "3.168.0" + "@aws-sdk/util-utf8-node" "3.168.0" tslib "^2.3.1" -"@aws-sdk/client-sts@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.163.0.tgz#8af28c722c9a45adf4eca324395f33490bf4a141" - integrity sha512-gm0dzuy+qE61F0W8YYGeSQzY9Bn0O+K6LMcwxJhsOkN8drzEe3KJqEIfSSrYBgUoSc5+qvzwmXpC1W9hb8D1ZA== +"@aws-sdk/client-sts@3.169.0": + version "3.169.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.169.0.tgz#15e7452747b96f234e9f5b9131b578dc7b230ea3" + integrity sha512-nvrUDz4SNYt0cDjFRKJd6ewi5yEYJfmxZXY76AOoRUmzKsxq6YRWyu7of8Qn0ldlasx+RO8+/QKCZo0UllVMPw== dependencies: "@aws-crypto/sha256-browser" "2.0.0" "@aws-crypto/sha256-js" "2.0.0" - "@aws-sdk/config-resolver" "3.163.0" - "@aws-sdk/credential-provider-node" "3.163.0" - "@aws-sdk/fetch-http-handler" "3.162.0" - "@aws-sdk/hash-node" "3.162.0" - "@aws-sdk/invalid-dependency" "3.162.0" - "@aws-sdk/middleware-content-length" "3.162.0" - "@aws-sdk/middleware-host-header" "3.162.0" - "@aws-sdk/middleware-logger" "3.162.0" - "@aws-sdk/middleware-recursion-detection" "3.162.0" - "@aws-sdk/middleware-retry" "3.162.0" - "@aws-sdk/middleware-sdk-sts" "3.163.0" - "@aws-sdk/middleware-serde" "3.162.0" - "@aws-sdk/middleware-signing" "3.163.0" - "@aws-sdk/middleware-stack" "3.162.0" - "@aws-sdk/middleware-user-agent" "3.162.0" - "@aws-sdk/node-config-provider" "3.162.0" - "@aws-sdk/node-http-handler" "3.162.0" - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/smithy-client" "3.162.0" - "@aws-sdk/types" "3.162.0" - "@aws-sdk/url-parser" "3.162.0" - "@aws-sdk/util-base64-browser" "3.109.0" - "@aws-sdk/util-base64-node" "3.55.0" - "@aws-sdk/util-body-length-browser" "3.154.0" - "@aws-sdk/util-body-length-node" "3.55.0" - "@aws-sdk/util-defaults-mode-browser" "3.162.0" - "@aws-sdk/util-defaults-mode-node" "3.163.0" - "@aws-sdk/util-user-agent-browser" "3.162.0" - "@aws-sdk/util-user-agent-node" "3.162.0" - "@aws-sdk/util-utf8-browser" "3.109.0" - "@aws-sdk/util-utf8-node" "3.109.0" + "@aws-sdk/config-resolver" "3.168.0" + "@aws-sdk/credential-provider-node" "3.169.0" + "@aws-sdk/fetch-http-handler" "3.168.0" + "@aws-sdk/hash-node" "3.168.0" + "@aws-sdk/invalid-dependency" "3.168.0" + "@aws-sdk/middleware-content-length" "3.168.0" + "@aws-sdk/middleware-host-header" "3.168.0" + "@aws-sdk/middleware-logger" "3.168.0" + "@aws-sdk/middleware-recursion-detection" "3.168.0" + "@aws-sdk/middleware-retry" "3.169.0" + "@aws-sdk/middleware-sdk-sts" "3.168.0" + "@aws-sdk/middleware-serde" "3.168.0" + "@aws-sdk/middleware-signing" "3.168.0" + "@aws-sdk/middleware-stack" "3.168.0" + "@aws-sdk/middleware-user-agent" "3.168.0" + "@aws-sdk/node-config-provider" "3.168.0" + "@aws-sdk/node-http-handler" "3.168.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/smithy-client" "3.168.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/url-parser" "3.168.0" + "@aws-sdk/util-base64-browser" "3.168.0" + "@aws-sdk/util-base64-node" "3.168.0" + "@aws-sdk/util-body-length-browser" "3.168.0" + "@aws-sdk/util-body-length-node" "3.168.0" + "@aws-sdk/util-defaults-mode-browser" "3.168.0" + "@aws-sdk/util-defaults-mode-node" "3.168.0" + "@aws-sdk/util-user-agent-browser" "3.168.0" + "@aws-sdk/util-user-agent-node" "3.168.0" + "@aws-sdk/util-utf8-browser" "3.168.0" + "@aws-sdk/util-utf8-node" "3.168.0" entities "2.2.0" fast-xml-parser "3.19.0" tslib "^2.3.1" -"@aws-sdk/config-resolver@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/config-resolver/-/config-resolver-3.163.0.tgz#65ae429a02d65a8a9d2fe321cc88fa9117c6ecae" - integrity sha512-iBl5Zc3+VRGJy6n+aMcg++7tzYi4G1bHia6v/eF93SvdKxtRv40M9QnqoNfaNUuw9U2ltwKOHepw7J3bkOA8cQ== +"@aws-sdk/config-resolver@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/config-resolver/-/config-resolver-3.168.0.tgz#933c4d4b7b982253f9006f14658f6bbf45b158ca" + integrity sha512-eSGHsa5kDIpBtBr1HhM9n0Deb+uSyr5pvk39WPFf5CTGvIqe52Fg9s1/Jz54rDwlgsfPzufX7TrCXgUhMwb8+w== dependencies: - "@aws-sdk/signature-v4" "3.163.0" - "@aws-sdk/types" "3.162.0" - "@aws-sdk/util-config-provider" "3.109.0" - "@aws-sdk/util-middleware" "3.162.0" + "@aws-sdk/signature-v4" "3.168.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/util-config-provider" "3.168.0" + "@aws-sdk/util-middleware" "3.168.0" tslib "^2.3.1" -"@aws-sdk/credential-provider-env@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.162.0.tgz#be2bf9587d9e7b2a10b1c2530c5984b60efc11bd" - integrity sha512-yzCJXiAAbZZHB4iThi4I+rs+gTYwBSetdU4Z1D89a2xjcOjCa8IhdQKm3GO/uJMScy4VtW3EEFG4/zZ7dVQPOw== +"@aws-sdk/credential-provider-env@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.168.0.tgz#9b6e7095cb711ab917f447507899a02945d7b5e4" + integrity sha512-dzblFOkmH0FzYuckCJYVH/d+HEGO814B0gVt0HnaIvsS5skDSDBXD+/S9AX6BAKTNBWP8BVcn7+u+oS5l7GBkQ== dependencies: - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/credential-provider-imds@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-imds/-/credential-provider-imds-3.162.0.tgz#bb8002a37c42e6f2f42fcafff3a8e4262b6aac4a" - integrity sha512-ohrHMIu2MNauPjbE8mEMKtlEQH/VZdpNswPigaEejUGVumz0NSft9PlIn2X79sNX5Y+uXopynMQF4MZj773hTw== +"@aws-sdk/credential-provider-imds@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-imds/-/credential-provider-imds-3.168.0.tgz#4a28508865df552de0e4d22a491c3e6764569154" + integrity sha512-Ua2zTmo0eep/fGh3SL9W0ERlGRkEAiP2IEC63QbRZKK+5Xg6RIgqij7hQHvKLY78zBDd7exnU9W1AMnt9lOd1A== dependencies: - "@aws-sdk/node-config-provider" "3.162.0" - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/types" "3.162.0" - "@aws-sdk/url-parser" "3.162.0" + "@aws-sdk/node-config-provider" "3.168.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/url-parser" "3.168.0" tslib "^2.3.1" -"@aws-sdk/credential-provider-ini@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.163.0.tgz#5c82fafbf051843f7739aacca4bf34d0a19780c1" - integrity sha512-i6WF+Q00MKzFnzVqQie0xDCVq0JtAxq9UA0lCHOAtKwIvQXTZka/Ya3oII0cn9I3avCZLcI/SYZc9lmVEiJfDg== - dependencies: - "@aws-sdk/credential-provider-env" "3.162.0" - "@aws-sdk/credential-provider-imds" "3.162.0" - "@aws-sdk/credential-provider-sso" "3.163.0" - "@aws-sdk/credential-provider-web-identity" "3.162.0" - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/shared-ini-file-loader" "3.162.0" - "@aws-sdk/types" "3.162.0" +"@aws-sdk/credential-provider-ini@3.169.0": + version "3.169.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.169.0.tgz#30adc46ce76b58f6e0c60eab6fca0b06b8187d44" + integrity sha512-bJb/dJY0Sk23smbwjhDUDuCMneMwom0eBjkMrJrabh64Ysvzpf/RnMr9n1VJTpgoy4hRbWWIikyWhicc9BeSrA== + dependencies: + "@aws-sdk/credential-provider-env" "3.168.0" + "@aws-sdk/credential-provider-imds" "3.168.0" + "@aws-sdk/credential-provider-sso" "3.169.0" + "@aws-sdk/credential-provider-web-identity" "3.168.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/shared-ini-file-loader" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/credential-provider-node@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.163.0.tgz#d5ac87da6a8d0d1535b4099670ca178be2dc78d1" - integrity sha512-43Fp3YyfgK8M+yEpzxUXUWwGzG4AEpd+4IO5CBna0ZnrNX+x7JbZTUXfSopkPkMnZeudgjHvNF6/Vr7v9pOSkw== - dependencies: - "@aws-sdk/credential-provider-env" "3.162.0" - "@aws-sdk/credential-provider-imds" "3.162.0" - "@aws-sdk/credential-provider-ini" "3.163.0" - "@aws-sdk/credential-provider-process" "3.162.0" - "@aws-sdk/credential-provider-sso" "3.163.0" - "@aws-sdk/credential-provider-web-identity" "3.162.0" - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/shared-ini-file-loader" "3.162.0" - "@aws-sdk/types" "3.162.0" +"@aws-sdk/credential-provider-node@3.169.0": + version "3.169.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.169.0.tgz#93ff28899d355d91f6696c98bb2b9673aa8a3233" + integrity sha512-oMZLrZZpkcR+Z4795oDdwb9iXyqnwhNc8loBi2YGjZ9Uav+gGaZB9hjN/TMP4VkQNvt4mhDtfu/KMciFVSaHLw== + dependencies: + "@aws-sdk/credential-provider-env" "3.168.0" + "@aws-sdk/credential-provider-imds" "3.168.0" + "@aws-sdk/credential-provider-ini" "3.169.0" + "@aws-sdk/credential-provider-process" "3.168.0" + "@aws-sdk/credential-provider-sso" "3.169.0" + "@aws-sdk/credential-provider-web-identity" "3.168.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/shared-ini-file-loader" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/credential-provider-process@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.162.0.tgz#e54db5f3ac5a5200a6f04803b05278c028a54447" - integrity sha512-KtmYjlCMAa0XF3IJo4dxSF+OWmRoHbrdEHGEZw+j6iCZ3Nz6Y6xCsdxun5rAKdom1QRNMDR4wX0hRAdPYobW2w== +"@aws-sdk/credential-provider-process@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.168.0.tgz#f9d0b4777dad993eb3e94fc7dd71f7c253a9d73a" + integrity sha512-Yni2S+yHLkUvDI30ZNkEOao2hSBj1eeQvWBUEJsgCFvHdlFDwOYwIueDmrBggqUISUgCLb6y/eylqeMvjN3Eyw== dependencies: - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/shared-ini-file-loader" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/shared-ini-file-loader" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/credential-provider-sso@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.163.0.tgz#b8a241aeeacc17773600cfb41a2faf1f703f80b1" - integrity sha512-VbmxP4Z0sxqBzbqs5u86/5q2PG3xzTClOWE1aUWoiBLqDRkO3+4lpLUKD0lwh9Ot3Ai/pT2KYDgxkRBXrfA/bA== +"@aws-sdk/credential-provider-sso@3.169.0": + version "3.169.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.169.0.tgz#06f2e572f27caefeeefc7ea97267217b85b0a045" + integrity sha512-8SlgQGRwSobLXZnizmBg1mo03yfm6Ub0vYPX+6u706XAVs8eJHT+Ia1B/j53ZrB2RSg0wjR47l+khKJtHhcJJg== dependencies: - "@aws-sdk/client-sso" "3.163.0" - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/shared-ini-file-loader" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/client-sso" "3.169.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/shared-ini-file-loader" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/credential-provider-web-identity@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.162.0.tgz#0b06aee91777b16c362ad565e9f1fdf77de7e8f6" - integrity sha512-vy86OS5/h+Vfk1bxvWjbayyUtFNdwU+mfALin3zxJbFqneSxRBydNBomt/guJjapZE+h865lkteyOsqsYMskzQ== +"@aws-sdk/credential-provider-web-identity@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.168.0.tgz#c6ac9ced8bc4c928ccb26e3837ff8c45339b17f3" + integrity sha512-hz7wj8htY6s3/TubzH/YOd6f4bxO26GYupCTvKZlWdErLUmZ8h3hG/9xO/5kWOakD40T3MXT7HIo2rvEWg1GWw== dependencies: - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/endpoint-cache@3.55.0": - version "3.55.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/endpoint-cache/-/endpoint-cache-3.55.0.tgz#b4be2cb363af005a67c2a6f938f06fcbbbbbccf8" - integrity sha512-kxDoHFDuQwZEEUZRp+ZLOg68EXuKPzUN86DcpIZantDVcmu7MSPTbbQp9DZd8MnKVEKCP7Sop5f7zCqOPl3LXw== +"@aws-sdk/endpoint-cache@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/endpoint-cache/-/endpoint-cache-3.168.0.tgz#33d0464794216d4c7cf72a2da24c88d6da1052f9" + integrity sha512-nO9zUuLLksDm92y4faCuK4+BT0+MmnQC/pmrhKs4LggSBNXR+KLh+1WBTvCoTu1+OWuGcRUuwcNW990xGf0DyA== dependencies: mnemonist "0.38.3" tslib "^2.3.1" -"@aws-sdk/fetch-http-handler@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/fetch-http-handler/-/fetch-http-handler-3.162.0.tgz#d90d3f179ff11bedf69b971d22a7c00abba650d9" - integrity sha512-DZLxxEqSMXqKteYohO4w6uoORabpETWso6wBdIFMul1BbEseqLjub1594D5RA18cqkcM2dV4ttw+boPPzOjSAw== +"@aws-sdk/fetch-http-handler@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/fetch-http-handler/-/fetch-http-handler-3.168.0.tgz#8093d7341746a29b87e945f9f40515c5b2e05bed" + integrity sha512-D4vN6zbF/RA7czw34gFhjsfOD5fkkLxLvmW8zbrJSsrex79Ju96NFuNBs7TtaV2btfXC7SkhhI/z+E81BxqRpg== dependencies: - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/querystring-builder" "3.162.0" - "@aws-sdk/types" "3.162.0" - "@aws-sdk/util-base64-browser" "3.109.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/querystring-builder" "3.168.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/util-base64-browser" "3.168.0" tslib "^2.3.1" -"@aws-sdk/hash-node@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/hash-node/-/hash-node-3.162.0.tgz#72eeba4fe923fc96103740600bcb5a217dc8d338" - integrity sha512-lfyyAb0Cd084QnUNLTkYowD8RW3L5Tb9lNnIMH6HY7uSE/obw1j/OnLUPqpey628WJ5DPyyvNBah3Vu+JVZ5Mw== +"@aws-sdk/hash-node@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/hash-node/-/hash-node-3.168.0.tgz#807afb8663569e35acc072dff94239b95f13a2d4" + integrity sha512-W2kMIuMric2Q2D4787DGubHz3Pw5fWDndM2gMjs/MB1psC/N74/ggRUIlUmsjSBFUHY1BYMfjsxe8DS9dSj77A== dependencies: - "@aws-sdk/types" "3.162.0" - "@aws-sdk/util-buffer-from" "3.55.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/util-buffer-from" "3.168.0" tslib "^2.3.1" -"@aws-sdk/invalid-dependency@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/invalid-dependency/-/invalid-dependency-3.162.0.tgz#a75b29aae362854041ebc4d282746041231109e4" - integrity sha512-ENZ7Jf2EcxMMdAX9/sRrt/1rzeA2WwqAKrjIacKGT9KEGQNU+omWF/h+8stLCu0Uxcg0XswFXgQCXcI1IQuZjg== +"@aws-sdk/invalid-dependency@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/invalid-dependency/-/invalid-dependency-3.168.0.tgz#a44e8e0248bd591f06f6fe5a8a2896c54b42745e" + integrity sha512-KuDn4e1XsxBQi+dAoRfSOExICq+Gt5zGA7/dI2jnfqejBNHVmJ8ksOnV/HmilFscPxdJx5POECQosf3p/N4t9w== dependencies: - "@aws-sdk/types" "3.162.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/is-array-buffer@3.55.0": - version "3.55.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/is-array-buffer/-/is-array-buffer-3.55.0.tgz#c46122c5636f01d5895e5256a587768c3425ea7a" - integrity sha512-NbiPHVYuPxdqdFd6FxzzN3H1BQn/iWA3ri3Ry7AyLeP/tGs1yzEWMwf8BN8TSMALI0GXT6Sh0GDWy3Ok5xB6DA== +"@aws-sdk/is-array-buffer@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/is-array-buffer/-/is-array-buffer-3.168.0.tgz#4cd8492246e00763a225684bcf5150d76ed99eb4" + integrity sha512-Zvt8a/g1UfvwmhxOnt/hDrFprC3+DQivFQGnzwBpv+ZyM1BfdgAruAkUZF+GtXI22DXZUumBrposCH1CcgjeIA== dependencies: tslib "^2.3.1" "@aws-sdk/lib-dynamodb@^3.52.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/lib-dynamodb/-/lib-dynamodb-3.163.0.tgz#db462faf89dc786dd4957e2eedf8c9033703c69b" - integrity sha512-zOrPlqkHFa0tafpyD6wqyDShu1bRA/dtCCPXhwJZOp2Qtl0gt3OJjPOVFDyfrdcpelgvLSocPvIKZMqLCGQaQg== + version "3.169.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/lib-dynamodb/-/lib-dynamodb-3.169.0.tgz#5ea47dfe386e70fd9ca9420d91707b30d74e95cc" + integrity sha512-eGe4RnSzcfRyhbPEzQWXsL7xysBP8vcd0aRTzArKGMx23VA/YnDLcxBMyO3+XV+2WRQMtHMvTfrGnmedvA+nyA== dependencies: - "@aws-sdk/util-dynamodb" "3.163.0" + "@aws-sdk/util-dynamodb" "3.169.0" tslib "^2.3.1" -"@aws-sdk/middleware-content-length@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-content-length/-/middleware-content-length-3.162.0.tgz#987d77a843598aa52d1045745dbae7e79e763464" - integrity sha512-gwuxHPBNNkr9Ah9gTNHqJ3uIp3zeY+VC2H810+RqkG5QrxU1bGAN/zezIIbcAlXjMM9vTSfO0rxGI04nhTx0BQ== +"@aws-sdk/middleware-content-length@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-content-length/-/middleware-content-length-3.168.0.tgz#ba553e563467bd6da8006c96ac87ee6de337c9fc" + integrity sha512-PHvoNIuXkLkBZ/0OSmFlCmA1o+RdqkNWwNm7/rIMe9cV+ZgtP9kQs+e4itibQb82veHTwG37+B7OAGa0DGqIvg== dependencies: - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/middleware-endpoint-discovery@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-endpoint-discovery/-/middleware-endpoint-discovery-3.163.0.tgz#8eb4d1dd8b95d406583e34a784e396597519e110" - integrity sha512-RMIM5JOm6j8xeO4CWxFiodxFMsic/SFbX3PRQh4FNBTk95E+x7hovQ/q+p/UR0DGZTjhSDVNku64n/tlEuPvtQ== +"@aws-sdk/middleware-endpoint-discovery@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-endpoint-discovery/-/middleware-endpoint-discovery-3.168.0.tgz#2fe3594ace021108555097d539cf199ef840e170" + integrity sha512-1Ov/SeRHqcOeOwqEr8P5I/3fwlrWNIZ5JbGizggjHops5QwzbJ1O5+lFFdTBTSlOWKBimDTMHlvwCbKmBTcDkQ== dependencies: - "@aws-sdk/config-resolver" "3.163.0" - "@aws-sdk/endpoint-cache" "3.55.0" - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/config-resolver" "3.168.0" + "@aws-sdk/endpoint-cache" "3.168.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/middleware-host-header@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.162.0.tgz#c59015c83f6c574bde72534919022b3a90c3cd2a" - integrity sha512-gw5xe22P62N9yZPvrVXewM2vp70w9mLRWC1vh6pRDs0hEudAlsbXoWjB/z6jpG6ucA4Y1IOuXy5yGr9lND+zhg== +"@aws-sdk/middleware-host-header@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.168.0.tgz#d5f2b51880e53e2848b65c8d767c3183cbad1f67" + integrity sha512-420rWpd/fsoPzRnMkyUFW1in6jpa1kbVCuewY5cqoH9uQcthrNJ0l9IgePDEMdymIMxGBfwiQERvUYogUadxrw== dependencies: - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/middleware-logger@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.162.0.tgz#10b2d552d7aa2c48b91061a418224cc47984272c" - integrity sha512-3YysLwpTZdfZkve2ytKFIwEc/WqDkxoI5kUXQq2hjsHAjLW7pEhUV00o+LJbgKjNxh38eSmmKeFlr5jnIjXHiQ== +"@aws-sdk/middleware-logger@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.168.0.tgz#056384dc42fb1494afbef2d2b8d168dbc6f50e13" + integrity sha512-5xeBlHQz/iWVor04eZLTfygj5T9zvLsngrUVb8FkHDzzNqT9+QwoA0iZoT8Vq5khfZK7UE7SWm2Hi/13t9T9+w== dependencies: - "@aws-sdk/types" "3.162.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/middleware-recursion-detection@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.162.0.tgz#6c13e90ec9cc7b7adcb98bcb3d02eb37cef37b5c" - integrity sha512-AqoTnSX0JgoFuKPyWy0S+WUJqgfkVz6Os50azi32snjHmluEgLOmfeF0ixfxGFUVGxZp8WDuu/JVhwgTRKVuUA== +"@aws-sdk/middleware-recursion-detection@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.168.0.tgz#0afd175822aaceca91cfb520a40f70db9d859475" + integrity sha512-4sr3E37PUDQSpE205d+kGcaJmZj7kE/I50qyf39U0jphk121AZXdKCWDs/T7g/d4LVJLoe6N+zzZIg4ZWVUUZw== dependencies: - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/middleware-retry@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-retry/-/middleware-retry-3.162.0.tgz#0601882f9105fc440b902a937f630da65914bd99" - integrity sha512-9ZuTim8tnTgP7wNgj+RIdYzGhNgou6QBBX85qMIvngksRUgsd1CGR17HQTyYDZTKlZs7GvLt/L5FaJcOlpPUxA== +"@aws-sdk/middleware-retry@3.169.0": + version "3.169.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-retry/-/middleware-retry-3.169.0.tgz#8821160379bcfa34c6dddd95dbb78d23aade67b6" + integrity sha512-XGAPxJpHEdqbZwaga3H40hQKqftOshvwhOLHLgCQQeOp/ftB6ohzM/pRfutSRCmK4+XPJGILzLZPSRyoME//mw== dependencies: - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/service-error-classification" "3.162.0" - "@aws-sdk/types" "3.162.0" - "@aws-sdk/util-middleware" "3.162.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/service-error-classification" "3.168.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/util-middleware" "3.168.0" tslib "^2.3.1" uuid "^8.3.2" -"@aws-sdk/middleware-sdk-sts@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.163.0.tgz#362eedb0739c3b4e98aa1154cc5c6f38d7e18f68" - integrity sha512-3UV0O5D3HPF5xHsIrDiygs06wmGVnoAXsyrqcZSPkYig9eGP6lTL1I8YS8JIG9/VojQDKjDUpQZMC3Om0+C7hA== +"@aws-sdk/middleware-sdk-sts@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.168.0.tgz#819d1697c402c3ae2ed77a4be6f73710503035b2" + integrity sha512-uE5VYczEkoCG/G63Whp4dGKFouDjx0Jj4vZj7Z4oEQSv/eynBm1+AQAtWA4zJQfYO60lFKOSiBykv/c1hk09Mg== dependencies: - "@aws-sdk/middleware-signing" "3.163.0" - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/signature-v4" "3.163.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/middleware-signing" "3.168.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/signature-v4" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/middleware-serde@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-serde/-/middleware-serde-3.162.0.tgz#e83201bffd46500ed4ea71bb3ceda63505f31f96" - integrity sha512-Vdgxbl7/o99CjeljQx3mTpY4cX7rc8YQykD49L2S61D6+Gkk9Zc4DMvaJDcxvR7ZUzRwjMTcMHlxbopcp1+UBA== +"@aws-sdk/middleware-serde@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-serde/-/middleware-serde-3.168.0.tgz#c6c615ce02f7931a5040f4fdc5162189c54e3e66" + integrity sha512-6z3iySqCjhV5NVEF3o++TgvK1XOBauYdZFCZk4foMxyh/wZ4MB+uIQ/D2AeHExzFGyrPjx0S0gZb4z8st6q9mA== dependencies: - "@aws-sdk/types" "3.162.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/middleware-signing@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-signing/-/middleware-signing-3.163.0.tgz#9ecc4bdeb1e2b67ab777808818f86ebde9e64578" - integrity sha512-Uj5vdejYUJOCJAx5u/SHWQTp75bd7GVqnXazO3QFHRjhSCMT55wsm8D+7LKRNbp4SjavO49m9kubXf+pLpqlJQ== +"@aws-sdk/middleware-signing@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-signing/-/middleware-signing-3.168.0.tgz#cd6ff279e0482bd7354a28a4d1e0ee7da1dd28b5" + integrity sha512-yQme9D4bNRdrPQH50a3oJfbf+54Dm1MkW4yjwIwpRoGkxAs2T7sjc3/u/Wo/Jy3g5yzM1Ven3KU+nlKOMNOpAw== dependencies: - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/signature-v4" "3.163.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/signature-v4" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/middleware-stack@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-stack/-/middleware-stack-3.162.0.tgz#26b37e6241ca5c1a5e50bb2b1367a39eabd2b5ad" - integrity sha512-e/by4QvDl9qMQHdBnLz6n8PRglswPb3eS23qT2Wt32KVLUehMUGAf1cdns6YmYSHATK/ivFmT2QHHEnNIc+n5w== +"@aws-sdk/middleware-stack@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-stack/-/middleware-stack-3.168.0.tgz#56baa1d58d235bfc3285384e51736b7ec3b71cc8" + integrity sha512-tUMa6gQFqyRC9xRy1cfQAX/K84LkFC+NAyENoDn4cbLvTJpH6tLPINFktaXLkKl2bdzGGWLHefxriBjTqZB+rg== dependencies: tslib "^2.3.1" -"@aws-sdk/middleware-user-agent@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.162.0.tgz#da374bd9c66efc563ee9a2f6d1fff29c5ebea965" - integrity sha512-aSCQk+oQbMPVHdncuend4jmd4MguLWjvi67OwKqdZjIKsSQfObCO8vwlfDM+ED3HcOfA0LwSxsFeSfQxC+WHxA== +"@aws-sdk/middleware-user-agent@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.168.0.tgz#429f14ea4ea560021587b8a0e934439e8e4aad7e" + integrity sha512-nwcWN1tz39s4IWyx1lxak/W9LdLnusQEdb+0pnJFWTCNhba3BvlAnt1sZFDwbFRmRUbU3x+hhpNB+Xub2hFttg== dependencies: - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/node-config-provider@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/node-config-provider/-/node-config-provider-3.162.0.tgz#9637996fd5ef18ce4619b927744727d2aff0d508" - integrity sha512-PgaekXCCyz/gKkbukt9zYLBJDEVgmCm0l78q5J84yJbu0FhcZY4LaAgCHdzhsgEYWTX497hokzNc3rgLdVu46A== +"@aws-sdk/node-config-provider@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/node-config-provider/-/node-config-provider-3.168.0.tgz#98a8c332850528afb83d1265e17eaff24392a0a7" + integrity sha512-8su32ifopNLb835NudTdxyv4fQ+7Eie17MjbqnvOeWmjFAgzJyIVJjyvMI+N8Gu3dDCTxSbBh3hl++VOzL+oXg== dependencies: - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/shared-ini-file-loader" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/shared-ini-file-loader" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/node-http-handler@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/node-http-handler/-/node-http-handler-3.162.0.tgz#771370fe09cc3b030666a6654cf1e461e6fe3cf1" - integrity sha512-9jNk9SU3nNLZ1OW+fd6zHGdByUDm0FEO3Hy+J62DvbFe16x09TnVnPAoHfZ69kjz5ZNS7Gg0wmdKjUHi9T3lJQ== +"@aws-sdk/node-http-handler@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/node-http-handler/-/node-http-handler-3.168.0.tgz#6978977635f8bec3a37806a1cd54c11424ed751f" + integrity sha512-yO68M12LUJa/bhuljSRCtLbmWvnS0eopoE3P2+xzV2JzkIg5r+bJmh/VtpDz8D2PxZhRALwBchjq8h+Po6rhcQ== dependencies: - "@aws-sdk/abort-controller" "3.162.0" - "@aws-sdk/protocol-http" "3.162.0" - "@aws-sdk/querystring-builder" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/abort-controller" "3.168.0" + "@aws-sdk/protocol-http" "3.168.0" + "@aws-sdk/querystring-builder" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/property-provider@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/property-provider/-/property-provider-3.162.0.tgz#45cdaadfba54bb1c275972f12f33f72c8eb22333" - integrity sha512-kQLpibZRIrF58axcKY4Pr17YGoVBKBOWKol8jI8vlDhbFJqn14pVLohv4wZ8TzG2kKhWCF+t25YQCefWz2/lkg== +"@aws-sdk/property-provider@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/property-provider/-/property-provider-3.168.0.tgz#abdcc76545c56f2fb2542db34bab0aafbe35576b" + integrity sha512-syvXTexP2t9HQY3dsfpPgUP5GjFcpBVzPfxd8GjLWFRcqBCQ5frdetkAfvnhPpytL/stauXuT1xv6jcN1vBAZQ== dependencies: - "@aws-sdk/types" "3.162.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/protocol-http@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/protocol-http/-/protocol-http-3.162.0.tgz#3657cb6627576180d8c5a9a37d6c3f2984d70f92" - integrity sha512-xMFFxwcO+x5QoQX/LRGb3BpLCIBWC9cBOULm34rYGBySd/zQqebVJOhiKTPzaRL02WZTDNxsEEQHg97Lpe8CNw== +"@aws-sdk/protocol-http@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/protocol-http/-/protocol-http-3.168.0.tgz#17674afb026789b739e640956bc36794b4c3e81e" + integrity sha512-5g7T5WqeU1W/TShfOYiczZFOK5svsQajjSGs1drB2DBQlbepF5YSmVbFGrfX6003h4TV9hpA6CqOjbgd59NgGA== dependencies: - "@aws-sdk/types" "3.162.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/querystring-builder@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/querystring-builder/-/querystring-builder-3.162.0.tgz#c1667eebeb0e15ac6cae2523afa5ea3a8ca8aa00" - integrity sha512-3urwxCEpnQwa1B6fKmcr8R2Qmzr8VDttRSay5CgD/stbZ4XUzNsA6G1V36+EL1Vq4vMr1aZhriARioLDlhcz+g== +"@aws-sdk/querystring-builder@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/querystring-builder/-/querystring-builder-3.168.0.tgz#bdd6cc0656ddb17997ba059afe02e0bd3724124c" + integrity sha512-cCjdmRKf+zVc/Whc9fP3DqB6QTBz0MsJ2uGqYCWG8kqBr4W8nDZVNRVj4Q1zZjQzipU7+77xJAE8NSIl+RsubA== dependencies: - "@aws-sdk/types" "3.162.0" - "@aws-sdk/util-uri-escape" "3.55.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/util-uri-escape" "3.168.0" tslib "^2.3.1" -"@aws-sdk/querystring-parser@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/querystring-parser/-/querystring-parser-3.162.0.tgz#d4f0522cfe2a44d2f242a2e5c9c9cf928930938e" - integrity sha512-0ccaGsR1O7e3BsprdYBMwGf8gmycTv1Dfz2EB5R6MiTqzcuQJ/lxpIcRh3jhUJaD1TPlUziyrBEAxtLka3HDDQ== +"@aws-sdk/querystring-parser@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/querystring-parser/-/querystring-parser-3.168.0.tgz#8e768667a8e472fc23dabe6069351a6963157cb6" + integrity sha512-O82vxPyoLRuqcCFxAQYuvDwOdMOaQ/hqlaC8Tw6qNE3wpJ1296M51Zgb7lPfIlSxzAc96H//Q+d1t5MViK2SFg== dependencies: - "@aws-sdk/types" "3.162.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/service-error-classification@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/service-error-classification/-/service-error-classification-3.162.0.tgz#b07ed4ef541ec4d3d3cfe93efae054e3d39b5a1b" - integrity sha512-AD9XL3CHFzwVWNEzdTo9aRnJl1ImqrRLlJ5zR/5ihTIJ68ZTYEiYP4vNKSCV6UfQ+vaaRNgLwiAx7JXzY54awg== +"@aws-sdk/service-error-classification@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/service-error-classification/-/service-error-classification-3.168.0.tgz#e5c5879dae22ba7a3e2340933e2136407813eabc" + integrity sha512-cW1U3YMMRLukx5/Fl7NpCsaFgcDkOOZVUaW2qLghJOakt1dc6OwgtPlS7toC9A7zjMIovqYwcksHO5mCyqrPlA== -"@aws-sdk/shared-ini-file-loader@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/shared-ini-file-loader/-/shared-ini-file-loader-3.162.0.tgz#53bc40d774f4411200104e415cbe27a3dea110f7" - integrity sha512-AGxISXns+1o6Pw+SPizFJDTw4Lwm+JSwhycCNhFU3JfdLsKfLY08JV4JHlcc+TyY4a8HhnGvE3r5t2f2dPLIsA== +"@aws-sdk/shared-ini-file-loader@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/shared-ini-file-loader/-/shared-ini-file-loader-3.168.0.tgz#c1f5f9c87d41400272edc0c8b4b2df0acd782820" + integrity sha512-K97HWEySV6HJC4CLyimVuqit4FILW4BtTU62jCaEwoPvg1XPAolCzzWfLClJ0GWfyf32+o30wJj8SgHuIuN2Qw== dependencies: tslib "^2.3.1" -"@aws-sdk/signature-v4@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4/-/signature-v4-3.163.0.tgz#6a083fd0fe285b07ca71fc88990c7a9440b7c0b2" - integrity sha512-1iein+7iAHKcRIXaZhl/lG6JrOR/Qmk27zMqfARzxDF7o/W5arSs3DHIKytO1sOEn9zV6Mqm21dRAumD21VCCg== +"@aws-sdk/signature-v4@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4/-/signature-v4-3.168.0.tgz#4488efb8436db3cab01b8808ea6b988ab81ed01c" + integrity sha512-jb98UrZ4d07Wr1mUVDY1HRlbEOVoPFZ38e4k20AUEXybxhsvlQhfAfaDITFg3UwMO978m4VAsjpzw8h8WGsNQw== dependencies: - "@aws-sdk/is-array-buffer" "3.55.0" - "@aws-sdk/types" "3.162.0" - "@aws-sdk/util-hex-encoding" "3.109.0" - "@aws-sdk/util-middleware" "3.162.0" - "@aws-sdk/util-uri-escape" "3.55.0" + "@aws-sdk/is-array-buffer" "3.168.0" + "@aws-sdk/types" "3.168.0" + "@aws-sdk/util-hex-encoding" "3.168.0" + "@aws-sdk/util-middleware" "3.168.0" + "@aws-sdk/util-uri-escape" "3.168.0" tslib "^2.3.1" -"@aws-sdk/smithy-client@3.162.0", "@aws-sdk/smithy-client@^3.50.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/smithy-client/-/smithy-client-3.162.0.tgz#2646b05c287a609a1abb7d28a7009f3314c26803" - integrity sha512-o7CwdhPvzYMvHY5dTzL2kqN8Zsl2D8pZ1mG2dPdQW9hYnutLOFK1HVv5dIzoSkp3jUwVGh6AXd1i4ZSb2d0LrA== +"@aws-sdk/smithy-client@3.168.0", "@aws-sdk/smithy-client@^3.50.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/smithy-client/-/smithy-client-3.168.0.tgz#c16045468c8878454a6228376cdc1535004ac590" + integrity sha512-B2wuTg5ymTYA7eVkt73bdRlWNWvdWNRY3QQizTWn0Ch3nOZXyVZSdH4mGmuWcpiQXEX/YYGmTLY7nCKWrk1E6Q== dependencies: - "@aws-sdk/middleware-stack" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/middleware-stack" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/types@3.162.0", "@aws-sdk/types@^3.1.0", "@aws-sdk/types@^3.50.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.162.0.tgz#e908ff1a5de6bd06d7d6b88a648b384592acf7e2" - integrity sha512-NBmuwVujH8fURDMvBHkHrYu/JAfG6Js/Bu0mC4o2Kdo5mRa3fD/N9kK0dEAxU1Rxp4wY2E++V9j2ZCw1KBGrSg== +"@aws-sdk/types@3.168.0", "@aws-sdk/types@^3.1.0", "@aws-sdk/types@^3.110.0", "@aws-sdk/types@^3.50.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.168.0.tgz#0c5734b94033a15ddec3723afc9ed99d40315620" + integrity sha512-J9VmQAakmqrdYKt3N0T/zQR6ZkfvQ7Y3WufjEWRTdslYcQ9f7UyI93Q21baCHvgcp3E5c4w62x18o6mEA/cHPQ== -"@aws-sdk/url-parser@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/url-parser/-/url-parser-3.162.0.tgz#ce341d3b6dbcaf52f00b80aff56b24b5ab8c1e82" - integrity sha512-aJQ2awXYDceLAzPMQETpvI1XQd8oYuqH1EriFzXHqoJTNmYnHb7awtKSqwaS8pq48x1rS/eVtJAi85BG93fXyw== +"@aws-sdk/url-parser@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/url-parser/-/url-parser-3.168.0.tgz#16958e36c93ebcecbed809ad9a5d8af0f40b186d" + integrity sha512-spFHA6NpsmAF3NCYyljjvl7uavHRvFDCNN32ce9RuRUXXuK8emAtwzXW95OUqtgCcyyKIA5p5p+gujrT7Npmeg== dependencies: - "@aws-sdk/querystring-parser" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/querystring-parser" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/util-base64-browser@3.109.0": - version "3.109.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-base64-browser/-/util-base64-browser-3.109.0.tgz#e7faf5c4cbb88bc39b9c1c5a1a79e4c869e9f645" - integrity sha512-lAZ6fyDGiRLaIsKT9qh7P9FGuNyZ4gAbr1YOSQk/5mHtaTuUvxlPptZuInNM/0MPQm6lpcot00D8IWTucn4PbA== +"@aws-sdk/util-base64-browser@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-base64-browser/-/util-base64-browser-3.168.0.tgz#da17a371f96d65503f52c9f645d79052dfc54029" + integrity sha512-awyUvPXWbV5SrpUY8vTA58RTdTnDFJJmVlCXGB8JCtWYVuAQ5FfKA/K0ZD6p+AP6AsCgHSvXCuZm8vFyZldJ2Q== dependencies: tslib "^2.3.1" -"@aws-sdk/util-base64-node@3.55.0": - version "3.55.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-base64-node/-/util-base64-node-3.55.0.tgz#da9a3fd6752be49163572144793e6b23d0186ff4" - integrity sha512-UQ/ZuNoAc8CFMpSiRYmevaTsuRKzLwulZTnM8LNlIt9Wx1tpNvqp80cfvVj7yySKROtEi20wq29h31dZf1eYNQ== +"@aws-sdk/util-base64-node@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-base64-node/-/util-base64-node-3.168.0.tgz#9c31efc306fe2c35cf655743831ecfd4d7dce39f" + integrity sha512-NqU7t3Fes0QngHwAZoIKeXyUZOoszEwGuerj1wZk6+Jd6X4L5NdBcBg8AA2VMyRdSFhCP+irgVRZrYSn0Ii66g== dependencies: - "@aws-sdk/util-buffer-from" "3.55.0" + "@aws-sdk/util-buffer-from" "3.168.0" tslib "^2.3.1" -"@aws-sdk/util-body-length-browser@3.154.0": - version "3.154.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-body-length-browser/-/util-body-length-browser-3.154.0.tgz#8c4c5d08c1923deeedf46006dc4db820ca606f56" - integrity sha512-TUuy7paVkBRQrB/XFCsL8iTW6g/ma0S3N8dYOiIMJdeTqTFryeyOGkBpYBgYFQL6zRMZpyu0jOM7GYEffGFOXw== +"@aws-sdk/util-body-length-browser@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-body-length-browser/-/util-body-length-browser-3.168.0.tgz#670bdd6e94d94d310666524e91d664814bbb4e5a" + integrity sha512-s51E8ctLKCoLqcj4a1YsIVX1sMLwf1f9lNfhnE8H7U85BeqTAtjAifdejDdFtxS4ECF95cupzN6PgqFmgdrzpQ== dependencies: tslib "^2.3.1" -"@aws-sdk/util-body-length-node@3.55.0": - version "3.55.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-body-length-node/-/util-body-length-node-3.55.0.tgz#67049bbb6c62d794a1bb5a13b9a678988c925489" - integrity sha512-lU1d4I+9wJwydduXs0SxSfd+mHKjxeyd39VwOv6i2KSwWkPbji9UQqpflKLKw+r45jL7+xU/zfeTUg5Tt/3Gew== +"@aws-sdk/util-body-length-node@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-body-length-node/-/util-body-length-node-3.168.0.tgz#e9121883bbcfc22035fd567d6285ad352a51b267" + integrity sha512-vKG9iylTshwzHsVsRpx3oLDMtBvG47b3TIMGQFSuCDPEwD91+s1ORe3r+RxJIWDYJtmw5Y5ZPveYib4p4rWSUQ== dependencies: tslib "^2.3.1" -"@aws-sdk/util-buffer-from@3.55.0": - version "3.55.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-buffer-from/-/util-buffer-from-3.55.0.tgz#e7c927974b07a29502aa1ad58509b91d0d7cf0f7" - integrity sha512-uVzKG1UgvnV7XX2FPTylBujYMKBPBaq/qFBxfl0LVNfrty7YjpfieQxAe6yRLD+T0Kir/WDQwGvYC+tOYG3IGA== +"@aws-sdk/util-buffer-from@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-buffer-from/-/util-buffer-from-3.168.0.tgz#18bc11f81a5cc30c56ca17784a6e6e73084efc32" + integrity sha512-NDQIBdJfK95N/zewOcEJC9NqNVRXzWHrgKJTdCTW4UuRBADg3YTeDmqmNA2TUaWydQZa0ubpX3JyaKz4l3DDZw== dependencies: - "@aws-sdk/is-array-buffer" "3.55.0" + "@aws-sdk/is-array-buffer" "3.168.0" tslib "^2.3.1" -"@aws-sdk/util-config-provider@3.109.0": - version "3.109.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-config-provider/-/util-config-provider-3.109.0.tgz#7828b8894b2b23c289ffc5c106cbced7a5d6ee86" - integrity sha512-GrAZl/aBv0A28LkyNyq8SPJ5fmViCwz80fWLMeWx/6q5AbivuILogjlWwEZSvZ9zrlHOcFC0+AnCa5pQrjaslw== +"@aws-sdk/util-config-provider@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-config-provider/-/util-config-provider-3.168.0.tgz#4eaf6dc1ee612d89876335c3c45dfb64b77d57c3" + integrity sha512-4AyBOlV2w8fqQ1Os9khnjrsAogBN7ou0bRS1Q34Y9zwtFL+T+xhHO0pp9+Yfw+E6s2Uy3DZWbq8PWyBZze6nuw== dependencies: tslib "^2.3.1" -"@aws-sdk/util-defaults-mode-browser@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-defaults-mode-browser/-/util-defaults-mode-browser-3.162.0.tgz#41625d5ea4d3d347df00cc5647a0808fcb059c94" - integrity sha512-BjhuriainNy0ezFqCK//380Wc4xsJJOnq1tmPlHScQxp3g8ucfClvjOUi96XQaTrEf8c8EsYp77+JNsvrHytmw== +"@aws-sdk/util-defaults-mode-browser@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-defaults-mode-browser/-/util-defaults-mode-browser-3.168.0.tgz#2430e83d98c3674d2b9b5584c5b0a05810951936" + integrity sha512-5lB9eDMkaittKbdugurzJx32quGrQar+ki3oebjJQZl4/gsDVRqOT9qwz95RVeXdEIUdA4U3T/1OgSNUT9aMyA== dependencies: - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/types" "3.168.0" bowser "^2.11.0" tslib "^2.3.1" -"@aws-sdk/util-defaults-mode-node@3.163.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-defaults-mode-node/-/util-defaults-mode-node-3.163.0.tgz#9cb4d5b0b1beb9573b11289eee46c762d3a9c0bd" - integrity sha512-IM5BVeUXzLpb9m8qBSpUc2iO+topP1F7Ojq1GNrl5G/b22f7b1FCL5qkTem/UIXkkgI+efI7jr05xPRGiU73Hg== +"@aws-sdk/util-defaults-mode-node@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-defaults-mode-node/-/util-defaults-mode-node-3.168.0.tgz#6f97897eab510b1c7615bb8d822ae26fca5dc297" + integrity sha512-462U5waEl495rP0WaKHXS6rrKHusMMBYvHzMzD3/gpSEwMZti0ZWLzhHNRcWp7d3uRVVdAsjF4UM6QwhJrScmA== dependencies: - "@aws-sdk/config-resolver" "3.163.0" - "@aws-sdk/credential-provider-imds" "3.162.0" - "@aws-sdk/node-config-provider" "3.162.0" - "@aws-sdk/property-provider" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/config-resolver" "3.168.0" + "@aws-sdk/credential-provider-imds" "3.168.0" + "@aws-sdk/node-config-provider" "3.168.0" + "@aws-sdk/property-provider" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/util-dynamodb@3.163.0", "@aws-sdk/util-dynamodb@^3.50.0": - version "3.163.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-dynamodb/-/util-dynamodb-3.163.0.tgz#5b5749ba34892cfc8cc9cf99df304839ff03e548" - integrity sha512-Z+4lFv/fBWW/HY9KPPg1K8GLIXCyJYqKLpAdVh5+1AvkvaWf7JXfTL6If4WMVptNW0cEwFu903+RWKJHEFriVA== +"@aws-sdk/util-dynamodb@3.169.0", "@aws-sdk/util-dynamodb@^3.50.0": + version "3.169.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-dynamodb/-/util-dynamodb-3.169.0.tgz#ac82d58e9792edfb4eaf196e50a64fd5d93b66e2" + integrity sha512-9S6E/W0/I+jEJl2zgN1F/p/tCQ3cfwlGC1Ww6+mcMVjtQFGXqo1nyZ/dlGDMWD7yqbKurrhlUF7WphCV9UIyAw== dependencies: tslib "^2.3.1" -"@aws-sdk/util-hex-encoding@3.109.0": - version "3.109.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-hex-encoding/-/util-hex-encoding-3.109.0.tgz#93b20acc27c0a1d7d80f653bf19d3dd01c2ccc65" - integrity sha512-s8CgTNrn3cLkrdiohfxLuOYPCanzvHn/aH5RW6DaMoeQiG5Hl9QUiP/WtdQ9QQx3xvpQFpmvxIaSBwSgFNLQxA== +"@aws-sdk/util-hex-encoding@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-hex-encoding/-/util-hex-encoding-3.168.0.tgz#66d0ae56305080525fd48ad5ea6d07ba2e3afd23" + integrity sha512-KmJkd0eKXGd2z5h2N0yV6WUBqulwumq2eppv6pYrVfyQc0bBwSOYRG0NcXDvQB7rd+spbQjgbeqrHnsk34fQbQ== dependencies: tslib "^2.3.1" "@aws-sdk/util-locate-window@^3.0.0": - version "3.55.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.55.0.tgz#a4136a20ee1bfcb73967a6614caf769ef79db070" - integrity sha512-0sPmK2JaJE2BbTcnvybzob/VrFKCXKfN4CUKcvn0yGg/me7Bz+vtzQRB3Xp+YSx+7OtWxzv63wsvHoAnXvgxgg== + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.168.0.tgz#50e2eb5f29f9ecbc41da05b1e893f20603a14709" + integrity sha512-bCKN6rbTTA41cqm7TYuiSkXR8peSXR/t8GioeEOExPESNgR7kuwVU4pQ2LZYjnD1HqLtz3FKKKddvBJhmqpG8Q== dependencies: tslib "^2.3.1" -"@aws-sdk/util-middleware@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-middleware/-/util-middleware-3.162.0.tgz#5e38b45b52b731ec4be7b3eb65e8097e70a8a844" - integrity sha512-jDqZZ5nst+NtzvAPIQBdQqGY14Z3HeGANGm5NUoxWp8IlHnEV7GhTFDjFgubf8mgTBCzHnvbuBY1bfkzAeXWBA== +"@aws-sdk/util-middleware@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-middleware/-/util-middleware-3.168.0.tgz#aadec886e3733fe0297b3e661a30e1b406df9cae" + integrity sha512-PInwsmxfXj4HhZytF5kZP6BYJ3mVW2QTzxSnKobkIfRnZHwBEGL74voaArfbbAfqvxzptDY6x4vo4N5Mo7M4hA== dependencies: tslib "^2.3.1" -"@aws-sdk/util-uri-escape@3.55.0": - version "3.55.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-uri-escape/-/util-uri-escape-3.55.0.tgz#ee57743c628a1c9f942dfe73205ce890ec011916" - integrity sha512-mmdDLUpFCN2nkfwlLdOM54lTD528GiGSPN1qb8XtGLgZsJUmg3uJSFIN2lPeSbEwJB3NFjVas/rnQC48i7mV8w== +"@aws-sdk/util-uri-escape@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-uri-escape/-/util-uri-escape-3.168.0.tgz#82d479bd2f197bf25691371b1af5e66230b2e5e2" + integrity sha512-EnNdhxRif4B4PM+CQcq+2s+dRiYVBPMZHZepq6W/eSOvZfW/T8BvDjUzRW9NjGV/Ld3XKk6dMuoWmBKt7J6I7g== dependencies: tslib "^2.3.1" -"@aws-sdk/util-user-agent-browser@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.162.0.tgz#735a3611e65df0c4b8a416bbb096e56d0b43f5c9" - integrity sha512-FNmC2ywy1u3tbUSVCSkCwLvcbjIvj5EzAtF6I2wrMTI5PfaxVIQapKn2EecoVQgf4lsZqvGjyTxbl7SYvf9fxw== +"@aws-sdk/util-user-agent-browser@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.168.0.tgz#b8c019d801698e3e9cfbd5c2f6ce3d5d2c48030e" + integrity sha512-wh3E0FXLzCbpgsi/+NQn2dK/nD//lOKAndzyPsx1uXvKAiqQCkIqAPz5fiGuSkYBZHkjvRxTNSXjL+1tJn+lVQ== dependencies: - "@aws-sdk/types" "3.162.0" + "@aws-sdk/types" "3.168.0" bowser "^2.11.0" tslib "^2.3.1" -"@aws-sdk/util-user-agent-node@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.162.0.tgz#3c589c1ad1ce2821c9568dd12bb5632b8eb776be" - integrity sha512-OIbZlccBFwITDQJoymU0V+yqqyPEbJUExJzeiP9bxJ58h7Jxj/da24cxCMaVDYvjhP/PoflOmC5Xblonaeg+oQ== +"@aws-sdk/util-user-agent-node@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.168.0.tgz#a151c2328412f545ba9a5d28883c1a6fe1807faf" + integrity sha512-grL671IO1kkAD3BjofoN0SJE0ldrHjEbevIa4i9eif/Y3LIoCgmUP6tUtRzR7K9CDdjeGuvo0vJ9HfwZWH/B/g== dependencies: - "@aws-sdk/node-config-provider" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/node-config-provider" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" -"@aws-sdk/util-utf8-browser@3.109.0", "@aws-sdk/util-utf8-browser@^3.0.0": - version "3.109.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.109.0.tgz#d013272e1981b23a4c84ac06f154db686c0cf84e" - integrity sha512-FmcGSz0v7Bqpl1SE8G1Gc0CtDpug+rvqNCG/szn86JApD/f5x8oByjbEiAyTU2ZH2VevUntx6EW68ulHyH+x+w== +"@aws-sdk/util-utf8-browser@3.168.0", "@aws-sdk/util-utf8-browser@^3.0.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.168.0.tgz#28b3430c97410e2974dc2f26c2dbeddc4d028bfe" + integrity sha512-ZXEnVC/AcBdf2wQrITq4bkLnwiPKoBnhJwfPjZdpMHsDssKLquaHQf+QLOB/2s2U+jxl6c2Q7+rL4dv7x545Bg== dependencies: tslib "^2.3.1" -"@aws-sdk/util-utf8-node@3.109.0": - version "3.109.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-utf8-node/-/util-utf8-node-3.109.0.tgz#89e06d916f5b246c7265f59bac742973ac0767ac" - integrity sha512-Ti/ZBdvz2eSTElsucjzNmzpyg2MwfD1rXmxD0hZuIF8bPON/0+sZYnWd5CbDw9kgmhy28dmKue086tbZ1G0iLQ== +"@aws-sdk/util-utf8-node@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-utf8-node/-/util-utf8-node-3.168.0.tgz#7b28e256ad24d82d85ba7de0fe40fa9ab6c08d81" + integrity sha512-m9EfLgh0QQrgJfuYowPQW2+a3f848F92cVTnCyeUtjiT59lkW9QPJhVVajRcfmNUUT4S/ikxvmkhzDzzMYH+gA== dependencies: - "@aws-sdk/util-buffer-from" "3.55.0" + "@aws-sdk/util-buffer-from" "3.168.0" tslib "^2.3.1" -"@aws-sdk/util-waiter@3.162.0": - version "3.162.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-waiter/-/util-waiter-3.162.0.tgz#369499ec934a47aa8f0340876a9228e6d8989736" - integrity sha512-RDMimLdgffkBiFjXyGO0DYjUhDisBHx5OZIaj57bCWRqvMj4lSz5+eS3fpVEZaRDFo/P3i/86lvjPEqXStTlZA== +"@aws-sdk/util-waiter@3.168.0": + version "3.168.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-waiter/-/util-waiter-3.168.0.tgz#0138d481d115dd99b3a1d42ccd59a284c2ee82c5" + integrity sha512-RdUapfJHeqjVeFtafKY+PLvKxEKi2IS+rt475YRoDGqzTegJLV1BO89j4wq/VWyGVljvpRI2/6RqG2Q0K/ozPA== dependencies: - "@aws-sdk/abort-controller" "3.162.0" - "@aws-sdk/types" "3.162.0" + "@aws-sdk/abort-controller" "3.168.0" + "@aws-sdk/types" "3.168.0" tslib "^2.3.1" "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": @@ -735,47 +735,47 @@ dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.18.8": - version "7.18.13" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.18.13.tgz#6aff7b350a1e8c3e40b029e46cbe78e24a913483" - integrity sha512-5yUzC5LqyTFp2HLmDoxGQelcdYgSpP9xsnMWBphAscOdFrHSAVbLNzWiy32sVNDqJRDiJK6klfDnAgu6PAGSHw== +"@babel/compat-data@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.0.tgz#2a592fd89bacb1fcde68de31bee4f2f2dacb0e86" + integrity sha512-y5rqgTTPTmaF5e2nVhOxw+Ur9HDJLsWb6U/KpgUzRZEdPfE6VOubXBKLdbcUTijzRptednSBDQbYZBOSqJxpJw== "@babel/core@^7.11.6", "@babel/core@^7.12.3": - version "7.18.13" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.13.tgz#9be8c44512751b05094a4d3ab05fc53a47ce00ac" - integrity sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A== + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.19.0.tgz#d2f5f4f2033c00de8096be3c9f45772563e150c3" + integrity sha512-reM4+U7B9ss148rh2n1Qs9ASS+w94irYXga7c2jaQv9RVzpS7Mv1a9rnYYwuDa45G+DkORt9g6An2k/V4d9LbQ== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.13" - "@babel/helper-compilation-targets" "^7.18.9" - "@babel/helper-module-transforms" "^7.18.9" - "@babel/helpers" "^7.18.9" - "@babel/parser" "^7.18.13" + "@babel/generator" "^7.19.0" + "@babel/helper-compilation-targets" "^7.19.0" + "@babel/helper-module-transforms" "^7.19.0" + "@babel/helpers" "^7.19.0" + "@babel/parser" "^7.19.0" "@babel/template" "^7.18.10" - "@babel/traverse" "^7.18.13" - "@babel/types" "^7.18.13" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.1" semver "^6.3.0" -"@babel/generator@^7.18.13", "@babel/generator@^7.7.2": - version "7.18.13" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.18.13.tgz#59550cbb9ae79b8def15587bdfbaa388c4abf212" - integrity sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ== +"@babel/generator@^7.19.0", "@babel/generator@^7.7.2": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.19.0.tgz#785596c06425e59334df2ccee63ab166b738419a" + integrity sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg== dependencies: - "@babel/types" "^7.18.13" + "@babel/types" "^7.19.0" "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/helper-compilation-targets@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.9.tgz#69e64f57b524cde3e5ff6cc5a9f4a387ee5563bf" - integrity sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg== +"@babel/helper-compilation-targets@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.0.tgz#537ec8339d53e806ed422f1e06c8f17d55b96bb0" + integrity sha512-Ai5bNWXIvwDvWM7njqsG3feMlL9hCVQsPYXodsZyLwshYkZVJt59Gftau4VrE8S9IT9asd2uSP1hG6wCNw+sXA== dependencies: - "@babel/compat-data" "^7.18.8" + "@babel/compat-data" "^7.19.0" "@babel/helper-validator-option" "^7.18.6" browserslist "^4.20.2" semver "^6.3.0" @@ -785,13 +785,13 @@ resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== -"@babel/helper-function-name@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.18.9.tgz#940e6084a55dee867d33b4e487da2676365e86b0" - integrity sha512-fJgWlZt7nxGksJS9a0XdSaI4XvpExnNIgRP+rVefWh5U7BL8pPuir6SJUmFKRfjWQ51OtWSzwOxhaH/EBWWc0A== +"@babel/helper-function-name@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" + integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== dependencies: - "@babel/template" "^7.18.6" - "@babel/types" "^7.18.9" + "@babel/template" "^7.18.10" + "@babel/types" "^7.19.0" "@babel/helper-hoist-variables@^7.18.6": version "7.18.6" @@ -807,24 +807,24 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-module-transforms@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.18.9.tgz#5a1079c005135ed627442df31a42887e80fcb712" - integrity sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g== +"@babel/helper-module-transforms@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz#309b230f04e22c58c6a2c0c0c7e50b216d350c30" + integrity sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ== dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-module-imports" "^7.18.6" "@babel/helper-simple-access" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" "@babel/helper-validator-identifier" "^7.18.6" - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.9" - "@babel/types" "^7.18.9" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.8.0": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz#4b8aea3b069d8cb8a72cdfe28ddf5ceca695ef2f" - integrity sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w== + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz#4796bb14961521f0f8715990bee2fb6e51ce21bf" + integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== "@babel/helper-simple-access@^7.18.6": version "7.18.6" @@ -855,14 +855,14 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== -"@babel/helpers@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.18.9.tgz#4bef3b893f253a1eced04516824ede94dcfe7ff9" - integrity sha512-Jf5a+rbrLoR4eNdUmnFu8cN5eNJT6qdTdOg5IHIzq87WwyRw9PwguLFOWYgktN/60IP4fgDUawJvs7PjQIzELQ== +"@babel/helpers@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.19.0.tgz#f30534657faf246ae96551d88dd31e9d1fa1fc18" + integrity sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg== dependencies: - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.9" - "@babel/types" "^7.18.9" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" "@babel/highlight@^7.18.6": version "7.18.6" @@ -873,10 +873,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.18.13": - version "7.18.13" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.13.tgz#5b2dd21cae4a2c5145f1fbd8ca103f9313d3b7e4" - integrity sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.0.tgz#497fcafb1d5b61376959c1c338745ef0577aa02c" + integrity sha512-74bEXKX2h+8rrfQUfsBfuZZHzsEs6Eql4pqy/T4Nn6Y9wNPggQOqD6z6pn5Bl8ZfysKouFZT/UXEH94ummEeQw== "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -913,6 +913,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-jsx@^7.7.2": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" @@ -969,7 +976,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/template@^7.18.10", "@babel/template@^7.18.6", "@babel/template@^7.3.3": +"@babel/template@^7.18.10", "@babel/template@^7.3.3": version "7.18.10" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== @@ -978,26 +985,26 @@ "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" -"@babel/traverse@^7.18.13", "@babel/traverse@^7.18.9", "@babel/traverse@^7.7.2": - version "7.18.13" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.18.13.tgz#5ab59ef51a997b3f10c4587d648b9696b6cb1a68" - integrity sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA== +"@babel/traverse@^7.19.0", "@babel/traverse@^7.7.2": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.19.0.tgz#eb9c561c7360005c592cc645abafe0c3c4548eed" + integrity sha512-4pKpFRDh+utd2mbRC8JLnlsMUii3PMHjpL6a0SZ4NMZy7YFP9aXORxEhdMVOc9CpWtDF09IkciQLEhK7Ml7gRA== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.13" + "@babel/generator" "^7.19.0" "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.18.13" - "@babel/types" "^7.18.13" + "@babel/parser" "^7.19.0" + "@babel/types" "^7.19.0" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.3.0", "@babel/types@^7.3.3": - version "7.18.13" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.13.tgz#30aeb9e514f4100f7c1cb6e5ba472b30e48f519a" - integrity sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ== +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.19.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.0.tgz#75f21d73d73dc0351f3368d28db73465f4814600" + integrity sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA== dependencies: "@babel/helper-string-parser" "^7.18.10" "@babel/helper-validator-identifier" "^7.18.6" @@ -1025,10 +1032,10 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.15.6.tgz#45be4184f00e505411bc265a05e709764114acd8" integrity sha512-hqmVU2mUjH6J2ZivHphJ/Pdse2ZD+uGCHK0uvsiLDk/JnSedEVj77CiVUnbMKuU4tih1TZZL8tG9DExQg/GZsw== -"@eslint/eslintrc@^1.3.1": - version "1.3.1" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.1.tgz#de0807bfeffc37b964a7d0400e0c348ce5a2543d" - integrity sha512-OhSY22oQQdw3zgPOOwdoj01l/Dzl1Z+xyUP33tkSN+aqyEhymJCcPHyXt+ylW8FSe0TfRC2VG+ROQOapD0aZSQ== +"@eslint/eslintrc@^1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.2.tgz#58b69582f3b7271d8fa67fe5251767a5b38ea356" + integrity sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -1087,9 +1094,9 @@ tslib "^2.4.0" "@graphql-tools/utils@^8.5.1": - version "8.10.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.10.1.tgz#3224fe0611c9bb51e6a5c16472ae17afbd6c5465" - integrity sha512-UYi/afPvxZ8mz0LjplMxOSmGDPenVS/Q0zJ/6LOyF9yZdJYIDe+J+Qr/I9+rCYQmgBW4BJeRUUc7VoUzZPfZDA== + version "8.12.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.12.0.tgz#243bc4f5fc2edbc9e8fd1038189e57d837cbe31f" + integrity sha512-TeO+MJWGXjUTS52qfK4R8HiPoF/R7X+qmgtOYd8DTH0l6b+5Y/tlg5aGeUJefqImRq7nvi93Ms40k/Uz4D5CWw== dependencies: tslib "^2.4.0" @@ -1143,50 +1150,49 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-28.1.3.tgz#2030606ec03a18c31803b8a36382762e447655df" - integrity sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw== +"@jest/console@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.0.3.tgz#a222ab87e399317a89db88a58eaec289519e807a" + integrity sha512-cGg0r+klVHSYnfE977S9wmpuQ9L+iYuYgL+5bPXiUlUynLLYunRxswEmhBzvrSKGof5AKiHuTTmUKAqRcDY9dg== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.0.3" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^28.1.3" - jest-util "^28.1.3" + jest-message-util "^29.0.3" + jest-util "^29.0.3" slash "^3.0.0" -"@jest/core@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-28.1.3.tgz#0ebf2bd39840f1233cd5f2d1e6fc8b71bd5a1ac7" - integrity sha512-CIKBrlaKOzA7YG19BEqCw3SLIsEwjZkeJzf5bdooVnW4bH5cktqe3JX+G2YV1aK5vP8N9na1IGWFzYaTp6k6NA== +"@jest/core@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.0.3.tgz#ba22a9cbd0c7ba36e04292e2093c547bf53ec1fd" + integrity sha512-1d0hLbOrM1qQE3eP3DtakeMbKTcXiXP3afWxqz103xPyddS2NhnNghS7MaXx1dcDt4/6p4nlhmeILo2ofgi8cQ== dependencies: - "@jest/console" "^28.1.3" - "@jest/reporters" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/console" "^29.0.3" + "@jest/reporters" "^29.0.3" + "@jest/test-result" "^29.0.3" + "@jest/transform" "^29.0.3" + "@jest/types" "^29.0.3" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" ci-info "^3.2.0" exit "^0.1.2" graceful-fs "^4.2.9" - jest-changed-files "^28.1.3" - jest-config "^28.1.3" - jest-haste-map "^28.1.3" - jest-message-util "^28.1.3" - jest-regex-util "^28.0.2" - jest-resolve "^28.1.3" - jest-resolve-dependencies "^28.1.3" - jest-runner "^28.1.3" - jest-runtime "^28.1.3" - jest-snapshot "^28.1.3" - jest-util "^28.1.3" - jest-validate "^28.1.3" - jest-watcher "^28.1.3" + jest-changed-files "^29.0.0" + jest-config "^29.0.3" + jest-haste-map "^29.0.3" + jest-message-util "^29.0.3" + jest-regex-util "^29.0.0" + jest-resolve "^29.0.3" + jest-resolve-dependencies "^29.0.3" + jest-runner "^29.0.3" + jest-runtime "^29.0.3" + jest-snapshot "^29.0.3" + jest-util "^29.0.3" + jest-validate "^29.0.3" + jest-watcher "^29.0.3" micromatch "^4.0.4" - pretty-format "^28.1.3" - rimraf "^3.0.0" + pretty-format "^29.0.3" slash "^3.0.0" strip-ansi "^6.0.0" @@ -1197,63 +1203,64 @@ dependencies: "@jest/types" "^27.5.1" -"@jest/environment@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-28.1.3.tgz#abed43a6b040a4c24fdcb69eab1f97589b2d663e" - integrity sha512-1bf40cMFTEkKyEf585R9Iz1WayDjHoHqvts0XFYEqyKM3cFWDpeMoqKKTAF9LSYQModPUlh8FKptoM2YcMWAXA== +"@jest/environment@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.0.3.tgz#7745ec30a954e828e8cc6df6a13280d3b51d8f35" + integrity sha512-iKl272NKxYNQNqXMQandAIwjhQaGw5uJfGXduu8dS9llHi8jV2ChWrtOAVPnMbaaoDhnI3wgUGNDvZgHeEJQCA== dependencies: - "@jest/fake-timers" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/fake-timers" "^29.0.3" + "@jest/types" "^29.0.3" "@types/node" "*" - jest-mock "^28.1.3" + jest-mock "^29.0.3" -"@jest/expect-utils@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-28.1.3.tgz#58561ce5db7cd253a7edddbc051fb39dda50f525" - integrity sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA== +"@jest/expect-utils@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.0.3.tgz#f5bb86f5565bf2dacfca31ccbd887684936045b2" + integrity sha512-i1xUkau7K/63MpdwiRqaxgZOjxYs4f0WMTGJnYwUKubsNRZSeQbLorS7+I4uXVF9KQ5r61BUPAUMZ7Lf66l64Q== dependencies: - jest-get-type "^28.0.2" + jest-get-type "^29.0.0" -"@jest/expect@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-28.1.3.tgz#9ac57e1d4491baca550f6bdbd232487177ad6a72" - integrity sha512-lzc8CpUbSoE4dqT0U+g1qODQjBRHPpCPXissXD4mS9+sWQdmmpeJ9zSH1rS1HEkrsMN0fb7nKrJ9giAR1d3wBw== +"@jest/expect@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.0.3.tgz#9dc7c46354eeb7a348d73881fba6402f5fdb2c30" + integrity sha512-6W7K+fsI23FQ01H/BWccPyDZFrnU9QlzDcKOjrNVU5L8yUORFAJJIpmyxWPW70+X624KUNqzZwPThPMX28aXEQ== dependencies: - expect "^28.1.3" - jest-snapshot "^28.1.3" + expect "^29.0.3" + jest-snapshot "^29.0.3" -"@jest/fake-timers@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-28.1.3.tgz#230255b3ad0a3d4978f1d06f70685baea91c640e" - integrity sha512-D/wOkL2POHv52h+ok5Oj/1gOG9HSywdoPtFsRCUmlCILXNn5eIWmcnd3DIiWlJnpGvQtmajqBP95Ei0EimxfLw== +"@jest/fake-timers@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.0.3.tgz#ad5432639b715d45a86a75c47fd75019bc36b22c" + integrity sha512-tmbUIo03x0TdtcZCESQ0oQSakPCpo7+s6+9mU19dd71MptkP4zCwoeZqna23//pgbhtT1Wq02VmA9Z9cNtvtCQ== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.0.3" "@sinonjs/fake-timers" "^9.1.2" "@types/node" "*" - jest-message-util "^28.1.3" - jest-mock "^28.1.3" - jest-util "^28.1.3" + jest-message-util "^29.0.3" + jest-mock "^29.0.3" + jest-util "^29.0.3" -"@jest/globals@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-28.1.3.tgz#a601d78ddc5fdef542728309894895b4a42dc333" - integrity sha512-XFU4P4phyryCXu1pbcqMO0GSQcYe1IsalYCDzRNyhetyeyxMcIxa11qPNDpVNLeretItNqEmYYQn1UYz/5x1NA== +"@jest/globals@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.0.3.tgz#681950c430fdc13ff9aa89b2d8d572ac0e4a1bf5" + integrity sha512-YqGHT65rFY2siPIHHFjuCGUsbzRjdqkwbat+Of6DmYRg5shIXXrLdZoVE/+TJ9O1dsKsFmYhU58JvIbZRU1Z9w== dependencies: - "@jest/environment" "^28.1.3" - "@jest/expect" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/environment" "^29.0.3" + "@jest/expect" "^29.0.3" + "@jest/types" "^29.0.3" + jest-mock "^29.0.3" -"@jest/reporters@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-28.1.3.tgz#9adf6d265edafc5fc4a434cfb31e2df5a67a369a" - integrity sha512-JuAy7wkxQZVNU/V6g9xKzCGC5LVXx9FDcABKsSXp5MiKPEE2144a/vXTEDoyzjUpZKfVwp08Wqg5A4WfTMAzjg== +"@jest/reporters@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.0.3.tgz#735f110e08b44b38729d8dbbb74063bdf5aba8a5" + integrity sha512-3+QU3d4aiyOWfmk1obDerie4XNCaD5Xo1IlKNde2yGEi02WQD+ZQD0i5Hgqm1e73sMV7kw6pMlCnprtEwEVwxw== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" - "@jridgewell/trace-mapping" "^0.3.13" + "@jest/console" "^29.0.3" + "@jest/test-result" "^29.0.3" + "@jest/transform" "^29.0.3" + "@jest/types" "^29.0.3" + "@jridgewell/trace-mapping" "^0.3.15" "@types/node" "*" chalk "^4.0.0" collect-v8-coverage "^1.0.0" @@ -1265,67 +1272,67 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" - jest-worker "^28.1.3" + jest-message-util "^29.0.3" + jest-util "^29.0.3" + jest-worker "^29.0.3" slash "^3.0.0" string-length "^4.0.1" strip-ansi "^6.0.0" terminal-link "^2.0.0" v8-to-istanbul "^9.0.1" -"@jest/schemas@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.1.3.tgz#ad8b86a66f11f33619e3d7e1dcddd7f2d40ff905" - integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== +"@jest/schemas@^29.0.0": + version "29.0.0" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.0.0.tgz#5f47f5994dd4ef067fb7b4188ceac45f77fe952a" + integrity sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA== dependencies: "@sinclair/typebox" "^0.24.1" -"@jest/source-map@^28.1.2": - version "28.1.2" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-28.1.2.tgz#7fe832b172b497d6663cdff6c13b0a920e139e24" - integrity sha512-cV8Lx3BeStJb8ipPHnqVw/IM2VCMWO3crWZzYodSIkxXnRcXJipCdx1JCK0K5MsJJouZQTH73mzf4vgxRaH9ww== +"@jest/source-map@^29.0.0": + version "29.0.0" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.0.0.tgz#f8d1518298089f8ae624e442bbb6eb870ee7783c" + integrity sha512-nOr+0EM8GiHf34mq2GcJyz/gYFyLQ2INDhAylrZJ9mMWoW21mLBfZa0BUVPPMxVYrLjeiRe2Z7kWXOGnS0TFhQ== dependencies: - "@jridgewell/trace-mapping" "^0.3.13" + "@jridgewell/trace-mapping" "^0.3.15" callsites "^3.0.0" graceful-fs "^4.2.9" -"@jest/test-result@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-28.1.3.tgz#5eae945fd9f4b8fcfce74d239e6f725b6bf076c5" - integrity sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg== +"@jest/test-result@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.0.3.tgz#b03d8ef4c58be84cd5d5d3b24d4b4c8cabbf2746" + integrity sha512-vViVnQjCgTmbhDKEonKJPtcFe9G/CJO4/Np4XwYJah+lF2oI7KKeRp8t1dFvv44wN2NdbDb/qC6pi++Vpp0Dlg== dependencies: - "@jest/console" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/console" "^29.0.3" + "@jest/types" "^29.0.3" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-28.1.3.tgz#9d0c283d906ac599c74bde464bc0d7e6a82886c3" - integrity sha512-NIMPEqqa59MWnDi1kvXXpYbqsfQmSJsIbnd85mdVGkiDfQ9WQQTXOLsvISUfonmnBT+w85WEgneCigEEdHDFxw== +"@jest/test-sequencer@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.0.3.tgz#0681061ad21fb8e293b49c4fdf7e631ca79240ba" + integrity sha512-Hf4+xYSWZdxTNnhDykr8JBs0yBN/nxOXyUQWfotBUqqy0LF9vzcFB0jm/EDNZCx587znLWTIgxcokW7WeZMobQ== dependencies: - "@jest/test-result" "^28.1.3" + "@jest/test-result" "^29.0.3" graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" + jest-haste-map "^29.0.3" slash "^3.0.0" -"@jest/transform@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" - integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== +"@jest/transform@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.0.3.tgz#9eb1fed2072a0354f190569807d1250572fb0970" + integrity sha512-C5ihFTRYaGDbi/xbRQRdbo5ddGtI4VSpmL6AIcZxdhwLbXMa7PcXxxqyI91vGOFHnn5aVM3WYnYKCHEqmLVGzg== dependencies: "@babel/core" "^7.11.6" - "@jest/types" "^28.1.3" - "@jridgewell/trace-mapping" "^0.3.13" + "@jest/types" "^29.0.3" + "@jridgewell/trace-mapping" "^0.3.15" babel-plugin-istanbul "^6.1.1" chalk "^4.0.0" convert-source-map "^1.4.0" - fast-json-stable-stringify "^2.0.0" + fast-json-stable-stringify "^2.1.0" graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" - jest-regex-util "^28.0.2" - jest-util "^28.1.3" + jest-haste-map "^29.0.3" + jest-regex-util "^29.0.0" + jest-util "^29.0.3" micromatch "^4.0.4" pirates "^4.0.4" slash "^3.0.0" @@ -1342,12 +1349,12 @@ "@types/yargs" "^16.0.0" chalk "^4.0.0" -"@jest/types@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-28.1.3.tgz#b05de80996ff12512bc5ceb1d208285a7d11748b" - integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== +"@jest/types@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.0.3.tgz#0be78fdddb1a35aeb2041074e55b860561c8ef63" + integrity sha512-coBJmOQvurXjN1Hh5PzF7cmsod0zLIOXpP8KD161mqNlroMhLcwpODiEzi7ZsRl5Z/AIuxpeNm8DCl43F4kz8A== dependencies: - "@jest/schemas" "^28.1.3" + "@jest/schemas" "^29.0.0" "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^3.0.0" "@types/node" "*" @@ -1394,7 +1401,7 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.9": +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.15", "@jridgewell/trace-mapping@^0.3.9": version "0.3.15" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz#aba35c48a38d3fd84b37e66c9c0423f9744f9774" integrity sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g== @@ -1530,9 +1537,9 @@ config-chain "^1.1.11" "@sinclair/typebox@^0.24.1": - version "0.24.34" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.34.tgz#35b799cf98a203d1940c8ce06688f9a09fbc0f50" - integrity sha512-x3ejWKw7rpy30Bvm6U0AQMOHdjqe2E3YJrBHlTxH0KFsp77bBa+MH324nJxtXZFpnTy/JW2h5HPYVm0vG2WPnw== + version "0.24.41" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.41.tgz#45470b8bae32a28f1e0501066d0bacbd8b772804" + integrity sha512-TJCgQurls4FipFvHeC+gfAzb+GGstL0TDwYJKQVtTeSvJIznWzP7g3bAd5gEBlr8+bIxqnWS9VGVWREDhmE8jA== "@sindresorhus/is@^5.2.0": version "5.3.0" @@ -1723,9 +1730,9 @@ integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== "@types/aws-lambda@^8.10.102", "@types/aws-lambda@^8.10.92": - version "8.10.102" - resolved "https://registry.yarnpkg.com/@types/aws-lambda/-/aws-lambda-8.10.102.tgz#d2402224ec30cdddfb669005c25b6ee01fd6f5be" - integrity sha512-BT05v46n9KtSHa9SgGuOvm49eSruJ9utD8iNXpdpuUVYk8wOcqmm1LEzpNRkrXxD0CULc38sdLpk6q3Wa2WOwg== + version "8.10.103" + resolved "https://registry.yarnpkg.com/@types/aws-lambda/-/aws-lambda-8.10.103.tgz#9f0d748036a206ebe4a3eb19febc53b52ee36352" + integrity sha512-mYWsrM5YPmnyJru7kMDX8RYSc486sDqVOP1kUdotthD3YjJ57iTBN3N7MMtL1qdVoPW2YmCnNnWscyidmPe6Gw== "@types/babel__core@^7.1.14": version "7.1.19" @@ -1808,13 +1815,13 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@^28.1.8": - version "28.1.8" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-28.1.8.tgz#6936409f3c9724ea431efd412ea0238a0f03b09b" - integrity sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw== +"@types/jest@^29.0.3": + version "29.0.3" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.0.3.tgz#b61a5ed100850686b8d3c5e28e3a1926b2001b59" + integrity sha512-F6ukyCTwbfsEX5F2YmVYmM5TcTHy1q9P5rWlRbrk56KyMh3v9xRGUO3aa8+SkvMi0SHXtASJv1283enXimC0Og== dependencies: - expect "^28.0.0" - pretty-format "^28.0.0" + expect "^29.0.0" + pretty-format "^29.0.0" "@types/json-schema@^7.0.9": version "7.0.11" @@ -1844,9 +1851,9 @@ integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== "@types/node@*": - version "18.7.14" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.14.tgz#0fe081752a3333392d00586d815485a17c2cf3c9" - integrity sha512-6bbDaETVi8oyIARulOE9qF1/Qdi/23z6emrUh0fNJRUmjznqrixD4MpGDdgOFk5Xb0m2H6Xu42JGdvAxaJR/wA== + version "18.7.17" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.17.tgz#52438111ea98f77475470fc62d79b9eb96bb2c92" + integrity sha512-0UyfUnt02zIuqp7yC8RYtDkp/vo8bFaQ13KkSEvUAohPOAlnVNbj5Fi3fgPSuwzakS+EvvnnZ4x9y7i6ASaSPQ== "@types/node@^10.17.60": version "10.17.60" @@ -1854,9 +1861,9 @@ integrity sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw== "@types/node@^14": - version "14.18.26" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.26.tgz#239e19f8b4ea1a9eb710528061c1d733dc561996" - integrity sha512-0b+utRBSYj8L7XAp0d+DX7lI4cSmowNaaTkk6/1SKzbKkG+doLuPusB9EOvzLJ8ahJSk03bTLIL6cWaEd4dBKA== + version "14.18.28" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.28.tgz#ddb82da2fff476a8e827e8773c84c19d9c235278" + integrity sha512-CK2fnrQlIgKlCV3N2kM+Gznb5USlwA1KFX3rJVHmgVk6NJxFPuQ86pAcvKnu37IA4BGlSRz7sEE1lHL1aLZ/eQ== "@types/normalize-package-data@^2.4.0": version "2.4.1" @@ -1868,7 +1875,7 @@ resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.0.tgz#ea03e9f0376a4446f44797ca19d9c46c36e352dc" integrity sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A== -"@types/responselike@*", "@types/responselike@^1.0.0": +"@types/responselike@*", "@types/responselike@1.0.0", "@types/responselike@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== @@ -1905,13 +1912,13 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^5": - version "5.36.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.36.1.tgz#471f64dc53600025e470dad2ca4a9f2864139019" - integrity sha512-iC40UK8q1tMepSDwiLbTbMXKDxzNy+4TfPWgIL661Ym0sD42vRcQU93IsZIrmi+x292DBr60UI/gSwfdVYexCA== + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.37.0.tgz#5ccdd5d9004120f28fc6e717fb4b5c9bddcfbc04" + integrity sha512-Fde6W0IafXktz1UlnhGkrrmnnGpAo1kyX7dnyHHVrmwJOn72Oqm3eYtddrpOwwel2W8PAK9F3pIL5S+lfoM0og== dependencies: - "@typescript-eslint/scope-manager" "5.36.1" - "@typescript-eslint/type-utils" "5.36.1" - "@typescript-eslint/utils" "5.36.1" + "@typescript-eslint/scope-manager" "5.37.0" + "@typescript-eslint/type-utils" "5.37.0" + "@typescript-eslint/utils" "5.37.0" debug "^4.3.4" functional-red-black-tree "^1.0.1" ignore "^5.2.0" @@ -1920,69 +1927,69 @@ tsutils "^3.21.0" "@typescript-eslint/parser@^5": - version "5.36.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.36.1.tgz#931c22c7bacefd17e29734628cdec8b2acdcf1ce" - integrity sha512-/IsgNGOkBi7CuDfUbwt1eOqUXF9WGVBW9dwEe1pi+L32XrTsZIgmDFIi2RxjzsvB/8i+MIf5JIoTEH8LOZ368A== + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.37.0.tgz#c382077973f3a4ede7453fb14cadcad3970cbf3b" + integrity sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw== dependencies: - "@typescript-eslint/scope-manager" "5.36.1" - "@typescript-eslint/types" "5.36.1" - "@typescript-eslint/typescript-estree" "5.36.1" + "@typescript-eslint/scope-manager" "5.37.0" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/typescript-estree" "5.37.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.36.1": - version "5.36.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.36.1.tgz#23c49b7ddbcffbe09082e6694c2524950766513f" - integrity sha512-pGC2SH3/tXdu9IH3ItoqciD3f3RRGCh7hb9zPdN2Drsr341zgd6VbhP5OHQO/reUqihNltfPpMpTNihFMarP2w== +"@typescript-eslint/scope-manager@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.37.0.tgz#044980e4f1516a774a418dafe701a483a6c9f9ca" + integrity sha512-F67MqrmSXGd/eZnujjtkPgBQzgespu/iCZ+54Ok9X5tALb9L2v3G+QBSoWkXG0p3lcTJsL+iXz5eLUEdSiJU9Q== dependencies: - "@typescript-eslint/types" "5.36.1" - "@typescript-eslint/visitor-keys" "5.36.1" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/visitor-keys" "5.37.0" -"@typescript-eslint/type-utils@5.36.1": - version "5.36.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.36.1.tgz#016fc2bff6679f54c0b2df848a493f0ca3d4f625" - integrity sha512-xfZhfmoQT6m3lmlqDvDzv9TiCYdw22cdj06xY0obSznBsT///GK5IEZQdGliXpAOaRL34o8phEvXzEo/VJx13Q== +"@typescript-eslint/type-utils@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.37.0.tgz#43ed2f567ada49d7e33a6e4b6f9babd060445fe5" + integrity sha512-BSx/O0Z0SXOF5tY0bNTBcDEKz2Ec20GVYvq/H/XNKiUorUFilH7NPbFUuiiyzWaSdN3PA8JV0OvYx0gH/5aFAQ== dependencies: - "@typescript-eslint/typescript-estree" "5.36.1" - "@typescript-eslint/utils" "5.36.1" + "@typescript-eslint/typescript-estree" "5.37.0" + "@typescript-eslint/utils" "5.37.0" debug "^4.3.4" tsutils "^3.21.0" -"@typescript-eslint/types@5.36.1": - version "5.36.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.36.1.tgz#1cf0e28aed1cb3ee676917966eb23c2f8334ce2c" - integrity sha512-jd93ShpsIk1KgBTx9E+hCSEuLCUFwi9V/urhjOWnOaksGZFbTOxAT47OH2d4NLJnLhkVD+wDbB48BuaycZPLBg== +"@typescript-eslint/types@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.37.0.tgz#09e4870a5f3af7af3f84e08d792644a87d232261" + integrity sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA== -"@typescript-eslint/typescript-estree@5.36.1": - version "5.36.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.36.1.tgz#b857f38d6200f7f3f4c65cd0a5afd5ae723f2adb" - integrity sha512-ih7V52zvHdiX6WcPjsOdmADhYMDN15SylWRZrT2OMy80wzKbc79n8wFW0xpWpU0x3VpBz/oDgTm2xwDAnFTl+g== +"@typescript-eslint/typescript-estree@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.37.0.tgz#956dcf5c98363bcb97bdd5463a0a86072ff79355" + integrity sha512-JkFoFIt/cx59iqEDSgIGnQpCTRv96MQnXCYvJi7QhBC24uyuzbD8wVbajMB1b9x4I0octYFJ3OwjAwNqk1AjDA== dependencies: - "@typescript-eslint/types" "5.36.1" - "@typescript-eslint/visitor-keys" "5.36.1" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/visitor-keys" "5.37.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/utils@5.36.1": - version "5.36.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.36.1.tgz#136d5208cc7a3314b11c646957f8f0b5c01e07ad" - integrity sha512-lNj4FtTiXm5c+u0pUehozaUWhh7UYKnwryku0nxJlYUEWetyG92uw2pr+2Iy4M/u0ONMKzfrx7AsGBTCzORmIg== +"@typescript-eslint/utils@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.37.0.tgz#7784cb8e91390c4f90ccaffd24a0cf9874df81b2" + integrity sha512-jUEJoQrWbZhmikbcWSMDuUSxEE7ID2W/QCV/uz10WtQqfOuKZUqFGjqLJ+qhDd17rjgp+QJPqTdPIBWwoob2NQ== dependencies: "@types/json-schema" "^7.0.9" - "@typescript-eslint/scope-manager" "5.36.1" - "@typescript-eslint/types" "5.36.1" - "@typescript-eslint/typescript-estree" "5.36.1" + "@typescript-eslint/scope-manager" "5.37.0" + "@typescript-eslint/types" "5.37.0" + "@typescript-eslint/typescript-estree" "5.37.0" eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/visitor-keys@5.36.1": - version "5.36.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.36.1.tgz#7731175312d65738e501780f923896d200ad1615" - integrity sha512-ojB9aRyRFzVMN3b5joSYni6FAS10BBSCAfKJhjJAV08t/a95aM6tAhz+O1jF+EtgxktuSO3wJysp2R+Def/IWQ== +"@typescript-eslint/visitor-keys@5.37.0": + version "5.37.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.37.0.tgz#7b72dd343295ea11e89b624995abc7103c554eee" + integrity sha512-Hp7rT4cENBPIzMwrlehLW/28EVCOcE9U1Z1BQTc8EA8v5qpr7GRGuG+U58V5tTY48zvUOA3KHvw3rA8tY9fbdA== dependencies: - "@typescript-eslint/types" "5.36.1" + "@typescript-eslint/types" "5.37.0" eslint-visitor-keys "^3.3.0" JSONStream@^1.0.4: @@ -2157,9 +2164,9 @@ ansi-styles@^5.0.0: integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== ansi-styles@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.1.0.tgz#87313c102b8118abd57371afab34618bf7350ed3" - integrity sha512-VbqNsoz55SYGczauuup0MFUyXNQviSpFTj1RQtFzmQLk18qbVSpTFFGMT293rmDaQuKCT6InmbuEyUne4mTuxQ== + version "6.1.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.1.1.tgz#63cd61c72283a71cb30bd881dbb60adada74bc70" + integrity sha512-qDOv24WjnYuL+wbwHdlsYZFy+cgPtrYw0Tn7GLORicQp9BkQLzrgI3Pm4VyR9ERZ41YTn7KlMPuL1n05WdZvmg== anymatch@^3.0.3: version "3.1.2" @@ -2345,9 +2352,9 @@ aws-cdk@2.28.1: fsevents "2.3.2" aws-sdk@^2, aws-sdk@^2.1079.0, aws-sdk@^2.1093.0, aws-sdk@^2.1113.0: - version "2.1209.0" - resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1209.0.tgz#fd7b9efd4047ab6b45bba2c890529d4c296a4b85" - integrity sha512-m4Dd0HtyKeKBjwzP9rhe+NcmsRKR0wW+QXfpepu6vgXYhmcJuOB9TLUoeB7jiNDPimmwU+KxtL6eonRfeFhANw== + version "2.1214.0" + resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1214.0.tgz#6a57945b5bc9db79f8ee5ed99128a06110a88f83" + integrity sha512-50WxqYgEDB5UxwPJ0IDFWXe3ipAHhHmqfRnMNaQaZhb2aJpprbT7c0zic8AH9E1xJ9s+6QkhYrwQf/vXEHnLwg== dependencies: buffer "4.9.2" events "1.1.1" @@ -2368,15 +2375,15 @@ axios@^0.27.2: follow-redirects "^1.14.9" form-data "^4.0.0" -babel-jest@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-28.1.3.tgz#c1187258197c099072156a0a121c11ee1e3917d5" - integrity sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q== +babel-jest@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.0.3.tgz#64e156a47a77588db6a669a88dedff27ed6e260f" + integrity sha512-ApPyHSOhS/sVzwUOQIWJmdvDhBsMG01HX9z7ogtkp1TToHGGUWFlnXJUIzCgKPSfiYLn3ibipCYzsKSURHEwLg== dependencies: - "@jest/transform" "^28.1.3" + "@jest/transform" "^29.0.3" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^28.1.3" + babel-preset-jest "^29.0.2" chalk "^4.0.0" graceful-fs "^4.2.9" slash "^3.0.0" @@ -2392,10 +2399,10 @@ babel-plugin-istanbul@^6.1.1: istanbul-lib-instrument "^5.0.4" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-28.1.3.tgz#1952c4d0ea50f2d6d794353762278d1d8cca3fbe" - integrity sha512-Ys3tUKAmfnkRUpPdpa98eYrAR0nV+sSFUZZEGuQ2EbFd1y4SOLtD5QDNHAq+bb9a+bbXvYQC4b+ID/THIMcU6Q== +babel-plugin-jest-hoist@^29.0.2: + version "29.0.2" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.0.2.tgz#ae61483a829a021b146c016c6ad39b8bcc37c2c8" + integrity sha512-eBr2ynAEFjcebVvu8Ktx580BD1QKCrBG1XwEUTXJe285p9HA/4hOhfWCFRQhTKSyBV0VzjhG7H91Eifz9s29hg== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" @@ -2420,12 +2427,12 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-28.1.3.tgz#5dfc20b99abed5db994406c2b9ab94c73aaa419d" - integrity sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A== +babel-preset-jest@^29.0.2: + version "29.0.2" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.0.2.tgz#e14a7124e22b161551818d89e5bdcfb3b2b0eac7" + integrity sha512-BeVXp7rH5TK96ofyEnHjznjLMQ2nAeDJ+QzxKnHAAMs0RgrQsCywjAN8m4mOm5Di0pxU//3AoEeJJrerMH5UeA== dependencies: - babel-plugin-jest-hoist "^28.1.3" + babel-plugin-jest-hoist "^29.0.2" babel-preset-current-node-syntax "^1.0.0" balanced-match@^1.0.0: @@ -2649,9 +2656,9 @@ camelcase@^7.0.0: integrity sha512-JToIvOmz6nhGsUhAYScbo2d6Py5wojjNfoxoc2mEVLUdJ70gJK2gnd+ABY1Tc3sVMyK7QDPtN0T/XdlCQWITyQ== caniuse-lite@^1.0.30001370: - version "1.0.30001388" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001388.tgz#88e01f4591cbd81f9f665f3f078c66b509fbe55d" - integrity sha512-znVbq4OUjqgLxMxoNX2ZeeLR0d7lcDiE5uJ4eUiWdml1J1EkxbnQq6opT9jb9SMfJxB0XA16/ziHwni4u1I3GQ== + version "1.0.30001397" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001397.tgz#010d9d56e3b8abcd8df261d0a94b22426271a15f" + integrity sha512-SW9N2TbCdLf0eiNDRrrQXx2sOkaakNZbCjgNpPyMJJbiOrU5QzMIrXOVMRM1myBXTD5iTkdrtU/EguCrBocHlA== case@1.6.3, case@^1.6.3: version "1.6.3" @@ -2709,9 +2716,9 @@ chownr@^2.0.0: integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== ci-info@^3.2.0: - version "3.3.2" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.2.tgz#6d2967ffa407466481c6c90b6e16b3098f080128" - integrity sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg== + version "3.4.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.4.0.tgz#b28484fd436cbc267900364f096c9dc185efb251" + integrity sha512-t5QdPT5jq3o262DOQ8zA6E1tlH2upmUc4Hlvrbx1pGYJuiiHl7O7rvVNI+l8HTVhd/q3Qc9vqimkNk5yiXsAug== cjs-module-lexer@^1.0.0: version "1.2.2" @@ -3277,10 +3284,10 @@ dezalgo@^1.0.0: asap "^2.0.0" wrappy "1" -diff-sequences@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-28.1.1.tgz#9989dc731266dc2903457a70e996f3a041913ac6" - integrity sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw== +diff-sequences@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.0.0.tgz#bae49972ef3933556bcb0800b72e8579d19d9e4f" + integrity sha512-7Qe/zd1wxSDL4D/X/FPjOMB+ZMDt71W94KYaq05I2l0oQqgXgs7s4ftYYmV38gBSrPz2vcygxfs1xn0FT+rKNA== diff@^4.0.1: version "4.0.2" @@ -3356,9 +3363,9 @@ ee-first@1.1.1: integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== electron-to-chromium@^1.4.202: - version "1.4.241" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.241.tgz#5aa03ab94db590d8269f4518157c24b1efad34d6" - integrity sha512-e7Wsh4ilaioBZ5bMm6+F4V5c11dh56/5Jwz7Hl5Tu1J7cnB+Pqx5qIF2iC7HPpfyQMqGSvvLP5bBAIDd2gAtGw== + version "1.4.247" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.247.tgz#cc93859bc5fc521f611656e65ce17eae26a0fd3d" + integrity sha512-FLs6R4FQE+1JHM0hh3sfdxnYjKvJpHZyhQDjc2qFq/xFvmmRt/TATNToZhrcGUFzpF2XjeiuozrA8lI0PZmYYw== emittery@^0.10.2: version "0.10.2" @@ -3731,11 +3738,11 @@ eslint-visitor-keys@^3.3.0: integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== eslint@^8: - version "8.23.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.23.0.tgz#a184918d288820179c6041bb3ddcc99ce6eea040" - integrity sha512-pBG/XOn0MsJcKcTRLr27S5HpzQo4kLr+HjLQIyK4EiCsijDl/TB+h5uEuJU6bQ8Edvwz1XWOjpaP2qgnXGpTcA== + version "8.23.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.23.1.tgz#cfd7b3f7fdd07db8d16b4ac0516a29c8d8dca5dc" + integrity sha512-w7C1IXCc6fNqjpuYd0yPlcTKKmHlHHktRkzmBPZ+7cvNBQuiNjx0xaMTjAJGCafJhQkrFJooREv0CtrVzmHwqg== dependencies: - "@eslint/eslintrc" "^1.3.1" + "@eslint/eslintrc" "^1.3.2" "@humanwhocodes/config-array" "^0.10.4" "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" "@humanwhocodes/module-importer" "^1.0.1" @@ -3754,7 +3761,6 @@ eslint@^8: fast-deep-equal "^3.1.3" file-entry-cache "^6.0.1" find-up "^5.0.0" - functional-red-black-tree "^1.0.1" glob-parent "^6.0.1" globals "^13.15.0" globby "^11.1.0" @@ -3763,6 +3769,7 @@ eslint@^8: import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" + js-sdsl "^4.1.4" js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" @@ -3848,16 +3855,16 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== -expect@^28.0.0, expect@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/expect/-/expect-28.1.3.tgz#90a7c1a124f1824133dd4533cce2d2bdcb6603ec" - integrity sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g== +expect@^29.0.0, expect@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.0.3.tgz#6be65ddb945202f143c4e07c083f4f39f3bd326f" + integrity sha512-t8l5DTws3212VbmPL+tBFXhjRHLmctHB0oQbL8eUc6S7NzZtYUhycrFO9mkxA0ZUC6FAWdNi7JchJSkODtcu1Q== dependencies: - "@jest/expect-utils" "^28.1.3" - jest-get-type "^28.0.2" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" + "@jest/expect-utils" "^29.0.3" + jest-get-type "^29.0.0" + jest-matcher-utils "^29.0.3" + jest-message-util "^29.0.3" + jest-util "^29.0.3" express@^4.17.3: version "4.18.1" @@ -3912,9 +3919,9 @@ fast-diff@^1.1.2: integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== fast-glob@^3.2.5, fast-glob@^3.2.9: - version "3.2.11" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" - integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + version "3.2.12" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -3927,7 +3934,7 @@ fast-json-patch@^3.1.1: resolved "https://registry.yarnpkg.com/fast-json-patch/-/fast-json-patch-3.1.1.tgz#85064ea1b1ebf97a3f7ad01e23f9337e72c66947" integrity sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ== -fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: +fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== @@ -4415,7 +4422,7 @@ globby@^11.0.4, globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" -got@^12.1.0: +got@12.3.1, got@^12.1.0: version "12.3.1" resolved "https://registry.yarnpkg.com/got/-/got-12.3.1.tgz#79d6ebc0cb8358c424165698ddb828be56e74684" integrity sha512-tS6+JMhBh4iXMSXF6KkIsRxmloPln31QHDlcb6Ec3bzxjjFJFr/8aXdpyuLmVc9I4i2HyBHYw1QU5K1ruUdpkw== @@ -4784,9 +4791,9 @@ is-buffer@~1.1.6: integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" - integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== + version "1.2.5" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.5.tgz#6123e0b1fef5d7591514b371bb018204892f1a2b" + integrity sha512-ZIWRujF6MvYGkEuHMYtFRkL2wAtFw89EHfKlXrkPkjQZZRWeh9L1q3SV13NIfHnqxugjLvAOkEHx9mb1zcMnEw== is-ci@^3.0.1: version "3.0.1" @@ -5019,144 +5026,144 @@ iterall@^1.2.2, iterall@^1.3.0: resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.3.0.tgz#afcb08492e2915cbd8a0884eb93a8c94d0d72fea" integrity sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg== -jest-changed-files@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-28.1.3.tgz#d9aeee6792be3686c47cb988a8eaf82ff4238831" - integrity sha512-esaOfUWJXk2nfZt9SPyC8gA1kNfdKLkQWyzsMlqq8msYSlNKfmZxfRgZn4Cd4MGVUF+7v6dBs0d5TOAKa7iIiA== +jest-changed-files@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.0.0.tgz#aa238eae42d9372a413dd9a8dadc91ca1806dce0" + integrity sha512-28/iDMDrUpGoCitTURuDqUzWQoWmOmOKOFST1mi2lwh62X4BFf6khgH3uSuo1e49X/UDjuApAj3w0wLOex4VPQ== dependencies: execa "^5.0.0" p-limit "^3.1.0" -jest-circus@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-28.1.3.tgz#d14bd11cf8ee1a03d69902dc47b6bd4634ee00e4" - integrity sha512-cZ+eS5zc79MBwt+IhQhiEp0OeBddpc1n8MBo1nMB8A7oPMKEO+Sre+wHaLJexQUj9Ya/8NOBY0RESUgYjB6fow== +jest-circus@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.0.3.tgz#90faebc90295291cfc636b27dbd82e3bfb9e7a48" + integrity sha512-QeGzagC6Hw5pP+df1+aoF8+FBSgkPmraC1UdkeunWh0jmrp7wC0Hr6umdUAOELBQmxtKAOMNC3KAdjmCds92Zg== dependencies: - "@jest/environment" "^28.1.3" - "@jest/expect" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/environment" "^29.0.3" + "@jest/expect" "^29.0.3" + "@jest/test-result" "^29.0.3" + "@jest/types" "^29.0.3" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" dedent "^0.7.0" is-generator-fn "^2.0.0" - jest-each "^28.1.3" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-runtime "^28.1.3" - jest-snapshot "^28.1.3" - jest-util "^28.1.3" + jest-each "^29.0.3" + jest-matcher-utils "^29.0.3" + jest-message-util "^29.0.3" + jest-runtime "^29.0.3" + jest-snapshot "^29.0.3" + jest-util "^29.0.3" p-limit "^3.1.0" - pretty-format "^28.1.3" + pretty-format "^29.0.3" slash "^3.0.0" stack-utils "^2.0.3" -jest-cli@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-28.1.3.tgz#558b33c577d06de55087b8448d373b9f654e46b2" - integrity sha512-roY3kvrv57Azn1yPgdTebPAXvdR2xfezaKKYzVxZ6It/5NCxzJym6tUI5P1zkdWhfUYkxEI9uZWcQdaFLo8mJQ== +jest-cli@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.0.3.tgz#fd8f0ef363a7a3d9c53ef62e0651f18eeffa77b9" + integrity sha512-aUy9Gd/Kut1z80eBzG10jAn6BgS3BoBbXyv+uXEqBJ8wnnuZ5RpNfARoskSrTIy1GY4a8f32YGuCMwibtkl9CQ== dependencies: - "@jest/core" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/core" "^29.0.3" + "@jest/test-result" "^29.0.3" + "@jest/types" "^29.0.3" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.9" import-local "^3.0.2" - jest-config "^28.1.3" - jest-util "^28.1.3" - jest-validate "^28.1.3" + jest-config "^29.0.3" + jest-util "^29.0.3" + jest-validate "^29.0.3" prompts "^2.0.1" yargs "^17.3.1" -jest-config@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-28.1.3.tgz#e315e1f73df3cac31447eed8b8740a477392ec60" - integrity sha512-MG3INjByJ0J4AsNBm7T3hsuxKQqFIiRo/AUqb1q9LRKI5UU6Aar9JHbr9Ivn1TVwfUD9KirRoM/T6u8XlcQPHQ== +jest-config@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.0.3.tgz#c2e52a8f5adbd18de79f99532d8332a19e232f13" + integrity sha512-U5qkc82HHVYe3fNu2CRXLN4g761Na26rWKf7CjM8LlZB3In1jadEkZdMwsE37rd9RSPV0NfYaCjHdk/gu3v+Ew== dependencies: "@babel/core" "^7.11.6" - "@jest/test-sequencer" "^28.1.3" - "@jest/types" "^28.1.3" - babel-jest "^28.1.3" + "@jest/test-sequencer" "^29.0.3" + "@jest/types" "^29.0.3" + babel-jest "^29.0.3" chalk "^4.0.0" ci-info "^3.2.0" deepmerge "^4.2.2" glob "^7.1.3" graceful-fs "^4.2.9" - jest-circus "^28.1.3" - jest-environment-node "^28.1.3" - jest-get-type "^28.0.2" - jest-regex-util "^28.0.2" - jest-resolve "^28.1.3" - jest-runner "^28.1.3" - jest-util "^28.1.3" - jest-validate "^28.1.3" + jest-circus "^29.0.3" + jest-environment-node "^29.0.3" + jest-get-type "^29.0.0" + jest-regex-util "^29.0.0" + jest-resolve "^29.0.3" + jest-runner "^29.0.3" + jest-util "^29.0.3" + jest-validate "^29.0.3" micromatch "^4.0.4" parse-json "^5.2.0" - pretty-format "^28.1.3" + pretty-format "^29.0.3" slash "^3.0.0" strip-json-comments "^3.1.1" -jest-diff@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-28.1.3.tgz#948a192d86f4e7a64c5264ad4da4877133d8792f" - integrity sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw== +jest-diff@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.0.3.tgz#41cc02409ad1458ae1bf7684129a3da2856341ac" + integrity sha512-+X/AIF5G/vX9fWK+Db9bi9BQas7M9oBME7egU7psbn4jlszLFCu0dW63UgeE6cs/GANq4fLaT+8sGHQQ0eCUfg== dependencies: chalk "^4.0.0" - diff-sequences "^28.1.1" - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + diff-sequences "^29.0.0" + jest-get-type "^29.0.0" + pretty-format "^29.0.3" -jest-docblock@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-28.1.1.tgz#6f515c3bf841516d82ecd57a62eed9204c2f42a8" - integrity sha512-3wayBVNiOYx0cwAbl9rwm5kKFP8yHH3d/fkEaL02NPTkDojPtheGB7HZSFY4wzX+DxyrvhXz0KSCVksmCknCuA== +jest-docblock@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.0.0.tgz#3151bcc45ed7f5a8af4884dcc049aee699b4ceae" + integrity sha512-s5Kpra/kLzbqu9dEjov30kj1n4tfu3e7Pl8v+f8jOkeWNqM6Ds8jRaJfZow3ducoQUrf2Z4rs2N5S3zXnb83gw== dependencies: detect-newline "^3.0.0" -jest-each@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-28.1.3.tgz#bdd1516edbe2b1f3569cfdad9acd543040028f81" - integrity sha512-arT1z4sg2yABU5uogObVPvSlSMQlDA48owx07BDPAiasW0yYpYHYOo4HHLz9q0BVzDVU4hILFjzJw0So9aCL/g== +jest-each@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.0.3.tgz#7ef3157580b15a609d7ef663dd4fc9b07f4e1299" + integrity sha512-wILhZfESURHHBNvPMJ0lZlYZrvOQJxAo3wNHi+ycr90V7M+uGR9Gh4+4a/BmaZF0XTyZsk4OiYEf3GJN7Ltqzg== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.0.3" chalk "^4.0.0" - jest-get-type "^28.0.2" - jest-util "^28.1.3" - pretty-format "^28.1.3" - -jest-environment-node@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-28.1.3.tgz#7e74fe40eb645b9d56c0c4b70ca4357faa349be5" - integrity sha512-ugP6XOhEpjAEhGYvp5Xj989ns5cB1K6ZdjBYuS30umT4CQEETaxSiPcZ/E1kFktX4GkrcM4qu07IIlDYX1gp+A== - dependencies: - "@jest/environment" "^28.1.3" - "@jest/fake-timers" "^28.1.3" - "@jest/types" "^28.1.3" + jest-get-type "^29.0.0" + jest-util "^29.0.3" + pretty-format "^29.0.3" + +jest-environment-node@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.0.3.tgz#293804b1e0fa5f0e354dacbe510655caa478a3b2" + integrity sha512-cdZqRCnmIlTXC+9vtvmfiY/40Cj6s2T0czXuq1whvQdmpzAnj4sbqVYuZ4zFHk766xTTJ+Ij3uUqkk8KCfXoyg== + dependencies: + "@jest/environment" "^29.0.3" + "@jest/fake-timers" "^29.0.3" + "@jest/types" "^29.0.3" "@types/node" "*" - jest-mock "^28.1.3" - jest-util "^28.1.3" + jest-mock "^29.0.3" + jest-util "^29.0.3" -jest-get-type@^28.0.2: - version "28.0.2" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-28.0.2.tgz#34622e628e4fdcd793d46db8a242227901fcf203" - integrity sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA== +jest-get-type@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.0.0.tgz#843f6c50a1b778f7325df1129a0fd7aa713aef80" + integrity sha512-83X19z/HuLKYXYHskZlBAShO7UfLFXu/vWajw9ZNJASN32li8yHMaVGAQqxFW1RCFOkB7cubaL6FaJVQqqJLSw== -jest-haste-map@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.3.tgz#abd5451129a38d9841049644f34b034308944e2b" - integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== +jest-haste-map@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.0.3.tgz#d7f3f7180f558d760eacc5184aac5a67f20ef939" + integrity sha512-uMqR99+GuBHo0RjRhOE4iA6LmsxEwRdgiIAQgMU/wdT2XebsLDz5obIwLZm/Psj+GwSEQhw9AfAVKGYbh2G55A== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.0.3" "@types/graceful-fs" "^4.1.3" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.9" - jest-regex-util "^28.0.2" - jest-util "^28.1.3" - jest-worker "^28.1.3" + jest-regex-util "^29.0.0" + jest-util "^29.0.3" + jest-worker "^29.0.3" micromatch "^4.0.4" walker "^1.0.8" optionalDependencies: @@ -5172,45 +5179,45 @@ jest-junit@^13: uuid "^8.3.2" xml "^1.0.1" -jest-leak-detector@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-28.1.3.tgz#a6685d9b074be99e3adee816ce84fd30795e654d" - integrity sha512-WFVJhnQsiKtDEo5lG2mM0v40QWnBM+zMdHHyJs8AWZ7J0QZJS59MsyKeJHWhpBZBH32S48FOVvGyOFT1h0DlqA== +jest-leak-detector@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.0.3.tgz#e85cf3391106a7a250850b6766b508bfe9c7bc6f" + integrity sha512-YfW/G63dAuiuQ3QmQlh8hnqLDe25WFY3eQhuc/Ev1AGmkw5zREblTh7TCSKLoheyggu6G9gxO2hY8p9o6xbaRQ== dependencies: - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + jest-get-type "^29.0.0" + pretty-format "^29.0.3" -jest-matcher-utils@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-28.1.3.tgz#5a77f1c129dd5ba3b4d7fc20728806c78893146e" - integrity sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw== +jest-matcher-utils@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.0.3.tgz#b8305fd3f9e27cdbc210b21fc7dbba92d4e54560" + integrity sha512-RsR1+cZ6p1hDV4GSCQTg+9qjeotQCgkaleIKLK7dm+U4V/H2bWedU3RAtLm8+mANzZ7eDV33dMar4pejd7047w== dependencies: chalk "^4.0.0" - jest-diff "^28.1.3" - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + jest-diff "^29.0.3" + jest-get-type "^29.0.0" + pretty-format "^29.0.3" -jest-message-util@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-28.1.3.tgz#232def7f2e333f1eecc90649b5b94b0055e7c43d" - integrity sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g== +jest-message-util@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.0.3.tgz#f0254e1ffad21890c78355726202cc91d0a40ea8" + integrity sha512-7T8JiUTtDfppojosORAflABfLsLKMLkBHSWkjNQrjIltGoDzNGn7wEPOSfjqYAGTYME65esQzMJxGDjuLBKdOg== dependencies: "@babel/code-frame" "^7.12.13" - "@jest/types" "^28.1.3" + "@jest/types" "^29.0.3" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.9" micromatch "^4.0.4" - pretty-format "^28.1.3" + pretty-format "^29.0.3" slash "^3.0.0" stack-utils "^2.0.3" -jest-mock@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-28.1.3.tgz#d4e9b1fc838bea595c77ab73672ebf513ab249da" - integrity sha512-o3J2jr6dMMWYVH4Lh/NKmDXdosrsJgi4AviS8oXLujcjpCMBb1FMsblDnOXKZKfSiHLxYub1eS0IHuRXsio9eA== +jest-mock@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.0.3.tgz#4f0093f6a9cb2ffdb9c44a07a3912f0c098c8de9" + integrity sha512-ort9pYowltbcrCVR43wdlqfAiFJXBx8l4uJDsD8U72LgBcetvEp+Qxj1W9ZYgMRoeAo+ov5cnAGF2B6+Oth+ww== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.0.3" "@types/node" "*" jest-pnp-resolver@^1.2.2: @@ -5218,174 +5225,175 @@ jest-pnp-resolver@^1.2.2: resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== -jest-regex-util@^28.0.2: - version "28.0.2" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead" - integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== +jest-regex-util@^29.0.0: + version "29.0.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.0.0.tgz#b442987f688289df8eb6c16fa8df488b4cd007de" + integrity sha512-BV7VW7Sy0fInHWN93MMPtlClweYv2qrSCwfeFWmpribGZtQPWNvRSq9XOVgOEjU1iBGRKXUZil0o2AH7Iy9Lug== -jest-resolve-dependencies@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.3.tgz#8c65d7583460df7275c6ea2791901fa975c1fe66" - integrity sha512-qa0QO2Q0XzQoNPouMbCc7Bvtsem8eQgVPNkwn9LnS+R2n8DaVDPL/U1gngC0LTl1RYXJU0uJa2BMC2DbTfFrHA== +jest-resolve-dependencies@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.0.3.tgz#f23a54295efc6374b86b198cf8efed5606d6b762" + integrity sha512-KzuBnXqNvbuCdoJpv8EanbIGObk7vUBNt/PwQPPx2aMhlv/jaXpUJsqWYRpP/0a50faMBY7WFFP8S3/CCzwfDw== dependencies: - jest-regex-util "^28.0.2" - jest-snapshot "^28.1.3" + jest-regex-util "^29.0.0" + jest-snapshot "^29.0.3" -jest-resolve@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-28.1.3.tgz#cfb36100341ddbb061ec781426b3c31eb51aa0a8" - integrity sha512-Z1W3tTjE6QaNI90qo/BJpfnvpxtaFTFw5CDgwpyE/Kz8U/06N1Hjf4ia9quUhCh39qIGWF1ZuxFiBiJQwSEYKQ== +jest-resolve@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.0.3.tgz#329a3431e3b9eb6629a2cd483e9bed95b26827b9" + integrity sha512-toVkia85Y/BPAjJasTC9zIPY6MmVXQPtrCk8SmiheC4MwVFE/CMFlOtMN6jrwPMC6TtNh8+sTMllasFeu1wMPg== dependencies: chalk "^4.0.0" graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" + jest-haste-map "^29.0.3" jest-pnp-resolver "^1.2.2" - jest-util "^28.1.3" - jest-validate "^28.1.3" + jest-util "^29.0.3" + jest-validate "^29.0.3" resolve "^1.20.0" resolve.exports "^1.1.0" slash "^3.0.0" -jest-runner@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-28.1.3.tgz#5eee25febd730b4713a2cdfd76bdd5557840f9a1" - integrity sha512-GkMw4D/0USd62OVO0oEgjn23TM+YJa2U2Wu5zz9xsQB1MxWKDOlrnykPxnMsN0tnJllfLPinHTka61u0QhaxBA== +jest-runner@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.0.3.tgz#2e47fe1e8777aea9b8970f37e8f83630b508fb87" + integrity sha512-Usu6VlTOZlCZoNuh3b2Tv/yzDpKqtiNAetG9t3kJuHfUyVMNW7ipCCJOUojzKkjPoaN7Bl1f7Buu6PE0sGpQxw== dependencies: - "@jest/console" "^28.1.3" - "@jest/environment" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/console" "^29.0.3" + "@jest/environment" "^29.0.3" + "@jest/test-result" "^29.0.3" + "@jest/transform" "^29.0.3" + "@jest/types" "^29.0.3" "@types/node" "*" chalk "^4.0.0" emittery "^0.10.2" graceful-fs "^4.2.9" - jest-docblock "^28.1.1" - jest-environment-node "^28.1.3" - jest-haste-map "^28.1.3" - jest-leak-detector "^28.1.3" - jest-message-util "^28.1.3" - jest-resolve "^28.1.3" - jest-runtime "^28.1.3" - jest-util "^28.1.3" - jest-watcher "^28.1.3" - jest-worker "^28.1.3" + jest-docblock "^29.0.0" + jest-environment-node "^29.0.3" + jest-haste-map "^29.0.3" + jest-leak-detector "^29.0.3" + jest-message-util "^29.0.3" + jest-resolve "^29.0.3" + jest-runtime "^29.0.3" + jest-util "^29.0.3" + jest-watcher "^29.0.3" + jest-worker "^29.0.3" p-limit "^3.1.0" source-map-support "0.5.13" -jest-runtime@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-28.1.3.tgz#a57643458235aa53e8ec7821949e728960d0605f" - integrity sha512-NU+881ScBQQLc1JHG5eJGU7Ui3kLKrmwCPPtYsJtBykixrM2OhVQlpMmFWJjMyDfdkGgBMNjXCGB/ebzsgNGQw== - dependencies: - "@jest/environment" "^28.1.3" - "@jest/fake-timers" "^28.1.3" - "@jest/globals" "^28.1.3" - "@jest/source-map" "^28.1.2" - "@jest/test-result" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" +jest-runtime@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.0.3.tgz#5a823ec5902257519556a4e5a71a868e8fd788aa" + integrity sha512-12gZXRQ7ozEeEHKTY45a+YLqzNDR/x4c//X6AqwKwKJPpWM8FY4vwn4VQJOcLRS3Nd1fWwgP7LU4SoynhuUMHQ== + dependencies: + "@jest/environment" "^29.0.3" + "@jest/fake-timers" "^29.0.3" + "@jest/globals" "^29.0.3" + "@jest/source-map" "^29.0.0" + "@jest/test-result" "^29.0.3" + "@jest/transform" "^29.0.3" + "@jest/types" "^29.0.3" + "@types/node" "*" chalk "^4.0.0" cjs-module-lexer "^1.0.0" collect-v8-coverage "^1.0.0" - execa "^5.0.0" glob "^7.1.3" graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" - jest-message-util "^28.1.3" - jest-mock "^28.1.3" - jest-regex-util "^28.0.2" - jest-resolve "^28.1.3" - jest-snapshot "^28.1.3" - jest-util "^28.1.3" + jest-haste-map "^29.0.3" + jest-message-util "^29.0.3" + jest-mock "^29.0.3" + jest-regex-util "^29.0.0" + jest-resolve "^29.0.3" + jest-snapshot "^29.0.3" + jest-util "^29.0.3" slash "^3.0.0" strip-bom "^4.0.0" -jest-snapshot@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-28.1.3.tgz#17467b3ab8ddb81e2f605db05583d69388fc0668" - integrity sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg== +jest-snapshot@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.0.3.tgz#0a024706986a915a6eefae74d7343069d2fc8eef" + integrity sha512-52q6JChm04U3deq+mkQ7R/7uy7YyfVIrebMi6ZkBoDJ85yEjm/sJwdr1P0LOIEHmpyLlXrxy3QP0Zf5J2kj0ew== dependencies: "@babel/core" "^7.11.6" "@babel/generator" "^7.7.2" + "@babel/plugin-syntax-jsx" "^7.7.2" "@babel/plugin-syntax-typescript" "^7.7.2" "@babel/traverse" "^7.7.2" "@babel/types" "^7.3.3" - "@jest/expect-utils" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/expect-utils" "^29.0.3" + "@jest/transform" "^29.0.3" + "@jest/types" "^29.0.3" "@types/babel__traverse" "^7.0.6" "@types/prettier" "^2.1.5" babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^28.1.3" + expect "^29.0.3" graceful-fs "^4.2.9" - jest-diff "^28.1.3" - jest-get-type "^28.0.2" - jest-haste-map "^28.1.3" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" + jest-diff "^29.0.3" + jest-get-type "^29.0.0" + jest-haste-map "^29.0.3" + jest-matcher-utils "^29.0.3" + jest-message-util "^29.0.3" + jest-util "^29.0.3" natural-compare "^1.4.0" - pretty-format "^28.1.3" + pretty-format "^29.0.3" semver "^7.3.5" -jest-util@^28.0.0, jest-util@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-28.1.3.tgz#f4f932aa0074f0679943220ff9cbba7e497028b0" - integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== +jest-util@^29.0.0, jest-util@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.0.3.tgz#06d1d77f9a1bea380f121897d78695902959fbc0" + integrity sha512-Q0xaG3YRG8QiTC4R6fHjHQPaPpz9pJBEi0AeOE4mQh/FuWOijFjGXMMOfQEaU9i3z76cNR7FobZZUQnL6IyfdQ== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.0.3" "@types/node" "*" chalk "^4.0.0" ci-info "^3.2.0" graceful-fs "^4.2.9" picomatch "^2.2.3" -jest-validate@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-28.1.3.tgz#e322267fd5e7c64cea4629612c357bbda96229df" - integrity sha512-SZbOGBWEsaTxBGCOpsRWlXlvNkvTkY0XxRfh7zYmvd8uL5Qzyg0CHAXiXKROflh801quA6+/DsT4ODDthOC/OA== +jest-validate@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.0.3.tgz#f9521581d7344685428afa0a4d110e9c519aeeb6" + integrity sha512-OebiqqT6lK8cbMPtrSoS3aZP4juID762lZvpf1u+smZnwTEBCBInan0GAIIhv36MxGaJvmq5uJm7dl5gVt+Zrw== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.0.3" camelcase "^6.2.0" chalk "^4.0.0" - jest-get-type "^28.0.2" + jest-get-type "^29.0.0" leven "^3.1.0" - pretty-format "^28.1.3" + pretty-format "^29.0.3" -jest-watcher@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-28.1.3.tgz#c6023a59ba2255e3b4c57179fc94164b3e73abd4" - integrity sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g== +jest-watcher@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.0.3.tgz#8e220d1cc4f8029875e82015d084cab20f33d57f" + integrity sha512-tQX9lU91A+9tyUQKUMp0Ns8xAcdhC9fo73eqA3LFxP2bSgiF49TNcc+vf3qgGYYK9qRjFpXW9+4RgF/mbxyOOw== dependencies: - "@jest/test-result" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/test-result" "^29.0.3" + "@jest/types" "^29.0.3" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" emittery "^0.10.2" - jest-util "^28.1.3" + jest-util "^29.0.3" string-length "^4.0.1" -jest-worker@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-28.1.3.tgz#7e3c4ce3fa23d1bb6accb169e7f396f98ed4bb98" - integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== +jest-worker@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.0.3.tgz#c2ba0aa7e41eec9eb0be8e8a322ae6518df72647" + integrity sha512-Tl/YWUugQOjoTYwjKdfJWkSOfhufJHO5LhXTSZC3TRoQKO+fuXnZAdoXXBlpLXKGODBL3OvdUasfDD4PcMe6ng== dependencies: "@types/node" "*" merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest/-/jest-28.1.3.tgz#e9c6a7eecdebe3548ca2b18894a50f45b36dfc6b" - integrity sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA== +jest@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/jest/-/jest-29.0.3.tgz#5227a0596d30791b2649eea347e4aa97f734944d" + integrity sha512-ElgUtJBLgXM1E8L6K1RW1T96R897YY/3lRYqq9uVcPWtP2AAl/nQ16IYDh/FzQOOQ12VEuLdcPU83mbhG2C3PQ== dependencies: - "@jest/core" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/core" "^29.0.3" + "@jest/types" "^29.0.3" import-local "^3.0.2" - jest-cli "^28.1.3" + jest-cli "^29.0.3" jju@^1.1.0: version "1.4.0" @@ -5397,6 +5405,11 @@ jmespath@0.16.0: resolved "https://registry.yarnpkg.com/jmespath/-/jmespath-0.16.0.tgz#b15b0a85dfd4d930d43e69ed605943c802785076" integrity sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw== +js-sdsl@^4.1.4: + version "4.1.4" + resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.1.4.tgz#78793c90f80e8430b7d8dc94515b6c77d98a26a6" + integrity sha512-Y2/yD55y5jteOAmY50JbUZYwk3CP3wnLPEZnlR1w9oKhITrBEtAxwuWKebFf8hMrPMgbYwFoWK/lH2sBkErELw== + js-string-escape@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/js-string-escape/-/js-string-escape-1.0.1.tgz#e2625badbc0d67c7533e9edc1068c587ae4137ef" @@ -6641,13 +6654,12 @@ prettier@^2.7.1: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== -pretty-format@^28.0.0, pretty-format@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-28.1.3.tgz#c9fba8cedf99ce50963a11b27d982a9ae90970d5" - integrity sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q== +pretty-format@^29.0.0, pretty-format@^29.0.3: + version "29.0.3" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.0.3.tgz#23d5f8cabc9cbf209a77d49409d093d61166a811" + integrity sha512-cHudsvQr1K5vNVLbvYF/nv3Qy/F/BcEKxGuIeMiVMRHxPOO1RxXooP8g/ZrwAp7Dx+KdMZoOc7NxLHhMrP2f9Q== dependencies: - "@jest/schemas" "^28.1.3" - ansi-regex "^5.0.1" + "@jest/schemas" "^29.0.0" ansi-styles "^5.0.0" react-is "^18.0.0" @@ -6672,9 +6684,9 @@ progress@^2.0.3: integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== projen@^0.61.41: - version "0.61.41" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.61.41.tgz#dfb63e46ab6dc9dc497186d914d74d28017cf979" - integrity sha512-XoZ2HqG6XJayA0V1UHVXc0vdduLzBbk9WJxHKummjqR6Bbde0Xwl8a4xxsW89d6YSECZawmJ8DrEl7mZ9XEPmQ== + version "0.61.47" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.61.47.tgz#33cf805d472eba713da70288cc4a25f0a540c718" + integrity sha512-ox5aKqXAzjXDHUERjZFq1jWWTu2fBOKfSKJYIkrEfZ3K7Fe1I+ivVFKOoiAbHK6kMTWRj7RA28eiE87h5YqL6w== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3" @@ -7118,7 +7130,7 @@ reusify@^1.0.0, reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -7347,7 +7359,7 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.7.3: +source-map@^0.7.3, source-map@^0.7.4: version "0.7.4" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== @@ -7593,9 +7605,9 @@ supports-color@^8.0.0: has-flag "^4.0.0" supports-hyperlinks@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz#4f77b42488765891774b70c79babd87f9bd594bb" - integrity sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ== + version "2.3.0" + resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" + integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== dependencies: has-flag "^4.0.0" supports-color "^7.0.0" @@ -7718,14 +7730,14 @@ trim-newlines@^3.0.0: resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== -ts-jest@^28.0.8: - version "28.0.8" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-28.0.8.tgz#cd204b8e7a2f78da32cf6c95c9a6165c5b99cc73" - integrity sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg== +ts-jest@^29.0.1: + version "29.0.1" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.0.1.tgz#3296b39d069dc55825ce1d059a9510b33c718b86" + integrity sha512-htQOHshgvhn93QLxrmxpiQPk69+M1g7govO1g6kf6GsjCv4uvRV0znVmDrrvjUrVCnTYeY4FBxTYYYD4airyJA== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x" - jest-util "^28.0.0" + jest-util "^29.0.0" json5 "^2.2.1" lodash.memoize "4.x" make-error "1.x" @@ -7940,9 +7952,9 @@ upath@^2.0.1: integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== update-browserslist-db@^1.0.5: - version "1.0.7" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.7.tgz#16279639cff1d0f800b14792de43d97df2d11b7d" - integrity sha512-iN/XYesmZ2RmmWAiI4Z5rq0YqSiv0brj9Ce9CfhNE4xIW2h+MFxcgkxIzZ+ShkFPUkjU3gQ+3oypadD3RAMtrg== + version "1.0.8" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.8.tgz#2f0b711327668eee01bbecddcf4a7c7954a7f8e2" + integrity sha512-GHg7C4M7oJSJYW/ED/5QOJ7nL/E0lwTOBGsOorA7jqHr8ExUhPfwAotIAmdSw/LWv3SMLSNpzTAgeLG9zaZKTA== dependencies: escalade "^3.1.1" picocolors "^1.0.0"