Socket
Socket
Sign inDemoInstall

graphile-build-pg

Package Overview
Dependencies
Maintainers
1
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphile-build-pg - npm Package Compare versions

Comparing version 5.0.0-beta.19 to 5.0.0-beta.20

dist/plugins/PgLtreePlugin.d.ts

1

dist/index.d.ts

@@ -19,2 +19,3 @@ import type { PgRegistry } from "@dataplan/pg";

export { PgJWTPlugin } from "./plugins/PgJWTPlugin.js";
export { PgLtreePlugin } from "./plugins/PgLtreePlugin.js";
export { PgMutationCreatePlugin } from "./plugins/PgMutationCreatePlugin.js";

@@ -21,0 +22,0 @@ export { PgMutationPayloadEdgePlugin } from "./plugins/PgMutationPayloadEdgePlugin.js";

4

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.withPgClientFromPgService = exports.getWithPgClientFromPgService = exports.version = exports.parseDatabaseIdentifiers = exports.parseDatabaseIdentifier = exports.addBehaviorToTags = exports.defaultPreset = exports.PgTypesPlugin = exports.PgTablesPlugin = exports.PgTableNodePlugin = exports.PgRowByUniquePlugin = exports.PgRelationsPlugin = exports.PgRegistryPlugin = exports.PgRBACPlugin = exports.PgProceduresPlugin = exports.PgPolymorphismPlugin = exports.PgOrderCustomFieldsPlugin = exports.PgOrderByPrimaryKeyPlugin = exports.PgOrderAllAttributesPlugin = exports.PgNodeIdAttributesPlugin = exports.PgMutationUpdateDeletePlugin = exports.PgMutationPayloadEdgePlugin = exports.PgMutationCreatePlugin = exports.PgJWTPlugin = exports.PgIntrospectionPlugin = exports.PgInterfaceModeUnionAllRowsPlugin = exports.PgFirstLastBeforeAfterArgsPlugin = exports.PgFakeConstraintsPlugin = exports.PgEnumTablesPlugin = exports.PgCustomTypeFieldPlugin = exports.PgConnectionTotalCountPlugin = exports.PgConnectionArgOrderByPlugin = exports.PgConnectionArgOrderByDefaultValuePlugin = exports.PgConditionCustomFieldsPlugin = exports.PgConditionArgumentPlugin = exports.PgCodecsPlugin = exports.PgBasicsPlugin = exports.PgAttributesPlugin = exports.PgAttributeDeprecationPlugin = exports.PgAllRowsPlugin = void 0;
exports.withPgClientFromPgService = exports.getWithPgClientFromPgService = exports.version = exports.parseDatabaseIdentifiers = exports.parseDatabaseIdentifier = exports.addBehaviorToTags = exports.defaultPreset = exports.PgTypesPlugin = exports.PgTablesPlugin = exports.PgTableNodePlugin = exports.PgRowByUniquePlugin = exports.PgRelationsPlugin = exports.PgRegistryPlugin = exports.PgRBACPlugin = exports.PgProceduresPlugin = exports.PgPolymorphismPlugin = exports.PgOrderCustomFieldsPlugin = exports.PgOrderByPrimaryKeyPlugin = exports.PgOrderAllAttributesPlugin = exports.PgNodeIdAttributesPlugin = exports.PgMutationUpdateDeletePlugin = exports.PgMutationPayloadEdgePlugin = exports.PgMutationCreatePlugin = exports.PgLtreePlugin = exports.PgJWTPlugin = exports.PgIntrospectionPlugin = exports.PgInterfaceModeUnionAllRowsPlugin = exports.PgFirstLastBeforeAfterArgsPlugin = exports.PgFakeConstraintsPlugin = exports.PgEnumTablesPlugin = exports.PgCustomTypeFieldPlugin = exports.PgConnectionTotalCountPlugin = exports.PgConnectionArgOrderByPlugin = exports.PgConnectionArgOrderByDefaultValuePlugin = exports.PgConditionCustomFieldsPlugin = exports.PgConditionArgumentPlugin = exports.PgCodecsPlugin = exports.PgBasicsPlugin = exports.PgAttributesPlugin = exports.PgAttributeDeprecationPlugin = exports.PgAllRowsPlugin = void 0;
var PgAllRowsPlugin_js_1 = require("./plugins/PgAllRowsPlugin.js");

@@ -38,2 +38,4 @@ Object.defineProperty(exports, "PgAllRowsPlugin", { enumerable: true, get: function () { return PgAllRowsPlugin_js_1.PgAllRowsPlugin; } });

Object.defineProperty(exports, "PgJWTPlugin", { enumerable: true, get: function () { return PgJWTPlugin_js_1.PgJWTPlugin; } });
var PgLtreePlugin_js_1 = require("./plugins/PgLtreePlugin.js");
Object.defineProperty(exports, "PgLtreePlugin", { enumerable: true, get: function () { return PgLtreePlugin_js_1.PgLtreePlugin; } });
var PgMutationCreatePlugin_js_1 = require("./plugins/PgMutationCreatePlugin.js");

@@ -40,0 +42,0 @@ Object.defineProperty(exports, "PgMutationCreatePlugin", { enumerable: true, get: function () { return PgMutationCreatePlugin_js_1.PgMutationCreatePlugin; } });

@@ -47,2 +47,8 @@ import type { PgCodec, PgCodecAnyScalar, PgCodecAttribute, PgEnumCodec, PgRecordTypeCodecSpec } from "@dataplan/pg";

interface GatherHooks {
pgCodecs_findPgCodec(event: {
serviceName: string;
pgCodec: PgCodec | null;
pgType: PgType;
typeModifier: string | number | null | undefined;
}): Promise<void> | void;
pgCodecs_PgCodec(event: {

@@ -49,0 +55,0 @@ serviceName: string;

@@ -220,2 +220,4 @@ "use strict";

const sqlIdent = info.helpers.pgBasics.identifier(nspName, className);
(0, utils_js_1.exportNameHint)(sqlIdent, `${codecName}Identifier`);
(0, utils_js_1.exportNameHint)(attributes, `${codecName}Attributes`);
const spec = (0, graphile_build_1.EXPORTABLE)((attributes, codecName, description, executor, extensions, sqlIdent) => ({

@@ -235,3 +237,3 @@ name: codecName,

sqlIdent,
]);
], `${codecName}CodecSpec`);
await info.process("pgCodecs_recordType_spec", {

@@ -242,3 +244,3 @@ serviceName,

});
const codec = (0, graphile_build_1.EXPORTABLE)((recordCodec, spec) => recordCodec(spec), [pg_1.recordCodec, spec]);
const codec = (0, graphile_build_1.EXPORTABLE)((recordCodec, spec) => recordCodec(spec), [pg_1.recordCodec, spec], `${spec.name}Codec`);
await info.process("pgCodecs_PgCodec", {

@@ -269,8 +271,2 @@ pgCodec: codec,

}
const citextExt = await info.helpers.pgIntrospection.getExtensionByName(serviceName, "citext");
const hstoreExt = await info.helpers.pgIntrospection.getExtensionByName(serviceName, "hstore");
const pgCatalog = await info.helpers.pgIntrospection.getNamespaceByName(serviceName, "pg_catalog");
if (!pgCatalog) {
return null;
}
// Class types are handled via getCodecFromClass (they have to add attributes)

@@ -280,33 +276,208 @@ if (type.typtype === "c") {

}
const codec = await (async () => {
const namespace = await info.helpers.pgIntrospection.getNamespace(serviceName, type.typnamespace);
if (!namespace) {
throw new Error(`Could not get namespace '${type.typnamespace}'`);
}
const namespaceName = namespace.nspname;
// For the standard pg_catalog types, we have standard handling.
// (In v4 we used OIDs for this, but using the name is safer for PostgreSQL-likes.)
if (type.typnamespace == pgCatalog._id) {
const knownType = (0, pg_1.getCodecByPgCatalogTypeName)(type.typname);
if (knownType) {
return knownType;
}
}
if (type.typname === "citext" &&
type.typnamespace === citextExt?.extnamespace) {
return pg_1.TYPES.citext;
}
else if (type.typname === "hstore" &&
type.typnamespace === hstoreExt?.extnamespace) {
return pg_1.TYPES.hstore;
}
// Enum type
if (type.typtype === "e") {
const enumValues = await info.helpers.pgIntrospection.getEnumsForType(serviceName, type._id);
const typeName = type.typname;
const codecName = info.inflection.typeCodecName({
pgType: type,
const event = {
pgCodec: null,
pgType: type,
typeModifier,
serviceName,
};
await info.process("pgCodecs_findPgCodec", event);
if (event.pgCodec) {
const codec = event.pgCodec;
// Be careful not to call this for class codecs!
await info.process("pgCodecs_PgCodec", {
pgCodec: codec,
pgType: type,
serviceName,
});
return codec;
}
else {
console.dir(event);
console.warn(`Could not build PgCodec for '${type.getNamespace()?.nspname ?? "??"}.${type.typname}'; maybe you need a plugin implementing gather.hooks.pgCodecs_findPgCodec to add support.`);
return null;
}
})();
map.set(typeId, promise);
return promise;
},
},
hooks: {
async pgCodecs_findPgCodec(info, event) {
if (event.pgCodec) {
// Another plugin has already supplied a codec; skip
return;
}
const { serviceName, pgType: type, typeModifier } = event;
const namespace = type.getNamespace();
if (!namespace) {
throw new Error(`Could not get namespace '${type.typnamespace}'`);
}
const namespaceName = namespace.nspname;
const pgCatalog = await info.helpers.pgIntrospection.getNamespaceByName(serviceName, "pg_catalog");
if (!pgCatalog) {
return;
}
// For the standard pg_catalog types, we have standard handling.
// (In v4 we used OIDs for this, but using the name is safer for PostgreSQL-likes.)
if (type.typnamespace == pgCatalog._id) {
const knownType = (0, pg_1.getCodecByPgCatalogTypeName)(type.typname);
if (knownType) {
event.pgCodec = knownType;
return;
}
}
const citextExt = await info.helpers.pgIntrospection.getExtensionByName(serviceName, "citext");
const hstoreExt = await info.helpers.pgIntrospection.getExtensionByName(serviceName, "hstore");
if (type.typname === "citext" &&
type.typnamespace === citextExt?.extnamespace) {
event.pgCodec = pg_1.TYPES.citext;
return;
}
else if (type.typname === "hstore" &&
type.typnamespace === hstoreExt?.extnamespace) {
event.pgCodec = pg_1.TYPES.hstore;
return;
}
// Enum type
if (type.typtype === "e") {
const enumValues = await info.helpers.pgIntrospection.getEnumsForType(serviceName, type._id);
const typeName = type.typname;
const codecName = info.inflection.typeCodecName({
pgType: type,
serviceName,
});
const enumLabels = enumValues.map((e) => e.enumlabel);
const { tags, description } = type.getTagsAndDescription();
const extensions = {
oid: type._id,
pg: {
serviceName,
schemaName: type.getNamespace().nspname,
name: type.typname,
},
tags,
};
await info.process("pgCodecs_enumType_extensions", {
serviceName,
pgType: type,
extensions,
});
const sqlIdent = info.helpers.pgBasics.identifier(namespaceName, typeName);
event.pgCodec = (0, graphile_build_1.EXPORTABLE)((codecName, description, enumCodec, enumLabels, extensions, sqlIdent) => enumCodec({
name: codecName,
identifier: sqlIdent,
values: enumLabels,
description,
extensions,
}), [
codecName,
description,
pg_1.enumCodec,
enumLabels,
extensions,
sqlIdent,
], `${codecName}Codec`);
return;
}
// Range type
if (type.typtype === "r") {
const range = await info.helpers.pgIntrospection.getRangeByType(serviceName, type._id);
if (!range) {
throw new Error(`Failed to get range entry related to '${type._id}'`);
}
const innerCodec = (await info.helpers.pgCodecs.getCodecFromType(serviceName, range.rngsubtype));
const namespaceName = namespace.nspname;
const typeName = type.typname;
if (!innerCodec) {
console.warn(`PgCodec could not build codec for '${namespaceName}.${typeName}', we don't know how to process the subtype`);
return;
}
const codecName = info.inflection.typeCodecName({
pgType: type,
serviceName,
});
const { tags, description } = type.getTagsAndDescription();
const extensions = {
oid: type._id,
pg: {
serviceName,
schemaName: type.getNamespace().nspname,
name: type.typname,
},
tags,
};
await info.process("pgCodecs_rangeOfCodec_extensions", {
serviceName,
pgType: type,
innerCodec,
extensions,
});
const sqlIdent = info.helpers.pgBasics.identifier(namespaceName, typeName);
event.pgCodec = (0, graphile_build_1.EXPORTABLE)((codecName, description, extensions, innerCodec, rangeOfCodec, sqlIdent) => rangeOfCodec(innerCodec, codecName, sqlIdent, {
description,
extensions,
}), [
codecName,
description,
extensions,
innerCodec,
pg_1.rangeOfCodec,
sqlIdent,
], `${codecName}Codec`);
return;
}
// Domains are wrappers under an underlying type
if (type.typtype === "d") {
const { typnotnull: notNull, typbasetype: baseTypeOid, typtypmod: baseTypeModifier, typndims: _numberOfArrayDimensions, typcollation: _domainCollation, typdefaultbin: _defaultValueNodeTree, } = type;
const innerCodec = baseTypeOid
? await info.helpers.pgCodecs.getCodecFromType(serviceName, baseTypeOid, baseTypeModifier)
: null;
const namespaceName = namespace.nspname;
const typeName = type.typname;
if (innerCodec) {
const { tags, description } = type.getTagsAndDescription();
const extensions = {
oid: type._id,
pg: {
serviceName,
});
const enumLabels = enumValues.map((e) => e.enumlabel);
schemaName: type.getNamespace().nspname,
name: type.typname,
},
tags,
};
await info.process("pgCodecs_domainOfCodec_extensions", {
serviceName,
pgType: type,
innerCodec,
extensions,
});
const codecName = info.inflection.typeCodecName({
pgType: type,
serviceName,
});
const sqlIdent = info.helpers.pgBasics.identifier(namespaceName, typeName);
(0, utils_js_1.exportNameHint)(sqlIdent, `${codecName}Identifier`);
event.pgCodec = (0, graphile_build_1.EXPORTABLE)((codecName, description, domainOfCodec, extensions, innerCodec, notNull, sqlIdent) => domainOfCodec(innerCodec, codecName, sqlIdent, {
description,
extensions,
notNull,
}), [
codecName,
description,
pg_1.domainOfCodec,
extensions,
innerCodec,
notNull,
sqlIdent,
], `${codecName}Codec`);
return;
}
}
// Array types are just listOfCodec() of their inner type
if (type.typcategory === "A") {
const innerType = await info.helpers.pgIntrospection.getTypeByArray(serviceName, type._id);
if (innerType) {
const innerCodec = (await info.helpers.pgCodecs.getCodecFromType(serviceName, innerType._id, typeModifier));
if (innerCodec) {
const typeDelim = innerType.typdelim;
const { tags, description } = type.getTagsAndDescription();

@@ -322,178 +493,32 @@ const extensions = {

};
await info.process("pgCodecs_enumType_extensions", {
await info.process("pgCodecs_listOfCodec_extensions", {
serviceName,
pgType: type,
innerCodec,
extensions,
});
const sqlIdent = info.helpers.pgBasics.identifier(namespaceName, typeName);
return (0, graphile_build_1.EXPORTABLE)((codecName, description, enumCodec, enumLabels, extensions, sqlIdent) => enumCodec({
name: codecName,
identifier: sqlIdent,
values: enumLabels,
description,
extensions,
}), [
codecName,
description,
pg_1.enumCodec,
enumLabels,
extensions,
sqlIdent,
]);
}
// Range type
if (type.typtype === "r") {
const range = await info.helpers.pgIntrospection.getRangeByType(serviceName, type._id);
if (!range) {
throw new Error(`Failed to get range entry related to '${type._id}'`);
}
const innerCodec = (await info.helpers.pgCodecs.getCodecFromType(serviceName, range.rngsubtype));
const namespaceName = namespace.nspname;
const typeName = type.typname;
if (!innerCodec) {
console.warn(`PgCodec could not build codec for '${namespaceName}.${typeName}', we don't know how to process the subtype`);
return null;
}
const codecName = info.inflection.typeCodecName({
const name = info.inflection.typeCodecName({
pgType: type,
serviceName,
});
const { tags, description } = type.getTagsAndDescription();
const extensions = {
oid: type._id,
pg: {
serviceName,
schemaName: type.getNamespace().nspname,
name: type.typname,
},
tags,
};
await info.process("pgCodecs_rangeOfCodec_extensions", {
serviceName,
pgType: type,
innerCodec,
(0, utils_js_1.exportNameHint)(extensions, `${name}CodecExtensions`);
event.pgCodec = (0, graphile_build_1.EXPORTABLE)((description, extensions, innerCodec, listOfCodec, name, typeDelim) => listOfCodec(innerCodec, {
extensions,
});
const sqlIdent = info.helpers.pgBasics.identifier(namespaceName, typeName);
return (0, graphile_build_1.EXPORTABLE)((codecName, description, extensions, innerCodec, rangeOfCodec, sqlIdent) => rangeOfCodec(innerCodec, codecName, sqlIdent, {
typeDelim,
description,
extensions,
name,
}), [
codecName,
description,
extensions,
innerCodec,
pg_1.rangeOfCodec,
sqlIdent,
]);
pg_1.listOfCodec,
name,
typeDelim,
], `${name}Codec`);
return;
}
// Domains are wrappers under an underlying type
if (type.typtype === "d") {
const { typnotnull: notNull, typbasetype: baseTypeOid, typtypmod: baseTypeModifier, typndims: _numberOfArrayDimensions, typcollation: _domainCollation, typdefaultbin: _defaultValueNodeTree, } = type;
const innerCodec = baseTypeOid
? await info.helpers.pgCodecs.getCodecFromType(serviceName, baseTypeOid, baseTypeModifier)
: null;
const namespaceName = namespace.nspname;
const typeName = type.typname;
if (innerCodec) {
const { tags, description } = type.getTagsAndDescription();
const extensions = {
oid: type._id,
pg: {
serviceName,
schemaName: type.getNamespace().nspname,
name: type.typname,
},
tags,
};
await info.process("pgCodecs_domainOfCodec_extensions", {
serviceName,
pgType: type,
innerCodec,
extensions,
});
const codecName = info.inflection.typeCodecName({
pgType: type,
serviceName,
});
const sqlIdent = info.helpers.pgBasics.identifier(namespaceName, typeName);
return (0, graphile_build_1.EXPORTABLE)((codecName, description, domainOfCodec, extensions, innerCodec, notNull, sqlIdent) => domainOfCodec(innerCodec, codecName, sqlIdent, {
description,
extensions,
notNull,
}), [
codecName,
description,
pg_1.domainOfCodec,
extensions,
innerCodec,
notNull,
sqlIdent,
]);
}
}
// Array types are just listOfCodec() of their inner type
if (type.typcategory === "A") {
const innerType = await info.helpers.pgIntrospection.getTypeByArray(serviceName, type._id);
if (innerType) {
const innerCodec = (await info.helpers.pgCodecs.getCodecFromType(serviceName, innerType._id, typeModifier));
if (innerCodec) {
const typeDelim = innerType.typdelim;
const { tags, description } = type.getTagsAndDescription();
const extensions = {
oid: type._id,
pg: {
serviceName,
schemaName: type.getNamespace().nspname,
name: type.typname,
},
tags,
};
await info.process("pgCodecs_listOfCodec_extensions", {
serviceName,
pgType: type,
innerCodec,
extensions,
});
const name = info.inflection.typeCodecName({
pgType: type,
serviceName,
});
return (0, graphile_build_1.EXPORTABLE)((description, extensions, innerCodec, listOfCodec, name, typeDelim) => listOfCodec(innerCodec, {
extensions,
typeDelim,
description,
name,
}), [
description,
extensions,
innerCodec,
pg_1.listOfCodec,
name,
typeDelim,
]);
}
}
console.warn(`Could not build PgCodec for '${namespaceName}.${type.typname}' due to issue with getting codec for underlying type`);
return null;
}
// TODO: basic type support
console.warn(`Don't understand how to build type for ${type.typname}`);
return null;
})();
if (codec) {
// Be careful not to call this for class codecs!
await info.process("pgCodecs_PgCodec", {
pgCodec: codec,
pgType: type,
serviceName,
});
}
return codec;
})();
map.set(typeId, promise);
return promise;
return;
}
},
},
hooks: {
async pgRegistry_PgRegistryBuilder_pgCodecs(info, event) {

@@ -932,3 +957,3 @@ const { registryBuilder } = event;

// TODO: add some default handling, like "behavesLike = TYPES.text"?
console.warn(`PgCodec '${codec.name}' not understood, please set 'domainOfCodec' to indicate the underlying behaviour the type should have when exposed to GraphQL`);
console.warn(`Do not know how to convert PgCodec '${codec.name}' into a GraphQL type; please use \`build.setGraphQLTypeForPgCodec(codec, mode, typeName)\` inside \`plugin.schema.hooks.init\` for each mode/typeName combo you want to support.`);
}

@@ -935,0 +960,0 @@ }

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

withPgClientKey,
]);
], serviceName === "main" ? `executor` : `${serviceName}Executor`);
info.state.executors[serviceName] = executor;

@@ -91,0 +91,0 @@ return executor;

@@ -230,2 +230,3 @@ "use strict";

const sqlIdent = info.helpers.pgBasics.identifier(namespaceName, procName);
(0, utils_js_1.exportNameHint)(sqlIdent, `${procName}FunctionIdentifer`);
const fromCallback = (0, graphile_build_1.EXPORTABLE)((sql, sqlFromArgDigests, sqlIdent) => (...args) => sql `${sqlIdent}(${sqlFromArgDigests(args)})`, [pg_sql2_1.default, pg_1.sqlFromArgDigests, sqlIdent]);

@@ -232,0 +233,0 @@ (0, utils_js_1.addBehaviorToTags)(tags, "-filter -order", true);

@@ -149,2 +149,3 @@ "use strict";

});
(0, utils_js_1.exportNameHint)(uniques, `${name}Uniques`);
const identifier = `${serviceName}.${namespace.nspname}.${pgClass.relname}`;

@@ -151,0 +152,0 @@ const { tags, description } = pgClass.getTagsAndDescription();

@@ -25,2 +25,3 @@ "use strict";

const PgJWTPlugin_js_1 = require("./plugins/PgJWTPlugin.js");
const PgLtreePlugin_js_1 = require("./plugins/PgLtreePlugin.js");
const PgMutationCreatePlugin_js_1 = require("./plugins/PgMutationCreatePlugin.js");

@@ -48,2 +49,3 @@ const PgMutationPayloadEdgePlugin_js_1 = require("./plugins/PgMutationPayloadEdgePlugin.js");

PgBasicsPlugin_js_1.PgBasicsPlugin,
PgLtreePlugin_js_1.PgLtreePlugin,
PgCodecsPlugin_js_1.PgCodecsPlugin,

@@ -50,0 +52,0 @@ pg_1.PgContextPlugin,

@@ -32,3 +32,4 @@ import type { PgCodecRefPath, PgResource } from "@dataplan/pg";

};
export declare function exportNameHint(obj: any, nameHint: string): void;
export {};
//# sourceMappingURL=utils.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveResourceRefPath = exports.parseDatabaseIdentifiers = exports.parseDatabaseIdentifier = exports.parseSmartTagsOptsString = exports.addBehaviorToTags = exports.tagToString = void 0;
exports.exportNameHint = exports.resolveResourceRefPath = exports.parseDatabaseIdentifiers = exports.parseDatabaseIdentifier = exports.parseSmartTagsOptsString = exports.addBehaviorToTags = exports.tagToString = void 0;
function tagToString(str) {

@@ -404,2 +404,16 @@ if (!str || (Array.isArray(str) && str.length === 0)) {

exports.resolveResourceRefPath = resolveResourceRefPath;
function exportNameHint(obj, nameHint) {
if ((typeof obj === "object" && obj != null) || typeof obj === "function") {
if (!("$exporter$name" in obj)) {
Object.defineProperty(obj, "$exporter$name", {
writable: true,
value: nameHint,
});
}
else if (!obj.$exporter$name) {
obj.$exporter$name = nameHint;
}
}
}
exports.exportNameHint = exportNameHint;
//# sourceMappingURL=utils.js.map

@@ -1,2 +0,2 @@

export declare const version = "5.0.0-beta.19";
export declare const version = "5.0.0-beta.20";
//# sourceMappingURL=version.d.ts.map

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

// This file is autogenerated by /scripts/postversion.mjs
exports.version = "5.0.0-beta.19";
exports.version = "5.0.0-beta.20";
//# sourceMappingURL=version.js.map
{
"name": "graphile-build-pg",
"version": "5.0.0-beta.19",
"version": "5.0.0-beta.20",
"description": "PostgreSQL plugins for Graphile Build - build a supercharged GraphQL schema by reflection over a PostgreSQL database and executed by Grafast.",

@@ -52,9 +52,9 @@ "type": "commonjs",

"jsonwebtoken": "^9.0.2",
"pg-introspection": "^0.0.1-beta.6",
"pg-introspection": "^0.0.1-beta.7",
"tslib": "^2.6.2"
},
"peerDependencies": {
"@dataplan/pg": "^0.0.1-beta.16",
"grafast": "^0.1.1-beta.5",
"graphile-build": "5.0.0-beta.15",
"@dataplan/pg": "^0.0.1-beta.17",
"grafast": "^0.1.1-beta.6",
"graphile-build": "5.0.0-beta.16",
"graphile-config": "^0.0.1-beta.7",

@@ -64,3 +64,3 @@ "graphql": "^16.1.0-experimental-stream-defer.6",

"pg-sql2": "^5.0.0-beta.5",
"tamedevil": "^0.0.0-beta.5"
"tamedevil": "^0.0.0-beta.6"
},

@@ -93,3 +93,3 @@ "peerDependenciesMeta": {

"fastify-static": "^4.7.0",
"graphile-export": "^0.0.2-beta.10",
"graphile-export": "^0.0.2-beta.11",
"graphql": "16.1.0-experimental-stream-defer.6",

@@ -96,0 +96,0 @@ "graphql-helix": "^1.13.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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