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 GMueFBwgxGXogQAAqHPOHw:P1 (envelope-from ) for ; Thu, 08 Feb 2024 01:28:12 +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 GMueFBwgxGXogQAAqHPOHw (envelope-from ) for ; Thu, 08 Feb 2024 01:28:12 +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=1707352092; 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=Cdt9L0H/oea99WlzdzIjsLQYL55n3MmvB4L7ewcVbRM=; b=QEyPAOtRzucQ+FrdfBFyuRL6HgnG09caQseWULq4RBVpdsVVIpbJw7hB+tntGe4nZjKbXn sL69cg4LJePmHEolQ3PTr52W+kB3wAswPspQcpBTLPMHbqfjws9A+Ddv8BfLvRyba91ON0 uiXJXx9SgzqbXf8PsecbMS1pN6E/wsZnfIaVpAWT3G9noCrQdiWwjWClRar1yp0hu2br9m gz+AdoTSD7rh3RH+DB6cP+foG6SZkdziSzyuqIt8NxGYWPnYnAGNTs7LlAH/SXH7hkAaDQ F8IhLhHJobBFwLpKw0xF5zwcxS60iHzmvJ6nbm3ELOQO5NMO2mWCKYb1QvW/gQ== 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=1707352092; a=rsa-sha256; cv=none; b=e8LSLqbqGCj0e5iGoN3S+c++U/fpqCZytv+hABDM3/cSpd2i1u9HanBWWUHx/V9emeAPLQ +BjKYP0icSF86J5X+Fu04hO3dhj6HvEzmny7NotZsXi+2A027WVjyZvGRvdxC3wpRIkGQs 8ANh8+V8PrcmNTBPyj23+aVi6zU89u+SNzFHmLMFNdhLmTRq7B3H7D8/1n0AfutQUO4oU+ B7B2UV3pQhJSn/0fvyXZX94sSBkPItwbmW4Wu5SZi7UmTeSGZqboVQOr58Rx3jLUPJck3H pz2ITnovOuG6CNnSrUROHPZM1p2MWnYq/gbc/KiXvuSxUtrfEYppSTG64sgVCQ== 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 23D3E42DC2 for ; Thu, 8 Feb 2024 01:28:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXsFs-0001hm-7A; Wed, 07 Feb 2024 19:27:04 -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 1rXsFn-0001ak-IZ for guix-patches@gnu.org; Wed, 07 Feb 2024 19:26:59 -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 1rXsFn-000174-8g for guix-patches@gnu.org; Wed, 07 Feb 2024 19:26:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXsG1-0007Gm-7T for guix-patches@gnu.org; Wed, 07 Feb 2024 19:27:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68941] [PATCH v2 39/44] gnu: Add node-array-buffer-byte-length. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 00:27:13 +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.170735200327637 (code B ref 68941); Thu, 08 Feb 2024 00:27:13 +0000 Received: (at 68941) by debbugs.gnu.org; 8 Feb 2024 00:26:43 +0000 Received: from localhost ([127.0.0.1]:58442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsFW-0007Bb-MZ for submit@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:42 -0500 Received: from 6.mo575.mail-out.ovh.net ([46.105.63.100]:60113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXsFT-0007B7-D6 for 68941@debbugs.gnu.org; Wed, 07 Feb 2024 19:26:39 -0500 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.140.140]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id B29BC28C3A for <68941@debbugs.gnu.org>; Thu, 8 Feb 2024 00:26:24 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-qnxgw (unknown [10.110.178.59]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 724131FE55; Thu, 8 Feb 2024 00:26:24 +0000 (UTC) Received: from ngraves.fr ([37.59.142.110]) by ghost-submission-6684bf9d7b-qnxgw with ESMTPSA id VFTGGbAfxGXdpScAydXhlw (envelope-from ); Thu, 08 Feb 2024 00:26:24 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Thu, 8 Feb 2024 01:25:02 +0100 Message-ID: <20240208002527.27165-39-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: 2283325012137337570 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrtdefgddvfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelffejteeutefhfeekfffffedvudekjeekgfeludeitdfhkeevhfeivdfhffeggeenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddutdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieekleegudesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht 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: 23D3E42DC2 X-TUID: iCjDldkVlsKc * gnu/packages/node-xyz.scm (node-array-buffer-byte-length): New variable. Change-Id: I8bd8ccf95e90208dbd01e09743114b88bec02a3a --- gnu/packages/node-xyz.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index ff956eb51f..b2be732508 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -193,6 +193,14 @@ (define new-test-script ABI-stable across Node.js major versions.") (license license:expat))) +(define-public node-array-buffer-byte-length + (trivial-node-package + "array-buffer-byte-length" 0 + "(aBfr) => (aBfr instanceof ArrayBuffer ? aBfr.byteLength : NaN)" + "This package provides a function which returns the length (in bytes) of an +ArrayBuffer in Javascript." + #:mozilla-doclink "/Global_Objects/ArrayBuffer/byteLength")) + (define-public node-available-typed-arrays (package (name "node-available-typed-arrays") -- 2.41.0