Update checked-in dependencies
This commit is contained in:
parent
7fdbca3ba3
commit
357e0ceaa9
360 changed files with 25673 additions and 917 deletions
18
node_modules/is-node-process/lib/index.mjs
generated
vendored
Normal file
18
node_modules/is-node-process/lib/index.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// src/index.ts
|
||||
function isNodeProcess() {
|
||||
if (typeof navigator !== "undefined" && navigator.product === "ReactNative") {
|
||||
return true;
|
||||
}
|
||||
if (typeof process !== "undefined") {
|
||||
const type = process.type;
|
||||
if (type === "renderer" || type === "worker") {
|
||||
return false;
|
||||
}
|
||||
return !!(process.versions && process.versions.node);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
export {
|
||||
isNodeProcess
|
||||
};
|
||||
//# sourceMappingURL=index.mjs.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue