@bbn/bbn 2.0.114 → 2.0.116

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.
package/dist/dt.js CHANGED
@@ -226,9 +226,8 @@ const dt = (value, inputFormat = null, cls = 'auto') => {
226
226
  return new bbnDtDuration(value);
227
227
  }
228
228
  else {
229
- bbn.fn.log(value);
230
- throw new Error(_('Invalid date value: %s', value));
231
- return { isValid: false };
229
+ bbn.fn.log('Invalid date value', value);
230
+ throw new Error(_('Invalid date value'));
232
231
  }
233
232
  //throw new Error(_('Invalid date value: %s', value));
234
233
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "2.0.114",
3
+ "version": "2.0.116",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",