UEA-Prodem
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
const nodeAdapter = () => {
|
||||
if (typeof globalThis.navigator === "undefined") {
|
||||
globalThis.navigator = {
|
||||
userAgent: "Node.js"
|
||||
};
|
||||
} else {
|
||||
Object.defineProperty(globalThis.navigator, "userAgent", {
|
||||
value: "Node.js",
|
||||
writable: false
|
||||
});
|
||||
}
|
||||
return {
|
||||
env: process.env
|
||||
};
|
||||
};
|
||||
var node_default = nodeAdapter;
|
||||
export {
|
||||
node_default as default,
|
||||
nodeAdapter
|
||||
};
|
||||
Reference in New Issue
Block a user