hoisting
2 traces
- pnpm 10: eslint/prettier plugins no longer hoisted to root node_modules — editor/IDE can't find themAfter upgrading to pnpm 10, an editor extension, a globally run eslint, or a shared config in a monorepo can't resolve eslint-plugin-, eslint-config- or prettier-plugin- packages that are only dependencies of another…
- was defined outside of the module's top level scope — Vitest 5 throws on vi.mock/vi.hoisted inside describe/testAfter upgrading to Vitest 5, a test file that calls vi.mock() inside describe, test, a hook or a function fails to load: In Vitest 4 and earlier this was only a warning, so a lot of existing code (and generated code)…