Gathering detailed insights and metrics for collection.js
Gathering detailed insights and metrics for collection.js
Gathering detailed insights and metrics for collection.js
Gathering detailed insights and metrics for collection.js
npm install collection.js
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
9 Stars
693 Commits
2 Forks
5 Watching
2 Branches
6 Contributors
Updated on 10 Mar 2023
Minified
Minified + Gzipped
JavaScript (99.76%)
HTML (0.24%)
Cumulative downloads
Total Downloads
Last day
-98.4%
9
Compared to previous day
Last week
59.7%
2,912
Compared to previous week
Last month
300.3%
6,160
Compared to previous month
Last year
-24.3%
14,485
Compared to previous year
41
Collection — minimalistic JavaScript library for working with collections of data.
1// Iterate over the elements in reverse order starting with the 5th
2$C(document.querySelectorAll('.foo')).forEach((el) => {
3 ...
4}, {
5 reverse: true,
6 startIndex: 5
7});
8
9// Return an array of all the even elements of the original array
10$C([1, 2, 3, 4]).get((el) => el % 2 === 0);
11
12// Create a new object based on the source,
13// {a: 2, b: 4}
14$C({a: 4, b: 16}).map(Math.sqrt);
15
16// Iterate very large object in the lightweight thread
17await $C(new Array(1e8)).thread().forEach(() => {
18 ...
19});
The MIT License.
The latest stable version of the package.
Stable Version
1
7.5/10
Summary
Collection.js vulnerable to Prototype Pollution
Affected Versions
< 6.8.1
Patched Versions
6.8.1
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
Found 0/12 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
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
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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