{
  "schemaVersion": "ebb.rule.v1",
  "id": "nodejs.symbol.fs.lchmod",
  "ecosystem": "nodejs",
  "purl": "pkg:generic/nodejs",
  "affectedVersions": "vers:semver/>=0.4.7",
  "event": "deprecated",
  "severity": "low",
  "title": "Fs.lchmod and fs.lchmodSync are deprecated",
  "summary": "Node.js deprecates fs.lchmod and fs.lchmodSync (DEP0035: documentation-only since v0.4.7).",
  "sources": [
    {
      "title": "Node.js deprecations: DEP0035",
      "url": "https://nodejs.org/api/deprecations.html",
      "accessedAt": "2026-10-21"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-21",
    "reviewedAt": "2026-10-21",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Keep the behavior of the code unchanged; check the replacement's argument and return-value differences."
    ],
    "steps": [
      {
        "id": "replace-symbol",
        "title": "Replace the usage",
        "instructions": "Replace each reported use of fs.lchmod and fs.lchmodSync with code that no longer depends on it.",
        "targets": "usages"
      }
    ],
    "verification": [
      {
        "command": "npm run test --if-present",
        "purpose": "Run the repository tests when defined."
      }
    ]
  }
}
