@php-wasm/progress
Advanced tools
Comparing version 0.9.28 to 0.9.29
@@ -53,12 +53,14 @@ /** | ||
/** | ||
* The ProgressTracker class is a tool for tracking progress in an operation that is | ||
* divided into multiple stages. It allows you to create sub-trackers for each stage, | ||
* with individual weights and captions. The main tracker automatically calculates the | ||
* progress based on the weighted sum of each sub-tracker's progress. This makes it easy | ||
* to keep track of a complex, multi-stage process and report progress in a user-friendly way. | ||
* The ProgressTracker class is a tool for tracking progress in an operation | ||
* that is divided into multiple stages. It allows you to create sub-trackers | ||
* for each stage, with individual weights and captions. The main tracker | ||
* automatically calculates the progress based on the weighted sum of each | ||
* sub-tracker's progress. This makes it easy to keep track of a complex, | ||
* multi-stage process and report progress in a user-friendly way. | ||
* | ||
* After creating the sub-trackers, you can call the set() method to update the progress | ||
* of the current stage. You can also call the finish() method to mark the current stage | ||
* as complete and move on to the next one. Alternatively, you can call the fillSlowly() | ||
* method to simulate progress filling up slowly to 100% before calling finish(). | ||
* After creating the sub-trackers, you can call the set() method to update the | ||
* progress of the current stage. You can also call the finish() method to mark | ||
* the current stage as complete and move on to the next one. Alternatively, | ||
* you can call the fillSlowly() method to simulate progress filling up slowly | ||
* to 100% before calling finish(). | ||
* | ||
@@ -65,0 +67,0 @@ * @example |
{ | ||
"name": "@php-wasm/progress", | ||
"version": "0.9.28", | ||
"version": "0.9.29", | ||
"description": "PHP.wasm – loading progress monitoring", | ||
@@ -32,3 +32,3 @@ "repository": { | ||
"types": "index.d.ts", | ||
"gitHead": "15d87898b0a7f8a0cf322425923336df1d84843b", | ||
"gitHead": "79ef61d98407b1a90f622f6bef8f91001c568d00", | ||
"engines": { | ||
@@ -39,5 +39,5 @@ "node": ">=18.18.0", | ||
"dependencies": { | ||
"@php-wasm/node-polyfills": "0.9.28", | ||
"@php-wasm/logger": "0.9.28" | ||
"@php-wasm/node-polyfills": "0.9.29", | ||
"@php-wasm/logger": "0.9.29" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24936
585
+ Added@php-wasm/logger@0.9.29(transitive)
+ Added@php-wasm/node-polyfills@0.9.29(transitive)
- Removed@php-wasm/logger@0.9.28(transitive)
- Removed@php-wasm/node-polyfills@0.9.28(transitive)
Updated@php-wasm/logger@0.9.29