mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 10:52:47 +00:00
updated package.json
This commit is contained in:
25
node_modules/async-each/.npmignore
generated
vendored
Normal file
25
node_modules/async-each/.npmignore
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# Numerous always-ignore extensions
|
||||
*.diff
|
||||
*.err
|
||||
*.orig
|
||||
*.log
|
||||
*~
|
||||
|
||||
# OS or Editor folders
|
||||
.DS_Store
|
||||
.cache
|
||||
Icon?
|
||||
|
||||
# Folders to ignore
|
||||
.hg
|
||||
.svn
|
||||
|
||||
# Node.js package manager
|
||||
/node_modules
|
||||
/npm-debug.log
|
||||
|
||||
# Other stuff
|
||||
*.pyc
|
||||
/tmp
|
||||
|
||||
# Project stuff
|
||||
20
node_modules/async-each/CHANGELOG.md
generated
vendored
Normal file
20
node_modules/async-each/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# async-each 0.1.6 (5 November 2014)
|
||||
* Add license to package.json
|
||||
|
||||
# async-each 0.1.5 (22 October 2014)
|
||||
* Clean up package.json to fix npm warning about `repo`
|
||||
|
||||
# async-each 0.1.4 (12 November 2013)
|
||||
* Fixed AMD definition.
|
||||
|
||||
# async-each 0.1.3 (25 July 2013)
|
||||
* Fixed double wrapping of errors.
|
||||
|
||||
# async-each 0.1.2 (7 July 2013)
|
||||
* Fixed behaviour on empty arrays.
|
||||
|
||||
# async-each 0.1.1 (14 June 2013)
|
||||
* Wrapped function in closure, enabled strict mode.
|
||||
|
||||
# async-each 0.1.0 (14 June 2013)
|
||||
* Initial release.
|
||||
64
node_modules/async-each/README.md
generated
vendored
Normal file
64
node_modules/async-each/README.md
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
# async-each
|
||||
|
||||
No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach function for JavaScript.
|
||||
|
||||
We don't need junky 30K async libs. Really.
|
||||
|
||||
For browsers and node.js.
|
||||
|
||||
## Installation
|
||||
* Just include async-each before your scripts.
|
||||
* `npm install async-each` if you’re using node.js.
|
||||
* `component install paulmillr/async-each` if you’re using [component(1)](https://github.com/component/component).
|
||||
* `bower install async-each` if you’re using [Twitter Bower](http://bower.io).
|
||||
|
||||
## Usage
|
||||
|
||||
* `each(array, iterator, callback);` — `Array`, `Function`, `(optional) Function`
|
||||
* `iterator(item, next)` receives current item and a callback that will mark the item as done. `next` callback receives optional `error, transformedItem` arguments.
|
||||
* `callback(error, transformedArray)` optionally receives first error and transformed result `Array`.
|
||||
|
||||
Node.js:
|
||||
|
||||
```javascript
|
||||
var each = require('async-each');
|
||||
each(['a.js', 'b.js', 'c.js'], fs.readFile, function(error, contents) {
|
||||
if (error) console.error(error);
|
||||
console.log('Contents for a, b and c:', contents);
|
||||
});
|
||||
```
|
||||
|
||||
Browser:
|
||||
|
||||
```javascript
|
||||
// component(1)
|
||||
var each = require('async-each');
|
||||
each(list, fn, callback);
|
||||
|
||||
// Default:
|
||||
window.asyncEach(list, fn, callback);
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013 Paul Miller (http://paulmillr.com/)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the “Software”), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
22
node_modules/async-each/bower.json
generated
vendored
Normal file
22
node_modules/async-each/bower.json
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "async-each",
|
||||
"repo": "paulmillr/async-each",
|
||||
"description": "No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.",
|
||||
"version": "0.1.6",
|
||||
"keywords": [
|
||||
"async", "forEach", "each", "map",
|
||||
"asynchronous",
|
||||
"iteration", "iterate",
|
||||
"loop", "parallel",
|
||||
"concurrent", "array",
|
||||
"flow", "control flow"
|
||||
],
|
||||
"main": "index.js",
|
||||
"dependencies": {},
|
||||
"development": {},
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"bower_components"
|
||||
]
|
||||
}
|
||||
18
node_modules/async-each/component.json
generated
vendored
Normal file
18
node_modules/async-each/component.json
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "async-each",
|
||||
"repo": "paulmillr/async-each",
|
||||
"description": "No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.",
|
||||
"version": "0.1.6",
|
||||
"keywords": [
|
||||
"async", "forEach", "each", "map",
|
||||
"asynchronous",
|
||||
"iteration", "iterate",
|
||||
"loop", "parallel",
|
||||
"concurrent", "array",
|
||||
"flow", "control flow"
|
||||
],
|
||||
"main": "index.js",
|
||||
"scripts": ["index.js"],
|
||||
"dependencies": {},
|
||||
"development": {}
|
||||
}
|
||||
38
node_modules/async-each/index.js
generated
vendored
Normal file
38
node_modules/async-each/index.js
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
// async-each MIT license (by Paul Miller from http://paulmillr.com).
|
||||
(function(globals) {
|
||||
'use strict';
|
||||
var each = function(items, next, callback) {
|
||||
if (!Array.isArray(items)) throw new TypeError('each() expects array as first argument');
|
||||
if (typeof next !== 'function') throw new TypeError('each() expects function as second argument');
|
||||
if (typeof callback !== 'function') callback = Function.prototype; // no-op
|
||||
|
||||
if (items.length === 0) return callback(undefined, items);
|
||||
|
||||
var transformed = new Array(items.length);
|
||||
var count = 0;
|
||||
var returned = false;
|
||||
|
||||
items.forEach(function(item, index) {
|
||||
next(item, function(error, transformedItem) {
|
||||
if (returned) return;
|
||||
if (error) {
|
||||
returned = true;
|
||||
return callback(error);
|
||||
}
|
||||
transformed[index] = transformedItem;
|
||||
count += 1;
|
||||
if (count === items.length) return callback(undefined, transformed);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
if (typeof define !== 'undefined' && define.amd) {
|
||||
define([], function() {
|
||||
return each;
|
||||
}); // RequireJS
|
||||
} else if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = each; // CommonJS
|
||||
} else {
|
||||
globals.asyncEach = each; // <script>
|
||||
}
|
||||
})(this);
|
||||
88
node_modules/async-each/package.json
generated
vendored
Normal file
88
node_modules/async-each/package.json
generated
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"async-each@^0.1.6",
|
||||
"/home/mywebsite/node_modules/chokidar"
|
||||
]
|
||||
],
|
||||
"_from": "async-each@>=0.1.6 <0.2.0",
|
||||
"_id": "async-each@0.1.6",
|
||||
"_inCache": true,
|
||||
"_installable": true,
|
||||
"_location": "/async-each",
|
||||
"_npmUser": {
|
||||
"email": "elan.shanker+npm@gmail.com",
|
||||
"name": "es128"
|
||||
},
|
||||
"_npmVersion": "1.4.28",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "async-each",
|
||||
"raw": "async-each@^0.1.6",
|
||||
"rawSpec": "^0.1.6",
|
||||
"scope": null,
|
||||
"spec": ">=0.1.6 <0.2.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/chokidar"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/async-each/-/async-each-0.1.6.tgz",
|
||||
"_shasum": "b67e99edcddf96541e44af56290cd7d5c6e70439",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "async-each@^0.1.6",
|
||||
"_where": "/home/mywebsite/node_modules/chokidar",
|
||||
"author": {
|
||||
"name": "Paul Miller",
|
||||
"url": "http://paulmillr.com/"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/paulmillr/async-each/issues"
|
||||
},
|
||||
"dependencies": {},
|
||||
"description": "No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.",
|
||||
"devDependencies": {},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "b67e99edcddf96541e44af56290cd7d5c6e70439",
|
||||
"tarball": "http://registry.npmjs.org/async-each/-/async-each-0.1.6.tgz"
|
||||
},
|
||||
"gitHead": "3da122b3e6fe84207bdca246e484a6a50462f190",
|
||||
"homepage": "https://github.com/paulmillr/async-each/",
|
||||
"keywords": [
|
||||
"array",
|
||||
"async",
|
||||
"asynchronous",
|
||||
"concurrent",
|
||||
"control flow",
|
||||
"each",
|
||||
"flow",
|
||||
"forEach",
|
||||
"iterate",
|
||||
"iteration",
|
||||
"loop",
|
||||
"map",
|
||||
"parallel"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "paulmillr",
|
||||
"email": "paul@paulmillr.com"
|
||||
},
|
||||
{
|
||||
"name": "es128",
|
||||
"email": "elan.shanker+npm@gmail.com"
|
||||
}
|
||||
],
|
||||
"name": "async-each",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/paulmillr/async-each.git"
|
||||
},
|
||||
"scripts": {},
|
||||
"version": "0.1.6"
|
||||
}
|
||||
Reference in New Issue
Block a user