@types/umzug
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -1,7 +0,9 @@ | ||
// Type definitions for Umzug v2.0.1 | ||
// Type definitions for Umzug v2.1.0 | ||
// Project: https://github.com/sequelize/umzug | ||
// Definitions by: Ivan Drinchev <https://github.com/drinchev> | ||
// Margus Lamp <https://github.com/mlamp> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
import { EventEmitter } from 'events'; | ||
import Sequelize = require("sequelize"); | ||
@@ -172,3 +174,3 @@ | ||
interface Umzug { | ||
interface Umzug extends EventEmitter { | ||
/** | ||
@@ -204,2 +206,6 @@ * The execute method is a general purpose function that runs for | ||
on(eventName: 'migrating' | 'reverting' | 'migrated' | 'reverted', cb?: (name: string, migration: Migration) => void): this; | ||
addListener(eventName: 'migrating' | 'reverting' | 'migrated' | 'reverted', cb?: (name: string, migration: Migration) => void): this; | ||
removeListener(eventName: 'migrating' | 'reverting' | 'migrated' | 'reverted', cb?: (name: string, migration: Migration) => void): this; | ||
} | ||
@@ -212,3 +218,3 @@ | ||
declare var umzug: umzug.UmzugStatic; | ||
declare const umzug: umzug.UmzugStatic; | ||
export = umzug; |
{ | ||
"name": "@types/umzug", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "TypeScript definitions for Umzug", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "drinchev" | ||
}, | ||
{ | ||
"name": "Margus Lamp", | ||
"url": "https://github.com/mlamp", | ||
"githubUsername": "mlamp" | ||
} | ||
@@ -21,6 +26,7 @@ ], | ||
"dependencies": { | ||
"@types/events": "*", | ||
"@types/sequelize": "*" | ||
}, | ||
"typesPublisherContentHash": "d27a486dbeae5cdcafda1210452261e70662f1c483af364f41604996efdfe5ac", | ||
"typesPublisherContentHash": "0cf63461219abd70a637a8ac851411962bc13eec4656d677c8530eeca9b82800", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 07 Nov 2017 20:48:40 GMT | ||
* Dependencies: sequelize | ||
* Last updated: Mon, 11 Dec 2017 19:14:19 GMT | ||
* Dependencies: events, sequelize | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Ivan Drinchev <https://github.com/drinchev>. | ||
These definitions were written by Ivan Drinchev <https://github.com/drinchev>, Margus Lamp <https://github.com/mlamp>. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8751
169
2
+ Added@types/events@*
+ Added@types/events@3.0.3(transitive)