Gathering detailed insights and metrics for detective-scss
Gathering detailed insights and metrics for detective-scss
Gathering detailed insights and metrics for detective-scss
Gathering detailed insights and metrics for detective-scss
npm install detective-scss
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1 Stars
53 Commits
1 Forks
3 Watching
2 Branches
5 Contributors
Updated on 26 Jul 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-2.6%
265,647
Compared to previous day
Last week
4.7%
1,394,600
Compared to previous week
Last month
13.7%
5,754,735
Compared to previous month
Last year
41.2%
59,008,649
Compared to previous year
2
Find the dependencies of an scss file
1npm install detective-scss
Note: This is specific to the .scss style syntax of the Sass preprocessor. For Sass support, please see node-detective-sass.
It's the SASS counterpart to detective, detective-amd, and detective-es6.
1const fs = require('fs'); 2const detective = require('detective-scss'); 3 4const content = fs.readFileSync('styles.scss', 'utf8'); 5 6// list of imported file names (ex: '_foo.scss', '_foo', etc) 7const dependencies = detective(content); 8 9// or to also detect any url() references to images, fonts, etc. 10const allDependencies = detective(content, { url: true });
url
(optional): (Boolean
) also detect any url()
references to images, fonts, etc.No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
3 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 1/25 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 effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
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