asyncbuilder 1.0.6 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +2 -2
- package/README.md +3 -4
- package/asyncbuilder.js +2 -2
- package/package.json +5 -6
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(The MIT License)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2015-
|
|
3
|
+
Copyright (c) 2015-2021 Jürgen Leschner -- github.com/jldec
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
|
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
|
19
19
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
20
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
21
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
[](https://dev.azure.com/jldec/asyncbuilder/_build/latest?definitionId=1&branchName=master)
|
|
3
|
-
[](https://travis-ci.org/jldec/asyncbuilder)
|
|
1
|
+
[](https://github.com/jldec/asyncbuilder/actions)
|
|
4
2
|
|
|
3
|
+
# asyncbuilder
|
|
5
4
|
- builds an array containing a mix of immediate and async results
|
|
6
5
|
- follows node convention of using callbacks with signature `cb(err, results)`
|
|
7
6
|
- useful for building a sequential list in the order that async operations
|
|
@@ -53,4 +52,4 @@ will trigger `mainCallBack()` on nextTick.
|
|
|
53
52
|
|
|
54
53
|
### license
|
|
55
54
|
|
|
56
|
-
(c) 2015-
|
|
55
|
+
(c) 2015-2021 Jürgen Leschner, [MIT](https://opensource.org/licenses/MIT) license
|
package/asyncbuilder.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* asyncbuilder
|
|
3
3
|
* simple semi-asynchronous list builder
|
|
4
|
-
*
|
|
4
|
+
* Copyright (c) 2015-2021 Jürgen Leschner - github.com/jldec - MIT license
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
module.exports = asyncbuilder;
|
|
@@ -66,4 +66,4 @@ function asyncbuilder(mainCallBack) {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
}
|
|
69
|
+
}
|
package/package.json
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "asyncbuilder",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "simple semi-asynchronous array builder",
|
|
5
5
|
"main": "asyncbuilder.js",
|
|
6
6
|
"dependencies": {},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"eslint": "^6.0
|
|
8
|
+
"eslint": "^8.6.0",
|
|
9
9
|
"lodash.partial": "^4.2.1",
|
|
10
|
-
"tape": "^4.
|
|
10
|
+
"tape": "^5.4.0"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
13
|
"asyncbuilder.js"
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
|
-
"test": "tape test/*.js"
|
|
17
|
-
"lint": "eslint ."
|
|
16
|
+
"test": "eslint . && tape test/*.js"
|
|
18
17
|
},
|
|
19
18
|
"repository": {
|
|
20
19
|
"type": "git",
|
|
21
20
|
"url": "git://github.com/jldec/asyncbuilder.git"
|
|
22
21
|
},
|
|
23
|
-
"author": "
|
|
22
|
+
"author": "Jürgen Leschner",
|
|
24
23
|
"license": "MIT"
|
|
25
24
|
}
|