Merge pull request #3582 from glitch-soc/glitch-soc/merge-upstream

Merge upstream changes up to 783496e155
This commit is contained in:
Claire authored and GitHub committed 2026-07-16 13:26:35 +02:00
commit f21d3bba53
26 files changed
+263 -317

No files matched your search

@@ -59,7 +59,7 @@ body:
Any additional technical details you may have, like logs or error traces
value: |
If this is happening on your own Mastodon server, please fill out those:
- Ruby version: (from `ruby --version`, eg. v4.0.5)
- Ruby version: (from `ruby --version`, eg. v4.0.6)
- Node.js version: (from `node --version`, eg. v22.16.0)
validations:
required: false
+1 -1
View File
@@ -60,7 +60,7 @@ body:
value: |
Please at least include those informations:
- Operating system: (eg. Ubuntu 24.04.2)
- Ruby version: (from `ruby --version`, eg. v4.0.5)
- Ruby version: (from `ruby --version`, eg. v4.0.6)
- Node.js version: (from `node --version`, eg. v22.16.0)
validations:
required: false
+1 -1
View File
@@ -23,7 +23,7 @@ runs:
${{ inputs.additional-system-dependencies }}
- name: Set up Ruby
uses: ruby/setup-ruby@d45b1a4e94b71acab930e56e79c6aa188764e7f9 # v1
uses: ruby/setup-ruby@6e5d382445ae5590b7449d8b3bc8cb1c2c27f617 # v1
with:
ruby-version: ${{ inputs.ruby-version }}
bundler-cache: true
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Set up Ruby
uses: ruby/setup-ruby@d45b1a4e94b71acab930e56e79c6aa188764e7f9 # v1
uses: ruby/setup-ruby@6e5d382445ae5590b7449d8b3bc8cb1c2c27f617 # v1
with:
bundler-cache: true
+3 -3
View File
@@ -36,7 +36,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -49,7 +49,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4
uses: github/codeql-action/autobuild@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -62,6 +62,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4
uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4
with:
category: '/language:${{matrix.language}}'
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Set up Ruby
uses: ruby/setup-ruby@d45b1a4e94b71acab930e56e79c6aa188764e7f9 # v1
uses: ruby/setup-ruby@6e5d382445ae5590b7449d8b3bc8cb1c2c27f617 # v1
with:
bundler-cache: true
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Set up Ruby
uses: ruby/setup-ruby@d45b1a4e94b71acab930e56e79c6aa188764e7f9 # v1
uses: ruby/setup-ruby@6e5d382445ae5590b7449d8b3bc8cb1c2c27f617 # v1
with:
bundler-cache: true
+1 -1
View File
@@ -1 +1 @@
4.0.5
4.0.6
+1 -1
View File
@@ -13,7 +13,7 @@ ARG BASE_REGISTRY="docker.io"
# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="4.0.x"]
# renovate: datasource=docker depName=docker.io/ruby
ARG RUBY_VERSION="4.0.5"
ARG RUBY_VERSION="4.0.6"
# # Node.js version to use in base image, change with [--build-arg NODE_MAJOR_VERSION="22"]
# renovate: datasource=node-version depName=node
ARG NODE_MAJOR_VERSION="24"
+24 -23
View File
@@ -99,7 +99,7 @@ GEM
ast (2.4.3)
attr_required (1.0.2)
aws-eventstream (1.4.0)
aws-partitions (1.1267.0)
aws-partitions (1.1269.0)
aws-sdk-core (3.254.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
@@ -157,8 +157,8 @@ GEM
playwright-ruby-client (>= 1.16.0)
case_transform (0.2)
activesupport
cbor (0.5.10.2)
cgi (0.5.1)
cbor (0.5.10.3)
cgi (0.5.2)
charlock_holmes (0.7.9)
chewy (8.4.1)
activesupport (>= 7.2)
@@ -215,7 +215,7 @@ GEM
dotenv (3.2.0)
drb (2.2.3)
dry-cli (1.4.1)
elastic-transport (8.5.2)
elastic-transport (8.5.3)
faraday (< 3)
multi_json
elasticsearch (8.19.3)
@@ -263,19 +263,19 @@ GEM
excon (~> 1.0)
formatador (>= 0.2, < 2.0)
mime-types
fog-json (1.3.0)
fog-json (1.4.0)
fog-core
multi_json (~> 1.10)
json (~> 2.19)
fog-openstack (1.1.5)
fog-core (~> 2.1)
fog-json (>= 1.0)
formatador (1.2.3)
reline
forwardable (1.4.0)
fugit (1.12.2)
fugit (1.13.0)
et-orbi (~> 1.4)
raabro (~> 1.4)
globalid (1.3.0)
globalid (1.4.0)
activesupport (>= 6.1)
google-protobuf (4.35.1)
bigdecimal
@@ -291,7 +291,7 @@ GEM
activesupport (>= 5.1)
haml (>= 4.0.6)
railties (>= 5.1)
haml_lint (0.75.0)
haml_lint (0.76.0)
haml (>= 5.0)
parallel (>= 1.10)
rainbow
@@ -353,7 +353,7 @@ GEM
azure-blob (~> 0.5.2)
hashie (~> 5.0)
jmespath (1.6.2)
json (2.20.0)
json (2.21.1)
json-canonicalization (1.0.0)
json-jwt (1.17.1)
activesupport (>= 4.2)
@@ -428,7 +428,7 @@ GEM
activesupport (>= 4)
railties (>= 4)
request_store (~> 1.0)
loofah (2.25.1)
loofah (2.25.2)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.9.1)
@@ -572,7 +572,7 @@ GEM
opentelemetry-instrumentation-base (~> 0.25)
opentelemetry-instrumentation-sidekiq (0.29.0)
opentelemetry-instrumentation-base (~> 0.25)
opentelemetry-registry (0.6.1)
opentelemetry-registry (0.6.2)
opentelemetry-api (~> 1.1)
opentelemetry-sdk (1.12.1)
logger
@@ -580,7 +580,7 @@ GEM
opentelemetry-common (~> 0.20)
opentelemetry-registry (~> 0.2)
opentelemetry-semantic_conventions
opentelemetry-semantic_conventions (1.39.0)
opentelemetry-semantic_conventions (1.43.0)
opentelemetry-api (~> 1.0)
orm_adapter (0.5.0)
ostruct (0.6.3)
@@ -618,9 +618,6 @@ GEM
actionpack (>= 7.0.0)
activesupport (>= 7.0.0)
rack
psych (5.4.0)
date
stringio
public_suffix (7.0.5)
puma (8.0.2)
nio4r (~> 2.0)
@@ -689,6 +686,10 @@ GEM
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.4.2)
rbs (4.0.3)
logger
prism (>= 1.6.0)
tsort
rdf (3.3.4)
bcp47_spec (~> 0.2)
bigdecimal (~> 3.1, >= 3.1.5)
@@ -698,9 +699,10 @@ GEM
readline (~> 0.0)
rdf-normalize (0.7.0)
rdf (~> 3.3)
rdoc (7.2.0)
rdoc (8.0.0)
erb
psych (>= 4.0.0)
prism (>= 1.6.0)
rbs (>= 4.0.0)
tsort
readline (0.0.4)
reline
@@ -778,7 +780,7 @@ GEM
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
rubocop-ast (>= 1.47.1, < 2.0)
rubocop-rails (2.35.5)
rubocop-rails (2.36.0)
activesupport (>= 4.2.0)
lint_roller (~> 1.1)
rack (>= 1.1)
@@ -792,7 +794,7 @@ GEM
lint_roller (~> 1.1)
rubocop (~> 1.72, >= 1.72.1)
rubocop-rspec (~> 3.5)
ruby-prof (2.0.4)
ruby-prof (2.0.5)
base64
ostruct
ruby-progressbar (1.13.0)
@@ -847,7 +849,6 @@ GEM
stoplight (5.8.2)
concurrent-ruby
zeitwerk
stringio (3.2.0)
strong_migrations (2.8.0)
activerecord (>= 7.2)
strscan (3.1.8)
@@ -1097,7 +1098,7 @@ DEPENDENCIES
xorcist (~> 1.1)
RUBY VERSION
ruby 4.0.5
ruby 4.0.6
BUNDLED WITH
4.0.13
4.0.16
+1 -1
View File
@@ -137,7 +137,7 @@
"account.share": "@{name}さんのプロフィールを共有する",
"account.show_reblogs": "@{name}さんからのブーストを表示",
"account.statuses_counter": "{count, plural, other {{counter} 投稿}}",
"account.timeline.pinned": "ピン留め済み",
"account.timeline.pinned": "ピン済",
"account.timeline.pinned.view_all": "ピン留め済みの投稿をすべて表示",
"account.unblock": "@{name}さんのブロックを解除",
"account.unblock_domain": "{domain}のブロックを解除",
+1 -1
View File
@@ -37,7 +37,7 @@ class ActivityPub::Activity::Reject < ActivityPub::Activity
quote = quote_from_request_json(@object)
return unless quote.present? && quote.status.local?
reject_quote!(quoting_status.quote)
reject_quote!(quote)
end
def reject_quote!(quote)
+31 -3
View File
@@ -4,6 +4,8 @@
class ActivityPub::ObjectIntegrityProof
include JsonLdHelper
SUPPORTED_CRYPTOSUITES = %w(eddsa-jcs-2022 mldsa44-jcs-2024).freeze
def initialize(json)
@json = json
end
@@ -19,13 +21,22 @@ class ActivityPub::ObjectIntegrityProof
cryptosuite = proof['cryptosuite']
key_uri = proof['verificationMethod']
return unless cryptosuite == 'eddsa-jcs-2022' && proof['proofValue'].present?
return unless SUPPORTED_CRYPTOSUITES.include?(cryptosuite) && proof['proofValue'].present?
keypair = Keypair.from_keyid(key_uri)
keypair = ActivityPub::FetchRemoteKeyService.new.call(key_uri) if keypair&.public_key.blank?
return if keypair.nil? || !keypair.usable? || keypair.type != 'ed25519'
return if keypair.nil? || !keypair.usable?
keypair.actor if ActivityPub::ObjectIntegrityProof.verify_eddsa_jcs_2022(@json, keypair.keypair)
case cryptosuite
when 'eddsa-jcs-2022'
return if keypair.type != 'ed25519'
keypair.actor if ActivityPub::ObjectIntegrityProof.verify_eddsa_jcs_2022(@json, keypair.keypair)
when 'mldsa44-jcs-2024'
return if keypair.type != 'ml-dsa-44'
keypair.actor if ActivityPub::ObjectIntegrityProof.verify_mldsa44_jcs_2024(@json, keypair.keypair)
end
rescue Multibase::Error, OpenSSL::PKey::PKeyError
false
end
@@ -51,4 +62,21 @@ class ActivityPub::ObjectIntegrityProof
keypair.verify(nil, proof_bytes, to_be_verified)
end
# https://www.w3.org/TR/2026/WD-vc-di-quantum-resistant-1.0-20260616/#verify-proof-ml-dsa
def self.verify_mldsa44_jcs_2024(document, keypair) # rubocop:disable Naming/VariableNumber
unsecured_document = document.without('proof')
proof_options = document['proof'].without('proofValue')
proof_bytes = Multibase.decode(document['proof']['proofValue'])
# This is inconsistent with eddsa-jcs-2022 but described in https://www.w3.org/TR/2026/WD-vc-di-quantum-resistant-1.0-20260616/#ProofConfigurationAlg
proof_options['@context'] = unsecured_document['@context']
transformed_data = unsecured_document.to_json_c14n
proof_config = proof_options.to_json_c14n
to_be_verified = Digest::SHA256.digest(proof_config) + Digest::SHA256.digest(transformed_data)
keypair.verify(nil, proof_bytes, to_be_verified)
end
end
+4 -3
View File
@@ -3,7 +3,7 @@
class DeleteAccountService < BaseService
include Payloadable
ASSOCIATIONS_ON_SUSPEND = %w(
ASSOCIATIONS_ON_PURGE = %w(
account_notes
account_pins
active_relationships
@@ -27,6 +27,7 @@ class DeleteAccountService < BaseService
report_notes
scheduled_statuses
status_pins
tag_follows
).freeze
# The following associations have no important side-effects
@@ -303,9 +304,9 @@ class DeleteAccountService < BaseService
def associations_for_destruction
if keep_account_record?
ASSOCIATIONS_ON_SUSPEND
ASSOCIATIONS_ON_PURGE
else
ASSOCIATIONS_ON_SUSPEND + ASSOCIATIONS_ON_DESTROY
ASSOCIATIONS_ON_PURGE + ASSOCIATIONS_ON_DESTROY
end
end
+4 -1
View File
@@ -112,7 +112,10 @@ class UpdateStatusService < BaseService
end
def update_immediate_attributes!
@status.text = @options[:text].presence || @options.delete(:spoiler_text) || '' if @options.key?(:text)
if @options.key?(:text)
@status.text = @options[:text].presence || ''
@status.text = @options.delete(:spoiler_text) || '' if @status.text.blank? && @status.quote.blank?
end
@status.spoiler_text = @options[:spoiler_text] || '' if @options.key?(:spoiler_text)
@status.sensitive = @options[:sensitive] || @options[:spoiler_text].present? if @options.key?(:sensitive) || @options.key?(:spoiler_text)
@status.language = valid_locale_cascade(@options[:language], @status.language, @status.account.user&.preferred_posting_language, I18n.default_locale)
+3 -3
View File
@@ -1120,11 +1120,11 @@ el:
not_usable: Μη χρησιμοποιήσιμη
pending_review: Εκκρεμεί έλεγχος
review_requested: Αιτήθηκε έλεγχος
reviewed: Ελέγχθηκε
reviewed: Ελεγμένη
title: Κατάσταση
trendable: Πιθανό για τάσεις
trendable: Πιθανή για τάσεις
unreviewed: Μη ελεγμένη
usable: Χρησιμοποιήσιμο
usable: Χρησιμοποιήσιμη
name: Όνομα
newest: Νεότερη όλων
oldest: Παλαιότερη όλων
+2 -2
View File
@@ -1013,7 +1013,7 @@ fr-CA:
critical_update: Critique — veuillez mettre à jour au plus vite
description: Il est recommandé de maintenir votre installation de Mastodon à jour afin de bénéficier des derniers correctifs et fonctionnalités. Par ailleurs, il est parfois critique de mettre à jour Mastodon rapidement de manière à éviter les incidents relatifs à la sécurité. Pour ces raisons, Mastodon examine la disponibilté des mises à jour toutes les 30 minutes, et vous en avisera en fonction de vos préférences de notification par courriel.
documentation_link: En savoir plus
nearing_eol: La branche que vous utilisez actuellement ne sera plus supportée à partir du %{date}, veuillez envisager une mise à jour.
nearing_eol: La branche que vous utilisez actuellement ne sera plus supportée à partir du %{date}, veuillez envisager la mise à jour.
release_notes: Notes de mises à jour
supported_until: Le support se termine le %{date}
title: Mises à jour disponibles
@@ -1293,7 +1293,7 @@ fr-CA:
body: La version de Mastodon actuellement utilisée sur votre serveur n'est plus supportée. Nous vous recommandons de mettre à jour dès que possible !
subject: Mastodon %{branch} utilisé sur %{instance} n'est plus supporté !
end_of_support_three_months_warning:
body: La version de Mastodon actuellement utilisée sur votre serveur ne sera plus supportée dans 3 mois. Vous voudrez peut-être mettre à jour vers une nouvelle branche à l'avance.
body: La version de Mastodon actuellement utilisée sur votre serveur ne sera plus supportée dans 3 mois. Vous voudrez peut-être mettre à jour vers une nouvelle branche en avance.
subject: Le support de Mastodon %{branch} utilisé sur %{instance} se termine dans 3 mois.
end_of_support_two_weeks_warning:
body: La version de Mastodon actuellement utilisée sur votre serveur ne sera plus supportée dans 2 semaines. Nous vous recommandons de mettre à jour avant cette échéance.
+2 -2
View File
@@ -1013,7 +1013,7 @@ fr:
critical_update: Critique — veuillez mettre à jour au plus vite
description: Il est recommandé de maintenir votre installation de Mastodon à jour afin de bénéficier des derniers correctifs et fonctionnalités. Par ailleurs, il est parfois critique de mettre à jour Mastodon rapidement de manière à éviter les incidents relatifs à la sécurité. Pour ces raisons, Mastodon examine la disponibilté des mises à jour toutes les 30 minutes, et vous en avisera en fonction de vos préférences de notification par courriel.
documentation_link: En savoir plus
nearing_eol: La branche que vous utilisez actuellement ne sera plus supportée à partir du %{date}, veuillez envisager une mise à jour.
nearing_eol: La branche que vous utilisez actuellement ne sera plus supportée à partir du %{date}, veuillez envisager la mise à jour.
release_notes: Notes de mises à jour
supported_until: Le support se termine le %{date}
title: Mises à jour disponibles
@@ -1293,7 +1293,7 @@ fr:
body: La version de Mastodon actuellement utilisée sur votre serveur n'est plus supportée. Nous vous recommandons de mettre à jour dès que possible !
subject: Mastodon %{branch} utilisé sur %{instance} n'est plus supporté !
end_of_support_three_months_warning:
body: La version de Mastodon actuellement utilisée sur votre serveur ne sera plus supportée dans 3 mois. Vous voudrez peut-être mettre à jour vers une nouvelle branche à l'avance.
body: La version de Mastodon actuellement utilisée sur votre serveur ne sera plus supportée dans 3 mois. Vous voudrez peut-être mettre à jour vers une nouvelle branche en avance.
subject: Le support de Mastodon %{branch} utilisé sur %{instance} se termine dans 3 mois.
end_of_support_two_weeks_warning:
body: La version de Mastodon actuellement utilisée sur votre serveur ne sera plus supportée dans 2 semaines. Nous vous recommandons de mettre à jour avant cette échéance.
+1 -1
View File
@@ -258,7 +258,7 @@ sv:
setting_display_media_hide_all: Dölj alla
setting_display_media_show_all: Visa alla
setting_emoji_style: Emoji-stil
setting_expand_spoilers: Utöka alltid tutningar markerade med innehållsvarningar
setting_expand_spoilers: Utöka alltid inlägg markerade med innehållsvarningar
setting_hide_network: Göm ditt nätverk
setting_missing_alt_text_modal: Varna mig innan jag gör mediainlägg utan alt-text
setting_quick_boosting: Aktivera snabb boostning
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@mastodon/mastodon",
"license": "AGPL-3.0-or-later",
"packageManager": "yarn@4.17.0",
"packageManager": "yarn@4.17.1",
"engines": {
"node": ">=22"
},
@@ -217,4 +217,81 @@ RSpec.describe ActivityPub::ObjectIntegrityProof do
end
end
end
describe 'verify_mldsa44_jcs_2024', skip: 'waiting for ubuntu-26.04 runners' do
# https://www.w3.org/TR/2026/WD-vc-di-quantum-resistant-1.0-20260616/#example-signed-credential-mldsa44-jcs-2024
let(:keypair) do
_, pem = Multibase.decode_key_to_pem(
'ukCRKDtY8Do_dXzYGyuX7BY-1dDYM4FuSiw0gFdO-eJXFH0eqlt4_CP4sEISGAzNlKDzLpUJWoInRywXOpd7FCp_QAJAlL7iRo4cepKhzhlq8xt6qd5jkhYF9tNH8z3RGDl9aunNy_06fWLYNScWd5RmGg46Po8T-kIjMMkJftaqqZcGDxktpu9Et2bnaZMx4K98YyG1urUpM9lgvldgg2qv-6XCrm2uXlJ9U-HN4xtQKn4Ug-5xPwbhPGR2pbcBScTFotkhBqLc2eQLL6zPutWF83sSZbOhD_11BjMkeiLyJbMeHCIhz5GDIbPksEFIaSho3MdFo5fpQ8QZoqCit3Jn4ddfuShfIoLU1Hw5EZ0xBiqOU7e-TINd7-7HsgHLmYMGnpqljm1ot3c3cfalYsg87WQuSscO7XNH3Ewa-cgU6Bnj1SGn0plTy6Yq-GxU8XUBPwsK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Pcbm6uXDn_YkV5Z0HkxUxYRA9hIG-UhKhK3VOaHZP8GcQN8noOMa2CnPd208X6HOzlIlxs7SRbzppUs_fHN1eROglNy-2oJWGmo-xOy0Qd44TtY0S_bYhu6iH6inrx3-yncSrWFxEiYosvYJD4ZBSyrV4d6UsfeNSHYS0ODTsdPqz4SYTeloZbIx8XWz7fxLXlNyLr3s9tp-Q25f1vTIrmQL' # rubocop:disable Layout/LineLength
)
OpenSSL::PKey.read(pem)
end
let(:secured_json) do
JSON.parse(<<~JSON)
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/citizenship/v4rc1"
],
"type": [
"VerifiableCredential",
"EmploymentAuthorizationDocumentCredential"
],
"issuer": {
"id": "did:key:zDnaegE6RR3atJtHKwTRTWHsJ3kNHqFwv7n9YjTgmU7TyfU76",
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2NgUPr/HwADaAIhG61j/AAAAABJRU5ErkJggg=="
},
"credentialSubject": {
"type": [
"Person",
"EmployablePerson"
],
"givenName": "JOHN",
"additionalName": "JACOB",
"familyName": "SMITH",
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2Ng+M/wHwAEAQH/7yMK/gAAAABJRU5ErkJggg==",
"gender": "Male",
"residentSince": "2015-01-01",
"birthCountry": "Bahamas",
"birthDate": "1999-07-17",
"employmentAuthorizationDocument": {
"type": "EmploymentAuthorizationDocument",
"identifier": "83627465",
"lprCategory": "C09",
"lprNumber": "999-999-999"
}
},
"name": "Employment Authorization Document",
"description": "Example Employment Authorization Document.",
"validFrom": "2019-12-03T00:00:00Z",
"validUntil": "2029-12-03T00:00:00Z",
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "mldsa44-jcs-2024",
"created": "2023-02-24T23:36:38Z",
"verificationMethod": "did:key:ukCRKDtY8Do_dXzYGyuX7BY-1dDYM4F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Z5Z4OVW5PVJkNHhKPfaNq4mQT5vBAWlWphOotPHwTbN7oMiOGYu-AMTnsLPCn0A3VEXx16EROpu0zlVisEZo1sya8nQaJYiI_i3MEWqvV2ypvcMDYt_ArFjxMU3tjV5tNcJgIoE5E5UCGyo2HQMvN03T0GdHZr7txswg9HpRJqntiJzm0iAr9BhRPfErg4HLQyc92gOH6UdczP4hvbweP3mcW67yUT3lH31vznZ5lIJ0pth3H_7khwUff5daIROar2usWxoMWTItY5HC7v5HBjnfqj4EoVi1A4Uw7RvHhaCMkfDrqqntNM0TDDSfDP1uCB1RwZtcuWpNfLWYyP1B9XqwKg3EworHhIq1vI74gZROvebyYqx8UCFeiLubTfXHJrC2evT99ha6jf7vg8zKgew6Cj3Jz_RSRE5rF5uQQno6PsevbKKtZsQmn0PQphfNzWqacMpred2yrmetGOEG_JvYxx5Scmu8w8Yg-3V7yhMeDsOh0DZ8sjTw5d-w3zKUNeU2IZzz5wvaJ7-8RRxyJqxFsUFaBv7WxUZ0bmWg4pRXdBUKNW53mEUGDigpRF6Fla-6wc4BCDhwfJWdpaixu8Lf4fkRKCs0Y4-lrsTH1-zwNkKBudbd6v4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwbKDA"
}
}
JSON
end
context 'with a correct signature' do
it 'verifies correctly' do
expect(described_class.verify_mldsa44_jcs_2024(secured_json, keypair)).to be true
end
end
context 'with an incorrect signature' do
let(:keypair) { OpenSSL::PKey.generate_key('ml-dsa-44') }
it 'does not verify document' do
expect(described_class.verify_mldsa44_jcs_2024(secured_json, keypair)).to be false
end
end
end
end
+24
View File
@@ -165,6 +165,30 @@ RSpec.describe Request do
expect { subject.perform }
.to raise_error Mastodon::ValidationError
end
context 'when the request is signed' do
it 'raises Mastodon::ValidationError' do
expect { subject.on_behalf_of(Fabricate(:account)).perform }
.to raise_error Mastodon::ValidationError
end
context 'when resolving changes between requests' do
# rubocop:disable RSpec/SubjectStub -- found no better way than this due to the WebMock interaction
before do
request = instance_double(HTTP::Request)
connection = instance_double(HTTP::Connection)
allow(subject).to receive(:perform_cavage_signed_request).and_return(HTTP::Response.new(status: 401, version: '1.1', connection:, request:))
end
it 'performs the first request and raises Mastodon::ValidationError on the second' do
expect { subject.on_behalf_of(Fabricate(:account)).perform }
.to raise_error Mastodon::ValidationError
expect(subject).to have_received(:perform_cavage_signed_request).once
end
# rubocop:enable RSpec/SubjectStub
end
end
end
context 'with persistent connection' do
@@ -63,6 +63,12 @@ RSpec.describe DeleteAccountService do
end
end
describe 'ASSOCIATIONS_WITHOUT_SIDE_EFFECTS' do
it 'is a subset of ASSOCIATIONS_ON_PURGE' do
expect(described_class::ASSOCIATIONS_WITHOUT_SIDE_EFFECTS - described_class::ASSOCIATIONS_ON_PURGE).to eq []
end
end
describe '#call on local account', :inline_jobs do
before do
stub_request(:post, remote_alice.inbox_url).to_return(status: 201)
@@ -40,6 +40,37 @@ RSpec.describe UpdateStatusService do
)
expect(status.edits.ordered.pluck(:text)).to eq %w(Foo Bar)
end
context 'when the status has a quote' do
before { Fabricate(:quote, status: status) }
it 'updates text, resets card, saves edit history' do
subject.call(status, status.account_id, text: 'Bar')
expect(status.reload)
.to have_attributes(
text: 'Bar',
preview_card: be_nil
)
expect(status.edits.ordered.pluck(:text)).to eq %w(Foo Bar)
end
end
context 'when the status has a quote and has a spoiler' do
before { Fabricate(:quote, status: status) }
it 'updates text, resets card, saves edit history' do
subject.call(status, status.account_id, spoiler_text: 'Bar', text: '')
expect(status.reload)
.to have_attributes(
text: '',
spoiler_text: 'Bar',
preview_card: be_nil
)
expect(status.edits.ordered.pluck(:text)).to eq ['Foo', '']
end
end
end
context 'when content warning changes' do
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@mastodon/streaming",
"license": "AGPL-3.0-or-later",
"packageManager": "yarn@4.17.0",
"packageManager": "yarn@4.17.1",
"engines": {
"node": ">=22"
},
+39 -264
View File
@@ -3169,7 +3169,7 @@ __metadata:
languageName: node
linkType: hard
"@napi-rs/wasm-runtime@npm:^1.1.4, @napi-rs/wasm-runtime@npm:^1.1.5, @napi-rs/wasm-runtime@npm:^1.1.6":
"@napi-rs/wasm-runtime@npm:^1.1.4, @napi-rs/wasm-runtime@npm:^1.1.6":
version: 1.1.6
resolution: "@napi-rs/wasm-runtime@npm:1.1.6"
dependencies:
@@ -3290,13 +3290,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-android-arm-eabi@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-android-arm-eabi@npm:0.137.0"
conditions: os=android & cpu=arm
languageName: node
linkType: hard
"@oxc-parser/binding-android-arm-eabi@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-android-arm-eabi@npm:0.139.0"
@@ -3311,13 +3304,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-android-arm64@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-android-arm64@npm:0.137.0"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard
"@oxc-parser/binding-android-arm64@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-android-arm64@npm:0.139.0"
@@ -3332,13 +3318,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-darwin-arm64@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-darwin-arm64@npm:0.137.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@oxc-parser/binding-darwin-arm64@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-darwin-arm64@npm:0.139.0"
@@ -3353,13 +3332,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-darwin-x64@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-darwin-x64@npm:0.137.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@oxc-parser/binding-darwin-x64@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-darwin-x64@npm:0.139.0"
@@ -3374,13 +3346,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-freebsd-x64@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-freebsd-x64@npm:0.137.0"
conditions: os=freebsd & cpu=x64
languageName: node
linkType: hard
"@oxc-parser/binding-freebsd-x64@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-freebsd-x64@npm:0.139.0"
@@ -3395,13 +3360,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-arm-gnueabihf@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-arm-gnueabihf@npm:0.137.0"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
"@oxc-parser/binding-linux-arm-gnueabihf@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-arm-gnueabihf@npm:0.139.0"
@@ -3416,13 +3374,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-arm-musleabihf@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-arm-musleabihf@npm:0.137.0"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
"@oxc-parser/binding-linux-arm-musleabihf@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-arm-musleabihf@npm:0.139.0"
@@ -3437,13 +3388,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-arm64-gnu@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-arm64-gnu@npm:0.137.0"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
"@oxc-parser/binding-linux-arm64-gnu@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-arm64-gnu@npm:0.139.0"
@@ -3458,13 +3402,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-arm64-musl@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-arm64-musl@npm:0.137.0"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
"@oxc-parser/binding-linux-arm64-musl@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-arm64-musl@npm:0.139.0"
@@ -3479,13 +3416,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-ppc64-gnu@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-ppc64-gnu@npm:0.137.0"
conditions: os=linux & cpu=ppc64 & libc=glibc
languageName: node
linkType: hard
"@oxc-parser/binding-linux-ppc64-gnu@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-ppc64-gnu@npm:0.139.0"
@@ -3500,13 +3430,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-riscv64-gnu@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-riscv64-gnu@npm:0.137.0"
conditions: os=linux & cpu=riscv64 & libc=glibc
languageName: node
linkType: hard
"@oxc-parser/binding-linux-riscv64-gnu@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-riscv64-gnu@npm:0.139.0"
@@ -3521,13 +3444,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-riscv64-musl@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-riscv64-musl@npm:0.137.0"
conditions: os=linux & cpu=riscv64 & libc=musl
languageName: node
linkType: hard
"@oxc-parser/binding-linux-riscv64-musl@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-riscv64-musl@npm:0.139.0"
@@ -3542,13 +3458,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-s390x-gnu@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-s390x-gnu@npm:0.137.0"
conditions: os=linux & cpu=s390x & libc=glibc
languageName: node
linkType: hard
"@oxc-parser/binding-linux-s390x-gnu@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-s390x-gnu@npm:0.139.0"
@@ -3563,13 +3472,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-x64-gnu@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-x64-gnu@npm:0.137.0"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
"@oxc-parser/binding-linux-x64-gnu@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-x64-gnu@npm:0.139.0"
@@ -3584,13 +3486,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-linux-x64-musl@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-linux-x64-musl@npm:0.137.0"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
"@oxc-parser/binding-linux-x64-musl@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-linux-x64-musl@npm:0.139.0"
@@ -3605,13 +3500,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-openharmony-arm64@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-openharmony-arm64@npm:0.137.0"
conditions: os=openharmony & cpu=arm64
languageName: node
linkType: hard
"@oxc-parser/binding-openharmony-arm64@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-openharmony-arm64@npm:0.139.0"
@@ -3630,17 +3518,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-wasm32-wasi@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-wasm32-wasi@npm:0.137.0"
dependencies:
"@emnapi/core": "npm:1.11.1"
"@emnapi/runtime": "npm:1.11.1"
"@napi-rs/wasm-runtime": "npm:^1.1.5"
conditions: cpu=wasm32
languageName: node
linkType: hard
"@oxc-parser/binding-wasm32-wasi@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-wasm32-wasi@npm:0.139.0"
@@ -3659,13 +3536,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-win32-arm64-msvc@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-win32-arm64-msvc@npm:0.137.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@oxc-parser/binding-win32-arm64-msvc@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-win32-arm64-msvc@npm:0.139.0"
@@ -3680,13 +3550,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-win32-ia32-msvc@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-win32-ia32-msvc@npm:0.137.0"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
"@oxc-parser/binding-win32-ia32-msvc@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-win32-ia32-msvc@npm:0.139.0"
@@ -3701,13 +3564,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-parser/binding-win32-x64-msvc@npm:0.137.0":
version: 0.137.0
resolution: "@oxc-parser/binding-win32-x64-msvc@npm:0.137.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@oxc-parser/binding-win32-x64-msvc@npm:0.139.0":
version: 0.139.0
resolution: "@oxc-parser/binding-win32-x64-msvc@npm:0.139.0"
@@ -3729,13 +3585,6 @@ __metadata:
languageName: node
linkType: hard
"@oxc-project/types@npm:^0.137.0":
version: 0.137.0
resolution: "@oxc-project/types@npm:0.137.0"
checksum: 10c0/5a6a50174e5ac79aebf38a120fe57be7a84c8bb0c77117f30de15183aa5ab0161e78364d2d3725397090e362e5c5f6eda754b53057b0b63983e3ee604f888aca
languageName: node
linkType: hard
"@oxfmt/binding-android-arm-eabi@npm:0.47.0":
version: 0.47.0
resolution: "@oxfmt/binding-android-arm-eabi@npm:0.47.0"
@@ -5275,22 +5124,22 @@ __metadata:
languageName: node
linkType: hard
"@unhead/bundler@npm:3.1.7":
version: 3.1.7
resolution: "@unhead/bundler@npm:3.1.7"
"@unhead/bundler@npm:3.1.8":
version: 3.1.8
resolution: "@unhead/bundler@npm:3.1.8"
dependencies:
"@vitejs/devtools-kit": "npm:^0.3.3"
"@vitejs/devtools-kit": "npm:^0.3.4"
magic-string: "npm:^0.30.21"
oxc-parser: "npm:^0.137.0"
oxc-parser: "npm:^0.139.0"
oxc-walker: "npm:^1.0.0"
ufo: "npm:^1.6.4"
unplugin: "npm:^3.2.0"
unplugin: "npm:^3.3.0"
peerDependencies:
"@unhead/cli": ^3.1.7
"@unhead/cli": ^3.1.8
esbuild: ">=0.17.0"
lightningcss: ">=1.20.0"
rolldown: ">=1.0.0-beta.0"
unhead: ^3.1.7
unhead: ^3.1.8
vite: ">=6.4.2"
webpack: ">=5.0.0"
peerDependenciesMeta:
@@ -5306,19 +5155,19 @@ __metadata:
optional: true
webpack:
optional: true
checksum: 10c0/3de0dc425169320c00e153a49195964a16bb9c729a07f5dade24e9e74bdc32ec9412dc72b81091631b438923bb897554ef0d81c889a65bd2382ce876998cc63a
checksum: 10c0/8ad1222aa1e36df4d1f86dff20a64c40902c4a161697d4b77088a366633f7acec5f50ba229f3d8527edef907c462c0cbd0251392c07f541a6a35b1bf42b1d08a
languageName: node
linkType: hard
"@unhead/react@npm:^3.1.0":
version: 3.1.7
resolution: "@unhead/react@npm:3.1.7"
version: 3.1.8
resolution: "@unhead/react@npm:3.1.8"
dependencies:
"@unhead/bundler": "npm:3.1.7"
"@unhead/bundler": "npm:3.1.8"
magic-string: "npm:^0.30.21"
oxc-walker: "npm:^1.0.0"
unhead: "npm:3.1.7"
unplugin: "npm:^3.2.0"
unhead: "npm:3.1.8"
unplugin: "npm:^3.3.0"
peerDependencies:
react: ">=19.2.4"
vite: ">=6.4.2"
@@ -5328,7 +5177,7 @@ __metadata:
optional: true
webpack:
optional: true
checksum: 10c0/df090d51bc0d5a9e1b334fd2afbb12f922958098bd57138ac2f4c1c0ba5f3f23cc7a8fa0abfc32ad21030bd1d9e6c56d522b4a1d48f12b8d732ddc31e95d6de2
checksum: 10c0/6cc72a147a4d3f5392755f3807634d409d7e6b508e33fd6c510c0ee39f4858335dd94a9409c64fa645aa8a8a08eb7d33db22cbca5b5c8ad0d246d02c267f2de1
languageName: node
linkType: hard
@@ -5501,21 +5350,21 @@ __metadata:
languageName: node
linkType: hard
"@vitejs/devtools-kit@npm:^0.3.3":
version: 0.3.3
resolution: "@vitejs/devtools-kit@npm:0.3.3"
"@vitejs/devtools-kit@npm:^0.3.4":
version: 0.3.4
resolution: "@vitejs/devtools-kit@npm:0.3.4"
dependencies:
"@devframes/hub": "npm:^0.5.4"
birpc: "npm:^4.0.0"
devframe: "npm:^0.5.4"
mlly: "npm:^1.8.2"
nostics: "npm:^0.3.0"
nostics: "npm:^1.1.4"
pathe: "npm:^2.0.3"
perfect-debounce: "npm:^2.1.0"
tinyexec: "npm:^1.2.4"
peerDependencies:
vite: "*"
checksum: 10c0/cf1b4588591447378201a6c32a48da42b286ac23386bfbd29c6b36f49c2682d77997f659bc60bd605b90b05acd2e97f4dd77aac428b4842d4e6c6a562d35a7fd
checksum: 10c0/4bc7c57df291b0e94d6a4461a5768eb70bbe084fd58422f936c58706e925df0fa337143b9890bf9f6b74fce735b37c6c5490ca076ea9f19e8e9016d9e60fe20e
languageName: node
linkType: hard
@@ -10726,14 +10575,10 @@ __metadata:
languageName: node
linkType: hard
"nostics@npm:^0.3.0":
version: 0.3.0
resolution: "nostics@npm:0.3.0"
dependencies:
magic-string: "npm:^0.30.21"
oxc-parser: "npm:^0.132.0"
unplugin: "npm:^3.0.0"
checksum: 10c0/f2986c58c0022432e825b3a14cc4cb56b19dfe064d7108851779deaf2fffbcc3ad258f626f2e90c63b71a951cfc66434d79846085df811a9763214dd4a1636f7
"nostics@npm:^1.1.4":
version: 1.1.4
resolution: "nostics@npm:1.1.4"
checksum: 10c0/297adc5af7fdd03b8a24f3a26fb6dfae7902d533815deeae72ea4a3e11e90225bd357c4a7e40726eef51026147b7d389424d5ac3ade56bc2731c4fc8b22a19ca
languageName: node
linkType: hard
@@ -10934,7 +10779,7 @@ __metadata:
languageName: node
linkType: hard
"oxc-parser@npm:0":
"oxc-parser@npm:0, oxc-parser@npm:^0.139.0":
version: 0.139.0
resolution: "oxc-parser@npm:0.139.0"
dependencies:
@@ -11074,76 +10919,6 @@ __metadata:
languageName: node
linkType: hard
"oxc-parser@npm:^0.137.0":
version: 0.137.0
resolution: "oxc-parser@npm:0.137.0"
dependencies:
"@oxc-parser/binding-android-arm-eabi": "npm:0.137.0"
"@oxc-parser/binding-android-arm64": "npm:0.137.0"
"@oxc-parser/binding-darwin-arm64": "npm:0.137.0"
"@oxc-parser/binding-darwin-x64": "npm:0.137.0"
"@oxc-parser/binding-freebsd-x64": "npm:0.137.0"
"@oxc-parser/binding-linux-arm-gnueabihf": "npm:0.137.0"
"@oxc-parser/binding-linux-arm-musleabihf": "npm:0.137.0"
"@oxc-parser/binding-linux-arm64-gnu": "npm:0.137.0"
"@oxc-parser/binding-linux-arm64-musl": "npm:0.137.0"
"@oxc-parser/binding-linux-ppc64-gnu": "npm:0.137.0"
"@oxc-parser/binding-linux-riscv64-gnu": "npm:0.137.0"
"@oxc-parser/binding-linux-riscv64-musl": "npm:0.137.0"
"@oxc-parser/binding-linux-s390x-gnu": "npm:0.137.0"
"@oxc-parser/binding-linux-x64-gnu": "npm:0.137.0"
"@oxc-parser/binding-linux-x64-musl": "npm:0.137.0"
"@oxc-parser/binding-openharmony-arm64": "npm:0.137.0"
"@oxc-parser/binding-wasm32-wasi": "npm:0.137.0"
"@oxc-parser/binding-win32-arm64-msvc": "npm:0.137.0"
"@oxc-parser/binding-win32-ia32-msvc": "npm:0.137.0"
"@oxc-parser/binding-win32-x64-msvc": "npm:0.137.0"
"@oxc-project/types": "npm:^0.137.0"
dependenciesMeta:
"@oxc-parser/binding-android-arm-eabi":
optional: true
"@oxc-parser/binding-android-arm64":
optional: true
"@oxc-parser/binding-darwin-arm64":
optional: true
"@oxc-parser/binding-darwin-x64":
optional: true
"@oxc-parser/binding-freebsd-x64":
optional: true
"@oxc-parser/binding-linux-arm-gnueabihf":
optional: true
"@oxc-parser/binding-linux-arm-musleabihf":
optional: true
"@oxc-parser/binding-linux-arm64-gnu":
optional: true
"@oxc-parser/binding-linux-arm64-musl":
optional: true
"@oxc-parser/binding-linux-ppc64-gnu":
optional: true
"@oxc-parser/binding-linux-riscv64-gnu":
optional: true
"@oxc-parser/binding-linux-riscv64-musl":
optional: true
"@oxc-parser/binding-linux-s390x-gnu":
optional: true
"@oxc-parser/binding-linux-x64-gnu":
optional: true
"@oxc-parser/binding-linux-x64-musl":
optional: true
"@oxc-parser/binding-openharmony-arm64":
optional: true
"@oxc-parser/binding-wasm32-wasi":
optional: true
"@oxc-parser/binding-win32-arm64-msvc":
optional: true
"@oxc-parser/binding-win32-ia32-msvc":
optional: true
"@oxc-parser/binding-win32-x64-msvc":
optional: true
checksum: 10c0/0e34289e73a50d3b65335c876a2d0af79db75c85c8dfb6cd4a777de7a9348e6e3450f7ed4dda5b2b532a458e67f79c7cc98a2ff8d3e45974401064932f8ac7ea
languageName: node
linkType: hard
"oxc-walker@npm:^1.0.0":
version: 1.0.0
resolution: "oxc-walker@npm:1.0.0"
@@ -12389,14 +12164,14 @@ __metadata:
linkType: hard
"react-easy-crop@npm:^6.0.0":
version: 6.1.0
resolution: "react-easy-crop@npm:6.1.0"
version: 6.2.2
resolution: "react-easy-crop@npm:6.2.2"
dependencies:
normalize-wheel: "npm:^1.0.1"
peerDependencies:
react: ">=16.4.0"
react-dom: ">=16.4.0"
checksum: 10c0/5cb9bc025dbf4570b1d2fbd1a9db0259540c54454e9f60fbb8c098de1175b9f7cd2798dc0a5085cc0b9ae3b537406616b25012c19f8f708ea896d7fbc7d71fe6
checksum: 10c0/57b51dd9cfb9e4ec7502dd145e380f942b2168d37253158ed5359cc7a59460ae85c48fa4b9d32a28a0d31a7aaf5a9957fc1168b71e59be10136af837efd896ac
languageName: node
linkType: hard
@@ -12873,27 +12648,27 @@ __metadata:
"resolve@patch:resolve@npm%3A^1.19.0#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.11#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.8#optional!builtin<compat/resolve>":
version: 1.22.11
resolution: "resolve@patch:resolve@npm%3A1.22.11#optional!builtin<compat/resolve>::version=1.22.11&hash=c3c19d"
resolution: "resolve@patch:resolve@npm%3A1.22.11#optional!builtin<compat/resolve>::version=1.22.11&hash=9bd1a5"
dependencies:
is-core-module: "npm:^2.16.1"
path-parse: "npm:^1.0.7"
supports-preserve-symlinks-flag: "npm:^1.0.0"
bin:
resolve: bin/resolve
checksum: 10c0/ee5b182f2e37cb1165465e58c6abc797fec0a80b5ba3231607beb4677db0c9291ac010c47cf092b6daa2b7f518d69a0e21888e7e2b633f68d501a874212a8c63
checksum: 10c0/55f7a298977b1aacf6dbec6dcfc81100ba98675bced193b57d3ac58ced65acc40c3a38927853cea86b7f75edb3c20e1f099a09d48b0d8ceccc25d466993eec47
languageName: node
linkType: hard
"resolve@patch:resolve@npm%3A^2.0.0-next.5#optional!builtin<compat/resolve>":
version: 2.0.0-next.5
resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#optional!builtin<compat/resolve>::version=2.0.0-next.5&hash=c3c19d"
resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#optional!builtin<compat/resolve>::version=2.0.0-next.5&hash=9bd1a5"
dependencies:
is-core-module: "npm:^2.13.0"
path-parse: "npm:^1.0.7"
supports-preserve-symlinks-flag: "npm:^1.0.0"
bin:
resolve: bin/resolve
checksum: 10c0/78ad6edb8309a2bfb720c2c1898f7907a37f858866ce11a5974643af1203a6a6e05b2fa9c53d8064a673a447b83d42569260c306d43628bff5bb101969708355
checksum: 10c0/9f2cb75a47ee17edca53b3a4e96883e82fe92dadc323a19868621b897da5136f7dd3189b7bac4d4e7715bb3b2fd5c1e8c5145ebccc7e0368b1546206f9644c12
languageName: node
linkType: hard
@@ -14603,18 +14378,18 @@ __metadata:
languageName: node
linkType: hard
"unhead@npm:3.1.7":
version: 3.1.7
resolution: "unhead@npm:3.1.7"
"unhead@npm:3.1.8":
version: 3.1.8
resolution: "unhead@npm:3.1.8"
dependencies:
hookable: "npm:^6.1.1"
unplugin: "npm:^3.2.0"
unplugin: "npm:^3.3.0"
peerDependencies:
vite: ">=6.4.2"
peerDependenciesMeta:
vite:
optional: true
checksum: 10c0/3d80ee9db134117ed6faca8e646fa2c791126e67a73d87ce7e872f14519d18b041f133a4d41bee957f4d8d067fb55bf7caf04edbc03c0cfced133080de463bc2
checksum: 10c0/bd4910e79a97d987575bebfd4d8a9f12c3d2d66a8d60315d1abba7561996ead4eb3a5e17c845ccead082df9fb1dd4a0ebcd4791282b035b4ef8be1d8f6bda1b0
languageName: node
linkType: hard
@@ -14681,7 +14456,7 @@ __metadata:
languageName: node
linkType: hard
"unplugin@npm:>=3.3.0, unplugin@npm:^3.0.0, unplugin@npm:^3.2.0":
"unplugin@npm:>=3.3.0, unplugin@npm:^3.0.0, unplugin@npm:^3.3.0":
version: 3.3.0
resolution: "unplugin@npm:3.3.0"
dependencies: