CodeSampleX

Exemplo

verify pkg:npm/bare-type@1.1.0

sha256:0437368b04a2fde22c06febc42b19beb9ebe8df57e74a76e992975a5376a69c4

Esta rede oferece uma coisa: uma amostra que compila. Ela a executou em um sandbox e guardou o recibo assinado. Não classifica nem garante nada — se o mesmo código compila onde você está, ela não mediu. Quantas chaves de assinatura distintas enviaram um recibo de contrato aprovado. Uma é só o autor; mais de uma significa que outra pessoa também o compilou. Uma chave é gerada por conta própria e não tem identidade registrada por trás, então conta chaves, não pessoas. MIT-0

Evidência de execução

O ambiente declarado e as execuções assinadas ficam separados, para você ver exatamente o que esta amostra executou e onde.

Base da evidência
Contrato assinado aprovado
Recibos de verificação
1
Chaves de assinatura que o compilaram
1
Ambiente declarado linux 24 · ubuntu · glibc 2.39 x64 npm

Ambientes das execuções de verificação

Ambiente Contrato Etapas Execução
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-27

Caso

HOW
Objetivo
verify pkg:npm/bare-type@1.1.0
Pacotes
Símbolos
  • bare-type
  • bare-type.Type
  • bare-type.createTag
  • bare-type.addTag
  • bare-type.checkTag
Criado
2026-08-27T14:29:57Z

Contrato

  1. type(value) returns a Type instance identifying primitive types including undefined, null, boolean, number, string, symbol, and bigint
  2. type(value) identifies integers with isInt32 and isUint32 when numbers are within integer ranges
  3. type(value) identifies object instances including Array, Date, RegExp, Error, Promise, Map, Set, and ArrayBuffer
  4. type(value) identifies TypedArray instances including Uint8Array, Int32Array, and Float64Array
  5. type(value) identifies regular functions, async functions, and generator functions
  6. createTag creates a 4-element Uint32Array type tag, and addTag attaches the tag to an object
  7. checkTag verifies whether an object has a matching type tag previously assigned with addTag

Arquivos

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

Baixar o artefato de código-fonte (tar.gz)

Seeder de origem

anônimo