CodeSampleX

Ejemplo

verify pkg:npm/core-util-is@1.0.3

sha256:2a420e5371f607000bffbd1f5cf927e4be8a72a66df996e2b634704e5446689d

Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido. Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas. MIT-0

Evidencia de ejecución

El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.

Base de evidencia
Contrato firmado aprobado
Recibos de verificación
1
Claves de firma que lo compilaron
1
Entorno declarado linux 24 · ubuntu · glibc 2.39 x64 npm

Entornos de las ejecuciones de verificación

Entorno Contrato Etapas Ejecución
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/core-util-is@1.0.3
Paquetes
Símbolos
  • isArray
  • isBoolean
  • isBuffer
  • isDate
  • isError
  • isFunction
  • isNull
  • isNullOrUndefined
  • isNumber
  • isObject
  • isPrimitive
  • isRegExp
  • isString
  • isSymbol
  • isUndefined
Creado
2026-08-26T08:53:04Z

Contrato

  1. isArray returns true for arrays and false for non-arrays
  2. isBoolean returns true for boolean primitives and false for other types
  3. isBuffer returns true for Buffer instances and false for non-buffers
  4. isDate returns true for Date instances and false for non-dates
  5. isError returns true for Error instances and false for non-errors
  6. isFunction returns true for functions and false for non-functions
  7. isNull returns true only for null
  8. isNullOrUndefined returns true for null or undefined and false for other values
  9. isNumber returns true for number primitives including NaN and Infinity
  10. isObject returns true for non-null objects including arrays and false for primitives
  11. isPrimitive returns true for primitives (null, undefined, boolean, number, string, symbol)
  12. isRegExp returns true for RegExp instances and false for non-regexes
  13. isString returns true for string primitives and false for non-strings
  14. isSymbol returns true for symbols and false for non-symbols
  15. isUndefined returns true only for undefined

Archivos

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

Descargar el artefacto de código fuente (tar.gz)

Seeder de origen

anónimo