Registry / lodash._baseget

lodash._baseget

JSON →
library3.7.2jsnpmunverified

This package is an internal module of lodash version 3, specifically the `baseGet` function used for deep property access. It was published as a standalone package for modular consumption but is deprecated and no longer maintained. The current stable version is 3.7.2, part of the lodash v3 line (2015–2016). It should not be used in new projects; instead, use the full lodash library (v4+) or native ES6+ features. The package only supports CommonJS and is not compatible with ESM or lodash v4.

npm install lodash._baseget
INSTALL
IMPORT
SIG · LODASH._BASEGET
L
lodash._baseget
javascriptv3.7.2
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.

baseGet
const baseGet = require('lodash._baseget');
import baseGet from 'lodash._baseget';
This package is CommonJS only. Use require() not import.
default export
const baseGet = require('lodash._baseget');
const { baseGet } = require('lodash._baseget');
The module exports the function directly, not as a named property.
lodash v4 import
import { get } from 'lodash';
import baseGet from 'lodash._baseget';
For lodash v4+, use 'lodash/get' or the full library. This package is only for v3.

Demonstrates deep property access using baseGet with an array path.

const baseGet = require('lodash._baseget'); const object = { a: [{ b: { c: 3 } }] }; const result = baseGet(object, ['a', '0', 'b', 'c']); console.log(result); // => 3
Debug
Known issues
deprecatedThis package is deprecated in favor of lodash v4 and will not receive updates.
fix
Use lodash.get (v4+) or native optional chaining.
affects: all
breakingThis internal package is tied to lodash v3 API; it does not work with lodash v4 or ES modules.
fix
Migrate to lodash v4 and use 'lodash/get' or 'lodash.set'.
affects: all
gotchaThe path argument must be an array; strings are not supported directly.
fix
Always pass an array of keys/indices as the second argument.
affects: all
deprecatedThis package uses the old lodash modular build system; there is no TypeScript support.
fix
Use lodash v4 with @types/lodash for TypeScript projects.
affects: all
Errors
Common errors & fixes
TypeError: baseGet is not a function
Incorrect import pattern (e.g., named import destructuring).
fix
Use const baseGet = require('lodash._baseget');
Cannot find module 'lodash._baseget'
Package not installed or using ESM import syntax.
fix
Run npm install lodash._baseget and use require().
ReferenceError: require is not defined
Using require in an ES module context.
fix
Use import or switch to CommonJS with .js extension.
Upgrade
Version history
3.7.2latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
lodash._baseget — npm install lodash._baseget · libregistry