You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@rollup/browser

Package Overview
Dependencies
Maintainers
4
Versions
250
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/browser - npm Package Versions

2345
25

4.45.1

Diff
l
lukastaegert
published 4.45.1 •

Changelog

Source

4.45.1

2025-07-15

Bug Fixes

  • Resolve crash when using certain conditional expressions (#6009)

Pull Requests

  • #6009: Add hasDeoptimizedCache flag for ConditionalExpression (@TrickyPi)
l
lukastaegert
published 4.45.0 •

Changelog

Source

4.45.0

2025-07-12

Features

  • Improve tree-shaking when both branches of a conditional expression return the same boolean value (#6000)
  • In environments that support both CJS and ESM, prefer the ESM build of Rollup (#6005)

Bug Fixes

  • Ensure static blocks do not prevent tree-shaking if they access this (#6001)

Pull Requests

  • #6000: feat: improve get literal value for conditional expression (@ahabhgk, @lukastaegert)
  • #6001: Correct the parent scope for static blocks (@TrickyPi, @lukastaegert)
  • #6005: fix: export field order prefer esm (@DylanPiercey)
l
lukastaegert
published 4.44.2 •

Changelog

Source

4.44.2

2025-07-04

Bug Fixes

  • Correctly handle @__PURE__ annotations after new keyword (#5998)
  • Generate correct source mapping for closing braces of block statements (#5999)

Pull Requests

  • #5998: Support @__PURE__ when nested after new in constructor invocations (@TrickyPi)
  • #5999: Add location info for closing brace of block statement (@TrickyPi)
  • #6002: chore(deps): update dependency vite to v7 (@renovate[bot], @lukastaegert)
  • #6004: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
l
lukastaegert
published 4.44.1 •

Changelog

Source

4.44.1

2025-06-26

Bug Fixes

  • Reinstate maxParallelFileOps limit of 1000 to resolve the issue for some (#5992)

Pull Requests

  • #5988: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
  • #5992: Set maxParallelFileOps to 1000 (@lukastaegert)
l
lukastaegert
published 4.44.0 •

Changelog

Source

4.44.0

2025-06-19

Features

  • Remove limit on maxParallelFileOps as this could break watch mode with the commonjs plugin (#5986)

Bug Fixes

  • Provide better source mappings when coarse intermediate maps are used (#5985)

Pull Requests

  • #5984: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
  • #5985: Improve approximation of coarse sourcemap segments (@TrickyPi)
  • #5986: Remove limit on max parallel file ops (@lukastaegert)
l
lukastaegert
published 4.43.0 •

Changelog

Source

4.43.0

2025-06-11

Features

  • Provide new fs option and this.fs API to replace file system (#5944)

Pull Requests

  • #5944: feat(options): Add an option for overriding the file system module in the JS API (@EggDice, @lukastaegert)
l
lukastaegert
published 4.42.0 •

Changelog

Source

4.42.0

2025-06-06

Features

  • Add option to allow the input to be located in the output in watch mode (#5966)

Pull Requests

  • #5966: feat: watch mode add allowInputInsideOutputPath option (@btea, @lukastaegert)
l
lukastaegert
published 4.41.2 •

Changelog

Source

4.41.2

2025-06-06

Bug Fixes

  • Detect named export usages in dynamic imports with then and non-arrow function expressions (#5977)
  • Do not replace usages of constant variables with their values for readability (#5968)

Pull Requests

  • #5968: fix: preserve constant identifiers in unary expressions instead of magic numbers (@OmkarJ13, @lukastaegert)
  • #5969: chore(deps): update dependency yargs-parser to v22 (@renovate[bot], @lukastaegert)
  • #5970: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
  • #5971: chore(deps): lock file maintenance (@renovate[bot])
  • #5976: Update README.md (@ftlno, @lukastaegert)
  • #5977: fix: consider function expression in thenable when tree-shaking dynamic imports (@TrickyPi)
  • #5981: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
  • #5982: Debug/fix watch pipeline (@lukastaegert)
l
lukastaegert
published 4.41.1 •

Changelog

Source

4.41.1

2025-05-24

Bug Fixes

  • If a plugin calls this.resolve with skipSelf: true, subsequent calls when handling this by the same plugin with same parameters will return null to avoid infinite recursions (#5945)

Pull Requests

  • #5945: Avoid recursively calling a plugin's resolveId hook with same id and importer (@younggglcy, @lukastaegert)
  • #5963: fix(deps): update swc monorepo (major) (@renovate[bot])
  • #5964: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
l
lukastaegert
published 4.41.0 •

Changelog

Source

4.41.0

2025-05-18

Features

  • Detect named exports in more dynamic import scenarios (#5954)

Pull Requests

  • #5949: ci: use node 24 (@btea, @lukastaegert)
  • #5951: chore(deps): update dependency pretty-bytes to v7 (@renovate[bot])
  • #5952: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
  • #5953: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
  • #5954: enhance tree-shaking for dynamic imports (@TrickyPi, @renovate[bot], @lukastaegert)
  • #5957: chore(deps): update dependency lint-staged to v16 (@renovate[bot], @lukastaegert)
  • #5958: fix(deps): update rust crate swc_compiler_base to v20 (@renovate[bot], @lukastaegert)
  • #5959: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
  • #5960: Use spawn to run CLI tests (@lukastaegert)
2345
25