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

How to migrate from v1.x to v2.x #67

Closed
DanielF93Dev opened this issue Feb 14, 2022 · 1 comment
Closed

How to migrate from v1.x to v2.x #67

DanielF93Dev opened this issue Feb 14, 2022 · 1 comment

Comments

@DanielF93Dev
Copy link

Hi!

I just updated the package but now Im getting the error "Entities is not a constructor".

In the version 1.x, the readMe said to declare the funcion like this:

const entities = new Entities();

But now in the newest version that constructor i not available, how can I upgrade the package? thanks!

@mdevils
Copy link
Owner

mdevils commented Feb 14, 2022

Hello @WebmasterClickPanda,

Please checkout CHANGELOG, the whole upgrade process is described there: https://github.com/mdevils/html-entities/blob/master/CHANGELOG.md#200

@mdevils mdevils closed this as completed Feb 14, 2022
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

No branches or pull requests

2 participants