diff --git a/package-lock.json b/package-lock.json index 491c097..8e0ec67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "onetable-migrate", "version": "1.1.3", "license": "MIT", "dependencies": { @@ -1140,9 +1141,9 @@ } }, "node_modules/dynamodb-onetable": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/dynamodb-onetable/-/dynamodb-onetable-2.0.3.tgz", - "integrity": "sha512-GhYt7HsaEHfd1riQM5b0ZridQx6P1qDag0GQu9aDuIHLAf5a81XFq3y1kTyxRhgRLrmK5tphfuLSiJUN/vmYNQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/dynamodb-onetable/-/dynamodb-onetable-2.1.1.tgz", + "integrity": "sha512-c/iUSxQt8gw8UVhryPCvNY8MWQ9zN+lI/Ju3jvrIdfdamI1ksG/kQ8gRrPsX1qK5dLQmqNJ4BHo+zNHmauMX4g==", "dependencies": { "@aws-sdk/client-dynamodb": "^3.5.0", "@aws-sdk/util-dynamodb": "^3.5.0" @@ -3272,9 +3273,9 @@ } }, "dynamodb-onetable": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/dynamodb-onetable/-/dynamodb-onetable-2.0.3.tgz", - "integrity": "sha512-GhYt7HsaEHfd1riQM5b0ZridQx6P1qDag0GQu9aDuIHLAf5a81XFq3y1kTyxRhgRLrmK5tphfuLSiJUN/vmYNQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/dynamodb-onetable/-/dynamodb-onetable-2.1.1.tgz", + "integrity": "sha512-c/iUSxQt8gw8UVhryPCvNY8MWQ9zN+lI/Ju3jvrIdfdamI1ksG/kQ8gRrPsX1qK5dLQmqNJ4BHo+zNHmauMX4g==", "requires": { "@aws-sdk/client-dynamodb": "^3.5.0", "@aws-sdk/util-dynamodb": "^3.5.0" diff --git a/src/index.js b/src/index.js index 94a395d..6178197 100644 --- a/src/index.js +++ b/src/index.js @@ -19,6 +19,7 @@ export class Migrate { The `params.migrations` set to the in-memory migrations or `params.dir` to a migrations directory. */ constructor(config = {}, params = {}) { + this.config = config this.params = params this.migrations = params.migrations this.pastMigrations = null @@ -99,6 +100,7 @@ export class Migrate { } } } + return migration } /* public */