Rename to hkt.sh
This commit is contained in:
21
node_modules/mixin-object/LICENSE
generated
vendored
Normal file
21
node_modules/mixin-object/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
|
||||
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.
|
||||
75
node_modules/mixin-object/README.md
generated
vendored
Normal file
75
node_modules/mixin-object/README.md
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
# mixin-object [](http://badge.fury.io/js/mixin-object)
|
||||
|
||||
> Mixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone.
|
||||
|
||||
If you only want to combine own-properties, use [extend-shallow](https://github.com/jonschlinkert/extend-shallow).
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/)
|
||||
|
||||
```sh
|
||||
$ npm i mixin-object --save
|
||||
```
|
||||
|
||||
Install with [bower](http://bower.io/)
|
||||
|
||||
```sh
|
||||
$ bower install mixin-object --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var mixin = require('mixin-object');
|
||||
|
||||
var obj = {c: 'c'};
|
||||
var foo = mixin({a: 'a'}, {b: 'b'});
|
||||
console.log(foo);
|
||||
//=> {c: 'c', a: 'a', b: 'b'}
|
||||
console.log(obj);
|
||||
//=> {c: 'c'}
|
||||
|
||||
mixin({}, {a: 'a'}, {b: 'b'});
|
||||
//=> {a: 'a', b: 'b'}
|
||||
```
|
||||
|
||||
## Related
|
||||
|
||||
* [assign-deep](https://github.com/jonschlinkert/assign-deep): Deeply assign the enumerable properties of source objects to a destination object.
|
||||
* [defaults-deep](https://github.com/jonschlinkert/defaults-deep): Like `extend` but recursively copies only the missing properties/values to the target object.
|
||||
* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.
|
||||
* [for-own](https://github.com/jonschlinkert/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own)
|
||||
* [for-in](https://github.com/jonschlinkert/for-in): Iterate over the own and inherited enumerable properties of an objecte, and return an object… [more](https://github.com/jonschlinkert/for-in)
|
||||
* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.
|
||||
* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.
|
||||
* [mixin-deep](https://github.com/jonschlinkert/mixin-deep): Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone.
|
||||
* [merge-deep](https://github.com/jonschlinkert/merge-deep): Recursively merge values in a javascript object.
|
||||
|
||||
## Running tests
|
||||
|
||||
Install dev dependencies:
|
||||
|
||||
```sh
|
||||
$ npm i -d && npm test
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/mixin-object/issues/new)
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
|
||||
Copyright © 2014-2015 [Jon Schlinkert](https://github.com/jonschlinkert)
|
||||
Released under the MIT license.
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 05, 2015._
|
||||
36
node_modules/mixin-object/index.js
generated
vendored
Normal file
36
node_modules/mixin-object/index.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
'use strict';
|
||||
|
||||
var isObject = require('is-extendable');
|
||||
var forIn = require('for-in');
|
||||
|
||||
function mixin(target, objects) {
|
||||
if (!isObject(target)) {
|
||||
throw new TypeError('mixin-object expects the first argument to be an object.');
|
||||
}
|
||||
var len = arguments.length, i = 0;
|
||||
while (++i < len) {
|
||||
var obj = arguments[i];
|
||||
if (isObject(obj)) {
|
||||
forIn(obj, copy, target);
|
||||
}
|
||||
}
|
||||
return target;
|
||||
}
|
||||
|
||||
/**
|
||||
* copy properties from the source object to the
|
||||
* target object.
|
||||
*
|
||||
* @param {*} `value`
|
||||
* @param {String} `key`
|
||||
*/
|
||||
|
||||
function copy(value, key) {
|
||||
this[key] = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Expose `mixin`
|
||||
*/
|
||||
|
||||
module.exports = mixin;
|
||||
21
node_modules/mixin-object/node_modules/for-in/LICENSE
generated
vendored
Normal file
21
node_modules/mixin-object/node_modules/for-in/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2017, Jon Schlinkert
|
||||
|
||||
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.
|
||||
85
node_modules/mixin-object/node_modules/for-in/README.md
generated
vendored
Normal file
85
node_modules/mixin-object/node_modules/for-in/README.md
generated
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
# for-in [](https://www.npmjs.com/package/for-in) [](https://npmjs.org/package/for-in) [](https://npmjs.org/package/for-in) [](https://travis-ci.org/jonschlinkert/for-in)
|
||||
|
||||
> Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```sh
|
||||
$ npm install --save for-in
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var forIn = require('for-in');
|
||||
|
||||
var obj = {a: 'foo', b: 'bar', c: 'baz'};
|
||||
var values = [];
|
||||
var keys = [];
|
||||
|
||||
forIn(obj, function (value, key, o) {
|
||||
keys.push(key);
|
||||
values.push(value);
|
||||
});
|
||||
|
||||
console.log(keys);
|
||||
//=> ['a', 'b', 'c'];
|
||||
|
||||
console.log(values);
|
||||
//=> ['foo', 'bar', 'baz'];
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
### Related projects
|
||||
|
||||
* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten)
|
||||
* [collection-map](https://www.npmjs.com/package/collection-map): Returns an array of mapped values from an array or object. | [homepage](https://github.com/jonschlinkert/collection-map)
|
||||
* [for-own](https://www.npmjs.com/package/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own) | [homepage](https://github.com/jonschlinkert/for-own)
|
||||
|
||||
### Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
### Contributors
|
||||
|
||||
| **Commits** | **Contributor** |
|
||||
| --- | --- |
|
||||
| 11 | [jonschlinkert](https://github.com/jonschlinkert) |
|
||||
| 2 | [paulirish](https://github.com/paulirish) |
|
||||
|
||||
### Building docs
|
||||
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
### Running tests
|
||||
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
### Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 26, 2017._
|
||||
16
node_modules/mixin-object/node_modules/for-in/index.js
generated
vendored
Normal file
16
node_modules/mixin-object/node_modules/for-in/index.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/*!
|
||||
* for-in <https://github.com/jonschlinkert/for-in>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function forIn(obj, fn, thisArg) {
|
||||
for (var key in obj) {
|
||||
if (fn.call(thisArg, obj[key], key, obj) === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
64
node_modules/mixin-object/node_modules/for-in/package.json
generated
vendored
Normal file
64
node_modules/mixin-object/node_modules/for-in/package.json
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"name": "for-in",
|
||||
"description": "Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js",
|
||||
"version": "0.1.8",
|
||||
"homepage": "https://github.com/jonschlinkert/for-in",
|
||||
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
|
||||
"contributors": [
|
||||
"Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)",
|
||||
"Paul Irish (http://paulirish.com)"
|
||||
],
|
||||
"repository": "jonschlinkert/for-in",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/for-in/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"keywords": [
|
||||
"for",
|
||||
"for-in",
|
||||
"for-own",
|
||||
"has",
|
||||
"has-own",
|
||||
"hasOwn",
|
||||
"in",
|
||||
"key",
|
||||
"keys",
|
||||
"object",
|
||||
"own",
|
||||
"value"
|
||||
],
|
||||
"verb": {
|
||||
"run": true,
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"related": {
|
||||
"list": [
|
||||
"arr-flatten",
|
||||
"for-own",
|
||||
"collection-map"
|
||||
]
|
||||
},
|
||||
"reflinks": [
|
||||
"verb"
|
||||
],
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
}
|
||||
}
|
||||
61
node_modules/mixin-object/package.json
generated
vendored
Normal file
61
node_modules/mixin-object/package.json
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"name": "mixin-object",
|
||||
"description": "Mixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone.",
|
||||
"version": "2.0.1",
|
||||
"homepage": "https://github.com/jonschlinkert/mixin-object",
|
||||
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
|
||||
"repository": "jonschlinkert/mixin-object",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/mixin-object/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"dependencies": {
|
||||
"for-in": "^0.1.3",
|
||||
"is-extendable": "^0.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mocha": "^2.2.5",
|
||||
"should": "^7.0.1"
|
||||
},
|
||||
"keywords": [
|
||||
"assign",
|
||||
"copy",
|
||||
"extend",
|
||||
"key",
|
||||
"merge",
|
||||
"mixin",
|
||||
"object",
|
||||
"objects",
|
||||
"prop",
|
||||
"properties",
|
||||
"property",
|
||||
"shallow",
|
||||
"util",
|
||||
"value"
|
||||
],
|
||||
"verbiage": {
|
||||
"related": {
|
||||
"list": [
|
||||
"defaults-deep",
|
||||
"extend-shallow",
|
||||
"assign-deep",
|
||||
"mixin-deep",
|
||||
"merge-deep",
|
||||
"isobject",
|
||||
"is-plain-object",
|
||||
"for-own",
|
||||
"for-in"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user