CodeSampleX

サンプル

verify pkg:npm/%40vitest/utils@4.1.11

sha256:4433b67746e766a48200b447afe623b7478c14477acc55f5e53ee79999f6c580

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

実行証拠

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

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

検証実行環境

環境 コントラクト ステージ 実行日
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5…
2026-08-28

ケース

HOW
ゴール
verify pkg:npm/%40vitest/utils@4.1.11
パッケージ
作成日
2026-08-28T06:25:19Z

コントラクト

  1. getType distinguishes JavaScript types including primitives, collections, and built-ins
  2. deepClone creates an independent deep copy of nested objects and arrays
  3. deepMerge deeply merges source object properties into target object
  4. createDefer creates a Promise with attached resolve and reject methods
  5. slash normalizes Windows backslash paths to Unix forward slashes
  6. toArray converts nullish values to empty arrays and wraps non-array values in single-element arrays
  7. isObject identifies object structures while returning false for arrays, functions, and primitives
  8. isPrimitive identifies JavaScript primitive values and rejects object structures
  9. cleanUrl strips query strings and hash fragments from URLs
  10. nanoid generates random identifier strings with default and custom lengths
  11. getSafeTimers provides access to unmocked native timer methods
  12. delay returns a promise that resolves after the specified duration
  13. diff computes differences between two values
  14. stringify serializes values into readable formatted strings
  15. processError processes error objects into structured test error representations
  16. unique removes duplicate primitive elements from an array

ファイル

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

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

オリジンシーダー

匿名