CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
CHANGES.md71 linesDownload Raw Back to asap
1 2## 2.0.63 4Version 2.0.4 adds support for React Native by clarifying in package.json that5the browser environment does not support Node.js domains.6Why this is necessary, we leave as an exercise for the user.7 8## 2.0.39 10Version 2.0.3 fixes a bug when adjusting the capacity of the task queue.11 12## 2.0.1-2.0213 14Version 2.0.1 fixes a bug in the way redirects were expressed that affected the15function of Browserify, but which Mr would tolerate.16 17## 2.0.018 19Version 2 of ASAP is a full rewrite with a few salient changes.20First, the ASAP source is CommonJS only and designed with [Browserify][] and21[Browserify-compatible][Mr] module loaders in mind.22 23[Browserify]: https://github.com/substack/node-browserify24[Mr]: https://github.com/montagejs/mr25 26The new version has been refactored in two dimensions.27Support for Node.js and browsers have been separated, using Browserify28redirects and ASAP has been divided into two modules.29The "raw" layer depends on the tasks to catch thrown exceptions and unravel30Node.js domains.31 32The full implementation of ASAP is loadable as `require("asap")` in both Node.js33and browsers.34 35The raw layer that lacks exception handling overhead is loadable as36`require("asap/raw")`.37The interface is the same for both layers.38 39Tasks are no longer required to be functions, but can rather be any object that40implements `task.call()`.41With this feature you can recycle task objects to avoid garbage collector churn42and avoid closures in general.43 44The implementation has been rigorously documented so that our successors can45understand the scope of the problem that this module solves and all of its46nuances, ensuring that the next generation of implementations know what details47are essential.48 49-   [asap.js](https://github.com/kriskowal/asap/blob/master/asap.js)50-   [raw.js](https://github.com/kriskowal/asap/blob/master/raw.js)51-   [browser-asap.js](https://github.com/kriskowal/asap/blob/master/browser-asap.js)52-   [browser-raw.js](https://github.com/kriskowal/asap/blob/master/browser-raw.js)53 54The new version has also been rigorously tested across a broad spectrum of55browsers, in both the window and worker context.56The following charts capture the browser test results for the most recent57release.58The first chart shows test results for ASAP running in the main window context.59The second chart shows test results for ASAP running in a web worker context.60Test results are inconclusive (grey) on browsers that do not support web61workers.62These data are captured automatically by [Continuous63Integration][].64 65![Browser Compatibility](http://kriskowal-asap.s3-website-us-west-2.amazonaws.com/train/integration-2/saucelabs-results-matrix.svg)66 67![Compatibility in Web Workers](http://kriskowal-asap.s3-website-us-west-2.amazonaws.com/train/integration-2/saucelabs-worker-results-matrix.svg)68 69[Continuous Integration]: https://github.com/kriskowal/asap/blob/master/CONTRIBUTING.md70 71 
basant307/AI_Governance_Project · CoolFace