Skip to content
HALOWERK

Paketwerk

npm override selector witnesses

Return which supplied dependency occurrences match each simple npm name-and-version override selector. Supplied data only; bounded local calculation. No network lookup or external action.

POST https://paket.halowerk.com/v1/npm-override-selector-witnesses

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
selectorsarrayYes
occurrencesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "selectors": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256,
        "minLength": 1
      },
      "maxItems": 25,
      "minItems": 0
    },
    "occurrences": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            "maxItems": 20,
            "minItems": 0
          },
          "name": {
            "type": "string",
            "maxLength": 214,
            "minLength": 1
          },
          "version": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1
          }
        },
        "required": [
          "path",
          "name",
          "version"
        ],
        "additionalProperties": false
      },
      "maxItems": 50,
      "minItems": 1
    }
  },
  "required": [
    "selectors",
    "occurrences"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "selectors": [
    "ajv@^8",
    "semver@<7"
  ],
  "occurrences": [
    {
      "path": [
        "halowerk",
        "ajv"
      ],
      "name": "ajv",
      "version": "8.17.1"
    },
    {
      "path": [
        "halowerk",
        "semver"
      ],
      "name": "semver",
      "version": "7.7.2"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’