web3-providers-ws
Advanced tools
Comparing version 1.2.11 to 1.3.0-rc.0
{ | ||
"name": "web3-providers-ws", | ||
"version": "1.2.11", | ||
"version": "1.3.0-rc.0", | ||
"description": "Module to handle web3 RPC connections over WebSockets.", | ||
@@ -11,11 +11,12 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-providers-ws", | ||
"scripts": { | ||
"tsc": "tsc -b tsconfig.json", | ||
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types" | ||
}, | ||
"types": "types/index.d.ts", | ||
"main": "src/index.js", | ||
"main": "lib/index.js", | ||
"dependencies": { | ||
"eventemitter3": "4.0.4", | ||
"underscore": "1.9.1", | ||
"web3-core-helpers": "1.2.11", | ||
"websocket": "^1.0.31" | ||
"web3-core-helpers": "1.3.0-rc.0", | ||
"websocket": "^1.0.32" | ||
}, | ||
@@ -26,3 +27,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "87e668275ac7d9b8af7c909137fc0626c3866929" | ||
"gitHead": "83c9f65c7cb3b4f4532f890ec5a3608fd1879e35" | ||
} |
var isNode = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]'; | ||
var isRN = typeof navigator !== 'undefined' && navigator.product === 'ReactNative'; | ||
var _btoa = null; | ||
var helpers = null; | ||
if (isNode) { | ||
if (isNode || isRN) { | ||
_btoa = function(str) { | ||
@@ -7,0 +8,0 @@ return Buffer.from(str).toString('base64'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32542
12
879
2
1
+ Addedweb3-core-helpers@1.3.0-rc.0(transitive)
+ Addedweb3-eth-iban@1.3.0-rc.0(transitive)
+ Addedweb3-utils@1.3.0-rc.0(transitive)
- Removedweb3-core-helpers@1.2.11(transitive)
- Removedweb3-eth-iban@1.2.11(transitive)
- Removedweb3-utils@1.2.11(transitive)
Updatedweb3-core-helpers@1.3.0-rc.0
Updatedwebsocket@^1.0.32