@itwin/build-tools 4.2.0-dev.3 → 4.2.0-dev.30
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.md +54 -1
- package/mocha-reporter/index.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,49 @@
|
|
1
1
|
# Change Log - @itwin/build-tools
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Tue, 12 Sep 2023 15:40:33 GMT and should not be manually modified.
|
4
|
+
|
5
|
+
## 4.1.6
|
6
|
+
Tue, 12 Sep 2023 15:38:52 GMT
|
7
|
+
|
8
|
+
_Version update only_
|
9
|
+
|
10
|
+
## 4.1.5
|
11
|
+
Fri, 08 Sep 2023 13:37:23 GMT
|
12
|
+
|
13
|
+
_Version update only_
|
14
|
+
|
15
|
+
## 4.1.4
|
16
|
+
Thu, 07 Sep 2023 18:26:02 GMT
|
17
|
+
|
18
|
+
_Version update only_
|
19
|
+
|
20
|
+
## 4.1.3
|
21
|
+
Wed, 30 Aug 2023 15:35:27 GMT
|
22
|
+
|
23
|
+
_Version update only_
|
24
|
+
|
25
|
+
## 4.1.2
|
26
|
+
Wed, 23 Aug 2023 15:25:29 GMT
|
27
|
+
|
28
|
+
_Version update only_
|
29
|
+
|
30
|
+
## 4.1.1
|
31
|
+
Fri, 18 Aug 2023 13:02:53 GMT
|
32
|
+
|
33
|
+
_Version update only_
|
34
|
+
|
35
|
+
## 4.1.0
|
36
|
+
Mon, 14 Aug 2023 14:36:34 GMT
|
37
|
+
|
38
|
+
### Updates
|
39
|
+
|
40
|
+
- with DEBUG_LEAKS on: print the initialize callstack of active async resources which may be preventing node from shutting down
|
41
|
+
- Switch to ESLint new flat config system
|
42
|
+
|
43
|
+
## 4.0.7
|
44
|
+
Thu, 10 Aug 2023 13:19:24 GMT
|
45
|
+
|
46
|
+
_Version update only_
|
4
47
|
|
5
48
|
## 4.0.6
|
6
49
|
Mon, 24 Jul 2023 05:07:33 GMT
|
@@ -43,6 +86,16 @@ Mon, 22 May 2023 15:34:14 GMT
|
|
43
86
|
- Fixed 'betools docs' script to set 'packageRoot' to correct relative path from root to package source.
|
44
87
|
- Upgrade TypeScript compile target to es2021.
|
45
88
|
|
89
|
+
## 3.7.13
|
90
|
+
Tue, 08 Aug 2023 19:49:17 GMT
|
91
|
+
|
92
|
+
_Version update only_
|
93
|
+
|
94
|
+
## 3.7.12
|
95
|
+
Thu, 27 Jul 2023 21:50:57 GMT
|
96
|
+
|
97
|
+
_Version update only_
|
98
|
+
|
46
99
|
## 3.7.11
|
47
100
|
Tue, 11 Jul 2023 17:17:21 GMT
|
48
101
|
|
package/mocha-reporter/index.js
CHANGED
@@ -78,9 +78,9 @@ class BentleyMochaReporter extends Spec {
|
|
78
78
|
// Detect hangs caused by tests that leave timers/other handles open - not possible in electron frontends.
|
79
79
|
if (!("electron" in process.versions)) {
|
80
80
|
// NB: By calling unref() on this timer, we stop it from keeping the process alive, so it will only fire if _something else_ is still keeping
|
81
|
-
// the process alive after
|
81
|
+
// the process alive after 30 seconds. This also has the benefit of preventing the timer from showing up in wtfnode's dump of open handles.
|
82
82
|
setTimeout(() => {
|
83
|
-
logBuildError(`Handle leak detected. Node was still running
|
83
|
+
logBuildError(`Handle leak detected. Node was still running 30 seconds after tests completed.`);
|
84
84
|
if (debugLeaks) {
|
85
85
|
const wtf = require("wtfnode");
|
86
86
|
wtf.setLogger("info", console.error);
|
@@ -100,7 +100,7 @@ class BentleyMochaReporter extends Spec {
|
|
100
100
|
}
|
101
101
|
// Not sure why, but process.exit(1) wasn't working here...
|
102
102
|
process.kill(process.pid);
|
103
|
-
},
|
103
|
+
}, 30 * 1000).unref();
|
104
104
|
}
|
105
105
|
if (!this.stats.pending)
|
106
106
|
return;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@itwin/build-tools",
|
3
|
-
"version": "4.2.0-dev.
|
3
|
+
"version": "4.2.0-dev.30",
|
4
4
|
"description": "Bentley build tools",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"url": "http://www.bentley.com"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
|
-
"@microsoft/api-extractor": "7.
|
24
|
+
"@microsoft/api-extractor": "~7.36.4",
|
25
25
|
"chalk": "^3.0.0",
|
26
26
|
"cpx2": "^3.0.0",
|
27
27
|
"cross-spawn": "^7.0.1",
|