Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

anydb-sql-migrations

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anydb-sql-migrations - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

7

d.ts/anydb-sql-migrations.d.ts

@@ -18,4 +18,11 @@ declare module "anydb-sql-migrations" {

}
export interface MigrationOptions {
check?: boolean;
execute?: boolean;
rollback?: boolean;
drop?: boolean;
}
export function create(db: AnydbSql, tasks: string | MigrationTask[]): {
run: () => Promise<any>;
execMigrations: (migrationOptions: MigrationOptions) => Promise<void>;
check: (f: (items: MigrationTask[]) => any) => Promise<any>;

@@ -22,0 +29,0 @@ migrate: () => Promise<any>;

2

package.json
{
"name": "anydb-sql-migrations",
"version": "2.2.1",
"version": "2.2.2",
"description": "Database migrations for anydb-sql",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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