Skip to content

Adding a "security" property to dist/index.json #437

@bnb

Description

@bnb

Per a brief discussion in today's Node.js Security Working Group meeting, I wanted to bring up the possibility of adding a security property into the dist/index.json.

To outline a possible structure/implementation for this property:

  • add a security property to each new release object, from the date it's implemented and beyond
  • this property has a key of security and a boolean as the value
    • if the release is a security release, this boolean will be true
    • if the release is not a security release, this boolean will be false

The intent is that this is similarly structured to LTS, providing a signal to consumers of the file that a release is a security release.

Theoretically, developers (us included!) could use this in a few ways:

  • loop over every release in a release line until they encounter true – when they encounter true for the first time, they know that version is the minimum secure version
  • create a log of all security releases, and tie those to blog posts (which can be programmatically linked thanks to our blog post structure)
  • in lists displaying Node.js versions, indicate which versions are security releases (think something like Glitch or RunKit)

Hopefully this wouldn't be a massive burden for y'all when maintaining releases, but if it is that's 100% understandable ❤️

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions