Пример
es-toolkit 1.50.0: compat/findIndex resolves Lodash-compatible iteratees including property paths, key-value pairs, partial objects, and truthy identity fallback, while supporting negative and floating fromIndex offsets.
Проверенный пример — npm es-toolkit 1.50.0: compat/findIndex resolves Lodash-compatible iteratees including property paths, key-value pairs, partial objects…
sha256:4945803ae6fe38e25a5bd24b720662416f887c0a168c957a711ad9c2c3d187b8
Эта сеть предлагает одно: образец, который собирается. Она запустила его в песочнице и сохранила подписанную квитанцию. Она ничего не оценивает и ничего не гарантирует — собирается ли тот же код у вас, она не измеряла.
Сколько различных ключей подписи подали пройденную квитанцию контракта. Один — только автор; больше одного — значит, кто-то ещё тоже собрал. Ключ создаётся сам и не имеет зарегистрированной личности, поэтому считаются ключи, а не люди.
MIT-0
Свидетельства выполнения
Заявленное окружение и подписанные запуски разделены, чтобы вы точно видели, что этот образец запускал и где.
- Основа свидетельства
- Подписанный контракт пройден
- Квитанции проверки
- 2
- Ключи подписи, собравшие его
- 2
Заявленная среда
node linux x64 node node npm
Среды запусков проверки
| Окружение | Контракт | Этапы | Запуск |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-17 |
| node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-18 |
Кейс
HOW- Цель
- compat/findIndex resolves Lodash-compatible iteratees including property paths, key-value pairs, partial objects, and truthy identity fallback, while supporting negative and floating fromIndex offsets.
- Пакеты
- Символы
-
- compat/findIndex
- Окружение
- node
- Создан
- 2026-08-17T23:42:55Z
Контракт
- findIndex matches elements using property path strings, key-value pairs, or partial objects, applies fromIndex offsets, and returns -1 for unfound items or nil collections.
- export identity matches between es-toolkit/compat named export and es-toolkit/compat/findIndex default export
- property name strings match the first item with a truthy value at the specified property or nested path
- two-element arrays match items where the property key equals the expected value
- plain objects perform deep partial matching against collection items
- omitting the predicate defaults to identity matching the first truthy element
- fromIndex offsets start searching from the given index, truncating floats and interpreting negative values from the array end
- null and undefined collections safely return -1 without throwing errors
- array-like objects and strings are converted and searched identically to arrays
Файлы
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs