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

umzug

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

umzug - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

4

CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
## 1.6.0
### Changed
- Don't resolve the sequelize library anymore but use the instance's constructor
## 1.5.0

@@ -5,0 +9,0 @@ ### Added

10

lib/storages/sequelize.js

@@ -7,4 +7,2 @@ 'use strict';

var redefine = require('redefine');
var resolve = require('resolve').sync;
var Sequelize = require(resolve('sequelize', { basedir: process.cwd() }));

@@ -47,5 +45,3 @@ /**

// note 'tableName' (optional) also supported
columnName: 'name',
// You may need to override this for utf8mb4 charsets
columnType: Sequelize.STRING
columnName: 'name'
}, this.options.storageOptions || {});

@@ -61,2 +57,4 @@

var modelName = this.options.storageOptions.modelName;
var Sequelize = sequelize.constructor;
var columnType = this.options.storageOptions.columnType || Sequelize.STRING;

@@ -69,3 +67,3 @@ if (sequelize.isDefined(modelName)) {

attributes[this.options.storageOptions.columnName] = {
type: this.options.storageOptions.columnType,
type: columnType,
allowNull: false,

@@ -72,0 +70,0 @@ unique: true,

{
"name": "umzug",
"version": "1.5.0",
"version": "1.6.0",
"description": "Framework agnostic migration tool for Node.JS",

@@ -5,0 +5,0 @@ "main": "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