@appland/scanner 1.83.1 → 1.84.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.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [@appland/scanner-v1.84.1](https://github.com/getappmap/appmap-js/compare/@appland/scanner-v1.84.0...@appland/scanner-v1.84.1) (2023-11-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Catch and report errors that occur in the matcher function ([b558170](https://github.com/getappmap/appmap-js/commit/b558170aa49c3b874c5b46f504a1db1a0120bacb))
7
+
8
+ # [@appland/scanner-v1.84.0](https://github.com/getappmap/appmap-js/compare/@appland/scanner-v1.83.1...@appland/scanner-v1.84.0) (2023-11-07)
9
+
10
+
11
+ ### Features
12
+
13
+ * Update @appland/openapi to 1.7.0 ([1718173](https://github.com/getappmap/appmap-js/commit/17181733221e46a371266b6b3d9c18966b4db099))
14
+
1
15
  # [@appland/scanner-v1.83.1](https://github.com/getappmap/appmap-js/compare/@appland/scanner-v1.83.0...@appland/scanner-v1.83.1) (2023-10-02)
2
16
 
3
17
 
@@ -231,7 +231,13 @@ class RuleChecker {
231
231
  });
232
232
  if (this.progress)
233
233
  yield this.progress.matchEvent(event, appMapIndex);
234
- const matchResult = yield checkInstance.ruleLogic.matcher(event, appMapIndex, checkInstance.filterEvent.bind(checkInstance));
234
+ let matchResult;
235
+ try {
236
+ matchResult = yield checkInstance.ruleLogic.matcher(event, appMapIndex, checkInstance.filterEvent.bind(checkInstance));
237
+ }
238
+ catch (e) {
239
+ (0, console_1.warn)(e);
240
+ }
235
241
  if (this.progress)
236
242
  yield this.progress.matchResult(event, matchResult);
237
243
  const numFindings = findings.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appland/scanner",
3
- "version": "1.83.1",
3
+ "version": "1.84.1",
4
4
  "description": "Analyze AppMaps for code flaws",
5
5
  "bin": "built/cli.js",
6
6
  "main": "built/index.js",
@@ -64,7 +64,7 @@
64
64
  "dependencies": {
65
65
  "@appland/client": "^1.5.0",
66
66
  "@appland/models": "^2.6.3",
67
- "@appland/openapi": "1.6.1",
67
+ "@appland/openapi": "^1.7.0",
68
68
  "@appland/sql-parser": "^1.5.0",
69
69
  "@types/cli-progress": "^3.9.2",
70
70
  "ajv": "^8.8.2",