Gathering detailed insights and metrics for @extra-array/set-path-update.min
Gathering detailed insights and metrics for @extra-array/set-path-update.min
npm install @extra-array/set-path-update.min
Typescript
Module System
Node Version
NPM Version
65.9
Supply Chain
86.1
Quality
76
Maintenance
100
Vulnerability
100
License
TypeScript (95.89%)
JavaScript (4.11%)
Total Downloads
2,991
Last Day
3
Last Week
12
Last Month
45
Last Year
321
15 Stars
564 Commits
5 Forks
3 Watching
3 Branches
4 Contributors
Minified
Minified + Gzipped
Latest Version
2.10.19
Package Id
@extra-array/set-path-update.min@2.10.19
Unpacked Size
6.21 kB
Size
2.85 kB
File Count
8
NPM Version
8.4.1
Node Version
17.5.0
Cumulative downloads
Total Downloads
Last day
200%
3
Compared to previous day
Last week
-33.3%
12
Compared to previous week
Last month
4,400%
45
Compared to previous month
Last year
-43.2%
321
Compared to previous year
Sets value at path in a nested array. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:
Alternatives: set, set$, setPath$.
Similar: hasPath, getPath, setPath$, removePath$.
Similar: get, set, remove.
This is part of package extra-array.
This is browserified, minified version of @extra-array/set-path-update.
It is exported as global variable array_setPath$.
CDN: unpkg, jsDelivr.
1array.setPath$(x, p, v); 2// x: a nested array (updated) 3// p: path 4// v: value 5// → x
1const array = require("extra-array"); 2 3var x = [[2, 4], 6, 8]; 4array.setPath$(x, [1], 60); 5// [ [ 2, 4 ], 60, 8 ] 6 7x; 8// [ [ 2, 4 ], 60, 8 ] 9 10array.setPath$(x, [0, 1], 40); 11// [ [ 2, 40 ], 60, 8 ] 12 13array.setPath$(x, [0, 1, 2], 100); 14// [ [ 2, 40 ], 60, 8 ] (path not present, no effect)
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-01-13
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More