@polkadot/x-global
Advanced tools
Comparing version 9.3.1 to 9.3.2-0
@@ -28,2 +28,6 @@ "use strict"; | ||
function extractGlobal(name, fallback) { | ||
// Not quite sure why this is here - snuck in with TS 4.7.2 with no real idea | ||
// (as of now) as to why this looks like an "any" when we do cast it to a T | ||
// | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return | ||
return typeof xglobal[name] === 'undefined' ? fallback : xglobal[name]; | ||
@@ -30,0 +34,0 @@ } |
@@ -14,4 +14,4 @@ "use strict"; | ||
type: 'cjs', | ||
version: '9.3.1' | ||
version: '9.3.2-0' | ||
}; | ||
exports.packageInfo = packageInfo; |
@@ -11,2 +11,6 @@ // Copyright 2017-2022 @polkadot/x-global authors & contributors | ||
export function extractGlobal(name, fallback) { | ||
// Not quite sure why this is here - snuck in with TS 4.7.2 with no real idea | ||
// (as of now) as to why this looks like an "any" when we do cast it to a T | ||
// | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return | ||
return typeof xglobal[name] === 'undefined' ? fallback : xglobal[name]; | ||
@@ -13,0 +17,0 @@ } |
@@ -20,3 +20,3 @@ { | ||
"type": "module", | ||
"version": "9.3.1", | ||
"version": "9.3.2-0", | ||
"main": "./cjs/index.js", | ||
@@ -23,0 +23,0 @@ "module": "./index.js", |
@@ -8,3 +8,3 @@ // Copyright 2017-2022 @polkadot/x-global authors & contributors | ||
type: 'esm', | ||
version: '9.3.1' | ||
version: '9.3.2-0' | ||
}; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5086
84
1