Skip to content

Bump rollup from 4.44.0 to 4.59.0#10

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/rollup-4.59.0
Open

Bump rollup from 4.44.0 to 4.59.0#10
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/rollup-4.59.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 27, 2026

Bumps rollup from 4.44.0 to 4.59.0.

Release notes

Sourced from rollup's releases.

v4.59.0

4.59.0

2026-02-22

Features

  • Throw when the generated bundle contains paths that would leave the output directory (#6276)

Pull Requests

v4.58.0

4.58.0

2026-02-20

Features

  • Also support __NO_SIDE_EFFECTS__ annotation before variable declarations declaring function expressions (#6272)

Pull Requests

v4.57.1

4.57.1

2026-01-30

Bug Fixes

  • Fix heap corruption issue in Windows (#6251)
  • Ensure exports of a dynamic import are fully included when called from a try...catch (#6254)

Pull Requests

... (truncated)

Changelog

Sourced from rollup's changelog.

4.59.0

2026-02-22

Features

  • Throw when the generated bundle contains paths that would leave the output directory (#6276)

Pull Requests

4.58.0

2026-02-20

Features

  • Also support __NO_SIDE_EFFECTS__ annotation before variable declarations declaring function expressions (#6272)

Pull Requests

4.57.1

2026-01-30

Bug Fixes

  • Fix heap corruption issue in Windows (#6251)
  • Ensure exports of a dynamic import are fully included when called from a try...catch (#6254)

Pull Requests

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for rollup since your current version.

Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [rollup](https://github.com/rollup/rollup) from 4.44.0 to 4.59.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.44.0...v4.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 4.59.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 27, 2026
Copy link
Copy Markdown

@ecobitai ecobitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency Verification: APPROVED

rollup 4.44.0 → 4.59.0 (minor bump)

Summary

  • Dependency Type: Transitive (via Vite 6.4.1)
  • Direct Usage: None - no rollup config files or direct imports
  • CI Status: ⚠️ No CI checks configured
  • Risk Level: Low

Analysis

Transitive Dependency:
Rollup is not a direct dependency. It's pulled in through Vite 6.4.1, which requires rollup: ^4.34.9. Version 4.59.0 satisfies this constraint.

No Custom Configuration:

  • No rollup.config.* files found
  • No direct rollup imports in source code
  • No manual chunks or advanced output configuration in vite.config.ts
  • Simple Vite + React + Tailwind setup

Breaking Changes (4.44.0 → 4.59.0):

  1. v4.59.0 - Bundle Path Validation: Now throws error when bundle paths would leave output directory. This is a security improvement that won't affect normal builds.

  2. v4.57.0 - Deprecation Warning: Import attributes in load/transform hooks deprecated for Rollup 5. Only affects custom rollup plugins (not applicable here).

  3. v4.52.0 - New Option: output.onlyExplicitManualChunks added. Optional feature, no impact.

Notable Improvements:

  • Tree-shaking enhancements (Symbol.hasInstance, Symbol.dispose, unused properties)
  • Windows heap corruption fix (v4.57.1)
  • Better rendering performance
  • Top-level await fixes

Risk Assessment

Low Risk Factors:

  • Transitive dependency managed by Vite
  • No custom rollup configuration
  • Breaking changes are security improvements or deprecation warnings
  • Vite 6.4.1 explicitly supports this version range

⚠️ Concerns:

  • No CI configured to verify build succeeds
  • Recommend adding basic CI workflow for dependency updates

Recommendation

APPROVED - Safe to merge. This is a routine transitive dependency update with no direct usage in the codebase. The breaking changes are either security improvements or future deprecation warnings that don't affect this project.

Consider adding a GitHub Actions workflow to run npm run build on PRs for automated verification of dependency updates.

Technical Details
Property Value
Classifier Tier standard
Tier Reasoning Minor version bump with security advisory requires investigation despite being a patch-range update. No CI checks available to verify safety.
Verdict APPROVE
Model z-ai/glm-5
Iterations 14
Reasoning enabled
Duration 241.7s
Tokens Count Cost
Input 196,083 $0.1569
Output 3,539 $0.0091
Total $0.1659

Classifier overhead: 375 tokens ($0.0006)

Tools: shell x19, search_web, fetch_url

⚡️ Trace Log

🔷 Executed:

cat package.json | jq '{dependencies: .dependencies, devDependencies: .devDependencies}' 2>/dev/null || cat package.json

Length of output: 562 chars

{
  "dependencies": {
    "@tailwindcss/vite": "^4.1.10",
    "react": "^19.1.0",
    "react-dom": "^19.1.0",
    "tailwindcss": "^4.1.10"
  },
  "devDependencies": {
    "@eslint/js": "^9.25.0",
    "@types/node": "^24.10.0",
    "@types/react": "^19.1.2",
    "@types/react-dom": "^19.1.2",
    "@vitejs/plugin-react": "^4.4.1",
    "eslint": "^9.25.0",
    "eslint-plugin-react-hooks": "^5.2.0",
    "eslint-plugin-react-refresh": "^0.4.19",
    "globals": "^16.0.0",
    "typescript": "~5.8.3",
 ...

🔷 Executed:

fd -t f -e json "rollup.config" -o "rollup.config.js" -o "rollup.config.ts" -o "rollup.config.mjs" 2>/dev/null | head -5

Length of output: 11 chars

(no output)

🔷 Executed:

rg "rollup" -g "*.{json,js,ts,mjs,cjs}" -l 2>/dev/null | head -10

Length of output: 18 chars

package-lock.json

🔷 Executed:

cat package-lock.json | jq '.packages["node_modules/rollup"] // .packages["rollup"]' 2>/dev/null | head -20

Length of output: 608 chars

{
  "version": "4.59.0",
  "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.59.0.tgz",
  "integrity": "sha512-2oMpl67a3zCH9H79LeMcbDhXW/UmWG/y2zuqnF2jQq5uq9TbM9TVyXvA4+t+ne2IIkBdrLpAaRQAvo7YI/Yyeg==",
  "license": "MIT",
  "dependencies": {
    "@types/estree": "1.0.8"
  },
  "bin": {
    "rollup": "dist/bin/rollup"
  },
  "engines": {
    "node": ">=18.0.0",
    "npm": ">=8.0.0"
  },
  "optionalDependencies": {
    "@rollup/rollup-android-arm-eabi": "4.59.0",
    "@rollup/rollup-androi...

🔷 Executed:

cat package-lock.json | jq '.packages["node_modules/vite"].dependencies // .packages["node_modules/vite"].peerDependencies' 2>/dev/null

Length of output: 145 chars

{
  "esbuild": "^0.25.0",
  "fdir": "^6.4.4",
  "picomatch": "^4.0.2",
  "postcss": "^8.5.3",
  "rollup": "^4.34.9",
  "tinyglobby": "^0.2.13"
}

🔷 Executed:

fd -t f "vite.config" -e js -e ts -e mjs 2>/dev/null | head -5

Length of output: 15 chars

vite.config.ts

🔷 Executed:

cat package.json | jq '.scripts'

Length of output: 106 chars

{
  "dev": "vite",
  "build": "tsc -b && vite build",
  "lint": "eslint .",
  "preview": "vite preview"
}

🔷 Executed:

search_web(query="rollup 4.59 breaking changes migration", max_results=3)

Length of output: 1015 chars

Found 3 results for "rollup 4.59 breaking changes migration":

1. Migrating to Rollup 4 | Rollup
   https://rollupjs.org/migration/
   This is not a problem though if you plan on using these files names within the chunks as Rollup will replace all placeholders before generateBundle runs. Not necessarily a breaking change, but plugins that add or remove imports in renderChunk should make sure they also update the corresponding chunk information that is passed to this hook.

2. rollup/CHANGELOG.md...

🔷 Executed:

fetch_url(url="https://github.com/rollup/rollup/blob/master/CHANGELOG.md", extraction_prompt="Extract all breaking changes and important features between version 4.44.0 and 4.59.0. Focus on any ...")

Length of output: 2976 chars

*Content from https://github.com/rollup/rollup/blob/master/CHANGELOG.md:*

# Breaking Changes and Important Features: Rollup 4.44.0 to 4.59.0

## Breaking Changes

### Version 4.59.0
- **Bundle Path Validation**: Rollup now throws an error when the generated bundle contains paths that would leave the output directory (#6276)

### Version 4.57.0
- **Deprecation Warning**: Returning import attributes from `load` or `transform` hooks is now deprecated and will no longer be supported in Rollup 5 (#5...

🔷 Executed:

cat vite.config.ts

Length of output: 1025 chars

import type { Plugin } from 'vite'
import { defineConfig } from 'vite'
import tailwindcss from '@tailwindcss/vite'
import react from '@vitejs/plugin-react'

const MOCK_PROJECTS = [
  { id: '1', name: 'Alpha Project', createdOn: '2024-01-15T10:00:00Z', updatedOn: '2025-02-20T14:30:00Z' },
  { id: '2', name: 'Beta Initiative', createdOn: '2024-03-01T09:00:00Z', updatedOn: '2025-02-18T11:00:00Z' },
  { id: '3', name: 'Gamma Dashboard', createdOn: '2024-06-10T08:00:00Z', updatedOn: '2025-02-25T09:15...

🔷 Executed:

rg "\.\./" -g "*.{ts,tsx,js,jsx,json}" -n 2>/dev/null | grep -E "(import|export|require|path)" | head -20

Length of output: 285 chars

src/components/Table.tsx:1:import type { Project } from "../models/project";
src/pages/Home.tsx:2:import type { Project } from "../models/project";
src/pages/Home.tsx:3:import { getAllProjects } from "../api/projects";
src/pages/Home.tsx:4:import { Table } from "../components/Table";

🔷 Executed:

rg "output|outDir|build" vite.config.ts -A 2 -B 2

Length of output: 95 chars

Command failed (exit code 1): Command failed: rg "output|outDir|build" vite.config.ts -A 2 -B 2

🔷 Executed:

fd -t f "tsconfig" -e json 2>/dev/null | head -3

Length of output: 51 chars

tsconfig.app.json
tsconfig.json
tsconfig.node.json

🔷 Executed:

fd -t f "\.yml" .github 2>/dev/null | head -10

Length of output: 11 chars

(no output)

🔷 Executed:

ls -la .github 2>/dev/null || echo "No .github directory found"

Length of output: 27 chars

No .github directory found

🔷 Executed:

cat package.json | jq '.engines'

Length of output: 25 chars

{
  "node": ">=24.0.0"
}

🔷 Executed:

cat package-lock.json | jq '.lockfileVersion'

Length of output: 2 chars

3

🔷 Executed:

cat package-lock.json | jq '.packages | keys[] | select(contains("rollup"))' 2>/dev/null | head -20

Length of output: 919 chars

"node_modules/@rollup/rollup-android-arm-eabi"
"node_modules/@rollup/rollup-android-arm64"
"node_modules/@rollup/rollup-darwin-arm64"
"node_modules/@rollup/rollup-darwin-x64"
"node_modules/@rollup/rollup-freebsd-arm64"
"node_modules/@rollup/rollup-freebsd-x64"
"node_modules/@rollup/rollup-linux-arm-gnueabihf"
"node_modules/@rollup/rollup-linux-arm-musleabihf"
"node_modules/@rollup/rollup-linux-arm64-gnu"
"node_modules/@rollup/rollup-linux-arm64-musl"
"node_modules/@rollup/rollup-linux-loong64-gn...

🔷 Executed:

rg "manualChunks|output\." -g "*.{js,ts,mjs,cjs}" -n 2>/dev/null | head -10

Length of output: 11 chars

(no output)

🔷 Executed:

rg "import.*rollup|from.*rollup" -g "*.{js,ts,mjs}" -n 2>/dev/null | head -10

Length of output: 11 chars

(no output)

🔷 Executed:

cat package-lock.json | jq '.packages["node_modules/vite"].version'

Length of output: 8 chars

"6.4.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants