
Research
/Security News
Laravel Lang Compromised with RCE Backdoor Across 700+ Versions
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.
@stdlib/array-base-filled2d
Advanced tools
Create a filled two-dimensional nested array.
npm install @stdlib/array-base-filled2d
var filled2d = require( '@stdlib/array-base-filled2d' );
Returns a filled two-dimensional nested array.
var out = filled2d( 0.0, [ 2, 3 ] );
// returns [ [ 0.0, 0.0, 0.0 ], [ 0.0, 0.0, 0.0 ] ]
var filled2d = require( '@stdlib/array-base-filled2d' );
var out = filled2d( 0.0, [ 1, 3 ] );
// returns [ [ 0.0, 0.0, 0.0 ] ]
out = filled2d( 'beep', [ 3, 1 ] );
// returns [ [ 'beep' ], [ 'beep' ], [ 'beep' ] ]
out = filled2d( null, [ 1, 3 ] );
// returns [ [ null, null, null ] ]
out = filled2d( true, [ 3, 1 ] );
// returns [ [ true ], [ true ], [ true ] ]
out = filled2d( void 0, [ 1, 3 ] );
// returns [ [ undefined, undefined, undefined ] ]
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
See LICENSE.
Copyright © 2016-2023. The Stdlib Authors.
FAQs
Create a filled two-dimensional nested array.
The npm package @stdlib/array-base-filled2d receives a total of 77 weekly downloads. As such, @stdlib/array-base-filled2d popularity was classified as not popular.
We found that @stdlib/array-base-filled2d demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.

Research
/Security News
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.

Security News
Socket found a malicious postinstall hook across 700+ GitHub repos, including PHP packages on Packagist and Node.js project repositories.

Security News
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain