Installations
npm install ajv-draft-04
Score
98
Supply Chain
80.8
Quality
75.2
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Developer
ajv-validator
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
Yes
Node Version
14.17.0
NPM Version
6.14.13
Statistics
10 Stars
10 Commits
3 Forks
4 Watching
1 Branches
2 Contributors
Updated on 22 Aug 2024
Bundle Size
6.87 kB
Minified
1.82 kB
Minified + Gzipped
Languages
TypeScript (89.94%)
JavaScript (10.06%)
Total Downloads
Cumulative downloads
Total Downloads
143,841,815
Last day
3.1%
604,459
Compared to previous day
Last week
6%
3,024,902
Compared to previous week
Last month
17.7%
12,050,934
Compared to previous month
Last year
142%
94,716,172
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
ajv-draft-04
Ajv with JSON Schema draft-04 support
Usage
You need to install both ajv and this package (to allow upgrading ajv without upgrading this package):
1npm i ajv ajv-draft-04
1// ESM/TypeScript import 2import Ajv from "ajv-draft-04" 3// Node.js require: 4const Ajv = require("ajv-draft-04") 5 6const ajv = new Ajv()
See ajv site for documentation.
Tests
1npm install 2git submodule update --init 3npm test
License
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/ajv-validator/ajv-draft-04/build.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/ajv-validator/ajv-draft-04/build.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/ajv-validator/ajv-draft-04/build.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/ajv-validator/ajv-draft-04/publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ajv-validator/ajv-draft-04/publish.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/build.yml:24
- Warn: npmCommand not pinned by hash: .github/workflows/publish.yml:17
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
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
- Warn: no topLevel permission defined: .github/workflows/build.yml:1
- Warn: no topLevel permission defined: .github/workflows/publish.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
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 is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 1 are checked with a SAST tool
Score
3.8
/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