{
  "schemaVersion": "ebb.rule.v1",
  "id": "npm.package.rollup-plugin-babel.deprecated",
  "ecosystem": "npm",
  "purl": "pkg:npm/rollup-plugin-babel",
  "affectedVersions": "vers:npm/1.0.0|2.0.0|2.0.1|2.1.0|2.2.0|2.3.0|2.3.1|2.3.2|2.3.3|2.3.4|2.3.5|2.3.6|2.3.7|2.3.8|2.3.9|2.4.0|2.5.0|2.5.1|2.6.0|2.6.1|2.7.0|2.7.1|3.0.0|3.0.1|3.0.2|3.0.3|3.0.4|3.0.5|3.0.6|3.0.7|4.0.0|4.0.1|4.0.2|4.0.3|4.1.0|4.2.0|4.3.0|4.3.1|4.3.2|4.3.3|4.4.0",
  "event": "deprecated",
  "severity": "medium",
  "title": "rollup-plugin-babel is deprecated",
  "summary": "npm states that rollup-plugin-babel is deprecated and no longer maintained, and recommends @rollup/plugin-babel.",
  "replacement": "@rollup/plugin-babel",
  "sources": [
    {
      "title": "rollup-plugin-babel package deprecation notice",
      "url": "https://www.npmjs.com/package/rollup-plugin-babel",
      "accessedAt": "2026-10-16"
    },
    {
      "title": "rollup-plugin-babel version metadata",
      "url": "https://registry.npmjs.org/rollup-plugin-babel",
      "accessedAt": "2026-10-16"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-16",
    "reviewedAt": "2026-10-16",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Preserve Babel presets and plugins, file inclusion, helper strategy, output targets, source maps, and Rollup output behavior."
    ],
    "steps": [
      {
        "id": "replace-rollup-babel",
        "title": "Replace the Rollup Babel plugin",
        "instructions": "Replace rollup-plugin-babel with @rollup/plugin-babel and update Rollup imports and plugin options.",
        "targets": "all"
      },
      {
        "id": "verify-bundle-output",
        "title": "Verify bundle output",
        "instructions": "Compare emitted syntax, helpers, source maps, and bundle behavior for every configured output.",
        "targets": "usages"
      }
    ],
    "verification": [
      {
        "command": "npm run build --if-present",
        "purpose": "Build every Rollup output with the maintained Babel plugin."
      }
    ]
  }
}
