Skip to content
HALOWERK

Package and Supply Chain Security

npm upgrade main entry relocation

npm package entry points return each release’s legacy main path and whether the path moved. Use it when an agent needs to check legacy module resolution.

POST https://paket.halowerk.com/v1/npm-upgrade-main-entry-relocation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
packagestringYes
fromstringYes
tostringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "package": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
    },
    "from": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "to": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    }
  },
  "required": [
    "package",
    "from",
    "to"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "package": "commander",
  "from": "9.5.0",
  "to": "12.1.0"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub →