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
255
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/browser - npm Package Versions

2345
26

4.46.2

Diff
l
lukastaegert
published 4.46.2 •

Changelog

Source

4.46.2

2025-07-29

Bug Fixes

  • Fix in-operator handling for external namespace and when the left side cannot be analyzed (#6041)

Pull Requests

  • #6041: Correct the logic of include in BinaryExpression and don't optimize external references away (@TrickyPi, @cyyynthia, @lukastaegert)
l
lukastaegert
published 4.46.1 •

Changelog

Source

4.46.1

2025-07-28

Bug Fixes

  • Do not fail when using the in operator on external namespaces (#6036)

Pull Requests

  • #6036: disables optimization for external namespace when using the in operator (@TrickyPi)
l
lukastaegert
published 4.46.0 •

Changelog

Source

4.46.0

2025-07-27

Features

  • Optimize in checks on namespaces to keep them treeshake-able (#6029)

Pull Requests

  • #5991: feat: update linux-loongarch64-gnu (@wojiushixiaobai, @lukastaegert)
  • #6029: feat: optimize in checks on namespaces to keep them treeshake-able (@cyyynthia, @lukastaegert)
  • #6033: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
l
lukastaegert
published 4.45.3 •

Changelog

Source

4.45.3

2025-07-26

Bug Fixes

  • Do not fail build if a const is reassigned but warn instead (#6020)
  • Fail with a helpful error message if an exported binding is not defined (#6023)

Pull Requests

  • #6014: chore(deps): update dependency @vue/language-server to v3 (@renovate[bot])
  • #6015: chore(deps): update dependency vue-tsc to v3 (@renovate[bot], @lukastaegert)
  • #6016: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
  • #6017: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
  • #6020: Make const reassignments only a warning (@lukastaegert)
  • #6023: Throw descriptive error message for used export is not defined (@TrickyPi)
  • #6027: feat: upgrade to NAPI-RS 3 stable (@Brooooooklyn)
  • #6028: Update eslint-plugin-unicorn to resolve vulnerability (@lukastaegert)
  • #6034: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
l
lukastaegert
published 4.45.2 •
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)
2345
26