supertape 10.3.0 → 10.4.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.
package/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2024.03.07, v10.4.0
2
+
3
+ feature:
4
+ - 3aef569 supertape: remove dependency on deep-equal
5
+
1
6
  2024.03.01, v10.3.0
2
7
 
3
8
  feature:
package/lib/operators.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import deepEqualCheck from 'deep-equal';
1
+ import {isDeepStrictEqual} from 'node:util';
2
2
  import diff from './diff.mjs';
3
3
  import {
4
4
  formatOutput,
@@ -119,7 +119,7 @@ const fail = (error, at) => ({
119
119
  });
120
120
 
121
121
  const deepEqual = (result, expected, message = 'should deep equal') => {
122
- const is = deepEqualCheck(result, expected);
122
+ const is = isDeepStrictEqual(result, expected);
123
123
  const output = is ? '' : diff(expected, result);
124
124
 
125
125
  return {
@@ -132,7 +132,7 @@ const deepEqual = (result, expected, message = 'should deep equal') => {
132
132
  };
133
133
 
134
134
  const notDeepEqual = (result, expected, message = 'should not deep equal') => {
135
- const is = !deepEqualCheck(result, expected);
135
+ const is = !isDeepStrictEqual(result, expected);
136
136
  const output = is ? '' : diff(expected, result);
137
137
 
138
138
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supertape",
3
- "version": "10.3.0",
3
+ "version": "10.4.0",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "📼 Supertape simplest high speed test runner with superpowers",
6
6
  "homepage": "http://github.com/coderaiser/supertape",
@@ -51,7 +51,6 @@
51
51
  "@supertape/formatter-time": "^1.0.0",
52
52
  "@supertape/operator-stub": "^3.0.0",
53
53
  "cli-progress": "^3.8.2",
54
- "deep-equal": "^2.0.3",
55
54
  "fullstore": "^3.0.0",
56
55
  "glob": "^10.3.10",
57
56
  "jest-diff": "^29.0.1",