@common-stack/core
Advanced tools
Comparing version 6.0.8-alpha.21 to 6.0.8-alpha.23
@@ -5,3 +5,3 @@ import'envalid';/* eslint-disable no-nested-ternary */ | ||
// @ts-ignore | ||
const getGlobals = () => typeof window !== 'undefined' ? window : process.env.SERVER_ENV === 'production' ? process.env : global; | ||
const getGlobals = () => typeof window !== 'undefined' ? window : process.env.SERVER_ENV === 'cloudflare' ? process.env : global; | ||
const getGlobalVariable = (key, _default = undefined) => { | ||
@@ -8,0 +8,0 @@ const globals = getGlobals(); |
{ | ||
"name": "@common-stack/core", | ||
"version": "6.0.8-alpha.21", | ||
"version": "6.0.8-alpha.23", | ||
"description": "Common core for higher packages to depend on", | ||
@@ -26,3 +26,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "e39de8e8c24fda15388b81452c7e85737ba35f07", | ||
"gitHead": "43edc2f448dd53fb141f5c968f1eabfe3295c78f", | ||
"typescript": { | ||
@@ -29,0 +29,0 @@ "definition": "lib/index.d.ts" |
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package