diff --git a/nongnu/packages/claude-code.scm b/nongnu/packages/claude-code.scm index 66f53d0d..387b487f 100644 --- a/nongnu/packages/claude-code.scm +++ b/nongnu/packages/claude-code.scm @@ -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))) +