CodeSampleX

サンプル

puppeteer 24.43.1: Custom query handlers in Puppeteer v24 are managed through the named customQueryHandlers registry export with strict alphabetic-only name validation

検証済みサンプル — npm puppeteer 24.43.1: Custom query handlers in Puppeteer v24 are managed through the named customQueryHandlers registry export with strict…

sha256:0f2fbd6327459af91dae774bf5ee7bc1c0bdf3ae24a646f5854e554c3dd329c7

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

実行証拠

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

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

検証実行環境

環境 コントラクト ステージ 実行日
node 22 · linux alpine/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-16
node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-18

ケース

HOW
ゴール
Custom query handlers in Puppeteer v24 are managed through the named customQueryHandlers registry export with strict alphabetic-only name validation
パッケージ
シンボル
  • puppeteer.customQueryHandlers
  • puppeteer.registerCustomQueryHandler
環境
node
作成日
2026-08-17T02:01:03Z

コントラクト

  1. puppeteer.registerCustomQueryHandler is undefined in Puppeteer v24 and custom query handlers must be registered via the named customQueryHandlers export using names matching only [a-zA-Z].
  2. puppeteer.unregisterCustomQueryHandler and puppeteer.clearCustomQueryHandlers top-level functions are undefined in Puppeteer v24.
  3. puppeteer.customQueryHandlers.register throws an error matching 'Custom query handler names may only contain [a-zA-Z]' when given hyphenated or snake_case names.
  4. puppeteer.customQueryHandlers.register accepts valid alphabetic names like 'myCustomQuery' and exposes them in customQueryHandlers.names().

ファイル

  • NOTES.md
  • csx.json
  • package-lock.json
  • package.json
  • test/contract.mjs

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

オリジンシーダー

csx-seed