diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-04-20 03:09:25 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-04-24 16:14:29 +0200 |
commit | 82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8 (patch) | |
tree | 965f6eb89b84d65a62b49008fd972c004832ccd1 /node_modules/for-in | |
parent | e6e0cbc387c2a77b48e4065c229daa65bf1aa0fa (diff) | |
download | wallet-core-82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8.tar.xz |
Reorganize module loading.
We now use webpack instead of SystemJS, effectively bundling modules
into one file (plus commons chunks) for every entry point. This results
in a much smaller extension size (almost half). Furthermore we use
yarn/npm even for extension run-time dependencies. This relieves us
from manually vendoring and building dependencies. It's also easier to
understand for new developers familiar with node.
Diffstat (limited to 'node_modules/for-in')
-rw-r--r-- | node_modules/for-in/LICENSE | 2 | ||||
-rw-r--r-- | node_modules/for-in/README.md | 51 | ||||
-rw-r--r-- | node_modules/for-in/index.js | 10 | ||||
-rw-r--r-- | node_modules/for-in/package.json | 20 |
4 files changed, 53 insertions, 30 deletions
diff --git a/node_modules/for-in/LICENSE b/node_modules/for-in/LICENSE index 39245ac1c..d734237bd 100644 --- a/node_modules/for-in/LICENSE +++ b/node_modules/for-in/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2016, Jon Schlinkert. +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 diff --git a/node_modules/for-in/README.md b/node_modules/for-in/README.md index 85141657e..874e1895a 100644 --- a/node_modules/for-in/README.md +++ b/node_modules/for-in/README.md @@ -1,4 +1,4 @@ -# for-in [![NPM version](https://img.shields.io/npm/v/for-in.svg?style=flat)](https://www.npmjs.com/package/for-in) [![NPM downloads](https://img.shields.io/npm/dm/for-in.svg?style=flat)](https://npmjs.org/package/for-in) [![Build Status](https://img.shields.io/travis/jonschlinkert/for-in.svg?style=flat)](https://travis-ci.org/jonschlinkert/for-in) +# for-in [![NPM version](https://img.shields.io/npm/v/for-in.svg?style=flat)](https://www.npmjs.com/package/for-in) [![NPM monthly downloads](https://img.shields.io/npm/dm/for-in.svg?style=flat)](https://npmjs.org/package/for-in) [![NPM total downloads](https://img.shields.io/npm/dt/for-in.svg?style=flat)](https://npmjs.org/package/for-in) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/for-in.svg?style=flat&label=Travis)](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 @@ -7,7 +7,7 @@ Install with [npm](https://www.npmjs.com/): ```sh -$ npm install for-in --save +$ npm install --save for-in ``` ## Usage @@ -31,44 +31,55 @@ console.log(values); //=> ['foo', 'bar', 'baz']; ``` -## Contributing +## About -Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/for-in/issues/new). +### Related projects -## Building docs +* [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 "Recursively flatten an array or arrays. This is the fastest implementation of array 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 "Returns an array of mapped values from an array or object.") +* [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 "Iterate over the own 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.") -Generate readme and API documentation with [verb](https://github.com/verbose/verb): +### Contributing -```sh -$ npm install verb && npm run docs -``` +Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). + +### Contributors + +| **Commits** | **Contributor** | +| --- | --- | +| 16 | [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.)_ -Or, if [verb](https://github.com/verbose/verb) is installed globally: +To generate the readme, run the following command: ```sh -$ verb +$ npm install -g verbose/verb#dev verb-generate-readme && verb ``` -## Running tests +### Running tests -Install dev dependencies: +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 -d && npm test +$ npm install && npm test ``` -## Author +### Author **Jon Schlinkert** * [github/jonschlinkert](https://github.com/jonschlinkert) -* [twitter/jonschlinkert](http://twitter.com/jonschlinkert) +* [twitter/jonschlinkert](https://twitter.com/jonschlinkert) -## License +### License -Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert). -Released under the [MIT license](https://github.com/jonschlinkert/for-in/blob/master/LICENSE). +Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert). +Released under the [MIT License](LICENSE). *** -_This file was generated by [verb](https://github.com/verbose/verb), v, on March 27, 2016._ +_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 28, 2017._
\ No newline at end of file diff --git a/node_modules/for-in/index.js b/node_modules/for-in/index.js index 965755050..0b5f95f02 100644 --- a/node_modules/for-in/index.js +++ b/node_modules/for-in/index.js @@ -1,15 +1,15 @@ /*! * for-in <https://github.com/jonschlinkert/for-in> * - * Copyright (c) 2014-2016, Jon Schlinkert. - * Licensed under the MIT License. + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. */ 'use strict'; -module.exports = function forIn(o, fn, thisArg) { - for (var key in o) { - if (fn.call(thisArg, o[key], key, o) === false) { +module.exports = function forIn(obj, fn, thisArg) { + for (var key in obj) { + if (fn.call(thisArg, obj[key], key, obj) === false) { break; } } diff --git a/node_modules/for-in/package.json b/node_modules/for-in/package.json index ff921ef1b..48810a18d 100644 --- a/node_modules/for-in/package.json +++ b/node_modules/for-in/package.json @@ -1,9 +1,13 @@ { "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.6", + "version": "1.0.2", "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" @@ -20,16 +24,17 @@ "test": "mocha" }, "devDependencies": { - "gulp-format-md": "^0.1.7", - "mocha": "^2.4.5", - "should": "^8.3.0" + "gulp-format-md": "^0.1.11", + "mocha": "^3.2.0" }, "keywords": [ + "for", "for-in", "for-own", "has", "has-own", "hasOwn", + "in", "key", "keys", "object", @@ -46,6 +51,13 @@ "plugins": [ "gulp-format-md" ], + "related": { + "list": [ + "arr-flatten", + "collection-map", + "for-own" + ] + }, "reflinks": [ "verb" ], |