Subject: [bug#68941] [PATCH 25/44] gnu: Add node-define-properties.

From: Nicolas Graves <[email-masked]>
Date: Tue, 6 Feb 2024 00:19:13 +0100

* gnu/packages/node-xyz.scm (node-define-properties): New variable.

Change-Id: I611616595145e9c5b73bd3bad1b3a534797091b0
---
 gnu/packages/node-xyz.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 1a7058bfea..3055285f94 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -425,6 +425,13 @@ (define-public node-debug
 a more fine-grained manner by binding the @env{DEBUG} variable.")
     (license license:expat)))
 
+(define-public node-define-properties
+  (node-trivial-package
+   "define-properties" 0 "Object.defineProperties"
+   "This package provides a static method which defines new or modify existing
+properties in Javascript directly on an object, returning the object."
+   #:mozilla-doclink "Global_Objects/Object/defineProperties"))
+
 (define-public node-env-variable
   (package
     (name "node-env-variable")
-- 
2.41.0