読者です 読者をやめる 読者になる 読者になる

愛と勇気と缶ビール

ふしぎとぼくらはなにをしたらよいか

node.jsのsysパッケージはutilパッケージに移行予定らしい

JavaScript node.js

node.jsのsysパッケージはutilパッケージに移行予定らしい。

11:22 < ryah_> JimBastard: a message is outputed on 0.3 when you require('sys')
11:22 < ryah_> % ./node
11:22 < ryah_> > process.version
11:22 < ryah_> 'v0.3.1-pre'
11:22 < ryah_> > require('sys')
11:22 < ryah_> The 'sys' module is now called 'util'. It should have a similar interface.
11:22 < CIA-31> node: Ryan Dahl master * rfcd0c3e / test/pummel/test-base64-bigfile.js : 
11:22 < CIA-31> node: Remove test-base64-bigfile
11:22 < CIA-31> node: Already tested in test/simple/test-buffer.js. Takes too long, uses too much
11:22 < CIA-31> node: memory. - http://bit.ly/cKssuq
11:22 -!- davidwalsh [~davidwals@75-134-27-91.dhcp.mdsn.wi.charter.com] has joined #Node.js
11:23 < indexzero> ryah_: Is this on the path to deprecation?
11:23 < indexzero> it's not a huge change, but a little frustrating since almost everyone of my libraries uses sys somewhere
11:25 < ryah_> indexzero: keep using sys - it will be months before this change goes into a stable release
11:26 < Tim_Smart> Just use util in any new code you make.
11:26 < Tim_Smart> Slowly phase out sys.
11:26 < indexzero> ryah_: Ok, but the long-term plan is remove sys completely?
11:26 < indexzero> renaming it to util?
11:26 < ryah_> indexzero: yes, that's the intent