@mikro-orm/reflection 7.0.0-dev.76 → 7.0.0-dev.77

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.
@@ -72,7 +72,7 @@ export class TsMorphMetadataProvider extends MetadataProvider {
72
72
  readTypeFromSource(meta, prop) {
73
73
  const source = this.getExistingSourceFile(meta.path);
74
74
  const cls = source.getClass(meta.className);
75
- /* v8 ignore next 3 */
75
+ /* v8 ignore next */
76
76
  if (!cls) {
77
77
  throw new MetadataError(`Source class for entity ${meta.className} not found. Verify you have 'compilerOptions.declaration' enabled in your 'tsconfig.json'. If you are using webpack, see https://bit.ly/35pPDNn`);
78
78
  }
@@ -103,7 +103,7 @@ export class TsMorphMetadataProvider extends MetadataProvider {
103
103
  }
104
104
  if (tsType.isArray()) {
105
105
  prop.array = true;
106
- /* v8 ignore next 3 */
106
+ /* v8 ignore next */
107
107
  if (tsType.getArrayElementType().isEnum()) {
108
108
  prop.items = tsType.getArrayElementType().getUnionTypes().map(t => t.getLiteralValueOrThrow());
109
109
  }
@@ -198,7 +198,7 @@ export class TsMorphMetadataProvider extends MetadataProvider {
198
198
  // will be already `.ts`, so no change is needed. `.js` files will get renamed to `.d.ts` files as they will be used as a source for
199
199
  // the ts-morph reflection.
200
200
  for (const meta of Utils.values(MetadataStorage.getMetadata())) {
201
- /* v8 ignore next 3 */
201
+ /* v8 ignore next */
202
202
  const path = meta.path.match(/\.[jt]s$/)
203
203
  ? meta.path.replace(/\.js$/, '.d.ts')
204
204
  : `${meta.path}.d.ts`; // when entities are bundled, their paths are just their names
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mikro-orm/reflection",
3
3
  "type": "module",
4
- "version": "7.0.0-dev.76",
4
+ "version": "7.0.0-dev.77",
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",
@@ -56,6 +56,6 @@
56
56
  "@mikro-orm/core": "^6.6.1"
57
57
  },
58
58
  "peerDependencies": {
59
- "@mikro-orm/core": "7.0.0-dev.76"
59
+ "@mikro-orm/core": "7.0.0-dev.77"
60
60
  }
61
61
  }