Skip to content

Commit

Permalink
Object shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Dec 20, 2023
1 parent d99ac3b commit 6f4a3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/updateNpm.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ async function processPackage(pkg) {
const version = data.version;
const date = data.time[version];
const support = data.peerDependencies?.svelte ? data.peerDependencies.svelte : 'Unknown';
return { [pkg.npm]: { version: version, date: date, support: support } };
return { [pkg.npm]: { version, date, support } };
}

0 comments on commit 6f4a3ca

Please sign in to comment.