From 54f42c6a4f4fe3f40e553bb3ed4ad70941a8e170 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 7 May 2024 05:17:09 +0200 Subject: [PATCH] remove unused JavaScript::Minifier::XS --- cpanfile | 1 - cpanfile.snapshot | 7 ------- lib/MetaCPAN/Middleware/Static.pm | 11 +++++------ 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/cpanfile b/cpanfile index 932269bc16d..e3d87b0cf39 100644 --- a/cpanfile +++ b/cpanfile @@ -41,7 +41,6 @@ requires 'HTTP::Request::Common'; requires 'IO::Async::Loop'; requires 'IO::Async::SSL'; requires 'IO::Socket::SSL'; -requires 'JavaScript::Minifier::XS'; requires 'JSON::MaybeXS' => '1.004000'; requires 'List::Util', '1.45'; requires 'Locale::Country','3.62'; diff --git a/cpanfile.snapshot b/cpanfile.snapshot index 99f2d37418d..c7df1f013d8 100644 --- a/cpanfile.snapshot +++ b/cpanfile.snapshot @@ -2370,13 +2370,6 @@ DISTRIBUTIONS ExtUtils::MakeMaker 6.52 Types::Serialiser 0 common::sense 0 - JavaScript-Minifier-XS-0.15 - pathname: G/GT/GTERMARS/JavaScript-Minifier-XS-0.15.tar.gz - provides: - JavaScript::Minifier::XS 0.15 - requirements: - ExtUtils::MakeMaker 0 - perl 5.008001 LWP-MediaTypes-6.04 pathname: O/OA/OALDERS/LWP-MediaTypes-6.04.tar.gz provides: diff --git a/lib/MetaCPAN/Middleware/Static.pm b/lib/MetaCPAN/Middleware/Static.pm index 6ced8028aa4..76e61a3fc98 100644 --- a/lib/MetaCPAN/Middleware/Static.pm +++ b/lib/MetaCPAN/Middleware/Static.pm @@ -1,12 +1,11 @@ package MetaCPAN::Middleware::Static; use strict; use warnings; -use Plack::Builder qw( builder enable mount ); -use Plack::App::File (); -use JavaScript::Minifier::XS (); -use Cwd qw( cwd ); -use Plack::MIME (); -use JSON::MaybeXS (); +use Plack::Builder qw( builder enable mount ); +use Plack::App::File (); +use Cwd qw( cwd ); +use Plack::MIME (); +use JSON::MaybeXS (); Plack::MIME->add_type( '.eot' => 'application/vnd.ms-fontobject',