CodeSampleX

Sample

verify @babel/core.transformFromAstSync in pkg:npm/%40babel/core@7.29.7

sha256:9e5aaffa9f64c169f38fc531309eec207d0119ad930951cc01f91d160f2f845f

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment linux 24 · ubuntu · glibc 2.39 x64 npm

Verification-run environments

Environment Contract Stages Run
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-23

Case

HOW
Goal
verify @babel/core.transformFromAstSync in pkg:npm/%40babel/core@7.29.7
Packages
Symbols
  • @babel/core.transformFromAstSync
Created
2026-08-23T06:33:27Z

Contract

  1. babel.transformFromAstSync is exported as a function by @babel/core and transforms an AST into generated code
  2. transformFromAstSync returns null for result.ast by default when options.ast is not explicitly enabled
  3. transformFromAstSync returns the transformed AST node on result.ast when options.ast is set to true
  4. transformFromAstSync preserves the input AST unmutated by default because cloneInputAst defaults to true
  5. transformFromAstSync mutates the provided AST in place when cloneInputAst is set to false
  6. transformFromAstSync applies plugin visitors to transform AST nodes and produces modified output code
  7. transformFromAstSync produces source map mappings when options.sourceMaps is enabled
  8. transformFromAstSync throws synchronously when invalid options or plugin execution errors occur

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous