---
title: "Bun v1.2.15"
description: "Bun v1.2.15 adds `bun audit`, which checks dependencies in bun.lock against the same advisory endpoint npm audit uses, and `bun pm view` for inspecting npm package metadata."
url: "https://swe.quest/articles/bun-v1-2-15-74d006c8b2cc6963"
canonical: "https://bun.com/blog/bun-v1.2.15"
source: "Bun"
published: "2025-05-28"
difficulty: "medium"
kind: "Release"
reading_minutes: 5
tags: ["javascript","runtimes","supply-chain-security","developer-tools"]
---

# Bun v1.2.15

A post on [Bun](https://swe.quest/sources/bun.md), published 2025-05-28, 5 min read, Release. Original: [https://bun.com/blog/bun-v1.2.15](https://bun.com/blog/bun-v1.2.15)

## Summary

Bun v1.2.15 adds \`bun audit\`, which checks dependencies in bun.lock against the same advisory endpoint npm audit uses, and \`bun pm view\` for inspecting npm package metadata. A new \`BUN\_OPTIONS\` environment variable prepends shell-parsed flags to every Bun invocation, similar to NODE\_OPTIONS. Node.js compatibility grows with \`vm.SourceTextModule\`, \`Worker.getHeapSnapshot\` and \`perf\_hooks.createHistogram\`. The release also includes a JavaScriptCore upgrade and bundler, runtime and TypeScript type fixes.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- Node.js APIs ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- npm package management ([easy posts on Engineering management](https://swe.quest/tags/engineering-management.md?difficulty=easy))

## Keywords

Bun, bun audit, node:vm, SourceTextModule, JavaScriptCore, BUN\_OPTIONS, perf\_hooks

## Related posts

- [Bun v1.2.16](https://swe.quest/articles/bun-v1-2-16-2fbfbd468574713c.md): Bun · 2025-06-11 · Medium · 5 min read · JavaScript, Runtimes & VMs
  Bun v1.2.16 fixes 73 issues and adds 119 passing Node.js tests.
- [Bun v1.2.23](https://swe.quest/articles/bun-v1-2-23-679263f3c65e13e8.md): Bun · 2025-09-28 · Medium · 13 min read · JavaScript, Runtimes & VMs, Testing, Build systems
  Bun v1.2.23 fixes 119 issues. It adds automatic migration from pnpm-lock.yaml and pnpm workspaces to bun.lock, \`--cpu\`/\`--os\` filtering of optionalDependencies, and Pub/Sub in the built-in Redis client. bun test gains \`test.concurrent\`/\`describe.concurrent\` (default max 20 concurrent tests), \`--randomize\` with reproducible seeds, chained qualifiers, stricter CI behaviour and a rewritten execution order aligned with Vitest.
- [Bun v1.3.2](https://swe.quest/articles/bun-v1-3-2-22771baae9f86920.md): Bun · 2025-11-08 · Medium · 12 min read · JavaScript, Runtimes & VMs, Build systems, Testing
  Bun 1.3.2 restores hoisted installs as the default for existing workspaces and adds a lockfile configVersion field so future default changes don't break existing projects.
- [Bun v1.3.1](https://swe.quest/articles/bun-v1-3-1-ee365f019ab94793.md): Bun · 2025-10-22 · Medium · 9 min read · JavaScript, Runtimes & VMs, Build systems, Testing, Developer tools
  Bun v1.3.1 makes \`bun build\` up to 2x faster for symlink-heavy projects (isolated linker, pnpm).
- [Bun v1.0.12](https://swe.quest/articles/bun-v1-0-12-7e77f90bbca6622e.md): Bun · 2023-11-16 · Medium · 12 min read · JavaScript, Runtimes & VMs, Testing, Developer tools
  Bun v1.0.12 fixes 24 bugs and adds \`bun -e\` for evaluating inline scripts (with TypeScript, JSX and top-level await), \`--env-file\` for choosing which .env files to load, \`server.url\`, \`import.meta.env\`, and \`expect.unreachable()\` in bun:test.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
