Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9338881
try-node-require.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
257 B
Subscribers
None
try-node-require.js
View Options
var
IS_NODE
=
require
(
'../internals/engine-is-node'
);
module
.
exports
=
function
(
name
)
{
try
{
// eslint-disable-next-line no-new-func -- safe
if
(
IS_NODE
)
return
Function
(
'return require("'
+
name
+
'")'
)();
}
catch
(
error
)
{
/* empty */
}
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 4 2025, 9:13 AM (6 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3367826
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment