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

@graphile-contrib/pg-many-to-many

Package Overview
Dependencies
Maintainers
4
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphile-contrib/pg-many-to-many - npm Package Compare versions

Comparing version 2.0.0-beta.1 to 2.0.0-beta.2

8

dist/createManyToManyConnectionType.js

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

} = relationship;
const { inflection, graphql: { GraphQLNonNull, GraphQLList }, grafast: { ConnectionStep, EdgeStep }, getTypeByName, options: { pgForbidSetofFunctionsToReturnNull = false }, nullableIf, } = build;
const { inflection, graphql: { GraphQLNonNull, GraphQLList }, grafast: { ConnectionStep, assertEdgeCapableStep }, getTypeByName, options: { pgForbidSetofFunctionsToReturnNull = false }, nullableIf, } = build;
const leftTableTypeName = inflection.tableType(leftTable.codec);

@@ -29,7 +29,3 @@ const junctionTypeName = inflection.tableType(junctionTable.codec);

}, () => ({
assertStep($step) {
if (!($step instanceof EdgeStep)) {
throw new Error(`Expected ${$step} to be an EdgeStep`);
}
},
assertStep: assertEdgeCapableStep,
description: `A \`${rightTableTypeName}\` edge in the connection, with data from \`${junctionTypeName}\`.`,

@@ -36,0 +32,0 @@ fields: ({ fieldWithHooks }) => {

{
"name": "@graphile-contrib/pg-many-to-many",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "Add connection fields for many-to-many relations",

@@ -23,6 +23,13 @@ "main": "dist/index.js",

"devDependencies": {
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@babel/preset-env": "^7.23.5",
"@babel/preset-typescript": "^7.23.3",
"@dataplan/pg": "^0.0.1-beta.1",
"@tsconfig/node16": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-graphile-export": "^0.0.2-beta.3",
"eslint-plugin-jest": "^27.1.5",

@@ -29,0 +36,0 @@ "eslint-plugin-prettier": "^4.2.1",

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