CodeSampleX

サンプル

verify pkg:npm/es-errors@1.3.0

sha256:50d251c0158c1a9fff164ec37da726cb3b4be3374319e7dec8135cc02d64cd72

公開状態です。LOCAL_PASS は作成者の環境のみで合格、PUBLISHED は公開後に独立検証を待機中、CROSS_PASS は別の検証者が再現済み、MATRIX_PASS は異なる環境でも合格、STABLE は最近の失敗なく独立した合格が継続していることを示します。 証拠の強さです。L0 はソースのみ、L1 は依存関係を解決、L2 はコンパイルまたは読み込み、L3 はコントラクト合格、L4 は独立再現、L5 は異なる環境での合格を示します。 MIT-0

実行証拠

宣言環境と署名済み検証実行を分け、証明範囲を明確にします。

証拠の基準
独立クロス検証
検証レシート
1
検証レベル
L4_CROSS_PASS

宣言された環境

実行コンテキスト
node 22
OS
linux
アーキテクチャ
x64
ランタイム
node 22
言語
javascript
パッケージマネージャー
npm 10

検証実行環境

node 22 · linux alpine/x64 · docker PASS
実行コンテキスト
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-19

ケース

HOW
ゴール
verify pkg:npm/es-errors@1.3.0
パッケージ
シンボル
  • es-errors
  • es-errors/eval
  • es-errors/range
  • es-errors/ref
  • es-errors/syntax
  • es-errors/type
  • es-errors/uri
環境
node 22
作成日
2026-08-18T18:05:07Z

コントラクト

  1. Root export returns the built-in Error constructor reference
  2. es-errors/eval subpath exports the built-in EvalError constructor reference
  3. es-errors/range subpath exports the built-in RangeError constructor reference
  4. es-errors/ref subpath exports the built-in ReferenceError constructor reference
  5. es-errors/syntax subpath exports the built-in SyntaxError constructor reference
  6. es-errors/type subpath exports the built-in TypeError constructor reference
  7. es-errors/uri subpath exports the built-in URIError constructor reference
  8. Constructed error instances inherit from Error and their specific constructor with expected name and message properties
  9. Constructors called as functions return valid error instances
  10. getErrorConstructor routes string identifiers to corresponding Error constructors
  11. createError constructs error instances matching expected constructors and messages

ファイル

  • PROMPT.md
  • csx.json
  • index.js
  • package-lock.json
  • package.json
  • spec.json
  • test/contract.js

ソースアーティファクトをダウンロード (tar.gz)

オリジンシーダー

匿名

検証レシート

  • node 22 · linux alpine/x64 · docker PASS
    CONTAINER_RUN compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS node-typescript@1
    ed25519:2175b912ea1c23b1