Permalink
Cannot retrieve contributors at this time
20 lines (18 sloc)
645 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/lodash/_setData.js
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var baseSetData = require('./_baseSetData'), | |
shortOut = require('./_shortOut'); | |
/** | |
* Sets metadata for `func`. | |
* | |
* **Note:** If this function becomes hot, i.e. is invoked a lot in a short | |
* period of time, it will trip its breaker and transition to an identity | |
* function to avoid garbage collection pauses in V8. See | |
* [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070) | |
* for more details. | |
* | |
* @private | |
* @param {Function} func The function to associate metadata with. | |
* @param {*} data The metadata. | |
* @returns {Function} Returns `func`. | |
*/ | |
var setData = shortOut(baseSetData); | |
module.exports = setData; |