From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WC+dCLNtwWWIkgAAqHPOHw:P1 (envelope-from ) for ; Tue, 06 Feb 2024 00:22:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WC+dCLNtwWWIkgAAqHPOHw (envelope-from ) for ; Tue, 06 Feb 2024 00:22:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707175347; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=7FhQRNlboe56VQxv0cdEUfKdaJLPTLOLPFGsyujUP7s=; b=cYi7ND+ULyNRlQQKQmrygrKizrAIvCdetOKHjymErmQiH+gQB/97vvZKGHp+YvtgUulFHw hwdEWL1Rf7zUH/voYPZgoD13tYpM57g1hKwEGovet1FQKU4yCehDj92Ft1Z+cWmfF/Vsd+ FnE0Gj2cTqcAv4zRI877WhsA4AgcKedcNJEpPmq0lv1j8DsCGoBYhd3UjoBOA9E8o0v40v sLaE+4FquFqzEU6mpXg96izvQ6eCT5ulOr4sf+yoe46AFTYr41A/EVe5hVJnVRw+xO6CuD d2G4jwfw0uRozsFnb5LZLE9lLouKWl7OIKHKqjsGiZYwvq1dErHoRjpRNpb09w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707175347; a=rsa-sha256; cv=none; b=sT+lalVWMcqeV6JlDxoEnG++CvuqUjxydNUwRweHlKQT5+2lqMyWID5nGUakuOgBr2OsaZ S8eU+/f+ISYQ4JwV1ClFETlHAdWWwF4ldfjXux+HTKM1CgWBVJw2g+3F7TAQc7oB4otcdC Cze5MkcGaZAJ/qHw1UGgmk2aKnNYQj+fIKuR09HcVN5wQaxRh/SolIojnuwvdrgVKzUBzM qksGA/eo8Vabc5YnO7CftpKwE72/kyc9C2V3F8w4vwueUwhrV2cbtyu32nGlslNTvswAb8 DChruM0d/MsASnR+Noid7QSxdpdpVj2vVZ3ZewY+UQTFopV4oCigxfuFyponjw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F143E50F40 for ; Tue, 6 Feb 2024 00:22:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rX8Gm-0006Jx-Dj; Mon, 05 Feb 2024 18:20:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rX8Gk-0006In-WC for guix-patches@gnu.org; Mon, 05 Feb 2024 18:20:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rX8Gk-0001qH-Nq for guix-patches@gnu.org; Mon, 05 Feb 2024 18:20:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rX8Gx-0003yP-Fj for guix-patches@gnu.org; Mon, 05 Feb 2024 18:21:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68941] [PATCH 11/44] gnu: Add node-for-each. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Feb 2024 23:21:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68941 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68941@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 68941-submit@debbugs.gnu.org id=B68941.170717523314765 (code B ref 68941); Mon, 05 Feb 2024 23:21:07 +0000 Received: (at 68941) by debbugs.gnu.org; 5 Feb 2024 23:20:33 +0000 Received: from localhost ([127.0.0.1]:52643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8GO-0003px-Sq for submit@debbugs.gnu.org; Mon, 05 Feb 2024 18:20:33 -0500 Received: from 11.mo583.mail-out.ovh.net ([46.105.47.167]:59797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX8GI-0003oy-Lf for 68941@debbugs.gnu.org; Mon, 05 Feb 2024 18:20:27 -0500 Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.2.72]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 6B804274EF for <68941@debbugs.gnu.org>; Mon, 5 Feb 2024 23:20:12 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-8qcg8 (unknown [10.110.113.226]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 111921FDB4; Mon, 5 Feb 2024 23:20:12 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-6684bf9d7b-8qcg8 with ESMTPSA id jB/jASxtwWWmUAMAPksfSg (envelope-from ); Mon, 05 Feb 2024 23:20:12 +0000 X-OVh-ClientIp: 87.88.184.255 Date: Tue, 6 Feb 2024 00:18:59 +0100 Message-ID: <20240205231952.26410-11-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240205231952.26410-1-ngraves@ngraves.fr> References: <20240205231952.26410-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 7866662651710333666 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrfedvvddgtdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeejrdekkedrudekgedrvdehhedpfeejrdehledrudegvddrleejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeikeelgeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.67 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -6.67 X-Migadu-Queue-Id: F143E50F40 X-TUID: RyrRiN0oFakK * gnu/packages/node-xyz.scm (node-for-each): New variable. --- gnu/packages/node-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index facbeb6a75..14657a33b2 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -459,6 +459,39 @@ (define-public node-file-uri-to-path suitable for use with the @code{fs} module functions.") (license license:expat))) +(define-public node-for-each + (package + (name "node-for-each") + (version "0.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Raynos/for-each") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0c28lq995xr3anf407zizdh8z18pag6ww8fm95yxl8m1sdfljya7")))) + (build-system node-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (delete-dependencies + '("@ljharb/eslint-config" + "eslint" + "nsp" + "tape"))))) + #:tests? #f)) ; FIXME tests depend on node-tape. + (inputs (list node-is-callable)) + (home-page "https://github.com/Raynos/for-each") + (synopsis "Alternative implementation of the forEach Javascript function") + (description "This package provides an alternative implementation of the +forEach Javascript function, which works not only on +@code{Array.prototype.forEach} but also on objects.") + (license license:expat))) + (define-public node-function-bind (package (name "node-function-bind") -- 2.41.0