diff options
author | Rebecca Turner <me@re-becca.org> | 2015-07-24 11:05:33 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-07-24 12:39:49 +0300 |
commit | 76030b31827d99e32e604fc6e575429c277510b3 (patch) | |
tree | 55732c8697cc17be5c025a46906fb2a8145525e1 /node_modules/lodash._createpadding | |
parent | 1a49ec60fa565a9bba74c0d1d540b4b5adfbc172 (diff) |
lodash._createpadding@3.6.1
Diffstat (limited to 'node_modules/lodash._createpadding')
-rw-r--r-- | node_modules/lodash._createpadding/LICENSE (renamed from node_modules/lodash._createpadding/LICENSE.txt) | 0 | ||||
-rw-r--r-- | node_modules/lodash._createpadding/README.md | 4 | ||||
-rw-r--r-- | node_modules/lodash._createpadding/index.js | 12 | ||||
-rw-r--r-- | node_modules/lodash._createpadding/package.json | 34 |
4 files changed, 32 insertions, 18 deletions
diff --git a/node_modules/lodash._createpadding/LICENSE.txt b/node_modules/lodash._createpadding/LICENSE index 9cd87e5dc..9cd87e5dc 100644 --- a/node_modules/lodash._createpadding/LICENSE.txt +++ b/node_modules/lodash._createpadding/LICENSE diff --git a/node_modules/lodash._createpadding/README.md b/node_modules/lodash._createpadding/README.md index 0e1c73128..f9c9411c7 100644 --- a/node_modules/lodash._createpadding/README.md +++ b/node_modules/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/node_modules/lodash._createpadding/index.js b/node_modules/lodash._createpadding/index.js index 72890bd2d..3541a8aae 100644 --- a/node_modules/lodash._createpadding/index.js +++ b/node_modules/lodash._createpadding/index.js @@ -1,18 +1,16 @@ /** - * lodash 3.6.0 (Custom Build) <https://lodash.com/> + * lodash 3.6.1 (Custom Build) <https://lodash.com/> * Build: `lodash modern modularize exports="npm" -o ./` * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> - * Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE> + * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors * Available under MIT license <https://lodash.com/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/node_modules/lodash._createpadding/package.json b/node_modules/lodash._createpadding/package.json index c53be85b6..9801837b9 100644 --- a/node_modules/lodash._createpadding/package.json +++ b/node_modules/lodash._createpadding/package.json @@ -6,15 +6,15 @@ ] ], "_from": "lodash._createpadding@>=3.0.0 <4.0.0", - "_id": "lodash._createpadding@3.6.0", + "_id": "lodash._createpadding@3.6.1", "_inCache": true, "_location": "/lodash._createpadding", - "_nodeVersion": "0.12.0", + "_nodeVersion": "0.12.5", "_npmUser": { "email": "john.david.dalton@gmail.com", "name": "jdalton" }, - "_npmVersion": "2.7.3", + "_npmVersion": "2.12.0", "_phantomChildren": {}, "_requested": { "name": "lodash._createpadding", @@ -29,8 +29,8 @@ "/lodash.padleft", "/lodash.padright" ], - "_resolved": "https://registry.npmjs.org/lodash._createpadding/-/lodash._createpadding-3.6.0.tgz", - "_shasum": "c466850dd1a05e6bfec54fd0cf0db28b68332d5e", + "_resolved": "https://registry.npmjs.org/lodash._createpadding/-/lodash._createpadding-3.6.1.tgz", + "_shasum": "4907b438595adc54ee8935527a6c424c02c81a87", "_shrinkwrap": null, "_spec": "lodash._createpadding@^3.0.0", "_where": "/Users/rebecca/code/npm/node_modules/lodash.pad", @@ -76,8 +76,8 @@ "devDependencies": {}, "directories": {}, "dist": { - "shasum": "c466850dd1a05e6bfec54fd0cf0db28b68332d5e", - "tarball": "http://registry.npmjs.org/lodash._createpadding/-/lodash._createpadding-3.6.0.tgz" + "shasum": "4907b438595adc54ee8935527a6c424c02c81a87", + "tarball": "http://registry.npmjs.org/lodash._createpadding/-/lodash._createpadding-3.6.1.tgz" }, "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", @@ -86,16 +86,32 @@ { "name": "jdalton", "email": "john.david.dalton@gmail.com" + }, + { + "name": "d10", + "email": "demoneaux@gmail.com" + }, + { + "name": "kitcambridge", + "email": "github@kitcambridge.be" + }, + { + "name": "mathias", + "email": "mathias@qiwi.be" + }, + { + "name": "phated", + "email": "blaine@iceddev.com" } ], "name": "lodash._createpadding", "optionalDependencies": {}, "repository": { "type": "git", - "url": "https://github.com/lodash/lodash" + "url": "git+https://github.com/lodash/lodash.git" }, "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }, - "version": "3.6.0" + "version": "3.6.1" } |