@augment-vir/assert 31.67.1 → 31.68.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.
@@ -36,7 +36,7 @@ function recursiveCheckJsonEquals(actual, expected) {
36
36
  if (actual === expected || baseJsonEquals(actual, expected)) {
37
37
  return true;
38
38
  }
39
- if (actual != null &&
39
+ else if (actual != null &&
40
40
  expected != null &&
41
41
  typeof actual === 'object' &&
42
42
  typeof expected === 'object') {
@@ -550,7 +550,7 @@ export const valueGuards = {
550
550
  if (typeof actual !== 'string' && typeof actual !== 'object') {
551
551
  return false;
552
552
  }
553
- if (typeof actual === 'string') {
553
+ else if (typeof actual === 'string') {
554
554
  return !actual;
555
555
  }
556
556
  else if (Array.isArray(actual)) {
@@ -591,7 +591,7 @@ export const valueGuards = {
591
591
  if (typeof actual !== 'string' && typeof actual !== 'object') {
592
592
  return true;
593
593
  }
594
- if (typeof actual === 'string') {
594
+ else if (typeof actual === 'string') {
595
595
  return !!actual;
596
596
  }
597
597
  else if (Array.isArray(actual)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/assert",
3
- "version": "31.67.1",
3
+ "version": "31.68.0",
4
4
  "description": "A collection of assertions for test and production code alike.",
5
5
  "keywords": [
6
6
  "augment",
@@ -42,7 +42,7 @@
42
42
  "test:update": "npm test"
43
43
  },
44
44
  "dependencies": {
45
- "@augment-vir/core": "^31.67.1",
45
+ "@augment-vir/core": "^31.68.0",
46
46
  "@date-vir/duration": "^8.2.0",
47
47
  "deep-eql": "^5.0.2",
48
48
  "expect-type": "^1.3.0",