Transform the DOM by selecting elements and joining to data.
Installations
npm install d3-selection
Developer
Developer Guide
Module System
ESM
Min. Node Version
>=12
Typescript Support
No
Node Version
12.22.1
NPM Version
6.14.12
Statistics
559 Stars
591 Commits
293 Forks
37 Watching
15 Branches
15 Contributors
Updated on 28 Nov 2024
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
643,272,960
Last day
-7.7%
861,009
Compared to previous day
Last week
2.2%
4,808,180
Compared to previous week
Last month
8.7%
20,212,505
Compared to previous month
Last year
31.8%
201,958,226
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
5
d3-selection
Selections allow powerful data-driven transformation of the document object model (DOM): set attributes, styles, properties, HTML or text content, and more. Using the data join’s enter and exit selections, you can also add or remove elements to correspond to data.
Resources
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: ISC License: LICENSE:0
Reason
Found 7/13 approved changesets -- score normalized to 5
Reason
0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/node.js.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/d3/d3-selection/node.js.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/d3/d3-selection/node.js.yml/main?enable=pin
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
Project has not signed or included provenance with any releases.
Details
- Warn: release artifact v2.0.0 not signed: https://api.github.com/repos/d3/d3-selection/releases/21340845
- Warn: release artifact v1.4.1 not signed: https://api.github.com/repos/d3/d3-selection/releases/21528882
- Warn: release artifact v1.4.0 not signed: https://api.github.com/repos/d3/d3-selection/releases/15126047
- Warn: release artifact v1.3.2 not signed: https://api.github.com/repos/d3/d3-selection/releases/12569787
- Warn: release artifact v2.0.0 does not have provenance: https://api.github.com/repos/d3/d3-selection/releases/21340845
- Warn: release artifact v1.4.1 does not have provenance: https://api.github.com/repos/d3/d3-selection/releases/21528882
- Warn: release artifact v1.4.0 does not have provenance: https://api.github.com/repos/d3/d3-selection/releases/15126047
- Warn: release artifact v1.3.2 does not have provenance: https://api.github.com/repos/d3/d3-selection/releases/12569787
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 26 are checked with a SAST tool
Reason
11 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
Score
2.7
/10
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