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

task-handler

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

task-handler - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

{
"name": "task-handler",
"version": "2.0.1",
"version": "2.1.0",
"description": "Handle Javascript Timers in a manageable way",
"main": "lib/index.js",
"main": "dist/index.js",
"author": "Braden R. Napier",

@@ -28,7 +28,9 @@ "license": "MIT",

"scripts": {
"build": "cross-env NODE_ENV=production rimraf dist && npm-run-all -p build:**",
"build:pubchan:babel": "cross-env NODE_ENV=production babel src --out-dir dist",
"build:pubchan:flow": "flow-copy-source src dist",
"coverage": "npm-run-all coverage:*",
"coverage:tests": "cross-env NODE_ENV=test nyc yarn test && nyc report --reporter=html --reporter=text-lcov | coveralls",
"coverage:flow": "flow-coverage-report",
"flow": "flow",
"build": "cross-env NODE_ENV=production rimraf lib registry && npm-run-all -p build:**",
"build:pubchan:babel": "cross-env NODE_ENV=production babel src --out-dir lib",
"build:pubchan:flow": "flow-copy-source src lib",
"coverage": "cross-env NODE_ENV=test nyc yarn test && nyc report --reporter=html --reporter=text-lcov | coveralls",
"prepublishOnly": "npm-run-all build",

@@ -52,4 +54,18 @@ "test": "cross-env NODE_ENV=test nyc mocha --require @babel/register --recursive ./tests/tests/*.js",

"sourceMap": false,
"instrument": false
"instrument": false,
"report-dir": "dev/coverage/tests"
},
"flow-coverage-report": {
"globIncludePatterns": [
"src/**/*.js",
"src/**/*.jsx"
],
"reportTypes": [
"text",
"html"
],
"outputDir": "dev/coverage/flow",
"flowCommandPath": "node_modules/.bin/flow"
},
"dependencies": {},
"devDependencies": {

@@ -76,2 +92,3 @@ "@babel/cli": "^7.1.5",

"flow-copy-source": "^2.0.2",
"flow-coverage-report": "^0.6.0",
"mocha": "^5.2.0",

@@ -78,0 +95,0 @@ "npm-run-all": "^4.1.5",

@@ -7,4 +7,5 @@ # task-handler

[![Coverage Status](https://coveralls.io/repos/github/odo-network/task-handler/badge.svg?branch=master&service=github)](https://coveralls.io/github/odo-network/task-handler?branch=master)
[![Flow Coverage](./dev/coverage/flow/flow-coverage-badge.svg)](https://odo-network.github.io/task-handler/dev/coverage/flow/index.html)
[![license](https://img.shields.io/github/license/odo-network/task-handler.svg)](https://github.com/odo-network/task-handler)
[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/react.svg)](https://github.com/odo-network/task-handler)
[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/task-handler.svg)](https://github.com/odo-network/task-handler)

@@ -78,5 +79,3 @@ A simple, dependency-free task scheduling manager that makes it easy to handle tasks like a boss.

},
1,
2,
3
[1, 2, 3]
);

@@ -83,0 +82,0 @@