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

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

2

node8plus/index.d.ts

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

ignoreRBAC?: boolean;
legacyFunctionsOnly?: boolean;
ignoreIndexes?: boolean;
}

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

8

node8plus/index.js

@@ -74,4 +74,6 @@ "use strict";

inflector, // NO LONGER SUPPORTED!
pgColumnFilter, viewUniqueKey, enableTags = true, readCache, writeCache, setWriteCacheCallback, legacyRelations = "deprecated", // TODO: Change to 'omit' in v5
setofFunctionsContainNulls = true, legacyJsonUuid = false, simpleCollections = "omit", includeExtensionResources = false, ignoreRBAC = true, } = options;
pgColumnFilter, viewUniqueKey, enableTags = true, readCache, writeCache, setWriteCacheCallback, legacyRelations = "deprecated", // TODO:v5: Change to 'omit' in v5
setofFunctionsContainNulls = true, legacyJsonUuid = false, simpleCollections = "omit", includeExtensionResources = false, ignoreRBAC = true, // TODO:v5: Change to 'false' in v5
legacyFunctionsOnly = false, // TODO:v5: Remove in v5
ignoreIndexes = true, } = options;
if (legacyRelations &&

@@ -184,3 +186,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 }, 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 }, graphileBuildOptions, graphqlBuildOptions));
};

@@ -187,0 +189,0 @@ function abort(e) {

{
"name": "postgraphile-core",
"version": "4.1.0-alpha.0",
"version": "4.1.0-alpha.1",
"description": "",

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

"@types/graphql": "^0.13.4",
"graphile-build": "4.1.0-alpha.0",
"graphile-build-pg": "4.1.0-alpha.0"
"graphile-build": "4.1.0-alpha.1",
"graphile-build-pg": "4.1.0-alpha.1"
},

@@ -57,3 +57,3 @@ "devDependencies": {

},
"gitHead": "b737bd393854b5fda265c7b30b916b8608c75c31"
"gitHead": "378bc2eb419ccbbda2643655a34f16aa06b016e6"
}

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