chore: use libraries to generate coverage report (#1876)

This commit is contained in:
André Medeiros 2019-09-09 08:47:22 -04:00 committed by GitHub
parent 8779476ac0
commit 2900e04cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 286 additions and 31 deletions

View File

@ -141,6 +141,7 @@ export class ContractEnhanced {
this.coverage.fnMap[coverageId] = {
line,
loc: location,
decl: location,
name,
};
this.coverage.f[coverageId] = 0;

View File

@ -26,6 +26,7 @@ export interface Coverage {
[functionId: number]: {
line: number;
loc: Location;
decl: Location;
name: string;
skip?: boolean;
};

View File

@ -56,7 +56,10 @@
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
"fs-extra": "7.0.1",
"istanbul": "0.4.5",
"istanbul-lib-coverage": "2.0.5",
"istanbul-lib-report": "2.0.8",
"istanbul-reports": "2.2.4",
"mocha": "6.2.0",
"open": "6.4.0"
},
"devDependencies": {

View File

@ -2,9 +2,13 @@ import { __ } from 'embark-i18n';
const async = require('async');
const chalk = require('chalk');
const path = require('path');
const { embarkPath, dappPath, runCmd } = require('embark-utils');
const { dappPath } = require('embark-utils');
import { COVERAGE_GAS_LIMIT, GAS_LIMIT } from './constants';
const coverage = require('istanbul-lib-coverage');
const reporter = require('istanbul-lib-report');
const reports = require('istanbul-reports');
const Reporter = require('./reporter');
class TestRunner {
@ -62,14 +66,6 @@ class TestRunner {
async.series(runnerFns, next);
},
(_results, next) => {
if (!options.coverage) {
return next();
}
const cmd = `${embarkPath('node_modules/.bin/istanbul')} report --root .embark --format html --format lcov`;
runCmd(cmd, {silent: false, exitOnError: false}, next);
}
], (err) => {
reporter.footer();
@ -77,19 +73,37 @@ class TestRunner {
return cb(err, reporter.passes, reporter.fails);
}
process.stdout.write(chalk`{blue Coverage report created. You can find it here:}\n{white.underline ${dappPath('coverage/index.html')}}\n`);
try {
this.generateCoverageReport();
process.stdout.write(chalk`{blue Coverage report created. You can find it here:}\n{white.underline ${dappPath('coverage/index.html')}}\n`);
if (options.noBrowser) {
return cb(err, reporter.passes, reporter.fails);
}
if (options.noBrowser) {
return cb(err, reporter.passes, reporter.fails);
}
const open = require('open');
open(dappPath('coverage/index.html')).then(() => {
const open = require('open');
open(dappPath('coverage/index.html')).then(() => {
cb(err, reporter.passes, reporter.fails);
});
} catch(err) {
process.stdout.write(chalk`{red Coverage report could not be created:}\n{white ${err.message}}\n`);
cb(err, reporter.passes, reporter.fails);
});
}
});
}
generateCoverageReport() {
const coveragePath = dappPath(".embark", "coverage.json");
const coverageMap = JSON.parse(fs.readFileSync(coveragePath));
const map = coverage.createCoverageMap(coverageMap);
const tree = reporter.summarizers.nested(map);
const ctx = reporter.createContext({ dir: 'coverage' });
const report = reports.create('html', { skipEmpty: false, skipFull: false });
tree.visit(report, ctx);
}
getFilesFromDir(filePath, cb) {
const {fs} = this;

264
yarn.lock
View File

@ -11361,16 +11361,16 @@ istanbul-api@^1.3.1:
mkdirp "^0.5.1"
once "^1.4.0"
istanbul-lib-coverage@2.0.5, istanbul-lib-coverage@^2.0.1, istanbul-lib-coverage@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz#675f0ab69503fad4b1d849f736baaca803344f49"
integrity sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==
istanbul-lib-coverage@^1.2.0, istanbul-lib-coverage@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz#ccf7edcd0a0bb9b8f729feeb0930470f9af664f0"
integrity sha512-PzITeunAgyGbtY1ibVIUiV679EFChHjoMNRibEIobvmrCRaIgwLxNucOSimtNWUhEib/oO7QY2imD75JVgCJWQ==
istanbul-lib-coverage@^2.0.1, istanbul-lib-coverage@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz#675f0ab69503fad4b1d849f736baaca803344f49"
integrity sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==
istanbul-lib-hook@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.2.2.tgz#bc6bf07f12a641fbf1c85391d0daa8f0aea6bf86"
@ -11411,6 +11411,15 @@ istanbul-lib-instrument@^3.0.0:
istanbul-lib-coverage "^2.0.5"
semver "^6.0.0"
istanbul-lib-report@2.0.8, istanbul-lib-report@^2.0.2:
version "2.0.8"
resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz#5a8113cd746d43c4889eba36ab10e7d50c9b4f33"
integrity sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ==
dependencies:
istanbul-lib-coverage "^2.0.5"
make-dir "^2.1.0"
supports-color "^6.1.0"
istanbul-lib-report@^1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz#f2a657fc6282f96170aaf281eb30a458f7f4170c"
@ -11421,15 +11430,6 @@ istanbul-lib-report@^1.1.5:
path-parse "^1.0.5"
supports-color "^3.1.2"
istanbul-lib-report@^2.0.2:
version "2.0.8"
resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz#5a8113cd746d43c4889eba36ab10e7d50c9b4f33"
integrity sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ==
dependencies:
istanbul-lib-coverage "^2.0.5"
make-dir "^2.1.0"
supports-color "^6.1.0"
istanbul-lib-source-maps@^1.2.4, istanbul-lib-source-maps@^1.2.6:
version "1.2.6"
resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.6.tgz#37b9ff661580f8fca11232752ee42e08c6675d8f"
@ -11452,6 +11452,13 @@ istanbul-lib-source-maps@^2.0.1:
rimraf "^2.6.2"
source-map "^0.6.1"
istanbul-reports@2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-2.2.4.tgz#4e0d0ddf0f0ad5b49a314069d31b4f06afe49ad3"
integrity sha512-QCHGyZEK0bfi9GR215QSm+NJwFKEShbtc7tfbUdLAEzn3kKhLDDZqvljn8rPZM9v8CEOhzL1nlYoO4r1ryl67w==
dependencies:
handlebars "^4.1.2"
istanbul-reports@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.5.1.tgz#97e4dbf3b515e8c484caea15d6524eebd3ff4e1a"
@ -20355,6 +20362,15 @@ web3-bzz@1.0.0-beta.36:
swarm-js "0.1.37"
underscore "1.8.3"
web3-bzz@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.0.0-beta.37.tgz#59e3e4f5a9d732731008fe9165c3ec8bf85d502f"
integrity sha512-E+dho49Nsm/QpQvYWOF35YDsQrMvLB19AApENxhlQsu6HpWQt534DQul0t3Y/aAh8rlKD6Kanxt8LhHDG3vejQ==
dependencies:
got "7.1.0"
swarm-js "0.1.37"
underscore "1.8.3"
web3-bzz@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.2.1.tgz#c3bd1e8f0c02a13cd6d4e3c3e9e1713f144f6f0d"
@ -20382,6 +20398,15 @@ web3-core-helpers@1.0.0-beta.36:
web3-eth-iban "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3-core-helpers@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.37.tgz#04ec354b7f5c57234c309eea2bda9bf1f2fe68ba"
integrity sha512-efaLOzN28RMnbugnyelgLwPWWaSwElQzcAJ/x3PZu+uPloM/lE5x0YuBKvIh7/PoSMlHqtRWj1B8CpuQOUQ5Ew==
dependencies:
underscore "1.8.3"
web3-eth-iban "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3-core-helpers@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.2.1.tgz#f5f32d71c60a4a3bd14786118e633ce7ca6d5d0d"
@ -20413,6 +20438,17 @@ web3-core-method@1.0.0-beta.36:
web3-core-subscriptions "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3-core-method@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.0.0-beta.37.tgz#53d148e63f818b23461b26307afdfbdaa9457744"
integrity sha512-pKWFUeqnVmzx3VrZg+CseSdrl/Yrk2ioid/HzolNXZE6zdoITZL0uRjnsbqXGEzgRRd1Oe/pFndpTlRsnxXloA==
dependencies:
underscore "1.8.3"
web3-core-helpers "1.0.0-beta.37"
web3-core-promievent "1.0.0-beta.37"
web3-core-subscriptions "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3-core-method@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.2.1.tgz#9df1bafa2cd8be9d9937e01c6a47fc768d15d90a"
@ -20440,6 +20476,14 @@ web3-core-promievent@1.0.0-beta.36:
any-promise "1.3.0"
eventemitter3 "1.1.1"
web3-core-promievent@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.0.0-beta.37.tgz#4e51c469d0a7ac0a969885a4dbcde8504abe5b02"
integrity sha512-GTF2r1lP8nJBeA5Gxq5yZpJy9l8Fb9CXGZPfF8jHvaRdQHtm2Z+NDhqYmF833lcdkokRSyfPcXlz1mlWeClFpg==
dependencies:
any-promise "1.3.0"
eventemitter3 "1.1.1"
web3-core-promievent@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.2.1.tgz#003e8a3eb82fb27b6164a6d5b9cad04acf733838"
@ -20470,6 +20514,17 @@ web3-core-requestmanager@1.0.0-beta.36:
web3-providers-ipc "1.0.0-beta.36"
web3-providers-ws "1.0.0-beta.36"
web3-core-requestmanager@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.0.0-beta.37.tgz#721a75df5920621bff42d9d74f7a64413675d56b"
integrity sha512-66VUqye5BGp1Zz1r8psCxdNH+GtTjaFwroum2Osx+wbC5oRjAiXkkadiitf6wRb+edodjEMPn49u7B6WGNuewQ==
dependencies:
underscore "1.8.3"
web3-core-helpers "1.0.0-beta.37"
web3-providers-http "1.0.0-beta.37"
web3-providers-ipc "1.0.0-beta.37"
web3-providers-ws "1.0.0-beta.37"
web3-core-requestmanager@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.2.1.tgz#fa2e2206c3d738db38db7c8fe9c107006f5c6e3d"
@ -20499,6 +20554,15 @@ web3-core-subscriptions@1.0.0-beta.36:
underscore "1.8.3"
web3-core-helpers "1.0.0-beta.36"
web3-core-subscriptions@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.0.0-beta.37.tgz#40de5e2490cc05b15faa8f935c97fd48d670cd9a"
integrity sha512-FdXl8so9kwkRRWziuCSpFsAuAdg9KvpXa1fQlT16uoGcYYfxwFO/nkwyBGQzkZt7emShI2IRugcazyPCZDwkOA==
dependencies:
eventemitter3 "1.1.1"
underscore "1.8.3"
web3-core-helpers "1.0.0-beta.37"
web3-core-subscriptions@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.2.1.tgz#8c2368a839d4eec1c01a4b5650bbeb82d0e4a099"
@ -20528,6 +20592,16 @@ web3-core@1.0.0-beta.36:
web3-core-requestmanager "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3-core@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.0.0-beta.37.tgz#66c2c7000772c9db36d737ada31607ace09b7e90"
integrity sha512-cIwEqCj7OJyefQNauI0HOgW4sSaOQ98V99H2/HEIlnCZylsDzfw7gtQUdwnRFiIyIxjbWy3iWsjwDPoXNPZBYg==
dependencies:
web3-core-helpers "1.0.0-beta.37"
web3-core-method "1.0.0-beta.37"
web3-core-requestmanager "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3-core@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.2.1.tgz#7278b58fb6495065e73a77efbbce781a7fddf1a9"
@ -20557,6 +20631,15 @@ web3-eth-abi@1.0.0-beta.36:
underscore "1.8.3"
web3-utils "1.0.0-beta.36"
web3-eth-abi@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.37.tgz#55592fa9cd2427d9f0441d78f3b8d0c1359a2a24"
integrity sha512-g9DKZGM2OqwKp/tX3W/yihcj7mQCtJ6CXyZXEIZfuDyRBED/iSEIFfieDOd+yo16sokLMig6FG7ADhhu+19hdA==
dependencies:
ethers "4.0.0-beta.1"
underscore "1.8.3"
web3-utils "1.0.0-beta.37"
web3-eth-abi@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.2.1.tgz#9b915b1c9ebf82f70cca631147035d5419064689"
@ -20598,6 +20681,22 @@ web3-eth-accounts@1.0.0-beta.36:
web3-core-method "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3-eth-accounts@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.0.0-beta.37.tgz#0a5a9f14a6c3bd285e001c15eb3bb38ffa4b5204"
integrity sha512-uvbHL62/zwo4GDmwKdqH9c/EgYd8QVnAfpVw8D3epSISpgbONNY7Hr4MRMSd/CqAP12l2Ls9JVQGLhhC83bW6g==
dependencies:
any-promise "1.3.0"
crypto-browserify "3.12.0"
eth-lib "0.2.7"
scrypt.js "0.2.0"
underscore "1.8.3"
uuid "2.0.1"
web3-core "1.0.0-beta.37"
web3-core-helpers "1.0.0-beta.37"
web3-core-method "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3-eth-accounts@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.2.1.tgz#2741a8ef337a7219d57959ac8bd118b9d68d63cf"
@ -20643,6 +20742,20 @@ web3-eth-contract@1.0.0-beta.36:
web3-eth-abi "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3-eth-contract@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.0.0-beta.37.tgz#87f93c95ed16f320ba54943b7886890de6766013"
integrity sha512-h1B3A8Z/C7BlnTCHkrWbXZQTViDxfR12lKMeTkT8Sqj5phFmxrBlPE4ORy4lf1Dk5b23mZYE0r/IRACx4ThCrQ==
dependencies:
underscore "1.8.3"
web3-core "1.0.0-beta.37"
web3-core-helpers "1.0.0-beta.37"
web3-core-method "1.0.0-beta.37"
web3-core-promievent "1.0.0-beta.37"
web3-core-subscriptions "1.0.0-beta.37"
web3-eth-abi "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3-eth-contract@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.2.1.tgz#3542424f3d341386fd9ff65e78060b85ac0ea8c4"
@ -20671,6 +20784,20 @@ web3-eth-ens@1.0.0-beta.36:
web3-eth-contract "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3-eth-ens@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.0.0-beta.37.tgz#714ecb01eb447ee3eb39b2b20a10ae96edb1f01f"
integrity sha512-dR3UkrVzdRrJhfP57xBPx0CMiVnCcYFvh+u2XMkGydrhHgupSUkjqGr89xry/j1T0BkuN9mikpbyhdCVMXqMbg==
dependencies:
eth-ens-namehash "2.0.8"
underscore "1.8.3"
web3-core "1.0.0-beta.37"
web3-core-helpers "1.0.0-beta.37"
web3-core-promievent "1.0.0-beta.37"
web3-eth-abi "1.0.0-beta.37"
web3-eth-contract "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3-eth-ens@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.2.1.tgz#a0e52eee68c42a8b9865ceb04e5fb022c2d971d5"
@ -20701,6 +20828,14 @@ web3-eth-iban@1.0.0-beta.36:
bn.js "4.11.6"
web3-utils "1.0.0-beta.36"
web3-eth-iban@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.37.tgz#313a3f18ae2ab00ba98678ea1156b09ef32a3655"
integrity sha512-WQRniGJFxH/XCbd7miO6+jnUG+6bvuzfeufPIiOtCbeIC1ypp1kSqER8YVBDrTyinU1xnf1U5v0KBZ2yiWBJxQ==
dependencies:
bn.js "4.11.6"
web3-utils "1.0.0-beta.37"
web3-eth-iban@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.2.1.tgz#2c3801718946bea24e9296993a975c80b5acf880"
@ -20731,6 +20866,17 @@ web3-eth-personal@1.0.0-beta.36:
web3-net "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3-eth-personal@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.0.0-beta.37.tgz#187472f51861e2b6d45da43411801bc91a859f9a"
integrity sha512-B4dZpGbD+nGnn48i6nJBqrQ+HB7oDmd+Q3wGRKOsHSK5HRWO/KwYeA7wgwamMAElkut50lIsT9EJl4Apfk3G5Q==
dependencies:
web3-core "1.0.0-beta.37"
web3-core-helpers "1.0.0-beta.37"
web3-core-method "1.0.0-beta.37"
web3-net "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3-eth-personal@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.2.1.tgz#244e9911b7b482dc17c02f23a061a627c6e47faf"
@ -20779,6 +20925,25 @@ web3-eth@1.0.0-beta.36:
web3-net "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3-eth@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.0.0-beta.37.tgz#0e8ffcd857a5f85ae4b5f052ad831ca5c56f4f74"
integrity sha512-Eb3aGtkz3G9q+Z9DKgSQNbn/u8RtcZQQ0R4sW9hy5KK47GoT6vab5c6DiD3QWzI0BzitHzR5Ji+3VHf/hPUGgw==
dependencies:
underscore "1.8.3"
web3-core "1.0.0-beta.37"
web3-core-helpers "1.0.0-beta.37"
web3-core-method "1.0.0-beta.37"
web3-core-subscriptions "1.0.0-beta.37"
web3-eth-abi "1.0.0-beta.37"
web3-eth-accounts "1.0.0-beta.37"
web3-eth-contract "1.0.0-beta.37"
web3-eth-ens "1.0.0-beta.37"
web3-eth-iban "1.0.0-beta.37"
web3-eth-personal "1.0.0-beta.37"
web3-net "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3-eth@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.2.1.tgz#b9989e2557c73a9e8ffdc107c6dafbe72c79c1b0"
@ -20816,6 +20981,15 @@ web3-net@1.0.0-beta.36:
web3-core-method "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3-net@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.0.0-beta.37.tgz#b494136043f3c6ba84fe4a47d4c028c2a63c9a8e"
integrity sha512-xG/uBtMdDa1UMXw9KjDUgf3fXA/fDEJUYUS0TDn+U9PMgngA+UVECHNNvQTrVVDxEky38V3sahwIDiopNsQdsw==
dependencies:
web3-core "1.0.0-beta.37"
web3-core-method "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3-net@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.2.1.tgz#edd249503315dd5ab4fa00220f6509d95bb7ab10"
@ -20841,6 +21015,14 @@ web3-providers-http@1.0.0-beta.36:
web3-core-helpers "1.0.0-beta.36"
xhr2-cookies "1.1.0"
web3-providers-http@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.0.0-beta.37.tgz#c06efd60e16e329e25bd268d2eefc68d82d13651"
integrity sha512-FM/1YDB1jtZuTo78habFj7S9tNHoqt0UipdyoQV29b8LkGKZV9Vs3is8L24hzuj1j/tbwkcAH+ewIseHwu0DTg==
dependencies:
web3-core-helpers "1.0.0-beta.37"
xhr2-cookies "1.1.0"
web3-providers-http@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.2.1.tgz#c93ea003a42e7b894556f7e19dd3540f947f5013"
@ -20867,6 +21049,15 @@ web3-providers-ipc@1.0.0-beta.36:
underscore "1.8.3"
web3-core-helpers "1.0.0-beta.36"
web3-providers-ipc@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.0.0-beta.37.tgz#55d247e7197257ca0c3e4f4b0fe1561311b9d5b9"
integrity sha512-NdRPRxYMIU0C3u18NI8u4bwbhI9pCg5nRgDGYcmSAx5uOBxiYcQy+hb0WkJRRhBoyIXJmy+s26FoH8904+UnPg==
dependencies:
oboe "2.1.3"
underscore "1.8.3"
web3-core-helpers "1.0.0-beta.37"
web3-providers-ipc@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.2.1.tgz#017bfc687a8fc5398df2241eb98f135e3edd672c"
@ -20894,6 +21085,15 @@ web3-providers-ws@1.0.0-beta.36:
web3-core-helpers "1.0.0-beta.36"
websocket "git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible"
web3-providers-ws@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.0.0-beta.37.tgz#77c15aebc00b75d760d22d063ac2e415bdbef72f"
integrity sha512-8p6ZLv+1JYa5Vs8oBn33Nn3VGFBbF+wVfO+b78RJS1Qf1uIOzjFVDk3XwYDD7rlz9G5BKpxhaQw+6EGQ7L02aw==
dependencies:
underscore "1.8.3"
web3-core-helpers "1.0.0-beta.37"
websocket "git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible"
web3-providers-ws@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.2.1.tgz#2d941eaf3d5a8caa3214eff8dc16d96252b842cb"
@ -20923,6 +21123,16 @@ web3-shh@1.0.0-beta.36:
web3-core-subscriptions "1.0.0-beta.36"
web3-net "1.0.0-beta.36"
web3-shh@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.0.0-beta.37.tgz#3246ce5229601b525020828a56ee283307057105"
integrity sha512-h5STG/xqZNQWtCLYOu7NiMqwqPea8SfkKQUPUFxXKIPVCFVKpHuQEwW1qcPQRJMLhlQIv17xuoUe1A+RzDNbrw==
dependencies:
web3-core "1.0.0-beta.37"
web3-core-method "1.0.0-beta.37"
web3-core-subscriptions "1.0.0-beta.37"
web3-net "1.0.0-beta.37"
web3-shh@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.2.1.tgz#4460e3c1e07faf73ddec24ccd00da46f89152b0c"
@ -20959,6 +21169,19 @@ web3-utils@1.0.0-beta.36:
underscore "1.8.3"
utf8 "2.1.1"
web3-utils@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.0.0-beta.37.tgz#ab868a90fe5e649337e38bdaf72133fcbf4d414d"
integrity sha512-kA1fyhO8nKgU21wi30oJQ/ssvu+9srMdjOTKbHYbQe4ATPcr5YNwwrxG3Bcpbu1bEwRUVKHCkqi+wTvcAWBdlQ==
dependencies:
bn.js "4.11.6"
eth-lib "0.1.27"
ethjs-unit "0.1.6"
number-to-bn "1.7.0"
randomhex "0.1.5"
underscore "1.8.3"
utf8 "2.1.1"
web3-utils@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.2.1.tgz#21466e38291551de0ab34558de21512ac4274534"
@ -21009,6 +21232,19 @@ web3@1.0.0-beta.36:
web3-shh "1.0.0-beta.36"
web3-utils "1.0.0-beta.36"
web3@1.0.0-beta.37:
version "1.0.0-beta.37"
resolved "https://registry.yarnpkg.com/web3/-/web3-1.0.0-beta.37.tgz#b42c30e67195f816cd19d048fda872f70eca7083"
integrity sha512-8XLgUspdzicC/xHG82TLrcF/Fxzj2XYNJ1KTYnepOI77bj5rvpsxxwHYBWQ6/JOjk0HkZqoBfnXWgcIHCDhZhQ==
dependencies:
web3-bzz "1.0.0-beta.37"
web3-core "1.0.0-beta.37"
web3-eth "1.0.0-beta.37"
web3-eth-personal "1.0.0-beta.37"
web3-net "1.0.0-beta.37"
web3-shh "1.0.0-beta.37"
web3-utils "1.0.0-beta.37"
web3@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/web3/-/web3-1.2.1.tgz#5d8158bcca47838ab8c2b784a2dee4c3ceb4179b"