rado 0.1.15 → 0.1.16

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.
@@ -205,7 +205,7 @@ var Formatter = class {
205
205
  }
206
206
  formatColumnValue(column, columnValue) {
207
207
  const isNull = columnValue === void 0 || columnValue === null;
208
- const isOptional = column.nullable || column.autoIncrement || column.primaryKey || column.defaultValue;
208
+ const isOptional = column.nullable || column.autoIncrement || column.primaryKey || column.defaultValue !== void 0;
209
209
  if (isNull) {
210
210
  if (!isOptional)
211
211
  throw new TypeError(`Expected value for column ${column.name}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rado",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {