Socket
Socket
Sign inDemoInstall

graphql-mapping-template

Package Overview
Dependencies
Maintainers
11
Versions
633
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-mapping-template - npm Package Compare versions

Comparing version 4.20.16-iam-auth-with-identityPool-provider-1.0 to 4.20.16

15

API.md

@@ -140,3 +140,3 @@ ## API Report File for "graphql-mapping-template"

// @public (undocumented)
export type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;
export type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | GreaterThanNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;

@@ -170,2 +170,15 @@ // @public (undocumented)

// @public (undocumented)
export function greaterThan(leftExpr: Expression, rightExpr: Expression): GreaterThanNode;
// @public (undocumented)
export interface GreaterThanNode {
// (undocumented)
kind: 'GreaterThan';
// (undocumented)
leftExpr: Expression;
// (undocumented)
rightExpr: Expression;
}
// @public (undocumented)
export class HttpMappingTemplate {

@@ -172,0 +185,0 @@ // (undocumented)

6

CHANGELOG.md

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

## [4.20.16-iam-auth-with-identityPool-provider-1.0](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.15...graphql-mapping-template@4.20.16-iam-auth-with-identityPool-provider-1.0) (2024-03-15)
## [4.20.16](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.15...graphql-mapping-template@4.20.16) (2024-04-26)
**Note:** Version bump only for package graphql-mapping-template
### Bug Fixes
- ddb references hasOne returns record if multiple exist ([#2497](https://github.com/aws-amplify/amplify-category-api/issues/2497)) ([c105138](https://github.com/aws-amplify/amplify-category-api/commit/c1051384780c732ea2ddb98301994bda55bb62d9))
## [4.20.15](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.14...graphql-mapping-template@4.20.15) (2024-02-28)

@@ -12,0 +14,0 @@

@@ -43,2 +43,8 @@ export interface IfNode {

export declare function notEquals(leftExpr: Expression, rightExpr: Expression): NotEqualsNode;
export interface GreaterThanNode {
kind: 'GreaterThan';
leftExpr: Expression;
rightExpr: Expression;
}
export declare function greaterThan(leftExpr: Expression, rightExpr: Expression): GreaterThanNode;
export interface NotNode {

@@ -151,3 +157,3 @@ kind: 'Not';

export declare function methodCall(methodName: ReferenceNode, ...params: Expression[]): CompoundExpressionNode;
export type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;
export type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | GreaterThanNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;
//# sourceMappingURL=ast.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.methodCall = exports.block = exports.newline = exports.isNullOrEmpty = exports.toJson = exports.compoundExpression = exports.comment = exports.set = exports.list = exports.obj = exports.qref = exports.ref = exports.nul = exports.bool = exports.int = exports.float = exports.quotes = exports.raw = exports.str = exports.forEach = exports.ret = exports.not = exports.notEquals = exports.equals = exports.parens = exports.or = exports.and = exports.ifElse = exports.iff = void 0;
exports.methodCall = exports.block = exports.newline = exports.isNullOrEmpty = exports.toJson = exports.compoundExpression = exports.comment = exports.set = exports.list = exports.obj = exports.qref = exports.ref = exports.nul = exports.bool = exports.int = exports.float = exports.quotes = exports.raw = exports.str = exports.forEach = exports.ret = exports.not = exports.greaterThan = exports.notEquals = exports.equals = exports.parens = exports.or = exports.and = exports.ifElse = exports.iff = void 0;
function iff(predicate, expr, inline) {

@@ -60,2 +60,10 @@ return {

exports.notEquals = notEquals;
function greaterThan(leftExpr, rightExpr) {
return {
kind: 'GreaterThan',
leftExpr,
rightExpr,
};
}
exports.greaterThan = greaterThan;
function not(expr) {

@@ -62,0 +70,0 @@ return {

@@ -34,2 +34,5 @@ "use strict";

}
function printGreaterThan(node, indent = '') {
return `${indent}${printExpr(node.leftExpr)} > ${printExpr(node.rightExpr)}`;
}
function printNotEquals(node, indent = '') {

@@ -133,2 +136,4 @@ return `${indent}${printExpr(node.leftExpr)} != ${printExpr(node.rightExpr)}`;

return printNotEquals(expr, indent);
case 'GreaterThan':
return printGreaterThan(expr, indent);
case 'ForEach':

@@ -135,0 +140,0 @@ return printForEach(expr, indent);

{
"name": "graphql-mapping-template",
"version": "4.20.16-iam-auth-with-identityPool-provider-1.0",
"version": "4.20.16",
"description": "An AST wrapper around AWS AppSync resolvers",

@@ -45,4 +45,4 @@ "repository": {

"global": {
"branches": 60,
"functions": 32,
"branches": 59,
"functions": 31,
"lines": 50

@@ -62,3 +62,3 @@ }

},
"gitHead": "dafa4bb5ea5cec5dc90b722bf138064897f4f24a"
"gitHead": "ef703418f9e1b9af08a746c602bc67ee1d3baaab"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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