[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68941] [PATCH v2 23/44] gnu: Add node-internal-slot.
From: |
Nicolas Graves |
Subject: |
[bug#68941] [PATCH v2 23/44] gnu: Add node-internal-slot. |
Date: |
Thu, 8 Feb 2024 01:24:46 +0100 |
* gnu/packages/node-xyz.scm (node-internal-slot): New variable.
---
gnu/packages/node-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 2b73c0446f..9cd9311e07 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -766,6 +766,45 @@ (define-public node-inherits
defaulting to Node's implementation otherwise.")
(license license:isc)))
+(define-public node-internal-slot
+ (package
+ (name "node-internal-slot")
+ (version "1.0.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ljharb/internal-slot")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1kjww0x09c3n6lzxp22ilq0c5xfpwvd0gj0wzs734qxj9yafb995"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ '("@ljharb/eslint-config"
+ "aud"
+ "auto-changelog"
+ "eslint"
+ "for-each"
+ "npmignore"
+ "nyc"
+ "object-inspect"
+ "safe-publish-latest"
+ "tape")))))
+ #:tests? #f)) ; FIXME tests depend on node-tape.
+ (inputs
+ (list node-has node-get-intrinsic node-side-channel))
+ (home-page "https://github.com/ljharb/internal-slot")
+ (synopsis "Private storage in Javascript")
+ (description "This package provides a Javascript function to store private
+data. This function matches the Javascript concept of internal slots.")
+ (license license:expat)))
+
(define-public node-irc-colors
(package
(name "node-irc-colors")
--
2.41.0
- [bug#68941] [PATCH v2 38/44] gnu: Add node-which-collection., (continued)
- [bug#68941] [PATCH v2 38/44] gnu: Add node-which-collection., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 36/44] gnu: Add node-es-get-iterator., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 39/44] gnu: Add node-array-buffer-byte-length., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 40/44] gnu: Add node-is-date-object., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 18/44] gnu: Add node-side-channel., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 28/44] gnu: Add node-stop-iteration-iterator., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 12/44] gnu: Add node-available-typed-arrays., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 13/44] gnu: Add node-gopd., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 21/44] gnu: Add node-is-typed-array., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 20/44] gnu: Add node-is-weakset., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 23/44] gnu: Add node-internal-slot.,
Nicolas Graves <=
- [bug#68941] [PATCH v2 25/44] gnu: Add node-define-properties., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 32/44] gnu: Add node-is-number-object., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 33/44] gnu: Add node-is-bigint., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 35/44] gnu: Add node-object-is., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 37/44] gnu: Add node-which-boxed-primitive., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 41/44] gnu: Add node-object-assign., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 42/44] gnu: Add node-object-keys., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 44/44] gnu: Add node-deep-equal., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 43/44] gnu: Add node-regexp-prototype-flags., Nicolas Graves, 2024/02/07