@mikro-orm/migrations 6.3.14-dev.70 → 6.3.14-dev.71

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.
Files changed (2) hide show
  1. package/Migrator.js +1 -1
  2. package/package.json +3 -3
package/Migrator.js CHANGED
@@ -29,7 +29,7 @@ class Migrator {
29
29
  this.config = this.em.config;
30
30
  this.options = this.config.get('migrations');
31
31
  /* istanbul ignore next */
32
- const key = (this.config.get('tsNode', core_1.Utils.detectTsNode()) && this.options.pathTs) ? 'pathTs' : 'path';
32
+ const key = (this.config.get('preferTs', core_1.Utils.detectTsNode()) && this.options.pathTs) ? 'pathTs' : 'path';
33
33
  this.absolutePath = core_1.Utils.absolutePath(this.options[key], this.config.get('baseDir'));
34
34
  // for snapshots, we always want to use the path based on `emit` option, regardless of whether we run in ts-node context
35
35
  /* istanbul ignore next */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/migrations",
3
- "version": "6.3.14-dev.70",
3
+ "version": "6.3.14-dev.71",
4
4
  "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -58,7 +58,7 @@
58
58
  "access": "public"
59
59
  },
60
60
  "dependencies": {
61
- "@mikro-orm/knex": "6.3.14-dev.70",
61
+ "@mikro-orm/knex": "6.3.14-dev.71",
62
62
  "fs-extra": "11.2.0",
63
63
  "umzug": "3.8.2"
64
64
  },
@@ -66,6 +66,6 @@
66
66
  "@mikro-orm/core": "^6.3.13"
67
67
  },
68
68
  "peerDependencies": {
69
- "@mikro-orm/core": "6.3.14-dev.70"
69
+ "@mikro-orm/core": "6.3.14-dev.71"
70
70
  }
71
71
  }