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.4.2 to 4.4.3

3

node8plus/index.d.ts

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

import { Pool, PoolClient } from "pg";
import { SignOptions } from "jsonwebtoken";
export { Plugin, Build, Context, SchemaBuilder, SchemaListener, Inflection, Options, formatSQLForDebugging, };

@@ -31,2 +32,3 @@ export declare type mixed = {} | string | number | boolean | undefined | null;

jwtSecret?: string;
jwtSignOptions?: SignOptions;
/**

@@ -56,2 +58,3 @@ * @deprecated UNSUPPORTED! Use an inflector plugin instead.

ignoreIndexes?: boolean;
hideIndexWarnings?: boolean;
subscriptions?: boolean;

@@ -58,0 +61,0 @@ live?: boolean;

6

node8plus/index.js

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

}
const { dynamicJson, classicIds, nodeIdFieldName, replaceAllPlugins, appendPlugins = [], prependPlugins = [], skipPlugins = [], jwtPgTypeIdentifier, jwtSecret, disableDefaultMutations, graphileBuildOptions, graphqlBuildOptions, // DEPRECATED!
const { dynamicJson, classicIds, nodeIdFieldName, replaceAllPlugins, appendPlugins = [], prependPlugins = [], skipPlugins = [], jwtPgTypeIdentifier, jwtSecret, jwtSignOptions, disableDefaultMutations, graphileBuildOptions, graphqlBuildOptions, // DEPRECATED!
inflector, // NO LONGER SUPPORTED!

@@ -84,3 +84,3 @@ pgColumnFilter, viewUniqueKey, enableTags = true, readCache, writeCache, setWriteCacheCallback, legacyRelations = "deprecated", // TODO:v5: Change to 'omit' in v5

ignoreIndexes = true, // TODO:v5: Change to 'false' in v5
subscriptions: inSubscriptions = false, // TODO:v5: Change to 'true' in v5
hideIndexWarnings = false, subscriptions: inSubscriptions = false, // TODO:v5: Change to 'true' in v5
live = false, ownerConnectionString, } = options;

@@ -195,3 +195,3 @@ const subscriptions = live || inSubscriptions;

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, pgOwnerConnectionString: ownerConnectionString,
(classicIds ? exports.postGraphileClassicIdsInflection : exports.postGraphileInflection), nodeIdFieldName: nodeIdFieldName || (classicIds ? "id" : "nodeId"), pgJwtTypeIdentifier: jwtPgTypeIdentifier, pgJwtSecret: jwtSecret, pgJwtSignOptions: jwtSignOptions, pgDisableDefaultMutations: disableDefaultMutations, pgViewUniqueKey: viewUniqueKey, pgEnableTags: enableTags, pgLegacyRelations: legacyRelations, pgLegacyJsonUuid: legacyJsonUuid, persistentMemoizeWithKey, pgForbidSetofFunctionsToReturnNull: !setofFunctionsContainNulls, pgSimpleCollections: simpleCollections, pgIncludeExtensionResources: includeExtensionResources, pgIgnoreRBAC: ignoreRBAC, pgLegacyFunctionsOnly: legacyFunctionsOnly, pgIgnoreIndexes: ignoreIndexes, pgHideIndexWarnings: hideIndexWarnings, pgOwnerConnectionString: ownerConnectionString,
/*

@@ -198,0 +198,0 @@ * `subscriptions` acts as a feature flag telling us to fetch all the

{
"name": "postgraphile-core",
"version": "4.4.2",
"version": "4.4.3",
"description": "",

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

"@types/graphql": "^14.2.0",
"graphile-build": "4.4.2",
"graphile-build-pg": "4.4.2"
"graphile-build": "4.4.3",
"graphile-build-pg": "4.4.3"
},

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

},
"gitHead": "c7a49f872fa36236ac0ba6d3715c40790996be99"
"gitHead": "0382e5c16fb5498b5284cbdb95f06f81bf2e762b"
}

@@ -14,2 +14,23 @@ # postgraphile-core

<!-- SPONSORS_BEGIN -->
## Crowd-funded open-source software
To help us develop this software sustainably under the MIT license, we ask
all individuals and businesses that use it to help support its ongoing
maintenance and development via sponsorship.
### [Click here to find out more about sponsors and sponsorship.](https://www.graphile.org/sponsor/)
And please give some love to our featured sponsors 🤩:
<table><tr>
<td align="center"><a href="http://chads.website/"><img src="https://www.graphile.org/images/sponsors/chadf.png" width="90" height="90" alt="Chad Furman" /><br />Chad Furman</a></td>
<td align="center"><a href="https://timescale.com/"><img src="https://www.graphile.org/images/sponsors/timescale.svg" width="90" height="90" alt="Timescale" /><br />Timescale</a></td>
</tr></table>
<!-- SPONSORS_END -->
## Should you be here?
Unless you want to use the low-level API you probably want to go to the

@@ -16,0 +37,0 @@ PostGraphile (previously 'PostGraphQL') repository instead:

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