Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace fast-levenshtein by fastest-levenshtein #1304

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented Aug 24, 2024

Package fast-levenshtein is a wrapper around fastest-levenshtein, but we do not need locale-sensitive string comparaison.

Package size report
===================

Package info for "@symfony/webpack-encore@4.6.1": 61 MB
  Released: 2024-01-25 17:18:00.95 +0000 UTC (30w1d ago)
  Downloads last week: 48,107 (32.02%)
  Estimated traffic last week: 2.9 TB
  Subdependencies: 634

Removed dependencies:
  - fast-levenshtein@3.0.0: 30 kB (0.04%)
    Downloads last week: 1,563,771 (N/A% from 3.0.0)
    Downloads last week from "@symfony/webpack-encore@4.6.1": 48,107 (N/A%)
    Traffic last week: N/A
    Traffic from "@symfony/webpack-encore@4.6.1": 2.9 TB (N/A%)
    Subdependencies: 1 (0.15%)

Added dependencies:
  + fastest-levenshtein@1.0.16: 22 kB (0.03%)
    Downloads last week: 9,630,903 (N/A% from 1.0.16)
    Estimated traffic last week: N/A
    Subdependencies: 0 (0%)

Estimated new statistics:
  Package size: 61 MB → 51 MB (83.09%)
  Subdependencies: 634 → 490 (-144)
  Traffic with last week's downloads:
    For current version: 2.9 TB → 2.4 TB (497 GB saved)
    For all versions: 9.2 TB → 7.6 TB (1.6 TB saved)

@Kocal Kocal added this to the 4.17 milestone Aug 24, 2024
@Kocal Kocal merged commit cc268db into symfony:main Aug 24, 2024
34 checks passed
@Kocal Kocal deleted the feat/replace-fast-levenshtein branch August 24, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant