@mikro-orm/migrations-mongodb 7.0.0-dev.92 → 7.0.0-dev.94

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.
@@ -1,4 +1,4 @@
1
- import * as path from 'node:path';
1
+ import { parse } from 'node:path';
2
2
  export class MigrationStorage {
3
3
  driver;
4
4
  options;
@@ -35,7 +35,7 @@ export class MigrationStorage {
35
35
  * @internal
36
36
  */
37
37
  getMigrationName(name) {
38
- const parsedName = path.parse(name);
38
+ const parsedName = parse(name);
39
39
  if (['.js', '.ts'].includes(parsedName.ext)) {
40
40
  // strip extension
41
41
  return parsedName.name;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mikro-orm/migrations-mongodb",
3
3
  "type": "module",
4
- "version": "7.0.0-dev.92",
4
+ "version": "7.0.0-dev.94",
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",
@@ -50,7 +50,7 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@mikro-orm/mongodb": "7.0.0-dev.92",
53
+ "@mikro-orm/mongodb": "7.0.0-dev.94",
54
54
  "mongodb": "6.20.0",
55
55
  "umzug": "3.8.2"
56
56
  },
@@ -58,6 +58,6 @@
58
58
  "@mikro-orm/core": "^6.6.2"
59
59
  },
60
60
  "peerDependencies": {
61
- "@mikro-orm/core": "7.0.0-dev.92"
61
+ "@mikro-orm/core": "7.0.0-dev.94"
62
62
  }
63
63
  }