lodash.takewhile
Advanced tools
+7
-5
| /** | ||
| * lodash 4.2.1 (Custom Build) <https://lodash.com/> | ||
| * lodash 4.3.0 (Custom Build) <https://lodash.com/> | ||
| * Build: `lodash modularize exports="npm" -o ./` | ||
| * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
| * Copyright jQuery Foundation and other contributors <https://jquery.org/> | ||
| * Released under MIT license <https://lodash.com/license> | ||
| * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | ||
| * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
| * Available under MIT license <https://lodash.com/license> | ||
| * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
| */ | ||
@@ -42,5 +42,7 @@ var baseIteratee = require('lodash._baseiteratee'), | ||
| * @memberOf _ | ||
| * @since 3.0.0 | ||
| * @category Array | ||
| * @param {Array} array The array to query. | ||
| * @param {Function|Object|string} [predicate=_.identity] The function invoked per iteration. | ||
| * @param {Array|Function|Object|string} [predicate=_.identity] | ||
| * The function invoked per iteration. | ||
| * @returns {Array} Returns the slice of `array`. | ||
@@ -47,0 +49,0 @@ * @example |
+42
-18
@@ -1,23 +0,47 @@ | ||
| The MIT License (MIT) | ||
| Copyright jQuery Foundation and other contributors <https://jquery.org/> | ||
| Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
| Based on Underscore.js, copyright 2009-2016 Jeremy Ashkenas, | ||
| Based on Underscore.js, copyright Jeremy Ashkenas, | ||
| DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/> | ||
| 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: | ||
| This software consists of voluntary contributions made by many | ||
| individuals. For exact contribution history, see the revision history | ||
| available at https://github.com/lodash/lodash | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| The following license applies to all parts of this software except as | ||
| documented below: | ||
| 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. | ||
| ==== | ||
| 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. | ||
| ==== | ||
| Copyright and related rights for sample code are waived via CC0. Sample | ||
| code is defined as all source code displayed within the prose of the | ||
| documentation. | ||
| CC0: http://creativecommons.org/publicdomain/zero/1.0/ | ||
| ==== | ||
| Files located in the node_modules and vendor directories are externally | ||
| maintained libraries used by this software which have their own | ||
| licenses; we recommend you read them, as their terms may differ from the | ||
| terms above. |
+2
-2
| { | ||
| "name": "lodash.takewhile", | ||
| "version": "4.2.1", | ||
| "version": "4.3.0", | ||
| "description": "The lodash method `_.takeWhile` exported as a module.", | ||
@@ -18,5 +18,5 @@ "homepage": "https://lodash.com/", | ||
| "dependencies": { | ||
| "lodash._baseiteratee": "~4.5.0", | ||
| "lodash._baseiteratee": "~4.6.0", | ||
| "lodash._baseslice": "~4.0.0" | ||
| } | ||
| } |
+2
-2
@@ -1,2 +0,2 @@ | ||
| # lodash.takewhile v4.2.1 | ||
| # lodash.takewhile v4.3.0 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.takeWhile` exported as a [Node.js](https://nodejs.org/) module. | ||
| See the [documentation](https://lodash.com/docs#takeWhile) or [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash.takewhile) for more details. | ||
| See the [documentation](https://lodash.com/docs#takeWhile) or [package source](https://github.com/lodash/lodash/blob/4.3.0-npm-packages/lodash.takewhile) for more details. |
Mixed license
LicensePackage contains multiple licenses.
Found 1 instance in 1 package
5899
13.77%72
2.86%1
Infinity%+ Added
+ Added
- Removed
Updated