Skip to content

feat: allow variable in requireApiVersion - #169

Open
superle3 wants to merge 1 commit into
obsidianmd:masterfrom
superle3:feat/allow_variable_requireApiVersion
Open

feat: allow variable in requireApiVersion#169
superle3 wants to merge 1 commit into
obsidianmd:masterfrom
superle3:feat/allow_variable_requireApiVersion

Conversation

@superle3

Copy link
Copy Markdown

allow the use of a constant string variable for requireApiVersion if that variables value is known. this does allow one to cast the variable to the right version but as the function is checked by name, that should fall under obfuscation.

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@superle3

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Jun 18, 2026
@superle3
superle3 force-pushed the feat/allow_variable_requireApiVersion branch 2 times, most recently from 4099afc to a403558 Compare June 18, 2026 17:37
allow the use of a constant string variable for requireApiVersion if that variables value is known.
this does allow one to cast the variable to the right version but as the function is checked by name, that should fall under obfuscation.
@superle3
superle3 force-pushed the feat/allow_variable_requireApiVersion branch from a403558 to 8e424e5 Compare June 18, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant