are-we-there-yet
Advanced tools
Comparing version 1.1.5 to 1.1.6
{ | ||
"name": "are-we-there-yet", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Keep track of the overall completion of many disparate processes", | ||
"main": "index.js", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "standard && tap test/*.js" | ||
"test": "tap", | ||
"npmclilint": "npmcli-lint", | ||
"lint": "eslint '**/*.js'", | ||
"lintfix": "npm run lint -- --fix", | ||
"posttest": "npm run lint", | ||
"postsnap": "npm run lintfix --", | ||
"preversion": "npm test", | ||
"postversion": "npm publish", | ||
"prepublishOnly": "git push origin --follow-tags", | ||
"snap": "tap" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/iarna/are-we-there-yet.git" | ||
"url": "https://github.com/npm/are-we-there-yet.git" | ||
}, | ||
"author": "Rebecca Turner (http://re-becca.org)", | ||
"author": "GitHub Inc.", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/iarna/are-we-there-yet/issues" | ||
"url": "https://github.com/npm/are-we-there-yet/issues" | ||
}, | ||
"homepage": "https://github.com/iarna/are-we-there-yet", | ||
"homepage": "https://github.com/npm/are-we-there-yet", | ||
"devDependencies": { | ||
"standard": "^11.0.1", | ||
"tap": "^12.0.1" | ||
"@npmcli/eslint-config": "^1.0.0", | ||
"@npmcli/template-oss": "^1.0.2", | ||
"eslint": "^7.32.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"tap": "^15.0.9" | ||
}, | ||
"dependencies": { | ||
"delegates": "^1.0.0", | ||
"readable-stream": "^2.0.6" | ||
"readable-stream": "^3.6.0" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"tracker-base.js", | ||
"tracker-group.js", | ||
"tracker-stream.js", | ||
"tracker.js", | ||
"CHANGES.md" | ||
] | ||
"bin", | ||
"lib" | ||
], | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"tap": { | ||
"branches": 68, | ||
"statements": 92, | ||
"functions": 86, | ||
"lines": 92 | ||
}, | ||
"templateVersion": "1.0.2" | ||
} |
are-we-there-yet | ||
---------------- | ||
Track complex hiearchies of asynchronous task completion statuses. This is | ||
Track complex hierarchies of asynchronous task completion statuses. This is | ||
intended to give you a way of recording and reporting the progress of the big | ||
@@ -11,3 +11,3 @@ recursive fan-out and gather type workflows that are so common in async. | ||
Most progress bar modules include a rudamentary version of this, but my | ||
Most progress bar modules include a rudimentary version of this, but my | ||
needs were more complex. | ||
@@ -89,4 +89,17 @@ | ||
Creates a new empty tracker aggregation group. These are trackers whose | ||
completion status is determined by the completion status of other trackers. | ||
completion status is determined by the completion status of other trackers added to this aggregation group. | ||
Ex. | ||
```javascript | ||
var tracker = new TrackerGroup("parent") | ||
var foo = tracker.newItem("firstChild", 100) | ||
var bar = tracker.newItem("secondChild", 100) | ||
foo.finish() | ||
console.log(tracker.completed()) // 0.5 | ||
bar.finish() | ||
console.log(tracker.completed()) // 1 | ||
``` | ||
* tracker.addUnit(**otherTracker**, **weight**) | ||
@@ -93,0 +106,0 @@ |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
178
209
14102
5
8
1
2
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedisarray@1.0.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
Updatedreadable-stream@^3.6.0