@appland/scanner 1.77.0 → 1.77.2

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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [@appland/scanner-v1.77.2](https://github.com/getappmap/appmap-js/compare/@appland/scanner-v1.77.1...@appland/scanner-v1.77.2) (2023-05-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Consistently check queue.idle before queue.drain ([41d6e24](https://github.com/getappmap/appmap-js/commit/41d6e246dbc3665a70c7eed17104872a508d2d2a))
7
+
8
+ # [@appland/scanner-v1.77.1](https://github.com/getappmap/appmap-js/compare/@appland/scanner-v1.77.0...@appland/scanner-v1.77.1) (2023-04-29)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Update @appland/models in scanner ([00ea775](https://github.com/getappmap/appmap-js/commit/00ea775592ff42290ef35192bf98a10fc1cbd077))
14
+
1
15
  # [@appland/scanner-v1.77.0](https://github.com/getappmap/appmap-js/compare/@appland/scanner-v1.76.8...@appland/scanner-v1.77.0) (2023-04-28)
2
16
 
3
17
 
@@ -94,7 +94,8 @@ function create(scanResults, appId, appMapDir, mergeKey, mapsetOptions = {}, ret
94
94
  if ((0, util_1.verbose)())
95
95
  console.log(`Uploading ${relevantFilePaths.length} AppMaps`);
96
96
  q.push(relevantFilePaths);
97
- yield q.drain();
97
+ if (!q.idle())
98
+ yield q.drain();
98
99
  const mostFrequent = (counts) => {
99
100
  if (Object.keys(counts).length === 0)
100
101
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appland/scanner",
3
- "version": "1.77.0",
3
+ "version": "1.77.2",
4
4
  "description": "Analyze AppMaps for code flaws",
5
5
  "bin": "built/cli.js",
6
6
  "files": [
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@appland/client": "^1.5.0",
64
- "@appland/models": "^2.2.0",
64
+ "@appland/models": "^2.6.0",
65
65
  "@appland/openapi": "1.4.4",
66
66
  "@appland/sql-parser": "^1.5.0",
67
67
  "@types/cli-progress": "^3.9.2",