Closed pykettk closed 7 months ago
Hey @pykettk
Thanks for raising this and providing a suggested solution! It's appreciated. Let me get this raised internally for review and if approved, we'll release a new update and let you know here once it's out.
@pykettk I've just released 22.9.2 which removes this dependency. Thanks for raising this, much appreciated.
Description
The
ShipperHQ_Calendar/js/model/config.js
module defines a dependency on theShipperHQ_Calendar/js/model/timeslot.js
module, which in turn defines a dependency on theShipperHQ_Calendar/js/model/config.js
module - which is obviously circular. While this does not cause an issue in and of itself, trying to create a mixin for these modules fails silently and simply causes the checkout to load infinitely.As the
ShipperHQ_Calendar/js/model/config.js
module is not actually used by theShipperHQ_Calendar/js/model/timeslot.js
module, the fix is relatively straightforward:The file paths for the modules in question are:
shipperhq/module-calendar/src/view/frontend/web/js/model/timeslot.js
shipperhq/module-calendar/src/view/frontend/web/js/model/config.js
Notes
I've opened this issue here because the
shipperhq/module-calendar
package is not open source.