GitShow/ljharb/call-bind
ljharb

call-bind

Robustly `.call.bind()` a function.

by ljharb
Star on GitHubForknpm

JavaScript

11 stars8 forks1 contributorQuiet · 4mo agoSince 2020MIT

Meet the team

See all 1 on GitHub →
ljharb
ljharb72 contributions

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 4mo ago
See all on GitHub →
guybedford
Use self-export over ./ exportOpenPR

This updates the self-import to use the direct self-export form over using as a placeholder for a self-import. That inside of CJS packages with exports still works is a legacy path that we should try and deprecate I think, especially since these specifiers cannot be mapped with import maps.

guybedford · 1y ago
ljharb
callBound: support `--frozen-intrinsics`/lockdown?OpenIssue

When is invoked with , many data properties become getters. is one example. Should callBound automatically detect this at all? If so, should it detect specifically, or not? Either way, would it have to hardcode a list of the exact same data properties that frozen-intrinsics (and SES) convert to getters? (or alternatively, hardcode a list of all the builtins that are supposed to be getters, and auto-handle the rest). See https://github.com/inspect-js/is-regex/issues/34.

ljharb · 3y ago

Recent fixes

View closed PRs →
fateme3
new version failureClosedIssue

can't install new version of call-bind (1.0.6)

fateme3 · 2y ago
LewisLen
SyntaxError: Unexpected tokenClosedIssue

3: import as _vite_plugin_require_transform_get_intrinsic_0 from "get-intrinsic"; 4: var GetIntrinsic = _vite_plugin_require_transform_get_intrinsic_0.default _vite_plugin_require_transform_get_intri... 5: import as _vite_plugin_require_transform_./_1 from "./"; ^ 6: var callBind = _vite_plugin_require_transform_./_1.default _vite_plugin_require_transform_./_1; 7: var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); error during build: SyntaxError: Unexpected token (5:43) /xxx/x/node_modules/call-bind/callBound.js

LewisLen · 2y ago
patricktyndall
Latest versions have "Cannot find module 'define-data-property'"ClosedIssue

Hi, I believe today's releases have broken compatibility. I can't version 1.04 (I get ) I believe this is due to an update to the dep version -- the new version of has moved into devDependencies I'm finding this as a Serverless SDK user. TIA

patricktyndall · 2y ago
Structured data for AI agents

Repository: ljharb/call-bind. Description: Robustly `.call.bind()` a function. Stars: 11, Forks: 8. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 1, open issues: 2. Last activity: 4mo ago. Community health: 85%. Top contributors: ljharb.

·@ofershap

Replace github.com with gitshow.dev