@mikro-orm/decorators 7.0.6-dev.1 → 7.0.6-dev.10
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/package.json +2 -2
- package/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/decorators",
|
|
3
|
-
"version": "7.0.6-dev.
|
|
3
|
+
"version": "7.0.6-dev.10",
|
|
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
|
"keywords": [
|
|
6
6
|
"data-mapper",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@mikro-orm/core": "^7.0.5"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@mikro-orm/core": "7.0.6-dev.
|
|
55
|
+
"@mikro-orm/core": "7.0.6-dev.10",
|
|
56
56
|
"reflect-metadata": "^0.1.0 || ^0.2.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
package/utils.js
CHANGED
|
@@ -86,7 +86,7 @@ export function lookupPathFromDecorator(name, stack) {
|
|
|
86
86
|
// __decorate(), replacing it with the constructor name. To support these cases we look for
|
|
87
87
|
// Reflect.decorate() as well. Also when babel is used, we need to check
|
|
88
88
|
// the `_applyDecoratedDescriptor` method instead.
|
|
89
|
-
let line = stack.findIndex(line => /__decorate|Reflect\.decorate|_applyDecoratedDescriptor/.exec(line));
|
|
89
|
+
let line = stack.findIndex(line => /__decorate|Reflect\.decorate|_applyDecoratedDescriptor|applyClassDecs/.exec(line));
|
|
90
90
|
// Bun can skip decorator helper frames. Native ES decorators expose the entity
|
|
91
91
|
// path right after `bun:wrap`, while reflect-metadata stacks reach it via Reflect.js.
|
|
92
92
|
if (line === -1) {
|