
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@forfuture/migrate
Advanced tools
Database-agnostic migration framework
# Intro: We have entered into a project that does NOT
# manage database migrations, using this tool.
# Run migrations.
# The tool does not know which database version you are currently at.
# We need to explicitly specify this using the `--current` options.
# Let's assume we are at version `1.0.0` and we want to migrate to
# another version i.e. `1.1.0`
$ npx migrate \
--current 1.0.0 \
1.1.0
# From now on, we do NOT need to specify the --current option.
# The tool keeps history.
# ... new migrations added ...
# Migrate to the application's current version as
# specified in the relevant package.json.
$ npx migrate --package-path ./package.json
# Migrate to the latest version available.
$ npx migrate --latest
# Migrate to a specific version (e.g. 1.4.0).
$ npx migrate 1.4.0
# Undo last migration.
$ npx migrate --undo
# List available migrations/versions.
$ npx migrate --list
# Show current database version we are at.
$ npx migrate --which
# Show a brief history of migrations.
$ npx migrate --history
# Show help information.
$ npx migrate --help
# From npm:
$ npm install @forfuture/migrate
# From GitLab:
# Replace 'v0.2.4' with the latest version.
# See git tags.
$ npm install gitlab:forfuture/migrate#v0.2.4
The MIT License (MIT)
Copyright (c) 2017 Forfuture LLC we@forfuture.co.ke
FAQs
Database-agnostic Migration framework
We found that @forfuture/migrate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.