diff --git a/README.md b/README.md index 37cfa002c..306affbe4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lodash v3.9.0 +# lodash v3.9.1 The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash](https://lodash.com/) exported as [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) modules. @@ -28,7 +28,7 @@ var array = require('lodash/array'); var chunk = require('lodash/array/chunk'); ``` -See the [package source](https://github.com/lodash/lodash/tree/3.9.0-npm) for more details. +See the [package source](https://github.com/lodash/lodash/tree/3.9.1-npm) for more details. **Note:**
Don’t assign values to the [special variable](http://nodejs.org/api/repl.html#repl_repl_features) `_` when in the REPL.
@@ -39,8 +39,8 @@ Install [n_](https://www.npmjs.com/package/n_) for a REPL that includes lodash b lodash is also available in a variety of other builds & module formats. * npm packages for [modern](https://www.npmjs.com/package/lodash), [compatibility](https://www.npmjs.com/package/lodash-compat), & [per method](https://www.npmjs.com/browse/keyword/lodash-modularized) builds - * AMD modules for [modern](https://github.com/lodash/lodash/tree/3.9.0-amd) & [compatibility](https://github.com/lodash/lodash-compat/tree/3.9.0-amd) builds - * ES modules for the [modern](https://github.com/lodash/lodash/tree/3.9.0-es) build + * AMD modules for [modern](https://github.com/lodash/lodash/tree/3.9.1-amd) & [compatibility](https://github.com/lodash/lodash-compat/tree/3.9.1-amd) builds + * ES modules for the [modern](https://github.com/lodash/lodash/tree/3.9.1-es) build ## Further Reading diff --git a/index.js b/index.js index 50464044c..4c3531643 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ /** * @license - * lodash 3.9.0 (Custom Build) + * lodash 3.9.1 (Custom Build) * Build: `lodash modern -d -o ./index.js` * Copyright 2012-2015 The Dojo Foundation * Based on Underscore.js 1.8.3 @@ -13,7 +13,7 @@ var undefined; /** Used as the semantic version number. */ - var VERSION = '3.9.0'; + var VERSION = '3.9.1'; /** Used to compose bitmasks for wrapper metadata. */ var BIND_FLAG = 1, diff --git a/internal/SetCache.js b/internal/SetCache.js index b6e1a3ec9..ae29c55bf 100644 --- a/internal/SetCache.js +++ b/internal/SetCache.js @@ -2,7 +2,7 @@ var cachePush = require('./cachePush'), getNative = require('./getNative'); /** Native method references. */ -var Set = getNative(root, 'Set'); +var Set = getNative(global, 'Set'); /* Native method references for those with the same name as other `lodash` methods. */ var nativeCreate = getNative(Object, 'create'); diff --git a/internal/bufferClone.js b/internal/bufferClone.js index fe8ca944a..ba10802db 100644 --- a/internal/bufferClone.js +++ b/internal/bufferClone.js @@ -2,10 +2,10 @@ var constant = require('../utility/constant'), getNative = require('./getNative'); /** Native method references. */ -var ArrayBuffer = getNative(root, 'ArrayBuffer'), +var ArrayBuffer = getNative(global, 'ArrayBuffer'), bufferSlice = getNative(ArrayBuffer && new ArrayBuffer(0), 'slice'), floor = Math.floor, - Uint8Array = getNative(root, 'Uint8Array'); + Uint8Array = getNative(global, 'Uint8Array'); /** Used to clone array buffers. */ var Float64Array = (function() { @@ -13,7 +13,7 @@ var Float64Array = (function() { // where the array buffer's `byteLength` is not a multiple of the typed // array's `BYTES_PER_ELEMENT`. try { - var func = getNative(root, 'Float64Array'), + var func = getNative(global, 'Float64Array'), result = new func(new ArrayBuffer(10), 0, 1) && func; } catch(e) {} return result || null; diff --git a/internal/createCache.js b/internal/createCache.js index cfe3e5473..012cab1b6 100644 --- a/internal/createCache.js +++ b/internal/createCache.js @@ -3,7 +3,7 @@ var SetCache = require('./SetCache'), getNative = require('./getNative'); /** Native method references. */ -var Set = getNative(root, 'Set'); +var Set = getNative(global, 'Set'); /* Native method references for those with the same name as other `lodash` methods. */ var nativeCreate = getNative(Object, 'create'); diff --git a/internal/metaMap.js b/internal/metaMap.js index 017577494..59bfd5f96 100644 --- a/internal/metaMap.js +++ b/internal/metaMap.js @@ -1,7 +1,7 @@ var getNative = require('./getNative'); /** Native method references. */ -var WeakMap = getNative(root, 'WeakMap'); +var WeakMap = getNative(global, 'WeakMap'); /** Used to store function metadata. */ var metaMap = WeakMap && new WeakMap; diff --git a/lang/isFunction.js b/lang/isFunction.js index a691ee06c..114a4dff5 100644 --- a/lang/isFunction.js +++ b/lang/isFunction.js @@ -14,7 +14,7 @@ var objectProto = Object.prototype; var objToString = objectProto.toString; /** Native method references. */ -var Uint8Array = getNative(root, 'Uint8Array'); +var Uint8Array = getNative(global, 'Uint8Array'); /** * Checks if `value` is classified as a `Function` object. diff --git a/package.json b/package.json index c55b8aef4..fcc543e4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lodash", - "version": "3.9.0", + "version": "3.9.1", "description": "The modern build of lodash modular utilities.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg",