New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@emigrate/types

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emigrate/types - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0

29

dist/index.d.ts

@@ -243,25 +243,8 @@ export type Awaitable<T> = T | PromiseLike<T>;

/**
* Called when a migration is about to be removed from the migration history.
*
* This is only called when the command is 'remove'.
*/
onMigrationRemoveStart(migration: MigrationMetadata): Awaitable<void>;
/**
* Called when a migration is successfully removed from the migration history.
*
* This is only called when the command is 'remove'.
*/
onMigrationRemoveSuccess(migration: SuccessfulMigrationMetadata): Awaitable<void>;
/**
* Called when a migration couldn't be removed from the migration history.
*
* This is only called when the command is 'remove'.
*/
onMigrationRemoveError(migration: FailedMigrationMetadata, error: Error): Awaitable<void>;
/**
* Called when a migration is about to be executed.
*
* Will only be called for each migration when the command is "up".
* Will be called for each migration when the command is "up",
* or before removing each migration from the history when the command is "remove".
*
* @param migration Information about the migration that is about to be executed.
* @param migration Information about the migration that is about to be executed/removed.
*/

@@ -272,3 +255,4 @@ onMigrationStart(migration: MigrationMetadata): Awaitable<void>;

*
* Will be called after a successful migration when the command is "up"
* Will be called after a successful migration when the command is "up",
* or after a successful removal of a migration from the history when the command is "remove",
* or for each successful migration from the history when the command is "list".

@@ -282,3 +266,4 @@ *

*
* Will be called after a failed migration when the command is "up"
* Will be called after a failed migration when the command is "up",
* or after a failed removal of a migration from the history when the command is "remove",
* or for each failed migration from the history when the command is "list" (will be at most one in this case).

@@ -285,0 +270,0 @@ *

{
"name": "@emigrate/types",
"version": "0.11.0",
"version": "0.12.0",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

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