From 6f4a3cae1baeff6b1d41d60af5cde71729e27fe1 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Thu, 21 Dec 2023 10:39:06 +1100 Subject: [PATCH] Object shorthand --- scripts/updateNpm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/updateNpm.js b/scripts/updateNpm.js index e1a2a7822..8a47665e7 100644 --- a/scripts/updateNpm.js +++ b/scripts/updateNpm.js @@ -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 } }; }