risei 3.1.1 → 3.2.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/README.md +7 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -46,7 +46,7 @@ And they have a summary bar at the bottom:
46
46
 
47
47
  ## Status
48
48
 
49
- Risei's major features are now complete, but new enhancements or fixes may appear from time to time.  The latest release, **3.1.1**, includes significant improvements and bug fixes, on top of the major improvements in releases **3.0.0** and **2.0.0**.
49
+ Risei's major features are now complete, but new enhancements or fixes may appear from time to time.  The latest release, **3.2.0**, includes significant improvements and bug fixes, on top of the major improvements in releases **3.0.0** and **2.0.0**.
50
50
 
51
51
  Check out the [full list of changes](#version-history).
52
52
 
@@ -219,10 +219,15 @@ If errors are thrown while testing, gold bars listing them appear at the bottom,
219
219
 
220
220
  ## Version history
221
221
 
222
+ - Release **3.2.0** (January, 2025) contains all the changes from **3.1.1** and **3.1.0**, plus this change:
223
+ - Risei's self-dependency for its own self-testing has been moved back to the development-only scope.
224
+
225
+
222
226
  - Release **3.1.1** (January, 2025) contains these changes:
223
227
  - Extra commas and non-objects in arrays of test objects are disregarded, and no longer cause a throw.
224
228
  - Throws in wider scopes are now listed at the end, like others already found there.
225
229
 
230
+
226
231
  - Release **3.1.0** (January, 2025) contains these changes:
227
232
  - Accessor properties (formally _accessor descriptors_) are now compared for test results and displayed in test outputs.
228
233
  - Any accessor properties that throw errors during display are displayed as `(threw)`.
@@ -245,6 +250,7 @@ Older releases
245
250
  - If you need to work with the target of the test (usually an instance of the class being tested), it's available as `test.target`.
246
251
  - You can now call target code more than once in one test using an `.and` of `"poly"` (AKA _poly-calling_).
247
252
 
253
+
248
254
  - Release **2.0.0** / **2.0.1** (August, 2024) contained all of these changes:
249
255
  - Risei now can determine automatically if tested methods are static.
250
256
  - You can now directly test properties just like methods.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "risei",
3
- "version": "3.1.1",
3
+ "version": "3.2.0",
4
4
  "description": "Risei allows you to write unit tests as simple JavaScript objects, so it's easy and fast, with no drag on redesign.",
5
5
  "keywords": [
6
6
  "unit test",
@@ -42,8 +42,7 @@
42
42
  "chalk": "^5.0.0",
43
43
  "fs": "^0.0.1-security",
44
44
  "minimatch": "^9.0.1",
45
- "npm": "^11.0.0",
46
- "risei": "^3.1.0"
45
+ "npm": "^11.0.0"
47
46
  },
48
47
  "devDependencies": {
49
48
  "chai": "^4.3.6",
@@ -51,6 +50,7 @@
51
50
  "debug": "~2.6.9",
52
51
  "fs": "^0.0.1-security",
53
52
  "mocha": "^10.0.0",
54
- "morgan": "~1.9.1"
53
+ "morgan": "~1.9.1",
54
+ "risei": "^3.1.1"
55
55
  }
56
56
  }