Skip to content

Conversation

andersk
Copy link

@andersk andersk commented Nov 7, 2024

Many of our dependencies (svgicons2svgfont, ttf2woff2, url-join, file-type, read-chunk) are now ESM-only, so we need to convert to ESM as well. This is a breaking change, but it’s the only option going forward.

It’s unclear why this project has both package-lock.json and yarn.lock, but I have updated both. Ideally we should pick one and delete the other; otherwise npm and yarn will fight with each other and repeatedly add useless yarn.lock churn to the Git history.

@andersk andersk mentioned this pull request Nov 7, 2024
@andersk andersk force-pushed the upgrade branch 5 times, most recently from 95195ff to 822309c Compare November 8, 2024 00:16
Many of our dependencies (svgicons2svgfont, ttf2woff2, url-join,
file-type, read-chunk) are now ESM-only, so we need to convert to ESM
as well.  This is a breaking change, but it’s the only option going
forward.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@thiagocoelho
Copy link

Hello there!

I'm using this awesome package webfonts-loader which depends on https://github.com/vusion
webfonts-generator

I've encountered an issue with svgicons2svgfont, where icons are rendered with incorrect dimensions.

I noticed that this PR seems to fix this problem. Could you please let me know if this fix will be officially released soon?

Thanks in advance :)

andersk and others added 6 commits February 12, 2025 14:45
It’s unclear why this project has both package-lock.json and
yarn.lock, but I have updated both.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
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.

3 participants