bruce-models 4.6.4 → 4.6.5

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.
@@ -4161,12 +4161,12 @@
4161
4161
  path = path.replace("${", "");
4162
4162
  path = path.replace("}", "");
4163
4163
  }
4164
+ // Split by backslashes.
4165
+ paths.push(exports.PathUtils.Parse(path));
4164
4166
  // Split by dots.
4165
4167
  paths.push(exports.PathUtils.ParseLegacy(path));
4166
4168
  // Take string as is.
4167
4169
  paths.push([path]);
4168
- // Split by backslashes.
4169
- paths.push(exports.PathUtils.Parse(path));
4170
4170
  // Remove duplicates.
4171
4171
  const tmpPaths = [];
4172
4172
  for (let i = 0; i < paths.length; i++) {
@@ -4455,11 +4455,17 @@
4455
4455
  entity: entity,
4456
4456
  path: attrPath
4457
4457
  });
4458
- const isValueNum = !isNaN(+eValue);
4458
+ let isValueNum = !isNaN(+eValue);
4459
+ if (eValue == null) {
4460
+ isValueNum = false;
4461
+ }
4459
4462
  for (let i = 0; i < value.values.length; i++) {
4460
4463
  const option = value.values[i];
4461
4464
  const mapValue = option.fieldValue;
4462
- const isMapValueNum = !isNaN(+mapValue);
4465
+ let isMapValueNum = !isNaN(+mapValue);
4466
+ if (isMapValueNum == null) {
4467
+ isMapValueNum = false;
4468
+ }
4463
4469
  if (isValueNum && (isMapValueNum || mapValue.includes("-"))) {
4464
4470
  if (+mapValue == +eValue) {
4465
4471
  return option.appliedValue;
@@ -13525,7 +13531,7 @@
13525
13531
  })(exports.DataSource || (exports.DataSource = {}));
13526
13532
 
13527
13533
  // This is updated with the package.json version on build.
13528
- const VERSION = "4.6.4";
13534
+ const VERSION = "4.6.5";
13529
13535
 
13530
13536
  exports.VERSION = VERSION;
13531
13537
  exports.AbstractApi = AbstractApi;