Skip to content

Commit

Permalink
refactor: use url-safe ids for MetroGraphSource (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric authored Mar 27, 2024
1 parent 67c7b5e commit fcab1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/MetroGraphSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function convertGraph(options: ConvertGraphToStatsOptions): StatsEntry {
: transformOptions?.platform ?? 'unknown';

return {
id: `${options.entryPoint}+${platform}`,
id: Buffer.from(`${options.entryPoint}+${platform}`).toString('base64'), // FIX: only use URL allowed characters
platform,
projectRoot: options.projectRoot,
entryPoint: options.entryPoint,
Expand Down

0 comments on commit fcab1ba

Please sign in to comment.