{"id":19372135,"url":"https://github.com/nodenv/node-build-update-defs","last_synced_at":"2025-09-13T10:39:45.891Z","repository":{"id":48028490,"uuid":"46514723","full_name":"nodenv/node-build-update-defs","owner":"nodenv","description":"A nodenv plugin to generate node-build definitions from nodejs.org.","archived":false,"fork":false,"pushed_at":"2025-09-08T14:39:45.000Z","size":529,"stargazers_count":39,"open_issues_count":5,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-09T22:39:16.667Z","etag":null,"topics":["build-tool","nodejs","nodenv","nodenv-plugin","update-checker"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodenv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-11-19T19:18:52.000Z","updated_at":"2025-09-08T14:39:35.000Z","dependencies_parsed_at":"2025-08-19T14:04:00.168Z","dependency_job_id":"950fa348-ed38-4bd6-b71e-8ba1cc41d389","html_url":"https://github.com/nodenv/node-build-update-defs","commit_stats":{"total_commits":220,"total_committers":4,"mean_commits":55.0,"dds":"0.24090909090909096","last_synced_commit":"7ccee93db0cf331fc40be2aafeef4ebd1a38517e"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/nodenv/node-build-update-defs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build-update-defs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build-update-defs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build-update-defs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build-update-defs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodenv","download_url":"https://codeload.github.com/nodenv/node-build-update-defs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodenv%2Fnode-build-update-defs/sbom","scorecard":{"id":472540,"data":{"date":"2025-08-19T12:00:42Z","repo":{"name":"github.com/nodenv/node-build-update-defs","commit":"1c98d1b478025a2a7960d9a5cb612d1fd69080bb"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":7.5,"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"18 commit(s) and 1 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:8","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/sync-default-branch.yml:19","Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/test.yml:17","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/test.yml:18","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:14","Info: jobLevel 'packages' permission set to 'read': .github/workflows/test.yml:15","Info: found token with 'none' permissions: .github/workflows/release.yml:1","Info: topLevel permissions set to 'read-all': .github/workflows/sync-default-branch.yml:6","Info: found token with 'none' permissions: .github/workflows/test.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Code-Review","score":0,"reason":"Found 0/13 approved changesets -- score normalized to 0","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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"SAST","score":8,"reason":"SAST tool is not run on all commits -- score normalized to 8","details":["Warn: 18 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'main'","Warn: PRs are not required to make changes on branch 'main'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/nodenv/.github/docs/SECURITY.md:1","Info: Found linked content: github.com/nodenv/.github/docs/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/nodenv/.github/docs/SECURITY.md:1","Info: Found text in security policy: github.com/nodenv/.github/docs/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Contributors","score":10,"reason":"project has 7 contributing companies or organizations","details":["Info: found contributions from: 3AMproductions, bats-core, linemanjs, nodejs, nodenv, rbenv, testdouble"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"CI-Tests","score":7,"reason":"5 out of 7 merged PRs checked by a CI test -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-08-19T14:20:10.565Z","repository_id":48028490,"created_at":"2025-08-19T14:20:10.565Z","updated_at":"2025-08-19T14:20:10.565Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274397058,"owners_count":25277398,"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-09-09T02:00:10.223Z","response_time":80,"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"}},"keywords":["build-tool","nodejs","nodenv","nodenv-plugin","update-checker"],"created_at":"2024-11-10T08:21:46.587Z","updated_at":"2025-09-13T10:39:45.881Z","avatar_url":"https://github.com/nodenv.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-build-update-defs\n\nA [nodenv][] plugin to generate [node-build][] definitions from [nodejs.org](https://nodejs.org).\n\n[![Tests](https://img.shields.io/github/actions/workflow/status/nodenv/node-build-update-defs/test.yml?label=tests\u0026logo=github)](https://github.com/nodenv/node-build-update-defs/actions/workflows/test.yml)\n[![Latest GitHub Release](https://img.shields.io/github/v/release/nodenv/node-build-update-defs?label=github\u0026logo=github\u0026sort=semver)](https://github.com/nodenv/node-build-update-defs/releases/latest)\n[![Latest Homebrew Release](\u003chttps://img.shields.io/badge/dynamic/regex?label=homebrew-nodenv\u0026logo=homebrew\u0026logoColor=white\u0026url=https%3A%2F%2Fraw.githubusercontent.com%2Fnodenv%2Fhomebrew-nodenv%2Frefs%2Fheads%2Fmain%2FFormula%2Fnode-build-update-defs.rb\u0026search=archive%2Frefs%2Ftags%2Fv(%3F%3Cversion%3E%5Cd%2B.*).tar.gz\u0026replace=v%24%3Cversion%3E\u003e)](https://github.com/nodenv/homebrew-nodenv/blob/main/Formula/node-build-update-defs.rb)\n[![Latest npm Release](https://img.shields.io/npm/v/@nodenv/node-build-update-defs?logo=npm\u0026logoColor=white)](https://www.npmjs.com/package/@nodenv/node-build-update-defs/v/latest)\n\n\u003c!-- toc --\u003e\n\n- [Installation](#installation)\n  - [Installing with Git](#installing-with-git)\n  - [Installing with Homebrew](#installing-with-homebrew)\n  - [Installation with npm](#installation-with-npm)\n- [Requirements](#requirements)\n- [Usage](#usage)\n  - [Special environment variables](#special-environment-variables)\n- [Cleanup/Pruning](#cleanuppruning)\n\n\u003c!-- tocstop --\u003e\n\n## Installation\n\nRecommended installation is via Git clone into your nodenv root, as per below.\nHowever, this plugin may also be installed via Homebrew or npm.\nIf installed outside of `NODENV_ROOT`, you must ensure its `share/node-build` directory has been added to the `NODE_BUILD_DEFINITIONS` path.\n\n### Installing with Git\n\nTo install, clone this repository into your `$(nodenv root)/plugins` directory.\n\n    git clone https://github.com/nodenv/node-build-update-defs.git \"$(nodenv root)\"/plugins/node-build-update-defs\n\n### Installing with Homebrew\n\n    brew install nodenv/nodenv/node-build-update-defs\n\n\u003e [!note]\n\u003e Requires manually adding `$(brew --prefix node-build-update-defs)/share/node-build` directory to `NODE_BUILD_DEFINITIONS`\n\n### Installation with npm\n\n    npm install --global @nodenv/node-build-update-defs\n\n\u003e [!note]\n\u003e Requires manually adding `$(npm -g prefix)/lib/node_modules/@nodenv/node-build-update-defs/share/node-build` directory to `NODE_BUILD_DEFINITIONS`\n\n## Requirements\n\nnode \u003e= 6.0\n\nUnlike virtually every other nodenv plugin, node-build-update-defs actually depends on node.\n(The scraper itself is written in JavaScript.)\nVirtually any modern version of node is sufficient, but one must be available.\nOtherwise, you may experience an error like:\n\n\u003e nodenv: version \\_ is not installed\n\nIt is recommended to configure a node-version for the plugin itself (substitute your chosen version):\n\n    echo 6.0 \u003e \"$(nodenv root)\"/plugins/node-build-update-defs/.node-version\n\nIf you have node installed and available in `PATH` _outside_ of nodenv\n(by system package manager or Homebrew, for instance)\nthen the best configuration is to use that for the plugin:\n\n    echo system \u003e \"$(nodenv root)\"/plugins/node-build-update-defs/.node-version\n\n## Usage\n\n    nodenv update-version-defs\n\nBy default, this will create build definitions in the plugin's `share/node-build/` directory.\nThis directory can be overridden with `--destination`.\nFor scraped definitions to be picked up by `node-build`/`nodenv install`,\nthe destination directory must be present in `NODE_BUILD_DEFINTIONS`.\nSee [special environment variables](#special-environment-variables)\n\nOnly definitions that aren't already in node-build's lookup path (`NODE_BUILD_DEFINITIONS`) will be created.\nThat is, under typical usage only definitions not already shipped with node-build will be created.\nTo override this and write definitions for _all_ available node/io versions, use `--force`.\n(This will overwrite any conflicting definition files that already exist in the destination directory.)\n\n### Special environment variables\n\n- `NODE_BUILD_DEFINITIONS` can be a list of colon-separated paths that get additionally searched when looking up build definitions.\n  The `share/node-build/` directories of any plugin under `$(nodenv root)/plugins` are appended to this path by `nodenv install` automatically.\n  Definitions already found in these paths will be skipped (unless `--force`).\n\n## Cleanup/Pruning\n\nIn normal operation, build definitions will gradually build up in this plugin's `share/node-build` directory (or elsewhere if overridden with `--destination`).\nEventually, as the scraped definitions are added to node-build itself, these user-scraped definitions will become duplicates when their node-build installation is updated.\nIn order to ensure one is frequently running on the \"proper\" build definitions from node-build, any duplicates in the plugin directory ought to be removed.\n\n    nodenv prune-version-defs\n\nThis subcommand removes (or lists with `--dry-run`) any duplicate build definitions.\nLike `update-version-defs`, `--destination \u003cdir\u003e` overrides the default value of `\u003cplugin-root\u003e/share/node-build` as the directory from which duplicates are removed.\nDuplicates are searched for under `NODE_BUILD_DEFINITIONS` and are determined by both filename _and_ contents.\nThe file contents check can be overridden with `--force`, which will delete duplicates based solely on filename.\n\nThis subcommand is silent by default, only printing removed duplicates if `--verbose`.\n(`--dry-run` implies `--verbose`)\n\n[nodenv]: https://github.com/nodenv/nodenv\n[node-build]: https://github.com/nodenv/node-build\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodenv%2Fnode-build-update-defs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodenv%2Fnode-build-update-defs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodenv%2Fnode-build-update-defs/lists"}