@cheetah.js/orm 0.1.91 → 0.1.92

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.
@@ -27,7 +27,7 @@ function resolveIndex(options, propertyKey) {
27
27
  function Index(options) {
28
28
  return (target, propertyKey) => {
29
29
  const ctor = getCtor(target);
30
- const indexes = core_1.Metadata.get("indexes", ctor) || [];
30
+ const indexes = [...(core_1.Metadata.get("indexes", ctor) || [])];
31
31
  const index = resolveIndex(options, propertyKey);
32
32
  indexes.push(index);
33
33
  core_1.Metadata.set("indexes", indexes, ctor);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cheetah.js/orm",
3
- "version": "0.1.91",
3
+ "version": "0.1.92",
4
4
  "description": "A simple ORM for Cheetah.js",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
@@ -55,5 +55,5 @@
55
55
  "bun",
56
56
  "value-object"
57
57
  ],
58
- "gitHead": "f173c0f552aac5f22debe446c8192abd5a80d9a3"
58
+ "gitHead": "e9e7573a10d2bc19b03f4265771876ceb6580e6b"
59
59
  }