New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

active-detector

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

active-detector - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

package.json
{
"name": "active-detector",
"version": "1.0.1",
"version": "1.1.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "fi3ework",

@@ -14,8 +14,9 @@ # active-detector

## Usage
## Example
See demo [here](./example).
Run `yarn && yarn start` and watch the console log.
## Usage
### Quick Start

@@ -68,2 +69,10 @@

getRanges: () => ActiveRange[]; // {start: number, end: number}[]
```
### Clear Time Ranges
Clear time ranges immediately, it might be used in case you have reported number of ranges by time.
```typescript
clearRanges: () => void; // {start: number, end: number}[]
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc