From 4ed2b2477334a099c5ec0b2c7f7977fbd9fa0b68 Mon Sep 17 00:00:00 2001 From: jdalton Date: Thu, 16 Apr 2015 00:38:58 -0700 Subject: [PATCH] Bump to v3.6.1. --- README.md | 2 +- lodash._basefindindex/README.md | 20 ------------ lodash._basefindindex/index.js | 32 ------------------- lodash._basefindindex/package.json | 18 ----------- .../LICENSE | 0 lodash._createpadding/LICENSE.txt | 22 ------------- lodash._createpadding/README.md | 4 +-- lodash._createpadding/index.js | 12 +++---- lodash._createpadding/package.json | 2 +- lodash.restparam/README.md | 4 +-- lodash.restparam/index.js | 8 ++--- lodash.restparam/package.json | 2 +- lodash.sum/README.md | 4 +-- lodash.sum/index.js | 7 ++-- lodash.sum/package.json | 2 +- lodash.template/README.md | 4 +-- lodash.template/index.js | 3 +- lodash.template/package.json | 2 +- 18 files changed, 26 insertions(+), 122 deletions(-) delete mode 100644 lodash._basefindindex/README.md delete mode 100644 lodash._basefindindex/index.js delete mode 100644 lodash._basefindindex/package.json rename lodash._basefindindex/LICENSE.txt => lodash._createpadding/LICENSE (100%) delete mode 100644 lodash._createpadding/LICENSE.txt diff --git a/README.md b/README.md index f5c185bdf..d6989d7ca 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lodash v3.6.0 +# lodash v3.6.1 The [lodash](https://lodash.com/) library exported as [npm packages](https://www.npmjs.com/browse/keyword/lodash-modularized) per method. diff --git a/lodash._basefindindex/README.md b/lodash._basefindindex/README.md deleted file mode 100644 index 4626b5e08..000000000 --- a/lodash._basefindindex/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# lodash._basefindindex v3.6.0 - -The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseFindIndex` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. - -## Installation - -Using npm: - -```bash -$ {sudo -H} npm i -g npm -$ npm i --save lodash._basefindindex -``` - -In Node.js/io.js: - -```js -var baseFindIndex = require('lodash._basefindindex'); -``` - -See the [package source](https://github.com/lodash/lodash/blob/3.6.0-npm-packages/lodash._basefindindex) for more details. diff --git a/lodash._basefindindex/index.js b/lodash._basefindindex/index.js deleted file mode 100644 index 84b2f8456..000000000 --- a/lodash._basefindindex/index.js +++ /dev/null @@ -1,32 +0,0 @@ -/** - * lodash 3.6.0 (Custom Build) - * Build: `lodash modularize exports="npm" -o ./` - * Copyright 2012-2015 The Dojo Foundation - * Based on Underscore.js 1.8.2 - * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - * Available under MIT license - */ - -/** - * The base implementation of `_.findIndex` and `_.findLastIndex` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to search. - * @param {Function} predicate The function invoked per iteration. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {number} Returns the index of the matched value, else `-1`. - */ -function baseFindIndex(array, predicate, fromRight) { - var length = array.length, - index = fromRight ? length : -1; - - while ((fromRight ? index-- : ++index < length)) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; -} - -module.exports = baseFindIndex; diff --git a/lodash._basefindindex/package.json b/lodash._basefindindex/package.json deleted file mode 100644 index 30f9013d6..000000000 --- a/lodash._basefindindex/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "lodash._basefindindex", - "version": "3.6.0", - "description": "The modern build of lodash’s internal `baseFindIndex` as a module.", - "homepage": "https://lodash.com/", - "icon": "https://lodash.com/icon.svg", - "license": "MIT", - "author": "John-David Dalton (http://allyoucanleet.com/)", - "contributors": [ - "John-David Dalton (http://allyoucanleet.com/)", - "Benjamin Tan (https://d10.github.io/)", - "Blaine Bublitz (http://www.iceddev.com/)", - "Kit Cambridge (http://kitcambridge.be/)", - "Mathias Bynens (https://mathiasbynens.be/)" - ], - "repository": "lodash/lodash", - "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } -} diff --git a/lodash._basefindindex/LICENSE.txt b/lodash._createpadding/LICENSE similarity index 100% rename from lodash._basefindindex/LICENSE.txt rename to lodash._createpadding/LICENSE diff --git a/lodash._createpadding/LICENSE.txt b/lodash._createpadding/LICENSE.txt deleted file mode 100644 index 9cd87e5dc..000000000 --- a/lodash._createpadding/LICENSE.txt +++ /dev/null @@ -1,22 +0,0 @@ -Copyright 2012-2015 The Dojo Foundation -Based on Underscore.js, copyright 2009-2015 Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors - -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. diff --git a/lodash._createpadding/README.md b/lodash._createpadding/README.md index 0e1c73128..f9c9411c7 100644 --- a/lodash._createpadding/README.md +++ b/lodash._createpadding/README.md @@ -1,4 +1,4 @@ -# lodash._createpadding v3.6.0 +# lodash._createpadding v3.6.1 The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createPadding` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. @@ -17,4 +17,4 @@ In Node.js/io.js: var createPadding = require('lodash._createpadding'); ``` -See the [package source](https://github.com/lodash/lodash/blob/3.6.0-npm-packages/lodash._createpadding) for more details. +See the [package source](https://github.com/lodash/lodash/blob/3.6.1-npm-packages/lodash._createpadding) for more details. diff --git a/lodash._createpadding/index.js b/lodash._createpadding/index.js index 72890bd2d..3541a8aae 100644 --- a/lodash._createpadding/index.js +++ b/lodash._createpadding/index.js @@ -1,18 +1,16 @@ /** - * lodash 3.6.0 (Custom Build) + * lodash 3.6.1 (Custom Build) * Build: `lodash modern modularize exports="npm" -o ./` * Copyright 2012-2015 The Dojo Foundation - * Based on Underscore.js 1.8.2 + * Based on Underscore.js 1.8.3 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors * Available under MIT license */ var repeat = require('lodash.repeat'); -/** Native method references. */ -var ceil = Math.ceil; - /* Native method references for those with the same name as other `lodash` methods. */ -var nativeIsFinite = global.isFinite; +var nativeCeil = Math.ceil, + nativeIsFinite = global.isFinite; /** * Creates the padding required for `string` based on the given `length`. @@ -33,7 +31,7 @@ function createPadding(string, length, chars) { } var padLength = length - strLength; chars = chars == null ? ' ' : (chars + ''); - return repeat(chars, ceil(padLength / chars.length)).slice(0, padLength); + return repeat(chars, nativeCeil(padLength / chars.length)).slice(0, padLength); } module.exports = createPadding; diff --git a/lodash._createpadding/package.json b/lodash._createpadding/package.json index dc2990a95..cceef1297 100644 --- a/lodash._createpadding/package.json +++ b/lodash._createpadding/package.json @@ -1,6 +1,6 @@ { "name": "lodash._createpadding", - "version": "3.6.0", + "version": "3.6.1", "description": "The modern build of lodash’s internal `createPadding` as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", diff --git a/lodash.restparam/README.md b/lodash.restparam/README.md index 7fdee7ea7..80e47a4f9 100644 --- a/lodash.restparam/README.md +++ b/lodash.restparam/README.md @@ -1,4 +1,4 @@ -# lodash.restparam v3.6.0 +# lodash.restparam v3.6.1 The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.restParam` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. @@ -17,4 +17,4 @@ In Node.js/io.js: var restParam = require('lodash.restparam'); ``` -See the [documentation](https://lodash.com/docs#restParam) or [package source](https://github.com/lodash/lodash/blob/3.6.0-npm-packages/lodash.restparam) for more details. +See the [documentation](https://lodash.com/docs#restParam) or [package source](https://github.com/lodash/lodash/blob/3.6.1-npm-packages/lodash.restparam) for more details. diff --git a/lodash.restparam/index.js b/lodash.restparam/index.js index f91897718..84dabb110 100644 --- a/lodash.restparam/index.js +++ b/lodash.restparam/index.js @@ -1,8 +1,8 @@ /** - * lodash 3.6.0 (Custom Build) + * lodash 3.6.1 (Custom Build) * Build: `lodash modern modularize exports="npm" -o ./` * Copyright 2012-2015 The Dojo Foundation - * Based on Underscore.js 1.8.2 + * Based on Underscore.js 1.8.3 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors * Available under MIT license */ @@ -17,7 +17,7 @@ var nativeMax = Math.max; * Creates a function that invokes `func` with the `this` binding of the * created function and arguments from `start` and beyond provided as an array. * - * **Note:** This method is based on the [rest parameter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters). + * **Note:** This method is based on the [rest parameter](https://developer.mozilla.org/Web/JavaScript/Reference/Functions/rest_parameters). * * @static * @memberOf _ @@ -39,7 +39,7 @@ function restParam(func, start) { if (typeof func != 'function') { throw new TypeError(FUNC_ERROR_TEXT); } - start = nativeMax(typeof start == 'undefined' ? (func.length - 1) : (+start || 0), 0); + start = nativeMax(start === undefined ? (func.length - 1) : (+start || 0), 0); return function() { var args = arguments, index = -1, diff --git a/lodash.restparam/package.json b/lodash.restparam/package.json index 1bcc08b6d..8de2f6eb5 100644 --- a/lodash.restparam/package.json +++ b/lodash.restparam/package.json @@ -1,6 +1,6 @@ { "name": "lodash.restparam", - "version": "3.6.0", + "version": "3.6.1", "description": "The modern build of lodash’s `_.restParam` as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", diff --git a/lodash.sum/README.md b/lodash.sum/README.md index adc365a36..825f277ac 100644 --- a/lodash.sum/README.md +++ b/lodash.sum/README.md @@ -1,4 +1,4 @@ -# lodash.sum v3.6.0 +# lodash.sum v3.6.1 The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.sum` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. @@ -17,4 +17,4 @@ In Node.js/io.js: var sum = require('lodash.sum'); ``` -See the [documentation](https://lodash.com/docs#sum) or [package source](https://github.com/lodash/lodash/blob/3.6.0-npm-packages/lodash.sum) for more details. +See the [documentation](https://lodash.com/docs#sum) or [package source](https://github.com/lodash/lodash/blob/3.6.1-npm-packages/lodash.sum) for more details. diff --git a/lodash.sum/index.js b/lodash.sum/index.js index 62b114a7d..e098fd28e 100644 --- a/lodash.sum/index.js +++ b/lodash.sum/index.js @@ -1,8 +1,8 @@ /** - * lodash 3.6.0 (Custom Build) + * lodash 3.6.1 (Custom Build) * Build: `lodash modern modularize exports="npm" -o ./` * Copyright 2012-2015 The Dojo Foundation - * Based on Underscore.js 1.8.2 + * Based on Underscore.js 1.8.3 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors * Available under MIT license */ @@ -10,8 +10,7 @@ var baseCallback = require('lodash._basecallback'), baseEach = require('lodash._baseeach'), isIterateeCall = require('lodash._isiterateecall'), toIterable = require('lodash._toiterable'), - isArray = require('lodash.isarray'), - keys = require('lodash.keys'); + isArray = require('lodash.isarray'); /** * A specialized version of `_.sum` for arrays without support for iteratees. diff --git a/lodash.sum/package.json b/lodash.sum/package.json index eafa1ab02..d9c15945f 100644 --- a/lodash.sum/package.json +++ b/lodash.sum/package.json @@ -1,6 +1,6 @@ { "name": "lodash.sum", - "version": "3.6.0", + "version": "3.6.1", "description": "The modern build of lodash’s `_.sum` as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", diff --git a/lodash.template/README.md b/lodash.template/README.md index a31f8aab8..633f43525 100644 --- a/lodash.template/README.md +++ b/lodash.template/README.md @@ -1,4 +1,4 @@ -# lodash.template v3.6.0 +# lodash.template v3.6.1 The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.template` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. @@ -17,4 +17,4 @@ In Node.js/io.js: var template = require('lodash.template'); ``` -See the [documentation](https://lodash.com/docs#template) or [package source](https://github.com/lodash/lodash/blob/3.6.0-npm-packages/lodash.template) for more details. +See the [documentation](https://lodash.com/docs#template) or [package source](https://github.com/lodash/lodash/blob/3.6.1-npm-packages/lodash.template) for more details. diff --git a/lodash.template/index.js b/lodash.template/index.js index fbaea2630..e643c2836 100644 --- a/lodash.template/index.js +++ b/lodash.template/index.js @@ -1,5 +1,5 @@ /** - * lodash 3.6.0 (Custom Build) + * lodash 3.6.1 (Custom Build) * Build: `lodash modern modularize exports="npm" -o ./` * Copyright 2012-2015 The Dojo Foundation * Based on Underscore.js 1.8.3 @@ -11,7 +11,6 @@ var baseCopy = require('lodash._basecopy'), baseValues = require('lodash._basevalues'), isIterateeCall = require('lodash._isiterateecall'), reInterpolate = require('lodash._reinterpolate'), - escape = require('lodash.escape'), keys = require('lodash.keys'), restParam = require('lodash.restparam'), templateSettings = require('lodash.templatesettings'); diff --git a/lodash.template/package.json b/lodash.template/package.json index 30a1a2a33..f0a363623 100644 --- a/lodash.template/package.json +++ b/lodash.template/package.json @@ -1,6 +1,6 @@ { "name": "lodash.template", - "version": "3.6.0", + "version": "3.6.1", "description": "The modern build of lodash’s `_.template` as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg",