{
  "schemaVersion": "ebb.rule.v1",
  "id": "npm.package.node-sass.deprecated",
  "ecosystem": "npm",
  "purl": "pkg:npm/node-sass",
  "affectedVersions": "vers:npm/0.2.0|0.2.1|0.2.2|0.2.3|0.2.4|0.2.5|0.2.6|0.3.0|0.4.0|0.4.1|0.4.2|0.4.3|0.4.4|0.5.0|0.5.1|0.5.2|0.5.3|0.5.4|0.6.0|0.6.1|0.6.2|0.6.3|0.6.4|0.6.5|0.6.6|0.6.7|0.7.0-alpha|0.7.0|0.8.0|0.8.1|0.8.2|0.8.3|0.8.4|0.8.5|0.8.6|0.9.0|0.9.1|0.9.2|0.9.3|0.9.4-rc1|0.9.4|0.9.5-rc1|0.9.5|0.9.6|1.0.0|1.0.1|1.0.2-alpha|1.0.2|1.0.3|1.1.0|1.1.1|1.1.2|1.1.3|1.1.4|1.2.0|1.2.1|1.2.2|1.2.3|2.0.0-beta|2.0.0|2.0.1|2.1.0|2.1.1|3.0.0-alpha.0|3.0.0-beta.2|3.0.0-beta.3|3.0.0-beta.4|3.0.0-beta.5|3.0.0-beta.7|3.0.0|3.1.0|3.1.1|3.1.2|3.2.0|3.3.0|3.3.1|3.3.2|3.3.3|3.4.0-beta.2|3.4.0-beta1|3.4.0|3.4.1|3.4.2|3.5.0-beta.1|3.5.1|3.5.2|3.5.3|3.6.0|3.7.0|3.8.0|3.9.0|3.9.1|3.9.2|3.9.3|3.10.0-1|3.10.0|3.10.1|3.11.0|3.11.1|3.11.2|3.11.3|3.12.0|3.12.1|3.12.2|3.12.3|3.12.4|3.12.5|3.13.0|3.13.1|3.14.0-0|4.0.0|4.1.0|4.1.1|4.2.0|4.3.0|4.4.0|4.5.0|4.5.1|4.5.2|4.5.3|4.6.0|4.6.1|4.7.1|4.7.2|4.8.1|4.8.2|4.8.3|4.9.0|4.9.1|4.9.2|4.9.3|4.9.4|4.10.0|4.11.0|4.12.0|4.13.0|4.13.1|4.14.0|4.14.1|5.0.0|6.0.0|6.0.1|7.0.0|7.0.1|7.0.2|7.0.3|8.0.0|9.0.0",
  "event": "deprecated",
  "severity": "medium",
  "title": "node-sass is deprecated",
  "summary": "npm marks node-sass as deprecated: \"Node Sass is no longer supported. Please use `sass` or `sass-embedded` instead.\"",
  "replacement": "sass",
  "sources": [
    {
      "title": "node-sass package deprecation notice",
      "url": "https://www.npmjs.com/package/node-sass",
      "accessedAt": "2026-10-30"
    },
    {
      "title": "node-sass registry metadata",
      "url": "https://registry.npmjs.org/node-sass",
      "accessedAt": "2026-10-30"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-30",
    "reviewedAt": "2026-10-30",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Preserve Sass include paths, importer behavior, output style, source maps, and generated CSS expected by the build."
    ],
    "steps": [
      {
        "id": "replace-sass-dependency",
        "title": "Replace Node Sass",
        "instructions": "Remove node-sass and add the maintained sass package in the same dependency section.",
        "targets": "declaration"
      },
      {
        "id": "update-sass-calls",
        "title": "Update compiler usages",
        "instructions": "Migrate render and renderSync imports and options to the supported Sass interface used by the project.",
        "targets": "usages"
      },
      {
        "id": "compare-css-output",
        "title": "Compare compiled output",
        "instructions": "Review generated CSS and source maps for behaviorally relevant differences.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "npm run test --if-present",
        "purpose": "Run stylesheet and repository tests when defined."
      },
      {
        "command": "npm run build --if-present",
        "purpose": "Compile the project and its stylesheets with Sass."
      }
    ]
  }
}
