In this article
What's changed
- The Worklets Jest resolver skipped
.nativefiles for every module whose path contained the stringreact-native-worklets. pnpm puts peer dependencies in store directory names, so with pnpm every module of a package that peer-depends on Worklets, such as Reanimated, resolved to its web implementation and tests failed on import (for example withwindow.matchMedia is not a function). The resolver now matches thereact-native-workletspackage directory and the package name in the request. (#10821 by @ryanlntn)
Full changelog: worklets-0.13.0...worklets-0.13.1
Release card