diff --git a/package-lock.json b/package-lock.json index 0c5ff3c..d9336de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "mariokart-optimizer", "dependencies": { - "@danielx/civet": "~0.8.6", + "@danielx/civet": "~0.8.8", "js-yaml": "^4.1.0" }, "devDependencies": { @@ -25,9 +25,9 @@ } }, "node_modules/@danielx/civet": { - "version": "0.8.6", - "resolved": "https://registry.npmjs.org/@danielx/civet/-/civet-0.8.6.tgz", - "integrity": "sha512-5jueEyNvKqaVdUaROm58q3FpmrcnL8H5jxX7ASyDESDvtqknvglxZq8a3qYQ/kOHbaDAWcgudPh6i+ADrbJnzw==", + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@danielx/civet/-/civet-0.8.8.tgz", + "integrity": "sha512-WNwt/Erul4Mu+5l0ufVozm3i+oTxkJ4F+NAWt4o0CIUFa+B7RppZJqrspckhw/lvOu7cZUkOs7oDldBahMALBQ==", "license": "MIT", "dependencies": { "@cspotcode/source-map-support": "^0.8.1", diff --git a/package.json b/package.json index 380d47a..5379469 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mariokart-optimizer", "private": true, "dependencies": { - "@danielx/civet": "~0.8.6", + "@danielx/civet": "~0.8.8", "js-yaml": "^4.1.0" }, "scripts": { diff --git a/src/data.civet b/src/data.civet index 0d6e278..8c44ede 100644 --- a/src/data.civet +++ b/src/data.civet @@ -6,7 +6,7 @@ switchResponsePromise := fetch './data/switch.json', opts wiiUResponsePromise := fetch './data/wiiU.json', opts data: Record 'switch' | 'wiiU', YamlData := - await.all([switchResponsePromise, wiiUResponsePromise].map .then .json()) + await.all [switchResponsePromise, wiiUResponsePromise].map .then .json() |> (a) => switch: a.0, wiiU: a.1 export default data