Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
- Cleaned up things
- Added missing serialOrdered tests
  • Loading branch information
alexindigo committed Jun 14, 2016
1 parent 14ee2f1 commit 2f21948
Show file tree
Hide file tree
Showing 4 changed files with 465 additions and 8 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ It ensures async operations to keep behavior more stable and prevent `Maximum ca

| compression | size |
| :----------------- | -------: |
| asynckit.js | 11.63 kB |
| asynckit.min.js | 3.94 kB |
| asynckit.min.js.gz | 1.42 kB |
| asynckit.js | 12.34 kB |
| asynckit.min.js | 4.11 kB |
| asynckit.min.js.gz | 1.47 kB |


## Install
Expand Down Expand Up @@ -214,8 +214,14 @@ Whenever order of the jobs' execution is important please use `serialOrdered` me

### Ordered Serial Iterations

TBD

For example [compare-property](compare-property) package.

### Streaming interface

TBD

## Want to Know More?

More examples can be found in [test folder](test/).
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "asynckit",
"version": "0.3.0",
"version": "0.4.0",
"description": "Minimal async jobs utility library",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -41,10 +41,10 @@
},
"homepage": "https://github.com/alexindigo/asynckit#readme",
"devDependencies": {
"browserify": "^13.0.0",
"browserify": "^13.0.1",
"browserify-istanbul": "^2.0.0",
"coveralls": "^2.11.9",
"eslint": "^2.9.0",
"eslint": "^2.12.0",
"istanbul": "^0.4.3",
"obake": "^0.1.2",
"phantomjs-prebuilt": "^2.1.7",
Expand Down
4 changes: 2 additions & 2 deletions test/test-stream-serialOrdered-array.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-sparse-arrays: "off" */
var test = require('tape').test
var test = require('tape').test
, streamAssert = require('./lib/stream_assert.js')
, asynckitStream = require('../stream.js')
;
Expand Down Expand Up @@ -150,7 +150,7 @@ test('stream: serialOrdered: iterates over array custom sorted', function(t)
{
var prevChar = String.fromCharCode(64 + prev);
// stream chunks posted in order
t.equal(prevChar, item, '+ expect item (' + item + ') to equal updated prev char (' + prevChar + ') on each iteration – descending sorting');
t.equal(prevChar, item, '+ expect item (' + item + ') to equal updated prev char (' + prevChar + ') on each iteration – custom sorting');
}});
});

Expand Down
Loading

0 comments on commit 2f21948

Please sign in to comment.