rado 0.2.19 → 0.2.20

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.
@@ -92,17 +92,16 @@ function createTable(data) {
92
92
  getOwnPropertyDescriptor(target2, key) {
93
93
  const value = get2(key);
94
94
  const descriptor = getOwnPropertyDescriptor(call, key);
95
- if (descriptor)
96
- return {
97
- ...descriptor,
98
- enumerable: cols.includes(key),
99
- value
100
- };
101
- return {
102
- value,
95
+ const res2 = descriptor ? {
96
+ ...descriptor,
97
+ enumerable: cols.includes(key)
98
+ } : {
103
99
  enumerable: true,
104
100
  configurable: true
105
101
  };
102
+ if (value !== void 0)
103
+ res2.value = value;
104
+ return res2;
106
105
  }
107
106
  });
108
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rado",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",