Пример
debug 4.4.3: enable, enabled, extend
Проверенный пример — npm debug 4.4.3: enable, enabled, extend. Контракт выполнен на node 22 · linux alpine/x64 · docker и пройден: debug creates a debugger…
sha256:596d5bc47d11e59ab8fce94638c4ce618a07b966df865b4d347b50f1408ac699
Эта сеть предлагает одно: образец, который собирается. Она запустила его в песочнице и сохранила подписанную квитанцию. Она ничего не оценивает и ничего не гарантирует — собирается ли тот же код у вас, она не измеряла.
Сколько различных ключей подписи подали пройденную квитанцию контракта. Один — только автор; больше одного — значит, кто-то ещё тоже собрал. Ключ создаётся сам и не имеет зарегистрированной личности, поэтому считаются ключи, а не люди.
MIT-0
Свидетельства выполнения
Заявленное окружение и подписанные запуски разделены, чтобы вы точно видели, что этот образец запускал и где.
- Основа свидетельства
- Подписанный контракт пройден
- Квитанции проверки
- 1
- Ключи подписи, собравшие его
- 1
Заявленная среда
windows 11 x64 npm
Среды запусков проверки
| Окружение | Контракт | Этапы | Запуск |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-19 |
Кейс
HOW- Цель
- verify pkg:npm/debug@4.4.3
- Пакеты
- Символы
-
- debug
- debug.enable
- debug.enabled
- debug.extend
- Создан
- 2026-08-18T18:19:44Z
Контракт
- debug creates a debugger instance with the given namespace property and enabled status
- debug.enable activates namespaces matching pattern and updates existing debug instance enabled property
- debug.disable deactivates all namespaces and returns previous namespaces string
- debug.enabled checks whether a namespace string matches current enabled configuration including wildcard and negation prefix
- debug.extend creates a child debugger with namespace appended using default colon delimiter
- debug.extend supports custom delimiter when creating extended child debugger
- debug executes custom log function only when enabled and forwards namespace prefix and arguments
- debug does not invoke log function when namespace is disabled
- debug supports registering custom formatter functions in debug.formatters
- configureLogging helper enables specified namespaces and updates debug instance state
Файлы
- PROMPT.md
- csx.json
- index.mjs
- package-lock.json
- package.json
- spec.json
- test/contract.mjs
Исходный сидер
аноним