Skip to content

Commit a738868

Browse files
committed
first commit
0 parents  commit a738868

File tree

8 files changed

+183
-0
lines changed

8 files changed

+183
-0
lines changed

.editorconfig

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 4

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
node_modules

.jscsrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"validateIndentation": 4
3+
}

.jshintrc

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
// Enforcing options
3+
"eqeqeq": false,
4+
"forin": true,
5+
"indent": 4,
6+
"noarg": true,
7+
"undef": true,
8+
"unused": true,
9+
"trailing": true,
10+
"evil": true,
11+
"laxcomma": true,
12+
13+
// Relaxing options
14+
"onevar": false,
15+
"asi": false,
16+
"eqnull": true,
17+
"expr": false,
18+
"loopfunc": true,
19+
"sub": true,
20+
"browser": true,
21+
"node": true,
22+
"globals": {
23+
"self": true,
24+
"define": true,
25+
"describe": true,
26+
"context": true,
27+
"it": true
28+
}
29+
}

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# async.util.concat
2+
3+
![Last version](https://img.shields.io/github/tag/async-js/concat.svg?style=flat-square)
4+
[![Build Status](http://img.shields.io/travis/async-js/concat/master.svg?style=flat-square)](https://travis-ci.org/async-js/concat)
5+
[![Dependency status](http://img.shields.io/david/async-js/concat.svg?style=flat-square)](https://david-dm.org/async-js/concat)
6+
[![Dev Dependencies Status](http://img.shields.io/david/dev/async-js/concat.svg?style=flat-square)](https://david-dm.org/async-js/concat#info=devDependencies)
7+
[![NPM Status](http://img.shields.io/npm/dm/concat.svg?style=flat-square)](https://www.npmjs.org/package/concat)
8+
[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square)](https://paypal.me/kikobeats)
9+
10+
> async concat helper method as module.
11+
12+
This module is used internally by [async](https://github.com/async-js/async).
13+
14+
## License
15+
16+
MIT © [async-js](https://github.com/async-js)

index.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
'use strict';
2+
3+
module.exports = function concat(eachfn, arr, fn, callback) {
4+
var result = [];
5+
eachfn(arr, function(x, index, cb) {
6+
fn(x, function(err, y) {
7+
result = result.concat(y || []);
8+
cb(err);
9+
});
10+
}, function(err) {
11+
callback(err, result);
12+
});
13+
};

npm-debug.log

+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
0 info it worked if it ends with ok
2+
1 verbose cli [ '/usr/local/bin/iojs', '/usr/local/bin/npm', 'publish' ]
3+
2 info using npm@2.14.7
4+
3 info using node@v4.2.2
5+
4 verbose publish [ '.' ]
6+
5 silly cache add args [ '.', null ]
7+
6 verbose cache add spec .
8+
7 silly cache add parsed spec Result {
9+
7 silly cache add raw: '.',
10+
7 silly cache add scope: null,
11+
7 silly cache add name: null,
12+
7 silly cache add rawSpec: '.',
13+
7 silly cache add spec: '/Users/josefranciscoverdugambin/Projects/async.util/util/concat',
14+
7 silly cache add type: 'directory' }
15+
8 verbose addLocalDirectory /Users/josefranciscoverdugambin/.npm/async.util.concat/0.3.0/package.tgz not in flight; packing
16+
9 verbose tar pack [ '/Users/josefranciscoverdugambin/.npm/async.util.concat/0.3.0/package.tgz',
17+
9 verbose tar pack '/Users/josefranciscoverdugambin/Projects/async.util/util/concat' ]
18+
10 verbose tarball /Users/josefranciscoverdugambin/.npm/async.util.concat/0.3.0/package.tgz
19+
11 verbose folder /Users/josefranciscoverdugambin/Projects/async.util/util/concat
20+
12 info prepublish async.util.concat@0.3.0
21+
13 verbose addLocalTarball adding from inside cache /Users/josefranciscoverdugambin/.npm/async.util.concat/0.3.0/package.tgz
22+
14 silly cache afterAdd async.util.concat@0.3.0
23+
15 verbose afterAdd /Users/josefranciscoverdugambin/.npm/async.util.concat/0.3.0/package/package.json not in flight; writing
24+
16 verbose afterAdd /Users/josefranciscoverdugambin/.npm/async.util.concat/0.3.0/package/package.json written
25+
17 silly publish { name: 'async.util.concat',
26+
17 silly publish description: 'async concathelper method as module.',
27+
17 silly publish main: './index.js',
28+
17 silly publish repository: { type: 'git', url: 'https://github.com/async-js/async.util' },
29+
17 silly publish author:
30+
17 silly publish { name: 'Kiko Beats',
31+
17 silly publish email: 'josefrancisco.verdu@gmail.com',
32+
17 silly publish url: 'https://github.com/Kikobeats' },
33+
17 silly publish version: '0.3.0',
34+
17 silly publish license: 'MIT',
35+
17 silly publish keywords: [ 'async.util', 'concat' ],
36+
17 silly publish readme: '# async.util.concat\n\n![Last version](https://img.shields.io/github/tag/async-js/concat.svg?style=flat-square)\n[![Build Status](http://img.shields.io/travis/async-js/concat/master.svg?style=flat-square)](https://travis-ci.org/async-js/concat)\n[![Dependency status](http://img.shields.io/david/async-js/concat.svg?style=flat-square)](https://david-dm.org/async-js/concat)\n[![Dev Dependencies Status](http://img.shields.io/david/dev/async-js/concat.svg?style=flat-square)](https://david-dm.org/async-js/concat#info=devDependencies)\n[![NPM Status](http://img.shields.io/npm/dm/concat.svg?style=flat-square)](https://www.npmjs.org/package/concat)\n[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square)](https://paypal.me/kikobeats)\n\n> async concat helper method as module.\n\nThis module is used internally by [async](https://github.com/async-js/async).\n\n## License\n\nMIT © [async-js](https://github.com/async-js)\n',
37+
17 silly publish readmeFilename: 'README.md',
38+
17 silly publish bugs: { url: 'https://github.com/async-js/async.util/issues' },
39+
17 silly publish homepage: 'https://github.com/async-js/async.util',
40+
17 silly publish _id: 'async.util.concat@0.3.0',
41+
17 silly publish scripts: {},
42+
17 silly publish _shasum: '4e250b09e7145328b3740f2487807351d4bc9347',
43+
17 silly publish _from: '.' }
44+
18 verbose getPublishConfig undefined
45+
19 silly mapToRegistry name async.util.concat
46+
20 silly mapToRegistry using default registry
47+
21 silly mapToRegistry registry https://registry.npmjs.org/
48+
22 silly mapToRegistry uri https://registry.npmjs.org/async.util.concat
49+
23 verbose publish registryBase https://registry.npmjs.org/
50+
24 silly publish uploading /Users/josefranciscoverdugambin/.npm/async.util.concat/0.3.0/package.tgz
51+
25 verbose request uri https://registry.npmjs.org/async.util.concat
52+
26 verbose request sending authorization for write operation
53+
27 info attempt registry request try #1 at 8:05:00 PM
54+
28 verbose request using bearer token for auth
55+
29 verbose request id ae791aa74d48fc51
56+
30 http request PUT https://registry.npmjs.org/async.util.concat
57+
31 http 403 https://registry.npmjs.org/async.util.concat
58+
32 verbose headers { 'content-type': 'application/json',
59+
32 verbose headers 'cache-control': 'max-age=300',
60+
32 verbose headers 'content-length': '95',
61+
32 verbose headers 'accept-ranges': 'bytes',
62+
32 verbose headers date: 'Sat, 19 Dec 2015 19:05:01 GMT',
63+
32 verbose headers via: '1.1 varnish',
64+
32 verbose headers connection: 'keep-alive',
65+
32 verbose headers 'x-served-by': 'cache-lhr6328-LHR',
66+
32 verbose headers 'x-cache': 'MISS',
67+
32 verbose headers 'x-cache-hits': '0',
68+
32 verbose headers 'x-timer': 'S1450551900.897035,VS0,VE960' }
69+
33 verbose request invalidating /Users/josefranciscoverdugambin/.npm/registry.npmjs.org/async.util.concat on PUT
70+
34 error publish Failed PUT 403
71+
35 verbose stack Error: "You cannot publish over the previously published version 0.3.0." : async.util.concat
72+
35 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12)
73+
35 verbose stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14)
74+
35 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
75+
35 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:198:22)
76+
35 verbose stack at emitTwo (events.js:87:13)
77+
35 verbose stack at Request.emit (events.js:172:7)
78+
35 verbose stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1063:14)
79+
35 verbose stack at emitOne (events.js:82:20)
80+
35 verbose stack at Request.emit (events.js:169:7)
81+
35 verbose stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1009:12)
82+
36 verbose statusCode 403
83+
37 verbose pkgid async.util.concat
84+
38 verbose cwd /Users/josefranciscoverdugambin/Projects/async.util/util/concat
85+
39 error Darwin 15.2.0
86+
40 error argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "publish"
87+
41 error node v4.2.2
88+
42 error npm v2.14.7
89+
43 error code E403
90+
44 error "You cannot publish over the previously published version 0.3.0." : async.util.concat
91+
45 error If you need help, you may report this error at:
92+
45 error <https://github.com/npm/npm/issues>
93+
46 verbose exit [ 1, true ]

package.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "async.util.concat",
3+
"description": "async concathelper method as module.",
4+
"main": "./index.js",
5+
"repository": "async-js/async.util",
6+
"author": {
7+
"email": "josefrancisco.verdu@gmail.com",
8+
"name": "Kiko Beats",
9+
"url": "https://github.com/Kikobeats"
10+
},
11+
"version": "0.3.0",
12+
"license": "MIT",
13+
"keywords": [
14+
"async.util",
15+
"concat"
16+
]
17+
}

0 commit comments

Comments
 (0)