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

Remove core-js and polyfill include as we don't use Phantom anymore #4583

Merged
merged 2 commits into from
Feb 23, 2020

Conversation

arikfr
Copy link
Member

@arikfr arikfr commented Jan 23, 2020

What type of PR is this? (check all applicable)

  • Other

Description

We switched to Puppeteer a long ago, so this is no longer relevant.

@arikfr arikfr requested a review from kravets-levko January 23, 2020 06:28
@@ -47,7 +47,6 @@
"brace": "^0.11.0",
"chroma-js": "^1.3.6",
"classnames": "^2.2.6",
"core-js": "^2.6.4",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kravets-levko I was expecting it to update package-lock.json but it didn't. Do you know why?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably because some other dependency still use it. You can try to search for core-js in package-lock.json to check this. I guess Babel may need CoreJS, maybe some other libs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I thought too, but then I expected it to pick up a newer versions. Oh, well 🤷‍♂️

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To get a newer version you have to run npm install again; npm uninstall just removes packages and does not update others.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually just edited package.json 🤠 But I did run npm install afterwards.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked package-lock.json - Babel and React have core-js among their dependencies (React has it through fbjs dependency)

@arikfr arikfr added this to the v9 milestone Feb 23, 2020
@arikfr arikfr merged commit dd8e230 into master Feb 23, 2020
@arikfr arikfr deleted the remove-core-js branch February 23, 2020 09:15
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.

2 participants