Socket
Socket
Sign inDemoInstall

@appland/scanner

Package Overview
Dependencies
278
Maintainers
4
Versions
119
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.73.0 to 1.73.1

11

built/cli/scan/watchScan.js

@@ -44,2 +44,3 @@ "use strict";

const async_1 = require("async");
const node_util_1 = require("node:util");
const formatReport_1 = require("./formatReport");

@@ -77,3 +78,5 @@ const scanner_1 = __importDefault(require("./scanner"));

this.scanEventEmitter = new events_1.default();
this.queue = (0, async_1.queue)(this.scan.bind(this), 2);
// do not remove callbackify, apparently on windows
// passing plain async function doesn't work (?)
this.queue = (0, async_1.queue)((0, node_util_1.callbackify)(this.scan.bind(this)), 2);
}

@@ -139,3 +142,3 @@ watch() {

}
scan(mtimePath, callback) {
scan(mtimePath) {
return __awaiter(this, void 0, void 0, function* () {

@@ -159,6 +162,2 @@ (0, assert_1.default)(this.config, `config should always be loaded before appmapWatcher triggers a scan`);

yield (0, promises_1.writeFile)(reportFile, (0, formatReport_1.formatReport)(rawScanResults));
// tell the queue that the current task is complete
if (callback) {
callback();
}
});

@@ -165,0 +164,0 @@ }

@@ -0,1 +1,8 @@

# [@appland/scanner-v1.73.1](https://github.com/getappmap/appmap-js/compare/@appland/scanner-v1.73.0...@appland/scanner-v1.73.1) (2022-11-29)
### Bug Fixes
* Continue watching correctly after skipping files ([b5d7c2d](https://github.com/getappmap/appmap-js/commit/b5d7c2df6da78ae20b6547e0ddd23f41f20cb428))
# [@appland/scanner-v1.73.0](https://github.com/getappmap/appmap-js/compare/@appland/scanner-v1.72.0...@appland/scanner-v1.73.0) (2022-11-28)

@@ -2,0 +9,0 @@

{
"name": "@appland/scanner",
"version": "1.73.0",
"version": "1.73.1",
"description": "Analyze AppMaps for code flaws",

@@ -5,0 +5,0 @@ "bin": "built/cli.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc