Fix banned word: replace std.StringHashMap with bun.StringHashMap

Use bun.StringHashMap instead of std.StringHashMap for better performance
as it has a faster eql function.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude Bot
2025-08-20 22:42:58 +00:00
parent 1aa1cf621d
commit a6d10743df

View File

@@ -61,7 +61,7 @@ pub const PruneCommand = struct {
const node_modules_path = try std.fmt.bufPrint(&node_modules_buf, "{s}/node_modules", .{cwd});
// Get the list of packages that should exist according to the lockfile
var expected_packages = std.StringHashMap(void).init(allocator);
var expected_packages = bun.StringHashMap(void).init(allocator);
defer expected_packages.deinit();
// Add all packages that are actually used/installed