From d4895764ae1f03c55cad2188f8ba3c4ba8c85382 Mon Sep 17 00:00:00 2001 From: CenTdemeern1 Date: Mon, 28 Oct 2024 17:42:31 +0100 Subject: [PATCH] Upgrade matter-js to version 0.20.0 This version uses fixed rates across platforms in Matter.Runner. This fixes inconsistent rates in `physics.ts`. --- packages/frontend/package.json | 2 +- pnpm-lock.yaml | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 3226a554a9..f16fd989a6 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -50,7 +50,7 @@ "insert-text-at-cursor": "0.3.0", "is-file-animated": "1.0.2", "json5": "2.2.3", - "matter-js": "0.19.0", + "matter-js": "0.20.0", "mfm-js": "0.24.0", "misskey-bubble-game": "workspace:*", "misskey-js": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1312e8c886..cd0d3bc346 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -791,8 +791,8 @@ importers: specifier: 2.2.3 version: 2.2.3 matter-js: - specifier: 0.19.0 - version: 0.19.0 + specifier: 0.20.0 + version: 0.20.0 mfm-js: specifier: 0.24.0 version: 0.24.0 @@ -8462,6 +8462,9 @@ packages: matter-js@0.19.0: resolution: {integrity: sha512-v2huwvQGOHTGOkMqtHd2hercCG3f6QAObTisPPHg8TZqq2lz7eIY/5i/5YUV8Ibf3mEioFEmwibcPUF2/fnKKQ==} + matter-js@0.20.0: + resolution: {integrity: sha512-iC9fYR7zVT3HppNnsFsp9XOoQdQN2tUyfaKg4CHLH8bN+j6GT4Gw7IH2rP0tflAebrHFw730RR3DkVSZRX8hwA==} + mdast-util-find-and-replace@3.0.1: resolution: {integrity: sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==} @@ -11433,6 +11436,9 @@ packages: vue-component-type-helpers@2.1.6: resolution: {integrity: sha512-ng11B8B/ZADUMMOsRbqv0arc442q7lifSubD0v8oDXIFoMg/mXwAPUunrroIDkY+mcD0dHKccdaznSVp8EoX3w==} + vue-component-type-helpers@2.1.8: + resolution: {integrity: sha512-ii36gDzrYAfOQIkOlo44yceDdT5269gKmNGxf07Qx6seH2U50+tQ2ol02XLhYPmxrh6YabAsOdte8WDrpaO6Tw==} + vue-demi@0.14.7: resolution: {integrity: sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==} engines: {node: '>=12'} @@ -15155,7 +15161,7 @@ snapshots: ts-dedent: 2.2.0 type-fest: 2.19.0 vue: 3.5.11(typescript@5.6.2) - vue-component-type-helpers: 2.1.6 + vue-component-type-helpers: 2.1.8 '@swc/cli@0.3.12(@swc/core@1.6.6)(chokidar@3.5.3)': dependencies: @@ -20680,6 +20686,8 @@ snapshots: matter-js@0.19.0: {} + matter-js@0.20.0: {} + mdast-util-find-and-replace@3.0.1: dependencies: '@types/mdast': 4.0.3 @@ -24025,6 +24033,8 @@ snapshots: vue-component-type-helpers@2.1.6: {} + vue-component-type-helpers@2.1.8: {} + vue-demi@0.14.7(vue@3.5.11(typescript@5.6.2)): dependencies: vue: 3.5.11(typescript@5.6.2)