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

graphql-auth-transformer

Package Overview
Dependencies
Maintainers
2
Versions
995
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-auth-transformer - npm Package Compare versions

Comparing version 1.1.0-alpha.d9d538bd to 1.1.0-alpha.e0406dc1

10

lib/resources.js

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

_a[graphql_transformer_common_1.ResourceConstants.PARAMETERS.AuthCognitoUserPoolName] = new cloudform_1.StringParameter({
Description: 'The name of the AppSync API',
Description: 'The name of the user pool.',
Default: 'AppSyncUserPool'

@@ -203,3 +203,2 @@ }),

return new cognito_1.default.UserPool({
AliasAttributes: ['email'],
UserPoolName: cloudform_1.Fn.Ref(graphql_transformer_common_1.ResourceConstants.PARAMETERS.AuthCognitoUserPoolName),

@@ -216,2 +215,9 @@ Policies: {

},
Schema: [
{
Name: 'email',
Required: true,
Mutable: true
}
],
AutoVerifiedAttributes: ['email']

@@ -218,0 +224,0 @@ }).condition(graphql_transformer_common_1.ResourceConstants.CONDITIONS.AuthShouldCreateUserPool);

12

package.json
{
"name": "graphql-auth-transformer",
"version": "1.1.0-alpha.d9d538bd",
"version": "1.1.0-alpha.e0406dc1",
"description": "Implements the @auth directive for the appsync model transform.",

@@ -21,5 +21,5 @@ "main": "lib/index.js",

"graphql": "^0.13.2",
"graphql-mapping-template": "^1.1.0-alpha.d9d538bd",
"graphql-transformer-common": "^1.1.0-alpha.d9d538bd",
"graphql-transformer-core": "^1.1.0-alpha.d9d538bd"
"graphql-mapping-template": "^1.1.0-alpha.e0406dc1",
"graphql-transformer-common": "^1.1.0-alpha.e0406dc1",
"graphql-transformer-core": "^1.1.0-alpha.e0406dc1"
},

@@ -30,4 +30,4 @@ "devDependencies": {

"@types/node": "^10.3.4",
"graphql-appsync-transformer": "^1.1.0-alpha.d9d538bd",
"graphql-dynamodb-transformer": "^1.1.0-alpha.d9d538bd",
"graphql-appsync-transformer": "^1.1.0-alpha.e0406dc1",
"graphql-dynamodb-transformer": "^1.1.0-alpha.e0406dc1",
"jest": "^23.1.0",

@@ -34,0 +34,0 @@ "ts-jest": "^22.4.6",

@@ -24,3 +24,3 @@ import Template from 'cloudform/types/template'

[ResourceConstants.PARAMETERS.AuthCognitoUserPoolName]: new StringParameter({
Description: 'The name of the AppSync API',
Description: 'The name of the user pool.',
Default: 'AppSyncUserPool'

@@ -136,3 +136,2 @@ }),

return new Cognito.UserPool({
AliasAttributes: ['email'],
UserPoolName: Fn.Ref(ResourceConstants.PARAMETERS.AuthCognitoUserPoolName),

@@ -149,2 +148,9 @@ Policies: {

},
Schema: [
{
Name: 'email',
Required: true,
Mutable: true
}
],
AutoVerifiedAttributes: ['email']

@@ -151,0 +157,0 @@ }).condition(ResourceConstants.CONDITIONS.AuthShouldCreateUserPool)

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