From a6d10743df0fac356fdbe4cffae41f3b0370a8d7 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Wed, 20 Aug 2025 22:42:58 +0000 Subject: [PATCH] Fix banned word: replace std.StringHashMap with bun.StringHashMap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/cli/prune_command.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/prune_command.zig b/src/cli/prune_command.zig index c453112465..6b53446b7c 100644 --- a/src/cli/prune_command.zig +++ b/src/cli/prune_command.zig @@ -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