Gathering detailed insights and metrics for @pagopa/io-functions-commons
Gathering detailed insights and metrics for @pagopa/io-functions-commons
Gathering detailed insights and metrics for @pagopa/io-functions-commons
Gathering detailed insights and metrics for @pagopa/io-functions-commons
npm install @pagopa/io-functions-commons
Release 29.3.0
Published on 21 Nov 2024
Release 29.2.0
Published on 19 Nov 2024
Release 29.1.2
Published on 27 May 2024
Release 29.1.1
Published on 27 May 2024
Release 29.1.0
Published on 22 May 2024
Release 29.0.4
Published on 10 May 2024
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
4 Stars
589 Commits
4 Forks
12 Watching
122 Branches
32 Contributors
Updated on 21 Nov 2024
TypeScript (99.56%)
JavaScript (0.37%)
Handlebars (0.07%)
Cumulative downloads
Total Downloads
Last day
-67.3%
16
Compared to previous day
Last week
-5.9%
222
Compared to previous week
Last month
12.1%
1,102
Compared to previous month
Last year
-14.4%
17,436
Compared to previous year
20
4
28
Common code used across Azure functions of project IO.
The __integrations__
folder contains a sub-project which uses jest
to execute tests against production-like resources. Such test suites expect resources to be up-and-running and they don't care if they are local or cloud resources.
1# run Mailhog, used to simulate an email recipient 2docker run -d -p 1025:1025 -p 8025:8025 --name mailhog mailhog/mailhog 3 4# run a local mock of CosmosDB 5npm install -g @zeit/cosmosdb-server 6nohup cosmosdb-server -p 3000 & 7 8docker run -d --rm -p 10000:10000 mcr.microsoft.com/azure-storage/azurite azurite-blob --blobHost 0.0.0.0 9 10# execute test passing references as env variables 11 12# production STORAGE_CONN_STRING example: 13# STORAGE_CONN_STRING="DefaultEndpointsProtocol=https;AccountName=<NAME>;AccountKey=<BASE64KEY>;EndpointSuffix=core.windows.net" \ 14 15MAILHOG_HOSTNAME=localhost \ 16COSMOSDB_URI=https://localhost:3000/ \ 17COSMOSDB_KEY="dummy key" \ 18COSMOSDB_DATABASE_NAME=integration-tests \ 19STORAGE_CONN_STRING="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;" \ 20yarn test:integration
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
all dependencies are pinned
Details
Reason
license file detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 9
Details
Reason
Found 14/30 approved changesets -- score normalized to 4
Reason
4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dangerous workflow patterns detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
31 existing vulnerabilities detected
Details
Score
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 More