Socket
Socket
Sign inDemoInstall

@aws-amplify/graphql-transformer-core

Package Overview
Dependencies
Maintainers
6
Versions
410
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.6.3 to 0.7.0-beta.0

11

CHANGELOG.md

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

# [0.7.0-beta.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-core@0.6.3...@aws-amplify/graphql-transformer-core@0.7.0-beta.0) (2021-07-06)
### Features
* port [@predictions](https://github.com/predictions) to GraphQL Transformer v2 ([#7387](https://github.com/aws-amplify/amplify-cli/issues/7387)) ([3f2e647](https://github.com/aws-amplify/amplify-cli/commit/3f2e647b9dfe14aa5919b46f53342937dd0c7fa9))
## [0.6.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-core@0.6.2...@aws-amplify/graphql-transformer-core@0.6.3) (2021-06-30)

@@ -8,0 +19,0 @@

4

lib/graphql-api.d.ts

@@ -7,3 +7,3 @@ import { APIIAMResourceProvider, GraphQLAPIProvider, MappingTemplateProvider } from '@aws-amplify/graphql-transformer-interfaces';

import { IFunction, ILayerVersion, Runtime } from '@aws-cdk/aws-lambda';
import { CfnResource, Construct, Stack } from '@aws-cdk/core';
import { CfnResource, Construct, Duration, Stack } from '@aws-cdk/core';
import { AppSyncFunctionConfiguration } from './appsync-function';

@@ -52,3 +52,3 @@ import { ElasticsearchDataSource } from './cdk-compat/elasticsearch-datasource';

[key: string]: string;
}, stack?: Stack): IFunction;
}, timeout?: Duration, stack?: Stack): IFunction;
grant(grantee: IGrantable, resources: IamResource, ...actions: string[]): Grant;

@@ -55,0 +55,0 @@ grantQuery(grantee: IGrantable, ...fields: string[]): Grant;

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

}
addLambdaFunction(functionName, functionKey, handlerName, filePath, runtime, layers, role, environment, stack) {
addLambdaFunction(functionName, functionKey, handlerName, filePath, runtime, layers, role, environment, timeout, stack) {
const dummycode = `if __name__ == "__main__":`;

@@ -147,2 +147,3 @@ const fn = new aws_lambda_1.Function(stack || this, functionName, {

environment,
timeout,
});

@@ -149,0 +150,0 @@ fn.addLayers();

{
"name": "@aws-amplify/graphql-transformer-core",
"version": "0.6.3",
"version": "0.7.0-beta.0",
"description": "A framework to transform from GraphQL SDL to AWS CloudFormation.",

@@ -29,3 +29,3 @@ "repository": {

"dependencies": {
"@aws-amplify/graphql-transformer-interfaces": "1.6.1",
"@aws-amplify/graphql-transformer-interfaces": "1.7.0-beta.0",
"@aws-cdk/assets": "~1.72.0",

@@ -86,3 +86,3 @@ "@aws-cdk/aws-applicationautoscaling": "~1.72.0",

},
"gitHead": "28d5a4797b556eb6ae15cb3e6682420d20b1b283"
"gitHead": "a4fd5c2e0d7ffb91bfecf60785422c0c18329837"
}

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