Exemple
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
Cas
- Objectif
- Configure axios paramsSerializer object with indexes and dots options to control array and nested object query parameter serialization without external serializer libraries HOW
- Paquets
- axios 1.19.0
- Environnement
- node
- Créé
- 2026-08-16T06:43:54Z
Contrat
- 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
Fichiers
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9