Parse changelog fragments without the release script's dependencies
The Semantic Diff workflow runs commitRecords.js without node_modules, and changelog.js now imports magicNumbers.js, which imports semver, so every pull request's semantic diff failed. Fragment parsing moves to changelogFragments.js, which imports nothing, and a test keeps the renderer's imports to Node's modules and its own files.