lodash._setbinddata
Advanced tools
Comparing version 2.1.0 to 2.2.0
18
index.js
/** | ||
* Lo-Dash 2.1.0 (Custom Build) <http://lodash.com/> | ||
* Lo-Dash 2.2.0 (Custom Build) <http://lodash.com/> | ||
* Build: `lodash modularize modern exports="npm" -o ./npm` | ||
@@ -9,7 +9,13 @@ * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> | ||
*/ | ||
var getObject = require('lodash._getobject'), | ||
noop = require('lodash._noop'), | ||
reNative = require('lodash._renative'), | ||
releaseObject = require('lodash._releaseobject'); | ||
var noop = require('lodash._noop'), | ||
reNative = require('lodash._renative'); | ||
/** Used as the property descriptor for `__bindData__` */ | ||
var descriptor = { | ||
'configurable': false, | ||
'enumerable': false, | ||
'value': null, | ||
'writable': false | ||
}; | ||
/** Used for native method references */ | ||
@@ -35,8 +41,6 @@ var objectProto = Object.prototype; | ||
var setBindData = !defineProperty ? noop : function(func, value) { | ||
var descriptor = getObject(); | ||
descriptor.value = value; | ||
defineProperty(func, '__bindData__', descriptor); | ||
releaseObject(descriptor); | ||
}; | ||
module.exports = setBindData; |
{ | ||
"name": "lodash._setbinddata", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "The internal Lo-Dash function `setBindData` as a Node.js module generated by lodash-cli.", | ||
"homepage": "http://lodash.com/custom-builds", | ||
"license": "MIT", | ||
"keywords": ["functional", "lodash", "lodash-modularized", "performance", "speed", "util"], | ||
"author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
@@ -18,7 +17,5 @@ "contributors": [ | ||
"dependencies": { | ||
"lodash._getobject": "~2.1.0", | ||
"lodash._noop": "~2.1.0", | ||
"lodash._renative": "~2.1.0", | ||
"lodash._releaseobject": "~2.1.0" | ||
"lodash._noop": "~2.2.0", | ||
"lodash._renative": "~2.2.0" | ||
} | ||
} |
@@ -1,9 +0,5 @@ | ||
# lodash._setbinddata v2.1.0 | ||
# lodash._setbinddata v2.2.0 | ||
The internal Lo-Dash function `setBindData` as a Node.js module generated by lodash-cli. | ||
The internal [Lo-Dash](http://lodash.com/) function `setBindData` as a [Node.js](http://nodejs.org/) module generated by [lodash-cli](https://npmjs.org/package/lodash-cli). | ||
## Dive in | ||
There’s plenty of [documentation](http://lodash.com/docs), [unit tests](http://lodash.com/tests), & [benchmarks](http://lodash.com/benchmarks). | ||
## Support | ||
@@ -10,0 +6,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
39
4543
20
+ Addedlodash._noop@2.2.1(transitive)
+ Addedlodash._renative@2.2.1(transitive)
- Removedlodash._getobject@~2.1.0
- Removedlodash._releaseobject@~2.1.0
- Removedlodash._getobject@2.1.0(transitive)
- Removedlodash._maxpoolsize@2.1.0(transitive)
- Removedlodash._noop@2.1.0(transitive)
- Removedlodash._objectpool@2.1.0(transitive)
- Removedlodash._releaseobject@2.1.0(transitive)
- Removedlodash._renative@2.1.0(transitive)
Updatedlodash._noop@~2.2.0
Updatedlodash._renative@~2.2.0