Skip to content
HALOWERK

Package and Supply Chain Security

dart lock package range

Dart locked package version checks a named package against a supplied semantic version range. Use it when an agent needs testing a dependency upgrade requirement.

POST https://paket.halowerk.com/v1/dart-lock-package-range

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
lockfilestringYesDart pubspec.lock YAML or a pinned pub@ revision shown in the usage guide.
packagestringYes
rangestringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "lockfile": {
      "type": "string",
      "maxLength": 64000,
      "minLength": 1,
      "description": "Dart pubspec.lock YAML or a pinned pub@ revision shown in the usage guide."
    },
    "package": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
    },
    "range": {
      "type": "string",
      "maxLength": 150,
      "minLength": 1
    }
  },
  "required": [
    "lockfile",
    "package",
    "range"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lockfile": "pub@b5263b3f",
  "package": "analyzer",
  "range": "^10.0.0"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’