Beispiel
Configure axios paramsSerializer object with indexes and dots options to control array and nested object query parameter serialization without external serializer libraries
sha256:3ed5394ba9928e355f5db734e6f2273a0468105d95b523114707b26c9ee8134d
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- Configure axios paramsSerializer object with indexes and dots options to control array and nested object query parameter serialization without external serializer libraries HOW
- Pakete
- axios 1.19.0
- Umgebung
- node
- Erstellt
- 2026-08-16T06:43:54Z
Contract
- start a local HTTP server capturing requested URLs
- request array params with paramsSerializer.indexes null and assert unbracketed repeated keys
- request array params with paramsSerializer.indexes true and assert indexed bracket keys
- request array params with paramsSerializer.indexes false and assert empty bracket keys
- request nested object params with paramsSerializer.dots true and assert dot-delimited keys
- request falsy params and assert null and undefined are stripped while zero, false, and empty string are retained
Dateien
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9