@mikro-orm/mongodb 6.3.11-dev.1 → 6.3.11-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.
Files changed (2) hide show
  1. package/MongoPlatform.js +1 -1
  2. package/package.json +2 -2
package/MongoPlatform.js CHANGED
@@ -61,7 +61,7 @@ class MongoPlatform extends core_1.Platform {
61
61
  return true;
62
62
  }
63
63
  convertJsonToDatabaseValue(value) {
64
- return core_1.Utils.copy(value);
64
+ return structuredClone(value);
65
65
  }
66
66
  convertJsonToJSValue(value, prop) {
67
67
  return value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/mongodb",
3
- "version": "6.3.11-dev.1",
3
+ "version": "6.3.11-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
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -65,6 +65,6 @@
65
65
  "@mikro-orm/core": "^6.3.10"
66
66
  },
67
67
  "peerDependencies": {
68
- "@mikro-orm/core": "6.3.11-dev.1"
68
+ "@mikro-orm/core": "6.3.11-dev.10"
69
69
  }
70
70
  }