---
title: "uglify-js 3.18.0 Breaking Changes on npm | Since.dev"
description: "What each uglify-js release removed, renamed or changed: 537 breaking changes in 12 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/uglify-js
last_updated: 2026-12-04
---

# uglify-js breaking changes

uglify-js 3.18.0 (June 10, 2024) is its newest release with breaking changes. The first: Input is now processed as an ES module by default in uglify-js 3.18.0. Every breaking API change we have recorded in uglify-js on npm: 537 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.19.3`, released August 29, 2024. [Source repository](https://github.com/mishoo/UglifyJS)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0](#v-3-0-0) to [3.18.0](#v-3-18-0): 508 breaking changes in 11 versions.

## uglify-js 3.18.0 breaking changes

uglify-js 3.18.0, released June 10, 2024: 1 breaking change.

- **Behavior changed**  

Input code is parsed as an ES module by default instead of a script. Code relying on script semantics may compile differently and must opt out if needed. [github.com](https://github.com/mishoo/UglifyJS/releases/tag/v3.18.0)

## uglify-js 3.17.0 breaking changes

uglify-js 3.17.0, released August 16, 2022: 1 breaking change.

- **Configuration changed**  

Introduces a new --expression option for bookmarklets and JSON expressions in uglify-js 3.17.0 [github.com](https://github.com/mishoo/UglifyJS/releases/tag/v3.17.0)

## uglify-js 3.16.0 breaking changes

uglify-js 3.16.0, released June 6, 2022: 1 breaking change.

- **Removed** `MinifyOptions.expression`  

MinifyOptions.expression was removed in uglify-js 3.16.0 [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.16.0)

## uglify-js 3.15.4 breaking changes

uglify-js 3.15.4, released April 9, 2022: 1 breaking change.

- **Behavior changed**  

Function literals assigned to variables now keep their names when keep_fnames is set, so minified output may differ for code relying on the old name stripping. [github.com](https://github.com/mishoo/UglifyJS/releases/tag/v3.15.4)

## uglify-js 3.14.2 breaking changes

uglify-js 3.14.2, released September 7, 2021: 1 breaking change.

- **Behavior changed**  

The release changes the function inlining heuristic, so minified output may differ in size and structure. [github.com](https://github.com/mishoo/UglifyJS/releases/tag/v3.14.2)

## uglify-js 3.13.7 breaking changes

uglify-js 3.13.7, released May 18, 2021: 1 breaking change.

- **Behavior changed**  

Name mangling now produces different output names, which may change minified output but not the public API. [github.com](https://github.com/mishoo/UglifyJS/releases/tag/v3.13.7)

## Older versions

6 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### uglify-js 3.13.0 breaking changes

uglify-js 3.13.0, released March 1, 2021: 99 breaking changes.

- **Signature changed** `CompressOptions.arguments`  

Was arguments?: boolean; now arguments?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.13.0)
- **Signature changed** `CompressOptions.assignments`  

Was assignments?: boolean; now assignments?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.13.0)

And 97 more in this version.

### uglify-js 3.11.0 breaking changes

uglify-js 3.11.0, released September 27, 2020: 106 breaking changes.

- **Removed** `CompressOptions.hoist_exports`  

CompressOptions.hoist_exports was removed in uglify-js 3.11.0 [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.11.0)
- **Removed** `CompressOptions.imports`  

CompressOptions.imports was removed in uglify-js 3.11.0 [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.11.0)

And 104 more in this version.

### uglify-js 3.10.0 breaking changes

uglify-js 3.10.0, released June 21, 2020: 96 breaking changes.

- **Signature changed** `CompressOptions.arguments`  

Was arguments?: boolean; now arguments?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.10.0)
- **Signature changed** `CompressOptions.assignments`  

Was assignments?: boolean; now assignments?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.10.0)

And 94 more in this version.

### uglify-js 3.9.0 breaking changes

uglify-js 3.9.0, released April 13, 2020: 106 breaking changes.

- **Removed** `CompressOptions.hoist_exports`  

CompressOptions.hoist_exports was removed in uglify-js 3.9.0 [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.9.0)
- **Removed** `CompressOptions.imports`  

CompressOptions.imports was removed in uglify-js 3.9.0 [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.9.0)

And 104 more in this version.

### uglify-js 3.1.0 breaking changes

uglify-js 3.1.0, released September 10, 2017: 95 breaking changes.

- **Signature changed** `CompressOptions.arguments`  

Was arguments?: boolean; now arguments?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.1.0)
- **Signature changed** `CompressOptions.assignments`  

Was assignments?: boolean; now assignments?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.1.0)

And 93 more in this version.

### uglify-js 3.0.0 breaking changes

uglify-js 3.0.0, released May 6, 2017: 29 breaking changes.

- **Removed** `AST_Node`  

AST_Node was removed in uglify-js 3.0.0 [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.0.0)
- **Removed** `AST_Toplevel`  

AST_Toplevel was removed in uglify-js 3.0.0 [npmjs.com](https://www.npmjs.com/package/uglify-js/v/3.0.0)

And 27 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
