サンプル
Prove that Express 4 removes `app.configure`, so env-specific bootstrap code must be written without it.
sha256:e06c29db577a1fb2a48a4f5b01d70afb5a30f0d28ae56acf19a8476a2dd871bd
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Prove that Express 4 removes `app.configure`, so env-specific bootstrap code must be written without it. HOW
- パッケージ
- express 4.19.1
- 環境
- node
- 作成日
- 2026-08-17T03:16:33Z
よくある思い込み
A seasoned developer expects `app.configure(...)` to remain available in Express 4 as it did in v3.
このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。
コントラクト
- In Express 4.19.1, `app.configure` is undefined and calling `app.configure(...)` throws `TypeError`, showing the v3-style helper no longer exists.
- `express()` still returns a usable app object with `app.listen` present.
ファイル
- 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-17 · ed25519:d91480838ac982c9