We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.
You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public _deactivate() { if (process.env.NODE_ENV === 'development') { deactivateKeepAwake(); } } }
Provides a React component that prevents the screen sleeping when rendered. It also exposes static methods to control the behavior imperatively.