nongnu: Add node-call-bound.

* nongnu/packages/claude-code.scm (node-call-bound): New variable.
This commit is contained in:
Danny Milosavljevic 2025-12-26 01:07:49 +00:00
parent 55f352ea61
commit 4e96fc4db3
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -1203,3 +1203,34 @@ helper functions.")
that is safe from prototype pollution attacks.")
(license license:expat)))
(define node-call-bound
(package
(name "node-call-bound")
(version "1.0.4")
(source
(origin
(method url-fetch)
(uri (string-append
"https://registry.npmjs.org/call-bound/-/call-bound-"
version ".tgz"))
(sha256
(base32 "0cmxdglg3lrrz7apqgvqbkd57jicr98fxwhi92rvkwgd5x4ny21j"))))
(build-system node-build-system)
(arguments
(list
#:tests? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'patch-dependencies 'delete-dev-dependencies
(lambda _
(modify-json (delete-dev-dependencies)))))))
(inputs
(list
node-call-bind-apply-helpers
node-get-intrinsic))
(home-page "https://www.npmjs.com/package/call-bound")
(synopsis "Robustly bound JavaScript built-ins")
(description "This package provides robustly bound versions of JavaScript built-in
methods that cannot be tampered with by modifying prototypes.")
(license license:expat)))