Installations
npm install @sapphire/result
Score
90.7
Supply Chain
100
Quality
97.7
Maintenance
100
Vulnerability
100
License
Releases
@sapphire/time-utilities@1.7.14
Published on 09 Nov 2024
@sapphire/timestamp@1.0.5
Published on 09 Nov 2024
@sapphire/timer-manager@1.0.4
Published on 09 Nov 2024
@sapphire/string-store@1.0.1
Published on 09 Nov 2024
@sapphire/iterator-utilities@2.0.1
Published on 09 Nov 2024
@sapphire/cron@1.2.1
Published on 09 Nov 2024
Developer
Developer Guide
Module System
CommonJS, ESM, UMD
Min. Node Version
>=v14.0.0
Typescript Support
Yes
Node Version
NPM Version
Statistics
157 Stars
1,892 Commits
39 Forks
4 Watching
7 Branches
54 Contributors
Updated on 24 Nov 2024
Bundle Size
6.88 kB
Minified
1.77 kB
Minified + Gzipped
Languages
TypeScript (99.53%)
JavaScript (0.47%)
Total Downloads
Cumulative downloads
Total Downloads
981,212
Last day
33%
1,310
Compared to previous day
Last week
13.8%
10,289
Compared to previous week
Last month
-7.1%
41,501
Compared to previous month
Last year
14.5%
444,494
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Buy us some doughnuts
Sapphire Community is and always will be open source, even if we don't get donations. That being said, we know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!
We accept donations through Open Collective, Ko-fi, Paypal, Patreon and GitHub Sponsorships. You can use the buttons below to donate through your method of choice.
Donate With | Address |
---|---|
Open Collective | Click Here |
Ko-fi | Click Here |
Patreon | Click Here |
PayPal | Click Here |
Contributors
Please make sure to read the Contributing Guide before making a pull request.
Thank you to all the people who already contributed to Sapphire!
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
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.md:0
- Info: FSF or OSI recognized license: MIT License: LICENSE.md:0
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/sapphiredev/.github/.github/SECURITY.md:1
- Info: Found linked content: github.com/sapphiredev/.github/.github/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/sapphiredev/.github/.github/SECURITY.md:1
- Info: Found text in security policy: github.com/sapphiredev/.github/.github/SECURITY.md:1
Reason
SAST tool is run on all commits
Details
- Info: all commits (8) are checked with a SAST tool
Reason
1 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-pqhp-25j4-6hq9
Reason
Found 3/25 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/auto-deprecate.yml:1
- Warn: no topLevel permission defined: .github/workflows/auto-updater.yml:1
- Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1
- Warn: no topLevel permission defined: .github/workflows/continuous-delivery.yml:1
- Warn: no topLevel permission defined: .github/workflows/continuous-integration.yml:1
- Warn: no topLevel permission defined: .github/workflows/deprecate-on-merge.yml:1
- Warn: no topLevel permission defined: .github/workflows/documentation.yml:1
- Warn: no topLevel permission defined: .github/workflows/labelsync.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
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/auto-deprecate.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sapphiredev/utilities/auto-deprecate.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/auto-deprecate.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/sapphiredev/utilities/auto-deprecate.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/auto-updater.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/sapphiredev/utilities/auto-updater.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/auto-updater.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/sapphiredev/utilities/auto-updater.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/continuous-integration.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/sapphiredev/utilities/continuous-integration.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/continuous-integration.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/sapphiredev/utilities/continuous-integration.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deprecate-on-merge.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sapphiredev/utilities/deprecate-on-merge.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deprecate-on-merge.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/sapphiredev/utilities/deprecate-on-merge.yml/main?enable=pin
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 4 third-party GitHubAction dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
6.2
/10
Last Scanned on 2024-11-18
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 MoreOther packages similar to @sapphire/result
@sapphire/eslint-plugin-result
A TypeScript ESLint plugin for @sapphire/result
@sapphire/async-queue
Sequential asynchronous lock-based queue for promises
@sapphire/snowflake
Deconstructs and generates snowflake IDs using BigInts
@sapphire/shapeshift
Blazing fast input validation and transformation âš¡