@mikro-orm/cli 7.0.0-dev.39 → 7.0.0-dev.40

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/README.md CHANGED
@@ -381,6 +381,8 @@ See also the list of contributors who [participated](https://github.com/mikro-or
381
381
 
382
382
  Please ⭐️ this repository if this project helped you!
383
383
 
384
+ > If you'd like to support my open-source work, consider sponsoring me directly at [github.com/sponsors/b4nan](https://github.com/sponsors/b4nan).
385
+
384
386
  ## 📝 License
385
387
 
386
388
  Copyright © 2018 [Martin Adámek](https://github.com/b4nan).
@@ -206,7 +206,7 @@ export class MigrationCommandFactory {
206
206
  if (Utils.isString(options.to)) {
207
207
  return msg + ' to version ' + options.to;
208
208
  }
209
- if (options.migrations && options.migrations.length === 1) {
209
+ if (options.migrations?.length === 1) {
210
210
  return msg + ' to version ' + options.migrations[0];
211
211
  }
212
212
  return msg;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mikro-orm/cli",
3
3
  "type": "module",
4
- "version": "7.0.0-dev.39",
4
+ "version": "7.0.0-dev.40",
5
5
  "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.",
6
6
  "exports": {
7
7
  "./package.json": "./package.json",
@@ -53,13 +53,13 @@
53
53
  "access": "public"
54
54
  },
55
55
  "dependencies": {
56
- "@mikro-orm/core": "7.0.0-dev.39",
57
- "@mikro-orm/knex": "7.0.0-dev.39",
56
+ "@mikro-orm/core": "7.0.0-dev.40",
57
+ "@mikro-orm/knex": "7.0.0-dev.40",
58
58
  "yargs": "17.7.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@mikro-orm/entity-generator": "^6.5.8",
62
- "@mikro-orm/migrations": "^6.5.8",
63
- "@mikro-orm/seeder": "^6.5.8"
61
+ "@mikro-orm/entity-generator": "^6.6.0",
62
+ "@mikro-orm/migrations": "^6.6.0",
63
+ "@mikro-orm/seeder": "^6.6.0"
64
64
  }
65
65
  }