-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Shim being loaded as a script is an issue #67
Comments
The problem is that this file is loaded as While the shim will check for In addition, if more than one module does this, it is unknown which module will run later and thus which shim will "win out". As such, you cannot predict which implementation the shim has. It is possible another module would run after yours with an older version of the shim that does not support something you rely on, or that is missing bugfixes, breaking your module. These reasons are why the libWrapper documentation states in bold:
It is also why the default shim exports I would ask that you change this whenever possible so that this file is |
Thanks for letting me know, looking at the discord there seems to have been a bit of confusion around this issue in this regard. Well, I didn't want to update this package to use the new (soon to be released) sheet registrar lib until I actually had a bug or feature to release with it... I guess I have a bug fix on my hands now ;) I'll fix this as soon as I can, hopefully (but not quite guaranteed) sometime tonight (CEST). |
This should fix problems with the libWrapper library Fixes #67
## [2.3.5](2.3.4...2.3.5) (2021-08-02) ### Bug Fixes * exchange shim with dependency to _document-sheet-registrar ([b99db12](b99db12)), closes [#67](#67)
🎉 This issue has been resolved in version 2.3.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
I'm seeing
Not allowed to re-assign the global instance of libWrapper
while both this module and LibWrapper is installed. I confirmed with ruipin and this is because the libwrapper shim is expected to be used as an imported esmodule.I'm guessing this is from the JE shim, which will be obsolete soon anyway?
The text was updated successfully, but these errors were encountered: