added nuxt, added canonical-list.json, changed script behaviors#4
Open
jeremymwells wants to merge 1 commit intomainfrom
Open
added nuxt, added canonical-list.json, changed script behaviors#4jeremymwells wants to merge 1 commit intomainfrom
jeremymwells wants to merge 1 commit intomainfrom
Conversation
a4a921a to
30b5334
Compare
facundo-herodevs
approved these changes
Mar 20, 2026
30b5334 to
6c77d81
Compare
6c77d81 to
6afae77
Compare
v3nant
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Branch Changes: canonical-list + purls-to-json Rework
Source File
canonical-list.jsonas the new canonical purl source, replacingnes-package-forkpoint.purls.jsoncanonical-list.jsonsupport two formats:"pkg:npm/nuxt@2.18.1"{ "identifier": "pkg:npm/nuxt@2.18.1", "eolFrom": "2024-06-30" }eolFrom: "2024-06-30"(derived from endoflife.date data)tools/purls-to-json.js
Deterministic Ordering
convertPurlsToManufacturersandconverPurlsToEOLDatenow sort the input purl listalphabetically by identifier before processing, ensuring consistent output ordering across
all runs and clean diffs going forward
Input File
nes-package-forkpoint.purls.jsontocanonical-list.jsonString vs Object Entry Handling
identifieras the purl andeolFromas thereleaseDatereleaseDateLogic (EOL date output)eolFrom→ useeolFrom(always overwrites)eolFrom, but existingreleaseDatein current registry → preserve existing valueBackup Before Write
registry-{letter}.json, checks for any existingregistry-{letter}.previous.{timestamp}.jsonbackupBug Fixes
-o m): Fixedcomponents[componentName]being reset on every iteration,which caused only the last purl per component to survive in
lifecycles; now uses||initialization so existing lifecycles are preserved
linkId(
namespace/name) for maven separately fromcomponentNamepackage.json
convert-purls:to-eoldateandconvert-purls:to-manufacturersscripts updatedto use
-f canonical-list.json