Socket
Socket
Sign inDemoInstall

postgraphile-core

Package Overview
Dependencies
77
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.12.1 to 4.12.2

15

node8plus/index.js

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

};
exports.getPostGraphileBuilder = async (pgConfig, schemas, options = {}) => {
const getPostGraphileBuilder = async (pgConfig, schemas, options = {}) => {
// @ts-ignore Deprecated, doesn't exist on types, checking in JS only

@@ -202,3 +202,3 @@ if (options.inflector) {

const finalPluginList = basePluginList.filter(p => skipPlugins.indexOf(p) === -1);
return graphile_build_1.getBuilder(finalPluginList, Object.assign(Object.assign({ pgConfig, pgSchemas: Array.isArray(schemas) ? schemas : [schemas], pgExtendedTypes: !!dynamicJson, pgColumnFilter: pgColumnFilter || (() => true), pgInflection: inflector ||
return (0, graphile_build_1.getBuilder)(finalPluginList, Object.assign(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, 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,

@@ -216,2 +216,3 @@ /*

};
exports.getPostGraphileBuilder = getPostGraphileBuilder;
function abort(e) {

@@ -224,5 +225,5 @@ // eslint-disable-next-line no-console

}
exports.createPostGraphileSchema = async (pgConfig, schemas, options = {}) => {
const createPostGraphileSchema = async (pgConfig, schemas, options = {}) => {
let writeCache;
const builder = await exports.getPostGraphileBuilder(pgConfig, schemas, Object.assign(Object.assign({}, options), { setWriteCacheCallback(fn) {
const builder = await (0, exports.getPostGraphileBuilder)(pgConfig, schemas, Object.assign(Object.assign({}, options), { setWriteCacheCallback(fn) {
writeCache = fn;

@@ -236,6 +237,7 @@ } }));

};
exports.createPostGraphileSchema = createPostGraphileSchema;
/*
* Unless an error occurs, `onNewSchema` is guaranteed to be called before this promise resolves
*/
exports.watchPostGraphileSchema = async (pgConfig, schemas, options = {}, onNewSchema) => {
const watchPostGraphileSchema = async (pgConfig, schemas, options = {}, onNewSchema) => {
if (typeof onNewSchema !== "function") {

@@ -248,3 +250,3 @@ throw new Error("You cannot call watchPostGraphileSchema without a function to pass new schemas to");

let writeCache;
const builder = await exports.getPostGraphileBuilder(pgConfig, schemas, Object.assign(Object.assign({}, options), { setWriteCacheCallback(fn) {
const builder = await (0, exports.getPostGraphileBuilder)(pgConfig, schemas, Object.assign(Object.assign({}, options), { setWriteCacheCallback(fn) {
writeCache = fn;

@@ -268,2 +270,3 @@ } }));

};
exports.watchPostGraphileSchema = watchPostGraphileSchema;
// Backwards compat

@@ -270,0 +273,0 @@ exports.postGraphQLBaseOverrides = exports.postGraphileBaseOverrides;

8

package.json
{
"name": "postgraphile-core",
"version": "4.12.1",
"version": "4.12.2",
"description": "",

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

"dependencies": {
"graphile-build": "4.12.0",
"graphile-build-pg": "4.12.1",
"graphile-build": "4.12.2",
"graphile-build-pg": "4.12.2",
"tslib": "^2.0.1"

@@ -50,3 +50,3 @@ },

},
"gitHead": "8be64bad5c217953c7d3ad6dad7a71ac6c3b7475"
"gitHead": "b8d305151948a8d9004eb21058a3230be8f3c560"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc