lodash.support is a legacy, modularized utility module from the Lodash library, specifically designed to provide environment feature detection capabilities (the `_.support` object). This package is currently at version 3.0.4, which aligns with the Lodash v3 major release cycle. Unlike the main Lodash library, which has seen continuous development and is at version 4.18.1, `lodash.support` has not received updates since its initial v3 release. Consequently, it does not reflect the latest feature detection logic, bug fixes, or security patches integrated into modern Lodash versions. Its release cadence is effectively ceased, making it an outdated resource for modern JavaScript environments. Its key differentiator was being a lightweight, isolated utility from the larger Lodash library, but its age now significantly limits its utility and reliability compared to the full, updated Lodash package.
npm install lodash.supportVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to import lodash.support and access its feature detection properties.
Avoid using `lodash.support` directly. Instead, rely on the feature detection provided by the full `lodash` package (v4.x) or use modern native JavaScript feature detection techniques.
If you must use this package in an ESM context (not recommended), you may need to use a CommonJS wrapper or a bundler that transpiles CommonJS to ESM. The best fix is to migrate away from this outdated package.
Discontinue use of this package. Replace its functionality with equivalent checks from a modern `lodash` installation or implement native feature detection.
Always verify the relevance of its detected features against current environment capabilities. For new development, prefer modern, built-in feature detection methods or a current version of the complete Lodash library.
This package is CommonJS-only. If your project is ESM, you should avoid this package. If absolutely necessary, you might use `import { createRequire } from 'module'; const require = createRequire(import.meta.url); const support = require('lodash.support');` but this is a workaround for an abandoned package.The package is outdated. It does not support newer features. Use modern browser APIs or an up-to-date feature detection library.
No dependency data recorded yet.