murmuration-mariadb 1.0.29 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/migrate.js CHANGED
@@ -5,13 +5,13 @@ const murmuration = require("murmuration");
5
5
  const Connection = require("./connection"),
6
6
  migrationSQLMap = require("./migrationSQLMap");
7
7
 
8
- function migrate(configuration, migrationsDirectoryPath, callback) {
8
+ function migrate(configuration, migrationsDirectoryPath, CustomMigrationMap, callback) {
9
9
  Object.assign(configuration, {
10
10
  Connection,
11
11
  migrationSQLMap
12
12
  });
13
13
 
14
- murmuration.migrate(configuration, migrationsDirectoryPath, callback);
14
+ murmuration.migrate(configuration, migrationsDirectoryPath, CustomMigrationMap, callback);
15
15
  }
16
16
 
17
17
  module.exports = migrate;
package/index.js CHANGED
@@ -6,11 +6,12 @@ const migrate = require("./bin/migrate"),
6
6
  Connection = require("./bin/connection"),
7
7
  transaction = require("./bin/transaction");
8
8
 
9
- const { database } = murmuration;
9
+ const { database, CustomMigration } = murmuration;
10
10
 
11
11
  module.exports = {
12
12
  database,
13
13
  migrate,
14
14
  Connection,
15
- transaction
15
+ transaction,
16
+ CustomMigration
16
17
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "murmuration-mariadb",
3
3
  "author": "James Smith",
4
- "version": "1.0.29",
4
+ "version": "1.0.35",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/murmuration-mariadb",
7
7
  "description": "Connections, transactions and migrations for MariaDB.",
@@ -10,9 +10,8 @@
10
10
  "url": "https://github.com/djalbat/murmuration-mariadb"
11
11
  },
12
12
  "dependencies": {
13
- "murmuration": "^1.0.21",
14
- "mysql": "^2.18.1",
15
- "necessary": "^10.0.7"
13
+ "murmuration": "^1.0.25",
14
+ "mysql": "^2.18.1"
16
15
  },
17
16
  "devDependencies": {},
18
17
  "scripts": {}