mirror of
https://github.com/mblanke/ThreatHunt.git
synced 2026-03-02 06:10:21 -05:00
CLAUDE branch
i made have screwed the pooch with this
This commit is contained in:
19
frontend/node_modules/jsx-ast-utils/lib/values/expressions/FunctionExpression.js
generated
vendored
Normal file
19
frontend/node_modules/jsx-ast-utils/lib/values/expressions/FunctionExpression.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = extractValueFromFunctionExpression;
|
||||
/**
|
||||
* Extractor function for a FunctionExpression type value node.
|
||||
* Statically, we can't execute the given function, so just return a function
|
||||
* to indicate that the value is present.
|
||||
*
|
||||
* @param - value - AST Value object with type `FunctionExpression`
|
||||
* @returns - The extracted value converted to correct type.
|
||||
*/
|
||||
function extractValueFromFunctionExpression(value) {
|
||||
return function () {
|
||||
return value;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user