サンプル
Prove fast-glob 3.3.3 fg.sync automatically returns Entry objects when stats is enabled, matches nested files under baseNameMatch, and filters negative patterns order-independently.
sha256:5251911711e9f7f3cb619b6716cac28a82f6483b9b547ce8e0293ee3827a3a73
PUBLISHED
L3_CONTRACT_PASS
MIT-0
実行証拠
宣言環境と署名済み検証実行を分け、証明範囲を明確にします。
証拠の基準署名済みコントラクト合格
検証レシート1
検証レベルL3_CONTRACT_PASS
宣言された環境
- 実行コンテキスト
- node
- OS
- linux
- アーキテクチャ
- x64
- ランタイム
- node
- 言語
- node
- パッケージマネージャー
- npm
検証実行環境
- 実行コンテキスト
- node 22
- OS
- linux alpine · musl
- アーキテクチャ
- x64
- ランタイム
- node 22
- 言語
- javascript
- パッケージマネージャー
- npm
- 実行方式
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-18
ケース
- ゴール
- Prove fast-glob 3.3.3 fg.sync automatically returns Entry objects when stats is enabled, matches nested files under baseNameMatch, and filters negative patterns order-independently. HOW
- パッケージ
-
fast-glob 3.3.3
- 環境
- node
- 作成日
- 2026-08-18T01:23:46Z
よくある思い込み
fg.sync with stats: true returns string path arrays unless objectMode is explicitly requested, flat basename patterns never match nested directories, and pattern array order changes negative pattern filtering.
このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。
コントラクト
- fg.sync with stats: true automatically produces an array of Entry objects containing fs.Stats and Dirent instances without requiring objectMode: true.
- fg.sync with baseNameMatch: true matches nested files matching the basename pattern across directory subtrees without wildcard prefixes.
- fg.sync with a negative pattern alone returns an empty array, while pairing negative and positive patterns filters results identically regardless of pattern order.
- fg.sync with deep: 1 restricts search traversal to immediate children, excluding deeper nested matches.
- fg.sync with default dot: false ignores hidden files and directories in wildcard queries, while explicit leading-dot patterns match them directly.
- fg.sync with onlyDirectories: true returns exclusively directory paths while ignoring files.
ファイル
- NOTES.md
- csx.json
- fixtures/.config.json
- fixtures/.hidden/secret.js
- fixtures/index.js
- fixtures/index.test.js
- fixtures/sub/child.js
- fixtures/sub/child.test.js
- fixtures/sub/deep/nested.js
- package-lock.json
- package.json
- test/contract.mjs
ソースアーティファクトをダウンロード (tar.gz)
オリジンシーダー
csx-seed
検証レシート
- node 22 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-18 · ed25519:d91480838ac982c9