From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YKfKNxQgxGV9GwEA62LTzQ:P1 (envelope-from ) for ; Thu, 08 Feb 2024 01:28:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YKfKNxQgxGV9GwEA62LTzQ (envelope-from ) for ; Thu, 08 Feb 2024 01:28:05 +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=1707352084; 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=ddlUDB7QlPgQhx8su1oYTucnfxvOVpIzCuZq2aO3CSQ=; b=qe6bZSNQ+yNtZcLWtIb0F1u1CeXalEsDBMJowfiaNmf0SDmFO3FtYx0yjlH4PPCUAH4o7/ yWMsZ4wOhJpoo+UBOOhBSrL43EZOTBpaTjmgA1TPxoz3KYZ/bPHN6dBP/Fw5Q7X0LrQjXg C9ayPW3max9o7nlgmBhKObhCBy7RYV/TSibOUu27uFN3wqZPMwbLKh2gATptt2Yx2K3bHk RTtCdvMFqRm/pGpq+5uX4BlBH2UtOpbwYVkbfZ7D/RLm9yTVzScuAk+MpAoahW5zBSRg4h JiSPAc4RuyzODjKK189km53afiLBBT7G1DNltvzU1JhL8kt2u+V0vajyNxi6iA== 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=1707352084; a=rsa-sha256; cv=none; b=DeLe17vKHFGUlsk925bs6iPbxnw/nI0cd25IkbV56+pTxU/ZYXkAJE4g/bj9EgGp0F9qY3 hK9stQgizFK9m/u4eJ4ZLhqJg2PwRfHLIONqUgJiqhkaP/RVv81GzYaHVRe5LEJGehGYwc JgelVOmxNZmiyhHZKQMxl48H2OMp5GxXeSkr1QecJrGZijx3hne4Et5CVSod+Dt2oRuGpD ov6nITdr3CxSO+8LmRBvCmly2XBMQsbL4QoWP89cwrCBOnT978Rf7MoYQZf0wmmQAsVf5x Mni9MFKjZZCZW/XzZkybYDuvt0yzqsfVfKAmKG1W0SvtCHJLYItZ/JGFlktPng== 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 B17D56A077 for ; Thu, 8 Feb 2024 01:28:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXsFn-0001aY-CJ; Wed, 07 Feb 2024 19:26:59 -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 1rXsFd-0001Ox-3A for guix-patches@gnu.org; Wed, 07 Feb 2024 19:26:50 -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 1rXsFc-0000y5-Js for guix-patches@gnu.org; Wed, 07 Feb 2024 19:26:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXsFq-0007Df-Jc for guix-patches@gnu.org; Wed, 07 Feb 2024 19:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68941] [PATCH v2 11/44] gnu: Add node-for-each. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 00:27:02 +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.170735196827256 (code B ref 68941); Thu, 08 Feb 2024 00:27:02 +0000 Received: (at 68941) by debbugs.gnu.org; 8 Feb 2024 00:26:08 +0000 Received: from localhost ([127.0.0.1]:58364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsEy-00075R-0B for submit@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:08 -0500 Received: from 14.mo582.mail-out.ovh.net ([46.105.56.113]:50503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsEs-000736-Hj for 68941@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:04 -0500 Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.176.211]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 1F5D92877D for <68941@debbugs.gnu.org>; Thu, 8 Feb 2024 00:25:47 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-gp9wf (unknown [10.110.96.215]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D56E41FE6B; Thu, 8 Feb 2024 00:25:46 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-gp9wf with ESMTPSA id bjfnMIofxGUpbAkAEn0yAQ (envelope-from ); Thu, 08 Feb 2024 00:25:46 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Thu, 8 Feb 2024 01:24:34 +0100 Message-ID: <20240208002527.27165-11-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240208002527.27165-1-ngraves@ngraves.fr> References: <20240208002527.27165-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 2272910438502097634 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrtdefgddvfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeikeelgeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedvpdhmohguvgepshhmthhpohhuth 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-Queue-Id: B17D56A077 X-Spam-Score: -6.67 X-Migadu-Scanner: mx11.migadu.com X-TUID: pSlA5bYbXMIY * 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 34bdc83d0a..fbd3cdcd67 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