
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
assert-dir-equal
Advanced tools
Assert that the contents of two directories are equal.
$ npm install assert-dir-equal
var assert = require('assert-dir-equal');
// doesn't throw
assert('path/to/actual', 'path/to/expected');
// throws
assert('path/to/actual', 'path/to/not-identical');
Files starting with a dot are ignored by default, so they do not contribute to the equality check. This can be altered with filter option:
// check *all* files, including hidden ones
assert('path/to/actual', 'path/to/expected', {filter: () => true});
MIT
FAQs
Assert that the contents of two directories are equal.
The npm package assert-dir-equal receives a total of 111 weekly downloads. As such, assert-dir-equal popularity was classified as not popular.
We found that assert-dir-equal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.