From 73296b29cdf52604331f34aad0544a6fdc548a95 Mon Sep 17 00:00:00 2001 From: Dane Pilcher Date: Thu, 12 Oct 2023 15:01:40 -0600 Subject: [PATCH] chore: update data deps --- packages/amplify-cli-core/package.json | 2 +- packages/amplify-cli/package.json | 4 +- .../amplify-container-hosting/package.json | 2 +- packages/amplify-e2e-tests/package.json | 2 +- .../__snapshots__/api_10.test.ts.snap | 6 +- .../package.json | 8 +- packages/amplify-util-mock/package.json | 28 +- .../v2-test-synthesizer/test-transform.ts | 3 +- .../src/__tests__/velocity/admin-auth.test.ts | 14 +- packages/amplify-util-uibuilder/package.json | 4 +- yarn.lock | 367 ++++++++++++++---- 11 files changed, 333 insertions(+), 107 deletions(-) diff --git a/packages/amplify-cli-core/package.json b/packages/amplify-cli-core/package.json index 4dc8b3cdbc4..e1177175b34 100644 --- a/packages/amplify-cli-core/package.json +++ b/packages/amplify-cli-core/package.json @@ -31,7 +31,7 @@ "@aws-amplify/amplify-cli-logger": "1.3.6", "@aws-amplify/amplify-function-plugin-interface": "1.11.0", "@aws-amplify/amplify-prompts": "2.8.4", - "@aws-amplify/graphql-transformer-interfaces": "^3.2.0", + "@aws-amplify/graphql-transformer-interfaces": "^3.2.1", "@aws-sdk/util-arn-parser": "^3.310.0", "@yarnpkg/lockfile": "^1.1.0", "ajv": "^6.12.6", diff --git a/packages/amplify-cli/package.json b/packages/amplify-cli/package.json index 15bbc37e618..39fa2982254 100644 --- a/packages/amplify-cli/package.json +++ b/packages/amplify-cli/package.json @@ -36,7 +36,7 @@ "dependencies": { "@aws-amplify/amplify-app": "5.0.21", "@aws-amplify/amplify-category-analytics": "5.0.22", - "@aws-amplify/amplify-category-api": "^5.7.2", + "@aws-amplify/amplify-category-api": "^5.7.5", "@aws-amplify/amplify-category-auth": "3.7.1", "@aws-amplify/amplify-category-custom": "3.1.10", "@aws-amplify/amplify-category-function": "5.6.1", @@ -66,7 +66,7 @@ "@aws-amplify/amplify-util-mock": "5.8.0", "@aws-amplify/amplify-util-uibuilder": "1.13.0", "@aws-cdk/cloudformation-diff": "~2.68.0", - "amplify-codegen": "^4.7.0", + "amplify-codegen": "^4.7.1", "amplify-dotnet-function-runtime-provider": "2.0.15", "amplify-go-function-runtime-provider": "2.3.33", "amplify-java-function-runtime-provider": "2.3.33", diff --git a/packages/amplify-container-hosting/package.json b/packages/amplify-container-hosting/package.json index d6b4aa15c95..fd9ce3b88cb 100644 --- a/packages/amplify-container-hosting/package.json +++ b/packages/amplify-container-hosting/package.json @@ -26,7 +26,7 @@ "extract-api": "ts-node ../../scripts/extract-api.ts" }, "dependencies": { - "@aws-amplify/amplify-category-api": "^5.7.2", + "@aws-amplify/amplify-category-api": "^5.7.5", "@aws-amplify/amplify-cli-core": "4.2.10", "@aws-amplify/amplify-environment-parameters": "1.9.1", "fs-extra": "^8.1.0", diff --git a/packages/amplify-e2e-tests/package.json b/packages/amplify-e2e-tests/package.json index da62a199ea6..bd14d679efd 100644 --- a/packages/amplify-e2e-tests/package.json +++ b/packages/amplify-e2e-tests/package.json @@ -29,7 +29,7 @@ "@aws-amplify/amplify-cli-core": "4.2.10", "@aws-amplify/amplify-e2e-core": "5.4.1", "@aws-amplify/amplify-opensearch-simulator": "1.7.1", - "@aws-amplify/graphql-transformer-core": "^2.2.1", + "@aws-amplify/graphql-transformer-core": "^2.2.3", "@aws-sdk/client-appsync": "^3.303.0", "@aws-sdk/client-dynamodb": "^3.303.0", "@aws-sdk/client-s3": "^3.303.0", diff --git a/packages/amplify-e2e-tests/src/__tests__/__snapshots__/api_10.test.ts.snap b/packages/amplify-e2e-tests/src/__tests__/__snapshots__/api_10.test.ts.snap index 1beed9c9f6a..9675cd9462c 100644 --- a/packages/amplify-e2e-tests/src/__tests__/__snapshots__/api_10.test.ts.snap +++ b/packages/amplify-e2e-tests/src/__tests__/__snapshots__/api_10.test.ts.snap @@ -62,8 +62,7 @@ $util.qr($ctx.stash.put("hasAuth", true)) #set( $isAuthorized = false ) #set( $allowedFields = [] ) #if( $util.authType() == "IAM Authorization" ) - #set( $adminRoles = ["myAdminRoleName"] ) - #foreach( $adminRole in $adminRoles ) + #foreach( $adminRole in $ctx.stash.adminRoles ) #if( $ctx.identity.userArn.contains($adminRole) && $ctx.identity.userArn != $ctx.stash.authRole && $ctx.identity.userArn != $ctx.stash.unauthRole ) #return($util.toJson({})) #end @@ -175,8 +174,7 @@ $util.qr($ctx.stash.put("hasAuth", true)) #set( $isAuthorized = false ) #set( $allowedFields = [] ) #if( $util.authType() == "IAM Authorization" ) - #set( $adminRoles = ["myAdminRoleName"] ) - #foreach( $adminRole in $adminRoles ) + #foreach( $adminRole in $ctx.stash.adminRoles ) #if( $ctx.identity.userArn.contains($adminRole) && $ctx.identity.userArn != $ctx.stash.authRole && $ctx.identity.userArn != $ctx.stash.unauthRole ) #return($util.toJson({})) #end diff --git a/packages/amplify-provider-awscloudformation/package.json b/packages/amplify-provider-awscloudformation/package.json index 4e750c3268f..7c10fead4de 100644 --- a/packages/amplify-provider-awscloudformation/package.json +++ b/packages/amplify-provider-awscloudformation/package.json @@ -35,9 +35,9 @@ "@aws-amplify/amplify-prompts": "2.8.4", "@aws-amplify/amplify-util-import": "2.8.1", "@aws-amplify/cli-extensibility-helper": "3.0.20", - "@aws-amplify/graphql-transformer-core": "^2.2.1", - "@aws-amplify/graphql-transformer-interfaces": "^3.2.0", - "amplify-codegen": "^4.7.0", + "@aws-amplify/graphql-transformer-core": "^2.2.3", + "@aws-amplify/graphql-transformer-interfaces": "^3.2.1", + "amplify-codegen": "^4.7.1", "archiver": "^5.3.0", "aws-cdk-lib": "~2.80.0", "aws-sdk": "^2.1464.0", @@ -71,7 +71,7 @@ "xstate": "^4.14.0" }, "devDependencies": { - "@aws-amplify/graphql-transformer-interfaces": "^3.2.0", + "@aws-amplify/graphql-transformer-interfaces": "^3.2.1", "@types/columnify": "^1.5.0", "@types/deep-diff": "^1.0.0", "@types/folder-hash": "^4.0.1", diff --git a/packages/amplify-util-mock/package.json b/packages/amplify-util-mock/package.json index 3f93de58b0d..dd2a660c78a 100644 --- a/packages/amplify-util-mock/package.json +++ b/packages/amplify-util-mock/package.json @@ -39,7 +39,7 @@ "@aws-amplify/amplify-prompts": "2.8.4", "@aws-amplify/amplify-provider-awscloudformation": "8.8.0", "@hapi/topo": "^5.0.0", - "amplify-codegen": "^4.7.0", + "amplify-codegen": "^4.7.1", "amplify-dynamodb-simulator": "2.9.5", "amplify-storage-simulator": "1.11.1", "chokidar": "^3.5.3", @@ -55,20 +55,20 @@ }, "devDependencies": { "@aws-amplify/amplify-function-plugin-interface": "^1.11.0", - "@aws-amplify/graphql-auth-transformer": "^3.1.5", - "@aws-amplify/graphql-default-value-transformer": "^2.1.5", - "@aws-amplify/graphql-function-transformer": "^2.1.4", - "@aws-amplify/graphql-http-transformer": "^2.1.4", - "@aws-amplify/graphql-index-transformer": "^2.1.5", - "@aws-amplify/graphql-maps-to-transformer": "^3.2.2", - "@aws-amplify/graphql-model-transformer": "^2.2.1", - "@aws-amplify/graphql-predictions-transformer": "^2.1.4", - "@aws-amplify/graphql-relational-transformer": "^2.1.5", - "@aws-amplify/graphql-searchable-transformer": "^2.2.1", + "@aws-amplify/graphql-auth-transformer": "^3.1.8", + "@aws-amplify/graphql-default-value-transformer": "^2.1.7", + "@aws-amplify/graphql-function-transformer": "^2.1.6", + "@aws-amplify/graphql-http-transformer": "^2.1.6", + "@aws-amplify/graphql-index-transformer": "^2.1.7", + "@aws-amplify/graphql-maps-to-transformer": "^3.2.4", + "@aws-amplify/graphql-model-transformer": "^2.2.3", + "@aws-amplify/graphql-predictions-transformer": "^2.1.6", + "@aws-amplify/graphql-relational-transformer": "^2.1.7", + "@aws-amplify/graphql-searchable-transformer": "^2.2.3", "@aws-amplify/graphql-transformer": "^1.1.0", - "@aws-amplify/graphql-transformer-core": "^2.2.1", - "@aws-amplify/graphql-transformer-interfaces": "^3.2.0", - "@aws-amplify/graphql-transformer-migrator": "^2.2.4", + "@aws-amplify/graphql-transformer-core": "^2.2.3", + "@aws-amplify/graphql-transformer-interfaces": "^3.2.1", + "@aws-amplify/graphql-transformer-migrator": "^2.2.6", "@types/detect-port": "^1.3.0", "@types/jest": "^29.0.0", "@types/lodash": "^4.14.149", diff --git a/packages/amplify-util-mock/src/__tests__/v2-test-synthesizer/test-transform.ts b/packages/amplify-util-mock/src/__tests__/v2-test-synthesizer/test-transform.ts index bb368ad0b1a..aa1c26624de 100644 --- a/packages/amplify-util-mock/src/__tests__/v2-test-synthesizer/test-transform.ts +++ b/packages/amplify-util-mock/src/__tests__/v2-test-synthesizer/test-transform.ts @@ -1,5 +1,5 @@ import { AppSyncAuthConfiguration, TransformerPluginProvider, TransformerLogLevel } from '@aws-amplify/graphql-transformer-interfaces'; -import type { TransformParameters } from '@aws-amplify/graphql-transformer-interfaces'; +import type { SynthParameters, TransformParameters } from '@aws-amplify/graphql-transformer-interfaces'; import { DatasourceType, GraphQLTransform, @@ -19,6 +19,7 @@ export type TestTransformParameters = { stackMapping?: Record; modelToDatasourceMap?: Map; datasourceSecretParameterLocations?: Map; + synthParameters?: Partial; }; /** diff --git a/packages/amplify-util-mock/src/__tests__/velocity/admin-auth.test.ts b/packages/amplify-util-mock/src/__tests__/velocity/admin-auth.test.ts index 0ac0125ad8d..79d094943be 100644 --- a/packages/amplify-util-mock/src/__tests__/velocity/admin-auth.test.ts +++ b/packages/amplify-util-mock/src/__tests__/velocity/admin-auth.test.ts @@ -14,6 +14,8 @@ jest.mock('@aws-amplify/amplify-prompts'); describe('admin roles query checks', () => { const ADMIN_UI_ROLE = 'us-fake-1_uuid_Full-access/CognitoIdentityCredentials'; + const MOCK_BEFORE_TEMPLATE = `$util.qr($ctx.stash.put("adminRoles", ["${ADMIN_UI_ROLE}"]))`; + let vtlTemplate: VelocityTemplateSimulator; let transformer: TestTransform; const adminFullAccessRequest: AppSyncGraphQLExecutionContext = { @@ -38,6 +40,7 @@ describe('admin roles query checks', () => { testTransform({ schema, authConfig, + synthParameters: { adminRoles: [ADMIN_UI_ROLE] }, transformers: [ new ModelTransformer(), new AuthTransformer({ @@ -61,7 +64,7 @@ describe('admin roles query checks', () => { const out = transformer.transform(validSchema); // field resolver - const secretValueTemplate = out.resolvers['Student.secretValue.req.vtl']; + const secretValueTemplate = [MOCK_BEFORE_TEMPLATE, out.resolvers['Student.secretValue.req.vtl']].join('\n'); const iamFieldContext: AppSyncVTLContext = { source: { secretValue: 'secretValue001', @@ -76,7 +79,7 @@ describe('admin roles query checks', () => { expect(secretValueResponse.result).toEqual('secretValue001'); // mutation resolver - const createStudentTemplate = out.resolvers['Mutation.createStudent.auth.1.req.vtl']; + const createStudentTemplate = [MOCK_BEFORE_TEMPLATE, out.resolvers['Mutation.createStudent.auth.1.req.vtl']].join('\n'); const iamCreateContext: AppSyncVTLContext = { arguments: { input: { @@ -100,6 +103,8 @@ describe('admin roles query checks', () => { describe('identity claim feature flag disabled', () => { describe('admin roles query checks', () => { const ADMIN_UI_ROLE = 'us-fake-1_uuid_Full-access/CognitoIdentityCredentials'; + const MOCK_BEFORE_TEMPLATE = `$util.qr($ctx.stash.put("adminRoles", ["${ADMIN_UI_ROLE}"]))`; + let vtlTemplate: VelocityTemplateSimulator; let transformer: TestTransform; const adminFullAccessRequest: AppSyncGraphQLExecutionContext = { @@ -124,6 +129,7 @@ describe('identity claim feature flag disabled', () => { testTransform({ schema, authConfig, + synthParameters: { adminRoles: [ADMIN_UI_ROLE] }, transformers: [ new ModelTransformer(), new AuthTransformer({ @@ -147,7 +153,7 @@ describe('identity claim feature flag disabled', () => { const out = transformer.transform(validSchema); // field resolver - const secretValueTemplate = out.resolvers['Student.secretValue.req.vtl']; + const secretValueTemplate = [MOCK_BEFORE_TEMPLATE, out.resolvers['Student.secretValue.req.vtl']].join('\n'); const iamFieldContext: AppSyncVTLContext = { source: { secretValue: 'secretValue001', @@ -162,7 +168,7 @@ describe('identity claim feature flag disabled', () => { expect(secretValueResponse.result).toEqual('secretValue001'); // mutation resolver - const createStudentTemplate = out.resolvers['Mutation.createStudent.auth.1.req.vtl']; + const createStudentTemplate = [MOCK_BEFORE_TEMPLATE, out.resolvers['Mutation.createStudent.auth.1.req.vtl']].join('\n'); const iamCreateContext: AppSyncVTLContext = { arguments: { input: { diff --git a/packages/amplify-util-uibuilder/package.json b/packages/amplify-util-uibuilder/package.json index 8ee15f293fb..240cb9d232a 100644 --- a/packages/amplify-util-uibuilder/package.json +++ b/packages/amplify-util-uibuilder/package.json @@ -14,12 +14,12 @@ "access": "public" }, "dependencies": { - "@aws-amplify/amplify-category-api": "^5.7.2", + "@aws-amplify/amplify-category-api": "^5.7.5", "@aws-amplify/amplify-cli-core": "4.2.10", "@aws-amplify/amplify-prompts": "2.8.4", "@aws-amplify/codegen-ui": "2.14.2", "@aws-amplify/codegen-ui-react": "2.14.2", - "amplify-codegen": "^4.7.0", + "amplify-codegen": "^4.7.1", "aws-sdk": "^2.1464.0", "fs-extra": "^8.1.0", "node-fetch": "^2.6.7", diff --git a/yarn.lock b/yarn.lock index 360657bb946..8e15fa6bb83 100644 --- a/yarn.lock +++ b/yarn.lock @@ -152,16 +152,16 @@ __metadata: languageName: unknown linkType: soft -"@aws-amplify/amplify-category-api@npm:^5.7.2": - version: 5.7.2 - resolution: "@aws-amplify/amplify-category-api@npm:5.7.2" - dependencies: - "@aws-amplify/graphql-auth-transformer": 3.1.5 - "@aws-amplify/graphql-schema-generator": 0.4.5 - "@aws-amplify/graphql-transformer": 1.2.1 - "@aws-amplify/graphql-transformer-core": 2.2.1 - "@aws-amplify/graphql-transformer-interfaces": 3.2.0 - "@aws-amplify/graphql-transformer-migrator": 2.2.4 +"@aws-amplify/amplify-category-api@npm:^5.7.5": + version: 5.7.5 + resolution: "@aws-amplify/amplify-category-api@npm:5.7.5" + dependencies: + "@aws-amplify/graphql-auth-transformer": 3.1.8 + "@aws-amplify/graphql-schema-generator": 0.4.7 + "@aws-amplify/graphql-transformer": 1.2.4 + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + "@aws-amplify/graphql-transformer-migrator": 2.2.6 "@aws-cdk/aws-apigatewayv2-alpha": ~2.80.0-alpha.0 "@aws-sdk/client-iam": 3.338.0 "@aws-sdk/client-lambda": 3.338.0 @@ -202,7 +202,7 @@ __metadata: amplify-util-headless-input: ^1.9.14-aug-transformer-mv-bump.0 aws-cdk-lib: ^2.80.0 constructs: ^10.0.5 - checksum: 6e93d32b988761e4e548e908728ebe798eb33b410d257ae011581a22937865469d0f971b4072fbc1ee2ece9dd74f30f25229c76cfb6e680437bb774b55b4998e + checksum: 8524c070281faf14417457c8fff37977dd59986b9579c6b3d6ad44fe7bb48a5eebefbdf565705b145078c4602f9b487b75e9bc69a3b6670735d67392686bd131 languageName: node linkType: hard @@ -398,7 +398,7 @@ __metadata: "@aws-amplify/amplify-cli-logger": 1.3.6 "@aws-amplify/amplify-function-plugin-interface": 1.10.3 "@aws-amplify/amplify-prompts": 2.8.4 - "@aws-amplify/graphql-transformer-interfaces": ^3.2.0 + "@aws-amplify/graphql-transformer-interfaces": ^3.2.1 "@aws-sdk/util-arn-parser": ^3.310.0 "@types/ejs": ^3.1.1 "@types/fs-extra": ^8.0.1 @@ -502,7 +502,7 @@ __metadata: version: 0.0.0-use.local resolution: "@aws-amplify/amplify-container-hosting@workspace:packages/amplify-container-hosting" dependencies: - "@aws-amplify/amplify-category-api": ^5.7.2 + "@aws-amplify/amplify-category-api": ^5.7.5 "@aws-amplify/amplify-cli-core": 4.2.10 "@aws-amplify/amplify-environment-parameters": 1.9.1 fs-extra: ^8.1.0 @@ -803,15 +803,15 @@ __metadata: "@aws-amplify/amplify-prompts": 2.8.4 "@aws-amplify/amplify-util-import": 2.8.1 "@aws-amplify/cli-extensibility-helper": 3.0.20 - "@aws-amplify/graphql-transformer-core": ^2.2.1 - "@aws-amplify/graphql-transformer-interfaces": ^3.2.0 + "@aws-amplify/graphql-transformer-core": ^2.2.3 + "@aws-amplify/graphql-transformer-interfaces": ^3.2.1 "@types/columnify": ^1.5.0 "@types/deep-diff": ^1.0.0 "@types/folder-hash": ^4.0.1 "@types/lodash.throttle": ^4.1.6 "@types/node": ^12.12.6 "@types/uuid": ^8.0.0 - amplify-codegen: ^4.7.0 + amplify-codegen: ^4.7.1 archiver: ^5.3.0 aws-cdk-lib: ~2.80.0 aws-sdk: ^2.1464.0 @@ -879,20 +879,20 @@ __metadata: "@aws-amplify/amplify-opensearch-simulator": 1.7.1 "@aws-amplify/amplify-prompts": 2.8.4 "@aws-amplify/amplify-provider-awscloudformation": 8.8.0 - "@aws-amplify/graphql-auth-transformer": ^3.1.5 - "@aws-amplify/graphql-default-value-transformer": ^2.1.5 - "@aws-amplify/graphql-function-transformer": ^2.1.4 - "@aws-amplify/graphql-http-transformer": ^2.1.4 - "@aws-amplify/graphql-index-transformer": ^2.1.5 - "@aws-amplify/graphql-maps-to-transformer": ^3.2.2 - "@aws-amplify/graphql-model-transformer": ^2.2.1 - "@aws-amplify/graphql-predictions-transformer": ^2.1.4 - "@aws-amplify/graphql-relational-transformer": ^2.1.5 - "@aws-amplify/graphql-searchable-transformer": ^2.2.1 + "@aws-amplify/graphql-auth-transformer": ^3.1.8 + "@aws-amplify/graphql-default-value-transformer": ^2.1.7 + "@aws-amplify/graphql-function-transformer": ^2.1.6 + "@aws-amplify/graphql-http-transformer": ^2.1.6 + "@aws-amplify/graphql-index-transformer": ^2.1.7 + "@aws-amplify/graphql-maps-to-transformer": ^3.2.4 + "@aws-amplify/graphql-model-transformer": ^2.2.3 + "@aws-amplify/graphql-predictions-transformer": ^2.1.6 + "@aws-amplify/graphql-relational-transformer": ^2.1.7 + "@aws-amplify/graphql-searchable-transformer": ^2.2.3 "@aws-amplify/graphql-transformer": ^1.1.0 - "@aws-amplify/graphql-transformer-core": ^2.2.1 - "@aws-amplify/graphql-transformer-interfaces": ^3.2.0 - "@aws-amplify/graphql-transformer-migrator": ^2.2.4 + "@aws-amplify/graphql-transformer-core": ^2.2.3 + "@aws-amplify/graphql-transformer-interfaces": ^3.2.1 + "@aws-amplify/graphql-transformer-migrator": ^2.2.6 "@hapi/topo": ^5.0.0 "@types/detect-port": ^1.3.0 "@types/jest": ^29.0.0 @@ -900,7 +900,7 @@ __metadata: "@types/node": ^12.12.6 "@types/semver": ^7.1.0 "@types/which": ^1.3.2 - amplify-codegen: ^4.7.0 + amplify-codegen: ^4.7.1 amplify-dynamodb-simulator: 2.9.5 amplify-nodejs-function-runtime-provider: 2.5.10 amplify-storage-simulator: 1.11.1 @@ -941,7 +941,7 @@ __metadata: version: 0.0.0-use.local resolution: "@aws-amplify/amplify-util-uibuilder@workspace:packages/amplify-util-uibuilder" dependencies: - "@aws-amplify/amplify-category-api": ^5.7.2 + "@aws-amplify/amplify-category-api": ^5.7.5 "@aws-amplify/amplify-cli-core": 4.2.10 "@aws-amplify/amplify-prompts": 2.8.4 "@aws-amplify/appsync-modelgen-plugin": ^2.6.0 @@ -951,7 +951,7 @@ __metadata: "@types/jest": ^29.5.1 "@types/semver": ^7.1.0 "@types/tiny-async-pool": ^2.0.0 - amplify-codegen: ^4.7.0 + amplify-codegen: ^4.7.1 aws-sdk: ^2.1464.0 fs-extra: ^8.1.0 node-fetch: ^2.6.7 @@ -1072,7 +1072,7 @@ __metadata: dependencies: "@aws-amplify/amplify-app": 5.0.21 "@aws-amplify/amplify-category-analytics": 5.0.22 - "@aws-amplify/amplify-category-api": ^5.7.2 + "@aws-amplify/amplify-category-api": ^5.7.5 "@aws-amplify/amplify-category-auth": 3.7.1 "@aws-amplify/amplify-category-custom": 3.1.10 "@aws-amplify/amplify-category-function": 5.6.1 @@ -1116,7 +1116,7 @@ __metadata: "@types/tar-fs": ^2.0.0 "@types/treeify": ^1.0.0 "@types/update-notifier": ^5.1.0 - amplify-codegen: ^4.7.0 + amplify-codegen: ^4.7.1 amplify-dotnet-function-runtime-provider: 2.0.15 amplify-go-function-runtime-provider: 2.3.33 amplify-headless-interface: 1.17.4 @@ -1250,7 +1250,7 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-auth-transformer@npm:3.1.5, @aws-amplify/graphql-auth-transformer@npm:^3.1.5": +"@aws-amplify/graphql-auth-transformer@npm:3.1.5": version: 3.1.5 resolution: "@aws-amplify/graphql-auth-transformer@npm:3.1.5" dependencies: @@ -1270,7 +1270,27 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-default-value-transformer@npm:2.1.5, @aws-amplify/graphql-default-value-transformer@npm:^2.1.5": +"@aws-amplify/graphql-auth-transformer@npm:3.1.8, @aws-amplify/graphql-auth-transformer@npm:^3.1.8": + version: 3.1.8 + resolution: "@aws-amplify/graphql-auth-transformer@npm:3.1.8" + dependencies: + "@aws-amplify/graphql-model-transformer": 2.2.3 + "@aws-amplify/graphql-relational-transformer": 2.1.7 + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql: ^15.5.0 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + lodash: ^4.17.21 + md5: ^2.3.0 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: cd9a5ea5b5b2cf7c664b585612964028a651d399457b0d5a141a8d087157361cccd8c9c8082cf64458d6df3f363c49d755c47610b324653ee3947073063b9e82 + languageName: node + linkType: hard + +"@aws-amplify/graphql-default-value-transformer@npm:2.1.5": version: 2.1.5 resolution: "@aws-amplify/graphql-default-value-transformer@npm:2.1.5" dependencies: @@ -1284,6 +1304,20 @@ __metadata: languageName: node linkType: hard +"@aws-amplify/graphql-default-value-transformer@npm:2.1.7, @aws-amplify/graphql-default-value-transformer@npm:^2.1.7": + version: 2.1.7 + resolution: "@aws-amplify/graphql-default-value-transformer@npm:2.1.7" + dependencies: + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql: ^15.5.0 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + libphonenumber-js: 1.9.47 + checksum: ffde17442a6038e1e1bb22ead54ca92c5ca81372bf0a803a9ec2de1b124b7c7b3b25bfe2cb2c01f6d838ea4cc74a6bac1453eff45115b3601583e9413c28885e + languageName: node + linkType: hard + "@aws-amplify/graphql-docs-generator@npm:4.2.0": version: 4.2.0 resolution: "@aws-amplify/graphql-docs-generator@npm:4.2.0" @@ -1297,7 +1331,7 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-function-transformer@npm:2.1.4, @aws-amplify/graphql-function-transformer@npm:^2.1.4": +"@aws-amplify/graphql-function-transformer@npm:2.1.4": version: 2.1.4 resolution: "@aws-amplify/graphql-function-transformer@npm:2.1.4" dependencies: @@ -1313,21 +1347,37 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-generator@npm:0.2.0": - version: 0.2.0 - resolution: "@aws-amplify/graphql-generator@npm:0.2.0" +"@aws-amplify/graphql-function-transformer@npm:2.1.6, @aws-amplify/graphql-function-transformer@npm:^2.1.6": + version: 2.1.6 + resolution: "@aws-amplify/graphql-function-transformer@npm:2.1.6" + dependencies: + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql: ^15.5.0 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: 949647b8d26463828d1d487c69533446b5e3cd15b594badcb86557e0c046d653f1e631b7226068b0e4c6241bd8f855403435109363e2fdae7bf045a5191fedb0 + languageName: node + linkType: hard + +"@aws-amplify/graphql-generator@npm:0.2.1": + version: 0.2.1 + resolution: "@aws-amplify/graphql-generator@npm:0.2.1" dependencies: "@aws-amplify/appsync-modelgen-plugin": 2.8.0 "@aws-amplify/graphql-docs-generator": 4.2.0 - "@aws-amplify/graphql-types-generator": 3.4.3 + "@aws-amplify/graphql-types-generator": 3.4.4 "@graphql-codegen/core": ^2.6.6 "@graphql-tools/apollo-engine-loader": ^8.0.0 graphql: ^15.5.0 - checksum: 17f462278cc7b8b75fa6adb3b0ec592aa6cdbd0a5967c00b02f74c9a523a01786c4d3e5405afefa9210fdf00618e7b26e8637ab00c0c059537c237f1b0de9dad + checksum: da6af7623be0db5f96aae2218c37ededd1be9d9d0402cfac8a15f380f2da2387f36d864fc6870da0435b59802aaa6e757a965289ead9150ca10add0c6325bd66 languageName: node linkType: hard -"@aws-amplify/graphql-http-transformer@npm:2.1.4, @aws-amplify/graphql-http-transformer@npm:^2.1.4": +"@aws-amplify/graphql-http-transformer@npm:2.1.4": version: 2.1.4 resolution: "@aws-amplify/graphql-http-transformer@npm:2.1.4" dependencies: @@ -1343,7 +1393,23 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-index-transformer@npm:2.1.5, @aws-amplify/graphql-index-transformer@npm:^2.1.5": +"@aws-amplify/graphql-http-transformer@npm:2.1.6, @aws-amplify/graphql-http-transformer@npm:^2.1.6": + version: 2.1.6 + resolution: "@aws-amplify/graphql-http-transformer@npm:2.1.6" + dependencies: + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql: ^15.5.0 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: 67a7c24171bcd9a9a2ec09c4c741dc839d4cbe58706a311e05e363bcdb60937845b8350eaab905e21584a7a0ccaf33ae5afd8091b76a31a6bdc326321233c9dc + languageName: node + linkType: hard + +"@aws-amplify/graphql-index-transformer@npm:2.1.5": version: 2.1.5 resolution: "@aws-amplify/graphql-index-transformer@npm:2.1.5" dependencies: @@ -1360,7 +1426,24 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-maps-to-transformer@npm:3.2.2, @aws-amplify/graphql-maps-to-transformer@npm:^3.2.2": +"@aws-amplify/graphql-index-transformer@npm:2.1.7, @aws-amplify/graphql-index-transformer@npm:^2.1.7": + version: 2.1.7 + resolution: "@aws-amplify/graphql-index-transformer@npm:2.1.7" + dependencies: + "@aws-amplify/graphql-model-transformer": 2.2.3 + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql: ^15.5.0 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: 2275513588e890c5d62f70a0ce143548976871517bc34fe06c6d853e99d9a03b9f552c52c6a047013d4988e0cd0c73a1df515e507676a9e6f4c5763c74450181 + languageName: node + linkType: hard + +"@aws-amplify/graphql-maps-to-transformer@npm:3.2.2": version: 3.2.2 resolution: "@aws-amplify/graphql-maps-to-transformer@npm:3.2.2" dependencies: @@ -1375,7 +1458,22 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-model-transformer@npm:2.2.1, @aws-amplify/graphql-model-transformer@npm:^2.2.1": +"@aws-amplify/graphql-maps-to-transformer@npm:3.2.4, @aws-amplify/graphql-maps-to-transformer@npm:^3.2.4": + version: 3.2.4 + resolution: "@aws-amplify/graphql-maps-to-transformer@npm:3.2.4" + dependencies: + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: 1bd7c1878f9495c1df5f126529475bc85a770725aadd62090af51fb65d19939ee3f3c2bc853b5a9ac56099a3b14a513c22bc44d0742cf33f70dbb7ccedfc9d63 + languageName: node + linkType: hard + +"@aws-amplify/graphql-model-transformer@npm:2.2.1": version: 2.2.1 resolution: "@aws-amplify/graphql-model-transformer@npm:2.2.1" dependencies: @@ -1391,7 +1489,23 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-predictions-transformer@npm:2.1.4, @aws-amplify/graphql-predictions-transformer@npm:^2.1.4": +"@aws-amplify/graphql-model-transformer@npm:2.2.3, @aws-amplify/graphql-model-transformer@npm:^2.2.3": + version: 2.2.3 + resolution: "@aws-amplify/graphql-model-transformer@npm:2.2.3" + dependencies: + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql: ^15.5.0 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: 0758d373d91ef529ef1b017366020b1b87365526f0afb4aba2f82acff578e93b329d30dd88abedc8069fe5b57ee6d4789f70c1a3f766cb1764933baceef707a9 + languageName: node + linkType: hard + +"@aws-amplify/graphql-predictions-transformer@npm:2.1.4": version: 2.1.4 resolution: "@aws-amplify/graphql-predictions-transformer@npm:2.1.4" dependencies: @@ -1407,7 +1521,23 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-relational-transformer@npm:2.1.5, @aws-amplify/graphql-relational-transformer@npm:^2.1.5": +"@aws-amplify/graphql-predictions-transformer@npm:2.1.6, @aws-amplify/graphql-predictions-transformer@npm:^2.1.6": + version: 2.1.6 + resolution: "@aws-amplify/graphql-predictions-transformer@npm:2.1.6" + dependencies: + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql: ^15.5.0 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: ed2a24d77992237675e56dbfe02ecf799a6e8ec221ca540a36bf410af78cd31ecf4c3e2f43b7cb03de446dade5228c1d468ba1aa81dc0bec025323ec11b0fe3b + languageName: node + linkType: hard + +"@aws-amplify/graphql-relational-transformer@npm:2.1.5": version: 2.1.5 resolution: "@aws-amplify/graphql-relational-transformer@npm:2.1.5" dependencies: @@ -1426,11 +1556,30 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-schema-generator@npm:0.4.5": - version: 0.4.5 - resolution: "@aws-amplify/graphql-schema-generator@npm:0.4.5" +"@aws-amplify/graphql-relational-transformer@npm:2.1.7, @aws-amplify/graphql-relational-transformer@npm:^2.1.7": + version: 2.1.7 + resolution: "@aws-amplify/graphql-relational-transformer@npm:2.1.7" dependencies: - "@aws-amplify/graphql-transformer-core": 2.2.1 + "@aws-amplify/graphql-index-transformer": 2.1.7 + "@aws-amplify/graphql-model-transformer": 2.2.3 + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql: ^15.5.0 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + immer: ^9.0.12 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: 6312d41b6009644990b5c76343aea3ec77e1fc722f00437cc4451e52fb2a19dafb705553810dfcfe8475b0d32e5d56a53f21e90ce785ad3bdc1da09883a1ac70 + languageName: node + linkType: hard + +"@aws-amplify/graphql-schema-generator@npm:0.4.7": + version: 0.4.7 + resolution: "@aws-amplify/graphql-schema-generator@npm:0.4.7" + dependencies: + "@aws-amplify/graphql-transformer-core": 2.2.3 "@aws-sdk/client-iam": 3.338.0 "@aws-sdk/client-lambda": 3.338.0 "@aws-sdk/client-rds": 3.338.0 @@ -1441,11 +1590,11 @@ __metadata: ora: ^4.0.3 peerDependencies: "@aws-amplify/amplify-prompts": ^2.8.1-aug-transformer-mv-bump.0 - checksum: 70f2c398ff6e090eeb9c6f301838da4a52f68d60c85c34b1c3cbdbb9d31f79aa069b711753375d1c1eac8ad28d0a1b9b30909b04381be551ed18e57cf1a97e83 + checksum: bd315b7c48a86ee9d6b4721444b155e20089dd88f1c050f0e5e7a098bd02dc6e48a6b7204f56d8d57f58ec905de77991733b920a680d74acd3b8506599094ad2 languageName: node linkType: hard -"@aws-amplify/graphql-searchable-transformer@npm:2.2.1, @aws-amplify/graphql-searchable-transformer@npm:^2.2.1": +"@aws-amplify/graphql-searchable-transformer@npm:2.2.1": version: 2.2.1 resolution: "@aws-amplify/graphql-searchable-transformer@npm:2.2.1" dependencies: @@ -1462,7 +1611,24 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-transformer-core@npm:2.2.1, @aws-amplify/graphql-transformer-core@npm:^2.2.1": +"@aws-amplify/graphql-searchable-transformer@npm:2.2.3, @aws-amplify/graphql-searchable-transformer@npm:^2.2.3": + version: 2.2.3 + resolution: "@aws-amplify/graphql-searchable-transformer@npm:2.2.3" + dependencies: + "@aws-amplify/graphql-model-transformer": 2.2.3 + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + graphql: ^15.5.0 + graphql-mapping-template: 4.20.12 + graphql-transformer-common: 4.25.1 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: 81070543d64cf9b99c1c98c3e8abb40ad9531496c0dd9d82e2faa01b80dc2c2b46dc316fcb85c485ba013a998b804cad35b1e837e4851694eca09eab85867b53 + languageName: node + linkType: hard + +"@aws-amplify/graphql-transformer-core@npm:2.2.1": version: 2.2.1 resolution: "@aws-amplify/graphql-transformer-core@npm:2.2.1" dependencies: @@ -1482,7 +1648,27 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-transformer-interfaces@npm:3.2.0, @aws-amplify/graphql-transformer-interfaces@npm:^3.2.0": +"@aws-amplify/graphql-transformer-core@npm:2.2.3, @aws-amplify/graphql-transformer-core@npm:^2.2.3": + version: 2.2.3 + resolution: "@aws-amplify/graphql-transformer-core@npm:2.2.3" + dependencies: + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + fs-extra: ^8.1.0 + graphql: ^15.5.0 + graphql-transformer-common: 4.25.1 + hjson: ^3.2.2 + lodash: ^4.17.21 + md5: ^2.3.0 + object-hash: ^3.0.0 + ts-dedent: ^2.0.0 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: 66022db29b49c78e12602eb8dbd09a83199e2fcc50e1273a673215b107bee2b7519411eecd4b20ea5ba9aaa7567a20cf368e8ed2f7ee4460be1d1364c73827cd + languageName: node + linkType: hard + +"@aws-amplify/graphql-transformer-interfaces@npm:3.2.0": version: 3.2.0 resolution: "@aws-amplify/graphql-transformer-interfaces@npm:3.2.0" dependencies: @@ -1494,11 +1680,23 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-transformer-migrator@npm:2.2.4, @aws-amplify/graphql-transformer-migrator@npm:^2.2.4": - version: 2.2.4 - resolution: "@aws-amplify/graphql-transformer-migrator@npm:2.2.4" +"@aws-amplify/graphql-transformer-interfaces@npm:3.2.1, @aws-amplify/graphql-transformer-interfaces@npm:^3.2.1": + version: 3.2.1 + resolution: "@aws-amplify/graphql-transformer-interfaces@npm:3.2.1" dependencies: - "@aws-amplify/graphql-transformer-core": 2.2.1 + graphql: ^15.5.0 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: 73ad7e6ca92c3711957dd8adb346eb8e88b78200ca117fb38fa6b57f1b6e54f75258555bf58fad9bb056b37503cbccf196b693c6f03d7109caf0ff03f2cd805b + languageName: node + linkType: hard + +"@aws-amplify/graphql-transformer-migrator@npm:2.2.6, @aws-amplify/graphql-transformer-migrator@npm:^2.2.6": + version: 2.2.6 + resolution: "@aws-amplify/graphql-transformer-migrator@npm:2.2.6" + dependencies: + "@aws-amplify/graphql-transformer-core": 2.2.3 fs-extra: ^8.1.0 glob: ^7.2.0 graphql: ^15.5.0 @@ -1508,11 +1706,34 @@ __metadata: "@aws-amplify/amplify-cli-core": 4.2.4-aug-transformer-mv-bump.0 "@aws-amplify/amplify-environment-parameters": ^1.7.4-aug-transformer-mv-bump.0 "@aws-amplify/amplify-prompts": ^2.8.1-aug-transformer-mv-bump.0 - checksum: ede228ea859210c8203a6effdf0eafafc645d62d1a0fa1330d6ea263bb5656fb23ef8f660755b41e4ee0d9db87424f151ab989828d65dd4477b8858a389d26ad + checksum: 53d5ecb513e8e6e632b5ae056a49baf254eddf075a1274592140d624edf905ce8bf80cfc0001ed6e76dd1c4ecb218159cf6e56ae1a0023b6e8d79a1c1a5c5783 languageName: node linkType: hard -"@aws-amplify/graphql-transformer@npm:1.2.1, @aws-amplify/graphql-transformer@npm:^1.1.0": +"@aws-amplify/graphql-transformer@npm:1.2.4": + version: 1.2.4 + resolution: "@aws-amplify/graphql-transformer@npm:1.2.4" + dependencies: + "@aws-amplify/graphql-auth-transformer": 3.1.8 + "@aws-amplify/graphql-default-value-transformer": 2.1.7 + "@aws-amplify/graphql-function-transformer": 2.1.6 + "@aws-amplify/graphql-http-transformer": 2.1.6 + "@aws-amplify/graphql-index-transformer": 2.1.7 + "@aws-amplify/graphql-maps-to-transformer": 3.2.4 + "@aws-amplify/graphql-model-transformer": 2.2.3 + "@aws-amplify/graphql-predictions-transformer": 2.1.6 + "@aws-amplify/graphql-relational-transformer": 2.1.7 + "@aws-amplify/graphql-searchable-transformer": 2.2.3 + "@aws-amplify/graphql-transformer-core": 2.2.3 + "@aws-amplify/graphql-transformer-interfaces": 3.2.1 + peerDependencies: + aws-cdk-lib: ^2.80.0 + constructs: ^10.0.5 + checksum: c78dd327a9dffe2bcc99ad7320ab4ea13d4360a0264ae3b1588c884e8e3d66234448b0fa81906523f786b169a8890891eff839cd907f4a1a9874b90543999f1a + languageName: node + linkType: hard + +"@aws-amplify/graphql-transformer@npm:^1.1.0": version: 1.2.1 resolution: "@aws-amplify/graphql-transformer@npm:1.2.1" dependencies: @@ -1535,9 +1756,9 @@ __metadata: languageName: node linkType: hard -"@aws-amplify/graphql-types-generator@npm:3.4.3": - version: 3.4.3 - resolution: "@aws-amplify/graphql-types-generator@npm:3.4.3" +"@aws-amplify/graphql-types-generator@npm:3.4.4": + version: 3.4.4 + resolution: "@aws-amplify/graphql-types-generator@npm:3.4.4" dependencies: "@babel/generator": 7.0.0-beta.4 "@babel/types": 7.0.0-beta.4 @@ -1556,7 +1777,7 @@ __metadata: yargs: ^15.1.0 bin: graphql-types-generator: lib/cli.js - checksum: 030e95b151e4535615774b8b648dc388fe8aa381a2109f2ddc5fa8178a31749f92db1d9ad8740ff45462f297fb4099049fed540eab24d4ab2d35b0c47b86b637 + checksum: 3747fddf44b5cff03f23c5547e6e8b1657d7a4c248269aa7ea9220857c09e714c9850d32ccb7ac9117cbcc418b095e7c17066d7efd5d5e68afb1acff00eebc2b languageName: node linkType: hard @@ -13937,13 +14158,13 @@ __metadata: languageName: unknown linkType: soft -"amplify-codegen@npm:^4.7.0": - version: 4.7.0 - resolution: "amplify-codegen@npm:4.7.0" +"amplify-codegen@npm:^4.7.1": + version: 4.7.1 + resolution: "amplify-codegen@npm:4.7.1" dependencies: "@aws-amplify/graphql-docs-generator": 4.2.0 - "@aws-amplify/graphql-generator": 0.2.0 - "@aws-amplify/graphql-types-generator": 3.4.3 + "@aws-amplify/graphql-generator": 0.2.1 + "@aws-amplify/graphql-types-generator": 3.4.4 "@graphql-codegen/core": 2.6.6 chalk: ^3.0.0 fs-extra: ^8.1.0 @@ -13960,7 +14181,7 @@ __metadata: peerDependencies: "@aws-amplify/amplify-cli-core": "*" graphql-transformer-core: ^8.0.0 - checksum: 5f2978bdc3af3c6ad7a5e376069d0d122d4a1e3c8fd8c47b07abb6fc442589530684a57f18788c09e2d06e8735ba728d3e3f7143377285606832dfc596b25884 + checksum: aa05984aad050d1af1cf87c14c5ea0bc2a694c2f8cc115e5c5e5a2dfc646facf4f3623387bf1f9e22d43b5b34e327a2bdc9ab7fb3b73f421bd9e6c530900357b languageName: node linkType: hard @@ -14009,7 +14230,7 @@ __metadata: "@aws-amplify/amplify-cli-core": 4.2.10 "@aws-amplify/amplify-e2e-core": 5.4.1 "@aws-amplify/amplify-opensearch-simulator": 1.7.1 - "@aws-amplify/graphql-transformer-core": ^2.2.1 + "@aws-amplify/graphql-transformer-core": ^2.2.3 "@aws-sdk/client-appsync": ^3.303.0 "@aws-sdk/client-dynamodb": ^3.303.0 "@aws-sdk/client-s3": ^3.303.0