web3-core-requestmanager
Advanced tools
Comparing version 1.7.0 to 1.7.1-rc.0
@@ -26,9 +26,11 @@ /* | ||
/* jshint ignore:start */ | ||
var global; | ||
try { | ||
global = Function('return this')(); | ||
var global = typeof globalThis === 'object' ? globalThis : undefined; | ||
if (!global) { | ||
try { | ||
global = Function('return this')(); | ||
} | ||
catch (e) { | ||
global = self; | ||
} | ||
} | ||
catch (e) { | ||
global = window; | ||
} | ||
// EIP-1193: window.ethereum | ||
@@ -35,0 +37,0 @@ if (typeof global.ethereum !== 'undefined') { |
{ | ||
"name": "web3-core-requestmanager", | ||
"version": "1.7.0", | ||
"version": "1.7.1-rc.0", | ||
"description": "Web3 module to handle requests to external providers.", | ||
@@ -16,8 +16,8 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-requestmanager", | ||
"util": "^0.12.0", | ||
"web3-core-helpers": "1.7.0", | ||
"web3-providers-http": "1.7.0", | ||
"web3-providers-ipc": "1.7.0", | ||
"web3-providers-ws": "1.7.0" | ||
"web3-core-helpers": "1.7.1-rc.0", | ||
"web3-providers-http": "1.7.1-rc.0", | ||
"web3-providers-ipc": "1.7.1-rc.0", | ||
"web3-providers-ws": "1.7.1-rc.0" | ||
}, | ||
"gitHead": "cd4b4d13e7e1d973ceee29c118798d4931860a2b" | ||
"gitHead": "40cfea7e9f796e44574252dcdce9e4cf4eedf3bf" | ||
} |
@@ -29,7 +29,9 @@ /* | ||
/* jshint ignore:start */ | ||
var global; | ||
try { | ||
global = Function('return this')(); | ||
} catch (e) { | ||
global = window; | ||
var global = typeof globalThis === 'object' ? globalThis : undefined; | ||
if(!global) { | ||
try { | ||
global = Function('return this')(); | ||
} catch (e) { | ||
global = self; | ||
} | ||
} | ||
@@ -36,0 +38,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
41844
1064
2
1
+ Addedweb3-core-helpers@1.7.1-rc.0(transitive)
+ Addedweb3-eth-iban@1.7.1-rc.0(transitive)
+ Addedweb3-providers-http@1.7.1-rc.0(transitive)
+ Addedweb3-providers-ipc@1.7.1-rc.0(transitive)
+ Addedweb3-providers-ws@1.7.1-rc.0(transitive)
+ Addedweb3-utils@1.7.1-rc.0(transitive)
- Removedweb3-core-helpers@1.7.0(transitive)
- Removedweb3-eth-iban@1.7.0(transitive)
- Removedweb3-providers-http@1.7.0(transitive)
- Removedweb3-providers-ipc@1.7.0(transitive)
- Removedweb3-providers-ws@1.7.0(transitive)
- Removedweb3-utils@1.7.0(transitive)
Updatedweb3-core-helpers@1.7.1-rc.0
Updatedweb3-providers-ws@1.7.1-rc.0