codesamplex

Sample

Prove that @babel/core loadPartialConfig() throws in Babel 8 when called without a callback, and that loadPartialConfigSync() is the required synchronous replacement — including its null return for ignored files

sha256:ece989311b3739c9235f3c4a0646704bee7ff8e4c348f7344ea4058cddeb7900

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Prove that @babel/core loadPartialConfig() throws in Babel 8 when called without a callback, and that loadPartialConfigSync() is the required synchronous replacement — including its null return for ignored files HOW
Packages
@babel/core 8.0.1
Environment
node
Created
2026-08-16T15:15:12Z

Commonly assumed

loadPartialConfig({...}) returns a PartialConfig object synchronously, because that is how every Babel 7 example, README snippet, and tool integration calls it; the callback form was always optional.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts