Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F A NEXT PROPERTY DESCRIPTORS / ecmascript property descriptor compatible update

An offline object-patch agent needs which ordinary descriptor updates can actually apply to existing nonconfigurable/nonwritable properties, including SameValue NaN and signed-zero boundaries.

POST https://detect.halowerk.com/v1/F-A-NEXT-PROPERTY_DESCRIPTORS/ecmascript-property-descriptor-compatible-update

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": [
        "property_descriptors"
      ],
      "properties": {
        "property_descriptors": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "events",
            "extensible",
            "initial"
          ],
          "properties": {
            "claim": {
              "type": "number",
              "minimum": -1000000000000,
              "maximum": 1000000000000
            },
            "events": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "op"
                ],
                "properties": {
                  "descriptor": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [],
                    "properties": {
                      "configurable": {
                        "type": "boolean"
                      },
                      "enumerable": {
                        "type": "boolean"
                      },
                      "get": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000
                      },
                      "set": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000
                      },
                      "value": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind"
                        ],
                        "properties": {
                          "id": {
                            "type": "number",
                            "minimum": -1000000000000,
                            "maximum": 1000000000000
                          },
                          "kind": {
                            "type": "string",
                            "maxLength": 1024
                          },
                          "value": {
                            "type": "number",
                            "minimum": -1000000000000,
                            "maximum": 1000000000000
                          }
                        }
                      },
                      "writable": {
                        "type": "boolean"
                      }
                    }
                  },
                  "key": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  },
                  "op": {
                    "type": "string",
                    "maxLength": 1024
                  }
                }
              }
            },
            "extensible": {
              "type": "boolean"
            },
            "initial": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "descriptor",
                  "key"
                ],
                "properties": {
                  "descriptor": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "configurable",
                      "value",
                      "writable"
                    ],
                    "properties": {
                      "configurable": {
                        "type": "boolean"
                      },
                      "enumerable": {
                        "type": "boolean"
                      },
                      "value": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "value"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string",
                            "maxLength": 1024
                          },
                          "value": {
                            "type": "number",
                            "minimum": -1000000000000,
                            "maximum": 1000000000000
                          }
                        }
                      },
                      "writable": {
                        "type": "boolean"
                      }
                    }
                  },
                  "key": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

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 →