Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@odopod/odo-device
Advanced tools
Device-specific settings and helpers.
npm install @odopod/odo-device --save
import
or require
the package, then use its properties and methods.
import OdoDevice from '@odopod/odo-device';
console.log('Has touch events:', OdoDevice.HAS_TOUCH_EVENTS);
console.log('Touch action:', OdoDevice.prefixed('touchAction', 'pan-y'));
console.log('Has local storage:', OdoDevice.HAS_LOCAL_STORAGE);
Visit the Odo component directory for demos, code examples, and documentation.
Device [1.3.0] - 2018-6-7
passive
property in event listener options. Use OdoDevice.HAS_PASSIVE_LISTENERS
to check if you can use the third argument of addEventListener
as an object. Needed for newer versions of iOS and Chrome which make touchstart
and touchmove
events on the document passive by default.FAQs
Device-specific settings for JS and CSS
We found that @odopod/odo-device demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.