---
title: "Bun v1.1.18"
description: "Bun v1.1.18 adds .npmrc support so bun install can use existing private registry and scoped package configuration, alongside package-lock.json migration."
url: "https://swe.quest/articles/bun-v1-1-18-31b31471d1306e48"
canonical: "https://bun.com/blog/bun-v1.1.18"
source: "Bun"
published: "2024-07-03"
difficulty: "medium"
kind: "Release"
reading_minutes: 5
tags: ["javascript","typescript","runtimes","compilers","build-systems"]
---

# Bun v1.1.18

A post on [Bun](https://swe.quest/sources/bun.md), published 2024-07-03, 5 min read, Release. Original: [https://bun.com/blog/bun-v1.1.18](https://bun.com/blog/bun-v1.1.18)

## Summary

Bun v1.1.18 adds .npmrc support so bun install can use existing private registry and scoped package configuration, alongside package-lock.json migration. The transpiler now inlines TypeScript const enum values, constant-folds bitwise and string operations using JavaScriptCore-consistent semantics, and merges duplicate TypeScript namespaces like tsc. Fixes cover bun install binary linking (deterministic alphabetical order, all package copies, CRLF shebang normalization), a tarball-URL overrides crash, a SIMD escapeHTML assertion, dns.lookup crashes with Node-matching errors, and a JavaScriptCore upgrade.

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)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Compilers](https://swe.quest/tags/compilers.md) (Compilers & runtimes)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)

## Prerequisites

- npm package management ([easy posts on Engineering management](https://swe.quest/tags/engineering-management.md?difficulty=easy))
- TypeScript enums and namespaces ([easy posts on TypeScript](https://swe.quest/tags/typescript.md?difficulty=easy))

## Keywords

Bun, JavaScriptCore, .npmrc, bun install, TypeScript const enum, constant folding

## Related posts

- [Bun v1.0.3](https://swe.quest/articles/bun-v1-0-3-d04713de4ee24b5c.md): Bun · 2023-09-22 · Medium · 8 min read · JavaScript, Runtimes & VMs, TypeScript
  Bun v1.0.3 adds support for TypeScript's emitDecoratorMetadata, which makes Nest.js and TypeORM-style decorator reflection work out of the box.
- [Bun v1.1.28](https://swe.quest/articles/bun-v1-1-28-8e190941a0fa10b3.md): Bun · 2024-09-18 · Medium · 4 min read · JavaScript, Runtimes & VMs
  Bun v1.1.28 fixes 40 bugs and adds compiling and running C directly from JavaScript to use native system libraries without a separate build step, a 30x faster \`path.resolve\`, and named pipe support on Windows.
- [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.1.8](https://swe.quest/articles/bun-v1-1-8-72b84da88fe769f5.md): Bun · 2024-05-10 · Medium · 6 min read · JavaScript, Runtimes & VMs
  Bun v1.1.8 fixes 54 bugs and adds support for process.on("uncaughtException") and process.on("unhandledRejection"), Brotli compression in node:zlib (which also restores axios compatibility), and \[Symbol.dispose\] on Bun.spawn, Bun.serve, Bun.connect and Bun.listen for use with the \`using\` syntax.
- [Bun v1.1.30](https://swe.quest/articles/bun-v1-1-30-4f8e7c9af8830c50.md): Bun · 2024-10-08 · Medium · 10 min read · JavaScript, Build systems, CSS, Runtimes & VMs, Developer tools
  Bun v1.1.30 adds an experimental CSS parser and bundler, a LightningCSS port rewritten from Rust to Zig.

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)
