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.1 to 4.3.2-alpha.0

1

node8plus/index.d.ts

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

ignoreIndexes?: boolean;
subscriptions?: boolean;
}

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

@@ -82,3 +82,4 @@ "use strict";

legacyFunctionsOnly = false, // TODO:v5: Remove in v5
ignoreIndexes = true, } = options;
ignoreIndexes = true, // TODO:v5: Change to 'false' in v5
subscriptions = false, } = options;
if (legacyRelations &&

@@ -191,3 +192,12 @@ ["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 }, graphileBuildOptions, graphqlBuildOptions));
(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,
/*
* `subscriptions` acts as a feature flag telling us to fetch all the
* relevant database identifiers. We can't enable this by default in v4
* because it's possible that someone has used column-level select grants
* on a table in their DB but has not granted select access to one of their
* primary key columns. This flag requires that if a table is selectable
* then the PKs must be also.
*/
subscriptions }, graphileBuildOptions, graphqlBuildOptions));
};

@@ -194,0 +204,0 @@ function abort(e) {

9

package.json
{
"name": "postgraphile-core",
"version": "4.3.1",
"version": "4.3.2-alpha.0",
"description": "",

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

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

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

"node": ">=8.6"
},
"gitHead": "255f2aa4456c9130d8565afbd14727bccd07583b"
}
}

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