diff --git a/config/.c8rc.json b/config/.c8rc.json new file mode 100644 index 0000000000..3e135a8737 --- /dev/null +++ b/config/.c8rc.json @@ -0,0 +1,6 @@ +{ + "all": true, + "cache": false, + "extension": [".ts"], + "reporter": ["lcov", "text"] +} diff --git a/config/README.md b/config/README.md index d4834c0ba4..7ccb66e8bb 100644 --- a/config/README.md +++ b/config/README.md @@ -76,7 +76,7 @@ Add `.nycrc`: ```json { - "extends": "../../config/nyc.json" + "extends": "../../config/.c8rc.json" } ``` diff --git a/config/nyc.json b/config/nyc.json deleted file mode 100644 index 2b8871773b..0000000000 --- a/config/nyc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "reporter": ["lcov", "text"], - "extension": [".ts"], - "all": true, - "cache": false -} diff --git a/package-lock.json b/package-lock.json index 7e12af2b2a..269bde0b3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2227,102 +2227,6 @@ "dev": true, "license": "BSD-3-Clause" }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "dev": true, - "license": "ISC", - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { - "version": "1.0.10", - "dev": true, - "license": "MIT", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { - "version": "3.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/sprintf-js": { - "version": "1.0.3", - "dev": true, - "license": "BSD-3-Clause" - }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", "dev": true, @@ -3936,22 +3840,6 @@ "node": ">=4.6.1" } }, - "node_modules/append-transform": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "default-require-extensions": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/archy": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, "node_modules/arg": { "version": "4.1.3", "dev": true, @@ -5129,34 +5017,6 @@ "dev": true, "license": "MIT" }, - "node_modules/caching-transform": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "hasha": "^5.0.0", - "make-dir": "^3.0.0", - "package-hash": "^4.0.0", - "write-file-atomic": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/caching-transform/node_modules/make-dir": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/call-bind": { "version": "1.0.2", "license": "MIT", @@ -5204,14 +5064,6 @@ "upper-case": "^1.1.1" } }, - "node_modules/camelcase": { - "version": "5.3.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/caniuse-lite": { "version": "1.0.30001375", "dev": true, @@ -5597,11 +5449,6 @@ "node": ">= 0.6.x" } }, - "node_modules/commondir": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, "node_modules/component-emitter": { "version": "1.3.0", "dev": true, @@ -6387,14 +6234,6 @@ "version": "2.1.2", "license": "MIT" }, - "node_modules/decamelize": { - "version": "1.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/decode-uri-component": { "version": "0.2.0", "dev": true, @@ -6478,17 +6317,6 @@ "node": ">= 10" } }, - "node_modules/default-require-extensions": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "strip-bom": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/defaults": { "version": "1.0.3", "dev": true, @@ -7289,11 +7117,6 @@ "node": ">=0.10" } }, - "node_modules/es6-error": { - "version": "4.1.1", - "dev": true, - "license": "MIT" - }, "node_modules/es6-iterator": { "version": "2.0.3", "dev": true, @@ -8745,36 +8568,6 @@ "node": ">= 0.8" } }, - "node_modules/find-cache-dir": { - "version": "3.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" - } - }, - "node_modules/find-cache-dir/node_modules/make-dir": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/find-root": { "version": "1.1.0", "dev": true, @@ -8938,25 +8731,6 @@ "node": ">= 0.6" } }, - "node_modules/fromentries": { - "version": "1.3.2", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, "node_modules/fs-extra": { "version": "10.1.0", "license": "MIT", @@ -9432,29 +9206,6 @@ "minimalistic-assert": "^1.0.1" } }, - "node_modules/hasha": { - "version": "5.2.2", - "dev": true, - "license": "MIT", - "dependencies": { - "is-stream": "^2.0.0", - "type-fest": "^0.8.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/hasha/node_modules/type-fest": { - "version": "0.8.1", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=8" - } - }, "node_modules/hashlru": { "version": "2.3.0", "license": "MIT" @@ -10311,14 +10062,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-windows": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-wsl": { "version": "2.2.0", "dev": true, @@ -10402,17 +10145,6 @@ "node": ">=8" } }, - "node_modules/istanbul-lib-hook": { - "version": "3.0.0", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "append-transform": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/istanbul-lib-instrument": { "version": "4.0.3", "dev": true, @@ -10427,33 +10159,6 @@ "node": ">=8" } }, - "node_modules/istanbul-lib-processinfo": { - "version": "2.0.3", - "dev": true, - "license": "ISC", - "dependencies": { - "archy": "^1.0.0", - "cross-spawn": "^7.0.3", - "istanbul-lib-coverage": "^3.2.0", - "p-map": "^3.0.0", - "rimraf": "^3.0.0", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-processinfo/node_modules/p-map": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/istanbul-lib-report": { "version": "3.0.0", "dev": true, @@ -13350,11 +13055,6 @@ "version": "4.6.0", "license": "MIT" }, - "node_modules/lodash.flattendeep": { - "version": "4.4.0", - "dev": true, - "license": "MIT" - }, "node_modules/lodash.get": { "version": "4.4.2", "license": "MIT" @@ -14633,17 +14333,6 @@ "node-gyp-build-optional-packages-test": "build-test.js" } }, - "node_modules/node-preload": { - "version": "0.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "process-on-spawn": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/node-releases": { "version": "2.0.6", "dev": true, @@ -14717,214 +14406,6 @@ "dev": true, "license": "MIT" }, - "node_modules/nyc": { - "version": "15.1.0", - "dev": true, - "license": "ISC", - "dependencies": { - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "caching-transform": "^4.0.0", - "convert-source-map": "^1.7.0", - "decamelize": "^1.2.0", - "find-cache-dir": "^3.2.0", - "find-up": "^4.1.0", - "foreground-child": "^2.0.0", - "get-package-type": "^0.1.0", - "glob": "^7.1.6", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-hook": "^3.0.0", - "istanbul-lib-instrument": "^4.0.0", - "istanbul-lib-processinfo": "^2.0.2", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.0.2", - "make-dir": "^3.0.0", - "node-preload": "^0.2.1", - "p-map": "^3.0.0", - "process-on-spawn": "^1.0.0", - "resolve-from": "^5.0.0", - "rimraf": "^3.0.0", - "signal-exit": "^3.0.2", - "spawn-wrap": "^2.0.0", - "test-exclude": "^6.0.0", - "yargs": "^15.0.2" - }, - "bin": { - "nyc": "bin/nyc.js" - }, - "engines": { - "node": ">=8.9" - } - }, - "node_modules/nyc/node_modules/cliui": { - "version": "6.0.0", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "node_modules/nyc/node_modules/emoji-regex": { - "version": "8.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/nyc/node_modules/find-up": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nyc/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/nyc/node_modules/locate-path": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nyc/node_modules/make-dir": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/nyc/node_modules/p-limit": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/nyc/node_modules/p-locate": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nyc/node_modules/p-map": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nyc/node_modules/resolve-from": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/nyc/node_modules/string-width": { - "version": "4.2.3", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nyc/node_modules/wrap-ansi": { - "version": "6.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nyc/node_modules/y18n": { - "version": "4.0.3", - "dev": true, - "license": "ISC" - }, - "node_modules/nyc/node_modules/yargs": { - "version": "15.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nyc/node_modules/yargs-parser": { - "version": "18.1.3", - "dev": true, - "license": "ISC", - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/oauth-sign": { "version": "0.9.0", "license": "Apache-2.0", @@ -15371,20 +14852,6 @@ "node": ">=8" } }, - "node_modules/package-hash": { - "version": "4.0.0", - "dev": true, - "license": "ISC", - "dependencies": { - "graceful-fs": "^4.1.15", - "hasha": "^5.0.0", - "lodash.flattendeep": "^4.4.0", - "release-zalgo": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/pad": { "version": "3.2.0", "dev": true, @@ -16091,17 +15558,6 @@ "version": "2.0.1", "license": "MIT" }, - "node_modules/process-on-spawn": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fromentries": "^1.2.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/promise-to-callback": { "version": "1.0.0", "license": "MIT", @@ -16596,17 +16052,6 @@ "jsesc": "bin/jsesc" } }, - "node_modules/release-zalgo": { - "version": "1.0.0", - "dev": true, - "license": "ISC", - "dependencies": { - "es6-error": "^4.0.1" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/request": { "version": "2.88.2", "license": "Apache-2.0", @@ -16687,11 +16132,6 @@ "node": ">=0.10.0" } }, - "node_modules/require-main-filename": { - "version": "2.0.0", - "dev": true, - "license": "ISC" - }, "node_modules/require-uncached": { "version": "1.0.3", "dev": true, @@ -17192,11 +16632,6 @@ "node": ">=6" } }, - "node_modules/set-blocking": { - "version": "2.0.0", - "dev": true, - "license": "ISC" - }, "node_modules/set-delayed-interval": { "version": "1.0.0", "license": "MIT" @@ -17666,50 +17101,6 @@ "dev": true, "license": "MIT" }, - "node_modules/spawn-wrap": { - "version": "2.0.0", - "dev": true, - "license": "ISC", - "dependencies": { - "foreground-child": "^2.0.0", - "is-windows": "^1.0.2", - "make-dir": "^3.0.0", - "rimraf": "^3.0.0", - "signal-exit": "^3.0.2", - "which": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/spawn-wrap/node_modules/make-dir": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/spawn-wrap/node_modules/which": { - "version": "2.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/split2": { "version": "3.2.2", "dev": true, @@ -18700,14 +18091,6 @@ "node": ">=8" } }, - "node_modules/strip-bom": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/strip-final-newline": { "version": "2.0.0", "license": "MIT", @@ -21155,11 +20538,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/which-module": { - "version": "2.0.0", - "dev": true, - "license": "ISC" - }, "node_modules/which-typed-array": { "version": "1.1.8", "license": "MIT", @@ -21290,17 +20668,6 @@ "dev": true, "license": "ISC" }, - "node_modules/write-file-atomic": { - "version": "3.0.3", - "dev": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, "node_modules/ws": { "version": "7.5.9", "license": "MIT", @@ -21596,7 +20963,6 @@ "file-replace-loader": "^1.2.0", "it-pair": "^1.0.0", "node-fetch": "^2.6.1", - "nyc": "^15.1.0", "os-browserify": "^0.3.0", "pino": "^5.8.0", "pino-pretty": "^2.2.2", @@ -23153,7 +22519,6 @@ "memory-level": "^1.0.0", "multiaddr": "^10.0.1", "node-fetch": "^2.6.1", - "nyc": "^15.1.0", "os-browserify": "^0.3.0", "peer-id": "^0.14.3", "pino": "^5.8.0", @@ -23647,71 +23012,6 @@ "version": "1.2.1", "dev": true }, - "@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "dev": true, - "requires": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "dependencies": { - "argparse": { - "version": "1.0.10", - "dev": true, - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "find-up": { - "version": "4.1.0", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "js-yaml": { - "version": "3.14.1", - "dev": true, - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "resolve-from": { - "version": "5.0.0", - "dev": true - }, - "sprintf-js": { - "version": "1.0.3", - "dev": true - } - } - }, "@istanbuljs/schema": { "version": "0.1.3", "dev": true @@ -24827,17 +24127,6 @@ "version": "1.1.2", "dev": true }, - "append-transform": { - "version": "2.0.0", - "dev": true, - "requires": { - "default-require-extensions": "^3.0.0" - } - }, - "archy": { - "version": "1.0.0", - "dev": true - }, "arg": { "version": "4.1.3", "dev": true @@ -25689,25 +24978,6 @@ "version": "1.1.0", "dev": true }, - "caching-transform": { - "version": "4.0.0", - "dev": true, - "requires": { - "hasha": "^5.0.0", - "make-dir": "^3.0.0", - "package-hash": "^4.0.0", - "write-file-atomic": "^3.0.0" - }, - "dependencies": { - "make-dir": { - "version": "3.1.0", - "dev": true, - "requires": { - "semver": "^6.0.0" - } - } - } - }, "call-bind": { "version": "1.0.2", "requires": { @@ -25740,10 +25010,6 @@ "upper-case": "^1.1.1" } }, - "camelcase": { - "version": "5.3.1", - "dev": true - }, "caniuse-lite": { "version": "1.0.30001375", "dev": true @@ -26002,10 +25268,6 @@ "version": "2.1.0", "dev": true }, - "commondir": { - "version": "1.0.1", - "dev": true - }, "component-emitter": { "version": "1.3.0", "dev": true @@ -26620,10 +25882,6 @@ "version": "1.0.1", "dev": true }, - "decamelize": { - "version": "1.2.0", - "dev": true - }, "decode-uri-component": { "version": "0.2.0", "dev": true @@ -26678,13 +25936,6 @@ "execa": "^5.0.0" } }, - "default-require-extensions": { - "version": "3.0.0", - "dev": true, - "requires": { - "strip-bom": "^4.0.0" - } - }, "defaults": { "version": "1.0.3", "dev": true, @@ -27252,10 +26503,6 @@ "next-tick": "^1.1.0" } }, - "es6-error": { - "version": "4.1.1", - "dev": true - }, "es6-iterator": { "version": "2.0.3", "dev": true, @@ -28288,24 +27535,6 @@ } } }, - "find-cache-dir": { - "version": "3.3.2", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "dependencies": { - "make-dir": { - "version": "3.1.0", - "dev": true, - "requires": { - "semver": "^6.0.0" - } - } - } - }, "find-root": { "version": "1.1.0", "dev": true @@ -28402,10 +27631,6 @@ "version": "0.5.2", "dev": true }, - "fromentries": { - "version": "1.3.2", - "dev": true - }, "fs-extra": { "version": "10.1.0", "requires": { @@ -28700,20 +27925,6 @@ "minimalistic-assert": "^1.0.1" } }, - "hasha": { - "version": "5.2.2", - "dev": true, - "requires": { - "is-stream": "^2.0.0", - "type-fest": "^0.8.0" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "dev": true - } - } - }, "hashlru": { "version": "2.3.0" }, @@ -29227,10 +28438,6 @@ "get-intrinsic": "^1.1.1" } }, - "is-windows": { - "version": "1.0.2", - "dev": true - }, "is-wsl": { "version": "2.2.0", "dev": true, @@ -29279,13 +28486,6 @@ "version": "3.2.0", "dev": true }, - "istanbul-lib-hook": { - "version": "3.0.0", - "dev": true, - "requires": { - "append-transform": "^2.0.0" - } - }, "istanbul-lib-instrument": { "version": "4.0.3", "dev": true, @@ -29296,27 +28496,6 @@ "semver": "^6.3.0" } }, - "istanbul-lib-processinfo": { - "version": "2.0.3", - "dev": true, - "requires": { - "archy": "^1.0.0", - "cross-spawn": "^7.0.3", - "istanbul-lib-coverage": "^3.2.0", - "p-map": "^3.0.0", - "rimraf": "^3.0.0", - "uuid": "^8.3.2" - }, - "dependencies": { - "p-map": { - "version": "3.0.0", - "dev": true, - "requires": { - "aggregate-error": "^3.0.0" - } - } - } - }, "istanbul-lib-report": { "version": "3.0.0", "dev": true, @@ -31419,10 +30598,6 @@ "lodash.find": { "version": "4.6.0" }, - "lodash.flattendeep": { - "version": "4.4.0", - "dev": true - }, "lodash.get": { "version": "4.4.2" }, @@ -32334,13 +31509,6 @@ "version": "5.0.3", "dev": true }, - "node-preload": { - "version": "0.2.1", - "dev": true, - "requires": { - "process-on-spawn": "^1.0.0" - } - }, "node-releases": { "version": "2.0.6", "dev": true @@ -32385,152 +31553,6 @@ "version": "2.2.1", "dev": true }, - "nyc": { - "version": "15.1.0", - "dev": true, - "requires": { - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "caching-transform": "^4.0.0", - "convert-source-map": "^1.7.0", - "decamelize": "^1.2.0", - "find-cache-dir": "^3.2.0", - "find-up": "^4.1.0", - "foreground-child": "^2.0.0", - "get-package-type": "^0.1.0", - "glob": "^7.1.6", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-hook": "^3.0.0", - "istanbul-lib-instrument": "^4.0.0", - "istanbul-lib-processinfo": "^2.0.2", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.0.2", - "make-dir": "^3.0.0", - "node-preload": "^0.2.1", - "p-map": "^3.0.0", - "process-on-spawn": "^1.0.0", - "resolve-from": "^5.0.0", - "rimraf": "^3.0.0", - "signal-exit": "^3.0.2", - "spawn-wrap": "^2.0.0", - "test-exclude": "^6.0.0", - "yargs": "^15.0.2" - }, - "dependencies": { - "cliui": { - "version": "6.0.0", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "emoji-regex": { - "version": "8.0.0", - "dev": true - }, - "find-up": { - "version": "4.1.0", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "dev": true - }, - "locate-path": { - "version": "5.0.0", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "make-dir": { - "version": "3.1.0", - "dev": true, - "requires": { - "semver": "^6.0.0" - } - }, - "p-limit": { - "version": "2.3.0", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "p-map": { - "version": "3.0.0", - "dev": true, - "requires": { - "aggregate-error": "^3.0.0" - } - }, - "resolve-from": { - "version": "5.0.0", - "dev": true - }, - "string-width": { - "version": "4.2.3", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, - "wrap-ansi": { - "version": "6.2.0", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "y18n": { - "version": "4.0.3", - "dev": true - }, - "yargs": { - "version": "15.4.1", - "dev": true, - "requires": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - } - }, - "yargs-parser": { - "version": "18.1.3", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } - } - }, "oauth-sign": { "version": "0.9.0" }, @@ -32783,16 +31805,6 @@ } } }, - "package-hash": { - "version": "4.0.0", - "dev": true, - "requires": { - "graceful-fs": "^4.1.15", - "hasha": "^5.0.0", - "lodash.flattendeep": "^4.4.0", - "release-zalgo": "^1.0.0" - } - }, "pad": { "version": "3.2.0", "dev": true, @@ -33268,13 +32280,6 @@ "process-nextick-args": { "version": "2.0.1" }, - "process-on-spawn": { - "version": "1.0.0", - "dev": true, - "requires": { - "fromentries": "^1.2.0" - } - }, "promise-to-callback": { "version": "1.0.0", "requires": { @@ -33632,13 +32637,6 @@ } } }, - "release-zalgo": { - "version": "1.0.0", - "dev": true, - "requires": { - "es6-error": "^4.0.1" - } - }, "request": { "version": "2.88.2", "requires": { @@ -33691,10 +32689,6 @@ "require-directory": { "version": "2.1.1" }, - "require-main-filename": { - "version": "2.0.0", - "dev": true - }, "require-uncached": { "version": "1.0.3", "dev": true, @@ -34011,10 +33005,6 @@ "xhr": "^2.3.3" } }, - "set-blocking": { - "version": "2.0.0", - "dev": true - }, "set-delayed-interval": { "version": "1.0.0" }, @@ -34342,34 +33332,6 @@ "version": "1.4.8", "dev": true }, - "spawn-wrap": { - "version": "2.0.0", - "dev": true, - "requires": { - "foreground-child": "^2.0.0", - "is-windows": "^1.0.2", - "make-dir": "^3.0.0", - "rimraf": "^3.0.0", - "signal-exit": "^3.0.2", - "which": "^2.0.1" - }, - "dependencies": { - "make-dir": { - "version": "3.1.0", - "dev": true, - "requires": { - "semver": "^6.0.0" - } - }, - "which": { - "version": "2.0.2", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - } - } - }, "split2": { "version": "3.2.2", "dev": true, @@ -35074,10 +34036,6 @@ "ansi-regex": "^5.0.1" } }, - "strip-bom": { - "version": "4.0.0", - "dev": true - }, "strip-final-newline": { "version": "2.0.0" }, @@ -36752,10 +35710,6 @@ "is-weakset": "^2.0.1" } }, - "which-module": { - "version": "2.0.0", - "dev": true - }, "which-typed-array": { "version": "1.1.8", "requires": { @@ -36844,16 +35798,6 @@ "version": "1.0.2", "dev": true }, - "write-file-atomic": { - "version": "3.0.3", - "dev": true, - "requires": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, "ws": { "version": "7.5.9", "requires": {} diff --git a/packages/common/.nycrc b/packages/block/.c8rc.json similarity index 50% rename from packages/common/.nycrc rename to packages/block/.c8rc.json index 288fee59d7..04e33f0642 100644 --- a/packages/common/.nycrc +++ b/packages/block/.c8rc.json @@ -1,5 +1,5 @@ { - "extends": "../../config/nyc.json", + "extends": "../../config/.c8rc.json", "include": [ "src/**/*.ts" ] diff --git a/packages/block/.nycrc b/packages/blockchain/.c8rc.json similarity index 50% rename from packages/block/.nycrc rename to packages/blockchain/.c8rc.json index 288fee59d7..04e33f0642 100644 --- a/packages/block/.nycrc +++ b/packages/blockchain/.c8rc.json @@ -1,5 +1,5 @@ { - "extends": "../../config/nyc.json", + "extends": "../../config/.c8rc.json", "include": [ "src/**/*.ts" ] diff --git a/packages/client/.nycrc b/packages/client/.c8rc.json similarity index 50% rename from packages/client/.nycrc rename to packages/client/.c8rc.json index 1cd794eb92..6472284b35 100644 --- a/packages/client/.nycrc +++ b/packages/client/.c8rc.json @@ -1,5 +1,5 @@ { - "extends": "../../config/nyc.json", + "extends": "../../config/.c8rc.json", "include": [ "lib/**/*.ts" ] diff --git a/packages/client/package.json b/packages/client/package.json index 2e7a49bc65..df1f72a03e 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -107,7 +107,6 @@ "file-replace-loader": "^1.2.0", "it-pair": "^1.0.0", "node-fetch": "^2.6.1", - "nyc": "^15.1.0", "os-browserify": "^0.3.0", "pino": "^5.8.0", "pino-pretty": "^2.2.2", diff --git a/packages/blockchain/.nycrc b/packages/common/.c8rc.json similarity index 50% rename from packages/blockchain/.nycrc rename to packages/common/.c8rc.json index 288fee59d7..04e33f0642 100644 --- a/packages/blockchain/.nycrc +++ b/packages/common/.c8rc.json @@ -1,5 +1,5 @@ { - "extends": "../../config/nyc.json", + "extends": "../../config/.c8rc.json", "include": [ "src/**/*.ts" ] diff --git a/packages/devp2p/.nycrc b/packages/devp2p/.c8rc.json similarity index 50% rename from packages/devp2p/.nycrc rename to packages/devp2p/.c8rc.json index 288fee59d7..04e33f0642 100644 --- a/packages/devp2p/.nycrc +++ b/packages/devp2p/.c8rc.json @@ -1,5 +1,5 @@ { - "extends": "../../config/nyc.json", + "extends": "../../config/.c8rc.json", "include": [ "src/**/*.ts" ] diff --git a/packages/ethash/.c8rc.json b/packages/ethash/.c8rc.json new file mode 100644 index 0000000000..04e33f0642 --- /dev/null +++ b/packages/ethash/.c8rc.json @@ -0,0 +1,6 @@ +{ + "extends": "../../config/.c8rc.json", + "include": [ + "src/**/*.ts" + ] +} diff --git a/packages/ethash/.nycrc b/packages/ethash/.nycrc deleted file mode 100644 index 288fee59d7..0000000000 --- a/packages/ethash/.nycrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../config/nyc.json", - "include": [ - "src/**/*.ts" - ] -} diff --git a/packages/evm/.c8rc.json b/packages/evm/.c8rc.json new file mode 100644 index 0000000000..04e33f0642 --- /dev/null +++ b/packages/evm/.c8rc.json @@ -0,0 +1,6 @@ +{ + "extends": "../../config/.c8rc.json", + "include": [ + "src/**/*.ts" + ] +} diff --git a/packages/evm/.nycrc b/packages/evm/.nycrc deleted file mode 100644 index 288fee59d7..0000000000 --- a/packages/evm/.nycrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../config/nyc.json", - "include": [ - "src/**/*.ts" - ] -} diff --git a/packages/rlp/.c8rc.json b/packages/rlp/.c8rc.json new file mode 100644 index 0000000000..04e33f0642 --- /dev/null +++ b/packages/rlp/.c8rc.json @@ -0,0 +1,6 @@ +{ + "extends": "../../config/.c8rc.json", + "include": [ + "src/**/*.ts" + ] +} diff --git a/packages/rlp/.nycrc b/packages/rlp/.nycrc deleted file mode 100644 index 288fee59d7..0000000000 --- a/packages/rlp/.nycrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../config/nyc.json", - "include": [ - "src/**/*.ts" - ] -} diff --git a/packages/statemanager/.c8rc.json b/packages/statemanager/.c8rc.json new file mode 100644 index 0000000000..04e33f0642 --- /dev/null +++ b/packages/statemanager/.c8rc.json @@ -0,0 +1,6 @@ +{ + "extends": "../../config/.c8rc.json", + "include": [ + "src/**/*.ts" + ] +} diff --git a/packages/statemanager/.nycrc b/packages/statemanager/.nycrc deleted file mode 100644 index 288fee59d7..0000000000 --- a/packages/statemanager/.nycrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../config/nyc.json", - "include": [ - "src/**/*.ts" - ] -} diff --git a/packages/trie/.c8rc.json b/packages/trie/.c8rc.json new file mode 100644 index 0000000000..04e33f0642 --- /dev/null +++ b/packages/trie/.c8rc.json @@ -0,0 +1,6 @@ +{ + "extends": "../../config/.c8rc.json", + "include": [ + "src/**/*.ts" + ] +} diff --git a/packages/trie/.nycrc b/packages/trie/.nycrc deleted file mode 100644 index 288fee59d7..0000000000 --- a/packages/trie/.nycrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../config/nyc.json", - "include": [ - "src/**/*.ts" - ] -} diff --git a/packages/tx/.c8rc.json b/packages/tx/.c8rc.json new file mode 100644 index 0000000000..04e33f0642 --- /dev/null +++ b/packages/tx/.c8rc.json @@ -0,0 +1,6 @@ +{ + "extends": "../../config/.c8rc.json", + "include": [ + "src/**/*.ts" + ] +} diff --git a/packages/tx/.nycrc b/packages/tx/.nycrc deleted file mode 100644 index 288fee59d7..0000000000 --- a/packages/tx/.nycrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../config/nyc.json", - "include": [ - "src/**/*.ts" - ] -} diff --git a/packages/util/.c8rc.json b/packages/util/.c8rc.json new file mode 100644 index 0000000000..04e33f0642 --- /dev/null +++ b/packages/util/.c8rc.json @@ -0,0 +1,6 @@ +{ + "extends": "../../config/.c8rc.json", + "include": [ + "src/**/*.ts" + ] +} diff --git a/packages/util/.nycrc b/packages/util/.nycrc deleted file mode 100644 index 288fee59d7..0000000000 --- a/packages/util/.nycrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../config/nyc.json", - "include": [ - "src/**/*.ts" - ] -} diff --git a/packages/vm/.c8rc.json b/packages/vm/.c8rc.json new file mode 100644 index 0000000000..04e33f0642 --- /dev/null +++ b/packages/vm/.c8rc.json @@ -0,0 +1,6 @@ +{ + "extends": "../../config/.c8rc.json", + "include": [ + "src/**/*.ts" + ] +} diff --git a/packages/vm/.nycrc b/packages/vm/.nycrc deleted file mode 100644 index 288fee59d7..0000000000 --- a/packages/vm/.nycrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../../config/nyc.json", - "include": [ - "src/**/*.ts" - ] -}