From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jelle Licht Subject: bug#34526: Updating node.js Date: Thu, 21 Nov 2019 14:34:55 +0100 Message-ID: <87mucpic8w.fsf@jlicht.xyz> References: <87d0npb1tx.fsf@atufi.org> <877edw6cta.fsf@fsfe.org> <87h8cz20ic.fsf@atufi.org> <877edud0ha.fsf@fsfe.org> <87va1doz0z.fsf@atufi.org> <871ru7h8gh.fsf@dustycloud.org> <878soefjhe.fsf@devup.no> <878soafwtt.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59389) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXmbw-0005ca-VH for bug-guix@gnu.org; Thu, 21 Nov 2019 08:35:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXmbu-0006yw-ML for bug-guix@gnu.org; Thu, 21 Nov 2019 08:35:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXmbu-0006yK-23 for bug-guix@gnu.org; Thu, 21 Nov 2019 08:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iXmbt-00025i-To for bug-guix@gnu.org; Thu, 21 Nov 2019 08:35:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878soafwtt.fsf@dustycloud.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Christopher Lemmer Webber , Marius Bakke Cc: 34526@debbugs.gnu.org Christopher Lemmer Webber writes: > That's fair. > > I have a personal project that requires that I use a newer version of > Node (at least version 11). So if anyone has a recipe on how to get > Node running, even the wrong way per Guix standards, maybe useful to > post to this bug in the meanwhile? It might also still help advance > this bug. I tried my hand at building llhttp (again...) using our existing nodejs + Sucrase (an alternative TypeScript transpiler that does not have too many dependencies), but it seems that the devs of llhttp use semi-advanced TypeScript constructs that are at the moment not supported by Sucrase's transformers. To be specific, I am talking about "Moving types"[1]. Does anyone know of any other TypeScript transpilers? They do not need to do typechecking, as long as they allow generation of (valid) JavaScript files. - Jelle [1]: https://basarat.gitbooks.io/typescript/docs/types/moving-types.html