
Security News
OpenClaw Advisory Surge Highlights Gaps Between GHSA and CVE Tracking
A recent burst of security disclosures in the OpenClaw project is drawing attention to how vulnerability information flows across advisory and CVE systems.
lodash.castarray
Advanced tools
The lodash method _.castArray exported as a Node.js module.
Using npm:
$ {sudo -H} npm i -g npm
$ npm i --save lodash.castarray
In Node.js:
var castArray = require('lodash.castarray');
See the documentation or package source for more details.
The arrayify package provides similar functionality by converting a value to an array if it is not already one. It is a lightweight alternative to lodash.castarray and is useful for normalizing inputs.
The ensure-array package ensures that the input is an array. If the input is not an array, it wraps it in one. This package is similar to lodash.castarray but focuses solely on this functionality without the additional utilities provided by Lodash.
The to-array package converts an array-like object or a single value to an array. It is useful for normalizing inputs and is similar to lodash.castarray in its core functionality.
FAQs
The lodash method `_.castArray` exported as a module.
The npm package lodash.castarray receives a total of 2,708,820 weekly downloads. As such, lodash.castarray popularity was classified as popular.
We found that lodash.castarray demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A recent burst of security disclosures in the OpenClaw project is drawing attention to how vulnerability information flows across advisory and CVE systems.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.