Added the node modules.
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 33s
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 33s
This commit is contained in:
9
node_modules/universal-user-agent/dist-src/index.js
generated
vendored
Normal file
9
node_modules/universal-user-agent/dist-src/index.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
export function getUserAgent() {
|
||||
if (typeof navigator === "object" && "userAgent" in navigator) {
|
||||
return navigator.userAgent;
|
||||
}
|
||||
if (typeof process === "object" && process.version !== undefined) {
|
||||
return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;
|
||||
}
|
||||
return "<environment undetectable>";
|
||||
}
|
Reference in New Issue
Block a user