Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/x-global

Package Overview
Dependencies
Maintainers
2
Versions
633
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/x-global - npm Package Compare versions

Comparing version 9.3.1 to 9.3.2-0

4

cjs/index.js

@@ -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 @@ }

2

cjs/packageInfo.js

@@ -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'
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc