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

dependency upgrade #188

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

dkress59
Copy link

@dkress59 dkress59 commented Jun 1, 2022

Hi there,

I've been trying to fix an issue we've been having with the plugin at work (#187). I did not succeed in fixing the issue, but maybe you'd like to merge the upgraded dependencies? I'm only opening the PR so that maybe not all of my work on this plugin has been for nothing.

I replaced node-sass with dart-sass, because node-sass was causing an error during installation on my machine – in my experience dart-sass (npm:sass) is way more reliable, anyway, especially in combination with webpack/sass-loader.
Also I replaced the deprecated @babel/polyfills package with core-js as recommended in the babel documentation, while sticking to your defined browser target. Also the "^" were removed from the package.json so that one does not have to look into the package-lock.json in order to find out the exact installed versions – I can, of course, change that back for you, if you don't like it.

@dkress59
Copy link
Author

dkress59 commented Jun 7, 2022

In another run, today, I replaced the use of jQuery.

I also tried replacing the version of imgareaselect with the one from WP v.5.5.9, but that didn't help my issue, either.

@Brickphilla
Copy link

Looks like this is also would solve my problem. Any update on this?

@roborourke
Copy link
Contributor

It should be using whatever version of imgareaselect is bundled with WP, I thought it had the appropriate compat but perhaps not.

I think at this point it'd be ideal to look at removing the jQuery dependency altogether.

@dkress59
Copy link
Author

@roborourke jQuery already has been removed in this PR 😃

@roborourke
Copy link
Contributor

🤦 sorry, code blind today clearly!

@dkress59
Copy link
Author

😄 happens to the best!

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