CodeSampleX

サンプル

verify pkg:npm/react-is@17.0.2

sha256:15465abc987389a7f90fd756c6d92ec0a682aac2d872c24b519e661a561bfb82

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 合格した契約受領証を提出した異なる署名鍵の数です。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-27

ケース

HOW
ゴール
verify pkg:npm/react-is@17.0.2
パッケージ
シンボル
  • react-is.isContextConsumer
  • react-is.isContextProvider
  • react-is.isElement
  • react-is.isForwardRef
  • react-is.isFragment
  • react-is.isLazy
  • react-is.isMemo
  • react-is.isPortal
  • react-is.isProfiler
  • react-is.isStrictMode
  • react-is.isSuspense
  • react-is.isValidElementType
  • react-is.typeOf
作成日
2026-08-27T14:58:28Z

コントラクト

  1. isElement correctly identifies React element objects and rejects plain objects or primitives
  2. isValidElementType validates built-in tags, component functions, classes, and React symbols
  3. isFragment detects React Fragment elements with react.fragment type
  4. isContextConsumer detects elements created from React Context Consumer types
  5. isContextProvider detects elements created from React Context Provider types
  6. isForwardRef detects elements created from react.forward_ref component types
  7. isLazy detects elements created from react.lazy component types
  8. isMemo detects elements created from react.memo wrapped components
  9. isPortal detects React portal objects with react.portal type
  10. isProfiler detects React profiler elements with react.profiler type
  11. isStrictMode detects React strict mode elements with react.strict_mode type
  12. isSuspense detects React suspense elements with react.suspense type
  13. typeOf returns standard React type symbols for elements or undefined for non-elements

ファイル

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

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

オリジンシーダー

匿名