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

[FIX] JSModuleAnalyzer: Properly handle jQuery.sap.registerPreloadedModules calls #546

Merged
merged 1 commit into from
Nov 20, 2020

Conversation

matz3
Copy link
Member

@matz3 matz3 commented Nov 19, 2020

@matz3 matz3 force-pushed the fix-JSModuleAnalyzer-legacy-apis branch from 2d442fe to 19d7e6a Compare November 19, 2020 13:33
@matz3 matz3 requested a review from codeworrior November 19, 2020 13:33
@coveralls
Copy link

coveralls commented Nov 19, 2020

Coverage Status

Coverage increased (+0.05%) to 92.955% when pulling 19d7e6a on fix-JSModuleAnalyzer-legacy-apis into bc4a197 on master.

@RandomByte
Copy link
Member

I like this +1

Copy link
Member

@codeworrior codeworrior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also fine with the fix, but I have the impression that there's a more fundamental problem behind. In old (pre-evo) sources, jQuery.sap.global should be treated as a raw module and should not be analysed at all (as it is the loader and contains the API implementations).

Anyhow, improving the robustness of the analyser code is in general a good idea..

@matz3 matz3 added the bug Something isn't working label Nov 20, 2020
@matz3 matz3 merged commit 9433f6a into master Nov 20, 2020
@matz3 matz3 deleted the fix-JSModuleAnalyzer-legacy-apis branch November 20, 2020 13:10
kristian added a commit to kristian/ui5-builder that referenced this pull request Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build Failing on sap.ui.core version 1.52.8
4 participants