6 ms·
Node v9.8.0
- pornel 9y agoI'd like to use this as an opportunity to remind everyone that Node.js v4 is going to be dead in about a month (support for it has ended long time ago, and now it's the end of extended support). If you haven't upgraded Node in the last two years, this is the last call.
- abritinthebay 9y agoSlightly problematically - a lot of AWS's default Node infrastructure seems to still be using Node v4. I assume they'll be updating it but that was true as of last week.
- crispyporkbites 9y agoor what
- simonw 9y agoOr if any security vulnerabilities are discovered in it you will be running unpatched forever.
- Skunkleton 9y agoAnd of course you can expect a visit from the Node police.
- tonetheman 9y agoThe node police ... they randomly wipe out your server. Or randomly uninstall modules so your app does not work.
- antjanus 9y agothat's just the new NPM version
- Skunkleton 9y agoNo. They just give you a sensible, but stern, lecture about good security practices.
- JustAnotherPat 9y agoI'll take my chances
- overcast 9y agoFor what reason exactly? What point are you proving?
- orf 9y agoThat he is working somewhere without the foresight to upgrade their apps off a legacy, unsupported and potentially insecure versions of node, or that he himself can't summon willpower to do it I guess. Sucks to be him either way.
- z3t4 9y agoToo bad half the modules on npm wont work in 5+ And I don't blame people for not fixing breaking changes every third month. Ohh the module has less then 100 collaborators !? I better not use it then. Ohh it has not been updated within the last month ? Better not use it. The cool project that required beta version of node, now half a year later it's too old. The best part of nodej is code reuse. Not code re-write! /rant
- jdlshore 9y agoA bit overblown, don't you think?
- realPubkey 9y agoI use node 5+ since like forever. Next to every npm-module works for me. And if not, a node downgrade does not help.
- agmcleod 9y agoI think that person meant npm 5 perhaps?
- deleted 9y ago[deleted]
- realPubkey 9y agoGood point. Indeed npm breaks a lot of things also for me.
- abritinthebay 9y agoLike...?
- abritinthebay 9y agoWhich still isn't true, so I have no idea what they are talking about.
- msoad 9y ago> --inspect-brk now works properly for esmodules When ES Modules landed in Node? How do they work? .mjs? :(
- ariabuckles 9y agoThey're available right now behind the flag `--experimental-modules`, and planned to be released without a flag in node 10. And yes, still requires .mjs unfortunately. https://nodejs.org/api/esm.html https://nodejs.org/api/esm.html https://medium.com/the-node-js-collection/an-update-on-es6-modules-in-node-js-42c958b890c https://medium.com/the-node-js-collection/an-update-on-es6-m...
- izelnakri 9y agoI sincerely hope they remove .mjs requirement. Lets not have io.js division again, all the frontend libraries are on npm and newer ones tend to use es2015 modules!
- segphault 9y agoWhat I suspect is going to happen is that frontend people will just shrug and adopt the .mjs extension. Browsers don't care what extension you use as long as the mime type sent by the server indicates that the file is javascript.
- exogen 9y agoNot exactly the entire story. Browsers don't care about the extension, true, but they still need to know whether to parse the script as a module or not, by using: <script type="module">
- strkek 9y agoHey this is cool! How come I haven't heard of <script type="module"> before. I guess I should seriously subscribe to a newsletter or something.
- 9y ago
- copper_think 9y agoJust finished benchmarking this for a key workload in our build process. It's 3% faster than Node 8.x for us. But node-chakracore (the Microsoft runtime) 8.9.4 was 11% faster -- we are considering switching to that.
- skerit 9y agoIs that really worth it, though? What's the support like for chakracore?
- tuananh 9y agoit's a build process. it should be fine.
- aycee 9y agoCan you share more details on this build workload? Like what does it do? what packages it uses ? etc.
- magicalist 9y agoAssuming you're testing on Windows, node-chakracore is currently released as a beta, so Node 10 is probably the more appropriate comparison.
- maxxxxx 9y agoCan you even measure 3% accurately and repeatedly?
- esMazer 9y agoI'd like to learn Node.js from scratch, but would like to learn on the latest version.. any resources anyone knows for this?
- megaman22 9y agoChance are, by the time you've learned anything, the wheel will have turned once again, ages will have come and passed, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the age that gave it birth comes again. In the JS world, back or front-end, this process seems to be accelerating at a terrifying rate, heading to a singularity where all the accumulated brainpower of the human race is devoted to trying to keep up with the latest way that npm or node or babel or webpack has broken shit that previously worked.
- dandersh 9y agoCute, but wrong. The basic architecture of Node has not changed, and the core modules are largely the same as they have been for years. The question "How does Node work and how can I leverage it" (which is what GP is asking) is the same as it was a few years ago.
- abritinthebay 9y agoLiterally none of this is true.
- slowmotarget 9y agoI'd say it really depends on what you want to to do in the next months ! Node can be a very productive environment for web APIs and applications (with great frameworks such as Express or Koa and amazing libraries such as PassportJS) and I personally use it this way 95% of my time. But in its heart lies the event-loop, the streams, the pipes, its functional programming capabilities and all of this makes it a simple and very pleasant way to script, transform, to build algorithms or neural networks! Plus javascript is becoming a very friendly language as Node and ES6 leveled the browser inconsistencies that turned web developers crazy in the past.
- 9y ago
- breatheoften 9y agoAnybody know when AWS Lambda will update their node runtime to latest LTS? I’m curious what prevents those updates from happening faster...
- tnolet 9y agoreally looking out for this one! Using async/await in lambda would really help in my specific use case.