Socket
Socket
Sign inDemoInstall

postgraphile-core

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postgraphile-core - npm Package Compare versions

Comparing version 4.3.2-alpha.0 to 4.3.2-alpha.2

2

node8plus/index.d.ts

@@ -36,2 +36,4 @@ import { Plugin, Options, SchemaListener, Build, Context, SchemaBuilder, Inflection } from "graphile-build";

subscriptions?: boolean;
live?: boolean;
ownerConnectionString?: string;
}

@@ -38,0 +40,0 @@ declare type PgConfig = Client | Pool | string;

9

node8plus/index.js

@@ -83,3 +83,5 @@ "use strict";

ignoreIndexes = true, // TODO:v5: Change to 'false' in v5
subscriptions = false, } = options;
subscriptions: inSubscriptions = false, // TODO:v5: Change to 'true' in v5
live = false, ownerConnectionString, } = options;
const subscriptions = live || inSubscriptions;
if (legacyRelations &&

@@ -192,3 +194,3 @@ ["only", "deprecated", "omit"].indexOf(legacyRelations) < 0) {

return graphile_build_1.getBuilder(finalPluginList, Object.assign({ pgConfig, pgSchemas: Array.isArray(schemas) ? schemas : [schemas], pgExtendedTypes: !!dynamicJson, pgColumnFilter: pgColumnFilter || (() => true), pgInflection: inflector ||
(classicIds ? exports.postGraphileClassicIdsInflection : exports.postGraphileInflection), nodeIdFieldName: nodeIdFieldName || (classicIds ? "id" : "nodeId"), pgJwtTypeIdentifier: jwtPgTypeIdentifier, pgJwtSecret: jwtSecret, pgDisableDefaultMutations: disableDefaultMutations, pgViewUniqueKey: viewUniqueKey, pgEnableTags: enableTags, pgLegacyRelations: legacyRelations, pgLegacyJsonUuid: legacyJsonUuid, persistentMemoizeWithKey, pgForbidSetofFunctionsToReturnNull: !setofFunctionsContainNulls, pgSimpleCollections: simpleCollections, pgIncludeExtensionResources: includeExtensionResources, pgIgnoreRBAC: ignoreRBAC, pgLegacyFunctionsOnly: legacyFunctionsOnly, pgIgnoreIndexes: ignoreIndexes,
(classicIds ? exports.postGraphileClassicIdsInflection : exports.postGraphileInflection), nodeIdFieldName: nodeIdFieldName || (classicIds ? "id" : "nodeId"), pgJwtTypeIdentifier: jwtPgTypeIdentifier, pgJwtSecret: jwtSecret, pgDisableDefaultMutations: disableDefaultMutations, pgViewUniqueKey: viewUniqueKey, pgEnableTags: enableTags, pgLegacyRelations: legacyRelations, pgLegacyJsonUuid: legacyJsonUuid, persistentMemoizeWithKey, pgForbidSetofFunctionsToReturnNull: !setofFunctionsContainNulls, pgSimpleCollections: simpleCollections, pgIncludeExtensionResources: includeExtensionResources, pgIgnoreRBAC: ignoreRBAC, pgLegacyFunctionsOnly: legacyFunctionsOnly, pgIgnoreIndexes: ignoreIndexes, pgOwnerConnectionString: ownerConnectionString,
/*

@@ -202,3 +204,4 @@ * `subscriptions` acts as a feature flag telling us to fetch all the

*/
subscriptions }, graphileBuildOptions, graphqlBuildOptions));
subscriptions,
live }, graphileBuildOptions, graphqlBuildOptions));
};

@@ -205,0 +208,0 @@ function abort(e) {

{
"name": "postgraphile-core",
"version": "4.3.2-alpha.0",
"version": "4.3.2-alpha.2",
"description": "",

@@ -24,4 +24,4 @@ "main": "node8plus/index.js",

"@types/graphql": "^14.0.3",
"graphile-build": "4.3.2-alpha.0",
"graphile-build-pg": "4.3.2-alpha.0"
"graphile-build": "4.3.2-alpha.2",
"graphile-build-pg": "4.3.2-alpha.2"
},

@@ -56,3 +56,4 @@ "devDependencies": {

"node": ">=8.6"
}
},
"gitHead": "f4f2765fd82939b32b7f73d55416660411549168"
}

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