Registry / serialization / lodash._replaceholders

lodash._replaceholders

JSON →
library3.0.0jsnpmunverified

This package is the internal `replaceHolders` function extracted from lodash v3.0.0 (modern build). It exists only for legacy lodash internal dependency chaining and is not intended for direct public use. The function replaces placeholder objects (e.g., lodash's `_`) in arrays for partial application. This package is deprecated in favor of lodash v4+ where internal modules are removed.

npm install lodash._replaceholders
INSTALL
IMPORT
SIG · LODASH._REPLACEHOL
L
lodash._replaceholders
serializationjavascriptv3.0.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

replaceHolders
var replaceHolders = require('lodash._replaceholders');
import replaceHolders from 'lodash._replaceholders';
Package is CJS only; no ESM support. This is an internal lodash utility not part of the public API.

Shows usage of replaceHolders to mark placeholder positions in an array.

var replaceHolders = require('lodash._replaceholders'); var holders = ['?', 'placeholder']; var array = ['a', '?', 'b', 'placeholder']; var result = replaceHolders(array, holders); console.log(result); // [true, false, true, false]
Debug
Known issues
deprecatedlodash._replaceholders is an internal lodash v3 utility and not intended for public use. Use lodash's public API or implement your own placeholder replacement.
fix
Upgrade to lodash v4 and use _.partial or _.partialRight instead.
affects: >=3.0.0 <4.0.0
gotchaPackage exports a single function that expects exactly two arguments: array and placeholders. Passing wrong types may cause runtime errors.
fix
Ensure array is an array and placeholders is an array of placeholder values.
affects: >=3.0.0
Errors
Common errors & fixes
Cannot find module 'lodash._replaceholders'
Package not installed or removed from npm.
fix
Run `npm install lodash._replaceholders@3.0.0` or migrate to lodash v4.
undefined is not a function
Requiring the module without proper version or using ESM import.
fix
Use `var replaceHolders = require('lodash._replaceholders');` in a Node.js CJS context.
Upgrade
Version history
3.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
lodash._replaceholders — npm install lodash._replaceholders · libregistry