-
Notifications
You must be signed in to change notification settings - Fork 159
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
Deprecation Warning: The util.isArray
API is deprecated. Please use Array.isArray()
instead.
#56
Comments
@Hari-Shankar-Karthik to: var isArray = Array.isArray; I know next to nothing in coding, but now the deprecation error went away for me. Not sure if this is the right solution, as I am still new to all this, but again, I don't have an error any longer. |
+1 |
And how do you keep the changes from being overwritten when you delete your lock file and node_modules and do a install again? figured that part out but how do i make the change permanent? thanks in advance! |
As a temporary workaround you can use a patch file.
|
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 useArray.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!
The text was updated successfully, but these errors were encountered: