Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@focus-me/focus-cli

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@focus-me/focus-cli - npm Package Compare versions

Comparing version 1.2.2 to 1.3.0

4

dist/timer.d.ts

@@ -6,4 +6,4 @@ /// <reference types="node" />

export declare interface Timer {
on(event: 'starting', listener: () => void): this;
on(event: 'started', listener: () => void): this;
on(event: 'starting', listener: (until: number) => void): this;
on(event: 'started', listener: (until: number) => void): this;
on(event: 'tick', listener: (until: number) => void): this;

@@ -10,0 +10,0 @@ on(event: 'stopping', listener: () => void): this;

@@ -21,3 +21,3 @@ "use strict";

async start() {
this.emit('starting');
this.emit('starting', this.until);
const promises = this.plugins.map(({ name, plugin, config }) => plugin.start(config).catch(e => {

@@ -30,3 +30,3 @@ console.error(`error starting ${name} plugin: ${e}`);

catch (e) { }
this.emit('started');
this.emit('started', this.until);
this.state = 'STARTED';

@@ -33,0 +33,0 @@ this.intervalId = timers_1.setInterval(async () => {

{
"name": "@focus-me/focus-cli",
"version": "1.2.2",
"version": "1.3.0",
"author": "Ryan Kois <ryan.kois@gmail.com>",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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