Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@graphile-contrib/pgdbi
Advanced tools
yarn add @graphile-contrib/pgdbi
Currently recommended for development only; to disable in production, do not load this plugin.
This is a PostGraphile Server Plugin so you can follow the standard server plugin instructions, namely:
For the CLI, use --plugins
to load the plugin (and remember this flag must come at the very start!)
postgraphile --plugins @graphile-contrib/pgdbis -c my_db
For PostGraphile as a library/middleware, you must use the plugin hook functionality:
const pgdbi = require('@graphile-contrib/pgdbi');
const { postgraphile, makePluginHook } = require('postgraphile');
const pluginHook = makePluginHook([
pgdbi,
/* other server plugins can be added here */
]);
app.use(
postgraphile(connectionString, schemas, {
pluginHook,
}),
);
You can access pgdbi at the /pgdbi
sub path, e.g. http://localhost:5000/pgdbi.
FAQs
## Installation
We found that @graphile-contrib/pgdbi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.