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

@aws-amplify/graphql-auth-transformer

Package Overview
Dependencies
Maintainers
10
Versions
435
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.2.3 to 3.3.0

6

CHANGELOG.md

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

# [3.3.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-auth-transformer@3.2.3...@aws-amplify/graphql-auth-transformer@3.3.0) (2023-12-06)
### Features
- combine heterogeneous data sources ([#2109](https://github.com/aws-amplify/amplify-category-api/issues/2109)) ([fd58bb5](https://github.com/aws-amplify/amplify-category-api/commit/fd58bb5af4249220d17c9751acf677955aed74ea))
## [3.2.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-auth-transformer@3.2.2...@aws-amplify/graphql-auth-transformer@3.2.3) (2023-11-22)

@@ -8,0 +14,0 @@

2

lib/utils/validations.js

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

const rules = authDir.getArguments({ rules: [] }, (0, graphql_transformer_core_1.generateGetArgumentsInput)(transformParameters)).rules;
if (!isParentTypeBuiltinType && (0, graphql_transformer_core_1.isRDSModel)(context, parent.name.value)) {
if (!isParentTypeBuiltinType && (0, graphql_transformer_core_1.isSqlModel)(context, parent.name.value)) {
throw new graphql_transformer_core_1.InvalidDirectiveError(`@auth rules are not supported on fields on relational database models. Check field "${fieldName}" on type "${parent.name.value}". Please use @auth on the type instead.`);

@@ -68,0 +68,0 @@ }

{
"name": "@aws-amplify/graphql-auth-transformer",
"version": "3.2.3",
"version": "3.3.0",
"description": "Amplify GraphQL @auth transformer",

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

"dependencies": {
"@aws-amplify/graphql-model-transformer": "2.3.3",
"@aws-amplify/graphql-relational-transformer": "2.2.3",
"@aws-amplify/graphql-transformer-core": "2.3.3",
"@aws-amplify/graphql-transformer-interfaces": "3.3.1",
"@aws-amplify/graphql-model-transformer": "2.4.0",
"@aws-amplify/graphql-relational-transformer": "2.3.0",
"@aws-amplify/graphql-transformer-core": "2.4.0",
"@aws-amplify/graphql-transformer-interfaces": "3.3.2",
"graphql": "^15.5.0",
"graphql-mapping-template": "4.20.12",
"graphql-transformer-common": "4.26.2",
"graphql-mapping-template": "4.20.13",
"graphql-transformer-common": "4.27.0",
"lodash": "^4.17.21",

@@ -44,5 +44,5 @@ "md5": "^2.3.0"

"devDependencies": {
"@aws-amplify/graphql-index-transformer": "2.2.3",
"@aws-amplify/graphql-searchable-transformer": "2.3.3",
"@aws-amplify/graphql-transformer-test-utils": "0.3.3",
"@aws-amplify/graphql-index-transformer": "2.3.0",
"@aws-amplify/graphql-searchable-transformer": "2.4.0",
"@aws-amplify/graphql-transformer-test-utils": "0.4.0",
"@types/node": "^12.12.6"

@@ -75,5 +75,9 @@ },

}
}
},
"coverageReporters": [
"clover",
"text"
]
},
"gitHead": "5256b5955ee204dd56f8074a43406852f8206c54"
"gitHead": "6e450d037cf84098b51ce787a99d6023cbc0e39d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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