示例
Evaluate 0.x caret and tilde boundaries, prerelease range matching rules, and build metadata equality in semver
sha256:c724f0f486baa77c970f9237e6c59914d606b71416407858dcdd9ea18b865877
PUBLISHED
L3_CONTRACT_PASS
MIT-0
案例
- 目标
- Evaluate 0.x caret and tilde boundaries, prerelease range matching rules, and build metadata equality in semver HOW
- 包
- semver 7.8.5
- 环境
- node
- 创建时间
- 2026-08-15T14:43:18Z
契约
- assert ^0.2.3 rejects 0.3.0 because 0.x minor updates are breaking
- assert ^0.0.3 locks to exact patch whereas ~0.0.3 allows patch updates
- assert ^1.2.3-alpha.1 accepts 1.2.3-beta.1 but rejects 1.2.4-beta.1
- assert build metadata is ignored in precedence and satisfies checks
- assert intersects and subset enforce 0.x zero-major breaking boundaries
文件
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-15 · ed25519:d91480838ac982c9