From 995ef69a3083ec478413a3ef0e24915006707310 Mon Sep 17 00:00:00 2001 From: Lam Wei Li Date: Wed, 28 Sep 2022 16:57:25 +0800 Subject: [PATCH 1/5] chore(deps-dev): bump nyc from 14.1.1 to 15.1.0 --- package.json | 2 +- test/sandbox-coverage.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index dd3610e..f1353b8 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "fs-extra": "^10.1.0", "husky": "^8.0.1", "is-ci": "^3.0.1", - "nyc": "^14.1.1", + "nyc": "^15.1.0", "prettier": "^1.19.1", "proxyquire": "^2.1.3", "tap": "^14.11.0", diff --git a/test/sandbox-coverage.js b/test/sandbox-coverage.js index 4db81af..c6fb759 100644 --- a/test/sandbox-coverage.js +++ b/test/sandbox-coverage.js @@ -6,8 +6,10 @@ sandbox.configure({ if (this.filename.indexOf('node_modules') > -1) { return source; } - const nyc = new (require('nyc'))(); - return nyc.instrumenter().instrumentSync(source, this.filename); + const nyc = new (require('nyc'))({}); + return nyc + .instrumenter() + .instrumentSync(source, this.filename, { registerMap: () => {} }); }, }, }); From ea7aeb2537108d0dafad8436ed00ebbfac64a8ab Mon Sep 17 00:00:00 2001 From: Lam Wei Li Date: Wed, 28 Sep 2022 17:20:42 +0800 Subject: [PATCH 2/5] chore(deps-dev): bump tap from 14.11.0 to 16.3.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f1353b8..68d91b9 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "nyc": "^15.1.0", "prettier": "^1.19.1", "proxyquire": "^2.1.3", - "tap": "^14.11.0", + "tap": "^16.3.0", "typescript": "^4.8.3" }, "browser": { From 7ce7d4262195d4a6ed8ba118d37d92eba60d60af Mon Sep 17 00:00:00 2001 From: Lam Wei Li Date: Wed, 28 Sep 2022 17:02:31 +0800 Subject: [PATCH 3/5] chore(deps-dev): bump eslint-plugin-prettier from 3.4.1 to 4.2.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 68d91b9..f53b1e0 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-node": "^0.3.6", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-prettier": "^3.4.1", + "eslint-plugin-prettier": "^4.2.1", "fs-extra": "^10.1.0", "husky": "^8.0.1", "is-ci": "^3.0.1", From 2523e17a15f182cb409a30a5719051899f73d57b Mon Sep 17 00:00:00 2001 From: Lam Wei Li Date: Wed, 28 Sep 2022 17:22:24 +0800 Subject: [PATCH 4/5] chore(deps-dev): bump prettier from 1.19.1 to 2.7.1 --- docs/_layouts/default.html | 4 ++-- docs/connect-logger.md | 2 +- docs/layouts.md | 6 +++--- examples/custom-layout.js | 2 +- examples/hipchat-appender.js | 2 +- examples/patternLayout-tokens.js | 2 +- lib/appenders/dateFile.js | 4 ++-- lib/appenders/file.js | 8 ++++---- lib/appenders/multiprocess.js | 9 +++++---- lib/appenders/recording.js | 2 +- lib/appenders/tcp.js | 9 +++++---- lib/layouts.js | 7 ++++--- lib/logger.js | 4 ++-- package.json | 2 +- test/tap/configuration-inheritance-test.js | 15 ++++++--------- test/tap/configuration-validation-test.js | 5 ++--- test/tap/connect-logger-test.js | 4 ++-- test/tap/connect-nolog-test.js | 4 ++-- test/tap/default-settings-test.js | 7 +++---- test/tap/file-sighup-test.js | 5 ++--- test/tap/layouts-test.js | 7 +++---- test/tap/logger-test.js | 2 +- test/tap/logging-test.js | 6 +++--- test/tap/multi-file-appender-test.js | 4 ++-- test/tap/tcp-appender-test.js | 2 +- types/test.ts | 2 +- 26 files changed, 61 insertions(+), 65 deletions(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index b06aa7e..ba8235b 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -87,11 +87,11 @@ {% if site.google_analytics %}