
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@tomkcey/pg-migrate
Advanced tools
For creating migration files you can use the CLI.
npx @tomkcey/pg-migrate create <migration_filename>
While database access is not required at this step, kkowing where to store those migrations is. In any case, here's all the environment variables you will need to use this program through the CLI.
PGUSER=<username>
PGPASSWORD=<password>
PGHOST=localhost
PGPORT=5432
PGDATABASE=<database>
PGSSL=<true/false>
MIGRATION_PATH=<absolute-path-to-migrations-dir>
MIGRATION_TABLE=<tablename>
Only MIGRATION_PATH is required if only using migration file creation through the CLI.
import { Migrator, MigratorOptions } from "@tomkcey/pg-migrate";
const options: MigratorOptions = { ... }
const migrator = new Migrator(options, someLogger);
await migrator.up();
or npx @tomkcey/pg-migrate up
import { Migrator, MigratorOptions } from "@tomkcey/pg-migrate";
const options: MigratorOptions = { ... }
const migrator = new Migrator(options, someLogger);
await migrator.down();
or npx @tomkcey/pg-migrate down
FAQs
A small typed library for managing PostgreSQL migrations.
We found that @tomkcey/pg-migrate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.