Could composer.json be updated to require JS Cookie 1 or 2? Thanks.

Comments

dmudie created an issue. See original summary.

bolaghi’s picture

Priority: Normal » Major

composer require 'drupal/autologout:^2.0'

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/autologout ^2.0 -> satisfiable by drupal/autologout[2.0.0, 2.0.1].
- drupal/autologout[2.0.0, ..., 2.0.1] require drupal/js_cookie ^1.0 -> found drupal/js_cookie[1.0.0, 1.0.1, 1.0.2] but it conflicts with your root composer.json require (^2.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

the_g_bomb’s picture

A better approach may be to test and implement the removal of js_cookie in: #3557620: Remove JS Cookie dependency. If you had time, could you test that and report back there, please?

the_g_bomb’s picture

Status: Active » Closed (won't fix)

Removing js_cookie should resolve this in the 2.x branch. It will be backported to 8.x-1.x and then released.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.