Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/graphql-function-transformer

Package Overview
Dependencies
Maintainers
7
Versions
412
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 0.4.3 to 0.4.4-auth-dir-v-next.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.4.4-auth-dir-v-next.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-function-transformer@0.4.3...@aws-amplify/graphql-function-transformer@0.4.4-auth-dir-v-next.0) (2021-09-14)
**Note:** Version bump only for package @aws-amplify/graphql-function-transformer
## [0.4.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-function-transformer@0.4.2...@aws-amplify/graphql-function-transformer@0.4.3) (2021-09-02)

@@ -8,0 +16,0 @@

4

lib/graphql-function-transformer.js

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

if (func === undefined) {
func = context.api.host.addAppSyncFunction(functionId, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(graphql_mapping_template_1.printBlock(`Invoke AWS Lambda data source: ${dataSourceId}`)(graphql_mapping_template_1.obj({
func = context.api.host.addAppSyncFunction(functionId, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(graphql_mapping_template_1.printBlock(`Invoke AWS Lambda data source: ${dataSourceId}`)(graphql_mapping_template_1.toJson(graphql_mapping_template_1.obj({
version: graphql_mapping_template_1.str('2018-05-29'),

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

}),
})), `${functionId}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(graphql_mapping_template_1.printBlock('Handle error or return result')(graphql_mapping_template_1.compoundExpression([
}))), `${functionId}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(graphql_mapping_template_1.printBlock('Handle error or return result')(graphql_mapping_template_1.compoundExpression([
graphql_mapping_template_1.iff(graphql_mapping_template_1.ref('ctx.error'), graphql_mapping_template_1.raw('$util.error($ctx.error.message, $ctx.error.type)')),

@@ -89,0 +89,0 @@ graphql_mapping_template_1.raw('$util.toJson($ctx.result)'),

{
"name": "@aws-amplify/graphql-function-transformer",
"version": "0.4.3",
"version": "0.4.4-auth-dir-v-next.0",
"description": "Amplify GraphQL @function transformer",

@@ -30,9 +30,9 @@ "repository": {

"dependencies": {
"@aws-amplify/graphql-transformer-core": "0.9.0",
"@aws-amplify/graphql-transformer-interfaces": "1.9.0",
"@aws-amplify/graphql-transformer-core": "0.10.0-auth-dir-v-next.0",
"@aws-amplify/graphql-transformer-interfaces": "1.10.0-auth-dir-v-next.0",
"@aws-cdk/aws-lambda": "~1.119.0",
"@aws-cdk/core": "~1.119.0",
"graphql": "^14.5.8",
"graphql-mapping-template": "4.18.3",
"graphql-transformer-common": "4.19.9"
"graphql-mapping-template": "4.19.0-auth-dir-v-next.0",
"graphql-transformer-common": "4.19.10-auth-dir-v-next.0"
},

@@ -57,3 +57,3 @@ "devDependencies": {

},
"gitHead": "8738095619ba2bc2f01d381d816fc0f65bb3f88f"
"gitHead": "31371e987e129894a3bdc0c2cc66c3980b2bde81"
}

Sorry, the diff of this file is not supported yet

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