@loki/is-loki-running
Advanced tools
Comparing version 0.22.0 to 0.23.0
{ | ||
"name": "@loki/is-loki-running", | ||
"version": "0.22.0", | ||
"version": "0.23.0", | ||
"description": "Loki test indicator", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "0afc976871107720e6eddcf70f5a582a9dc958b0" | ||
"gitHead": "510fd0501e27efde006d906b60a0cf1e41c49015" | ||
} |
module.exports = function isLokiRunning(win = global) { | ||
// eslint-disable-next-line no-underscore-dangle | ||
return Boolean(win.loki && win.loki.isRunning); | ||
}; |
/* eslint-env browser */ | ||
module.exports = function isLokiRunning(win = window) { | ||
// eslint-disable-next-line no-underscore-dangle | ||
return Boolean(win.loki && win.loki.isRunning); | ||
}; |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
1975
7