Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Object.assign instead of deprecated util._extend #1666

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nikeee
Copy link

@nikeee nikeee commented Apr 25, 2024

When building an app using Vite, there is this deprecationw arning when using Node.js 22:

[DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.

This PR resolves that.

Object.assign is supported since Node.js 4.

Resolves:
```
[DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
```

When using Node.js 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant