supertape 7.5.1 → 7.7.1

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,21 @@
1
+ 2022.08.29, v7.7.1
2
+
3
+ feature:
4
+ - package: jest-diff v29.0.1
5
+
6
+ 2022.08.28, v7.7.0
7
+
8
+ feature:
9
+ - supertape: validate: check scope: add support of @
10
+ - (package) eslint-plugin-putout v16.0.1
11
+ - (package) putout v27.2.0
12
+
13
+ 2022.07.09, v7.6.0
14
+
15
+ feature:
16
+ - (package) glob v8.0.3
17
+
18
+
1
19
  2022.06.21, v7.5.1
2
20
 
3
21
  fix:
package/README.md CHANGED
@@ -265,7 +265,7 @@ test('lib: diff', (t) => {
265
265
  | 0 | `OK` | no errors found |
266
266
  | 1 | `FAIL` | test failed |
267
267
  | 2 | `WAS_STOP` | test was halted by user |
268
- | 3 | `UNHANDLED`| unhandled exception occured |
268
+ | 3 | `UNHANDLED`| unhandled exception occurred |
269
269
  | 4 | `INVALID_OPTION`| wrong option provided |
270
270
  | 5 | `SKIPED` | works only with `SUPERTAPE_CHECK_SKIPED` env variable when skiped files 1 and more |
271
271
 
package/lib/supertape.js CHANGED
@@ -193,12 +193,10 @@ test.extend = (extensions) => {
193
193
  };
194
194
 
195
195
  const loop = once(({emitter, tests}) => {
196
- let runned = false;
197
196
  let previousCount = 0;
198
197
 
199
198
  (function loop() {
200
199
  if (previousCount === tests.length) {
201
- runned = true;
202
200
  emitter.emit('run');
203
201
 
204
202
  return;
package/lib/validator.js CHANGED
@@ -8,7 +8,7 @@ const getMessage = ({message, at, validations}) => [message, at, validations];
8
8
 
9
9
  const getMessagesList = (tests) => tests.map(getMessage);
10
10
  const compareMessage = (a) => ([b]) => a === b;
11
- const SCOPE_DEFINED = /^[\w-/\d\s]+:.*/;
11
+ const SCOPE_DEFINED = /^[@\w-/\d\s]+:.*/;
12
12
  const processedList = new Set();
13
13
 
14
14
  const validations = {
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "supertape",
3
- "version": "7.5.1",
3
+ "version": "7.7.1",
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",
7
7
  "main": "./lib/supertape.js",
8
+ "commitType": "colon",
8
9
  "exports": {
9
10
  ".": {
10
11
  "node": {
@@ -52,8 +53,8 @@
52
53
  "cli-progress": "^3.8.2",
53
54
  "deep-equal": "^2.0.3",
54
55
  "fullstore": "^3.0.0",
55
- "glob": "^7.1.6",
56
- "jest-diff": "^28.1.1",
56
+ "glob": "^8.0.3",
57
+ "jest-diff": "^29.0.1",
57
58
  "once": "^1.4.0",
58
59
  "resolve": "^1.17.0",
59
60
  "stacktracey": "^2.1.7",
@@ -79,14 +80,14 @@
79
80
  "check-dts": "^0.6.5",
80
81
  "eslint": "^8.0.0",
81
82
  "eslint-plugin-node": "^11.1.0",
82
- "eslint-plugin-putout": "^15.4.0",
83
+ "eslint-plugin-putout": "^16.0.1",
83
84
  "find-up": "^6.3.0",
84
85
  "madrun": "^9.0.0",
85
86
  "mock-require": "^3.0.2",
86
87
  "montag": "^1.0.0",
87
88
  "nodemon": "^2.0.2",
88
89
  "pullout": "^4.0.0",
89
- "putout": "^26.0.0",
90
+ "putout": "^27.2.0",
90
91
  "runsome": "^1.0.0",
91
92
  "try-catch": "^3.0.0",
92
93
  "typescript": "^4.4.4"