CodeSampleX

Sample

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

sha256:ef976376648973cbb8f035f30c8157e17dfe88dfdc1ad16e170beafc06a8ccb6

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.parseAsync in pkg:npm/%40babel/core@7.29.7
Packages
Symbols
  • @babel/core.parseAsync
Created
2026-08-23T06:24:27Z

Contract

  1. parseAsync is exported as a function by @babel/core and returns a Promise resolving to a File AST node
  2. parseCodeAsync parses JavaScript source into an AST with Program body containing top-level statements
  3. parseModule parses ES module code with import and export declarations setting sourceType to module
  4. parseScript parses script code setting sourceType to script
  5. extractTopLevelDeclarations identifies top-level variable, function, and class declaration names from parsed AST
  6. isValidSyntax returns true for valid JavaScript code and false when parsing invalid syntax
  7. parseAsync rejects with a SyntaxError when given invalid JavaScript code
  8. parseWithParserOpts preserves tokens and ranges when enabled in parser options

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