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

timers-obj

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timers-obj - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

CHANGELOG.md
# Changelog
## v0.2.2 2018-10-22
* New typings for Node.
## v0.2.1 2018-09-04

@@ -4,0 +8,0 @@

6

lib/timers-obj.d.ts
/// <reference types="node" />
export declare type TimerCallback = (...args: any[]) => void;
export declare class Immediate {
protected timer?: NodeJS.Timer;
protected timer?: NodeJS.Immediate;
constructor(callback: TimerCallback, ...args: any[]);

@@ -9,3 +9,3 @@ remove(): void;

export declare class Interval {
protected timer?: NodeJS.Timer;
protected timer?: NodeJS.Timeout;
/**

@@ -18,3 +18,3 @@ * @param delay - ms

export declare class Timeout {
protected timer?: NodeJS.Timer;
protected timer?: NodeJS.Timeout;
/**

@@ -21,0 +21,0 @@ * @param delay - ms

{
"name": "timers-obj",
"version": "0.2.1",
"version": "0.2.2",
"description": "Timers as objects",

@@ -26,11 +26,12 @@ "main": "lib/timers-obj.js",

"devDependencies": {
"@types/chai": "^4.1.4",
"@types/chai": "^4.1.6",
"@types/mocha": "^5.2.5",
"@types/node": "^10.9.4",
"chai": "^4.1.2",
"eslint": "^5.5.0",
"@types/node": "^10.12.0",
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"eslint": "^5.7.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.11.1",

@@ -40,2 +41,3 @@ "eslint-plugin-standard": "^4.0.0",

"mocha": "^5.2.0",
"nyc": "^13.1.0",
"source-map-support": "^0.5.9",

@@ -46,3 +48,3 @@ "ts-node": "^7.0.1",

"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.0.3"
"typescript": "^3.1.3"
},

@@ -49,0 +51,0 @@ "scripts": {

@@ -22,4 +22,3 @@ # timers-obj

This module requires ES6 with Node >= 4. For Node < 6 `--harmony` flag is
required.
This module requires Node >= 4. For Node < 6 `--harmony` flag is required.

@@ -26,0 +25,0 @@ ## Installation

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

export class Immediate {
protected timer?: NodeJS.Timer
protected timer?: NodeJS.Immediate

@@ -22,3 +22,3 @@ constructor (callback: TimerCallback, ...args: any[]) {

export class Interval {
protected timer?: NodeJS.Timer
protected timer?: NodeJS.Timeout

@@ -41,3 +41,3 @@ /**

export class Timeout {
protected timer?: NodeJS.Timer
protected timer?: NodeJS.Timeout

@@ -44,0 +44,0 @@ /**

@@ -7,3 +7,3 @@ {

"lib": [
"es2015"
"es6"
],

@@ -16,3 +16,3 @@ "module": "commonjs",

"outDir": "./lib",
"target": "es2015",
"target": "es6",
"strict": true,

@@ -19,0 +19,0 @@ "typeRoots": [

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