Skip to content

Conversation

@saifullah-siddique
Copy link

Replaced usage of util.isArray() with the modern Array.isArray() in flash.js to resolve Node.js deprecation warning [DEP0044].

  • Removed import of util.isArray
  • Updated conditional check to use Array.isArray(msg) instead
  • Added inline comment to clarify the change

This update ensures compatibility with current and future versions of Node.js and eliminates the runtime warning.

Replaced usage of `util.isArray()` with the modern `Array.isArray()` in flash.js to resolve Node.js deprecation warning [DEP0044].

- Removed import of `util.isArray`
- Updated conditional check to use `Array.isArray(msg)` instead
- Added inline comment to clarify the change

This update ensures compatibility with current and future versions of Node.js and eliminates the runtime warning.
@DominusKelvin
Copy link

Hey all, any idea why this hasn't been merged yet?

@saifullah-siddique
Copy link
Author

May be he stopped working on it

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.

2 participants