CodeSampleX

サンプル

es-errors 1.3.0: eval, range, ref

検証済みサンプル — npm es-errors 1.3.0: eval, range, ref. node 22 · linux alpine/x64 · docker で contract を実行し、成功しました: Root export returns the built-in Error…

sha256:50d251c0158c1a9fff164ec37da726cb3b4be3374319e7dec8135cc02d64cd72

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。 MIT-0

実行証拠

宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。

証拠の基準
署名済みコントラクト合格
検証レシート
1
ビルドした署名鍵
1
宣言された環境 node 22 linux x64 node 22 javascript npm 10

検証実行環境

環境 コントラクト ステージ 実行日
node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · 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)

オリジンシーダー

匿名