-
Notifications
You must be signed in to change notification settings - Fork 68
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 warnings when used with node v6.0.0 #74
Comments
Given the use of nan in this project, I think this is likely related: nodejs/nan#558 |
I ran into this too, here is the NodeJS issue about it: nodejs/node#6277 |
It'd be good to get a patch version that provides a fix for this. It looks like nan has a fix for this since 2.3.2 |
I got the same issue |
I'm having this too.
You should make it |
+1 please fix it |
I'm getting the same output with the current version of this package. |
There's nothing that needs to be fixed. Having the I got the newer version of There might be a quicker way ( |
I've confirmed what @sheepsteak reports, that with a fresh install of v6.0.0 on OS X 10.9.5, I don't see any build or run-time warnings using this. I tested by just doing "npm install dtrace-provider" (which picked up nan 2.3.3) and then running basic.test.js. It seems likely that people were using older installs, but if someone can confirm that they see this with an up-to-date nan, please reopen with more information. Thanks! |
I went ahead and explicitly bumped the nan dependency under commit ea042a3, published as version 0.7.0. I tested by doing a fresh build and test suite run on:
As I mentioned, I think the only cases this improves are cases where a higher-level dependency pulls in a nan before 2.3 that still satisfies dtrace-provider. In the vast majority of cases, installs of version 0.6.0 would work already because they'd pick up nan 2.3 or later anyway. Sorry for the delay on this. It was surprisingly non-trivial to test on multiple versions and platforms. |
See chrisa/node-dtrace-provider#74 (comment) for relevant details.
Using dtrace-provider with node 6.0.0 (just released) gives numerous warnings likely because of the changes made to address nodejs/node#6216.
The text was updated successfully, but these errors were encountered: