jaredhanson / jaredhanson/connect-flash
Deprecation Warning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 173
- PR merge metrics
- No merged PRs in 30d
Description
To the devs of connect-flash,
In my nodejs project, I used connect-flash to display messages like 'Comment created successfully', etc. when I got the following warning:
(node:4588) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
The stacktrace tells me it originated from connect-flash\lib\flash.js:67:16 when I used node --trace-deprecation
Kindly change it as soon as possible.
Thank you!
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect lib/flash.js at line 67, where the stack trace identifies the deprecated API use. Reproduce the warning with node --trace-deprecation and verify that the DEP0044 warning no longer appears after the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100