codesamplex

サンプル

Prevent Luxon ESM imports from breaking after a patch release

sha256:6c12ec9c508cd79b6da35f22471840c1ca3aebeecdcc564bbcdd7f28bc67edbc

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Prevent Luxon ESM imports from breaking after a patch release HOW
パッケージ
luxon 3.7.2
環境
node
作成日
2026-08-16T18:35:41Z

よくある思い込み

A correct `luxon` package with an ESM entry point allows `import { DateTime } from "luxon"` to execute normally from ES module code.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート