@@ -912,6 +912,48 @@ (define-public node-is-regex
value is a JS @code{Regex}.")
(license license:expat)))
+(define-public node-is-shared-array-buffer
+ (package
+ (name "node-is-shared-array-buffer")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inspect-js/is-shared-array-buffer")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0k9lmmxfnh2kjfp884jyvnyncl0g0q4ywlxvp2jqpvbp6rdfjlaf"))))
+ (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"
+ "available-typed-arrays"
+ "es-value-fixtures"
+ "eslint"
+ "for-each"
+ "in-publish"
+ "npmignore"
+ "nyc"
+ "object-inspect"
+ "safe-publish-latest"
+ "tape")))))
+ #:tests? #f)) ; FIXME tests depend on node-tape.
+ (inputs
+ (list node-call-bind))
+ (home-page "https://github.com/inspect-js/is-shared-array-buffer")
+ (synopsis "Javascript predicate to identify @code{SharedArrayBuffer}")
+ (description "This package provides a function to identify if a value is
+Javascript @code{SharedArrayBuffer}.")
+ (license license:expat)))
+
(define-public node-is-symbol
(package
(name "node-is-symbol")