From 281e319c5002b7c43c7da4010f3b7f5127aff657 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 24 Jan 2016 22:34:02 -0800 Subject: [PATCH] Bump to v3.10.2. --- README.md | 2 +- lodash.ceil/README.md | 4 ++-- lodash.ceil/index.js | 12 +++++------- lodash.ceil/package.json | 2 +- lodash.floor/README.md | 4 ++-- lodash.floor/index.js | 12 +++++------- lodash.floor/package.json | 2 +- lodash.round/README.md | 4 ++-- lodash.round/index.js | 12 +++++------- lodash.round/package.json | 2 +- 10 files changed, 25 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 9838cf1d2..3616dcc55 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lodash v3.10.1 +# lodash v3.10.2 The [lodash](https://lodash.com/) library exported as [npm packages](https://www.npmjs.com/browse/keyword/lodash-modularized) per method. diff --git a/lodash.ceil/README.md b/lodash.ceil/README.md index 4857b9b06..7dd27eb88 100644 --- a/lodash.ceil/README.md +++ b/lodash.ceil/README.md @@ -1,4 +1,4 @@ -# lodash.ceil v3.10.1 +# lodash.ceil v3.10.2 The [lodash](https://lodash.com/) method `_.ceil` exported as a [Node.js](https://nodejs.org/) module. @@ -15,4 +15,4 @@ In Node.js: var ceil = require('lodash.ceil'); ``` -See the [documentation](https://lodash.com/docs#ceil) or [package source](https://github.com/lodash/lodash/blob/3.10.1-npm-packages/lodash.ceil) for more details. +See the [documentation](https://lodash.com/docs#ceil) or [package source](https://github.com/lodash/lodash/blob/3.10.2-npm-packages/lodash.ceil) for more details. diff --git a/lodash.ceil/index.js b/lodash.ceil/index.js index 94afebf07..422ee03ed 100644 --- a/lodash.ceil/index.js +++ b/lodash.ceil/index.js @@ -1,5 +1,5 @@ /** - * lodash 3.10.1 (Custom Build) + * lodash 3.10.2 (Custom Build) * Build: `lodash modularize exports="npm" -o ./` * Copyright 2012-2016 The Dojo Foundation * Based on Underscore.js 1.8.3 @@ -42,11 +42,11 @@ var objectProto = global.Object.prototype; var objectToString = objectProto.toString; /** Built-in value references. */ -var _Symbol = global.Symbol; +var Symbol = global.Symbol; /** Used to convert symbols to primitives and strings. */ -var symbolProto = _Symbol ? _Symbol.prototype : undefined, - symbolToString = _Symbol ? symbolProto.toString : undefined; +var symbolProto = Symbol ? Symbol.prototype : undefined, + symbolToString = Symbol ? symbolProto.toString : undefined; /** * Creates a function like `_.round`. @@ -121,8 +121,6 @@ function isFunction(value) { * // => false */ function isObject(value) { - // Avoid a V8 JIT bug in Chrome 19-20. - // See https://code.google.com/p/v8/issues/detail?id=2291 for more details. var type = typeof value; return !!value && (type == 'object' || type == 'function'); } @@ -278,7 +276,7 @@ function toString(value) { return ''; } if (isSymbol(value)) { - return _Symbol ? symbolToString.call(value) : ''; + return Symbol ? symbolToString.call(value) : ''; } var result = (value + ''); return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; diff --git a/lodash.ceil/package.json b/lodash.ceil/package.json index 152e3c5ca..7718bf48f 100644 --- a/lodash.ceil/package.json +++ b/lodash.ceil/package.json @@ -1,6 +1,6 @@ { "name": "lodash.ceil", - "version": "3.10.1", + "version": "3.10.2", "description": "The lodash method `_.ceil` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", diff --git a/lodash.floor/README.md b/lodash.floor/README.md index ad6ac2c18..73260037c 100644 --- a/lodash.floor/README.md +++ b/lodash.floor/README.md @@ -1,4 +1,4 @@ -# lodash.floor v3.10.1 +# lodash.floor v3.10.2 The [lodash](https://lodash.com/) method `_.floor` exported as a [Node.js](https://nodejs.org/) module. @@ -15,4 +15,4 @@ In Node.js: var floor = require('lodash.floor'); ``` -See the [documentation](https://lodash.com/docs#floor) or [package source](https://github.com/lodash/lodash/blob/3.10.1-npm-packages/lodash.floor) for more details. +See the [documentation](https://lodash.com/docs#floor) or [package source](https://github.com/lodash/lodash/blob/3.10.2-npm-packages/lodash.floor) for more details. diff --git a/lodash.floor/index.js b/lodash.floor/index.js index 24ce914a7..c4a2c80fb 100644 --- a/lodash.floor/index.js +++ b/lodash.floor/index.js @@ -1,5 +1,5 @@ /** - * lodash 3.10.1 (Custom Build) + * lodash 3.10.2 (Custom Build) * Build: `lodash modularize exports="npm" -o ./` * Copyright 2012-2016 The Dojo Foundation * Based on Underscore.js 1.8.3 @@ -42,11 +42,11 @@ var objectProto = global.Object.prototype; var objectToString = objectProto.toString; /** Built-in value references. */ -var _Symbol = global.Symbol; +var Symbol = global.Symbol; /** Used to convert symbols to primitives and strings. */ -var symbolProto = _Symbol ? _Symbol.prototype : undefined, - symbolToString = _Symbol ? symbolProto.toString : undefined; +var symbolProto = Symbol ? Symbol.prototype : undefined, + symbolToString = Symbol ? symbolProto.toString : undefined; /** * Creates a function like `_.round`. @@ -121,8 +121,6 @@ function isFunction(value) { * // => false */ function isObject(value) { - // Avoid a V8 JIT bug in Chrome 19-20. - // See https://code.google.com/p/v8/issues/detail?id=2291 for more details. var type = typeof value; return !!value && (type == 'object' || type == 'function'); } @@ -278,7 +276,7 @@ function toString(value) { return ''; } if (isSymbol(value)) { - return _Symbol ? symbolToString.call(value) : ''; + return Symbol ? symbolToString.call(value) : ''; } var result = (value + ''); return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; diff --git a/lodash.floor/package.json b/lodash.floor/package.json index 548e2d1cb..ba97695f0 100644 --- a/lodash.floor/package.json +++ b/lodash.floor/package.json @@ -1,6 +1,6 @@ { "name": "lodash.floor", - "version": "3.10.1", + "version": "3.10.2", "description": "The lodash method `_.floor` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", diff --git a/lodash.round/README.md b/lodash.round/README.md index bd9d13c46..af3ecea2e 100644 --- a/lodash.round/README.md +++ b/lodash.round/README.md @@ -1,4 +1,4 @@ -# lodash.round v3.10.1 +# lodash.round v3.10.2 The [lodash](https://lodash.com/) method `_.round` exported as a [Node.js](https://nodejs.org/) module. @@ -15,4 +15,4 @@ In Node.js: var round = require('lodash.round'); ``` -See the [documentation](https://lodash.com/docs#round) or [package source](https://github.com/lodash/lodash/blob/3.10.1-npm-packages/lodash.round) for more details. +See the [documentation](https://lodash.com/docs#round) or [package source](https://github.com/lodash/lodash/blob/3.10.2-npm-packages/lodash.round) for more details. diff --git a/lodash.round/index.js b/lodash.round/index.js index 641747329..b8e2760e9 100644 --- a/lodash.round/index.js +++ b/lodash.round/index.js @@ -1,5 +1,5 @@ /** - * lodash 3.10.1 (Custom Build) + * lodash 3.10.2 (Custom Build) * Build: `lodash modularize exports="npm" -o ./` * Copyright 2012-2016 The Dojo Foundation * Based on Underscore.js 1.8.3 @@ -42,11 +42,11 @@ var objectProto = global.Object.prototype; var objectToString = objectProto.toString; /** Built-in value references. */ -var _Symbol = global.Symbol; +var Symbol = global.Symbol; /** Used to convert symbols to primitives and strings. */ -var symbolProto = _Symbol ? _Symbol.prototype : undefined, - symbolToString = _Symbol ? symbolProto.toString : undefined; +var symbolProto = Symbol ? Symbol.prototype : undefined, + symbolToString = Symbol ? symbolProto.toString : undefined; /** * Creates a function like `_.round`. @@ -121,8 +121,6 @@ function isFunction(value) { * // => false */ function isObject(value) { - // Avoid a V8 JIT bug in Chrome 19-20. - // See https://code.google.com/p/v8/issues/detail?id=2291 for more details. var type = typeof value; return !!value && (type == 'object' || type == 'function'); } @@ -278,7 +276,7 @@ function toString(value) { return ''; } if (isSymbol(value)) { - return _Symbol ? symbolToString.call(value) : ''; + return Symbol ? symbolToString.call(value) : ''; } var result = (value + ''); return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; diff --git a/lodash.round/package.json b/lodash.round/package.json index 06eb4a28e..de00437cb 100644 --- a/lodash.round/package.json +++ b/lodash.round/package.json @@ -1,6 +1,6 @@ { "name": "lodash.round", - "version": "3.10.1", + "version": "3.10.2", "description": "The lodash method `_.round` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg",