New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/graphql-function-transformer

Package Overview
Dependencies
Maintainers
0
Versions
413
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/graphql-function-transformer - npm Package Compare versions

Comparing version 3.1.1-gen2-migration-0930.0 to 3.1.1

2

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [3.1.1-gen2-migration-0930.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@3.1.0...@aws-amplify/graphql-function-transformer@3.1.1-gen2-migration-0930.0) (2024-09-30)
## [3.1.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@3.1.0...@aws-amplify/graphql-function-transformer@3.1.1) (2024-10-01)

@@ -9,0 +9,0 @@ **Note:** Version bump only for package @aws-amplify/graphql-function-transformer

@@ -86,3 +86,3 @@ "use strict";

const funcScope = context.stackManager.getScopeFor(functionId, FUNCTION_DIRECTIVE_STACK);
func = context.api.host.addAppSyncFunction(functionId, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString((0, graphql_mapping_template_1.printBlock)(`Invoke AWS Lambda data source: ${dataSourceId}`)((0, graphql_mapping_template_1.obj)({
func = context.api.host.addAppSyncVtlRuntimeFunction(functionId, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString((0, graphql_mapping_template_1.printBlock)(`Invoke AWS Lambda data source: ${dataSourceId}`)((0, graphql_mapping_template_1.obj)({
version: (0, graphql_mapping_template_1.str)('2018-05-29'),

@@ -125,3 +125,3 @@ operation: (0, graphql_mapping_template_1.str)('Invoke'),

const resolverScope = context.stackManager.getScopeFor(resolverId, FUNCTION_DIRECTIVE_STACK);
resolver = context.api.host.addResolver(config.resolverTypeName, config.resolverFieldName, graphql_transformer_core_1.MappingTemplate.inlineTemplateFromString((0, graphql_mapping_template_1.printBlock)('Stash resolver specific context.')((0, graphql_mapping_template_1.compoundExpression)(requestTemplate))), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString('$util.toJson($ctx.prev.result)', `${config.resolverTypeName}.${config.resolverFieldName}.res.vtl`), resolverId, undefined, [], resolverScope);
resolver = context.api.host.addVtlRuntimeResolver(config.resolverTypeName, config.resolverFieldName, graphql_transformer_core_1.MappingTemplate.inlineTemplateFromString((0, graphql_mapping_template_1.printBlock)('Stash resolver specific context.')((0, graphql_mapping_template_1.compoundExpression)(requestTemplate))), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString('$util.toJson($ctx.prev.result)', `${config.resolverTypeName}.${config.resolverFieldName}.res.vtl`), resolverId, undefined, [], resolverScope);
createdResources.set(resolverId, resolver);

@@ -128,0 +128,0 @@ }

{
"name": "@aws-amplify/graphql-function-transformer",
"version": "3.1.1-gen2-migration-0930.0",
"version": "3.1.1",
"description": "Amplify GraphQL @function transformer",

@@ -32,11 +32,11 @@ "repository": {

"dependencies": {
"@aws-amplify/graphql-directives": "2.3.0-gen2-migration-0930.0",
"@aws-amplify/graphql-transformer-core": "3.2.0-gen2-migration-0930.0",
"@aws-amplify/graphql-transformer-interfaces": "4.2.0-gen2-migration-0930.0",
"@aws-amplify/graphql-directives": "2.2.0",
"@aws-amplify/graphql-transformer-core": "3.1.2",
"@aws-amplify/graphql-transformer-interfaces": "4.1.1",
"graphql": "^15.5.0",
"graphql-mapping-template": "5.0.2-gen2-migration-0930.0",
"graphql-transformer-common": "5.1.0-gen2-migration-0930.0"
"graphql-mapping-template": "5.0.1",
"graphql-transformer-common": "5.0.1"
},
"devDependencies": {
"@aws-amplify/graphql-transformer-test-utils": "1.0.3-gen2-migration-0930.0"
"@aws-amplify/graphql-transformer-test-utils": "1.0.3"
},

@@ -87,3 +87,3 @@ "peerDependencies": {

},
"gitHead": "9747afc0099b5403bfde9d3489c34088eb76b02e"
"gitHead": "1506c6b08974a6b4f517c144cf41dd866da90951"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc