CodeSampleX

Exemplo

verify pkg:npm/filelist@1.0.6

sha256:74e0b73db78506aeadb79713c3d4afd6932ce67c833fa0ff110a4b956c4929e7

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 node 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript npm 10

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-26

Caso

HOW
Objetivo
verify pkg:npm/filelist@1.0.6
Pacotes
Ambiente
node 22.23.2
Criado
2026-08-26T07:25:55Z

Contrato

  1. FileList instance includes string filenames and array of filenames
  2. exclude(string) removes exact matching files from the resolved file list
  3. exclude(RegExp) removes pattern matching files from the resolved file list
  4. exclude(Function) removes files that satisfy the predicate function
  5. shouldExclude(filename) returns true for excluded paths and false otherwise
  6. clearInclusions() resets pending additions before resolution
  7. clearExclusions() clears active exclusion patterns
  8. length() returns the number of resolved files in the list
  9. Array methods like map() return a new FileList instance with transformed items
  10. FileList.clone(fl) creates a cloned copy of the FileList

Arquivos

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

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

Seeder de origem

anônimo