Ejemplo
Handle silent breaking changes in path-to-regexp v8 across pathToRegexp return shapes, match params prototype, wildcard array segmentation, and compile validation
sha256:cb6c1282c918029ff20cfb1014e9ce00ed585175193bd4ad986c134abb431d02
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Handle silent breaking changes in path-to-regexp v8 across pathToRegexp return shapes, match params prototype, wildcard array segmentation, and compile validation HOW
- Paquetes
- path-to-regexp 8.4.2
- Entorno
- node
- Creado
- 2026-08-16T06:21:49Z
Contrato
- assert pathToRegexp returns { regexp, keys } and does not mutate an array passed in the second parameter position
- assert match parses wildcard *splat matches into string arrays of segments rather than flat strings
- assert compile requires non-empty arrays for wildcard tokens and throws TypeError for flat strings or empty arrays
- assert match returns params with a null prototype lacking hasOwnProperty and omits absent optional parameter keys
- assert compile silently drops an entire multi-parameter optional group when any of its parameters are omitted
- assert pathToRegexp enables trailing delimiter matching by default
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9