-
Notifications
You must be signed in to change notification settings - Fork 124
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
Hidden dependency on assert
package
#672
Labels
Bug
Something isn't working
Comments
budnix
added a commit
that referenced
this issue
May 19, 2021
budnix
added a commit
that referenced
this issue
May 19, 2021
budnix
added a commit
that referenced
this issue
May 19, 2021
The commit removes redundant 'assert' dependency that is not present in the browser environment. Issue: #672
budnix
added a commit
that referenced
this issue
May 24, 2021
The commit removes redundant 'assert' dependency that is not present in the browser environment. Issue: #672
Done in #676 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Two files are importing
assert
package, which is not listed as our dependency. The build will fail in Webpack 5.hyperformula/src/DependencyGraph/DependencyGraph.ts
Line 6 in 7ff3ab7
hyperformula/src/interpreter/plugin/NumericAggregationPlugin.ts
Line 6 in 7ff3ab7
As the use of this dependency is limited to two lines:
hyperformula/src/DependencyGraph/DependencyGraph.ts
Lines 159 to 161 in 7ff3ab7
hyperformula/src/interpreter/plugin/NumericAggregationPlugin.ts
Lines 547 to 550 in 7ff3ab7
I suggest to replace it with simpler
if
checks and remove it completely from the code base.Your environment
Links
The text was updated successfully, but these errors were encountered: