{"id":868369,"name":"@cocalc/util-node","ecosystem":"npm","description":"CoCalc misc utility functionality that is meant for running on node.js (not in browser)","homepage":"https://github.com/sagemathinc/cocalc#readme","licenses":"SEE LICENSE.md","normalized_licenses":["Other"],"repository_url":"https://github.com/sagemathinc/cocalc","keywords_array":["utilities","cocalc"],"namespace":"cocalc","versions_count":18,"first_release_published_at":"2021-08-03T21:20:10.631Z","latest_release_published_at":"2021-09-30T23:49:58.895Z","latest_release_number":"1.7.1","last_synced_at":"2026-04-23T20:17:02.715Z","created_at":"2022-04-07T14:58:43.380Z","updated_at":"2026-04-23T20:17:02.715Z","registry_url":"https://www.npmjs.com/package/@cocalc/util-node","install_command":"npm install @cocalc/util-node","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.7.1"}},"repo_metadata":{"id":28973963,"uuid":"32500369","full_name":"sagemathinc/cocalc","owner":"sagemathinc","description":"CoCalc: Collaborative Calculation in the Cloud","archived":false,"fork":false,"pushed_at":"2025-10-23T04:22:19.000Z","size":535123,"stargazers_count":1249,"open_issues_count":1502,"forks_count":228,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-10-23T06:09:21.280Z","etag":null,"topics":["cloud","coffeescript","gap","julia","jupyter","jupyter-notebook","latex","markdown","mathematics","mathjax","nodejs","octave","pari","postgresql","python","r","sagemath","terminal"],"latest_commit_sha":null,"homepage":"https://CoCalc.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sagemathinc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-03-19T04:16:53.000Z","updated_at":"2025-10-22T18:38:07.000Z","dependencies_parsed_at":"2025-07-16T23:10:10.075Z","dependency_job_id":"af1cf375-a590-4383-939c-3651349fe3c8","html_url":"https://github.com/sagemathinc/cocalc","commit_stats":{"total_commits":33532,"total_committers":117,"mean_commits":286.5982905982906,"dds":"0.46218537516402247","last_synced_commit":"571779f8ead24a3d190a7a24d1a827cf065fd660"},"previous_names":["sagemathinc/smc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sagemathinc/cocalc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagemathinc%2Fcocalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagemathinc%2Fcocalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagemathinc%2Fcocalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagemathinc%2Fcocalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagemathinc","download_url":"https://codeload.github.com/sagemathinc/cocalc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagemathinc%2Fcocalc/sbom","scorecard":{"id":113343,"data":{"date":"2025-08-04","repo":{"name":"github.com/sagemathinc/cocalc","commit":"893d345f5dc62c8de25764575e6d5fb9778bf417"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":5.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Code-Review","score":8,"reason":"Found 13/15 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/make-and-test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:125: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:140: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:143: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:150: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/make-and-test.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/sagemathinc/cocalc/make-and-test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: src/dev/project/smc-project-sagews-dev.sh:65","Warn: pipCommand not pinned by hash: .github/workflows/make-and-test.yml:103","Warn: pipCommand not pinned by hash: .github/workflows/make-and-test.yml:106","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-87mg-h5r3-hw88","Warn: Project is vulnerable to: GHSA-m4ch-4m5f-2gp6","Warn: Project is vulnerable to: GHSA-9mvj-f7w8-pvh2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-fq6p-x6j3-cmmq","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T17:44:49.591Z","repository_id":28973963,"created_at":"2025-08-15T17:44:49.592Z","updated_at":"2025-08-15T17:44:49.592Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281019327,"owners_count":26430644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"tags":[]},"repo_metadata_updated_at":"2026-03-19T23:16:55.515Z","dependent_packages_count":10,"downloads":62,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":23.392331138424552,"dependent_repos_count":25.32799796580169,"dependent_packages_count":2.7182699330304643,"stargazers_count":2.91081109504946,"forks_count":2.791825524307539,"average":11.42824713132274},"purl":"pkg:npm/%40cocalc/util-node","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@cocalc/util-node","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@cocalc/util-node","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@cocalc/util-node/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-10-24T20:02:44.122Z","issues_count":1910,"pull_requests_count":902,"avg_time_to_close_issue":93992130.51913044,"avg_time_to_close_pull_request":515046.5764411028,"issues_closed_count":1149,"pull_requests_closed_count":798,"pull_request_authors_count":11,"issue_authors_count":81,"avg_comments_per_issue":1.3659685863874347,"avg_comments_per_pull_request":0.532150776053215,"merged_pull_requests_count":728,"bot_issues_count":0,"bot_pull_requests_count":52,"past_year_issues_count":370,"past_year_pull_requests_count":263,"past_year_avg_time_to_close_issue":692542.7462686567,"past_year_avg_time_to_close_pull_request":290244.83743842365,"past_year_issues_closed_count":67,"past_year_pull_requests_closed_count":203,"past_year_pull_request_authors_count":4,"past_year_issue_authors_count":13,"past_year_avg_comments_per_issue":0.1891891891891892,"past_year_avg_comments_per_pull_request":0.2889733840304182,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":17,"past_year_merged_pull_requests_count":183,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagemathinc%2Fcocalc/issues","maintainers":[{"login":"novoselt","count":253,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/novoselt"},{"login":"schrodingersket","count":107,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/schrodingersket"}],"active_maintainers":[{"login":"novoselt","count":108,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/novoselt"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@cocalc%2Futil-node/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@cocalc%2Futil-node/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@cocalc%2Futil-node/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@cocalc%2Futil-node/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@cocalc%2Futil-node/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@cocalc%2Futil-node/codemeta","maintainers":[{"uuid":"wstein","login":"wstein","name":null,"email":"wstein@sagemath.com","url":null,"packages_count":127,"html_url":"https://www.npmjs.com/~wstein","role":null,"created_at":"2022-11-16T04:34:16.091Z","updated_at":"2022-11-16T04:34:16.091Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/wstein/packages"},{"uuid":"hasch","login":"hasch","name":null,"email":"harald.schilly@gmail.com","url":null,"packages_count":55,"html_url":"https://www.npmjs.com/~hasch","role":null,"created_at":"2022-11-16T04:34:16.100Z","updated_at":"2022-11-16T04:34:16.100Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hasch/packages"}]}