@ronin/compiler 0.12.4-leo-ron-1071-experimental-256 → 0.12.5-leo-ron-1071-experimental-257

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/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1656,9 +1656,9 @@ var Transaction = class {
1656
1656
  }
1657
1657
  }
1658
1658
  if (isMeta && PLURAL_MODEL_ENTITIES_VALUES.includes(newSlug)) {
1659
- newValue = Object.entries(newValue).map(([slug, attributes]) => {
1659
+ newValue = newValue ? Object.entries(newValue).map(([slug, attributes]) => {
1660
1660
  return { slug, ...attributes };
1661
- });
1661
+ }) : [];
1662
1662
  }
1663
1663
  records[usableRowIndex] = setProperty(
1664
1664
  records[usableRowIndex],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.12.4-leo-ron-1071-experimental-256",
3
+ "version": "0.12.5-leo-ron-1071-experimental-257",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {