Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 02 / node commonjs bare package ancestor main index resolution

Reconstruct CommonJS bare package resolution against a supplied filesystem inventory.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-02/node-commonjs-bare-package-ancestor-main-index-resolution

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "commonJsResolve"
      ],
      "properties": {
        "commonJsResolve": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "parent_directory",
                "specifier",
                "files",
                "packages"
              ],
              "properties": {
                "parent_directory": {
                  "type": "string",
                  "maxLength": 256
                },
                "specifier": {
                  "type": "string",
                  "maxLength": 128
                },
                "files": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 256
                  },
                  "maxItems": 128,
                  "minItems": 0
                },
                "packages": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "directory",
                      "main"
                    ],
                    "properties": {
                      "directory": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "main": {
                        "type": "string",
                        "maxLength": 128
                      }
                    }
                  },
                  "maxItems": 64,
                  "minItems": 0
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "resolved_path",
                    "searched_node_modules",
                    "tried_files"
                  ],
                  "properties": {
                    "resolved_path": {
                      "type": "string",
                      "maxLength": 20000
                    },
                    "searched_node_modules": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "string",
                        "maxLength": 20000
                      }
                    },
                    "tried_files": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "string",
                        "maxLength": 20000
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →