You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
May be closed by #2210 though the PR replaces lodash with @gilbarbara/deep-equal as opposed to using the native util.isDeepStrictEqual as suggested by lodash maintainer
May be closed by #2210 though the PR replaces lodash with @gilbarbara/deep-equal as opposed to using the native util.isDeepStrictEqual as suggested by lodash maintainer
Unfortunately isDeepStrictEqual is currently only available in Node so we still need a non native alternative. The ones I choose I think are the best taking bundle size, performance, maintainability, popularity and typescript support into consideration.
Version:
@inertiajs/vue3
version: 2.0.3Describe the problem:
I am getting the following warning in the terminal while running npm run build.
Warning
deprecated [email protected]: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
I am using the Vue package but lodash is referenced in the react and svelte equivalents as well.
inertia/packages/vue3/package.json
Line 63 in 1b29f8a
inertia/packages/react/package.json
Line 63 in 1b29f8a
inertia/packages/svelte/package.json
Line 48 in 1b29f8a
A quick search shows that
lodash.isequal
is only used byuseForm()
but I am not confident with Typescript enough to attempt a PR 🙈Steps to reproduce:
Run
npm run build
on a project withvite
&@inertiajs/vue3
The text was updated successfully, but these errors were encountered: