From 0d87ba577449f8b33672289d9a4a3a2af3480e2b Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Wed, 13 Oct 2021 13:43:13 +0200 Subject: [PATCH] refactor(cli): replace links with redirects This makes it easier to update the links in old version if we move the docs / issues / labels around --- .../__tests__/main-test.ts | 2 +- packages/@cdktf/hcl2cdk/lib/expressions.ts | 2 +- packages/@cdktf/hcl2cdk/lib/index.ts | 8 +- .../test/__snapshots__/hcl2cdk.test.ts.snap | 96 +-- packages/cdktf-cli/lib/checkpoint.ts | 2 +- .../typescript/__tests__/main-test.ts | 2 +- yarn.lock | 662 +++++++++++++++++- 7 files changed, 717 insertions(+), 57 deletions(-) diff --git a/examples/typescript/azure-service-bus-queue-trigger/__tests__/main-test.ts b/examples/typescript/azure-service-bus-queue-trigger/__tests__/main-test.ts index df95572149..b48893d12d 100644 --- a/examples/typescript/azure-service-bus-queue-trigger/__tests__/main-test.ts +++ b/examples/typescript/azure-service-bus-queue-trigger/__tests__/main-test.ts @@ -3,7 +3,7 @@ import "cdktf/lib/testing/adapters/jest"; // Load types for expect matchers describe("My CDKTF Application", () => { // The tests below are example tests, you can find more information at - // https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/testing.md + // https://cdk.tf/testing it.todo("should be tested"); // // All Unit testst test the synthesised terraform code, it does not create real-world resources diff --git a/packages/@cdktf/hcl2cdk/lib/expressions.ts b/packages/@cdktf/hcl2cdk/lib/expressions.ts index e445527240..e309d797d4 100644 --- a/packages/@cdktf/hcl2cdk/lib/expressions.ts +++ b/packages/@cdktf/hcl2cdk/lib/expressions.ts @@ -121,7 +121,7 @@ export function extractReferencesFromExpression( `Found a reference that is unknown: ${input} has reference "${spot}". The id was not found in ${JSON.stringify( nodeIds )} with temporary values ${JSON.stringify(scopedIds)}. - Please leave a comment at https://github.com/hashicorp/terraform-cdk/issues/842 if you run into this issue.` + Please leave a comment at https://cdk.tf/bugs/convert-expressions if you run into this issue.` ); return carry; } diff --git a/packages/@cdktf/hcl2cdk/lib/index.ts b/packages/@cdktf/hcl2cdk/lib/index.ts index 0665da0526..d4f056402c 100644 --- a/packages/@cdktf/hcl2cdk/lib/index.ts +++ b/packages/@cdktf/hcl2cdk/lib/index.ts @@ -39,7 +39,7 @@ export async function convertToTypescript(hcl: string) { json = await parse("terraform.tf", hcl); } catch (err) { throw new Error( - `Error: Could not parse HCL, this means either that the HCL passed is invalid or that you found a bug. If the HCL seems valid, please file a bug under https://github.com/hashicorp/terraform-cdk/issues/new?assignees=&labels=bug%2C+new%2C+feature%2Fconvert&template=bug-report.md&title=` + `Error: Could not parse HCL, this means either that the HCL passed is invalid or that you found a bug. If the HCL seems valid, please file a bug under https://cdk.tf/bugs/new/convert` ); } @@ -48,7 +48,7 @@ export async function convertToTypescript(hcl: string) { try { plan = schema.parse(json); } catch (err) { - throw new Error(`Error: HCL-JSON does not conform to schema. This is not expected, please file a bug under https://github.com/hashicorp/terraform-cdk/issues/new?assignees=&labels=bug%2C+new%2C+feature%2Fconvert&template=bug-report.md&title= + throw new Error(`Error: HCL-JSON does not conform to schema. This is not expected, please file a bug under https://cdk.tf/bugs/new/convert Please include this information: ${JSON.stringify((err as z.ZodError).errors)}`); } @@ -250,7 +250,7 @@ ${JSON.stringify((err as z.ZodError).errors)}`); expressions[0], "leading", `Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md` +You can read more about this at https://cdk.tf/variables` ); } @@ -260,7 +260,7 @@ You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/ providers[0], "leading", `Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.` +See https://cdk.tf/provider-generation for more details.` ); } diff --git a/packages/@cdktf/hcl2cdk/test/__snapshots__/hcl2cdk.test.ts.snap b/packages/@cdktf/hcl2cdk/test/__snapshots__/hcl2cdk.test.ts.snap index 9ee9332040..ae0d40d7ba 100644 --- a/packages/@cdktf/hcl2cdk/test/__snapshots__/hcl2cdk.test.ts.snap +++ b/packages/@cdktf/hcl2cdk/test/__snapshots__/hcl2cdk.test.ts.snap @@ -12,11 +12,11 @@ exports[`convert aliased duplicate provider with var reference configuration 1`] "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as auth0 from \\"./.gen/providers/auth0\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const domain = new cdktf.TerraformVariable(this, \\"domain\\", { description: \\"A domain\\", }); @@ -55,7 +55,7 @@ exports[`convert arithmetics configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const admins = new cdktf.TerraformVariable(this, \\"admins\\", {}); const members = new cdktf.TerraformVariable(this, \\"members\\", {}); new cdktf.TerraformOutput(this, \\"arithmetics\\", { @@ -66,7 +66,7 @@ new cdktf.TerraformOutput(this, \\"arithmetics\\", { exports[`convert blocks should be arrays configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as google from \\"./.gen/providers/google\\"; new google.ComputeAutoscaler(this, \\"example\\", { autoscalingPolicy: [ @@ -89,7 +89,7 @@ new google.ComputeAutoscaler(this, \\"example\\", { exports[`convert complex for each loops configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; const awsAcmCertificateExample = new aws.ACM.AcmCertificate(this, \\"example\\", { domainName: \\"example.com\\", @@ -158,7 +158,7 @@ awsLbListenerExample.overrideLogicalId(\\"example\\"); exports[`convert complex resource configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; new aws.CloudFront.CloudfrontDistribution(this, \\"s3_distribution\\", { aliases: [\\"mysite.example.com\\", \\"yoursite.example.com\\"], @@ -284,7 +284,7 @@ new aws.CloudFront.CloudfrontDistribution(this, \\"s3_distribution\\", { exports[`convert conditionals configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; const awsKmsKeyExamplekms = new aws.KMS.KmsKey(this, \\"examplekms\\", { deletionWindowInDays: 7, @@ -307,11 +307,11 @@ exports[`convert count loops configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const users = new cdktf.TerraformVariable(this, \\"users\\", {}); const awsIamUserLb = new aws.IAM.IamUser(this, \\"lb\\", { name: \`\\\\\${element(\${users.value}, count.index)}\`, @@ -331,7 +331,7 @@ awsIamUserLb.addOverride(\\"count\\", \`\\\\\${length(\${users.value})}\`); exports[`convert data local_file configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as local from \\"./.gen/providers/local\\"; new local.DataLocalFile(this, \\"_01_please_verify\\", { filename: \\"./email_templates/01_please_verify/template.html\\", @@ -343,11 +343,11 @@ exports[`convert data references configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const bucketName = new cdktf.TerraformVariable(this, \\"bucket_name\\", { default: \\"demo\\", }); @@ -371,11 +371,11 @@ exports[`convert double references configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const bucketName = new cdktf.TerraformVariable(this, \\"bucket_name\\", { default: \\"demo\\", }); @@ -404,11 +404,11 @@ exports[`convert dynamic blocks configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const namespace = new cdktf.TerraformVariable(this, \\"namespace\\", {}); const settings = new cdktf.TerraformVariable(this, \\"settings\\", {}); const awsElasticBeanstalkEnvironmentTfenvtest = @@ -438,7 +438,7 @@ awsElasticBeanstalkEnvironmentTfenvtest.addOverride(\\"setting\\", { exports[`convert empty provider configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as docker from \\"./.gen/providers/docker\\"; new docker.DockerProvider(this, \\"docker\\", {}); " @@ -448,11 +448,11 @@ exports[`convert for each on list using splat configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const buckets = new cdktf.TerraformVariable(this, \\"buckets\\", {}); const awsKmsKeyExamplekms = new aws.KMS.KmsKey(this, \\"examplekms\\", { deletionWindowInDays: 7, @@ -497,7 +497,7 @@ exports[`convert for expression 1 configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const users = new cdktf.TerraformVariable(this, \\"users\\", {}); const adminUsers = \`\\\\\${{ for name, user in \${users.value} : name => user @@ -517,7 +517,7 @@ exports[`convert for expression 2 configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const users = new cdktf.TerraformVariable(this, \\"users\\", {}); const usersByRole = \`\\\\\${{ for name, user in \${users.value} : user.role => name... @@ -532,11 +532,11 @@ exports[`convert for expression 3 configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as datadog from \\"./.gen/providers/datadog\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const users = new cdktf.TerraformVariable(this, \\"users\\", {}); new datadog.Monitor(this, \\"hard_query\\", { name: \\"queries are hard\\", @@ -549,11 +549,11 @@ exports[`convert for_each loops configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const users = new cdktf.TerraformVariable(this, \\"users\\", {}); const awsIamUserLb = new aws.IAM.IamUser(this, \\"lb\\", { name: \\"\${each.key}\\", @@ -575,11 +575,11 @@ exports[`convert for_each with var usage configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as azuread from \\"./.gen/providers/azuread\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const azureAdDomainName = new cdktf.TerraformVariable( this, \\"azure_ad_domain_name\\", @@ -620,11 +620,11 @@ exports[`convert list access through [] configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const settings = new cdktf.TerraformVariable(this, \\"settings\\", {}); new aws.S3.S3Bucket(this, \\"examplebucket\\", { acl: \\"private\\", @@ -661,7 +661,7 @@ new cdktf.TerraformOutput(this, \\"combined-so-it-does-not-get-removed\\", { exports[`convert locals references configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; const bucketName = \\"foo\\"; new aws.S3.S3Bucket(this, \\"examplebucket\\", { @@ -691,7 +691,7 @@ new Vpc.Vpc(this, \\"vpc\\", { exports[`convert multiple blocks configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; new aws.VPC.SecurityGroup(this, \\"allow_tls\\", { description: \\"Allow TLS inbound traffic\\", @@ -766,7 +766,7 @@ exports[`convert numeric property access configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as google from \\"./.gen/providers/google\\"; const googleComputeInstanceExample = new google.ComputeInstance( this, @@ -811,11 +811,11 @@ exports[`convert property access through [] configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const settings = new cdktf.TerraformVariable(this, \\"settings\\", {}); new aws.S3.S3Bucket(this, \\"examplebucket\\", { acl: \\"private\\", @@ -826,7 +826,7 @@ new aws.S3.S3Bucket(this, \\"examplebucket\\", { exports[`convert provider alias configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; import * as Vpc from \\"./.gen/modules/terraform-aws-modules/aws/vpc\\"; new aws.AwsProvider(this, \\"aws\\", { @@ -849,7 +849,7 @@ awsInstanceFoo.addOverride(\\"provider\\", \`\\\\\${\${awsWest.fqn}}\`); exports[`convert provider with complex config configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; new aws.AwsProvider(this, \\"aws\\", { accessKey: \\"mock_access_key\\", @@ -871,11 +871,11 @@ exports[`convert provider with var reference configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as auth0 from \\"./.gen/providers/auth0\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const domain = new cdktf.TerraformVariable(this, \\"domain\\", { description: \\"A domain\\", }); @@ -963,11 +963,11 @@ exports[`convert required namespaced provider configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as auth0 from \\"./.gen/providers/auth0\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const domain = new cdktf.TerraformVariable(this, \\"domain\\", { description: \\"A domain\\", }); @@ -979,7 +979,7 @@ new auth0.Auth0Provider(this, \\"auth0\\", { exports[`convert resource references configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; const awsKmsKeyExamplekms = new aws.KMS.KmsKey(this, \\"examplekms\\", { deletionWindowInDays: 7, @@ -1000,7 +1000,7 @@ new aws.S3.S3BucketObject(this, \\"examplebucket_object\\", { exports[`convert resource references with HCL functions configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; const awsKmsKeyExamplekms = new aws.KMS.KmsKey(this, \\"examplekms\\", { deletionWindowInDays: 7, @@ -1023,7 +1023,7 @@ exports[`convert same name local, var, out configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const test = new cdktf.TerraformVariable(this, \\"test\\", {}); const localTest = \`\\\\\${\${test.value}} + 1\`; const cdktfTerraformOutputTest = new cdktf.TerraformOutput(this, \\"test_1\\", { @@ -1046,7 +1046,7 @@ new cdktf.TerraformOutput(this, \\"cidr_out\\", { exports[`convert simple count configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; const awsInstanceMultipleServers = new aws.EC2.Instance( this, @@ -1070,7 +1070,7 @@ awsInstanceMultipleServers.addOverride(\\"count\\", 4); exports[`convert simple data source configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; new aws.VPC.DataAwsSubnet(this, \\"selected\\", { id: \\"subnet_id\\", @@ -1080,7 +1080,7 @@ new aws.VPC.DataAwsSubnet(this, \\"selected\\", { exports[`convert simple resource configuration 1`] = ` "/*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; new aws.VPC.Vpc(this, \\"example\\", { cidrBlock: \\"10.0.0.0/16\\", @@ -1100,11 +1100,11 @@ exports[`convert variable references configuration 1`] = ` "import * as cdktf from \\"cdktf\\"; /*Provider bindings are generated by running cdktf get. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/using-providers.md#importing-providers-and-modules for more details.*/ +See https://cdk.tf/provider-generation for more details.*/ import * as aws from \\"./.gen/providers/aws\\"; /*Terraform Variables are not always the best fit for getting inputs in the context of Terraform CDK. -You can read more about this at https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/terraform-variables.md*/ +You can read more about this at https://cdk.tf/variables*/ const bucketName = new cdktf.TerraformVariable(this, \\"bucket_name\\", { default: \\"demo\\", }); diff --git a/packages/cdktf-cli/lib/checkpoint.ts b/packages/cdktf-cli/lib/checkpoint.ts index 1a7a4bebcd..640f4c5214 100644 --- a/packages/cdktf-cli/lib/checkpoint.ts +++ b/packages/cdktf-cli/lib/checkpoint.ts @@ -131,7 +131,7 @@ function getUserId(): string { `This signature is a randomly generated UUID used to anonymously differentiate users in telemetry data order to inform product direction. This signature is random, it is not based on any personally identifiable information. To create a new signature, you can simply delete this file at any time. -See https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/telemetry.md for more +See https://cdk.tf/telemetry for more information on how to disable it.` ); } diff --git a/packages/cdktf-cli/templates/typescript/__tests__/main-test.ts b/packages/cdktf-cli/templates/typescript/__tests__/main-test.ts index df95572149..b48893d12d 100644 --- a/packages/cdktf-cli/templates/typescript/__tests__/main-test.ts +++ b/packages/cdktf-cli/templates/typescript/__tests__/main-test.ts @@ -3,7 +3,7 @@ import "cdktf/lib/testing/adapters/jest"; // Load types for expect matchers describe("My CDKTF Application", () => { // The tests below are example tests, you can find more information at - // https://github.com/hashicorp/terraform-cdk/blob/main/docs/working-with-cdk-for-terraform/testing.md + // https://cdk.tf/testing it.todo("should be tested"); // // All Unit testst test the synthesised terraform code, it does not create real-world resources diff --git a/yarn.lock b/yarn.lock index 8b2f129593..af1b7f87fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -591,6 +591,11 @@ resolved "https://registry.yarnpkg.com/@cdktf/provider-aws/-/provider-aws-0.0.19.tgz#e6965a0465e7f04de338b1f4fc53cd7edfe1b1d1" integrity sha512-ZKxKZhV2A46xScSvaqmb2+pdS2J+ndadmOtClOQo4QQldswYmvvvG5sRm2RKtvKcHHmZNpcsANLrFtXKI97gFA== +"@cdktf/provider-azurerm@^0.2.9": + version "0.2.10" + resolved "https://registry.yarnpkg.com/@cdktf/provider-azurerm/-/provider-azurerm-0.2.10.tgz#01becbd742526125c432832b6992d1d59881d75b" + integrity sha512-OF+Z+deI1aichgAQs+4ocOALc7+74qPuOejyibnzXvqiB8wLpezAgu5CF3MV1ctdYWuGGY616T7EtUSjWzkZFA== + "@cnakazawa/watch@^1.0.3": version "1.0.4" resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a" @@ -734,6 +739,18 @@ jest-util "^27.1.0" slash "^3.0.0" +"@jest/console@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.2.5.tgz#bddbf8d41c191f17b52bf0c9e6c0d18605e35d6e" + integrity sha512-smtlRF9vNKorRMCUtJ+yllIoiY8oFmfFG7xlzsAE76nKEwXNhjPOJIsc7Dv+AUitVt76t+KjIpUP9m98Crn2LQ== + dependencies: + "@jest/types" "^27.2.5" + "@types/node" "*" + chalk "^4.0.0" + jest-message-util "^27.2.5" + jest-util "^27.2.5" + slash "^3.0.0" + "@jest/core@^26.6.3": version "26.6.3" resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.6.3.tgz#7639fcb3833d748a4656ada54bde193051e45fad" @@ -803,6 +820,40 @@ slash "^3.0.0" strip-ansi "^6.0.0" +"@jest/core@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.2.5.tgz#854c314708cee0d892ac4f531b9129f00a21ee69" + integrity sha512-VR7mQ+jykHN4WO3OvusRJMk4xCa2MFLipMS+43fpcRGaYrN1KwMATfVEXif7ccgFKYGy5D1TVXTNE4mGq/KMMA== + dependencies: + "@jest/console" "^27.2.5" + "@jest/reporters" "^27.2.5" + "@jest/test-result" "^27.2.5" + "@jest/transform" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + emittery "^0.8.1" + exit "^0.1.2" + graceful-fs "^4.2.4" + jest-changed-files "^27.2.5" + jest-config "^27.2.5" + jest-haste-map "^27.2.5" + jest-message-util "^27.2.5" + jest-regex-util "^27.0.6" + jest-resolve "^27.2.5" + jest-resolve-dependencies "^27.2.5" + jest-runner "^27.2.5" + jest-runtime "^27.2.5" + jest-snapshot "^27.2.5" + jest-util "^27.2.5" + jest-validate "^27.2.5" + jest-watcher "^27.2.5" + micromatch "^4.0.4" + rimraf "^3.0.0" + slash "^3.0.0" + strip-ansi "^6.0.0" + "@jest/environment@^26.6.2": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.6.2.tgz#ba364cc72e221e79cc8f0a99555bf5d7577cf92c" @@ -823,6 +874,16 @@ "@types/node" "*" jest-mock "^27.1.0" +"@jest/environment@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.2.5.tgz#b85517ccfcec55690c82c56f5a01a3b30c5e3c84" + integrity sha512-XvUW3q6OUF+54SYFCgbbfCd/BKTwm5b2MGLoc2jINXQLKQDTCS2P2IrpPOtQ08WWZDGzbhAzVhOYta3J2arubg== + dependencies: + "@jest/fake-timers" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/node" "*" + jest-mock "^27.2.5" + "@jest/fake-timers@^26.6.2": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-26.6.2.tgz#459c329bcf70cee4af4d7e3f3e67848123535aad" @@ -847,6 +908,18 @@ jest-mock "^27.1.0" jest-util "^27.1.0" +"@jest/fake-timers@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.2.5.tgz#0c7e5762d7bfe6e269e7b49279b097a52a42f0a0" + integrity sha512-ZGUb6jg7BgwY+nmO0TW10bc7z7Hl2G/UTAvmxEyZ/GgNFoa31tY9/cgXmqcxnnZ7o5Xs7RAOz3G1SKIj8IVDlg== + dependencies: + "@jest/types" "^27.2.5" + "@sinonjs/fake-timers" "^8.0.1" + "@types/node" "*" + jest-message-util "^27.2.5" + jest-mock "^27.2.5" + jest-util "^27.2.5" + "@jest/globals@^26.6.2": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-26.6.2.tgz#5b613b78a1aa2655ae908eba638cc96a20df720a" @@ -865,6 +938,15 @@ "@jest/types" "^27.1.0" expect "^27.1.0" +"@jest/globals@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.2.5.tgz#4115538f98ed6cee4051a90fdbd0854062902099" + integrity sha512-naRI537GM+enFVJQs6DcwGYPn/0vgJNb06zGVbzXfDfe/epDPV73hP1vqO37PqSKDeOXM2KInr6ymYbL1HTP7g== + dependencies: + "@jest/environment" "^27.2.5" + "@jest/types" "^27.2.5" + expect "^27.2.5" + "@jest/reporters@^26.6.2": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-26.6.2.tgz#1f518b99637a5f18307bd3ecf9275f6882a667f6" @@ -927,6 +1009,37 @@ terminal-link "^2.0.0" v8-to-istanbul "^8.0.0" +"@jest/reporters@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.2.5.tgz#65198ed1f3f4449e3f656129764dc6c5bb27ebe3" + integrity sha512-zYuR9fap3Q3mxQ454VWF8I6jYHErh368NwcKHWO2uy2fwByqBzRHkf9j2ekMDM7PaSTWcLBSZyd7NNxR1iHxzQ== + dependencies: + "@bcoe/v8-coverage" "^0.2.3" + "@jest/console" "^27.2.5" + "@jest/test-result" "^27.2.5" + "@jest/transform" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/node" "*" + chalk "^4.0.0" + collect-v8-coverage "^1.0.0" + exit "^0.1.2" + glob "^7.1.2" + graceful-fs "^4.2.4" + istanbul-lib-coverage "^3.0.0" + istanbul-lib-instrument "^4.0.3" + istanbul-lib-report "^3.0.0" + istanbul-lib-source-maps "^4.0.0" + istanbul-reports "^3.0.2" + jest-haste-map "^27.2.5" + jest-resolve "^27.2.5" + jest-util "^27.2.5" + jest-worker "^27.2.5" + slash "^3.0.0" + source-map "^0.6.0" + string-length "^4.0.1" + terminal-link "^2.0.0" + v8-to-istanbul "^8.1.0" + "@jest/source-map@^26.6.2": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-26.6.2.tgz#29af5e1e2e324cafccc936f218309f54ab69d535" @@ -965,6 +1078,16 @@ "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" +"@jest/test-result@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.2.5.tgz#e9f73cf6cd5e2cc6eb3105339248dea211f9320e" + integrity sha512-ub7j3BrddxZ0BdSnM5JCF6cRZJ/7j3wgdX0+Dtwhw2Po+HKsELCiXUTvh+mgS4/89mpnU1CPhZxe2mTvuLPJJg== + dependencies: + "@jest/console" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/istanbul-lib-coverage" "^2.0.0" + collect-v8-coverage "^1.0.0" + "@jest/test-sequencer@^26.6.3": version "26.6.3" resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz#98e8a45100863886d074205e8ffdc5a7eb582b17" @@ -986,6 +1109,16 @@ jest-haste-map "^27.1.0" jest-runtime "^27.1.0" +"@jest/test-sequencer@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.2.5.tgz#ed5ae91c00e623fb719111d58e380395e16cefbb" + integrity sha512-8j8fHZRfnjbbdMitMAGFKaBZ6YqvFRFJlMJzcy3v75edTOqc7RY65S9JpMY6wT260zAcL2sTQRga/P4PglCu3Q== + dependencies: + "@jest/test-result" "^27.2.5" + graceful-fs "^4.2.4" + jest-haste-map "^27.2.5" + jest-runtime "^27.2.5" + "@jest/transform@^26.6.2": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-26.6.2.tgz#5ac57c5fa1ad17b2aae83e73e45813894dcf2e4b" @@ -1028,6 +1161,27 @@ source-map "^0.6.1" write-file-atomic "^3.0.0" +"@jest/transform@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.2.5.tgz#02b08862a56dbedddf0ba3c2eae41e049a250e29" + integrity sha512-29lRtAHHYGALbZOx343v0zKmdOg4Sb0rsA1uSv0818bvwRhs3TyElOmTVXlrw0v1ZTqXJCAH/cmoDXimBhQOJQ== + dependencies: + "@babel/core" "^7.1.0" + "@jest/types" "^27.2.5" + babel-plugin-istanbul "^6.0.0" + chalk "^4.0.0" + convert-source-map "^1.4.0" + fast-json-stable-stringify "^2.0.0" + graceful-fs "^4.2.4" + jest-haste-map "^27.2.5" + jest-regex-util "^27.0.6" + jest-util "^27.2.5" + micromatch "^4.0.4" + pirates "^4.0.1" + slash "^3.0.0" + source-map "^0.6.1" + write-file-atomic "^3.0.0" + "@jest/types@^25.5.0": version "25.5.0" resolved "https://registry.yarnpkg.com/@jest/types/-/types-25.5.0.tgz#4d6a4793f7b9599fc3680877b856a97dbccf2a9d" @@ -1060,6 +1214,17 @@ "@types/yargs" "^16.0.0" chalk "^4.0.0" +"@jest/types@^27.2.5": + version "27.2.5" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.2.5.tgz#420765c052605e75686982d24b061b4cbba22132" + integrity sha512-nmuM4VuDtCZcY+eTpw+0nvstwReMsjPoj7ZR80/BbixulhLaiX+fbv8oeLW8WZlJMcsGQsTmMKT/iTZu1Uy/lQ== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^16.0.0" + chalk "^4.0.0" + "@josephg/resolvable@^1.0.0": version "1.0.1" resolved "https://registry.yarnpkg.com/@josephg/resolvable/-/resolvable-1.0.1.tgz#69bc4db754d79e1a2f17a650d3466e038d94a5eb" @@ -2016,6 +2181,13 @@ dependencies: "@sinonjs/commons" "^1.7.0" +"@sinonjs/fake-timers@^8.0.1": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-8.0.1.tgz#1c1c9a91419f804e59ae8df316a07dd1c3a76b94" + integrity sha512-AU7kwFxreVd6OAXcAFlKSmZquiRUU0FvYm44k1Y1QbK7Co4m0aqfGMhjykIeQp/H6rcl+nFmj0zfdUcGVs9Dew== + dependencies: + "@sinonjs/commons" "^1.7.0" + "@skorfmann/ink-confirm-input@^3.0.0": version "3.0.0" resolved "https://registry.yarnpkg.com/@skorfmann/ink-confirm-input/-/ink-confirm-input-3.0.0.tgz#415ddd6f9ed3fe031774d3d0fa3f8318144d50b9" @@ -2285,6 +2457,14 @@ jest-diff "^25.2.1" pretty-format "^25.2.1" +"@types/jest@^27.0.2": + version "27.0.2" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.0.2.tgz#ac383c4d4aaddd29bbf2b916d8d105c304a5fcd7" + integrity sha512-4dRxkS/AFX0c5XW6IPMNOydLn2tEhNhJV7DnYK+0bjoJZ+QTmfucBlihX7aoEsh/ocYtkLC73UbnBXBXIxsULA== + dependencies: + jest-diff "^27.0.0" + pretty-format "^27.0.0" + "@types/json-schema@^7.0.3", "@types/json-schema@^7.0.4": version "7.0.5" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.5.tgz#dcce4430e64b443ba8945f0290fb564ad5bac6dd" @@ -2389,6 +2569,11 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.6.0.tgz#7d4411bf5157339337d7cff864d9ff45f177b499" integrity sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA== +"@types/node@^16.9.4": + version "16.10.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.10.5.tgz#7fe4123b061753f1a58a6cd077ff0bb069ee752d" + integrity sha512-9iI3OOlkyOjLQQ9s+itIJNMRepDhB/96jW3fqduJ2FTPQj1dJjw6Q3QCImF9FE1wmdBs5QSun4FjDSFS8d8JLw== + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -2796,6 +2981,11 @@ ansi-regex@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -3227,6 +3417,20 @@ babel-jest@^27.1.0: graceful-fs "^4.2.4" slash "^3.0.0" +babel-jest@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.2.5.tgz#6bbbc1bb4200fe0bfd1b1fbcbe02fc62ebed16aa" + integrity sha512-GC9pWCcitBhSuF7H3zl0mftoKizlswaF0E3qi+rPL417wKkCB0d+Sjjb0OfXvxj7gWiBf497ldgRMii68Xz+2g== + dependencies: + "@jest/transform" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/babel__core" "^7.1.14" + babel-plugin-istanbul "^6.0.0" + babel-preset-jest "^27.2.0" + chalk "^4.0.0" + graceful-fs "^4.2.4" + slash "^3.0.0" + babel-plugin-istanbul@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz#e159ccdc9af95e0b570c75b4573b7c34d671d765" @@ -3258,6 +3462,16 @@ babel-plugin-jest-hoist@^27.0.6: "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" +babel-plugin-jest-hoist@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.2.0.tgz#79f37d43f7e5c4fdc4b2ca3e10cc6cf545626277" + integrity sha512-TOux9khNKdi64mW+0OIhcmbAn75tTlzKhxmiNXevQaPbrBYK7YKjP1jl6NHTJ6XR5UgUrJbCnWlKVnJn29dfjw== + dependencies: + "@babel/template" "^7.3.3" + "@babel/types" "^7.3.3" + "@types/babel__core" "^7.0.0" + "@types/babel__traverse" "^7.0.6" + babel-preset-current-node-syntax@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" @@ -3292,6 +3506,14 @@ babel-preset-jest@^27.0.6: babel-plugin-jest-hoist "^27.0.6" babel-preset-current-node-syntax "^1.0.0" +babel-preset-jest@^27.2.0: + version "27.2.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.2.0.tgz#556bbbf340608fed5670ab0ea0c8ef2449fba885" + integrity sha512-z7MgQ3peBwN5L5aCqBKnF6iqdlvZvFUQynEhu0J+X9nHLU72jO3iY331lcYrg+AssJ8q7xsv5/3AICzVmJ/wvg== + dependencies: + babel-plugin-jest-hoist "^27.2.0" + babel-preset-current-node-syntax "^1.0.0" + backo2@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947" @@ -3588,6 +3810,13 @@ caseless@~0.12.0: resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= +cdktf@^0.6.2: + version "0.6.4" + resolved "https://registry.yarnpkg.com/cdktf/-/cdktf-0.6.4.tgz#0c34af9641ec5b7135a0929025e0dc0424a476ac" + integrity sha512-vRsVL5v6DZb5EoLNRevwGp2VfJLrJiA3TMPu3sAjaLEGrdOFY8py4iugArFUeiaIsti4Vz4+64Oc1cseSs71Fg== + dependencies: + archiver "5.3.0" + chalk@^2.0.0: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -5123,6 +5352,18 @@ expect@^27.1.0: jest-message-util "^27.1.0" jest-regex-util "^27.0.6" +expect@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/expect/-/expect-27.2.5.tgz#16154aaa60b4d9a5b0adacfea3e4d6178f4b93fd" + integrity sha512-ZrO0w7bo8BgGoP/bLz+HDCI+0Hfei9jUSZs5yI/Wyn9VkG9w8oJ7rHRgYj+MA7yqqFa0IwHA3flJzZtYugShJA== + dependencies: + "@jest/types" "^27.2.5" + ansi-styles "^5.0.0" + jest-get-type "^27.0.6" + jest-matcher-utils "^27.2.5" + jest-message-util "^27.2.5" + jest-regex-util "^27.0.6" + express@^4.17.1: version "4.17.1" resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134" @@ -6809,6 +7050,15 @@ jest-changed-files@^27.1.0: execa "^5.0.0" throat "^6.0.1" +jest-changed-files@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.2.5.tgz#9dfd550d158260bcb6fa80aff491f5647f7daeca" + integrity sha512-jfnNJzF89csUKRPKJ4MwZ1SH27wTmX2xiAIHUHrsb/OYd9Jbo4/SXxJ17/nnx6RIifpthk3Y+LEeOk+/dDeGdw== + dependencies: + "@jest/types" "^27.2.5" + execa "^5.0.0" + throat "^6.0.1" + jest-circus@^27.1.0: version "27.1.0" resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.1.0.tgz#24c280c90a625ea57da20ee231d25b1621979a57" @@ -6834,6 +7084,31 @@ jest-circus@^27.1.0: stack-utils "^2.0.3" throat "^6.0.1" +jest-circus@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.2.5.tgz#573256a6fb6e447ac2fc7e0ade9375013309037f" + integrity sha512-eyL9IcrAxm3Saq3rmajFCwpaxaRMGJ1KJs+7hlTDinXpJmeR3P02bheM3CYohE7UfwOBmrFMJHjgo/WPcLTM+Q== + dependencies: + "@jest/environment" "^27.2.5" + "@jest/test-result" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + dedent "^0.7.0" + expect "^27.2.5" + is-generator-fn "^2.0.0" + jest-each "^27.2.5" + jest-matcher-utils "^27.2.5" + jest-message-util "^27.2.5" + jest-runtime "^27.2.5" + jest-snapshot "^27.2.5" + jest-util "^27.2.5" + pretty-format "^27.2.5" + slash "^3.0.0" + stack-utils "^2.0.3" + throat "^6.0.1" + jest-cli@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.6.3.tgz#43117cfef24bc4cd691a174a8796a532e135e92a" @@ -6871,6 +7146,24 @@ jest-cli@^27.1.0: prompts "^2.0.1" yargs "^16.0.3" +jest-cli@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.2.5.tgz#88718c8f05f1c0f209152952ecd61afe4c3311bb" + integrity sha512-XzfcOXi5WQrXqFYsDxq5RDOKY4FNIgBgvgf3ZBz4e/j5/aWep5KnsAYH5OFPMdX/TP/LFsYQMRH7kzJUMh6JKg== + dependencies: + "@jest/core" "^27.2.5" + "@jest/test-result" "^27.2.5" + "@jest/types" "^27.2.5" + chalk "^4.0.0" + exit "^0.1.2" + graceful-fs "^4.2.4" + import-local "^3.0.2" + jest-config "^27.2.5" + jest-util "^27.2.5" + jest-validate "^27.2.5" + prompts "^2.0.1" + yargs "^16.2.0" + jest-config@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-26.6.3.tgz#64f41444eef9eb03dc51d5c53b75c8c71f645349" @@ -6922,6 +7215,33 @@ jest-config@^27.1.0: micromatch "^4.0.4" pretty-format "^27.1.0" +jest-config@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.2.5.tgz#c2e4ec6ea2bf4ffd2cae3d927999fe6159cba207" + integrity sha512-QdENtn9b5rIIYGlbDNEcgY9LDL5kcokJnXrp7x8AGjHob/XFqw1Z6p+gjfna2sUulQsQ3ce2Fvntnv+7fKYDhQ== + dependencies: + "@babel/core" "^7.1.0" + "@jest/test-sequencer" "^27.2.5" + "@jest/types" "^27.2.5" + babel-jest "^27.2.5" + chalk "^4.0.0" + deepmerge "^4.2.2" + glob "^7.1.1" + graceful-fs "^4.2.4" + is-ci "^3.0.0" + jest-circus "^27.2.5" + jest-environment-jsdom "^27.2.5" + jest-environment-node "^27.2.5" + jest-get-type "^27.0.6" + jest-jasmine2 "^27.2.5" + jest-regex-util "^27.0.6" + jest-resolve "^27.2.5" + jest-runner "^27.2.5" + jest-util "^27.2.5" + jest-validate "^27.2.5" + micromatch "^4.0.4" + pretty-format "^27.2.5" + jest-diff@^25.2.1: version "25.5.0" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-25.5.0.tgz#1dd26ed64f96667c068cef026b677dfa01afcfa9" @@ -6952,6 +7272,16 @@ jest-diff@^27.0.0, jest-diff@^27.1.0: jest-get-type "^27.0.6" pretty-format "^27.1.0" +jest-diff@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.2.5.tgz#908f7a6aca5653824516ad30e0a9fd9767e53623" + integrity sha512-7gfwwyYkeslOOVQY4tVq5TaQa92mWfC9COsVYMNVYyJTOYAqbIkoD3twi5A+h+tAPtAelRxkqY6/xu+jwTr0dA== + dependencies: + chalk "^4.0.0" + diff-sequences "^27.0.6" + jest-get-type "^27.0.6" + pretty-format "^27.2.5" + jest-docblock@^26.0.0: version "26.0.0" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-26.0.0.tgz#3e2fa20899fc928cb13bd0ff68bd3711a36889b5" @@ -6988,6 +7318,17 @@ jest-each@^27.1.0: jest-util "^27.1.0" pretty-format "^27.1.0" +jest-each@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.2.5.tgz#378118d516db730b92096a9607b8711165946353" + integrity sha512-HUPWIbJT0bXarRwKu/m7lYzqxR4GM5EhKOsu0z3t0SKtbFN6skQhpAUADM4qFShBXb9zoOuag5lcrR1x/WM+Ag== + dependencies: + "@jest/types" "^27.2.5" + chalk "^4.0.0" + jest-get-type "^27.0.6" + jest-util "^27.2.5" + pretty-format "^27.2.5" + jest-environment-jsdom@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz#78d09fe9cf019a357009b9b7e1f101d23bd1da3e" @@ -7014,6 +7355,19 @@ jest-environment-jsdom@^27.1.0: jest-util "^27.1.0" jsdom "^16.6.0" +jest-environment-jsdom@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.2.5.tgz#21de3ad0e89441d961b592ba7561b16241279208" + integrity sha512-QtRpOh/RQKuXniaWcoFE2ElwP6tQcyxHu0hlk32880g0KczdonCs5P1sk5+weu/OVzh5V4Bt1rXuQthI01mBLg== + dependencies: + "@jest/environment" "^27.2.5" + "@jest/fake-timers" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/node" "*" + jest-mock "^27.2.5" + jest-util "^27.2.5" + jsdom "^16.6.0" + jest-environment-node@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-26.6.2.tgz#824e4c7fb4944646356f11ac75b229b0035f2b0c" @@ -7038,6 +7392,18 @@ jest-environment-node@^27.1.0: jest-mock "^27.1.0" jest-util "^27.1.0" +jest-environment-node@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.2.5.tgz#ffa1afb3604c640ec841f044d526c65912e02cef" + integrity sha512-0o1LT4grm7iwrS8fIoLtwJxb/hoa3GsH7pP10P02Jpj7Mi4BXy65u46m89vEM2WfD1uFJQ2+dfDiWZNA2e6bJg== + dependencies: + "@jest/environment" "^27.2.5" + "@jest/fake-timers" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/node" "*" + jest-mock "^27.2.5" + jest-util "^27.2.5" + jest-get-type@^25.2.6: version "25.2.6" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-25.2.6.tgz#0b0a32fab8908b44d508be81681487dbabb8d877" @@ -7094,6 +7460,26 @@ jest-haste-map@^27.1.0: optionalDependencies: fsevents "^2.3.2" +jest-haste-map@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.2.5.tgz#0247b7299250643472bbcf5b4ad85c72d5178e2e" + integrity sha512-pzO+Gw2WLponaSi0ilpzYBE0kuVJstoXBX8YWyUebR8VaXuX4tzzn0Zp23c/WaETo7XYTGv2e8KdnpiskAFMhQ== + dependencies: + "@jest/types" "^27.2.5" + "@types/graceful-fs" "^4.1.2" + "@types/node" "*" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.4" + jest-regex-util "^27.0.6" + jest-serializer "^27.0.6" + jest-util "^27.2.5" + jest-worker "^27.2.5" + micromatch "^4.0.4" + walker "^1.0.7" + optionalDependencies: + fsevents "^2.3.2" + jest-jasmine2@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz#adc3cf915deacb5212c93b9f3547cd12958f2edd" @@ -7142,6 +7528,30 @@ jest-jasmine2@^27.1.0: pretty-format "^27.1.0" throat "^6.0.1" +jest-jasmine2@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.2.5.tgz#baaf96c69913c52bce0100000cf0721027c0fd66" + integrity sha512-hdxY9Cm/CjLqu2tXeAoQHPgA4vcqlweVXYOg1+S9FeFdznB9Rti+eEBKDDkmOy9iqr4Xfbq95OkC4NFbXXPCAQ== + dependencies: + "@babel/traverse" "^7.1.0" + "@jest/environment" "^27.2.5" + "@jest/source-map" "^27.0.6" + "@jest/test-result" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + expect "^27.2.5" + is-generator-fn "^2.0.0" + jest-each "^27.2.5" + jest-matcher-utils "^27.2.5" + jest-message-util "^27.2.5" + jest-runtime "^27.2.5" + jest-snapshot "^27.2.5" + jest-util "^27.2.5" + pretty-format "^27.2.5" + throat "^6.0.1" + jest-leak-detector@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz#7717cf118b92238f2eba65054c8a0c9c653a91af" @@ -7158,6 +7568,14 @@ jest-leak-detector@^27.1.0: jest-get-type "^27.0.6" pretty-format "^27.1.0" +jest-leak-detector@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.2.5.tgz#e2edc3b37d38e8d9a527e10e456b403c3151b206" + integrity sha512-HYsi3GUR72bYhOGB5C5saF9sPdxGzSjX7soSQS+BqDRysc7sPeBwPbhbuT8DnOpijnKjgwWQ8JqvbmReYnt3aQ== + dependencies: + jest-get-type "^27.0.6" + pretty-format "^27.2.5" + jest-matcher-utils@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz#8e6fd6e863c8b2d31ac6472eeb237bc595e53e7a" @@ -7178,6 +7596,16 @@ jest-matcher-utils@^27.1.0: jest-get-type "^27.0.6" pretty-format "^27.1.0" +jest-matcher-utils@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.2.5.tgz#4684faaa8eb32bf15e6edaead6834031897e2980" + integrity sha512-qNR/kh6bz0Dyv3m68Ck2g1fLW5KlSOUNcFQh87VXHZwWc/gY6XwnKofx76Qytz3x5LDWT09/2+yXndTkaG4aWg== + dependencies: + chalk "^4.0.0" + jest-diff "^27.2.5" + jest-get-type "^27.0.6" + pretty-format "^27.2.5" + jest-message-util@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-26.6.2.tgz#58173744ad6fc0506b5d21150b9be56ef001ca07" @@ -7208,6 +7636,21 @@ jest-message-util@^27.1.0: slash "^3.0.0" stack-utils "^2.0.3" +jest-message-util@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.2.5.tgz#ed8b7b0965247bb875a49c1f9b9ab2d1d0820028" + integrity sha512-ggXSLoPfIYcbmZ8glgEJZ8b+e0Msw/iddRmgkoO7lDAr9SmI65IIfv7VnvTnV4FGnIIUIjzM+fHRHO5RBvyAbQ== + dependencies: + "@babel/code-frame" "^7.12.13" + "@jest/types" "^27.2.5" + "@types/stack-utils" "^2.0.0" + chalk "^4.0.0" + graceful-fs "^4.2.4" + micromatch "^4.0.4" + pretty-format "^27.2.5" + slash "^3.0.0" + stack-utils "^2.0.3" + jest-mock@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-26.6.2.tgz#d6cb712b041ed47fe0d9b6fc3474bc6543feb302" @@ -7224,6 +7667,14 @@ jest-mock@^27.1.0: "@jest/types" "^27.1.0" "@types/node" "*" +jest-mock@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.2.5.tgz#0ec38d5ff1e49c4802e7a4a8179e8d7a2fd84de0" + integrity sha512-HiMB3LqE9RzmeMzZARi2Bz3NoymxyP0gCid4y42ca1djffNtYFKgI220aC1VP1mUZ8rbpqZbHZOJ15093bZV/Q== + dependencies: + "@jest/types" "^27.2.5" + "@types/node" "*" + jest-pnp-resolver@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" @@ -7257,6 +7708,15 @@ jest-resolve-dependencies@^27.1.0: jest-regex-util "^27.0.6" jest-snapshot "^27.1.0" +jest-resolve-dependencies@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.2.5.tgz#fcd8eca005b3d11ba32da443045c028164b83be1" + integrity sha512-BSjefped31bcvvCh++/pN9ueqqN1n0+p8/58yScuWfklLm2tbPbS9d251vJhAy0ZI2pL/0IaGhOTJrs9Y4FJlg== + dependencies: + "@jest/types" "^27.2.5" + jest-regex-util "^27.0.6" + jest-snapshot "^27.2.5" + jest-resolve@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-26.6.2.tgz#a3ab1517217f469b504f1b56603c5bb541fbb507" @@ -7287,6 +7747,22 @@ jest-resolve@^27.1.0: resolve "^1.20.0" slash "^3.0.0" +jest-resolve@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.2.5.tgz#04dadbfc1312a2541f5c199c5011945e9cfe5cef" + integrity sha512-q5irwS3oS73SKy3+FM/HL2T7WJftrk9BRzrXF92f7net5HMlS7lJMg/ZwxLB4YohKqjSsdksEw7n/jvMxV7EKg== + dependencies: + "@jest/types" "^27.2.5" + chalk "^4.0.0" + escalade "^3.1.1" + graceful-fs "^4.2.4" + jest-haste-map "^27.2.5" + jest-pnp-resolver "^1.2.2" + jest-util "^27.2.5" + jest-validate "^27.2.5" + resolve "^1.20.0" + slash "^3.0.0" + jest-runner@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-26.6.3.tgz#2d1fed3d46e10f233fd1dbd3bfaa3fe8924be159" @@ -7341,6 +7817,34 @@ jest-runner@^27.1.0: source-map-support "^0.5.6" throat "^6.0.1" +jest-runner@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.2.5.tgz#3d9d0626f351480bb2cffcfbbfac240c0097ebd4" + integrity sha512-n41vw9RLg5TKAnEeJK9d6pGOsBOpwE89XBniK+AD1k26oIIy3V7ogM1scbDjSheji8MUPC9pNgCrZ/FHLVDNgg== + dependencies: + "@jest/console" "^27.2.5" + "@jest/environment" "^27.2.5" + "@jest/test-result" "^27.2.5" + "@jest/transform" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/node" "*" + chalk "^4.0.0" + emittery "^0.8.1" + exit "^0.1.2" + graceful-fs "^4.2.4" + jest-docblock "^27.0.6" + jest-environment-jsdom "^27.2.5" + jest-environment-node "^27.2.5" + jest-haste-map "^27.2.5" + jest-leak-detector "^27.2.5" + jest-message-util "^27.2.5" + jest-resolve "^27.2.5" + jest-runtime "^27.2.5" + jest-util "^27.2.5" + jest-worker "^27.2.5" + source-map-support "^0.5.6" + throat "^6.0.1" + jest-runtime@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-26.6.3.tgz#4f64efbcfac398331b74b4b3c82d27d401b8fa2b" @@ -7407,6 +7911,39 @@ jest-runtime@^27.1.0: strip-bom "^4.0.0" yargs "^16.0.3" +jest-runtime@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.2.5.tgz#d144c3f6889b927aae1e695b63a41a3323b7016b" + integrity sha512-N0WRZ3QszKyZ3Dm27HTBbBuestsSd3Ud5ooVho47XZJ8aSKO/X1Ag8M1dNx9XzfGVRNdB/xCA3lz8MJwIzPLLA== + dependencies: + "@jest/console" "^27.2.5" + "@jest/environment" "^27.2.5" + "@jest/fake-timers" "^27.2.5" + "@jest/globals" "^27.2.5" + "@jest/source-map" "^27.0.6" + "@jest/test-result" "^27.2.5" + "@jest/transform" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/yargs" "^16.0.0" + chalk "^4.0.0" + cjs-module-lexer "^1.0.0" + collect-v8-coverage "^1.0.0" + execa "^5.0.0" + exit "^0.1.2" + glob "^7.1.3" + graceful-fs "^4.2.4" + jest-haste-map "^27.2.5" + jest-message-util "^27.2.5" + jest-mock "^27.2.5" + jest-regex-util "^27.0.6" + jest-resolve "^27.2.5" + jest-snapshot "^27.2.5" + jest-util "^27.2.5" + jest-validate "^27.2.5" + slash "^3.0.0" + strip-bom "^4.0.0" + yargs "^16.2.0" + jest-serializer@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-26.6.2.tgz#d139aafd46957d3a448f3a6cdabe2919ba0742d1" @@ -7475,6 +8012,36 @@ jest-snapshot@^27.1.0: pretty-format "^27.1.0" semver "^7.3.2" +jest-snapshot@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.2.5.tgz#8a612fe31e2967f58ad364542198dff61f92ef32" + integrity sha512-2/Jkn+VN6Abwz0llBltZaiJMnL8b1j5Bp/gRIxe9YR3FCEh9qp0TXVV0dcpTGZ8AcJV1SZGQkczewkI9LP5yGw== + dependencies: + "@babel/core" "^7.7.2" + "@babel/generator" "^7.7.2" + "@babel/parser" "^7.7.2" + "@babel/plugin-syntax-typescript" "^7.7.2" + "@babel/traverse" "^7.7.2" + "@babel/types" "^7.0.0" + "@jest/transform" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/babel__traverse" "^7.0.4" + "@types/prettier" "^2.1.5" + babel-preset-current-node-syntax "^1.0.0" + chalk "^4.0.0" + expect "^27.2.5" + graceful-fs "^4.2.4" + jest-diff "^27.2.5" + jest-get-type "^27.0.6" + jest-haste-map "^27.2.5" + jest-matcher-utils "^27.2.5" + jest-message-util "^27.2.5" + jest-resolve "^27.2.5" + jest-util "^27.2.5" + natural-compare "^1.4.0" + pretty-format "^27.2.5" + semver "^7.3.2" + jest-util@^26.1.0, jest-util@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.6.2.tgz#907535dbe4d5a6cb4c47ac9b926f6af29576cbc1" @@ -7487,6 +8054,18 @@ jest-util@^26.1.0, jest-util@^26.6.2: is-ci "^2.0.0" micromatch "^4.0.2" +jest-util@^27.0.0, jest-util@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.2.5.tgz#88740c4024d223634a82ce7c2263e8bc6df3b3ba" + integrity sha512-QRhDC6XxISntMzFRd/OQ6TGsjbzA5ONO0tlAj2ElHs155x1aEr0rkYJBEysG6H/gZVH3oGFzCdAB/GA8leh8NQ== + dependencies: + "@jest/types" "^27.2.5" + "@types/node" "*" + chalk "^4.0.0" + graceful-fs "^4.2.4" + is-ci "^3.0.0" + picomatch "^2.2.3" + jest-util@^27.1.0: version "27.1.0" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.1.0.tgz#06a53777a8cb7e4940ca8e20bf9c67dd65d9bd68" @@ -7523,6 +8102,18 @@ jest-validate@^27.1.0: leven "^3.1.0" pretty-format "^27.1.0" +jest-validate@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.2.5.tgz#2d59bf1627d180f395ba58f24599b0ee0efcfbdf" + integrity sha512-XgYtjS89nhVe+UfkbLgcm+GgXKWgL80t9nTcNeejyO3t0Sj/yHE8BtIJqjZu9NXQksYbGImoQRXmQ1gP+Guffw== + dependencies: + "@jest/types" "^27.2.5" + camelcase "^6.2.0" + chalk "^4.0.0" + jest-get-type "^27.0.6" + leven "^3.1.0" + pretty-format "^27.2.5" + jest-watcher@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-26.6.2.tgz#a5b683b8f9d68dbcb1d7dae32172d2cca0592975" @@ -7549,6 +8140,19 @@ jest-watcher@^27.1.0: jest-util "^27.1.0" string-length "^4.0.1" +jest-watcher@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.2.5.tgz#41cd3e64dc5bea8a4327083d71ba7667be400567" + integrity sha512-umV4qGozg2Dn6DTTtqAh9puPw+DGLK9AQas7+mWjiK8t0fWMpxKg8ZXReZw7L4C88DqorsGUiDgwHNZ+jkVrkQ== + dependencies: + "@jest/test-result" "^27.2.5" + "@jest/types" "^27.2.5" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + jest-util "^27.2.5" + string-length "^4.0.1" + jest-worker@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" @@ -7567,6 +8171,15 @@ jest-worker@^27.1.0: merge-stream "^2.0.0" supports-color "^8.0.0" +jest-worker@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.2.5.tgz#ed42865661959488aa020e8a325df010597c36d4" + integrity sha512-HTjEPZtcNKZ4LnhSp02NEH4vE+5OpJ0EsOWYvGQpHgUMLngydESAAMH5Wd/asPf29+XUDQZszxpLg1BkIIA2aw== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + jest@27.1.0: version "27.1.0" resolved "https://registry.yarnpkg.com/jest/-/jest-27.1.0.tgz#eaab62dfdc02d8b7c814cd27b8d2d92bc46d3d69" @@ -7585,6 +8198,15 @@ jest@^26.6.3: import-local "^3.0.2" jest-cli "^26.6.3" +jest@^27.2.1: + version "27.2.5" + resolved "https://registry.yarnpkg.com/jest/-/jest-27.2.5.tgz#7d8a5c8781a160f693beeb7c68e46c16ef948148" + integrity sha512-vDMzXcpQN4Ycaqu+vO7LX8pZwNNoKMhc+gSp6q1D8S6ftRk8gNW8cni3YFxknP95jxzQo23Lul0BI2FrWgnwYQ== + dependencies: + "@jest/core" "^27.2.5" + import-local "^3.0.2" + jest-cli "^27.2.5" + "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -8149,7 +8771,7 @@ lodash.union@^4.6.0: resolved "https://registry.yarnpkg.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" integrity sha1-SLtQiECfFvGCFmZkHETdGqrjzYg= -lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: +lodash@4.x, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -9612,6 +10234,16 @@ pretty-format@^27.0.0, pretty-format@^27.1.0: ansi-styles "^5.0.0" react-is "^17.0.1" +pretty-format@^27.2.5: + version "27.2.5" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.2.5.tgz#7cfe2a8e8f01a5b5b29296a0b70f4140df0830c5" + integrity sha512-+nYn2z9GgicO9JiqmY25Xtq8SYfZ/5VCpEU3pppHHNAhd1y+ZXxmNPd1evmNcAd6Hz4iBV2kf0UpGth5A/VJ7g== + dependencies: + "@jest/types" "^27.2.5" + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" + react-is "^17.0.1" + printj@~1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/printj/-/printj-1.1.2.tgz#d90deb2975a8b9f600fb3a1c94e3f4c53c78a222" @@ -11199,6 +11831,20 @@ ts-jest@^26.4.4: semver "7.x" yargs-parser "20.x" +ts-jest@^27.0.5: + version "27.0.5" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.0.5.tgz#0b0604e2271167ec43c12a69770f0bb65ad1b750" + integrity sha512-lIJApzfTaSSbtlksfFNHkWOzLJuuSm4faFAfo5kvzOiRAuoN4/eKxVJ2zEAho8aecE04qX6K1pAzfH5QHL1/8w== + dependencies: + bs-logger "0.x" + fast-json-stable-stringify "2.x" + jest-util "^27.0.0" + json5 "2.x" + lodash "4.x" + make-error "1.x" + semver "7.x" + yargs-parser "20.x" + ts-tiny-invariant@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/ts-tiny-invariant/-/ts-tiny-invariant-0.0.3.tgz#6f51c153c285a7839bb59b1e5a2721fcb25a5e39" @@ -11372,6 +12018,11 @@ typescript@^4.2.2: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.2.tgz#1450f020618f872db0ea17317d16d8da8ddb8c4c" integrity sha512-tbb+NVrLfnsJy3M59lsDgrzWIflR4d4TIUjz+heUnHZwdF7YsrMTKoRERiIvI2lvBG95dfpLxB21WZhys1bgaQ== +typescript@^4.4.3: + version "4.4.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c" + integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA== + typescript@~3.9.9: version "3.9.9" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.9.tgz#e69905c54bc0681d0518bd4d587cc6f2d0b1a674" @@ -11555,6 +12206,15 @@ v8-to-istanbul@^8.0.0: convert-source-map "^1.6.0" source-map "^0.7.3" +v8-to-istanbul@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.1.0.tgz#0aeb763894f1a0a1676adf8a8b7612a38902446c" + integrity sha512-/PRhfd8aTNp9Ggr62HPzXg2XasNFGy5PBt0Rp04du7/8GNNSgxFL6WBTkgMKSL9bFjH+8kKEG3f37FmxiTqUUA== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.1" + convert-source-map "^1.6.0" + source-map "^0.7.3" + valid-url@1.0.9: version "1.0.9" resolved "https://registry.yarnpkg.com/valid-url/-/valid-url-1.0.9.tgz#1c14479b40f1397a75782f115e4086447433a200"