ah-sequelize-plugin
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -52,12 +52,16 @@ "use strict"; | ||
}, | ||
logging: function () { | ||
if (arguments[0].match(/\.d\.ts does not match pattern/)) { | ||
return; | ||
} | ||
actionhero_1.log.apply(null, arguments); | ||
}, | ||
// logging: function () { | ||
// if (arguments[0].match(/\.d\.ts does not match pattern/)) return; | ||
// log.apply( | ||
// null, | ||
// [].concat( | ||
// arguments[0], | ||
// config.sequelize.migrationLogLevel || "info" | ||
// ) | ||
// ); | ||
// }, | ||
}); | ||
function logUmzugEvent(eventName) { | ||
return function (name, migration) { | ||
actionhero_1.log(`${name} ${eventName}`, actionhero_1.config.sequelize.migrationLogLevel || "info"); | ||
actionhero_1.log(`[migration] ${name} ${eventName}`, actionhero_1.config.sequelize.migrationLogLevel || "info"); | ||
}; | ||
@@ -64,0 +68,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"description": "Use Sequelize in ActionHero", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"homepage": "http://actionherojs.com", | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -61,9 +61,12 @@ import { Sequelize } from "sequelize-typescript"; | ||
}, | ||
logging: function () { | ||
if (arguments[0].match(/\.d\.ts does not match pattern/)) { | ||
return; | ||
} | ||
log.apply(null, arguments); | ||
}, | ||
// logging: function () { | ||
// if (arguments[0].match(/\.d\.ts does not match pattern/)) return; | ||
// log.apply( | ||
// null, | ||
// [].concat( | ||
// arguments[0], | ||
// config.sequelize.migrationLogLevel || "info" | ||
// ) | ||
// ); | ||
// }, | ||
}); | ||
@@ -74,3 +77,3 @@ | ||
log( | ||
`${name} ${eventName}`, | ||
`[migration] ${name} ${eventName}`, | ||
config.sequelize.migrationLogLevel || "info" | ||
@@ -77,0 +80,0 @@ ); |
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
45760
958