lodash.once
Advanced tools
Comparing version 3.0.1 to 4.0.0
12
index.js
/** | ||
* lodash 3.0.1 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
* lodash 4.0.0 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | ||
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
* Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
* Available under MIT license <https://lodash.com/license> | ||
@@ -13,4 +13,4 @@ */ | ||
* Creates a function that is restricted to invoking `func` once. Repeat calls | ||
* to the function return the value of the first call. The `func` is invoked | ||
* with the `this` binding and arguments of the created function. | ||
* to the function return the value of the first invocation. The `func` is | ||
* invoked with the `this` binding and arguments of the created function. | ||
* | ||
@@ -17,0 +17,0 @@ * @static |
{ | ||
"name": "lodash.once", | ||
"version": "3.0.1", | ||
"description": "The modern build of lodash’s `_.once` as a module.", | ||
"version": "4.0.0", | ||
"description": "The lodash method `_.once` exported as a module.", | ||
"homepage": "https://lodash.com/", | ||
"icon": "https://lodash.com/icon.svg", | ||
"license": "MIT", | ||
"keywords": "lodash, lodash-modularized, stdlib, util", | ||
"keywords": "lodash, lodash-modularized, stdlib, util, once", | ||
"author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
"contributors": [ | ||
"John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
"Benjamin Tan <demoneaux@gmail.com> (https://d10.github.io/)", | ||
"Blaine Bublitz <blaine@iceddev.com> (http://www.iceddev.com/)", | ||
"Kit Cambridge <github@kitcambridge.be> (http://kitcambridge.be/)", | ||
"Blaine Bublitz <blaine@iceddev.com> (https://github.com/phated)", | ||
"Mathias Bynens <mathias@qiwi.be> (https://mathiasbynens.be/)" | ||
@@ -20,4 +18,4 @@ ], | ||
"dependencies": { | ||
"lodash.before": "^3.0.0" | ||
"lodash.before": "^4.0.0" | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
# lodash.once v3.0.1 | ||
# lodash.once v4.0.0 | ||
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.once` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
The [lodash](https://lodash.com/) method `_.once` exported as a [Node.js](https://nodejs.org/) module. | ||
@@ -8,3 +8,2 @@ ## Installation | ||
Using npm: | ||
```bash | ||
@@ -15,4 +14,3 @@ $ {sudo -H} npm i -g npm | ||
In Node.js/io.js: | ||
In Node.js: | ||
```js | ||
@@ -22,2 +20,2 @@ var once = require('lodash.once'); | ||
See the [documentation](https://lodash.com/docs#once) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.once) for more details. | ||
See the [documentation](https://lodash.com/docs#once) or [package source](https://github.com/lodash/lodash/blob/4.0.0-npm-packages/lodash.once) for more details. |
3542
19
+ Addedlodash.before@4.0.4(transitive)
- Removedlodash.before@3.0.3(transitive)
Updatedlodash.before@^4.0.0