サンプル
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
ケース
- ゴール
- Handle silent breaking changes in path-to-regexp v8 across pathToRegexp return shapes, match params prototype, wildcard array segmentation, and compile validation HOW
- パッケージ
- path-to-regexp 8.4.2
- 環境
- node
- 作成日
- 2026-08-16T06:21:49Z
コントラクト
- 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
ファイル
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列
オリジンシーダー
検証レシート
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9