Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@casual-simulation/aux-custom-portals
Advanced tools
A set of utilities that can be used to help custom portals interface with CasualOS.
A set of utilities that can be used to help custom portals interface with CasualOS.
npm install @casual-simulation/aux-custom-portals
V1.5.23
inventoryPortal
to miniPortal
.
#inventoryPortalHeight
-> #miniPortalHeight
#inventoryPortalResizable
-> #miniPortalResizable
os.getInventoryPortalDimension()
-> os.getMiniPortalDimension()
os.hasBotInInventory()
-> os.hasBotInMiniPortal()
os.getPortalDimension("inventory")
-> os.getPortalDimension("mini")
os.getCameraPosition("inventory")
-> os.getCameraPosition("mini")
os.getCameraRotation("inventory")
-> os.getCameraRotation("mini")
os.getFocusPoint("inventory")
-> os.getFocusPoint("mini")
miniPortalHeight
tag was changed from being a number between 1 and 10 that represented the number of bots that should fit in the portal. Now it is a number between 0 and 1 that represents the percentage of the screen height it should take. Note that when #miniPortalWidth
is less than 1 the height of the portal will be more like 80% of the screen height when set to 1. This is because of the mandatory spacing from the bottom of the screen to be somewhat consistent with the spacing on the sides.#miniPortalWidth
tag.
FAQs
A set of utilities that can be used to help custom portals interface with CasualOS.
The npm package @casual-simulation/aux-custom-portals receives a total of 18 weekly downloads. As such, @casual-simulation/aux-custom-portals popularity was classified as not popular.
We found that @casual-simulation/aux-custom-portals demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.