Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

The "sys" module is now called "util". It should have a similar interface. #1234

Closed
lloyd opened this issue Mar 1, 2012 · 3 comments
Closed

Comments

@lloyd
Copy link
Contributor

lloyd commented Mar 1, 2012

any time you see this error on the console, it's because we're using libraries that use deprecated APIs. We should hunt down all these cases and upgrade the underlying libraries, if we can do so without moving to versions we're uncomfortable with.

@jrgm
Copy link
Contributor

jrgm commented Mar 2, 2012

node-temp is one offender (the noisy one in the unit tests). There is a v0.4.0 tag now that removes the use of sys and a few other relatively small changes.

Note: if you didn't already know (probably do) but if you set NODE_DEBUG=sys in the environment, node will dump the
stack of the caller to require('sys')

(p.s., do you want separate bugs for each lib that needs upgrading? Or just this one bug)

@lloyd
Copy link
Contributor Author

lloyd commented Mar 2, 2012

Let's just use this bug, I'll knock them off one by one.

--lloyd

On Mar 2, 2012, at 12:55 PM, John Morrisonreply@reply.github.com wrote:

node-temp is one offender (the noisy one in the unit tests). There is a v0.4.0 tag now that removes the use of sys and a few other relatively small changes.

Note: if you didn't already know (probably do) but if you set NODE_DEBUG=sys in the environment, node will dump the
stack of the caller to require('sys')

(p.s., do you want separate bugs for each lib that needs upgrading? Or just this one bug)


Reply to this email directly or view it on GitHub:
#1234 (comment)

ozten added a commit that referenced this issue Mar 6, 2012
fix deprecation warnings by updating temp and nodes-statsd - issue #1234
@lloyd lloyd closed this as completed Mar 8, 2012
@jrgm
Copy link
Contributor

jrgm commented Mar 19, 2012

verified in stage and my dev environment. I get none of these warnings. (Still a few places in docs and test code that come entrained by other modules in node_modules, of course, but not called code by us.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants