{
  "schemaVersion": "ebb.rule.v1",
  "id": "npm.package.node-pre-gyp.deprecated",
  "ecosystem": "npm",
  "purl": "pkg:npm/node-pre-gyp",
  "affectedVersions": "vers:npm/0.1.0|0.1.1|0.1.2|0.1.3|0.1.4|0.1.5|0.1.6|0.1.7|0.1.8|0.1.9|0.2.1|0.2.2|0.2.3|0.2.4|0.2.5|0.2.6|0.3.0|0.3.1|0.4.0|0.4.1|0.4.2|0.5.0|0.5.1|0.5.2|0.5.3|0.5.4|0.5.5|0.5.6|0.5.8|0.5.9|0.5.10|0.5.11|0.5.12|0.5.13|0.5.14|0.5.15|0.5.16|0.5.17|0.5.18|0.5.19|0.5.20|0.5.21|0.5.22|0.5.23|0.5.24|0.5.25|0.5.26|0.5.27|0.5.28|0.5.29|0.5.30|0.5.31|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.6.8|0.6.9|0.6.10|0.6.11|0.6.12|0.6.13|0.6.14|0.6.15|0.6.16|0.6.17|0.6.18|0.6.19|0.6.20|0.6.21|0.6.22|0.6.23|0.6.24|0.6.25|0.6.26|0.6.27|0.6.28|0.6.29|0.6.30|0.6.31|0.6.32|0.6.33|0.6.34|0.6.35|0.6.36|0.6.37|0.6.38|0.6.39|0.7.0|0.8.0|0.9.0|0.9.1|0.10.0|0.10.1|0.10.2|0.10.3|0.11.0|0.12.0|0.13.0|0.14.0|0.15.0|0.16.0|0.17.0",
  "event": "deprecated",
  "severity": "high",
  "title": "node-pre-gyp is deprecated",
  "summary": "npm states that the unscoped node-pre-gyp package is deprecated and only @mapbox/node-pre-gyp will receive updates.",
  "replacement": "@mapbox/node-pre-gyp",
  "sources": [
    {
      "title": "node-pre-gyp package deprecation notice",
      "url": "https://www.npmjs.com/package/node-pre-gyp",
      "accessedAt": "2026-10-16"
    },
    {
      "title": "node-pre-gyp version metadata",
      "url": "https://registry.npmjs.org/node-pre-gyp",
      "accessedAt": "2026-10-16"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-16",
    "reviewedAt": "2026-10-16",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Preserve native-binary download locations, ABI selection, source-build fallback, install scripts, and publishing behavior."
    ],
    "steps": [
      {
        "id": "replace-node-pre-gyp",
        "title": "Replace node-pre-gyp",
        "instructions": "Move the dependency, scripts, imports, and binary configuration from node-pre-gyp to @mapbox/node-pre-gyp.",
        "targets": "all"
      },
      {
        "id": "verify-native-install",
        "title": "Verify native package installation",
        "instructions": "Test prebuilt-binary download and source-build fallback on every supported platform and Node.js ABI.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "npm run build --if-present",
        "purpose": "Build or install the native package with the scoped replacement."
      }
    ]
  }
}
