@kontur.candy/generator 6.6.0 → 6.7.0-test-9327.0

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 +4 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -46737,7 +46737,7 @@ class KCLangRuntimeUtils {
46737
46737
  if (!argument) {
46738
46738
  return new big_js__WEBPACK_IMPORTED_MODULE_0__["default"](0);
46739
46739
  }
46740
- return (_wrapDecimalOperand = (0,_Engine_src_Helpers_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOperand)(argument.split("/")[0])) !== null && _wrapDecimalOperand !== void 0 ? _wrapDecimalOperand : 0;
46740
+ return (_wrapDecimalOperand = (0,_Engine_src_Helpers_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOperand)(argument.split("/")[0])) !== null && _wrapDecimalOperand !== void 0 ? _wrapDecimalOperand : new big_js__WEBPACK_IMPORTED_MODULE_0__["default"](0);
46741
46741
  }
46742
46742
  denominator(argument) {
46743
46743
  var _wrapDecimalOperand2;
@@ -46748,7 +46748,7 @@ class KCLangRuntimeUtils {
46748
46748
  if (denominatorVal === undefined) {
46749
46749
  return new big_js__WEBPACK_IMPORTED_MODULE_0__["default"](1);
46750
46750
  }
46751
- return (_wrapDecimalOperand2 = (0,_Engine_src_Helpers_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOperand)(denominatorVal)) !== null && _wrapDecimalOperand2 !== void 0 ? _wrapDecimalOperand2 : 0;
46751
+ return (_wrapDecimalOperand2 = (0,_Engine_src_Helpers_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOperand)(denominatorVal)) !== null && _wrapDecimalOperand2 !== void 0 ? _wrapDecimalOperand2 : new big_js__WEBPACK_IMPORTED_MODULE_0__["default"](0);
46752
46752
  }
46753
46753
  }
46754
46754
  KCLangRuntimeUtils.kcLangUtilsName = "kcLangUtils";
@@ -48043,11 +48043,10 @@ function noop() {
48043
48043
  // noop
48044
48044
  }
48045
48045
  function reject(message) {
48046
- if (typeof message === "string" || message == undefined) {
48047
- throw new Error(message !== null && message !== void 0 ? message : "Undefined is not allowed");
48048
- } else {
48046
+ if (message instanceof Error) {
48049
48047
  throw message;
48050
48048
  }
48049
+ throw new Error(message !== null && message !== void 0 ? message : "Undefined is not allowed");
48051
48050
  }
48052
48051
  function isLengthGreaterThenOrEqual(items, minLength) {
48053
48052
  return items.length >= minLength;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "6.6.0",
3
+ "version": "6.7.0-test-9327.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,