From 3e6ce3dde85ebfad44b3b0cc2569e52e9e065586 Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Thu, 6 Apr 2023 12:54:15 +0200 Subject: [PATCH 01/14] Update sinon --- package-lock.json | 109 ++++++++++++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 93 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 48f4f8f..e588abb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "nyc": "^15.1.0", "prettier": "^2.8.3", "proxyquire": "^2.1.3", - "sinon": "^15.0.1" + "sinon": "^15.0.3" } }, "node_modules/@ampproject/remapping": { @@ -4653,16 +4653,16 @@ "dev": true }, "node_modules/sinon": { - "version": "15.0.1", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.1.tgz", - "integrity": "sha512-PZXKc08f/wcA/BMRGBze2Wmw50CWPiAH3E21EOi4B49vJ616vW4DQh4fQrqsYox2aNR/N3kCqLuB0PwwOucQrg==", + "version": "15.0.3", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.3.tgz", + "integrity": "sha512-si3geiRkeovP7Iel2O+qGL4NrO9vbMf3KsrJEi0ghP1l5aBkB5UxARea5j0FUsSqH3HLBh0dQPAyQ8fObRUqHw==", "dev": true, "dependencies": { - "@sinonjs/commons": "^2.0.0", - "@sinonjs/fake-timers": "10.0.2", - "@sinonjs/samsam": "^7.0.1", - "diff": "^5.0.0", - "nise": "^5.1.2", + "@sinonjs/commons": "^3.0.0", + "@sinonjs/fake-timers": "^10.0.2", + "@sinonjs/samsam": "^8.0.0", + "diff": "^5.1.0", + "nise": "^5.1.4", "supports-color": "^7.2.0" }, "funding": { @@ -4670,6 +4670,44 @@ "url": "https://opencollective.com/sinon" } }, + "node_modules/sinon/node_modules/@sinonjs/commons": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", + "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/sinon/node_modules/@sinonjs/samsam": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", + "integrity": "sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^2.0.0", + "lodash.get": "^4.4.2", + "type-detect": "^4.0.8" + } + }, + "node_modules/sinon/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/sinon/node_modules/diff": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", + "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, "node_modules/sinon/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -8586,19 +8624,56 @@ "dev": true }, "sinon": { - "version": "15.0.1", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.1.tgz", - "integrity": "sha512-PZXKc08f/wcA/BMRGBze2Wmw50CWPiAH3E21EOi4B49vJ616vW4DQh4fQrqsYox2aNR/N3kCqLuB0PwwOucQrg==", + "version": "15.0.3", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.3.tgz", + "integrity": "sha512-si3geiRkeovP7Iel2O+qGL4NrO9vbMf3KsrJEi0ghP1l5aBkB5UxARea5j0FUsSqH3HLBh0dQPAyQ8fObRUqHw==", "dev": true, "requires": { - "@sinonjs/commons": "^2.0.0", - "@sinonjs/fake-timers": "10.0.2", - "@sinonjs/samsam": "^7.0.1", - "diff": "^5.0.0", - "nise": "^5.1.2", + "@sinonjs/commons": "^3.0.0", + "@sinonjs/fake-timers": "^10.0.2", + "@sinonjs/samsam": "^8.0.0", + "diff": "^5.1.0", + "nise": "^5.1.4", "supports-color": "^7.2.0" }, "dependencies": { + "@sinonjs/commons": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", + "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/samsam": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", + "integrity": "sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew==", + "dev": true, + "requires": { + "@sinonjs/commons": "^2.0.0", + "lodash.get": "^4.4.2", + "type-detect": "^4.0.8" + }, + "dependencies": { + "@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + } + } + }, + "diff": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", + "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "dev": true + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", diff --git a/package.json b/package.json index aec8978..355e79e 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,6 @@ "nyc": "^15.1.0", "prettier": "^2.8.3", "proxyquire": "^2.1.3", - "sinon": "^15.0.1" + "sinon": "^15.0.3" } } From 957a3f9d1c1a00c2b57babe25705c675eaaaf077 Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Thu, 6 Apr 2023 12:54:33 +0200 Subject: [PATCH 02/14] Add failing test for sinon.match.string --- lib/match.test.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/match.test.js b/lib/match.test.js index f6dbf30..758d497 100644 --- a/lib/match.test.js +++ b/lib/match.test.js @@ -1,6 +1,7 @@ "use strict"; var assert = require("assert"); +var sinon = require("sinon"); var samsam = require("@sinonjs/samsam"); var referee = require("./referee"); var anonymousFunction = require("./test-helper/anonymous-function-string"); @@ -43,6 +44,15 @@ describe("match", function () { } ); }); + + it("should pass sinon.match.string in object", function () { + var object = { foo: 1, bar: "test" }; + + referee.assert.equals(object, { + foo: 1, + bar: sinon.match.string, + }); + }); }); context("with refute.equals", function () { From 4d3e91c761adaf6ea793158b7833d80e9072ab03 Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Thu, 6 Apr 2023 13:03:38 +0200 Subject: [PATCH 03/14] Upgrade samsam to v8 to fix a matcher issue --- package-lock.json | 56 ++++++----------------------------------------- package.json | 2 +- 2 files changed, 8 insertions(+), 50 deletions(-) diff --git a/package-lock.json b/package-lock.json index e588abb..71975e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^2.0.0", - "@sinonjs/samsam": "^7.0.1", + "@sinonjs/samsam": "^8.0.0", "event-emitter": "^0.3.5", "lodash.isarguments": "^3.1.0", "util": "^0.12.5" @@ -945,9 +945,9 @@ } }, "node_modules/@sinonjs/samsam": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-7.0.1.tgz", - "integrity": "sha512-zsAk2Jkiq89mhZovB2LLOdTCxJF4hqqTToGP0ASWlhp4I1hqOjcfmZGafXntCN7MDC6yySH0mFHrYtHceOeLmw==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", + "integrity": "sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew==", "dependencies": { "@sinonjs/commons": "^2.0.0", "lodash.get": "^4.4.2", @@ -4679,26 +4679,6 @@ "type-detect": "4.0.8" } }, - "node_modules/sinon/node_modules/@sinonjs/samsam": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", - "integrity": "sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^2.0.0", - "lodash.get": "^4.4.2", - "type-detect": "^4.0.8" - } - }, - "node_modules/sinon/node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", - "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, "node_modules/sinon/node_modules/diff": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", @@ -5906,9 +5886,9 @@ } }, "@sinonjs/samsam": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-7.0.1.tgz", - "integrity": "sha512-zsAk2Jkiq89mhZovB2LLOdTCxJF4hqqTToGP0ASWlhp4I1hqOjcfmZGafXntCN7MDC6yySH0mFHrYtHceOeLmw==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", + "integrity": "sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew==", "requires": { "@sinonjs/commons": "^2.0.0", "lodash.get": "^4.4.2", @@ -8646,28 +8626,6 @@ "type-detect": "4.0.8" } }, - "@sinonjs/samsam": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", - "integrity": "sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew==", - "dev": true, - "requires": { - "@sinonjs/commons": "^2.0.0", - "lodash.get": "^4.4.2", - "type-detect": "^4.0.8" - }, - "dependencies": { - "@sinonjs/commons": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", - "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", - "dev": true, - "requires": { - "type-detect": "4.0.8" - } - } - } - }, "diff": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", diff --git a/package.json b/package.json index 355e79e..3760d78 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ }, "dependencies": { "@sinonjs/commons": "^2.0.0", - "@sinonjs/samsam": "^7.0.1", + "@sinonjs/samsam": "^8.0.0", "event-emitter": "^0.3.5", "lodash.isarguments": "^3.1.0", "util": "^0.12.5" From a1f8eb418e007ff78e35a3aef58d17aad3af6fd5 Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Thu, 29 Jun 2023 11:07:26 +0200 Subject: [PATCH 04/14] 10.0.1 --- CHANGES.md | 13 +++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 6ee799e..1861abb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,18 @@ # Changes +## 10.0.1 + +- [`4d3e91c`](https://github.com/sinonjs/referee/commit/4d3e91c761adaf6ea793158b7833d80e9072ab03) + Upgrade samsam to v8 to fix a matcher issue (Maximilian Antoni) +- [`957a3f9`](https://github.com/sinonjs/referee/commit/957a3f9d1c1a00c2b57babe25705c675eaaaf077) + Add failing test for sinon.match.string (Maximilian Antoni) +- [`3e6ce3d`](https://github.com/sinonjs/referee/commit/3e6ce3dde85ebfad44b3b0cc2569e52e9e065586) + Update sinon (Maximilian Antoni) +- [`d0dfef5`](https://github.com/sinonjs/referee/commit/d0dfef5d4eeb4ac66075fc09485777a31629c9dc) + Upgrade esbuild to fix the build (Maximilian Antoni) + +_Released by [Maximilian Antoni](https://github.com/mantoni) on 2023-06-29._ + ## 10.0.0 - [`039c5d2`](https://github.com/sinonjs/referee/commit/039c5d27490a85c14dc49c5a9f9e5f573b19c9c8) diff --git a/package-lock.json b/package-lock.json index 71975e0..d01051d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@sinonjs/referee", - "version": "10.0.0", + "version": "10.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@sinonjs/referee", - "version": "10.0.0", + "version": "10.0.1", "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^2.0.0", diff --git a/package.json b/package.json index 3760d78..2fc370b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sinonjs/referee", - "version": "10.0.0", + "version": "10.0.1", "description": "Assertions for any JavaScript test framework and environment", "author": "Christian Johansen", "license": "BSD-3-Clause", From e4f0b29813fc1181f273124554739bf7a142f91f Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Fri, 22 Dec 2023 13:39:04 +0100 Subject: [PATCH 05/14] Upgrade sinon and @sinonjs/commons to latest --- package-lock.json | 158 +++++++++++++++++++++++++++++++--------------- package.json | 4 +- 2 files changed, 110 insertions(+), 52 deletions(-) diff --git a/package-lock.json b/package-lock.json index d01051d..6ebf873 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "10.0.1", "license": "BSD-3-Clause", "dependencies": { - "@sinonjs/commons": "^2.0.0", + "@sinonjs/commons": "^3.0.0", "@sinonjs/samsam": "^8.0.0", "event-emitter": "^0.3.5", "lodash.isarguments": "^3.1.0", @@ -26,7 +26,7 @@ "nyc": "^15.1.0", "prettier": "^2.8.3", "proxyquire": "^2.1.3", - "sinon": "^15.0.3" + "sinon": "^17.0.1" } }, "node_modules/@ampproject/remapping": { @@ -916,9 +916,9 @@ } }, "node_modules/@sinonjs/commons": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", - "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", + "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", "dependencies": { "type-detect": "4.0.8" } @@ -936,12 +936,12 @@ } }, "node_modules/@sinonjs/fake-timers": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz", - "integrity": "sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw==", + "version": "11.2.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-11.2.2.tgz", + "integrity": "sha512-G2piCSxQ7oWOxwGSAyFHfPIsyeJGXYtc6mFbnFA+kRXkiEnTl8c/8jul2S329iFBnDI9HGoeWWAZvuvOkZccgw==", "dev": true, "dependencies": { - "@sinonjs/commons": "^2.0.0" + "@sinonjs/commons": "^3.0.0" } }, "node_modules/@sinonjs/samsam": { @@ -954,6 +954,14 @@ "type-detect": "^4.0.8" } }, + "node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dependencies": { + "type-detect": "4.0.8" + } + }, "node_modules/@sinonjs/text-encoding": { "version": "0.7.2", "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz", @@ -3926,9 +3934,9 @@ "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" }, "node_modules/nise": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.4.tgz", - "integrity": "sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.5.tgz", + "integrity": "sha512-VJuPIfUFaXNRzETTQEEItTOP8Y171ijr+JLq42wHes3DiryR8vT+1TXQW/Rx8JNUhyYYWyIvjXTU6dOhJcs9Nw==", "dev": true, "dependencies": { "@sinonjs/commons": "^2.0.0", @@ -3938,6 +3946,33 @@ "path-to-regexp": "^1.7.0" } }, + "node_modules/nise/node_modules/@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/nise/node_modules/@sinonjs/fake-timers": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^3.0.0" + } + }, + "node_modules/nise/node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", + "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, "node_modules/node-preload": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", @@ -4653,16 +4688,16 @@ "dev": true }, "node_modules/sinon": { - "version": "15.0.3", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.3.tgz", - "integrity": "sha512-si3geiRkeovP7Iel2O+qGL4NrO9vbMf3KsrJEi0ghP1l5aBkB5UxARea5j0FUsSqH3HLBh0dQPAyQ8fObRUqHw==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-17.0.1.tgz", + "integrity": "sha512-wmwE19Lie0MLT+ZYNpDymasPHUKTaZHUH/pKEubRXIzySv9Atnlw+BUMGCzWgV7b7wO+Hw6f1TEOr0IUnmU8/g==", "dev": true, "dependencies": { "@sinonjs/commons": "^3.0.0", - "@sinonjs/fake-timers": "^10.0.2", + "@sinonjs/fake-timers": "^11.2.2", "@sinonjs/samsam": "^8.0.0", "diff": "^5.1.0", - "nise": "^5.1.4", + "nise": "^5.1.5", "supports-color": "^7.2.0" }, "funding": { @@ -4670,15 +4705,6 @@ "url": "https://opencollective.com/sinon" } }, - "node_modules/sinon/node_modules/@sinonjs/commons": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, "node_modules/sinon/node_modules/diff": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", @@ -5857,9 +5883,9 @@ } }, "@sinonjs/commons": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", - "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", + "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", "requires": { "type-detect": "4.0.8" } @@ -5877,12 +5903,12 @@ } }, "@sinonjs/fake-timers": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz", - "integrity": "sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw==", + "version": "11.2.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-11.2.2.tgz", + "integrity": "sha512-G2piCSxQ7oWOxwGSAyFHfPIsyeJGXYtc6mFbnFA+kRXkiEnTl8c/8jul2S329iFBnDI9HGoeWWAZvuvOkZccgw==", "dev": true, "requires": { - "@sinonjs/commons": "^2.0.0" + "@sinonjs/commons": "^3.0.0" } }, "@sinonjs/samsam": { @@ -5893,6 +5919,16 @@ "@sinonjs/commons": "^2.0.0", "lodash.get": "^4.4.2", "type-detect": "^4.0.8" + }, + "dependencies": { + "@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "requires": { + "type-detect": "4.0.8" + } + } } }, "@sinonjs/text-encoding": { @@ -8068,9 +8104,9 @@ "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" }, "nise": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.4.tgz", - "integrity": "sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.5.tgz", + "integrity": "sha512-VJuPIfUFaXNRzETTQEEItTOP8Y171ijr+JLq42wHes3DiryR8vT+1TXQW/Rx8JNUhyYYWyIvjXTU6dOhJcs9Nw==", "dev": true, "requires": { "@sinonjs/commons": "^2.0.0", @@ -8078,6 +8114,37 @@ "@sinonjs/text-encoding": "^0.7.1", "just-extend": "^4.0.2", "path-to-regexp": "^1.7.0" + }, + "dependencies": { + "@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/fake-timers": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", + "dev": true, + "requires": { + "@sinonjs/commons": "^3.0.0" + }, + "dependencies": { + "@sinonjs/commons": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", + "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + } + } + } } }, "node-preload": { @@ -8604,28 +8671,19 @@ "dev": true }, "sinon": { - "version": "15.0.3", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.3.tgz", - "integrity": "sha512-si3geiRkeovP7Iel2O+qGL4NrO9vbMf3KsrJEi0ghP1l5aBkB5UxARea5j0FUsSqH3HLBh0dQPAyQ8fObRUqHw==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-17.0.1.tgz", + "integrity": "sha512-wmwE19Lie0MLT+ZYNpDymasPHUKTaZHUH/pKEubRXIzySv9Atnlw+BUMGCzWgV7b7wO+Hw6f1TEOr0IUnmU8/g==", "dev": true, "requires": { "@sinonjs/commons": "^3.0.0", - "@sinonjs/fake-timers": "^10.0.2", + "@sinonjs/fake-timers": "^11.2.2", "@sinonjs/samsam": "^8.0.0", "diff": "^5.1.0", - "nise": "^5.1.4", + "nise": "^5.1.5", "supports-color": "^7.2.0" }, "dependencies": { - "@sinonjs/commons": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", - "dev": true, - "requires": { - "type-detect": "4.0.8" - } - }, "diff": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", diff --git a/package.json b/package.json index 2fc370b..3c877cd 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "*.js": "eslint --quiet" }, "dependencies": { - "@sinonjs/commons": "^2.0.0", + "@sinonjs/commons": "^3.0.0", "@sinonjs/samsam": "^8.0.0", "event-emitter": "^0.3.5", "lodash.isarguments": "^3.1.0", @@ -66,6 +66,6 @@ "nyc": "^15.1.0", "prettier": "^2.8.3", "proxyquire": "^2.1.3", - "sinon": "^15.0.3" + "sinon": "^17.0.1" } } From 719ebb0b1f27368581e850d400b263d529a951dc Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Fri, 22 Dec 2023 13:41:17 +0100 Subject: [PATCH 06/14] Update @sinonjs/eslint-config --- package-lock.json | 898 ++++++++++++++++++++++++++-------------------- package.json | 2 +- 2 files changed, 504 insertions(+), 396 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6ebf873..b19b34f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "util": "^0.12.5" }, "devDependencies": { - "@sinonjs/eslint-config": "^4.0.6", + "@sinonjs/eslint-config": "^5.0.1", "@studio/changes": "^2.2.0", "esbuild": "^0.17.4", "husky": "^8.0.3", @@ -29,6 +29,15 @@ "sinon": "^17.0.1" } }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/@ampproject/remapping": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", @@ -354,17 +363,17 @@ } }, "node_modules/@es-joy/jsdoccomment": { - "version": "0.36.1", - "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.36.1.tgz", - "integrity": "sha512-922xqFsTpHs6D0BUiG4toiyPOMc8/jafnWKxz1KWgS4XzKPy2qXf1Pe6UFuNSCQqt6tOuhAWXBNuuyUhJmw9Vg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.41.0.tgz", + "integrity": "sha512-aKUhyn1QI5Ksbqcr3fFJj16p99QdjUxXAEuFst1Z47DRyoiMwivIH9MV/ARcJOCXVjPfjITciej8ZD2O/6qUmw==", "dev": true, "dependencies": { - "comment-parser": "1.3.1", - "esquery": "^1.4.0", - "jsdoc-type-pratt-parser": "~3.1.0" + "comment-parser": "1.4.1", + "esquery": "^1.5.0", + "jsdoc-type-pratt-parser": "~4.0.0" }, "engines": { - "node": "^14 || ^16 || ^17 || ^18 || ^19" + "node": ">=16" } }, "node_modules/@esbuild/android-arm": { @@ -719,15 +728,39 @@ "node": ">=12" } }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, "node_modules/@eslint/eslintrc": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.4.1.tgz", - "integrity": "sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.4.0", + "espree": "^9.6.0", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -760,13 +793,22 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/@eslint/js": { + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", + "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", + "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", + "@humanwhocodes/object-schema": "^2.0.1", "debug": "^4.1.1", "minimatch": "^3.0.5" }, @@ -788,9 +830,9 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", + "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", "dev": true }, "node_modules/@istanbuljs/load-nyc-config": { @@ -875,9 +917,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-4.2.1.tgz", - "integrity": "sha512-EWUguj2kd7ldmrF9F+vI5hUOralPd+sdsUnYbRy33vZTuZkduC1shE9TtEMEjAQwyfyMb4ole5KtjF8MsnQOlA==", + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.5.1.tgz", + "integrity": "sha512-uKCxAlG5dqNEuCqGSAHa8cSFCZujnv0SRBOuMWMLiza4YK/eSiyNlMwXtWJSrRmeCT+33DBk1VUtAcZdSRdA+g==", "dev": true }, "node_modules/@nodelib/fs.scandir": { @@ -924,15 +966,15 @@ } }, "node_modules/@sinonjs/eslint-config": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/@sinonjs/eslint-config/-/eslint-config-4.0.6.tgz", - "integrity": "sha512-Tlpm1rjk/OqC5kjwWZF6yy4J9qlkRRJVIvX/xlWqdfbIvdflECzP/9y4qnFGnOQ7CooWB4GI7qztlQ+tXQu5hQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/eslint-config/-/eslint-config-5.0.1.tgz", + "integrity": "sha512-OppCUl4PWCBtwVAZbc47SfD8FzjiiQwq9lFwsg3r3UKGovFUR0ETG1bJ6LeiFNn7de1ce0RkkAQvFpfkZVqjyw==", "dev": true, "dependencies": { - "eslint": "^8.26.0", - "eslint-plugin-compat": "^4.0.2", - "eslint-plugin-jsdoc": "^39.3.25", - "eslint-plugin-mocha": "^10.1.0" + "eslint": "^8.54.0", + "eslint-plugin-compat": "^4.2.0", + "eslint-plugin-jsdoc": "^46.9.0", + "eslint-plugin-mocha": "^10.2.0" } }, "node_modules/@sinonjs/fake-timers": { @@ -1023,10 +1065,16 @@ "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", "dev": true }, + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "dev": true + }, "node_modules/acorn": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", + "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -1161,6 +1209,15 @@ "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==", "dev": true }, + "node_modules/are-docs-informative": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.0.2.tgz", + "integrity": "sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==", + "dev": true, + "engines": { + "node": ">=14" + } + }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -1176,20 +1233,14 @@ "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=" }, "node_modules/ast-metadata-inferer": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/ast-metadata-inferer/-/ast-metadata-inferer-0.7.0.tgz", - "integrity": "sha512-OkMLzd8xelb3gmnp6ToFvvsHLtS6CbagTkFQvQ+ZYFe3/AIl9iKikNR9G7pY3GfOR/2Xc222hwBjzI7HLkE76Q==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/ast-metadata-inferer/-/ast-metadata-inferer-0.8.0.tgz", + "integrity": "sha512-jOMKcHht9LxYIEQu+RVd22vtgrPaVCtDRQ/16IGmurdzxvYbDd5ynxjnyrzLnieG96eTcAyaoj/wN/4/1FyyeA==", "dev": true, "dependencies": { - "@mdn/browser-compat-data": "^3.3.14" + "@mdn/browser-compat-data": "^5.2.34" } }, - "node_modules/ast-metadata-inferer/node_modules/@mdn/browser-compat-data": { - "version": "3.3.14", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-3.3.14.tgz", - "integrity": "sha512-n2RC9d6XatVbWFdHLimzzUJxJ1KY8LdjqrW6YvGPiRmsHkhOUx74/Ct10x5Yo7bC/Jvqx7cDEW8IMPv/+vwEzA==", - "dev": true - }, "node_modules/astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", @@ -1254,9 +1305,9 @@ "dev": true }, "node_modules/browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "version": "4.22.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", + "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", "dev": true, "funding": [ { @@ -1266,13 +1317,17 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001565", + "electron-to-chromium": "^1.4.601", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" }, "bin": { "browserslist": "cli.js" @@ -1281,6 +1336,18 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, + "node_modules/builtin-modules": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/caching-transform": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", @@ -1315,9 +1382,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001427", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001427.tgz", - "integrity": "sha512-lfXQ73oB9c8DP5Suxaszm+Ta2sr/4tf8+381GkIm1MLj/YdLf+rEDyDSRCzeltuyTVGm+/s18gdZ0q+Wmp8VsQ==", + "version": "1.0.30001571", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001571.tgz", + "integrity": "sha512-tYq/6MoXhdezDLFZuCO/TKboTzuQ/xR5cFdgXPfDtM7/kchBO3b4VWghE/OAi/DV7tTdhmLjZiZBZi1fA/GheQ==", "dev": true, "funding": [ { @@ -1327,6 +1394,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, @@ -1590,9 +1661,9 @@ } }, "node_modules/comment-parser": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.3.1.tgz", - "integrity": "sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", "dev": true, "engines": { "node": ">= 12.0.0" @@ -1616,17 +1687,6 @@ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", "dev": true }, - "node_modules/core-js": { - "version": "3.27.2", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.27.2.tgz", - "integrity": "sha512-9ashVQskuh5AZEZ1JdQWp1GqSoC1e1G87MzRqg2gIfVAQ7Qn9K+uFj8EcniUFA4P2NLZfV+TOlX1SzoKfo+s7w==", - "dev": true, - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -1745,9 +1805,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.284", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==", + "version": "1.4.616", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz", + "integrity": "sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg==", "dev": true }, "node_modules/emoji-regex": { @@ -1895,49 +1955,48 @@ } }, "node_modules/eslint": { - "version": "8.32.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.32.0.tgz", - "integrity": "sha512-nETVXpnthqKPFyuY2FNjz/bEd6nbosRgKbkgS/y1C7LJop96gYHWpiguLecMHQ2XCPxn77DS0P+68WzG6vkZSQ==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", "dev": true, "dependencies": { - "@eslint/eslintrc": "^1.4.1", - "@humanwhocodes/config-array": "^0.11.8", + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.56.0", + "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.1.1", - "eslint-utils": "^3.0.0", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.4.0", - "esquery": "^1.4.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", + "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "regexpp": "^3.2.0", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "bin": { @@ -1951,22 +2010,21 @@ } }, "node_modules/eslint-plugin-compat": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-4.0.2.tgz", - "integrity": "sha512-xqvoO54CLTVaEYGMzhu35Wzwk/As7rCvz/2dqwnFiWi0OJccEtGIn+5qq3zqIu9nboXlpdBN579fZcItC73Ycg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-4.2.0.tgz", + "integrity": "sha512-RDKSYD0maWy5r7zb5cWQS+uSPc26mgOzdORJ8hxILmWM7S/Ncwky7BcAtXVY5iRbKjBdHsWU8Yg7hfoZjtkv7w==", "dev": true, "dependencies": { - "@mdn/browser-compat-data": "^4.1.5", - "ast-metadata-inferer": "^0.7.0", - "browserslist": "^4.16.8", - "caniuse-lite": "^1.0.30001304", - "core-js": "^3.16.2", + "@mdn/browser-compat-data": "^5.3.13", + "ast-metadata-inferer": "^0.8.0", + "browserslist": "^4.21.10", + "caniuse-lite": "^1.0.30001524", "find-up": "^5.0.0", - "lodash.memoize": "4.1.2", - "semver": "7.3.5" + "lodash.memoize": "^4.1.2", + "semver": "^7.5.4" }, "engines": { - "node": ">=9.x" + "node": ">=14.x" }, "peerDependencies": { "eslint": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" @@ -2034,9 +2092,9 @@ } }, "node_modules/eslint-plugin-compat/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -2049,21 +2107,23 @@ } }, "node_modules/eslint-plugin-jsdoc": { - "version": "39.6.6", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-39.6.6.tgz", - "integrity": "sha512-cFkmcdMYHw4XwA4fM5Rdopn9wB2p+Yu966F/6fa9C/oIMH99+YCfhH3+qXMc39VX9KYZ0d/KHgUbKo8D7N/27A==", + "version": "46.9.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.9.1.tgz", + "integrity": "sha512-11Ox5LCl2wY7gGkp9UOyew70o9qvii1daAH+h/MFobRVRNcy7sVlH+jm0HQdgcvcru6285GvpjpUyoa051j03Q==", "dev": true, "dependencies": { - "@es-joy/jsdoccomment": "~0.36.1", - "comment-parser": "1.3.1", + "@es-joy/jsdoccomment": "~0.41.0", + "are-docs-informative": "^0.0.2", + "comment-parser": "1.4.1", "debug": "^4.3.4", "escape-string-regexp": "^4.0.0", - "esquery": "^1.4.0", - "semver": "^7.3.8", - "spdx-expression-parse": "^3.0.1" + "esquery": "^1.5.0", + "is-builtin-module": "^3.2.1", + "semver": "^7.5.4", + "spdx-expression-parse": "^4.0.0" }, "engines": { - "node": "^14 || ^16 || ^17 || ^18 || ^19" + "node": ">=16" }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0" @@ -2082,9 +2142,9 @@ } }, "node_modules/eslint-plugin-jsdoc/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -2097,13 +2157,13 @@ } }, "node_modules/eslint-plugin-mocha": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.1.0.tgz", - "integrity": "sha512-xLqqWUF17llsogVOC+8C6/jvQ+4IoOREbN7ZCHuOHuD6cT5cDD4h7f2LgsZuzMAiwswWE21tO7ExaknHVDrSkw==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.2.0.tgz", + "integrity": "sha512-ZhdxzSZnd1P9LqDPF0DBcFLpRIGdh1zkF2JHnQklKQOvrQtT73kdP5K9V2mzvbLR+cCAO9OI48NXK/Ax9/ciCQ==", "dev": true, "dependencies": { "eslint-utils": "^3.0.0", - "rambda": "^7.1.0" + "rambda": "^7.4.0" }, "engines": { "node": ">=14.0.0" @@ -2113,9 +2173,9 @@ } }, "node_modules/eslint-scope": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, "dependencies": { "esrecurse": "^4.3.0", @@ -2123,6 +2183,9 @@ }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/eslint-utils": { @@ -2153,12 +2216,15 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/eslint/node_modules/ansi-styles": { @@ -2335,14 +2401,14 @@ } }, "node_modules/espree": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz", - "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, "dependencies": { - "acorn": "^8.8.0", + "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.1" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -2365,9 +2431,9 @@ } }, "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, "dependencies": { "estraverse": "^5.1.0" @@ -2482,9 +2548,9 @@ "dev": true }, "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", + "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -2567,12 +2633,13 @@ } }, "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", "dev": true, "dependencies": { - "flatted": "^3.1.0", + "flatted": "^3.2.9", + "keyv": "^4.5.3", "rimraf": "^3.0.2" }, "engines": { @@ -2580,9 +2647,9 @@ } }, "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", "dev": true }, "node_modules/foreach": { @@ -2720,9 +2787,9 @@ } }, "node_modules/globals": { - "version": "13.19.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.19.0.tgz", - "integrity": "sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==", + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -2752,10 +2819,10 @@ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", "dev": true }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, "node_modules/has": { @@ -2854,9 +2921,9 @@ } }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", "dev": true, "engines": { "node": ">= 4" @@ -2931,6 +2998,21 @@ "node": ">=8" } }, + "node_modules/is-builtin-module": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", + "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", + "dev": true, + "dependencies": { + "builtin-modules": "^3.3.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-callable": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", @@ -3244,16 +3326,6 @@ "node": ">=8" } }, - "node_modules/js-sdsl": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.2.0.tgz", - "integrity": "sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/js-sdsl" - } - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -3274,9 +3346,9 @@ } }, "node_modules/jsdoc-type-pratt-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-3.1.0.tgz", - "integrity": "sha512-MgtD0ZiCDk9B+eI73BextfRrVQl0oyzRG8B2BjORts6jbunj4ScKPcyXGTbB6eXL4y9TzxCm6hyeLq/2ASzNdw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz", + "integrity": "sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==", "dev": true, "engines": { "node": ">=12.0.0" @@ -3294,6 +3366,12 @@ "node": ">=4" } }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -3324,6 +3402,15 @@ "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", "dev": true }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -3986,9 +4073,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", "dev": true }, "node_modules/normalize-path": { @@ -4190,17 +4277,17 @@ } }, "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "dev": true, "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "type-check": "^0.4.0" }, "engines": { "node": ">= 0.8.0" @@ -4413,9 +4500,9 @@ } }, "node_modules/punycode": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.2.0.tgz", - "integrity": "sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "engines": { "node": ">=6" @@ -4442,9 +4529,9 @@ ] }, "node_modules/rambda": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/rambda/-/rambda-7.4.0.tgz", - "integrity": "sha512-A9hihu7dUTLOUCM+I8E61V4kRXnN4DwYeK0DwCBydC1MqNI1PidyAtbtpsJlBBzK4icSctEcCQ1bGcLpBuETUQ==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/rambda/-/rambda-7.5.0.tgz", + "integrity": "sha512-y/M9weqWAH4iopRd7EHDEQQvpFPHj1AA3oHozE9tfITHUtTR7Z9PSlIRRG2l1GuW7sefC1cXFfIcF+cgnShdBA==", "dev": true }, "node_modules/randombytes": { @@ -4468,18 +4555,6 @@ "node": ">=8.10.0" } }, - "node_modules/regexpp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, "node_modules/release-zalgo": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", @@ -4812,9 +4887,9 @@ "dev": true }, "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", + "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==", "dev": true, "dependencies": { "spdx-exceptions": "^2.1.0", @@ -4822,9 +4897,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", "dev": true }, "node_modules/sprintf-js": { @@ -5037,9 +5112,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", - "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", "dev": true, "funding": [ { @@ -5049,6 +5124,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { @@ -5056,7 +5135,7 @@ "picocolors": "^1.0.0" }, "bin": { - "browserslist-lint": "cli.js" + "update-browserslist-db": "cli.js" }, "peerDependencies": { "browserslist": ">= 4.21.0" @@ -5129,15 +5208,6 @@ "node": ">= 0.4" } }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", @@ -5317,6 +5387,12 @@ } }, "dependencies": { + "@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true + }, "@ampproject/remapping": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", @@ -5564,14 +5640,14 @@ } }, "@es-joy/jsdoccomment": { - "version": "0.36.1", - "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.36.1.tgz", - "integrity": "sha512-922xqFsTpHs6D0BUiG4toiyPOMc8/jafnWKxz1KWgS4XzKPy2qXf1Pe6UFuNSCQqt6tOuhAWXBNuuyUhJmw9Vg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.41.0.tgz", + "integrity": "sha512-aKUhyn1QI5Ksbqcr3fFJj16p99QdjUxXAEuFst1Z47DRyoiMwivIH9MV/ARcJOCXVjPfjITciej8ZD2O/6qUmw==", "dev": true, "requires": { - "comment-parser": "1.3.1", - "esquery": "^1.4.0", - "jsdoc-type-pratt-parser": "~3.1.0" + "comment-parser": "1.4.1", + "esquery": "^1.5.0", + "jsdoc-type-pratt-parser": "~4.0.0" } }, "@esbuild/android-arm": { @@ -5728,15 +5804,30 @@ "dev": true, "optional": true }, + "@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.3.0" + } + }, + "@eslint-community/regexpp": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "dev": true + }, "@eslint/eslintrc": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.4.1.tgz", - "integrity": "sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dev": true, "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.4.0", + "espree": "^9.6.0", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -5762,13 +5853,19 @@ } } }, + "@eslint/js": { + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", + "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", + "dev": true + }, "@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", + "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", "dev": true, "requires": { - "@humanwhocodes/object-schema": "^1.2.1", + "@humanwhocodes/object-schema": "^2.0.1", "debug": "^4.1.1", "minimatch": "^3.0.5" } @@ -5780,9 +5877,9 @@ "dev": true }, "@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", + "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", "dev": true }, "@istanbuljs/load-nyc-config": { @@ -5851,9 +5948,9 @@ } }, "@mdn/browser-compat-data": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-4.2.1.tgz", - "integrity": "sha512-EWUguj2kd7ldmrF9F+vI5hUOralPd+sdsUnYbRy33vZTuZkduC1shE9TtEMEjAQwyfyMb4ole5KtjF8MsnQOlA==", + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.5.1.tgz", + "integrity": "sha512-uKCxAlG5dqNEuCqGSAHa8cSFCZujnv0SRBOuMWMLiza4YK/eSiyNlMwXtWJSrRmeCT+33DBk1VUtAcZdSRdA+g==", "dev": true }, "@nodelib/fs.scandir": { @@ -5891,15 +5988,15 @@ } }, "@sinonjs/eslint-config": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/@sinonjs/eslint-config/-/eslint-config-4.0.6.tgz", - "integrity": "sha512-Tlpm1rjk/OqC5kjwWZF6yy4J9qlkRRJVIvX/xlWqdfbIvdflECzP/9y4qnFGnOQ7CooWB4GI7qztlQ+tXQu5hQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/eslint-config/-/eslint-config-5.0.1.tgz", + "integrity": "sha512-OppCUl4PWCBtwVAZbc47SfD8FzjiiQwq9lFwsg3r3UKGovFUR0ETG1bJ6LeiFNn7de1ce0RkkAQvFpfkZVqjyw==", "dev": true, "requires": { - "eslint": "^8.26.0", - "eslint-plugin-compat": "^4.0.2", - "eslint-plugin-jsdoc": "^39.3.25", - "eslint-plugin-mocha": "^10.1.0" + "eslint": "^8.54.0", + "eslint-plugin-compat": "^4.2.0", + "eslint-plugin-jsdoc": "^46.9.0", + "eslint-plugin-mocha": "^10.2.0" } }, "@sinonjs/fake-timers": { @@ -5986,10 +6083,16 @@ "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", "dev": true }, + "@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "dev": true + }, "acorn": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", + "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", "dev": true }, "acorn-jsx": { @@ -6084,6 +6187,12 @@ "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==", "dev": true }, + "are-docs-informative": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.0.2.tgz", + "integrity": "sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==", + "dev": true + }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -6099,20 +6208,12 @@ "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=" }, "ast-metadata-inferer": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/ast-metadata-inferer/-/ast-metadata-inferer-0.7.0.tgz", - "integrity": "sha512-OkMLzd8xelb3gmnp6ToFvvsHLtS6CbagTkFQvQ+ZYFe3/AIl9iKikNR9G7pY3GfOR/2Xc222hwBjzI7HLkE76Q==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/ast-metadata-inferer/-/ast-metadata-inferer-0.8.0.tgz", + "integrity": "sha512-jOMKcHht9LxYIEQu+RVd22vtgrPaVCtDRQ/16IGmurdzxvYbDd5ynxjnyrzLnieG96eTcAyaoj/wN/4/1FyyeA==", "dev": true, "requires": { - "@mdn/browser-compat-data": "^3.3.14" - }, - "dependencies": { - "@mdn/browser-compat-data": { - "version": "3.3.14", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-3.3.14.tgz", - "integrity": "sha512-n2RC9d6XatVbWFdHLimzzUJxJ1KY8LdjqrW6YvGPiRmsHkhOUx74/Ct10x5Yo7bC/Jvqx7cDEW8IMPv/+vwEzA==", - "dev": true - } + "@mdn/browser-compat-data": "^5.2.34" } }, "astral-regex": { @@ -6167,17 +6268,23 @@ "dev": true }, "browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "version": "4.22.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", + "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001565", + "electron-to-chromium": "^1.4.601", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" } }, + "builtin-modules": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "dev": true + }, "caching-transform": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", @@ -6203,9 +6310,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001427", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001427.tgz", - "integrity": "sha512-lfXQ73oB9c8DP5Suxaszm+Ta2sr/4tf8+381GkIm1MLj/YdLf+rEDyDSRCzeltuyTVGm+/s18gdZ0q+Wmp8VsQ==", + "version": "1.0.30001571", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001571.tgz", + "integrity": "sha512-tYq/6MoXhdezDLFZuCO/TKboTzuQ/xR5cFdgXPfDtM7/kchBO3b4VWghE/OAi/DV7tTdhmLjZiZBZi1fA/GheQ==", "dev": true }, "chalk": { @@ -6392,9 +6499,9 @@ "dev": true }, "comment-parser": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.3.1.tgz", - "integrity": "sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", "dev": true }, "commondir": { @@ -6415,12 +6522,6 @@ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", "dev": true }, - "core-js": { - "version": "3.27.2", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.27.2.tgz", - "integrity": "sha512-9ashVQskuh5AZEZ1JdQWp1GqSoC1e1G87MzRqg2gIfVAQ7Qn9K+uFj8EcniUFA4P2NLZfV+TOlX1SzoKfo+s7w==", - "dev": true - }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -6507,9 +6608,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.4.284", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==", + "version": "1.4.616", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz", + "integrity": "sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg==", "dev": true }, "emoji-regex": { @@ -6635,49 +6736,48 @@ "dev": true }, "eslint": { - "version": "8.32.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.32.0.tgz", - "integrity": "sha512-nETVXpnthqKPFyuY2FNjz/bEd6nbosRgKbkgS/y1C7LJop96gYHWpiguLecMHQ2XCPxn77DS0P+68WzG6vkZSQ==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", "dev": true, "requires": { - "@eslint/eslintrc": "^1.4.1", - "@humanwhocodes/config-array": "^0.11.8", + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.56.0", + "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.1.1", - "eslint-utils": "^3.0.0", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.4.0", - "esquery": "^1.4.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", + "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "regexpp": "^3.2.0", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "dependencies": { @@ -6800,19 +6900,18 @@ } }, "eslint-plugin-compat": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-4.0.2.tgz", - "integrity": "sha512-xqvoO54CLTVaEYGMzhu35Wzwk/As7rCvz/2dqwnFiWi0OJccEtGIn+5qq3zqIu9nboXlpdBN579fZcItC73Ycg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-4.2.0.tgz", + "integrity": "sha512-RDKSYD0maWy5r7zb5cWQS+uSPc26mgOzdORJ8hxILmWM7S/Ncwky7BcAtXVY5iRbKjBdHsWU8Yg7hfoZjtkv7w==", "dev": true, "requires": { - "@mdn/browser-compat-data": "^4.1.5", - "ast-metadata-inferer": "^0.7.0", - "browserslist": "^4.16.8", - "caniuse-lite": "^1.0.30001304", - "core-js": "^3.16.2", + "@mdn/browser-compat-data": "^5.3.13", + "ast-metadata-inferer": "^0.8.0", + "browserslist": "^4.21.10", + "caniuse-lite": "^1.0.30001524", "find-up": "^5.0.0", - "lodash.memoize": "4.1.2", - "semver": "7.3.5" + "lodash.memoize": "^4.1.2", + "semver": "^7.5.4" }, "dependencies": { "find-up": { @@ -6853,9 +6952,9 @@ } }, "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -6864,18 +6963,20 @@ } }, "eslint-plugin-jsdoc": { - "version": "39.6.6", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-39.6.6.tgz", - "integrity": "sha512-cFkmcdMYHw4XwA4fM5Rdopn9wB2p+Yu966F/6fa9C/oIMH99+YCfhH3+qXMc39VX9KYZ0d/KHgUbKo8D7N/27A==", + "version": "46.9.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.9.1.tgz", + "integrity": "sha512-11Ox5LCl2wY7gGkp9UOyew70o9qvii1daAH+h/MFobRVRNcy7sVlH+jm0HQdgcvcru6285GvpjpUyoa051j03Q==", "dev": true, "requires": { - "@es-joy/jsdoccomment": "~0.36.1", - "comment-parser": "1.3.1", + "@es-joy/jsdoccomment": "~0.41.0", + "are-docs-informative": "^0.0.2", + "comment-parser": "1.4.1", "debug": "^4.3.4", "escape-string-regexp": "^4.0.0", - "esquery": "^1.4.0", - "semver": "^7.3.8", - "spdx-expression-parse": "^3.0.1" + "esquery": "^1.5.0", + "is-builtin-module": "^3.2.1", + "semver": "^7.5.4", + "spdx-expression-parse": "^4.0.0" }, "dependencies": { "escape-string-regexp": { @@ -6885,9 +6986,9 @@ "dev": true }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -6896,19 +6997,19 @@ } }, "eslint-plugin-mocha": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.1.0.tgz", - "integrity": "sha512-xLqqWUF17llsogVOC+8C6/jvQ+4IoOREbN7ZCHuOHuD6cT5cDD4h7f2LgsZuzMAiwswWE21tO7ExaknHVDrSkw==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.2.0.tgz", + "integrity": "sha512-ZhdxzSZnd1P9LqDPF0DBcFLpRIGdh1zkF2JHnQklKQOvrQtT73kdP5K9V2mzvbLR+cCAO9OI48NXK/Ax9/ciCQ==", "dev": true, "requires": { "eslint-utils": "^3.0.0", - "rambda": "^7.1.0" + "rambda": "^7.4.0" } }, "eslint-scope": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, "requires": { "esrecurse": "^4.3.0", @@ -6933,20 +7034,20 @@ } }, "eslint-visitor-keys": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true }, "espree": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz", - "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, "requires": { - "acorn": "^8.8.0", + "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.1" } }, "esprima": { @@ -6956,9 +7057,9 @@ "dev": true }, "esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, "requires": { "estraverse": "^5.1.0" @@ -7053,9 +7154,9 @@ "dev": true }, "fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", + "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", "dev": true, "requires": { "reusify": "^1.0.4" @@ -7117,19 +7218,20 @@ "dev": true }, "flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", "dev": true, "requires": { - "flatted": "^3.1.0", + "flatted": "^3.2.9", + "keyv": "^4.5.3", "rimraf": "^3.0.2" } }, "flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", "dev": true }, "foreach": { @@ -7219,9 +7321,9 @@ } }, "globals": { - "version": "13.19.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.19.0.tgz", - "integrity": "sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==", + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -7241,10 +7343,10 @@ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", "dev": true }, - "grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, "has": { @@ -7310,9 +7412,9 @@ "dev": true }, "ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", "dev": true }, "import-fresh": { @@ -7366,6 +7468,15 @@ "binary-extensions": "^2.0.0" } }, + "is-builtin-module": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", + "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", + "dev": true, + "requires": { + "builtin-modules": "^3.3.0" + } + }, "is-callable": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", @@ -7599,12 +7710,6 @@ "istanbul-lib-report": "^3.0.0" } }, - "js-sdsl": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.2.0.tgz", - "integrity": "sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==", - "dev": true - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -7622,9 +7727,9 @@ } }, "jsdoc-type-pratt-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-3.1.0.tgz", - "integrity": "sha512-MgtD0ZiCDk9B+eI73BextfRrVQl0oyzRG8B2BjORts6jbunj4ScKPcyXGTbB6eXL4y9TzxCm6hyeLq/2ASzNdw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz", + "integrity": "sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==", "dev": true }, "jsesc": { @@ -7633,6 +7738,12 @@ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, + "json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -7657,6 +7768,15 @@ "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", "dev": true }, + "keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "requires": { + "json-buffer": "3.0.1" + } + }, "levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -8157,9 +8277,9 @@ } }, "node-releases": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", "dev": true }, "normalize-path": { @@ -8317,17 +8437,17 @@ } }, "optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "dev": true, "requires": { + "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "type-check": "^0.4.0" } }, "p-limit": { @@ -8477,9 +8597,9 @@ } }, "punycode": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.2.0.tgz", - "integrity": "sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true }, "queue-microtask": { @@ -8489,9 +8609,9 @@ "dev": true }, "rambda": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/rambda/-/rambda-7.4.0.tgz", - "integrity": "sha512-A9hihu7dUTLOUCM+I8E61V4kRXnN4DwYeK0DwCBydC1MqNI1PidyAtbtpsJlBBzK4icSctEcCQ1bGcLpBuETUQ==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/rambda/-/rambda-7.5.0.tgz", + "integrity": "sha512-y/M9weqWAH4iopRd7EHDEQQvpFPHj1AA3oHozE9tfITHUtTR7Z9PSlIRRG2l1GuW7sefC1cXFfIcF+cgnShdBA==", "dev": true }, "randombytes": { @@ -8512,12 +8632,6 @@ "picomatch": "^2.2.1" } }, - "regexpp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", - "dev": true - }, "release-zalgo": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", @@ -8771,9 +8885,9 @@ "dev": true }, "spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", + "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==", "dev": true, "requires": { "spdx-exceptions": "^2.1.0", @@ -8781,9 +8895,9 @@ } }, "spdx-license-ids": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", "dev": true }, "sprintf-js": { @@ -8948,9 +9062,9 @@ } }, "update-browserslist-db": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", - "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", "dev": true, "requires": { "escalade": "^3.1.1", @@ -9012,12 +9126,6 @@ "is-typed-array": "^1.1.3" } }, - "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true - }, "workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", diff --git a/package.json b/package.json index 3c877cd..6bbf57a 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "!lib/**/*.test.js" ], "devDependencies": { - "@sinonjs/eslint-config": "^4.0.6", + "@sinonjs/eslint-config": "^5.0.1", "@studio/changes": "^2.2.0", "esbuild": "^0.17.4", "husky": "^8.0.3", From bcb67ced33bf50bf88ced4932c14cde41e9fa44e Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Fri, 22 Dec 2023 13:42:47 +0100 Subject: [PATCH 07/14] Upgrade lint-staged --- package-lock.json | 1089 +++++++++++++++++++++++---------------------- package.json | 2 +- 2 files changed, 562 insertions(+), 529 deletions(-) diff --git a/package-lock.json b/package-lock.json index b19b34f..76e3da9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@studio/changes": "^2.2.0", "esbuild": "^0.17.4", "husky": "^8.0.3", - "lint-staged": "^13.1.0", + "lint-staged": "^15.2.0", "mkdirp": "^1.0.3", "mocha": "^10.2.0", "nyc": "^15.1.0", @@ -1131,27 +1131,27 @@ } }, "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", + "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", "dev": true, "dependencies": { - "type-fest": "^0.21.3" + "type-fest": "^3.0.0" }, "engines": { - "node": ">=8" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/ansi-escapes/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", + "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", "dev": true, "engines": { - "node": ">=10" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -1241,15 +1241,6 @@ "@mdn/browser-compat-data": "^5.2.34" } }, - "node_modules/astral-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/available-typed-arrays": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", @@ -1452,28 +1443,31 @@ } }, "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", + "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", "dev": true, "dependencies": { - "restore-cursor": "^3.1.0" + "restore-cursor": "^4.0.0" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/cli-truncate": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz", - "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", + "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", "dev": true, "dependencies": { "slice-ansi": "^5.0.0", - "string-width": "^5.0.0" + "string-width": "^7.0.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -1491,73 +1485,33 @@ "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/cli-truncate/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/cli-truncate/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", "dev": true }, - "node_modules/cli-truncate/node_modules/is-fullwidth-code-point": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-truncate/node_modules/slice-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, "node_modules/cli-truncate/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", + "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", "dev": true, "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/cli-truncate/node_modules/strip-ansi": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, "dependencies": { "ansi-regex": "^6.0.1" @@ -1646,18 +1600,18 @@ "dev": true }, "node_modules/colorette": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", - "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", "dev": true }, "node_modules/commander": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", + "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", "dev": true, "engines": { - "node": "^12.20.0 || >=14" + "node": ">=16" } }, "node_modules/comment-parser": { @@ -1798,12 +1752,6 @@ "node": ">=6.0.0" } }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "dev": true - }, "node_modules/electron-to-chromium": { "version": "1.4.616", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz", @@ -1816,20 +1764,6 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, - "node_modules/enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "ansi-colors": "^4.1.1" - }, - "engines": { - "node": ">=8.6" - } - }, "node_modules/es-abstract": { "version": "1.17.6", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz", @@ -2481,24 +2415,30 @@ "es5-ext": "~0.10.14" } }, + "node_modules/eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "dev": true + }, "node_modules/execa": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-6.1.0.tgz", - "integrity": "sha512-QVWlX2e50heYJcCPG0iWtf8r0xjEYfz/OYLGDYH+IyjWezzPNxz63qNFOu0l4YftGWuizFVZHHs8PrLU5p2IDA==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", "dev": true, "dependencies": { "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^3.0.1", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", "is-stream": "^3.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^5.1.0", "onetime": "^6.0.0", - "signal-exit": "^3.0.7", + "signal-exit": "^4.1.0", "strip-final-newline": "^3.0.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=16.17" }, "funding": { "url": "https://github.com/sindresorhus/execa?sponsor=1" @@ -2516,6 +2456,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/execa/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/ext": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", @@ -2733,6 +2685,18 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-east-asian-width": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz", + "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", @@ -2743,12 +2707,12 @@ } }, "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", + "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", "dev": true, "engines": { - "node": ">=10" + "node": ">=16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -2897,12 +2861,12 @@ "dev": true }, "node_modules/human-signals": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-3.0.1.tgz", - "integrity": "sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", + "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", "dev": true, "engines": { - "node": ">=12.20.0" + "node": ">=16.17.0" } }, "node_modules/husky": { @@ -3425,146 +3389,144 @@ } }, "node_modules/lilconfig": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz", - "integrity": "sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", + "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==", "dev": true, "engines": { - "node": ">=10" + "node": ">=14" } }, "node_modules/lint-staged": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-13.1.0.tgz", - "integrity": "sha512-pn/sR8IrcF/T0vpWLilih8jmVouMlxqXxKuAojmbiGX5n/gDnz+abdPptlj0vYnbfE0SQNl3CY/HwtM0+yfOVQ==", + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.0.tgz", + "integrity": "sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==", "dev": true, "dependencies": { - "cli-truncate": "^3.1.0", - "colorette": "^2.0.19", - "commander": "^9.4.1", - "debug": "^4.3.4", - "execa": "^6.1.0", - "lilconfig": "2.0.6", - "listr2": "^5.0.5", - "micromatch": "^4.0.5", - "normalize-path": "^3.0.0", - "object-inspect": "^1.12.2", - "pidtree": "^0.6.0", - "string-argv": "^0.3.1", - "yaml": "^2.1.3" + "chalk": "5.3.0", + "commander": "11.1.0", + "debug": "4.3.4", + "execa": "8.0.1", + "lilconfig": "3.0.0", + "listr2": "8.0.0", + "micromatch": "4.0.5", + "pidtree": "0.6.0", + "string-argv": "0.3.2", + "yaml": "2.3.4" }, "bin": { "lint-staged": "bin/lint-staged.js" }, "engines": { - "node": "^14.13.1 || >=16.0.0" + "node": ">=18.12.0" }, "funding": { "url": "https://opencollective.com/lint-staged" } }, + "node_modules/lint-staged/node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true, + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/listr2": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-5.0.7.tgz", - "integrity": "sha512-MD+qXHPmtivrHIDRwPYdfNkrzqDiuaKU/rfBcec3WMyMF3xylQj3jMq344OtvQxz7zaCFViRAeqlr2AFhPvXHw==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.0.tgz", + "integrity": "sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==", "dev": true, "dependencies": { - "cli-truncate": "^2.1.0", - "colorette": "^2.0.19", - "log-update": "^4.0.0", - "p-map": "^4.0.0", + "cli-truncate": "^4.0.0", + "colorette": "^2.0.20", + "eventemitter3": "^5.0.1", + "log-update": "^6.0.0", "rfdc": "^1.3.0", - "rxjs": "^7.8.0", - "through": "^2.3.8", - "wrap-ansi": "^7.0.0" + "wrap-ansi": "^9.0.0" }, "engines": { - "node": "^14.13.1 || >=16.0.0" - }, - "peerDependencies": { - "enquirer": ">= 2.3.0 < 3" + "node": ">=18.0.0" + } + }, + "node_modules/listr2/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" }, - "peerDependenciesMeta": { - "enquirer": { - "optional": true - } + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/listr2/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, "engines": { - "node": ">=8" + "node": ">=12" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/listr2/node_modules/cli-truncate": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", - "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", + "node_modules/listr2/node_modules/emoji-regex": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true + }, + "node_modules/listr2/node_modules/string-width": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", + "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", "dev": true, "dependencies": { - "slice-ansi": "^3.0.0", - "string-width": "^4.2.0" + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=8" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/listr2/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/listr2/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, "dependencies": { - "color-name": "~1.1.4" + "ansi-regex": "^6.0.1" }, "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/listr2/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/listr2/node_modules/slice-ansi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", - "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" + "node": ">=12" }, - "engines": { - "node": ">=8" + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/listr2/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", + "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", "dev": true, "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/chalk/wrap-ansi?sponsor=1" @@ -3692,23 +3654,134 @@ } }, "node_modules/log-update": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", - "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.0.0.tgz", + "integrity": "sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==", "dev": true, "dependencies": { - "ansi-escapes": "^4.3.0", - "cli-cursor": "^3.1.0", - "slice-ansi": "^4.0.0", - "wrap-ansi": "^6.2.0" + "ansi-escapes": "^6.2.0", + "cli-cursor": "^4.0.0", + "slice-ansi": "^7.0.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/log-update/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/log-update/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-update/node_modules/emoji-regex": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true + }, + "node_modules/log-update/node_modules/is-fullwidth-code-point": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz", + "integrity": "sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==", + "dev": true, + "dependencies": { + "get-east-asian-width": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update/node_modules/slice-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz", + "integrity": "sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.2.1", + "is-fullwidth-code-point": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/log-update/node_modules/string-width": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", + "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", + "dev": true, + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/log-update/node_modules/wrap-ansi": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", + "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -4088,9 +4161,9 @@ } }, "node_modules/npm-run-path": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.2.0.tgz", + "integrity": "sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==", "dev": true, "dependencies": { "path-key": "^4.0.0" @@ -4317,21 +4390,6 @@ "node": ">=8" } }, - "node_modules/p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "dev": true, - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", @@ -4609,16 +4667,19 @@ } }, "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", + "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", "dev": true, "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/restore-cursor/node_modules/mimic-fn": { @@ -4696,15 +4757,6 @@ "queue-microtask": "^1.2.2" } }, - "node_modules/rxjs": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", - "dev": true, - "dependencies": { - "tslib": "^2.1.0" - } - }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -4811,49 +4863,45 @@ } }, "node_modules/slice-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", + "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", "dev": true, "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" + "ansi-styles": "^6.0.0", + "is-fullwidth-code-point": "^4.0.0" }, "engines": { - "node": ">=10" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, "node_modules/slice-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/slice-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/slice-ansi/node_modules/is-fullwidth-code-point": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", + "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, "engines": { - "node": ">=7.0.0" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/slice-ansi/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -4909,9 +4957,9 @@ "dev": true }, "node_modules/string-argv": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", - "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", + "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", "dev": true, "engines": { "node": ">=0.6.19" @@ -5035,12 +5083,6 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", - "dev": true - }, "node_modules/to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -5062,12 +5104,6 @@ "node": ">=8.0" } }, - "node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", - "dev": true - }, "node_modules/type": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", @@ -5290,9 +5326,9 @@ "dev": true }, "node_modules/yaml": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.1.tgz", - "integrity": "sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", "dev": true, "engines": { "node": ">= 14" @@ -6131,18 +6167,18 @@ "dev": true }, "ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", + "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", "dev": true, "requires": { - "type-fest": "^0.21.3" + "type-fest": "^3.0.0" }, "dependencies": { "type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", + "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", "dev": true } } @@ -6216,12 +6252,6 @@ "@mdn/browser-compat-data": "^5.2.34" } }, - "astral-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", - "dev": true - }, "available-typed-arrays": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", @@ -6349,22 +6379,22 @@ "dev": true }, "cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", + "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", "dev": true, "requires": { - "restore-cursor": "^3.1.0" + "restore-cursor": "^4.0.0" } }, "cli-truncate": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz", - "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", + "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", "dev": true, "requires": { "slice-ansi": "^5.0.0", - "string-width": "^5.0.0" + "string-width": "^7.0.0" }, "dependencies": { "ansi-regex": { @@ -6373,49 +6403,27 @@ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true }, - "ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true - }, "emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", "dev": true }, - "slice-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", - "dev": true, - "requires": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" - } - }, "string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", + "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", "dev": true, "requires": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" } }, "strip-ansi": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, "requires": { "ansi-regex": "^6.0.1" @@ -6487,15 +6495,15 @@ "dev": true }, "colorette": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", - "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", "dev": true }, "commander": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", + "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", "dev": true }, "comment-parser": { @@ -6601,12 +6609,6 @@ "esutils": "^2.0.2" } }, - "eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "dev": true - }, "electron-to-chromium": { "version": "1.4.616", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz", @@ -6619,17 +6621,6 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, - "enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", - "dev": true, - "optional": true, - "peer": true, - "requires": { - "ansi-colors": "^4.1.1" - } - }, "es-abstract": { "version": "1.17.6", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz", @@ -7095,20 +7086,26 @@ "es5-ext": "~0.10.14" } }, + "eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "dev": true + }, "execa": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-6.1.0.tgz", - "integrity": "sha512-QVWlX2e50heYJcCPG0iWtf8r0xjEYfz/OYLGDYH+IyjWezzPNxz63qNFOu0l4YftGWuizFVZHHs8PrLU5p2IDA==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", "dev": true, "requires": { "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^3.0.1", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", "is-stream": "^3.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^5.1.0", "onetime": "^6.0.0", - "signal-exit": "^3.0.7", + "signal-exit": "^4.1.0", "strip-final-newline": "^3.0.0" }, "dependencies": { @@ -7117,6 +7114,12 @@ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", "dev": true + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true } } }, @@ -7285,6 +7288,12 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, + "get-east-asian-width": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz", + "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==", + "dev": true + }, "get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", @@ -7292,9 +7301,9 @@ "dev": true }, "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", + "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", "dev": true }, "glob": { @@ -7400,9 +7409,9 @@ "dev": true }, "human-signals": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-3.0.1.tgz", - "integrity": "sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", + "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", "dev": true }, "husky": { @@ -7788,102 +7797,98 @@ } }, "lilconfig": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz", - "integrity": "sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", + "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==", "dev": true }, "lint-staged": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-13.1.0.tgz", - "integrity": "sha512-pn/sR8IrcF/T0vpWLilih8jmVouMlxqXxKuAojmbiGX5n/gDnz+abdPptlj0vYnbfE0SQNl3CY/HwtM0+yfOVQ==", + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.0.tgz", + "integrity": "sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==", "dev": true, "requires": { - "cli-truncate": "^3.1.0", - "colorette": "^2.0.19", - "commander": "^9.4.1", - "debug": "^4.3.4", - "execa": "^6.1.0", - "lilconfig": "2.0.6", - "listr2": "^5.0.5", - "micromatch": "^4.0.5", - "normalize-path": "^3.0.0", - "object-inspect": "^1.12.2", - "pidtree": "^0.6.0", - "string-argv": "^0.3.1", - "yaml": "^2.1.3" + "chalk": "5.3.0", + "commander": "11.1.0", + "debug": "4.3.4", + "execa": "8.0.1", + "lilconfig": "3.0.0", + "listr2": "8.0.0", + "micromatch": "4.0.5", + "pidtree": "0.6.0", + "string-argv": "0.3.2", + "yaml": "2.3.4" + }, + "dependencies": { + "chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true + } } }, "listr2": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-5.0.7.tgz", - "integrity": "sha512-MD+qXHPmtivrHIDRwPYdfNkrzqDiuaKU/rfBcec3WMyMF3xylQj3jMq344OtvQxz7zaCFViRAeqlr2AFhPvXHw==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.0.tgz", + "integrity": "sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==", "dev": true, "requires": { - "cli-truncate": "^2.1.0", - "colorette": "^2.0.19", - "log-update": "^4.0.0", - "p-map": "^4.0.0", + "cli-truncate": "^4.0.0", + "colorette": "^2.0.20", + "eventemitter3": "^5.0.1", + "log-update": "^6.0.0", "rfdc": "^1.3.0", - "rxjs": "^7.8.0", - "through": "^2.3.8", - "wrap-ansi": "^7.0.0" + "wrap-ansi": "^9.0.0" }, "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true }, - "cli-truncate": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", - "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", - "dev": true, - "requires": { - "slice-ansi": "^3.0.0", - "string-width": "^4.2.0" - } + "emoji-regex": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "string-width": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", + "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", "dev": true, "requires": { - "color-name": "~1.1.4" + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" } }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "slice-ansi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", - "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, "requires": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" + "ansi-regex": "^6.0.1" } }, "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", + "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", "dev": true, "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" } } } @@ -7988,15 +7993,86 @@ } }, "log-update": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", - "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.0.0.tgz", + "integrity": "sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==", "dev": true, "requires": { - "ansi-escapes": "^4.3.0", - "cli-cursor": "^3.1.0", - "slice-ansi": "^4.0.0", - "wrap-ansi": "^6.2.0" + "ansi-escapes": "^6.2.0", + "cli-cursor": "^4.0.0", + "slice-ansi": "^7.0.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "emoji-regex": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz", + "integrity": "sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==", + "dev": true, + "requires": { + "get-east-asian-width": "^1.0.0" + } + }, + "slice-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz", + "integrity": "sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==", + "dev": true, + "requires": { + "ansi-styles": "^6.2.1", + "is-fullwidth-code-point": "^5.0.0" + } + }, + "string-width": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", + "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", + "dev": true, + "requires": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + }, + "wrap-ansi": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", + "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", + "dev": true, + "requires": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + } + } } }, "lru-cache": { @@ -8289,9 +8365,9 @@ "dev": true }, "npm-run-path": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.2.0.tgz", + "integrity": "sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==", "dev": true, "requires": { "path-key": "^4.0.0" @@ -8468,15 +8544,6 @@ "p-limit": "^2.2.0" } }, - "p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "dev": true, - "requires": { - "aggregate-error": "^3.0.0" - } - }, "p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", @@ -8671,9 +8738,9 @@ "dev": true }, "restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", + "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", "dev": true, "requires": { "onetime": "^5.1.0", @@ -8727,15 +8794,6 @@ "queue-microtask": "^1.2.2" } }, - "rxjs": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", - "dev": true, - "requires": { - "tslib": "^2.1.0" - } - }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -8822,38 +8880,25 @@ } }, "slice-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", + "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", "dev": true, "requires": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" + "ansi-styles": "^6.0.0", + "is-fullwidth-code-point": "^4.0.0" }, "dependencies": { "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "is-fullwidth-code-point": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", + "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", "dev": true } } @@ -8907,9 +8952,9 @@ "dev": true }, "string-argv": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", - "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", + "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", "dev": true }, "string-width": { @@ -9000,12 +9045,6 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", - "dev": true - }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -9021,12 +9060,6 @@ "is-number": "^7.0.0" } }, - "tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", - "dev": true - }, "type": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", @@ -9201,9 +9234,9 @@ "dev": true }, "yaml": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.1.tgz", - "integrity": "sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", "dev": true }, "yargs": { diff --git a/package.json b/package.json index 6bbf57a..7d23971 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@studio/changes": "^2.2.0", "esbuild": "^0.17.4", "husky": "^8.0.3", - "lint-staged": "^13.1.0", + "lint-staged": "^15.2.0", "mkdirp": "^1.0.3", "mocha": "^10.2.0", "nyc": "^15.1.0", From 424f34348dd6419c521d16ce05eaa66d95b5c6f7 Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Fri, 22 Dec 2023 13:47:20 +0100 Subject: [PATCH 08/14] Upgrade prettier to v3 and reformat files --- docs/index.md | 18 +- ...ert-exception-unexpected-exception.test.js | 8 +- lib/assert.test.js | 6 +- lib/assertions/class-name.test.js | 60 ++--- lib/assertions/contains.test.js | 24 +- lib/assertions/equals.js | 2 +- lib/assertions/equals.test.js | 226 +++++++++--------- lib/assertions/exception.test.js | 42 ++-- lib/assertions/greater.test.js | 20 +- lib/assertions/has-arity.js | 4 +- lib/assertions/has-arity.test.js | 4 +- lib/assertions/has-prototype.test.js | 42 ++-- lib/assertions/is-array-buffer.test.js | 16 +- lib/assertions/is-array-like.test.js | 24 +- lib/assertions/is-array.test.js | 22 +- lib/assertions/is-boolean.test.js | 20 +- lib/assertions/is-data-view.test.js | 28 +-- lib/assertions/is-date.test.js | 28 +-- lib/assertions/is-error.test.js | 52 ++-- lib/assertions/is-eval-error.test.js | 52 ++-- lib/assertions/is-false.test.js | 32 +-- lib/assertions/is-float-32-array.test.js | 36 +-- lib/assertions/is-float-64-array.test.js | 36 +-- lib/assertions/is-function.test.js | 16 +- lib/assertions/is-infinity.test.js | 32 +-- lib/assertions/is-int-16-array.test.js | 40 ++-- lib/assertions/is-int-32-array.test.js | 40 ++-- lib/assertions/is-int-8-array.test.js | 36 +-- lib/assertions/is-intl-collator.test.js | 32 +-- .../is-intl-date-time-format.test.js | 32 +-- lib/assertions/is-intl-number-format.test.js | 32 +-- lib/assertions/is-map.test.js | 4 +- lib/assertions/is-nan.test.js | 44 ++-- lib/assertions/is-negative-infinity.test.js | 32 +-- lib/assertions/is-null.test.js | 34 +-- lib/assertions/is-number.test.js | 48 ++-- lib/assertions/is-object.test.js | 20 +- lib/assertions/is-promise.test.js | 32 +-- lib/assertions/is-range-error.test.js | 52 ++-- lib/assertions/is-reference-error.test.js | 52 ++-- lib/assertions/is-reg-exp.test.js | 16 +- lib/assertions/is-set.test.js | 16 +- lib/assertions/is-string.test.js | 16 +- lib/assertions/is-symbol.test.js | 28 +-- lib/assertions/is-syntax-error.test.js | 52 ++-- lib/assertions/is-true.test.js | 2 +- lib/assertions/is-type-error.test.js | 52 ++-- lib/assertions/is-u-int-16-array.test.js | 40 ++-- lib/assertions/is-u-int-32-array.test.js | 40 ++-- lib/assertions/is-u-int-8-array.test.js | 40 ++-- .../is-u-int-8-clamped-array.test.js | 4 +- lib/assertions/is-undefined.test.js | 28 +-- lib/assertions/is-uri-error.test.js | 4 +- lib/assertions/is-weak-map.test.js | 4 +- lib/assertions/is-weak-set.test.js | 4 +- lib/assertions/json.test.js | 12 +- lib/assertions/keys.test.js | 22 +- lib/assertions/less.test.js | 6 +- lib/assertions/match-json.test.js | 10 +- lib/assertions/match.test.js | 6 +- lib/assertions/near.test.js | 4 +- lib/assertions/rejects.test.js | 12 +- lib/assertions/resolves.test.js | 18 +- lib/assertions/same.test.js | 6 +- lib/assertions/tag-name.test.js | 8 +- lib/create-add.js | 12 +- lib/create-assert.js | 2 +- lib/create-async-assertion.js | 2 +- lib/create-async-assertion.test.js | 2 +- lib/create-refute.js | 2 +- lib/create-verifier.js | 2 +- lib/custom-assertions.test.js | 10 +- lib/define-assertion/format.test.js | 2 +- lib/define-assertion/index.js | 2 +- .../interpolate-properties.js | 2 +- lib/expect.js | 2 +- lib/expect.test.js | 4 +- lib/match.test.js | 8 +- lib/referee.test.js | 2 +- lib/refute.test.js | 6 +- lib/test-helper/anonymous-function-string.js | 2 +- lib/verifier.test.js | 2 +- package-lock.json | 18 +- package.json | 2 +- 84 files changed, 961 insertions(+), 953 deletions(-) diff --git a/docs/index.md b/docs/index.md index 04dcea4..506f39a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -317,7 +317,7 @@ assert.match( return "yeah"; }, }, - "Yeah!" + "Yeah!", ); // Passes ``` @@ -340,7 +340,7 @@ assert.match( return "yeah!"; }, }, - /yeah/ + /yeah/, ); // Passes assert.match(234, /[a-z]/); // Fails ``` @@ -358,7 +358,7 @@ assert.match( return "42"; }, }, - 42 + 42, ); // Passes assert.match(234, 1234); // Fails ``` @@ -387,7 +387,7 @@ assert.match( }, function () { return true; - } + }, ); // Fails @@ -417,7 +417,7 @@ assert.match( }, { name: "Chris", - } + }, ); // Fails @@ -1328,7 +1328,7 @@ assert.exception( function () { throw new TypeError("Ooops!"); }, - { name: "TypeError" } + { name: "TypeError" }, ); // Fails, wrong exception type @@ -1336,7 +1336,7 @@ assert.exception( function () { throw new Error("Aww"); }, - { name: "TypeError" } + { name: "TypeError" }, ); // Fails, wrong exception message @@ -1344,7 +1344,7 @@ assert.exception( function () { throw new Error("Aww"); }, - { message: "Ooops!" } + { message: "Ooops!" }, ); // Fails, wrong exception type @@ -1358,7 +1358,7 @@ assert.exception( } return true; }, - "Type of exception is wrong!" + "Type of exception is wrong!", ); // with message to print, if test fails ``` diff --git a/lib/assert-exception-unexpected-exception.test.js b/lib/assert-exception-unexpected-exception.test.js index 024c4a5..8ae0b62 100644 --- a/lib/assert-exception-unexpected-exception.test.js +++ b/lib/assert-exception-unexpected-exception.test.js @@ -10,13 +10,13 @@ describe("assert.exception unexpected exception", function () { throw new Error("apple pie"); }, { name: "TypeError" }, - "Wow" + "Wow", ); throw new Error("Expected to throw"); } catch (e) { referee.assert.match( e.message, - "Wow: Expected { name: 'TypeError' } but threw 'Error' ('apple pie')" + "Wow: Expected { name: 'TypeError' } but threw 'Error' ('apple pie')", ); } }); @@ -28,13 +28,13 @@ describe("assert.exception unexpected exception", function () { throw new Error("apple pie"); }, { name: "Error", message: "Aww" }, - "Wow" + "Wow", ); throw new Error("Expected to throw"); } catch (e) { referee.assert.match( e.message, - "Wow: Expected { name: 'Error', message: 'Aww' } but threw 'Error' ('apple pie')" + "Wow: Expected { name: 'Error', message: 'Aww' } but threw 'Error' ('apple pie')", ); } }); diff --git a/lib/assert.test.js b/lib/assert.test.js index 5d26d57..234e229 100644 --- a/lib/assert.test.js +++ b/lib/assert.test.js @@ -18,7 +18,7 @@ describe("assert", function () { } catch (error) { referee.assert.equals( error.message, - "[assert] Expected to receive at least 1 argument(s)" + "[assert] Expected to receive at least 1 argument(s)", ); } }); @@ -51,7 +51,7 @@ describe("assert", function () { function () { referee.assert(false); }, - { message: "[assert] Expected false to be truthy" } + { message: "[assert] Expected false to be truthy" }, ); }); @@ -110,7 +110,7 @@ describe("assert", function () { } catch (e) { referee.assert.equals( e.message, - "[assert] Expected to receive at least 1 argument(s)" + "[assert] Expected to receive at least 1 argument(s)", ); } }); diff --git a/lib/assertions/class-name.test.js b/lib/assertions/class-name.test.js index 46862fa..be7a69c 100644 --- a/lib/assertions/class-name.test.js +++ b/lib/assertions/class-name.test.js @@ -13,11 +13,11 @@ describe("assert.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.className] Expected to receive at least 2 argument(s)" + "[assert.className] Expected to receive at least 2 argument(s)", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -30,11 +30,11 @@ describe("assert.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.className] Expected to receive at least 2 argument(s)" + "[assert.className] Expected to receive at least 2 argument(s)", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -47,12 +47,12 @@ describe("assert.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.className] Expected object to have className property" + "[assert.className] Expected object to have className property", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.className"); return true; - } + }, ); }); @@ -65,12 +65,12 @@ describe("assert.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.className] Nope: Expected object's className to include 'item' but was ''" + "[assert.className] Nope: Expected object's className to include 'item' but was ''", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.className"); return true; - } + }, ); }); @@ -91,12 +91,12 @@ describe("assert.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.className] Expected object's className to include 'item post' but was 'feed item'" + "[assert.className] Expected object's className to include 'item post' but was 'feed item'", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.className"); return true; - } + }, ); }); @@ -132,11 +132,11 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.className] Expected to receive at least 2 argument(s)" + "[refute.className] Expected to receive at least 2 argument(s)", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -149,11 +149,11 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.className] Expected to receive at least 2 argument(s)" + "[refute.className] Expected to receive at least 2 argument(s)", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -166,12 +166,12 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.className] Expected object to have className property" + "[refute.className] Expected object to have className property", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.className"); return true; - } + }, ); }); @@ -184,12 +184,12 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.className] Nope: Expected object to have className property" + "[refute.className] Nope: Expected object to have className property", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.className"); return true; - } + }, ); }); @@ -206,11 +206,11 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.className] Expected object's className not to include 'item'" + "[refute.className] Expected object's className not to include 'item'", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -225,11 +225,11 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.className] ${message}: Expected object's className not to include 'item'` + `[refute.className] ${message}: Expected object's className not to include 'item'`, ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -242,11 +242,11 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.className] Expected object's className not to include 'item'" + "[refute.className] Expected object's className not to include 'item'", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -263,11 +263,11 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.className] Expected object's className not to include 'item post'" + "[refute.className] Expected object's className not to include 'item post'", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -280,11 +280,11 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.className] Expected object's className not to include 'e a d'" + "[refute.className] Expected object's className not to include 'e a d'", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -297,11 +297,11 @@ describe("refute.className", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.className] Expected object's className not to include [ 'e', 'a', 'd' ]" + "[refute.className] Expected object's className not to include [ 'e', 'a', 'd' ]", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); diff --git a/lib/assertions/contains.test.js b/lib/assertions/contains.test.js index 2a396ef..7be973e 100644 --- a/lib/assertions/contains.test.js +++ b/lib/assertions/contains.test.js @@ -17,12 +17,12 @@ describe("assert.contains", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.contains] Expected [ 0, 1, 2 ] to contain 3" + "[assert.contains] Expected [ 0, 1, 2 ] to contain 3", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.contains"); return true; - } + }, ); }); @@ -37,12 +37,12 @@ describe("assert.contains", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.contains] ${message}: Expected [ 0, 1, 2 ] to contain 3` + `[assert.contains] ${message}: Expected [ 0, 1, 2 ] to contain 3`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.contains"); return true; - } + }, ); }); @@ -64,12 +64,12 @@ describe("assert.contains", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.contains] Expected [ {} ] to contain {}" + "[assert.contains] Expected [ {} ] to contain {}", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.contains"); return true; - } + }, ); }); }); @@ -84,12 +84,12 @@ describe("refute.contains", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.contains] Expected [ 0, 1, 2 ] not to contain 1" + "[refute.contains] Expected [ 0, 1, 2 ] not to contain 1", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.contains"); return true; - } + }, ); }); @@ -104,12 +104,12 @@ describe("refute.contains", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.contains] ${message}: Expected [ 0, 1, 2 ] not to contain 1` + `[refute.contains] ${message}: Expected [ 0, 1, 2 ] not to contain 1`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.contains"); return true; - } + }, ); }); @@ -128,12 +128,12 @@ describe("refute.contains", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.contains] Expected [ {} ] not to contain {}" + "[refute.contains] Expected [ {} ] not to contain {}", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.contains"); return true; - } + }, ); }); diff --git a/lib/assertions/equals.js b/lib/assertions/equals.js index 0107c3d..6326054 100644 --- a/lib/assertions/equals.js +++ b/lib/assertions/equals.js @@ -9,7 +9,7 @@ module.exports = function (referee) { assert: function (actual, expected) { if (typeof expected === "undefined") { return this.fail( - "Expectation for equals should not be undefined. Use assert.isUndefined instead." + "Expectation for equals should not be undefined. Use assert.isUndefined instead.", ); } return samsam.deepEqual(actual, expected); diff --git a/lib/assertions/equals.test.js b/lib/assertions/equals.test.js index ee582ea..e92652a 100644 --- a/lib/assertions/equals.test.js +++ b/lib/assertions/equals.test.js @@ -44,11 +44,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] Expectation for equals should not be undefined. Use assert.isUndefined instead." + "[assert.equals] Expectation for equals should not be undefined. Use assert.isUndefined instead.", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -72,12 +72,12 @@ describe("assert.equals", function () { assert.equal( error.message, `[assert.equals] ${inspect( - functionA - )} expected to be equal to ${inspect(functionB)}` + functionA, + )} expected to be equal to ${inspect(functionB)}`, ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -99,11 +99,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.equals] ${date.toISOString()} expected to be equal to ${anotherDate.toISOString()}` + `[assert.equals] ${date.toISOString()} expected to be equal to ${anotherDate.toISOString()}`, ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -116,12 +116,12 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.equals] ${date.toISOString()} expected to be equal to null` + `[assert.equals] ${date.toISOString()} expected to be equal to null`, ); assert.equal(error.operator, "assert.equals"); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -135,11 +135,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] '4' expected to be equal to 4" + "[assert.equals] '4' expected to be equal to 4", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); it("should fail when comparing number and string with coercion", function () { @@ -152,11 +152,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] 4 expected to be equal to '4'" + "[assert.equals] 4 expected to be equal to '4'", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -171,11 +171,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] 32 expected to be equal to [Number: 32]" + "[assert.equals] 32 expected to be equal to [Number: 32]", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -190,11 +190,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] [Number: 32] expected to be equal to 32" + "[assert.equals] [Number: 32] expected to be equal to 32", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -208,11 +208,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] 0 expected to be equal to ''" + "[assert.equals] 0 expected to be equal to ''", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -226,11 +226,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] '' expected to be equal to 0" + "[assert.equals] '' expected to be equal to 0", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -245,11 +245,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] '4' expected to be equal to [String: '4']" + "[assert.equals] '4' expected to be equal to [String: '4']", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -264,11 +264,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] [String: '4'] expected to be equal to '4'" + "[assert.equals] [String: '4'] expected to be equal to '4'", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -286,11 +286,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] -0 expected to be equal to 0" + "[assert.equals] -0 expected to be equal to 0", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -304,11 +304,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] { id: 42 } expected to be equal to { id: 42, di: 24 }" + "[assert.equals] { id: 42 } expected to be equal to { id: 42, di: 24 }", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -322,11 +322,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] { id: undefined } expected to be equal to { di: 24 }" + "[assert.equals] { id: undefined } expected to be equal to { di: 24 }", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -340,11 +340,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] { id: 24 } expected to be equal to { id: undefined }" + "[assert.equals] { id: 24 } expected to be equal to { id: undefined }", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -366,11 +366,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] { id: 42 } expected to be equal to { id: 24 }" + "[assert.equals] { id: 42 } expected to be equal to { id: 24 }", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -399,7 +399,7 @@ describe("assert.equals", function () { it("should pass when comparing arrays", function () { referee.assert.equals( [1, 2, "Hey there", func, { id: 42, prop: [2, 3] }], - [1, 2, "Hey there", func, { id: 42, prop: [2, 3] }] + [1, 2, "Hey there", func, { id: 42, prop: [2, 3] }], ); }); @@ -421,11 +421,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] [ [ 'hey' ] ] expected to be equal to [ 'hey' ]" + "[assert.equals] [ [ 'hey' ] ] expected to be equal to [ 'hey' ]", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -443,11 +443,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] /[a-z]+/ expected to be equal to /[a-z]+/ { id: 42 }" + "[assert.equals] /[a-z]+/ expected to be equal to /[a-z]+/ { id: 42 }", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); it("should fail when comparing different objects", function () { @@ -460,11 +460,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] { id: 42 } expected to be equal to {}" + "[assert.equals] { id: 42 } expected to be equal to {}", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); it("should fail when comparing object to null", function () { @@ -477,11 +477,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] {} expected to be equal to null" + "[assert.equals] {} expected to be equal to null", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); it("should fail when comparing object to undefined", function () { @@ -494,11 +494,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] Expectation for equals should not be undefined. Use assert.isUndefined instead." + "[assert.equals] Expectation for equals should not be undefined. Use assert.isUndefined instead.", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); it("should fail when comparing object to false", function () { @@ -511,11 +511,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] {} expected to be equal to false" + "[assert.equals] {} expected to be equal to false", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); it("should fail when comparing false to object", function () { @@ -528,11 +528,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] false expected to be equal to {}" + "[assert.equals] false expected to be equal to {}", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); it("should fail when comparing object to true", function () { @@ -545,11 +545,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] {} expected to be equal to true" + "[assert.equals] {} expected to be equal to true", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); it("should fail when comparing true to object", function () { @@ -562,11 +562,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] true expected to be equal to {}" + "[assert.equals] true expected to be equal to {}", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); it("should fail when comparing 'empty' object to date", function () { @@ -579,11 +579,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.equals] {} expected to be equal to ${date.toISOString()}` + `[assert.equals] {} expected to be equal to ${date.toISOString()}`, ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -598,11 +598,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] {} expected to be equal to [String: '']" + "[assert.equals] {} expected to be equal to [String: '']", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -617,11 +617,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] {} expected to be equal to [Number: 0]" + "[assert.equals] {} expected to be equal to [Number: 0]", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -635,11 +635,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] {} expected to be equal to []" + "[assert.equals] {} expected to be equal to []", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -659,11 +659,11 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] [] expected to be equal to [Arguments] {}" + "[assert.equals] [] expected to be equal to [Arguments] {}", ); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -683,13 +683,13 @@ describe("assert.equals", function () { function (error) { assert.equal( error.message, - "[assert.equals] Here: {} expected to be equal to 'Hey'" + "[assert.equals] Here: {} expected to be equal to 'Hey'", ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -702,12 +702,12 @@ describe("assert.equals", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.equals] 'Yo!\\nMulti-\\nline' expected to be equal to 'Yo!\\nMultiline'" + "[assert.equals] 'Yo!\\nMulti-\\nline' expected to be equal to 'Yo!\\nMultiline'", ); assert.equal(error.operator, "assert.equals"); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -719,13 +719,13 @@ describe("assert.equals", function () { function (error) { assert.equal( error.message, - `[assert.equals] Eh? {} expected to be equal to 'Hey!'` + `[assert.equals] Eh? {} expected to be equal to 'Hey!'`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); }); @@ -739,13 +739,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - "[refute.equals] { id: 42 } expected not to be equal to { id: 42 }" + "[refute.equals] { id: 42 } expected not to be equal to { id: 42 }", ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -757,13 +757,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - "[refute.equals] 'Hey' expected not to be equal to 'Hey'" + "[refute.equals] 'Hey' expected not to be equal to 'Hey'", ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -775,13 +775,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - "[refute.equals] 32 expected not to be equal to 32" + "[refute.equals] 32 expected not to be equal to 32", ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -793,13 +793,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - "[refute.equals] false expected not to be equal to false" + "[refute.equals] false expected not to be equal to false", ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -811,13 +811,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - "[refute.equals] null expected not to be equal to null" + "[refute.equals] null expected not to be equal to null", ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -829,13 +829,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - "[refute.equals] Expectation for equals should not be undefined. Use assert.isUndefined instead." + "[refute.equals] Expectation for equals should not be undefined. Use assert.isUndefined instead.", ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -847,13 +847,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - "[refute.equals] [Function: func] expected not to be equal to [Function: func]" + "[refute.equals] [Function: func] expected not to be equal to [Function: func]", ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -873,13 +873,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - "[refute.equals] [] expected not to be equal to []" + "[refute.equals] [] expected not to be equal to []", ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -891,13 +891,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] ${date.toISOString()} expected not to be equal to ${sameDate.toISOString()}` + `[refute.equals] ${date.toISOString()} expected not to be equal to ${sameDate.toISOString()}`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -941,13 +941,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] { id: 42 } expected not to be equal to { id: 42 }` + `[refute.equals] { id: 42 } expected not to be equal to { id: 42 }`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -959,13 +959,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] { obj: { id: 42 } } expected not to be equal to { obj: { id: 42 } }` + `[refute.equals] { obj: { id: 42 } } expected not to be equal to { obj: { id: 42 } }`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -981,13 +981,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] NaN expected not to be equal to NaN` + `[refute.equals] NaN expected not to be equal to NaN`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -1023,14 +1023,14 @@ describe("assert.refute", function () { assert.equal( error.message, `[refute.equals] ${inspect( - deepObject - )} expected not to be equal to ${inspect(complexObject)}` + deepObject, + )} expected not to be equal to ${inspect(complexObject)}`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -1045,13 +1045,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] [ 1, 2, 'Hey there', [Function: func], { id: 42, prop: [ 2, 3 ] } ] expected not to be equal to [ 1, 2, 'Hey there', [Function: func], { id: 42, prop: [ 2, 3 ] } ]` + `[refute.equals] [ 1, 2, 'Hey there', [Function: func], { id: 42, prop: [ 2, 3 ] } ] expected not to be equal to [ 1, 2, 'Hey there', [Function: func], { id: 42, prop: [ 2, 3 ] } ]`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -1063,13 +1063,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] /a/ expected not to be equal to /a/` + `[refute.equals] /a/ expected not to be equal to /a/`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -1081,13 +1081,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] /[a-z]+/ expected not to be equal to /[a-z]+/` + `[refute.equals] /[a-z]+/ expected not to be equal to /[a-z]+/`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -1119,13 +1119,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] Expectation for equals should not be undefined. Use assert.isUndefined instead.` + `[refute.equals] Expectation for equals should not be undefined. Use assert.isUndefined instead.`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -1181,13 +1181,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] [Arguments] { '0': 1, '1': 2, '2': {}, '3': [] } expected not to be equal to [ 1, 2, {}, [] ]` + `[refute.equals] [Arguments] { '0': 1, '1': 2, '2': {}, '3': [] } expected not to be equal to [ 1, 2, {}, [] ]`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -1199,13 +1199,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] [Arguments] {} expected not to be equal to []` + `[refute.equals] [Arguments] {} expected not to be equal to []`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -1221,13 +1221,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] [Arguments] { '0': 1, '1': 2, '2': {}, '3': [] } expected not to be equal to { '0': 1, '1': 2, '2': {}, '3': [], length: 4 }` + `[refute.equals] [Arguments] { '0': 1, '1': 2, '2': {}, '3': [] } expected not to be equal to { '0': 1, '1': 2, '2': {}, '3': [], length: 4 }`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); @@ -1239,13 +1239,13 @@ describe("assert.refute", function () { function (error) { assert.equal( error.message, - `[refute.equals] Eh? {} expected not to be equal to {}` + `[refute.equals] Eh? {} expected not to be equal to {}`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.code, "ERR_ASSERTION"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); }); diff --git a/lib/assertions/exception.test.js b/lib/assertions/exception.test.js index 46f9f00..343fe38 100644 --- a/lib/assertions/exception.test.js +++ b/lib/assertions/exception.test.js @@ -25,7 +25,7 @@ describe("assert.exception", function () { function () { throw new TypeError("Oh hmm"); }, - { name: "TypeError" } + { name: "TypeError" }, ); }); @@ -35,13 +35,13 @@ describe("assert.exception", function () { function () { throw new Error(); }, - { name: "TypeError" } + { name: "TypeError" }, ); } catch (error) { assert( error.message.startsWith( - "[assert.exception] Expected { name: 'TypeError' } but threw 'Error' ('')" - ) + "[assert.exception] Expected { name: 'TypeError' } but threw 'Error' ('')", + ), ); } }); @@ -52,13 +52,13 @@ describe("assert.exception", function () { function () { throw new Error("Aright"); }, - { message: "Aww" } + { message: "Aww" }, ); } catch (error) { assert( error.message.startsWith( - "[assert.exception] Expected { message: 'Aww' } but threw 'Error' ('Aright')" - ) + "[assert.exception] Expected { message: 'Aww' } but threw 'Error' ('Aright')", + ), ); } }); @@ -68,7 +68,7 @@ describe("assert.exception", function () { function () { throw new TypeError("Aright"); }, - { name: "Type", message: "Ar" } + { name: "Type", message: "Ar" }, ); }); @@ -78,12 +78,12 @@ describe("assert.exception", function () { function () { return undefined; }, - { name: "TypeError" } + { name: "TypeError" }, ); } catch (error) { assert.equal( error.message, - "[assert.exception] Expected { name: 'TypeError' } but no exception was thrown" + "[assert.exception] Expected { name: 'TypeError' } but no exception was thrown", ); } }); @@ -105,12 +105,12 @@ describe("assert.exception", function () { return undefined; }, { name: "TypeError" }, - "Hmm" + "Hmm", ); } catch (error) { assert.equal( error.message, - "[assert.exception] Hmm: Expected { name: 'TypeError' } but no exception was thrown" + "[assert.exception] Hmm: Expected { name: 'TypeError' } but no exception was thrown", ); } }); @@ -122,7 +122,7 @@ describe("assert.exception", function () { }, function (err) { return err.name === "TypeError"; - } + }, ); }); @@ -134,7 +134,7 @@ describe("assert.exception", function () { }, function (err) { return err.name; - } + }, ); } catch (error) { assert.equal(error.message, "[assert.exception] Expected exception"); @@ -149,12 +149,12 @@ describe("assert.exception", function () { }, function (err) { return err.name === "Error"; - } + }, ); } catch (error) { assert.equal( error.message, - "[assert.exception] Expected thrown 'TypeError' ('Aright') to pass matcher function" + "[assert.exception] Expected thrown 'TypeError' ('Aright') to pass matcher function", ); } }); @@ -165,7 +165,7 @@ describe("assert.exception", function () { } catch (error) { assert.equal( error.message, - "[assert.exception] Expected to receive at least 1 argument(s)" + "[assert.exception] Expected to receive at least 1 argument(s)", ); } }); @@ -207,7 +207,7 @@ describe("refute.exception", function () { } catch (error) { assert.equal( error.message, - "[refute.exception] Expected not to throw but threw 'Error' ('Yo, Malcolm')" + "[refute.exception] Expected not to throw but threw 'Error' ('Yo, Malcolm')", ); } }); @@ -232,7 +232,7 @@ describe("refute.exception", function () { } catch (error) { assert.equal( error.message, - "[refute.exception] Expected not to throw but threw 'Error' (':(')" + "[refute.exception] Expected not to throw but threw 'Error' (':(')", ); } }); @@ -245,7 +245,7 @@ describe("refute.exception", function () { } catch (error) { assert.equal( error.message, - "[refute.exception] Jeez: Expected not to throw but threw 'Error' (':(')" + "[refute.exception] Jeez: Expected not to throw but threw 'Error' (':(')", ); } }); @@ -256,7 +256,7 @@ describe("refute.exception", function () { } catch (error) { assert.equal( error.message, - "[refute.exception] Expected to receive at least 1 argument(s)" + "[refute.exception] Expected to receive at least 1 argument(s)", ); } }); diff --git a/lib/assertions/greater.test.js b/lib/assertions/greater.test.js index 3c3b930..f6fe7c2 100644 --- a/lib/assertions/greater.test.js +++ b/lib/assertions/greater.test.js @@ -17,12 +17,12 @@ describe("assert.greater", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.greater] Expected 1 to be greater than 1" + "[assert.greater] Expected 1 to be greater than 1", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.greater"); return true; - } + }, ); }); @@ -35,12 +35,12 @@ describe("assert.greater", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.greater] Expected 1 to be greater than 2" + "[assert.greater] Expected 1 to be greater than 2", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.greater"); return true; - } + }, ); }); @@ -55,12 +55,12 @@ describe("assert.greater", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.greater] ${message}: Expected 1 to be greater than 2` + `[assert.greater] ${message}: Expected 1 to be greater than 2`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.greater"); return true; - } + }, ); }); }); @@ -75,12 +75,12 @@ describe("refute.greater", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.greater] Expected 2 to be less than or equal to 1" + "[refute.greater] Expected 2 to be less than or equal to 1", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.greater"); return true; - } + }, ); }); @@ -95,12 +95,12 @@ describe("refute.greater", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.greater] ${message}: Expected 2 to be less than or equal to 1` + `[refute.greater] ${message}: Expected 2 to be less than or equal to 1`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.greater"); return true; - } + }, ); }); diff --git a/lib/assertions/has-arity.js b/lib/assertions/has-arity.js index 7aef9c5..47517f8 100644 --- a/lib/assertions/has-arity.js +++ b/lib/assertions/has-arity.js @@ -7,13 +7,13 @@ function addHasArity(referee) { assert: function assert(actual, expected) { if (typeof actual !== "function") { throw new TypeError( - 'hasArity expects "actual" argument to be a Function' + 'hasArity expects "actual" argument to be a Function', ); } if (typeof expected !== "number" || expected < 0) { throw new TypeError( - 'hasArity expected "expected" argument to be a non-negative Number' + 'hasArity expected "expected" argument to be a non-negative Number', ); } diff --git a/lib/assertions/has-arity.test.js b/lib/assertions/has-arity.test.js index a322e9d..9f15140 100644 --- a/lib/assertions/has-arity.test.js +++ b/lib/assertions/has-arity.test.js @@ -75,7 +75,7 @@ describe("hasArity assertion", function () { { message: 'hasArity expects "actual" argument to be a Function', name: "TypeError", - } + }, ); } @@ -109,7 +109,7 @@ describe("hasArity assertion", function () { message: 'hasArity expected "expected" argument to be a non-negative Number', name: "TypeError", - } + }, ); } diff --git a/lib/assertions/has-prototype.test.js b/lib/assertions/has-prototype.test.js index 92b04ad..52c2a97 100644 --- a/lib/assertions/has-prototype.test.js +++ b/lib/assertions/has-prototype.test.js @@ -25,12 +25,12 @@ describe("assert.hasPrototype", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.hasPrototype] Expected {} to have ${myThingString} on its prototype chain` + `[assert.hasPrototype] Expected {} to have ${myThingString} on its prototype chain`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.hasPrototype"); return true; - } + }, ); }); @@ -43,12 +43,12 @@ describe("assert.hasPrototype", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.hasPrototype] Expected 3 to have ${myThingString} on its prototype chain` + `[assert.hasPrototype] Expected 3 to have ${myThingString} on its prototype chain`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.hasPrototype"); return true; - } + }, ); }); @@ -61,11 +61,11 @@ describe("assert.hasPrototype", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.hasPrototype] Expected to receive at least 2 argument(s)" + "[assert.hasPrototype] Expected to receive at least 2 argument(s)", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -78,11 +78,11 @@ describe("assert.hasPrototype", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.hasPrototype] Expected to receive at least 2 argument(s)" + "[assert.hasPrototype] Expected to receive at least 2 argument(s)", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -105,12 +105,12 @@ describe("assert.hasPrototype", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.hasPrototype] ${message}: Expected {} to have ${myThingString} on its prototype chain` + `[assert.hasPrototype] ${message}: Expected {} to have ${myThingString} on its prototype chain`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.hasPrototype"); return true; - } + }, ); }); }); @@ -125,11 +125,11 @@ describe("refute.hasPrototype", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.hasPrototype] Expected to receive at least 2 argument(s)" + "[refute.hasPrototype] Expected to receive at least 2 argument(s)", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -142,11 +142,11 @@ describe("refute.hasPrototype", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.hasPrototype] Expected to receive at least 2 argument(s)" + "[refute.hasPrototype] Expected to receive at least 2 argument(s)", ); assert.equal(error.name, "AssertionError"); return true; - } + }, ); }); @@ -159,12 +159,12 @@ describe("refute.hasPrototype", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.hasPrototype] Expected MyThing {} not to have ${myThingString} on its prototype chain` + `[refute.hasPrototype] Expected MyThing {} not to have ${myThingString} on its prototype chain`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.hasPrototype"); return true; - } + }, ); }); @@ -177,12 +177,12 @@ describe("refute.hasPrototype", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.hasPrototype] Expected MyThing {} not to have ${myThingString} on its prototype chain` + `[refute.hasPrototype] Expected MyThing {} not to have ${myThingString} on its prototype chain`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.hasPrototype"); return true; - } + }, ); }); @@ -202,19 +202,19 @@ describe("refute.hasPrototype", function () { referee.refute.hasPrototype( specializedThing, MyThing.prototype, - message + message, ); }, function (error) { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.hasPrototype] ${message}: Expected MyThing {} not to have ${myThingString} on its prototype chain` + `[refute.hasPrototype] ${message}: Expected MyThing {} not to have ${myThingString} on its prototype chain`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.hasPrototype"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-array-buffer.test.js b/lib/assertions/is-array-buffer.test.js index 4128963..a10276a 100644 --- a/lib/assertions/is-array-buffer.test.js +++ b/lib/assertions/is-array-buffer.test.js @@ -21,13 +21,13 @@ describe("assert.isArrayBuffer", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isArrayBuffer] Expected [] to be an ArrayBuffer" + "[assert.isArrayBuffer] Expected [] to be an ArrayBuffer", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isArrayBuffer"); return true; - } + }, ); }); }); @@ -42,13 +42,13 @@ describe("assert.isArrayBuffer", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isArrayBuffer] Expected {} to be an ArrayBuffer" + "[assert.isArrayBuffer] Expected {} to be an ArrayBuffer", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isArrayBuffer"); return true; - } + }, ); }); }); @@ -63,13 +63,13 @@ describe("assert.isArrayBuffer", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isArrayBuffer] Expected [Arguments] {} to be an ArrayBuffer" + "[assert.isArrayBuffer] Expected [Arguments] {} to be an ArrayBuffer", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isArrayBuffer"); return true; - } + }, ); }); }); @@ -89,13 +89,13 @@ describe("refute.isArrayBuffer", function () { "[refute.isArrayBuffer] Expected ArrayBuffer {\n" + " [Uint8Contents]: <00 00 00 00 00 00 00 00>,\n" + " byteLength: 8\n" + - "} not to be an ArrayBuffer" + "} not to be an ArrayBuffer", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isArrayBuffer"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-array-like.test.js b/lib/assertions/is-array-like.test.js index 51a33c7..27689cc 100644 --- a/lib/assertions/is-array-like.test.js +++ b/lib/assertions/is-array-like.test.js @@ -27,12 +27,12 @@ describe("assert.isArrayLike", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isArrayLike] Expected {} to be array like" + "[assert.isArrayLike] Expected {} to be array like", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isArrayLike"); return true; - } + }, ); }); @@ -45,13 +45,13 @@ describe("assert.isArrayLike", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isArrayLike] Here! Expected {} to be array like" + "[assert.isArrayLike] Here! Expected {} to be array like", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isArrayLike"); return true; - } + }, ); }); }); @@ -66,13 +66,13 @@ describe("refute.isArrayLike", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isArrayLike] Expected [] not to be array like" + "[refute.isArrayLike] Expected [] not to be array like", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isArrayLike"); return true; - } + }, ); }); @@ -85,13 +85,13 @@ describe("refute.isArrayLike", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isArrayLike] Expected [Arguments] {} not to be array like" + "[refute.isArrayLike] Expected [Arguments] {} not to be array like", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isArrayLike"); return true; - } + }, ); }); @@ -111,13 +111,13 @@ describe("refute.isArrayLike", function () { " '3': 'Four',\n" + " length: 4,\n" + " splice: [Function: splice]\n" + - "} not to be array like" + "} not to be array like", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isArrayLike"); return true; - } + }, ); }); @@ -137,13 +137,13 @@ describe("refute.isArrayLike", function () { " '3': 'Four',\n" + " length: 4,\n" + " splice: [Function: splice]\n" + - "} not to be array like" + "} not to be array like", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isArrayLike"); return true; - } + }, ); }); diff --git a/lib/assertions/is-array.test.js b/lib/assertions/is-array.test.js index fb6ea8a..954c5d4 100644 --- a/lib/assertions/is-array.test.js +++ b/lib/assertions/is-array.test.js @@ -21,7 +21,7 @@ describe("assert.isArray", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isArray"); return true; - } + }, ); }); @@ -34,12 +34,12 @@ describe("assert.isArray", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isArray] Expected [Arguments] {} to be array" + "[assert.isArray] Expected [Arguments] {} to be array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isArray"); return true; - } + }, ); }); @@ -59,12 +59,12 @@ describe("assert.isArray", function () { " '3': 'Four',\n" + " length: 4,\n" + " splice: [Function: splice]\n" + - "} to be array" + "} to be array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isArray"); return true; - } + }, ); }); @@ -79,12 +79,12 @@ describe("assert.isArray", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isArray] ${message}: Expected {} to be array` + `[assert.isArray] ${message}: Expected {} to be array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isArray"); return true; - } + }, ); }); }); @@ -99,12 +99,12 @@ describe("refute.isArray", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isArray] Expected [] not to be array" + "[refute.isArray] Expected [] not to be array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isArray"); return true; - } + }, ); }); @@ -130,12 +130,12 @@ describe("refute.isArray", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isArray] ${message}: Expected [] not to be array` + `[refute.isArray] ${message}: Expected [] not to be array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isArray"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-boolean.test.js b/lib/assertions/is-boolean.test.js index 6eadc75..389a281 100644 --- a/lib/assertions/is-boolean.test.js +++ b/lib/assertions/is-boolean.test.js @@ -22,12 +22,12 @@ describe("assert.isBoolean", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isBoolean] Expected [Function: noop] ('function') to be boolean" + "[assert.isBoolean] Expected [Function: noop] ('function') to be boolean", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isBoolean"); return true; - } + }, ); }); @@ -40,12 +40,12 @@ describe("assert.isBoolean", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isBoolean] Expected null ('object') to be boolean" + "[assert.isBoolean] Expected null ('object') to be boolean", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isBoolean"); return true; - } + }, ); }); @@ -60,12 +60,12 @@ describe("assert.isBoolean", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isBoolean] ${message}: Expected 'hello' ('string') to be boolean` + `[assert.isBoolean] ${message}: Expected 'hello' ('string') to be boolean`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isBoolean"); return true; - } + }, ); }); }); @@ -80,12 +80,12 @@ describe("refute.isBoolean", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isBoolean] Expected true not to be boolean" + "[refute.isBoolean] Expected true not to be boolean", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isBoolean"); return true; - } + }, ); }); @@ -107,12 +107,12 @@ describe("refute.isBoolean", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isBoolean] ${message}: Expected true not to be boolean` + `[refute.isBoolean] ${message}: Expected true not to be boolean`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isBoolean"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-data-view.test.js b/lib/assertions/is-data-view.test.js index 713837b..9caa076 100644 --- a/lib/assertions/is-data-view.test.js +++ b/lib/assertions/is-data-view.test.js @@ -28,12 +28,12 @@ describe("assert.isDataView", function () { "[assert.isDataView] Expected ArrayBuffer {\n" + " [Uint8Contents]: <00 00 00 00 00 00 00 00>,\n" + " byteLength: 8\n" + - "} to be a DataView" + "} to be a DataView", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDataView"); return true; - } + }, ); }); @@ -46,12 +46,12 @@ describe("assert.isDataView", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isDataView] Expected [] to be a DataView" + "[assert.isDataView] Expected [] to be a DataView", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDataView"); return true; - } + }, ); }); it("should fail for Object", function () { @@ -63,12 +63,12 @@ describe("assert.isDataView", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isDataView] Expected {} to be a DataView" + "[assert.isDataView] Expected {} to be a DataView", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDataView"); return true; - } + }, ); }); @@ -81,12 +81,12 @@ describe("assert.isDataView", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isDataView] Expected [Arguments] {} to be a DataView" + "[assert.isDataView] Expected [Arguments] {} to be a DataView", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDataView"); return true; - } + }, ); }); it("should fail with custom message", function () { @@ -100,12 +100,12 @@ describe("assert.isDataView", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isDataView] ${message}: Expected [] to be a DataView` + `[assert.isDataView] ${message}: Expected [] to be a DataView`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDataView"); return true; - } + }, ); }); }); @@ -127,12 +127,12 @@ describe("refute.isDataView", function () { " [Uint8Contents]: <00 00 00 00 00 00 00 00>,\n" + " byteLength: 8\n" + " }\n" + - "} not to be a DataView" + "} not to be a DataView", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isDataView"); return true; - } + }, ); }); @@ -169,12 +169,12 @@ describe("refute.isDataView", function () { ` [Uint8Contents]: <00 00 00 00 00 00 00 00>,\n` + ` byteLength: 8\n` + ` }\n` + - `} not to be a DataView` + `} not to be a DataView`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isDataView"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-date.test.js b/lib/assertions/is-date.test.js index 33964d9..738bc9d 100644 --- a/lib/assertions/is-date.test.js +++ b/lib/assertions/is-date.test.js @@ -18,12 +18,12 @@ describe("assert.isDate", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isDate] Expected /[a-z]/ to be a Date" + "[assert.isDate] Expected /[a-z]/ to be a Date", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDate"); return true; - } + }, ); }); @@ -36,12 +36,12 @@ describe("assert.isDate", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isDate] Expected 'apple pie' to be a Date" + "[assert.isDate] Expected 'apple pie' to be a Date", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDate"); return true; - } + }, ); }); @@ -56,7 +56,7 @@ describe("assert.isDate", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDate"); return true; - } + }, ); }); @@ -71,7 +71,7 @@ describe("assert.isDate", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDate"); return true; - } + }, ); }); @@ -84,12 +84,12 @@ describe("assert.isDate", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isDate] Expected [Arguments] {} to be a Date" + "[assert.isDate] Expected [Arguments] {} to be a Date", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDate"); return true; - } + }, ); }); @@ -104,12 +104,12 @@ describe("assert.isDate", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isDate] ${message}: Expected {} to be a Date` + `[assert.isDate] ${message}: Expected {} to be a Date`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isDate"); return true; - } + }, ); }); }); @@ -126,12 +126,12 @@ describe("refute.isDate", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isDate] Expected 1899-12-31T00:00:00.000Z not to be a Date" + "[refute.isDate] Expected 1899-12-31T00:00:00.000Z not to be a Date", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isDate"); return true; - } + }, ); }); @@ -163,7 +163,7 @@ describe("refute.isDate", function () { var suffix = date.toString().match(/\(.*\)$/)[0]; var expectedMessage = `[refute.isDate] ${message}${": Expected 1899-12-31T00:00:00.000Z not to be a Date".replace( "{suffix}", - suffix + suffix, )}`; assert.throws( @@ -176,7 +176,7 @@ describe("refute.isDate", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isDate"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-error.test.js b/lib/assertions/is-error.test.js index fea43e5..f91929e 100644 --- a/lib/assertions/is-error.test.js +++ b/lib/assertions/is-error.test.js @@ -42,12 +42,12 @@ describe("assert.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isError] Expected 'not an error instance' to be an Error" + "[assert.isError] Expected 'not an error instance' to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isError"); return true; - } + }, ); }); @@ -60,12 +60,12 @@ describe("assert.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isError] Expected [] to be an Error" + "[assert.isError] Expected [] to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isError"); return true; - } + }, ); }); @@ -78,12 +78,12 @@ describe("assert.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isError] Expected {} to be an Error" + "[assert.isError] Expected {} to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isError"); return true; - } + }, ); }); @@ -96,12 +96,12 @@ describe("assert.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isError] Expected [Arguments] {} to be an Error" + "[assert.isError] Expected [Arguments] {} to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isError"); return true; - } + }, ); }); @@ -115,12 +115,12 @@ describe("assert.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isError] ${message}: Expected 'not an error instance' to be an Error` + `[assert.isError] ${message}: Expected 'not an error instance' to be an Error`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isError"); return true; - } + }, ); }); }); @@ -135,12 +135,12 @@ describe("refute.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isError] Expected Error not to be an Error" + "[refute.isError] Expected Error not to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isError"); return true; - } + }, ); }); @@ -153,12 +153,12 @@ describe("refute.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isError] Expected EvalError not to be an Error" + "[refute.isError] Expected EvalError not to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isError"); return true; - } + }, ); }); @@ -171,12 +171,12 @@ describe("refute.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isError] Expected RangeError not to be an Error" + "[refute.isError] Expected RangeError not to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isError"); return true; - } + }, ); }); @@ -189,12 +189,12 @@ describe("refute.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isError] Expected ReferenceError not to be an Error" + "[refute.isError] Expected ReferenceError not to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isError"); return true; - } + }, ); }); @@ -207,12 +207,12 @@ describe("refute.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isError] Expected SyntaxError not to be an Error" + "[refute.isError] Expected SyntaxError not to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isError"); return true; - } + }, ); }); @@ -225,12 +225,12 @@ describe("refute.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isError] Expected TypeError not to be an Error" + "[refute.isError] Expected TypeError not to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isError"); return true; - } + }, ); }); @@ -243,12 +243,12 @@ describe("refute.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isError] Expected URIError not to be an Error" + "[refute.isError] Expected URIError not to be an Error", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isError"); return true; - } + }, ); }); @@ -279,12 +279,12 @@ describe("refute.isError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isError] ${message}: Expected Error not to be an Error` + `[refute.isError] ${message}: Expected Error not to be an Error`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isError"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-eval-error.test.js b/lib/assertions/is-eval-error.test.js index be71bf3..c901f41 100644 --- a/lib/assertions/is-eval-error.test.js +++ b/lib/assertions/is-eval-error.test.js @@ -14,12 +14,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected Error to be an EvalError" + "[assert.isEvalError] Expected Error to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -36,12 +36,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected RangeError to be an EvalError" + "[assert.isEvalError] Expected RangeError to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -54,12 +54,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected ReferenceError to be an EvalError" + "[assert.isEvalError] Expected ReferenceError to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -72,12 +72,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected SyntaxError to be an EvalError" + "[assert.isEvalError] Expected SyntaxError to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -90,12 +90,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected TypeError to be an EvalError" + "[assert.isEvalError] Expected TypeError to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -108,12 +108,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected URIError to be an EvalError" + "[assert.isEvalError] Expected URIError to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -126,12 +126,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected '8759e9fa-e0d8-4bc8-b85f-09433850b830' to be an EvalError" + "[assert.isEvalError] Expected '8759e9fa-e0d8-4bc8-b85f-09433850b830' to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -144,12 +144,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected [] to be an EvalError" + "[assert.isEvalError] Expected [] to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -162,12 +162,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected {} to be an EvalError" + "[assert.isEvalError] Expected {} to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -180,12 +180,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isEvalError] Expected [Arguments] {} to be an EvalError" + "[assert.isEvalError] Expected [Arguments] {} to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); @@ -200,12 +200,12 @@ describe("assert.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isEvalError] ${message}: Expected Error to be an EvalError` + `[assert.isEvalError] ${message}: Expected Error to be an EvalError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isEvalError"); return true; - } + }, ); }); }); @@ -224,12 +224,12 @@ describe("refute.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isEvalError] Expected EvalError not to be an EvalError" + "[refute.isEvalError] Expected EvalError not to be an EvalError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isEvalError"); return true; - } + }, ); }); @@ -280,12 +280,12 @@ describe("refute.isEvalError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isEvalError] ${message}: Expected EvalError not to be an EvalError` + `[refute.isEvalError] ${message}: Expected EvalError not to be an EvalError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isEvalError"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-false.test.js b/lib/assertions/is-false.test.js index 3d1de87..ddb9c0b 100644 --- a/lib/assertions/is-false.test.js +++ b/lib/assertions/is-false.test.js @@ -17,12 +17,12 @@ describe("assert.isFalse", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFalse] Expected true to be false" + "[assert.isFalse] Expected true to be false", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFalse"); return true; - } + }, ); }); @@ -37,7 +37,7 @@ describe("assert.isFalse", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFalse"); return true; - } + }, ); }); @@ -52,7 +52,7 @@ describe("assert.isFalse", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFalse"); return true; - } + }, ); }); @@ -65,12 +65,12 @@ describe("assert.isFalse", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFalse] Expected NaN to be false" + "[assert.isFalse] Expected NaN to be false", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFalse"); return true; - } + }, ); }); @@ -83,12 +83,12 @@ describe("assert.isFalse", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFalse] Expected null to be false" + "[assert.isFalse] Expected null to be false", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFalse"); return true; - } + }, ); }); @@ -101,12 +101,12 @@ describe("assert.isFalse", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFalse] Expected undefined to be false" + "[assert.isFalse] Expected undefined to be false", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFalse"); return true; - } + }, ); }); @@ -121,12 +121,12 @@ describe("assert.isFalse", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isFalse] ${message}: Expected true to be false` + `[assert.isFalse] ${message}: Expected true to be false`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFalse"); return true; - } + }, ); }); }); @@ -141,12 +141,12 @@ describe("refute.isFalse", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isFalse] Expected false to not be false" + "[refute.isFalse] Expected false to not be false", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isFalse"); return true; - } + }, ); }); @@ -185,12 +185,12 @@ describe("refute.isFalse", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isFalse] ${message}: Expected false to not be false` + `[refute.isFalse] ${message}: Expected false to not be false`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isFalse"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-float-32-array.test.js b/lib/assertions/is-float-32-array.test.js index 3bfd86d..90cb4a6 100644 --- a/lib/assertions/is-float-32-array.test.js +++ b/lib/assertions/is-float-32-array.test.js @@ -22,13 +22,13 @@ describe("assert.isFloat32Array", function () { assert.equal( error.message, `[assert.isFloat32Array] Expected ${inspect( - actual - )} to be a Float32Array` + actual, + )} to be a Float32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat32Array"); return true; - } + }, ); }); @@ -41,12 +41,12 @@ describe("assert.isFloat32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFloat32Array] Expected [] to be a Float32Array" + "[assert.isFloat32Array] Expected [] to be a Float32Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat32Array"); return true; - } + }, ); }); @@ -59,12 +59,12 @@ describe("assert.isFloat32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFloat32Array] Expected {} to be a Float32Array" + "[assert.isFloat32Array] Expected {} to be a Float32Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat32Array"); return true; - } + }, ); }); @@ -77,12 +77,12 @@ describe("assert.isFloat32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFloat32Array] Expected [Arguments] {} to be a Float32Array" + "[assert.isFloat32Array] Expected [Arguments] {} to be a Float32Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat32Array"); return true; - } + }, ); }); @@ -99,13 +99,13 @@ describe("assert.isFloat32Array", function () { assert.equal( error.message, `[assert.isFloat32Array] ${message}: Expected ${inspect( - actual - )} to be a Float32Array` + actual, + )} to be a Float32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat32Array"); return true; - } + }, ); }); }); @@ -123,13 +123,13 @@ describe("refute.isFloat32Array", function () { assert.equal( error.message, `[refute.isFloat32Array] Expected ${inspect( - actual - )} not to be a Float32Array` + actual, + )} not to be a Float32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isFloat32Array"); return true; - } + }, ); }); @@ -162,13 +162,13 @@ describe("refute.isFloat32Array", function () { assert.equal( error.message, `[refute.isFloat32Array] ${message}: Expected ${inspect( - actual - )} not to be a Float32Array` + actual, + )} not to be a Float32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isFloat32Array"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-float-64-array.test.js b/lib/assertions/is-float-64-array.test.js index ff8cf6d..7197ab3 100644 --- a/lib/assertions/is-float-64-array.test.js +++ b/lib/assertions/is-float-64-array.test.js @@ -18,13 +18,13 @@ describe("assert.isFloat64Array", function () { assert.equal( error.message, `[assert.isFloat64Array] Expected ${inspect( - actual - )} to be a Float64Array` + actual, + )} to be a Float64Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat64Array"); return true; - } + }, ); }); @@ -41,12 +41,12 @@ describe("assert.isFloat64Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFloat64Array] Expected [] to be a Float64Array" + "[assert.isFloat64Array] Expected [] to be a Float64Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat64Array"); return true; - } + }, ); }); @@ -59,12 +59,12 @@ describe("assert.isFloat64Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFloat64Array] Expected {} to be a Float64Array" + "[assert.isFloat64Array] Expected {} to be a Float64Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat64Array"); return true; - } + }, ); }); @@ -77,12 +77,12 @@ describe("assert.isFloat64Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFloat64Array] Expected [Arguments] {} to be a Float64Array" + "[assert.isFloat64Array] Expected [Arguments] {} to be a Float64Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat64Array"); return true; - } + }, ); }); @@ -99,13 +99,13 @@ describe("assert.isFloat64Array", function () { assert.equal( error.message, `[assert.isFloat64Array] ${message}: Expected ${inspect( - actual - )} to be a Float64Array` + actual, + )} to be a Float64Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFloat64Array"); return true; - } + }, ); }); }); @@ -127,13 +127,13 @@ describe("refute.isFloat64Array", function () { assert.equal( error.message, `[refute.isFloat64Array] Expected ${inspect( - actual - )} not to be a Float64Array` + actual, + )} not to be a Float64Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isFloat64Array"); return true; - } + }, ); }); @@ -162,13 +162,13 @@ describe("refute.isFloat64Array", function () { assert.equal( error.message, `[refute.isFloat64Array] ${message}: Expected ${inspect( - actual - )} not to be a Float64Array` + actual, + )} not to be a Float64Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isFloat64Array"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-function.test.js b/lib/assertions/is-function.test.js index c18305a..0a73f60 100644 --- a/lib/assertions/is-function.test.js +++ b/lib/assertions/is-function.test.js @@ -20,12 +20,12 @@ describe("assert.isFunction", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isFunction] '[object Object]' ('object') expected to be function" + "[assert.isFunction] '[object Object]' ('object') expected to be function", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFunction"); return true; - } + }, ); }); it("should fail with custom message", function () { @@ -39,12 +39,12 @@ describe("assert.isFunction", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isFunction] ${message}: '[object Object]' ('object') expected to be function` + `[assert.isFunction] ${message}: '[object Object]' ('object') expected to be function`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isFunction"); return true; - } + }, ); }); }); @@ -59,12 +59,12 @@ describe("refute.isFunction", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isFunction] 'function noop() {}' expected not to be function" + "[refute.isFunction] 'function noop() {}' expected not to be function", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isFunction"); return true; - } + }, ); }); @@ -82,12 +82,12 @@ describe("refute.isFunction", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isFunction] ${message}: 'function noop() {}' expected not to be function` + `[refute.isFunction] ${message}: 'function noop() {}' expected not to be function`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isFunction"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-infinity.test.js b/lib/assertions/is-infinity.test.js index 38c2977..11d0b76 100644 --- a/lib/assertions/is-infinity.test.js +++ b/lib/assertions/is-infinity.test.js @@ -18,12 +18,12 @@ describe("assert.isInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInfinity] Expected -Infinity to be Infinity" + "[assert.isInfinity] Expected -Infinity to be Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInfinity"); return true; - } + }, ); }); @@ -36,12 +36,12 @@ describe("assert.isInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInfinity] Expected NaN to be Infinity" + "[assert.isInfinity] Expected NaN to be Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInfinity"); return true; - } + }, ); }); @@ -54,12 +54,12 @@ describe("assert.isInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInfinity] Expected [] to be Infinity" + "[assert.isInfinity] Expected [] to be Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInfinity"); return true; - } + }, ); }); @@ -72,12 +72,12 @@ describe("assert.isInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInfinity] Expected {} to be Infinity" + "[assert.isInfinity] Expected {} to be Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInfinity"); return true; - } + }, ); }); @@ -90,12 +90,12 @@ describe("assert.isInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInfinity] Expected [Arguments] {} to be Infinity" + "[assert.isInfinity] Expected [Arguments] {} to be Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInfinity"); return true; - } + }, ); }); @@ -110,12 +110,12 @@ describe("assert.isInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isInfinity] ${message}: Expected -Infinity to be Infinity` + `[assert.isInfinity] ${message}: Expected -Infinity to be Infinity`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInfinity"); return true; - } + }, ); }); }); @@ -130,12 +130,12 @@ describe("refute.isInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isInfinity] Expected Infinity not to be Infinity" + "[refute.isInfinity] Expected Infinity not to be Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isInfinity"); return true; - } + }, ); }); @@ -170,12 +170,12 @@ describe("refute.isInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isInfinity] ${message}: Expected Infinity not to be Infinity` + `[refute.isInfinity] ${message}: Expected Infinity not to be Infinity`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isInfinity"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-int-16-array.test.js b/lib/assertions/is-int-16-array.test.js index 2d59d7c..b2f9872 100644 --- a/lib/assertions/is-int-16-array.test.js +++ b/lib/assertions/is-int-16-array.test.js @@ -18,13 +18,13 @@ describe("assert.isInt16Array", function () { assert.equal( error.message, `[assert.isInt16Array] Expected ${inspect( - actual - )} to be an Int16Array` + actual, + )} to be an Int16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt16Array"); return true; - } + }, ); }); @@ -44,13 +44,13 @@ describe("assert.isInt16Array", function () { assert.equal( error.message, `[assert.isInt16Array] Expected ${inspect( - actual - )} to be an Int16Array` + actual, + )} to be an Int16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt16Array"); return true; - } + }, ); }); @@ -63,12 +63,12 @@ describe("assert.isInt16Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInt16Array] Expected [] to be an Int16Array" + "[assert.isInt16Array] Expected [] to be an Int16Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt16Array"); return true; - } + }, ); }); @@ -81,12 +81,12 @@ describe("assert.isInt16Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInt16Array] Expected {} to be an Int16Array" + "[assert.isInt16Array] Expected {} to be an Int16Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt16Array"); return true; - } + }, ); }); @@ -99,12 +99,12 @@ describe("assert.isInt16Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInt16Array] Expected [Arguments] {} to be an Int16Array" + "[assert.isInt16Array] Expected [Arguments] {} to be an Int16Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt16Array"); return true; - } + }, ); }); @@ -119,12 +119,12 @@ describe("assert.isInt16Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isInt16Array] ${message}: Expected [Arguments] {} to be an Int16Array` + `[assert.isInt16Array] ${message}: Expected [Arguments] {} to be an Int16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt16Array"); return true; - } + }, ); }); }); @@ -146,13 +146,13 @@ describe("refute.isInt16Array", function () { assert.equal( error.message, `[refute.isInt16Array] Expected ${inspect( - actual - )} not to be an Int16Array` + actual, + )} not to be an Int16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isInt16Array"); return true; - } + }, ); }); @@ -185,13 +185,13 @@ describe("refute.isInt16Array", function () { assert.equal( error.message, `[refute.isInt16Array] ${message}: Expected ${inspect( - actual - )} not to be an Int16Array` + actual, + )} not to be an Int16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isInt16Array"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-int-32-array.test.js b/lib/assertions/is-int-32-array.test.js index 500d811..c65f4c0 100644 --- a/lib/assertions/is-int-32-array.test.js +++ b/lib/assertions/is-int-32-array.test.js @@ -18,13 +18,13 @@ describe("assert.isInt32Array", function () { assert.equal( error.message, `[assert.isInt32Array] Expected ${inspect( - actual - )} to be an Int32Array` + actual, + )} to be an Int32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt32Array"); return true; - } + }, ); }); @@ -40,13 +40,13 @@ describe("assert.isInt32Array", function () { assert.equal( error.message, `[assert.isInt32Array] Expected ${inspect( - actual - )} to be an Int32Array` + actual, + )} to be an Int32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt32Array"); return true; - } + }, ); }); @@ -63,12 +63,12 @@ describe("assert.isInt32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInt32Array] Expected [] to be an Int32Array" + "[assert.isInt32Array] Expected [] to be an Int32Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt32Array"); return true; - } + }, ); }); @@ -81,12 +81,12 @@ describe("assert.isInt32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInt32Array] Expected {} to be an Int32Array" + "[assert.isInt32Array] Expected {} to be an Int32Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt32Array"); return true; - } + }, ); }); @@ -99,12 +99,12 @@ describe("assert.isInt32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInt32Array] Expected [Arguments] {} to be an Int32Array" + "[assert.isInt32Array] Expected [Arguments] {} to be an Int32Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt32Array"); return true; - } + }, ); }); @@ -119,12 +119,12 @@ describe("assert.isInt32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isInt32Array] ${message}: Expected [Arguments] {} to be an Int32Array` + `[assert.isInt32Array] ${message}: Expected [Arguments] {} to be an Int32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt32Array"); return true; - } + }, ); }); }); @@ -150,13 +150,13 @@ describe("refute.isInt32Array", function () { assert.equal( error.message, `[refute.isInt32Array] Expected ${inspect( - actual - )} not to be an Int32Array` + actual, + )} not to be an Int32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isInt32Array"); return true; - } + }, ); }); @@ -185,13 +185,13 @@ describe("refute.isInt32Array", function () { assert.equal( error.message, `[refute.isInt32Array] ${message}: Expected ${inspect( - actual - )} not to be an Int32Array` + actual, + )} not to be an Int32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isInt32Array"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-int-8-array.test.js b/lib/assertions/is-int-8-array.test.js index c5457ca..feb7b0d 100644 --- a/lib/assertions/is-int-8-array.test.js +++ b/lib/assertions/is-int-8-array.test.js @@ -21,12 +21,12 @@ describe("assert.isInt8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isInt8Array] Expected ${inspect(actual)} to be an Int8Array` + `[assert.isInt8Array] Expected ${inspect(actual)} to be an Int8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt8Array"); return true; - } + }, ); }); @@ -41,12 +41,12 @@ describe("assert.isInt8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isInt8Array] Expected ${inspect(actual)} to be an Int8Array` + `[assert.isInt8Array] Expected ${inspect(actual)} to be an Int8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt8Array"); return true; - } + }, ); }); @@ -59,12 +59,12 @@ describe("assert.isInt8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInt8Array] Expected [] to be an Int8Array" + "[assert.isInt8Array] Expected [] to be an Int8Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt8Array"); return true; - } + }, ); }); @@ -77,12 +77,12 @@ describe("assert.isInt8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInt8Array] Expected {} to be an Int8Array" + "[assert.isInt8Array] Expected {} to be an Int8Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt8Array"); return true; - } + }, ); }); @@ -95,12 +95,12 @@ describe("assert.isInt8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isInt8Array] Expected [Arguments] {} to be an Int8Array" + "[assert.isInt8Array] Expected [Arguments] {} to be an Int8Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt8Array"); return true; - } + }, ); }); @@ -115,12 +115,12 @@ describe("assert.isInt8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isInt8Array] ${message}: Expected [Arguments] {} to be an Int8Array` + `[assert.isInt8Array] ${message}: Expected [Arguments] {} to be an Int8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isInt8Array"); return true; - } + }, ); }); }); @@ -138,13 +138,13 @@ describe("refute.isInt8Array", function () { assert.equal( error.message, `[refute.isInt8Array] Expected ${inspect( - actual - )} not to be an Int8Array` + actual, + )} not to be an Int8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isInt8Array"); return true; - } + }, ); }); @@ -181,13 +181,13 @@ describe("refute.isInt8Array", function () { assert.equal( error.message, `[refute.isInt8Array] ${message}: Expected ${inspect( - actual - )} not to be an Int8Array` + actual, + )} not to be an Int8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isInt8Array"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-intl-collator.test.js b/lib/assertions/is-intl-collator.test.js index 2e8b235..c91859a 100644 --- a/lib/assertions/is-intl-collator.test.js +++ b/lib/assertions/is-intl-collator.test.js @@ -19,12 +19,12 @@ describe("assert.isIntlCollator", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlCollator] Expected 'apple pie' to be an Intl.Collator" + "[assert.isIntlCollator] Expected 'apple pie' to be an Intl.Collator", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlCollator"); return true; - } + }, ); }); @@ -37,12 +37,12 @@ describe("assert.isIntlCollator", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlCollator] Expected [] to be an Intl.Collator" + "[assert.isIntlCollator] Expected [] to be an Intl.Collator", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlCollator"); return true; - } + }, ); }); @@ -55,12 +55,12 @@ describe("assert.isIntlCollator", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlCollator] Expected {} to be an Intl.Collator" + "[assert.isIntlCollator] Expected {} to be an Intl.Collator", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlCollator"); return true; - } + }, ); }); @@ -73,12 +73,12 @@ describe("assert.isIntlCollator", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlCollator] Expected [Arguments] {} to be an Intl.Collator" + "[assert.isIntlCollator] Expected [Arguments] {} to be an Intl.Collator", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlCollator"); return true; - } + }, ); }); @@ -93,12 +93,12 @@ describe("assert.isIntlCollator", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isIntlCollator] ${message}: Expected 'apple pie' to be an Intl.Collator` + `[assert.isIntlCollator] ${message}: Expected 'apple pie' to be an Intl.Collator`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlCollator"); return true; - } + }, ); }); }); @@ -116,13 +116,13 @@ describe("refute.isIntlCollator", function () { assert.equal( error.message, `[refute.isIntlCollator] Expected ${inspect( - object - )} not to be an Intl.Collator` + object, + )} not to be an Intl.Collator`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isIntlCollator"); return true; - } + }, ); }); @@ -155,13 +155,13 @@ describe("refute.isIntlCollator", function () { assert.equal( error.message, `[refute.isIntlCollator] ${message}: Expected ${inspect( - object - )} not to be an Intl.Collator` + object, + )} not to be an Intl.Collator`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isIntlCollator"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-intl-date-time-format.test.js b/lib/assertions/is-intl-date-time-format.test.js index 530053e..44addf5 100644 --- a/lib/assertions/is-intl-date-time-format.test.js +++ b/lib/assertions/is-intl-date-time-format.test.js @@ -19,12 +19,12 @@ describe("assert.isIntlDateTimeFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlDateTimeFormat] Expected 'apple pie' to be an Intl.DateTimeFormat" + "[assert.isIntlDateTimeFormat] Expected 'apple pie' to be an Intl.DateTimeFormat", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlDateTimeFormat"); return true; - } + }, ); }); @@ -37,12 +37,12 @@ describe("assert.isIntlDateTimeFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlDateTimeFormat] Expected [] to be an Intl.DateTimeFormat" + "[assert.isIntlDateTimeFormat] Expected [] to be an Intl.DateTimeFormat", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlDateTimeFormat"); return true; - } + }, ); }); @@ -55,12 +55,12 @@ describe("assert.isIntlDateTimeFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlDateTimeFormat] Expected {} to be an Intl.DateTimeFormat" + "[assert.isIntlDateTimeFormat] Expected {} to be an Intl.DateTimeFormat", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlDateTimeFormat"); return true; - } + }, ); }); @@ -73,12 +73,12 @@ describe("assert.isIntlDateTimeFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlDateTimeFormat] Expected [Arguments] {} to be an Intl.DateTimeFormat" + "[assert.isIntlDateTimeFormat] Expected [Arguments] {} to be an Intl.DateTimeFormat", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlDateTimeFormat"); return true; - } + }, ); }); @@ -93,12 +93,12 @@ describe("assert.isIntlDateTimeFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isIntlDateTimeFormat] ${message}: Expected 'apple pie' to be an Intl.DateTimeFormat` + `[assert.isIntlDateTimeFormat] ${message}: Expected 'apple pie' to be an Intl.DateTimeFormat`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlDateTimeFormat"); return true; - } + }, ); }); }); @@ -116,13 +116,13 @@ describe("refute.isIntlDateTimeFormat", function () { assert.equal( error.message, `[refute.isIntlDateTimeFormat] Expected ${inspect( - object - )} not to be an Intl.DateTimeFormat` + object, + )} not to be an Intl.DateTimeFormat`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isIntlDateTimeFormat"); return true; - } + }, ); }); @@ -155,13 +155,13 @@ describe("refute.isIntlDateTimeFormat", function () { assert.equal( error.message, `[refute.isIntlDateTimeFormat] ${message}: Expected ${inspect( - object - )} not to be an Intl.DateTimeFormat` + object, + )} not to be an Intl.DateTimeFormat`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isIntlDateTimeFormat"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-intl-number-format.test.js b/lib/assertions/is-intl-number-format.test.js index f9cc507..43ee274 100644 --- a/lib/assertions/is-intl-number-format.test.js +++ b/lib/assertions/is-intl-number-format.test.js @@ -19,12 +19,12 @@ describe("assert.isIntlNumberFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlNumberFormat] Expected 'apple pie' to be an Intl.NumberFormat" + "[assert.isIntlNumberFormat] Expected 'apple pie' to be an Intl.NumberFormat", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlNumberFormat"); return true; - } + }, ); }); @@ -37,12 +37,12 @@ describe("assert.isIntlNumberFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlNumberFormat] Expected [] to be an Intl.NumberFormat" + "[assert.isIntlNumberFormat] Expected [] to be an Intl.NumberFormat", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlNumberFormat"); return true; - } + }, ); }); @@ -55,12 +55,12 @@ describe("assert.isIntlNumberFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlNumberFormat] Expected {} to be an Intl.NumberFormat" + "[assert.isIntlNumberFormat] Expected {} to be an Intl.NumberFormat", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlNumberFormat"); return true; - } + }, ); }); @@ -73,12 +73,12 @@ describe("assert.isIntlNumberFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isIntlNumberFormat] Expected [Arguments] {} to be an Intl.NumberFormat" + "[assert.isIntlNumberFormat] Expected [Arguments] {} to be an Intl.NumberFormat", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlNumberFormat"); return true; - } + }, ); }); @@ -93,12 +93,12 @@ describe("assert.isIntlNumberFormat", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isIntlNumberFormat] ${message}: Expected 'apple pie' to be an Intl.NumberFormat` + `[assert.isIntlNumberFormat] ${message}: Expected 'apple pie' to be an Intl.NumberFormat`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isIntlNumberFormat"); return true; - } + }, ); }); }); @@ -115,13 +115,13 @@ describe("refute.isIntlNumberFormat", function () { assert.equal( error.message, `[refute.isIntlNumberFormat] Expected ${inspect( - object - )} not to be an Intl.NumberFormat` + object, + )} not to be an Intl.NumberFormat`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isIntlNumberFormat"); return true; - } + }, ); }); @@ -153,13 +153,13 @@ describe("refute.isIntlNumberFormat", function () { assert.equal( error.message, `[refute.isIntlNumberFormat] ${message}: Expected ${inspect( - object - )} not to be an Intl.NumberFormat` + object, + )} not to be an Intl.NumberFormat`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isIntlNumberFormat"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-map.test.js b/lib/assertions/is-map.test.js index 5c85ee9..a73f7a2 100644 --- a/lib/assertions/is-map.test.js +++ b/lib/assertions/is-map.test.js @@ -61,7 +61,7 @@ describe("isMap factory", function () { it("is '${customMessage}Expected ${actual} to be a Map'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actual} to be a Map" + "${customMessage}Expected ${actual} to be a Map", ); }); }); @@ -70,7 +70,7 @@ describe("isMap factory", function () { it("is '${customMessage}Expected ${actual} not to be a Map'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected ${actual} not to be a Map" + "${customMessage}Expected ${actual} not to be a Map", ); }); }); diff --git a/lib/assertions/is-nan.test.js b/lib/assertions/is-nan.test.js index a6ee922..85873a8 100644 --- a/lib/assertions/is-nan.test.js +++ b/lib/assertions/is-nan.test.js @@ -23,7 +23,7 @@ describe("assert.isNaN", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -36,12 +36,12 @@ describe("assert.isNaN", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNaN] Expected undefined to be NaN" + "[assert.isNaN] Expected undefined to be NaN", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -54,12 +54,12 @@ describe("assert.isNaN", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNaN] Expected Infinity to be NaN" + "[assert.isNaN] Expected Infinity to be NaN", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -72,12 +72,12 @@ describe("assert.isNaN", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNaN] Expected -Infinity to be NaN" + "[assert.isNaN] Expected -Infinity to be NaN", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -92,7 +92,7 @@ describe("assert.isNaN", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -107,7 +107,7 @@ describe("assert.isNaN", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -120,12 +120,12 @@ describe("assert.isNaN", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNaN] Expected 'apple pie' to be NaN" + "[assert.isNaN] Expected 'apple pie' to be NaN", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -138,12 +138,12 @@ describe("assert.isNaN", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNaN] Expected [Function: noop] to be NaN" + "[assert.isNaN] Expected [Function: noop] to be NaN", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -158,7 +158,7 @@ describe("assert.isNaN", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -173,7 +173,7 @@ describe("assert.isNaN", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -186,12 +186,12 @@ describe("assert.isNaN", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNaN] Expected [Arguments] {} to be NaN" + "[assert.isNaN] Expected [Arguments] {} to be NaN", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); @@ -206,12 +206,12 @@ describe("assert.isNaN", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isNaN] ${message}: Expected null to be NaN` + `[assert.isNaN] ${message}: Expected null to be NaN`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNaN"); return true; - } + }, ); }); }); @@ -228,7 +228,7 @@ describe("refute.isNaN", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNaN"); return true; - } + }, ); }); @@ -287,12 +287,12 @@ describe("refute.isNaN", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isNaN] ${message}: Expected not to be NaN` + `[refute.isNaN] ${message}: Expected not to be NaN`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNaN"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-negative-infinity.test.js b/lib/assertions/is-negative-infinity.test.js index 3b62d7f..797362a 100644 --- a/lib/assertions/is-negative-infinity.test.js +++ b/lib/assertions/is-negative-infinity.test.js @@ -18,12 +18,12 @@ describe("assert.isNegativeInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNegativeInfinity] Expected Infinity to be -Infinity" + "[assert.isNegativeInfinity] Expected Infinity to be -Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNegativeInfinity"); return true; - } + }, ); }); @@ -36,12 +36,12 @@ describe("assert.isNegativeInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNegativeInfinity] Expected NaN to be -Infinity" + "[assert.isNegativeInfinity] Expected NaN to be -Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNegativeInfinity"); return true; - } + }, ); }); @@ -54,12 +54,12 @@ describe("assert.isNegativeInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNegativeInfinity] Expected [] to be -Infinity" + "[assert.isNegativeInfinity] Expected [] to be -Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNegativeInfinity"); return true; - } + }, ); }); @@ -72,12 +72,12 @@ describe("assert.isNegativeInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNegativeInfinity] Expected {} to be -Infinity" + "[assert.isNegativeInfinity] Expected {} to be -Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNegativeInfinity"); return true; - } + }, ); }); @@ -90,12 +90,12 @@ describe("assert.isNegativeInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNegativeInfinity] Expected [Arguments] {} to be -Infinity" + "[assert.isNegativeInfinity] Expected [Arguments] {} to be -Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNegativeInfinity"); return true; - } + }, ); }); @@ -110,12 +110,12 @@ describe("assert.isNegativeInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isNegativeInfinity] ${message}: Expected Infinity to be -Infinity` + `[assert.isNegativeInfinity] ${message}: Expected Infinity to be -Infinity`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNegativeInfinity"); return true; - } + }, ); }); }); @@ -130,12 +130,12 @@ describe("refute.isNegativeInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isNegativeInfinity] Expected -Infinity not to be -Infinity" + "[refute.isNegativeInfinity] Expected -Infinity not to be -Infinity", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNegativeInfinity"); return true; - } + }, ); }); @@ -170,12 +170,12 @@ describe("refute.isNegativeInfinity", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isNegativeInfinity] ${message}: Expected -Infinity not to be -Infinity` + `[refute.isNegativeInfinity] ${message}: Expected -Infinity not to be -Infinity`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNegativeInfinity"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-null.test.js b/lib/assertions/is-null.test.js index 1d8fbb9..1f0415e 100644 --- a/lib/assertions/is-null.test.js +++ b/lib/assertions/is-null.test.js @@ -21,12 +21,12 @@ describe("assert.isNull", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNull] Expected undefined to be null" + "[assert.isNull] Expected undefined to be null", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNull"); return true; - } + }, ); }); @@ -41,7 +41,7 @@ describe("assert.isNull", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNull"); return true; - } + }, ); }); @@ -54,12 +54,12 @@ describe("assert.isNull", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNull] Expected false to be null" + "[assert.isNull] Expected false to be null", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNull"); return true; - } + }, ); }); @@ -74,7 +74,7 @@ describe("assert.isNull", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNull"); return true; - } + }, ); }); @@ -87,12 +87,12 @@ describe("assert.isNull", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNull] Expected [Function: noop] to be null" + "[assert.isNull] Expected [Function: noop] to be null", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNull"); return true; - } + }, ); }); @@ -107,7 +107,7 @@ describe("assert.isNull", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNull"); return true; - } + }, ); }); @@ -122,7 +122,7 @@ describe("assert.isNull", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNull"); return true; - } + }, ); }); @@ -135,12 +135,12 @@ describe("assert.isNull", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNull] Expected [Arguments] {} to be null" + "[assert.isNull] Expected [Arguments] {} to be null", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNull"); return true; - } + }, ); }); @@ -155,12 +155,12 @@ describe("assert.isNull", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isNull] ${message}: Expected undefined to be null` + `[assert.isNull] ${message}: Expected undefined to be null`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNull"); return true; - } + }, ); }); }); @@ -177,7 +177,7 @@ describe("refute.isNull", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNull"); return true; - } + }, ); }); @@ -224,12 +224,12 @@ describe("refute.isNull", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isNull] ${message}: Expected not to be null` + `[refute.isNull] ${message}: Expected not to be null`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNull"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-number.test.js b/lib/assertions/is-number.test.js index 4138e61..e02086f 100644 --- a/lib/assertions/is-number.test.js +++ b/lib/assertions/is-number.test.js @@ -37,12 +37,12 @@ describe("assert.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNumber] Expected NaN ('number') to be a non-NaN number" + "[assert.isNumber] Expected NaN ('number') to be a non-NaN number", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNumber"); return true; - } + }, ); }); @@ -55,12 +55,12 @@ describe("assert.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNumber] Expected 'apple pie' ('string') to be a non-NaN number" + "[assert.isNumber] Expected 'apple pie' ('string') to be a non-NaN number", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNumber"); return true; - } + }, ); }); @@ -73,12 +73,12 @@ describe("assert.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNumber] Expected [Function: noop] ('function') to be a non-NaN number" + "[assert.isNumber] Expected [Function: noop] ('function') to be a non-NaN number", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNumber"); return true; - } + }, ); }); @@ -91,12 +91,12 @@ describe("assert.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNumber] Expected [Arguments] {} ('object') to be a non-NaN number" + "[assert.isNumber] Expected [Arguments] {} ('object') to be a non-NaN number", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNumber"); return true; - } + }, ); }); @@ -109,12 +109,12 @@ describe("assert.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isNumber] Expected null ('object') to be a non-NaN number" + "[assert.isNumber] Expected null ('object') to be a non-NaN number", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNumber"); return true; - } + }, ); }); @@ -129,12 +129,12 @@ describe("assert.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isNumber] ${message}: Expected NaN ('number') to be a non-NaN number` + `[assert.isNumber] ${message}: Expected NaN ('number') to be a non-NaN number`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isNumber"); return true; - } + }, ); }); }); @@ -149,12 +149,12 @@ describe("refute.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isNumber] Expected 42 to be NaN or a non-number value" + "[refute.isNumber] Expected 42 to be NaN or a non-number value", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNumber"); return true; - } + }, ); }); @@ -167,12 +167,12 @@ describe("refute.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isNumber] Expected Infinity to be NaN or a non-number value" + "[refute.isNumber] Expected Infinity to be NaN or a non-number value", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNumber"); return true; - } + }, ); }); @@ -185,12 +185,12 @@ describe("refute.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isNumber] Expected -Infinity to be NaN or a non-number value" + "[refute.isNumber] Expected -Infinity to be NaN or a non-number value", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNumber"); return true; - } + }, ); }); @@ -203,12 +203,12 @@ describe("refute.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isNumber] Expected 1.7976931348623157e+308 to be NaN or a non-number value" + "[refute.isNumber] Expected 1.7976931348623157e+308 to be NaN or a non-number value", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNumber"); return true; - } + }, ); }); @@ -221,12 +221,12 @@ describe("refute.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isNumber] Expected 5e-324 to be NaN or a non-number value" + "[refute.isNumber] Expected 5e-324 to be NaN or a non-number value", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNumber"); return true; - } + }, ); }); @@ -261,12 +261,12 @@ describe("refute.isNumber", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isNumber] ${message}: Expected 42 to be NaN or a non-number value` + `[refute.isNumber] ${message}: Expected 42 to be NaN or a non-number value`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isNumber"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-object.test.js b/lib/assertions/is-object.test.js index e47e613..283ab04 100644 --- a/lib/assertions/is-object.test.js +++ b/lib/assertions/is-object.test.js @@ -20,12 +20,12 @@ describe("assert.isObject", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isObject] [Function: noop] ('function') expected to be object and not null" + "[assert.isObject] [Function: noop] ('function') expected to be object and not null", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isObject"); return true; - } + }, ); }); @@ -38,12 +38,12 @@ describe("assert.isObject", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isObject] null ('object') expected to be object and not null" + "[assert.isObject] null ('object') expected to be object and not null", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isObject"); return true; - } + }, ); }); @@ -58,12 +58,12 @@ describe("assert.isObject", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isObject] ${message}: [Function: noop] ('function') expected to be object and not null` + `[assert.isObject] ${message}: [Function: noop] ('function') expected to be object and not null`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isObject"); return true; - } + }, ); }); }); @@ -78,12 +78,12 @@ describe("refute.isObject", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isObject] {} expected to be null or not an object" + "[refute.isObject] {} expected to be null or not an object", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isObject"); return true; - } + }, ); }); it("should pass for Function", function () { @@ -104,12 +104,12 @@ describe("refute.isObject", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isObject] ${message}: {} expected to be null or not an object` + `[refute.isObject] ${message}: {} expected to be null or not an object`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isObject"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-promise.test.js b/lib/assertions/is-promise.test.js index 1af7b6a..85abdf4 100644 --- a/lib/assertions/is-promise.test.js +++ b/lib/assertions/is-promise.test.js @@ -21,12 +21,12 @@ describe("assert.isPromise", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isPromise] Expected 'apple pie' to be a Promise" + "[assert.isPromise] Expected 'apple pie' to be a Promise", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isPromise"); return true; - } + }, ); }); @@ -39,12 +39,12 @@ describe("assert.isPromise", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isPromise] Expected [] to be a Promise" + "[assert.isPromise] Expected [] to be a Promise", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isPromise"); return true; - } + }, ); }); @@ -57,12 +57,12 @@ describe("assert.isPromise", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isPromise] Expected [Function: noop] to be a Promise" + "[assert.isPromise] Expected [Function: noop] to be a Promise", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isPromise"); return true; - } + }, ); }); @@ -75,12 +75,12 @@ describe("assert.isPromise", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isPromise] Expected {} to be a Promise" + "[assert.isPromise] Expected {} to be a Promise", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isPromise"); return true; - } + }, ); }); @@ -93,12 +93,12 @@ describe("assert.isPromise", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isPromise] Expected [Arguments] {} to be a Promise" + "[assert.isPromise] Expected [Arguments] {} to be a Promise", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isPromise"); return true; - } + }, ); }); @@ -112,12 +112,12 @@ describe("assert.isPromise", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isPromise] ${message}: Expected 'apple pie' to be a Promise` + `[assert.isPromise] ${message}: Expected 'apple pie' to be a Promise`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isPromise"); return true; - } + }, ); }); }); @@ -132,12 +132,12 @@ describe("refute.isPromise", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isPromise] Expected Promise { 'apple pie' } not to be a Promise" + "[refute.isPromise] Expected Promise { 'apple pie' } not to be a Promise", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isPromise"); return true; - } + }, ); }); @@ -172,12 +172,12 @@ describe("refute.isPromise", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isPromise] ${message}: Expected Promise { 'apple pie' } not to be a Promise` + `[refute.isPromise] ${message}: Expected Promise { 'apple pie' } not to be a Promise`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isPromise"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-range-error.test.js b/lib/assertions/is-range-error.test.js index f5b2136..eb464c6 100644 --- a/lib/assertions/is-range-error.test.js +++ b/lib/assertions/is-range-error.test.js @@ -14,12 +14,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected Error to be a RangeError" + "[assert.isRangeError] Expected Error to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -32,12 +32,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected EvalError to be a RangeError" + "[assert.isRangeError] Expected EvalError to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -54,12 +54,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected ReferenceError to be a RangeError" + "[assert.isRangeError] Expected ReferenceError to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -72,12 +72,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected SyntaxError to be a RangeError" + "[assert.isRangeError] Expected SyntaxError to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -90,12 +90,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected TypeError to be a RangeError" + "[assert.isRangeError] Expected TypeError to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -108,12 +108,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected URIError to be a RangeError" + "[assert.isRangeError] Expected URIError to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -126,12 +126,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected 'apple pie' to be a RangeError" + "[assert.isRangeError] Expected 'apple pie' to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -144,12 +144,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected [] to be a RangeError" + "[assert.isRangeError] Expected [] to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -162,12 +162,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected {} to be a RangeError" + "[assert.isRangeError] Expected {} to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -180,12 +180,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isRangeError] Expected [Arguments] {} to be a RangeError" + "[assert.isRangeError] Expected [Arguments] {} to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); @@ -200,12 +200,12 @@ describe("assert.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isRangeError] ${message}: Expected Error to be a RangeError` + `[assert.isRangeError] ${message}: Expected Error to be a RangeError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isRangeError"); return true; - } + }, ); }); }); @@ -228,12 +228,12 @@ describe("refute.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isRangeError] Expected RangeError not to be a RangeError" + "[refute.isRangeError] Expected RangeError not to be a RangeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isRangeError"); return true; - } + }, ); }); @@ -280,12 +280,12 @@ describe("refute.isRangeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isRangeError] ${message}: Expected RangeError not to be a RangeError` + `[refute.isRangeError] ${message}: Expected RangeError not to be a RangeError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isRangeError"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-reference-error.test.js b/lib/assertions/is-reference-error.test.js index deee218..d076441 100644 --- a/lib/assertions/is-reference-error.test.js +++ b/lib/assertions/is-reference-error.test.js @@ -14,12 +14,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected Error to be a ReferenceError" + "[assert.isReferenceError] Expected Error to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -32,12 +32,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected EvalError to be a ReferenceError" + "[assert.isReferenceError] Expected EvalError to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -50,12 +50,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected RangeError to be a ReferenceError" + "[assert.isReferenceError] Expected RangeError to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -72,12 +72,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected SyntaxError to be a ReferenceError" + "[assert.isReferenceError] Expected SyntaxError to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -90,12 +90,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected TypeError to be a ReferenceError" + "[assert.isReferenceError] Expected TypeError to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -108,12 +108,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected URIError to be a ReferenceError" + "[assert.isReferenceError] Expected URIError to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -126,12 +126,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected 'apple pie' to be a ReferenceError" + "[assert.isReferenceError] Expected 'apple pie' to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -144,12 +144,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected [] to be a ReferenceError" + "[assert.isReferenceError] Expected [] to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -162,12 +162,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected {} to be a ReferenceError" + "[assert.isReferenceError] Expected {} to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -180,12 +180,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isReferenceError] Expected [Arguments] {} to be a ReferenceError" + "[assert.isReferenceError] Expected [Arguments] {} to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); @@ -200,12 +200,12 @@ describe("assert.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isReferenceError] ${message}: Expected Error to be a ReferenceError` + `[assert.isReferenceError] ${message}: Expected Error to be a ReferenceError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isReferenceError"); return true; - } + }, ); }); }); @@ -232,12 +232,12 @@ describe("refute.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isReferenceError] Expected ReferenceError not to be a ReferenceError" + "[refute.isReferenceError] Expected ReferenceError not to be a ReferenceError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isReferenceError"); return true; - } + }, ); }); @@ -280,12 +280,12 @@ describe("refute.isReferenceError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isReferenceError] ${message}: Expected ReferenceError not to be a ReferenceError` + `[refute.isReferenceError] ${message}: Expected ReferenceError not to be a ReferenceError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isReferenceError"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-reg-exp.test.js b/lib/assertions/is-reg-exp.test.js index fbd1df8..728fe8d 100644 --- a/lib/assertions/is-reg-exp.test.js +++ b/lib/assertions/is-reg-exp.test.js @@ -23,11 +23,11 @@ describe("assert.isRegExp", function () { assert.equal(error.name, "AssertionError"); assert.equal( error.message, - "[assert.isRegExp] Expected 'apple pie' to be a RegExp" + "[assert.isRegExp] Expected 'apple pie' to be a RegExp", ); assert.equal(error.operator, "assert.isRegExp"); return true; - } + }, ); }); @@ -41,11 +41,11 @@ describe("assert.isRegExp", function () { assert.equal(error.name, "AssertionError"); assert.equal( error.message, - "[assert.isRegExp] Expected [Arguments] {} to be a RegExp" + "[assert.isRegExp] Expected [Arguments] {} to be a RegExp", ); assert.equal(error.operator, "assert.isRegExp"); return true; - } + }, ); }); @@ -59,11 +59,11 @@ describe("assert.isRegExp", function () { assert.equal(error.name, "AssertionError"); assert.equal( error.message, - "[assert.isRegExp] Nope: Expected {} to be a RegExp" + "[assert.isRegExp] Nope: Expected {} to be a RegExp", ); assert.equal(error.operator, "assert.isRegExp"); return true; - } + }, ); }); @@ -77,11 +77,11 @@ describe("assert.isRegExp", function () { assert.equal(error.name, "AssertionError"); assert.equal( error.message, - "[assert.isRegExp] Expected [] to be a RegExp" + "[assert.isRegExp] Expected [] to be a RegExp", ); assert.equal(error.operator, "assert.isRegExp"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-set.test.js b/lib/assertions/is-set.test.js index 0fb76f2..d2cb77c 100644 --- a/lib/assertions/is-set.test.js +++ b/lib/assertions/is-set.test.js @@ -18,12 +18,12 @@ describe("assert.isSet", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSet] Expected 'apple pie' to be a Set" + "[assert.isSet] Expected 'apple pie' to be a Set", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSet"); return true; - } + }, ); }); @@ -38,7 +38,7 @@ describe("assert.isSet", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSet"); return true; - } + }, ); }); @@ -53,7 +53,7 @@ describe("assert.isSet", function () { assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSet"); return true; - } + }, ); }); @@ -66,12 +66,12 @@ describe("assert.isSet", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSet] Expected [Arguments] {} to be a Set" + "[assert.isSet] Expected [Arguments] {} to be a Set", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSet"); return true; - } + }, ); }); @@ -86,12 +86,12 @@ describe("assert.isSet", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isSet] ${message}: Expected [Arguments] {} to be a Set` + `[assert.isSet] ${message}: Expected [Arguments] {} to be a Set`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSet"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-string.test.js b/lib/assertions/is-string.test.js index cf238b2..8c3a3e1 100644 --- a/lib/assertions/is-string.test.js +++ b/lib/assertions/is-string.test.js @@ -17,12 +17,12 @@ describe("isString", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isString] Expected {} ('object') to be string" + "[assert.isString] Expected {} ('object') to be string", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isString"); return true; - } + }, ); }); @@ -35,12 +35,12 @@ describe("isString", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isString] Expected [] ('object') to be string" + "[assert.isString] Expected [] ('object') to be string", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isString"); return true; - } + }, ); }); @@ -53,12 +53,12 @@ describe("isString", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isString] Expected 34 ('number') to be string" + "[assert.isString] Expected 34 ('number') to be string", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isString"); return true; - } + }, ); }); @@ -71,12 +71,12 @@ describe("isString", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isString] Expected true ('boolean') to be string" + "[assert.isString] Expected true ('boolean') to be string", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isString"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-symbol.test.js b/lib/assertions/is-symbol.test.js index 4c8a954..7b15666 100644 --- a/lib/assertions/is-symbol.test.js +++ b/lib/assertions/is-symbol.test.js @@ -18,12 +18,12 @@ describe("assert.isSymbol", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSymbol] Expected 'apple pie' to be a Symbol" + "[assert.isSymbol] Expected 'apple pie' to be a Symbol", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSymbol"); return true; - } + }, ); }); @@ -36,12 +36,12 @@ describe("assert.isSymbol", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSymbol] Expected [] to be a Symbol" + "[assert.isSymbol] Expected [] to be a Symbol", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSymbol"); return true; - } + }, ); }); @@ -54,12 +54,12 @@ describe("assert.isSymbol", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSymbol] Expected {} to be a Symbol" + "[assert.isSymbol] Expected {} to be a Symbol", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSymbol"); return true; - } + }, ); }); @@ -72,12 +72,12 @@ describe("assert.isSymbol", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSymbol] Expected [Arguments] {} to be a Symbol" + "[assert.isSymbol] Expected [Arguments] {} to be a Symbol", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSymbol"); return true; - } + }, ); }); @@ -92,12 +92,12 @@ describe("assert.isSymbol", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isSymbol] ${message}: Expected 'apple pie' to be a Symbol` + `[assert.isSymbol] ${message}: Expected 'apple pie' to be a Symbol`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSymbol"); return true; - } + }, ); }); }); @@ -112,12 +112,12 @@ describe("refute.isSymbol", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isSymbol] Expected Symbol(apple pie) not to be a Symbol" + "[refute.isSymbol] Expected Symbol(apple pie) not to be a Symbol", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isSymbol"); return true; - } + }, ); }); @@ -132,12 +132,12 @@ describe("refute.isSymbol", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isSymbol] ${message}: Expected Symbol(apple pie) not to be a Symbol` + `[refute.isSymbol] ${message}: Expected Symbol(apple pie) not to be a Symbol`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isSymbol"); return true; - } + }, ); }); diff --git a/lib/assertions/is-syntax-error.test.js b/lib/assertions/is-syntax-error.test.js index 1818518..2050df6 100644 --- a/lib/assertions/is-syntax-error.test.js +++ b/lib/assertions/is-syntax-error.test.js @@ -14,12 +14,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected Error to be a SyntaxError" + "[assert.isSyntaxError] Expected Error to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -32,12 +32,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected EvalError to be a SyntaxError" + "[assert.isSyntaxError] Expected EvalError to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -50,12 +50,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected RangeError to be a SyntaxError" + "[assert.isSyntaxError] Expected RangeError to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -68,12 +68,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected ReferenceError to be a SyntaxError" + "[assert.isSyntaxError] Expected ReferenceError to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -90,12 +90,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected TypeError to be a SyntaxError" + "[assert.isSyntaxError] Expected TypeError to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -108,12 +108,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected URIError to be a SyntaxError" + "[assert.isSyntaxError] Expected URIError to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -126,12 +126,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected 'apple pie' to be a SyntaxError" + "[assert.isSyntaxError] Expected 'apple pie' to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -144,12 +144,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected [] to be a SyntaxError" + "[assert.isSyntaxError] Expected [] to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -162,12 +162,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected {} to be a SyntaxError" + "[assert.isSyntaxError] Expected {} to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -180,12 +180,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isSyntaxError] Expected [Arguments] {} to be a SyntaxError" + "[assert.isSyntaxError] Expected [Arguments] {} to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); @@ -200,12 +200,12 @@ describe("assert.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isSyntaxError] ${message}: Expected Error to be a SyntaxError` + `[assert.isSyntaxError] ${message}: Expected Error to be a SyntaxError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isSyntaxError"); return true; - } + }, ); }); }); @@ -236,12 +236,12 @@ describe("refute.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isSyntaxError] Expected SyntaxError not to be a SyntaxError" + "[refute.isSyntaxError] Expected SyntaxError not to be a SyntaxError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isSyntaxError"); return true; - } + }, ); }); @@ -280,12 +280,12 @@ describe("refute.isSyntaxError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isSyntaxError] ${message}: Expected SyntaxError not to be a SyntaxError` + `[refute.isSyntaxError] ${message}: Expected SyntaxError not to be a SyntaxError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isSyntaxError"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-true.test.js b/lib/assertions/is-true.test.js index e3da0ba..8361885 100644 --- a/lib/assertions/is-true.test.js +++ b/lib/assertions/is-true.test.js @@ -73,7 +73,7 @@ describe("isTrue", function () { assert.equal(actual.code, "ERR_ASSERTION"); assert.equal( actual.message, - "[assert.isTrue] Expected to receive at least 1 argument(s)" + "[assert.isTrue] Expected to receive at least 1 argument(s)", ); }); }); diff --git a/lib/assertions/is-type-error.test.js b/lib/assertions/is-type-error.test.js index f3f6afe..fe45434 100644 --- a/lib/assertions/is-type-error.test.js +++ b/lib/assertions/is-type-error.test.js @@ -14,12 +14,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected Error to be a TypeError" + "[assert.isTypeError] Expected Error to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -32,12 +32,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected EvalError to be a TypeError" + "[assert.isTypeError] Expected EvalError to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -50,12 +50,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected RangeError to be a TypeError" + "[assert.isTypeError] Expected RangeError to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -68,12 +68,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected ReferenceError to be a TypeError" + "[assert.isTypeError] Expected ReferenceError to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -86,12 +86,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected SyntaxError to be a TypeError" + "[assert.isTypeError] Expected SyntaxError to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -108,12 +108,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected URIError to be a TypeError" + "[assert.isTypeError] Expected URIError to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -126,12 +126,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected 'apple pie' to be a TypeError" + "[assert.isTypeError] Expected 'apple pie' to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -144,12 +144,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected [] to be a TypeError" + "[assert.isTypeError] Expected [] to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -162,12 +162,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected {} to be a TypeError" + "[assert.isTypeError] Expected {} to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -180,12 +180,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isTypeError] Expected [Arguments] {} to be a TypeError" + "[assert.isTypeError] Expected [Arguments] {} to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); @@ -200,12 +200,12 @@ describe("assert.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isTypeError] ${message}: Expected Error to be a TypeError` + `[assert.isTypeError] ${message}: Expected Error to be a TypeError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isTypeError"); return true; - } + }, ); }); }); @@ -240,12 +240,12 @@ describe("refute.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[refute.isTypeError] Expected TypeError not to be a TypeError" + "[refute.isTypeError] Expected TypeError not to be a TypeError", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isTypeError"); return true; - } + }, ); }); @@ -280,12 +280,12 @@ describe("refute.isTypeError", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.isTypeError] ${message}: Expected TypeError not to be a TypeError` + `[refute.isTypeError] ${message}: Expected TypeError not to be a TypeError`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isTypeError"); return true; - } + }, ); }); }); diff --git a/lib/assertions/is-u-int-16-array.test.js b/lib/assertions/is-u-int-16-array.test.js index c9af2c2..e8ed6ee 100644 --- a/lib/assertions/is-u-int-16-array.test.js +++ b/lib/assertions/is-u-int-16-array.test.js @@ -22,13 +22,13 @@ describe("assert.isUint16Array", function () { assert.equal( error.message, `[assert.isUint16Array] Expected ${inspect( - actual - )} to be a Uint16Array` + actual, + )} to be a Uint16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint16Array"); return true; - } + }, ); }); @@ -44,13 +44,13 @@ describe("assert.isUint16Array", function () { assert.equal( error.message, `[assert.isUint16Array] Expected ${inspect( - actual - )} to be a Uint16Array` + actual, + )} to be a Uint16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint16Array"); return true; - } + }, ); }); @@ -63,12 +63,12 @@ describe("assert.isUint16Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUint16Array] Expected [] to be a Uint16Array" + "[assert.isUint16Array] Expected [] to be a Uint16Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint16Array"); return true; - } + }, ); }); @@ -81,12 +81,12 @@ describe("assert.isUint16Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUint16Array] Expected {} to be a Uint16Array" + "[assert.isUint16Array] Expected {} to be a Uint16Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint16Array"); return true; - } + }, ); }); @@ -99,12 +99,12 @@ describe("assert.isUint16Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUint16Array] Expected [Arguments] {} to be a Uint16Array" + "[assert.isUint16Array] Expected [Arguments] {} to be a Uint16Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint16Array"); return true; - } + }, ); }); @@ -118,12 +118,12 @@ describe("assert.isUint16Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isUint16Array] ${message}: Expected [] to be a Uint16Array` + `[assert.isUint16Array] ${message}: Expected [] to be a Uint16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint16Array"); return true; - } + }, ); }); }); @@ -141,13 +141,13 @@ describe("refute.isUint16Array", function () { assert.equal( error.message, `[refute.isUint16Array] Expected ${inspect( - actual - )} not to be a Uint16Array` + actual, + )} not to be a Uint16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isUint16Array"); return true; - } + }, ); }); @@ -164,13 +164,13 @@ describe("refute.isUint16Array", function () { assert.equal( error.message, `[refute.isUint16Array] ${message}: Expected ${inspect( - actual - )} not to be a Uint16Array` + actual, + )} not to be a Uint16Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isUint16Array"); return true; - } + }, ); }); diff --git a/lib/assertions/is-u-int-32-array.test.js b/lib/assertions/is-u-int-32-array.test.js index 7ac81a7..cc50e08 100644 --- a/lib/assertions/is-u-int-32-array.test.js +++ b/lib/assertions/is-u-int-32-array.test.js @@ -22,13 +22,13 @@ describe("assert.isUint32Array", function () { assert.equal( error.message, `[assert.isUint32Array] Expected ${inspect( - actual - )} to be a Uint32Array` + actual, + )} to be a Uint32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint32Array"); return true; - } + }, ); }); @@ -44,13 +44,13 @@ describe("assert.isUint32Array", function () { assert.equal( error.message, `[assert.isUint32Array] Expected ${inspect( - actual - )} to be a Uint32Array` + actual, + )} to be a Uint32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint32Array"); return true; - } + }, ); }); @@ -63,12 +63,12 @@ describe("assert.isUint32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUint32Array] Expected [] to be a Uint32Array" + "[assert.isUint32Array] Expected [] to be a Uint32Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint32Array"); return true; - } + }, ); }); @@ -81,12 +81,12 @@ describe("assert.isUint32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUint32Array] Expected {} to be a Uint32Array" + "[assert.isUint32Array] Expected {} to be a Uint32Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint32Array"); return true; - } + }, ); }); @@ -99,12 +99,12 @@ describe("assert.isUint32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUint32Array] Expected [Arguments] {} to be a Uint32Array" + "[assert.isUint32Array] Expected [Arguments] {} to be a Uint32Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint32Array"); return true; - } + }, ); }); @@ -118,12 +118,12 @@ describe("assert.isUint32Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isUint32Array] ${message}: Expected [] to be a Uint32Array` + `[assert.isUint32Array] ${message}: Expected [] to be a Uint32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint32Array"); return true; - } + }, ); }); }); @@ -141,13 +141,13 @@ describe("refute.isUint32Array", function () { assert.equal( error.message, `[refute.isUint32Array] Expected ${inspect( - actual - )} not to be a Uint32Array` + actual, + )} not to be a Uint32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isUint32Array"); return true; - } + }, ); }); @@ -164,13 +164,13 @@ describe("refute.isUint32Array", function () { assert.equal( error.message, `[refute.isUint32Array] ${message}: Expected ${inspect( - actual - )} not to be a Uint32Array` + actual, + )} not to be a Uint32Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isUint32Array"); return true; - } + }, ); }); diff --git a/lib/assertions/is-u-int-8-array.test.js b/lib/assertions/is-u-int-8-array.test.js index beb506e..b2a081a 100644 --- a/lib/assertions/is-u-int-8-array.test.js +++ b/lib/assertions/is-u-int-8-array.test.js @@ -21,12 +21,14 @@ describe("assert.isUint8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isUint8Array] Expected ${inspect(actual)} to be a Uint8Array` + `[assert.isUint8Array] Expected ${inspect( + actual, + )} to be a Uint8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint8Array"); return true; - } + }, ); }); @@ -41,12 +43,14 @@ describe("assert.isUint8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isUint8Array] Expected ${inspect(actual)} to be a Uint8Array` + `[assert.isUint8Array] Expected ${inspect( + actual, + )} to be a Uint8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint8Array"); return true; - } + }, ); }); @@ -59,12 +63,12 @@ describe("assert.isUint8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUint8Array] Expected [] to be a Uint8Array" + "[assert.isUint8Array] Expected [] to be a Uint8Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint8Array"); return true; - } + }, ); }); @@ -77,12 +81,12 @@ describe("assert.isUint8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUint8Array] Expected {} to be a Uint8Array" + "[assert.isUint8Array] Expected {} to be a Uint8Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint8Array"); return true; - } + }, ); }); @@ -95,12 +99,12 @@ describe("assert.isUint8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUint8Array] Expected [Arguments] {} to be a Uint8Array" + "[assert.isUint8Array] Expected [Arguments] {} to be a Uint8Array", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint8Array"); return true; - } + }, ); }); @@ -114,12 +118,12 @@ describe("assert.isUint8Array", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isUint8Array] ${message}: Expected [] to be a Uint8Array` + `[assert.isUint8Array] ${message}: Expected [] to be a Uint8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUint8Array"); return true; - } + }, ); }); }); @@ -137,13 +141,13 @@ describe("refute.isUint8Array", function () { assert.equal( error.message, `[refute.isUint8Array] Expected ${inspect( - actual - )} not to be a Uint8Array` + actual, + )} not to be a Uint8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isUint8Array"); return true; - } + }, ); }); @@ -160,13 +164,13 @@ describe("refute.isUint8Array", function () { assert.equal( error.message, `[refute.isUint8Array] ${message}: Expected ${inspect( - actual - )} not to be a Uint8Array` + actual, + )} not to be a Uint8Array`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.isUint8Array"); return true; - } + }, ); }); diff --git a/lib/assertions/is-u-int-8-clamped-array.test.js b/lib/assertions/is-u-int-8-clamped-array.test.js index b6e6c98..013f5e4 100644 --- a/lib/assertions/is-u-int-8-clamped-array.test.js +++ b/lib/assertions/is-u-int-8-clamped-array.test.js @@ -60,7 +60,7 @@ describe("isUint8ClampedArray factory", function () { it("is '${customMessage}Expected ${actual} to be a Uint8ClampedArray'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actual} to be a Uint8ClampedArray" + "${customMessage}Expected ${actual} to be a Uint8ClampedArray", ); }); }); @@ -69,7 +69,7 @@ describe("isUint8ClampedArray factory", function () { it("is '${customMessage}Expected ${actual} not to be a Uint8ClampedArray'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected ${actual} not to be a Uint8ClampedArray" + "${customMessage}Expected ${actual} not to be a Uint8ClampedArray", ); }); }); diff --git a/lib/assertions/is-undefined.test.js b/lib/assertions/is-undefined.test.js index 3e6e933..d93614a 100644 --- a/lib/assertions/is-undefined.test.js +++ b/lib/assertions/is-undefined.test.js @@ -17,12 +17,12 @@ describe("assert.isUndefined", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUndefined] Expected [] ('object') to be undefined" + "[assert.isUndefined] Expected [] ('object') to be undefined", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUndefined"); return true; - } + }, ); }); it("should fail for boolean", function () { @@ -34,12 +34,12 @@ describe("assert.isUndefined", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUndefined] Expected true ('boolean') to be undefined" + "[assert.isUndefined] Expected true ('boolean') to be undefined", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUndefined"); return true; - } + }, ); }); it("should fail for function", function () { @@ -52,12 +52,12 @@ describe("assert.isUndefined", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.isUndefined] Expected ${anonymousFunction} ('function') to be undefined` + `[assert.isUndefined] Expected ${anonymousFunction} ('function') to be undefined`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUndefined"); return true; - } + }, ); }); it("should fail for null", function () { @@ -69,12 +69,12 @@ describe("assert.isUndefined", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUndefined] Expected null ('object') to be undefined" + "[assert.isUndefined] Expected null ('object') to be undefined", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUndefined"); return true; - } + }, ); }); it("should fail for number", function () { @@ -86,12 +86,12 @@ describe("assert.isUndefined", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUndefined] Expected 42 ('number') to be undefined" + "[assert.isUndefined] Expected 42 ('number') to be undefined", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUndefined"); return true; - } + }, ); }); it("should fail for object", function () { @@ -103,12 +103,12 @@ describe("assert.isUndefined", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUndefined] Expected {} ('object') to be undefined" + "[assert.isUndefined] Expected {} ('object') to be undefined", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUndefined"); return true; - } + }, ); }); it("should fail for string with custom message", function () { @@ -120,12 +120,12 @@ describe("assert.isUndefined", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - "[assert.isUndefined] fails: Expected 'Test' ('string') to be undefined" + "[assert.isUndefined] fails: Expected 'Test' ('string') to be undefined", ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.isUndefined"); return true; - } + }, ); }); it("should handle objects without prototype", function () { diff --git a/lib/assertions/is-uri-error.test.js b/lib/assertions/is-uri-error.test.js index 8ab2626..22ae359 100644 --- a/lib/assertions/is-uri-error.test.js +++ b/lib/assertions/is-uri-error.test.js @@ -64,7 +64,7 @@ describe("isURIError factory", function () { it("is '${customMessage}Expected ${actual} to be a URIError'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actual} to be a URIError" + "${customMessage}Expected ${actual} to be a URIError", ); }); }); @@ -73,7 +73,7 @@ describe("isURIError factory", function () { it("is '${customMessage}Expected ${actual} not to be a URIError'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected ${actual} not to be a URIError" + "${customMessage}Expected ${actual} not to be a URIError", ); }); }); diff --git a/lib/assertions/is-weak-map.test.js b/lib/assertions/is-weak-map.test.js index cc9cf2f..bddfb50 100644 --- a/lib/assertions/is-weak-map.test.js +++ b/lib/assertions/is-weak-map.test.js @@ -64,7 +64,7 @@ describe("isWeakMap factory", function () { it("is '${customMessage}Expected ${actual} to be a WeakMap'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actual} to be a WeakMap" + "${customMessage}Expected ${actual} to be a WeakMap", ); }); }); @@ -73,7 +73,7 @@ describe("isWeakMap factory", function () { it("is '${customMessage}Expected ${actual} not to be a WeakMap'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected ${actual} not to be a WeakMap" + "${customMessage}Expected ${actual} not to be a WeakMap", ); }); }); diff --git a/lib/assertions/is-weak-set.test.js b/lib/assertions/is-weak-set.test.js index 1b829b2..f793f98 100644 --- a/lib/assertions/is-weak-set.test.js +++ b/lib/assertions/is-weak-set.test.js @@ -64,7 +64,7 @@ describe("isWeakSet factory", function () { it("is '${customMessage}Expected ${actual} to be a WeakSet'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actual} to be a WeakSet" + "${customMessage}Expected ${actual} to be a WeakSet", ); }); }); @@ -73,7 +73,7 @@ describe("isWeakSet factory", function () { it("is '${customMessage}Expected ${actual} not to be a WeakSet'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected ${actual} not to be a WeakSet" + "${customMessage}Expected ${actual} not to be a WeakSet", ); }); }); diff --git a/lib/assertions/json.test.js b/lib/assertions/json.test.js index bc9cec7..ee90113 100644 --- a/lib/assertions/json.test.js +++ b/lib/assertions/json.test.js @@ -33,7 +33,7 @@ describe("json factory", function () { it("returns the result of calling samsam.deepEqual with the parsed string and the matcher", function () { assert.equal( this.options.assert('{"key":"value"}', { key: "value" }), - this.fakeSamsam.deepEqual.returnValues[0] + this.fakeSamsam.deepEqual.returnValues[0], ); }); }); @@ -43,12 +43,12 @@ describe("json factory", function () { this.options.assert.call( this.fakeReferee, "{something:not parsable}", - {} + {}, ); assert( this.fakeReferee.fail.calledOnceWithExactly, - "${customMessage}Expected ${actual} to be valid JSON" + "${customMessage}Expected ${actual} to be valid JSON", ); }); }); @@ -58,7 +58,7 @@ describe("json factory", function () { it("is '${customMessage}Expected ${actual} to equal ${expected}'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actual} to equal ${expected}" + "${customMessage}Expected ${actual} to equal ${expected}", ); }); }); @@ -67,7 +67,7 @@ describe("json factory", function () { it("is '${customMessage}Expected ${actual} not to equal ${expected}'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected ${actual} not to equal ${expected}" + "${customMessage}Expected ${actual} not to equal ${expected}", ); }); }); @@ -111,7 +111,7 @@ describe("json factory", function () { assert.equal( JSON.stringify(result.actual), - JSON.stringify(JSON.parse(actual)) + JSON.stringify(JSON.parse(actual)), ); }); }); diff --git a/lib/assertions/keys.test.js b/lib/assertions/keys.test.js index c79182a..21f1b2c 100644 --- a/lib/assertions/keys.test.js +++ b/lib/assertions/keys.test.js @@ -50,20 +50,24 @@ describe("keys factory", function () { context("when values are special", function () { it("returns true", function () { assert( - this.options.assert({ a: -1, b: null, c: undefined }, ["a", "b", "c"]) + this.options.assert({ a: -1, b: null, c: undefined }, [ + "a", + "b", + "c", + ]), ); }); }); it("ignores prototype methods", function () { assert( - this.options.assert(new Klass({ a: 1, b: 2, c: 3 }), ["a", "b", "c"]) + this.options.assert(new Klass({ a: 1, b: 2, c: 3 }), ["a", "b", "c"]), ); }); it("allows overriding prototype methods", function () { assert( - this.options.assert(new Klass({ a: 1, methodA: 2 }), ["a", "methodA"]) + this.options.assert(new Klass({ a: 1, methodA: 2 }), ["a", "methodA"]), ); }); @@ -71,7 +75,7 @@ describe("keys factory", function () { it("returns false", function () { assert.equal( this.options.assert({ a: 1, b: 2, c: 3 }, ["a", "b"]), - false + false, ); }); }); @@ -80,7 +84,7 @@ describe("keys factory", function () { it("returns false", function () { assert.equal( this.options.assert({ a: 1, b: 2, c: 3 }, ["a", "b", "c", "d"]), - false + false, ); }); }); @@ -89,7 +93,7 @@ describe("keys factory", function () { it("returns false", function () { assert.equal( this.options.assert({ a: 1, b: 2, c: 3 }, ["a", "b", "d"]), - false + false, ); }); }); @@ -99,7 +103,7 @@ describe("keys factory", function () { it("is '${customMessage}Expected ${actualObject} to have exact keys ${expected}'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actualObject} to have exact keys ${expected}" + "${customMessage}Expected ${actualObject} to have exact keys ${expected}", ); }); }); @@ -108,7 +112,7 @@ describe("keys factory", function () { it("is '${customMessage}Expected not to have exact keys ${expected}'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected not to have exact keys ${expected}" + "${customMessage}Expected not to have exact keys ${expected}", ); }); }); @@ -154,7 +158,7 @@ describe("keys factory", function () { assert.equal( JSON.stringify(result.actual), - JSON.stringify(Object.keys(actual)) + JSON.stringify(Object.keys(actual)), ); }); diff --git a/lib/assertions/less.test.js b/lib/assertions/less.test.js index 233601d..c18c0b6 100644 --- a/lib/assertions/less.test.js +++ b/lib/assertions/less.test.js @@ -51,7 +51,7 @@ describe("less factory", function () { it("is '${customMessage}Expected ${actual} to be less than ${expected}'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actual} to be less than ${expected}" + "${customMessage}Expected ${actual} to be less than ${expected}", ); }); }); @@ -60,7 +60,7 @@ describe("less factory", function () { it("is '${customMessage}Expected ${actual} to be greater than or equal to ${expected}'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected ${actual} to be greater than or equal to ${expected}" + "${customMessage}Expected ${actual} to be greater than or equal to ${expected}", ); }); }); @@ -75,7 +75,7 @@ describe("less factory", function () { it("delegates to '../actual-and-expected-message-values'", function () { assert.equal( this.options.values, - this.fakeActualAndExpectedMessageValues + this.fakeActualAndExpectedMessageValues, ); }); }); diff --git a/lib/assertions/match-json.test.js b/lib/assertions/match-json.test.js index 642c153..35886fe 100644 --- a/lib/assertions/match-json.test.js +++ b/lib/assertions/match-json.test.js @@ -43,7 +43,7 @@ describe("matchJson factory", function () { this.options.assert('{"key":"value","and":42}', { key: "value", }), - this.fakeSamsam.match.returnValues[0] + this.fakeSamsam.match.returnValues[0], ); }); }); @@ -53,12 +53,12 @@ describe("matchJson factory", function () { this.options.assert.call( this.fakeReferee, "{something:not parsable}", - {} + {}, ); assert( this.fakeReferee.fail.calledOnceWithExactly, - "${customMessage}Expected ${actual} to be valid JSON" + "${customMessage}Expected ${actual} to be valid JSON", ); }); }); @@ -68,7 +68,7 @@ describe("matchJson factory", function () { it("is '${customMessage}Expected ${actual} to match ${expected}'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actual} to match ${expected}" + "${customMessage}Expected ${actual} to match ${expected}", ); }); }); @@ -77,7 +77,7 @@ describe("matchJson factory", function () { it("is '${customMessage}Expected ${actual} not to match ${expected}'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected ${actual} not to match ${expected}" + "${customMessage}Expected ${actual} not to match ${expected}", ); }); }); diff --git a/lib/assertions/match.test.js b/lib/assertions/match.test.js index 567965b..802cc8a 100644 --- a/lib/assertions/match.test.js +++ b/lib/assertions/match.test.js @@ -10,7 +10,7 @@ describe("assert.match", function () { match: sinon.fake.returns("07228bdd-f7c1-48a3-a7bc-b4c6d6d900f5"), }; this.fakeActualForMatch = sinon.fake.returns( - "52efec5b-aab3-4c14-b4cb-4b0d26fdcf56" + "52efec5b-aab3-4c14-b4cb-4b0d26fdcf56", ); this.factory = proxyquire("./match", { @@ -59,7 +59,7 @@ describe("assert.match", function () { it("is '${customMessage}${actual} expected to match ${expected}", function () { assert.equal( this.options.assertMessage, - "${customMessage}${actual} expected to match ${expected}" + "${customMessage}${actual} expected to match ${expected}", ); }); }); @@ -68,7 +68,7 @@ describe("assert.match", function () { it("is '${customMessage}${actual} expected not to match ${expected}", function () { assert.equal( this.options.refuteMessage, - "${customMessage}${actual} expected not to match ${expected}" + "${customMessage}${actual} expected not to match ${expected}", ); }); }); diff --git a/lib/assertions/near.test.js b/lib/assertions/near.test.js index c4c0f45..d594c72 100644 --- a/lib/assertions/near.test.js +++ b/lib/assertions/near.test.js @@ -44,7 +44,7 @@ describe("near factory", function () { it("is '${customMessage}Expected ${actual} to be equal to ${expected} +/- ${delta}'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected ${actual} to be equal to ${expected} +/- ${delta}" + "${customMessage}Expected ${actual} to be equal to ${expected} +/- ${delta}", ); }); }); @@ -53,7 +53,7 @@ describe("near factory", function () { it("is '${customMessage}Expected ${actual} not to be equal to ${expected} +/- ${delta}'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected ${actual} not to be equal to ${expected} +/- ${delta}" + "${customMessage}Expected ${actual} not to be equal to ${expected} +/- ${delta}", ); }); }); diff --git a/lib/assertions/rejects.test.js b/lib/assertions/rejects.test.js index ef9e995..60c43b9 100644 --- a/lib/assertions/rejects.test.js +++ b/lib/assertions/rejects.test.js @@ -63,7 +63,7 @@ describe("rejects factory", function () { it("should pass for matching matcher", function () { return this.options.assert( Promise.reject({ foo: 1 }), - samsam.match.object + samsam.match.object, ); }); }); @@ -104,7 +104,7 @@ describe("rejects factory", function () { assert.equal(e.message, options.assertMessage); }); }); - } + }, ); context("when promise argument is not a promise", function () { @@ -165,10 +165,10 @@ describe("rejects factory", function () { it("should pass for non-matching matcher", function () { return this.options.refute( Promise.reject({ foo: 1 }), - samsam.match.array + samsam.match.array, ); }); - } + }, ); context("when promise argument rejects to value argument", function () { @@ -232,7 +232,7 @@ describe("rejects factory", function () { it("is '${actual} is not equal to ${expected}'", function () { assert.equal( this.options.assertMessage, - "${actual} is not equal to ${expected}" + "${actual} is not equal to ${expected}", ); }); }); @@ -241,7 +241,7 @@ describe("rejects factory", function () { it("is '${actual} is equal to ${expected}'", function () { assert.equal( this.options.refuteMessage, - "${actual} is equal to ${expected}" + "${actual} is equal to ${expected}", ); }); }); diff --git a/lib/assertions/resolves.test.js b/lib/assertions/resolves.test.js index 74e6e57..d361121 100644 --- a/lib/assertions/resolves.test.js +++ b/lib/assertions/resolves.test.js @@ -38,7 +38,7 @@ describe("resolves factory", function () { it("returns a promise", function () { var result = this.options.assert( Promise.resolve("apple pie"), - "apple pie" + "apple pie", ); assert(result instanceof Promise); @@ -66,7 +66,7 @@ describe("resolves factory", function () { it("should pass for matching matcher", function () { return this.options.assert( Promise.resolve({ foo: 1 }), - samsam.match.object + samsam.match.object, ); }); }); @@ -107,7 +107,7 @@ describe("resolves factory", function () { assert.equal(e.message, options.assertMessage); }); }); - } + }, ); context("when promise argument is not a promise", function () { @@ -127,7 +127,7 @@ describe("resolves factory", function () { assert(e instanceof Error); assert.equal( e.message, - "${0} did not resolve, it rejected instead" + "${0} did not resolve, it rejected instead", ); }); }); @@ -171,10 +171,10 @@ describe("resolves factory", function () { it("should pass for non-matching matcher", function () { return this.options.refute( Promise.resolve({ foo: 1 }), - samsam.match.array + samsam.match.array, ); }); - } + }, ); context("when promise argument resolves to value argument", function () { @@ -230,7 +230,7 @@ describe("resolves factory", function () { assert(e instanceof Error); assert.equal( e.message, - "${0} did not resolve, it rejected instead" + "${0} did not resolve, it rejected instead", ); }); }); @@ -241,7 +241,7 @@ describe("resolves factory", function () { it("is '${actual} is not equal to ${expected}'", function () { assert.equal( this.options.assertMessage, - "${actual} is not equal to ${expected}" + "${actual} is not equal to ${expected}", ); }); }); @@ -250,7 +250,7 @@ describe("resolves factory", function () { it("is '${actual} is equal to ${expected}'", function () { assert.equal( this.options.refuteMessage, - "${actual} is equal to ${expected}" + "${actual} is equal to ${expected}", ); }); }); diff --git a/lib/assertions/same.test.js b/lib/assertions/same.test.js index c530beb..9a736d3 100644 --- a/lib/assertions/same.test.js +++ b/lib/assertions/same.test.js @@ -104,7 +104,7 @@ describe("same factory", function () { it("is '${customMessage}${actual} expected to be the same object as ${expected}'", function () { assert.equal( this.options.assertMessage, - "${customMessage}${actual} expected to be the same object as ${expected}" + "${customMessage}${actual} expected to be the same object as ${expected}", ); }); }); @@ -113,7 +113,7 @@ describe("same factory", function () { it("is '${customMessage}${actual} expected not to be the same object as ${expected}'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}${actual} expected not to be the same object as ${expected}" + "${customMessage}${actual} expected not to be the same object as ${expected}", ); }); }); @@ -128,7 +128,7 @@ describe("same factory", function () { it("delegates to '../actual-and-expected-message-values'", function () { assert.equal( this.options.values, - this.fakeActualAndExpectedMessageValues + this.fakeActualAndExpectedMessageValues, ); }); }); diff --git a/lib/assertions/tag-name.test.js b/lib/assertions/tag-name.test.js index 9ca4aa3..69cbca9 100644 --- a/lib/assertions/tag-name.test.js +++ b/lib/assertions/tag-name.test.js @@ -29,7 +29,7 @@ describe("tagName factory", function () { sinon.assert.calledOnce(this.options.fail); sinon.assert.calledWith( this.options.fail, - "${customMessage}Expected ${actualElement} to have tagName property" + "${customMessage}Expected ${actualElement} to have tagName property", ); }); }); @@ -57,7 +57,7 @@ describe("tagName factory", function () { it("returns true", function () { assert.equal( this.options.assert(document.createElement("li"), "li"), - true + true, ); }); }); @@ -93,7 +93,7 @@ describe("tagName factory", function () { it("is '${customMessage}Expected tagName to be ${expected} but was ${actual}'", function () { assert.equal( this.options.assertMessage, - "${customMessage}Expected tagName to be ${expected} but was ${actual}" + "${customMessage}Expected tagName to be ${expected} but was ${actual}", ); }); }); @@ -102,7 +102,7 @@ describe("tagName factory", function () { it("is '${customMessage}Expected tagName not to be ${actual}'", function () { assert.equal( this.options.refuteMessage, - "${customMessage}Expected tagName not to be ${actual}" + "${customMessage}Expected tagName not to be ${actual}", ); }); }); diff --git a/lib/create-add.js b/lib/create-add.js index d003dda..b0b8e83 100644 --- a/lib/create-add.js +++ b/lib/create-add.js @@ -8,7 +8,7 @@ var validFunctionName = /^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/; function verifyArguments(name, options) { if (typeof name !== "string" || !validFunctionName.test(name)) { throw new TypeError( - `'name' argument must be a non-empty string matching ${validFunctionName.toString()}` + `'name' argument must be a non-empty string matching ${validFunctionName.toString()}`, ); } @@ -18,7 +18,7 @@ function verifyArguments(name, options) { if (typeof options.assert !== "function" || options.assert.length === 0) { throw new TypeError( - "'assert' option must be a Function, taking at least one argument" + "'assert' option must be a Function, taking at least one argument", ); } @@ -27,14 +27,14 @@ function verifyArguments(name, options) { (typeof options.refute !== "function" || options.refute.length === 0) ) { throw new TypeError( - "'refute' option must be a Function, taking at least one argument" + "'refute' option must be a Function, taking at least one argument", ); } ["assertMessage", "refuteMessage"].forEach((m) => { if (!isValidMessageOption(options[m])) { throw new TypeError( - `'${m}' option must be a non-empty String or Function` + `'${m}' option must be a non-empty String or Function`, ); } }); @@ -84,7 +84,7 @@ function createAdd(referee) { name, options.assert, options.assert.length, - options.values + options.values, ); defineAssertion( referee, @@ -92,7 +92,7 @@ function createAdd(referee) { name, options.refute, refuteArgs, - options.values + options.values, ); // Refactor: pass this down to where it is needed, so it is not part of the public api diff --git a/lib/create-assert.js b/lib/create-assert.js index 06a4494..af127ef 100644 --- a/lib/create-assert.js +++ b/lib/create-assert.js @@ -8,7 +8,7 @@ function createAssert(referee) { if (!actual) { referee.fail( - message || `[assert] Expected ${String(actual)} to be truthy` + message || `[assert] Expected ${String(actual)} to be truthy`, ); return; } diff --git a/lib/create-async-assertion.js b/lib/create-async-assertion.js index 8894b30..3fd7f1a 100644 --- a/lib/create-async-assertion.js +++ b/lib/create-async-assertion.js @@ -21,7 +21,7 @@ function createAsyncAssertion(thenFunc, catchFunc) { var context = { resolve: resolve, reject: reject }; promise.then( applyCallback(thenFunc, context), - applyCallback(catchFunc, context) + applyCallback(catchFunc, context), ); } catch (error) { reject(error.message); diff --git a/lib/create-async-assertion.test.js b/lib/create-async-assertion.test.js index 004ad92..c73301e 100644 --- a/lib/create-async-assertion.test.js +++ b/lib/create-async-assertion.test.js @@ -28,7 +28,7 @@ describe("createAsyncAssertion", function () { var promise = func.call(context, {}, "test"); return promise.then(function () { referee.assert.isTrue( - fail.calledOnceWith("promise.then is not a function") + fail.calledOnceWith("promise.then is not a function"), ); }); }); diff --git a/lib/create-refute.js b/lib/create-refute.js index 4fd43d5..13d8da2 100644 --- a/lib/create-refute.js +++ b/lib/create-refute.js @@ -8,7 +8,7 @@ function createRefute(referee) { if (actual) { referee.fail( - message || `[refute] Expected ${String(actual)} to be falsy` + message || `[refute] Expected ${String(actual)} to be falsy`, ); return; } diff --git a/lib/create-verifier.js b/lib/create-verifier.js index 4d5e4d1..8afc055 100644 --- a/lib/create-verifier.js +++ b/lib/create-verifier.js @@ -24,7 +24,7 @@ function createVerifier(referee) { if (expected && count !== expected) { throw new Error( - `Expected assertion count to be ${expected} but was ${count}` + `Expected assertion count to be ${expected} but was ${count}`, ); } diff --git a/lib/custom-assertions.test.js b/lib/custom-assertions.test.js index 9e17f75..b66fb64 100644 --- a/lib/custom-assertions.test.js +++ b/lib/custom-assertions.test.js @@ -207,7 +207,7 @@ describe("custom assertions", function () { } catch (e) { referee.assert.equals( "[assert.custom] with args { some: 42 }", - e.message + e.message, ); } }); @@ -278,7 +278,7 @@ describe("custom assertions", function () { } catch (err) { referee.assert.equals( "[assert.custom] assertMessage from a function", - err.message + err.message, ); } }); @@ -305,7 +305,7 @@ describe("custom assertions", function () { } catch (err) { referee.assert.equals( "[assert.custom] false definitely not true", - err.message + err.message, ); } }); @@ -328,7 +328,7 @@ describe("custom assertions", function () { } catch (err) { referee.refute.equals( "[refute.custom] refuteMessage from a function", - err.message + err.message, ); } }); @@ -358,7 +358,7 @@ describe("custom assertions", function () { } catch (err) { referee.assert.equals( "[refute.custom] false definitely not true", - err.message + err.message, ); } }); diff --git a/lib/define-assertion/format.test.js b/lib/define-assertion/format.test.js index 411fcef..250faf9 100644 --- a/lib/define-assertion/format.test.js +++ b/lib/define-assertion/format.test.js @@ -7,7 +7,7 @@ var sinon = require("sinon"); describe("format", function () { beforeEach(function () { this.fakeInspect = sinon.fake.returns( - "334ddc7e-9c2e-4206-8861-9253d348c81b" + "334ddc7e-9c2e-4206-8861-9253d348c81b", ); this.format = proxyquire("./format", { diff --git a/lib/define-assertion/index.js b/lib/define-assertion/index.js index bfe669d..b551525 100644 --- a/lib/define-assertion/index.js +++ b/lib/define-assertion/index.js @@ -87,7 +87,7 @@ function defineAssertion(referee, type, name, func, minArgs, messageValues) { name, func, minArgs, - messageValues + messageValues, ); return assertion.apply(null, arguments); }; diff --git a/lib/define-assertion/interpolate-properties.js b/lib/define-assertion/interpolate-properties.js index 01efdbe..cde50a7 100644 --- a/lib/define-assertion/interpolate-properties.js +++ b/lib/define-assertion/interpolate-properties.js @@ -29,7 +29,7 @@ function interpolateProperties(referee, message, properties) { return prepareMessage(value); } return format(value); - } + }, ); } diff --git a/lib/expect.js b/lib/expect.js index 58249d0..5856992 100644 --- a/lib/expect.js +++ b/lib/expect.js @@ -34,7 +34,7 @@ expect.wrapAssertion = function wrapAssertion(assertion, expectation, referee) { } catch (e) { e.message = e.message.replace( `[${type}.${assertion}]`, - `[expect.${this.assertMode ? "" : "not."}${expectation}]` + `[expect.${this.assertMode ? "" : "not."}${expectation}]`, ); throw e; } diff --git a/lib/expect.test.js b/lib/expect.test.js index d8e2561..4754123 100644 --- a/lib/expect.test.js +++ b/lib/expect.test.js @@ -39,7 +39,7 @@ describe("expect", function () { } catch (e) { referee.assert.equals( e.message, - "[expect.toEqual] { id: 42 } expected to be equal to { bleh: 'Nah' }" + "[expect.toEqual] { id: 42 } expected to be equal to { bleh: 'Nah' }", ); } }); @@ -79,7 +79,7 @@ describe("expect", function () { } catch (e) { referee.assert.equals( e.message, - "[expect.not.toEqual] { id: 42 } expected not to be equal to { id: 42 }" + "[expect.not.toEqual] { id: 42 } expected not to be equal to { id: 42 }", ); } }); diff --git a/lib/match.test.js b/lib/match.test.js index 758d497..4c80156 100644 --- a/lib/match.test.js +++ b/lib/match.test.js @@ -36,12 +36,12 @@ describe("match", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[assert.equals] { some: 'string', foo: 1, bar: true } expected to be equal to {\n some: 'string',\n foo: 1,\n bar: { test: ${anonymousFunction}, message: 'typeOf("string")' }\n}` + `[assert.equals] { some: 'string', foo: 1, bar: true } expected to be equal to {\n some: 'string',\n foo: 1,\n bar: { test: ${anonymousFunction}, message: 'typeOf("string")' }\n}`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "assert.equals"); return true; - } + }, ); }); @@ -80,12 +80,12 @@ describe("match", function () { assert.equal(error.code, "ERR_ASSERTION"); assert.equal( error.message, - `[refute.equals] { some: 'string', foo: 1, bar: 'test' } expected not to be equal to {\n some: 'string',\n foo: 1,\n bar: { test: ${anonymousFunction}, message: 'typeOf("string")' }\n}` + `[refute.equals] { some: 'string', foo: 1, bar: 'test' } expected not to be equal to {\n some: 'string',\n foo: 1,\n bar: { test: ${anonymousFunction}, message: 'typeOf("string")' }\n}`, ); assert.equal(error.name, "AssertionError"); assert.equal(error.operator, "refute.equals"); return true; - } + }, ); }); }); diff --git a/lib/referee.test.js b/lib/referee.test.js index 23d5555..0e2ab9a 100644 --- a/lib/referee.test.js +++ b/lib/referee.test.js @@ -87,7 +87,7 @@ describe("API", function () { .filter(function (name) { return !name.startsWith("_"); }) - .sort() + .sort(), ); assert.equal(actualProperties, expectedProperties); diff --git a/lib/refute.test.js b/lib/refute.test.js index 7f455c7..a2e905d 100644 --- a/lib/refute.test.js +++ b/lib/refute.test.js @@ -17,7 +17,7 @@ describe("refute", function () { } catch (error) { referee.assert.equals( error.message, - "[refute] Expected to receive at least 1 argument(s)" + "[refute] Expected to receive at least 1 argument(s)", ); } }); @@ -50,7 +50,7 @@ describe("refute", function () { function () { referee.refute(true); }, - { message: "[refute] Expected true to be falsy" } + { message: "[refute] Expected true to be falsy" }, ); }); @@ -105,7 +105,7 @@ describe("refute", function () { } catch (e) { referee.assert.equals( e.message, - "[refute] Expected to receive at least 1 argument(s)" + "[refute] Expected to receive at least 1 argument(s)", ); } }); diff --git a/lib/test-helper/anonymous-function-string.js b/lib/test-helper/anonymous-function-string.js index fc1cf97..8399a5b 100644 --- a/lib/test-helper/anonymous-function-string.js +++ b/lib/test-helper/anonymous-function-string.js @@ -4,5 +4,5 @@ var inspect = require("util").inspect; module.exports = inspect( // eslint-disable-next-line no-empty-function - function () {} + function () {}, ); diff --git a/lib/verifier.test.js b/lib/verifier.test.js index c111cb5..b736236 100644 --- a/lib/verifier.test.js +++ b/lib/verifier.test.js @@ -101,7 +101,7 @@ describe("verifier", function () { assert.equal( error.message, - "Expected assertion count to be at least 1, but was 0" + "Expected assertion count to be at least 1, but was 0", ); }); }); diff --git a/package-lock.json b/package-lock.json index 76e3da9..d7f2c88 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "mkdirp": "^1.0.3", "mocha": "^10.2.0", "nyc": "^15.1.0", - "prettier": "^2.8.3", + "prettier": "^3.1.1", "proxyquire": "^2.1.3", "sinon": "^17.0.1" } @@ -4520,15 +4520,15 @@ } }, "node_modules/prettier": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.3.tgz", - "integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -8638,9 +8638,9 @@ "dev": true }, "prettier": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.3.tgz", - "integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true }, "process-on-spawn": { diff --git a/package.json b/package.json index 7d23971..b367bf1 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "mkdirp": "^1.0.3", "mocha": "^10.2.0", "nyc": "^15.1.0", - "prettier": "^2.8.3", + "prettier": "^3.1.1", "proxyquire": "^2.1.3", "sinon": "^17.0.1" } From f19019fc1301fa5d121bd5e7cdeee0c3d15b126c Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Fri, 22 Dec 2023 13:48:23 +0100 Subject: [PATCH 09/14] Update esbuild --- package-lock.json | 395 ++++++++++++++++++++++++---------------------- package.json | 2 +- 2 files changed, 211 insertions(+), 186 deletions(-) diff --git a/package-lock.json b/package-lock.json index d7f2c88..3df7947 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "devDependencies": { "@sinonjs/eslint-config": "^5.0.1", "@studio/changes": "^2.2.0", - "esbuild": "^0.17.4", + "esbuild": "^0.19.10", "husky": "^8.0.3", "lint-staged": "^15.2.0", "mkdirp": "^1.0.3", @@ -376,10 +376,26 @@ "node": ">=16" } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.10.tgz", + "integrity": "sha512-Q+mk96KJ+FZ30h9fsJl+67IjNJm3x2eX+GBWGmocAKgzp27cowCOOqSdscX80s0SpdFXZnIv/+1xD1EctFx96Q==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/android-arm": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.4.tgz", - "integrity": "sha512-R9GCe2xl2XDSc2XbQB63mFiFXHIVkOP+ltIxICKXqUPrFX97z6Z7vONCLQM1pSOLGqfLrGi3B7nbhxmFY/fomg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.10.tgz", + "integrity": "sha512-7W0bK7qfkw1fc2viBfrtAEkDKHatYfHzr/jKAHNr9BvkYDXPcC6bodtm8AyLJNNuqClLNaeTLuwURt4PRT9d7w==", "cpu": [ "arm" ], @@ -393,9 +409,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.4.tgz", - "integrity": "sha512-91VwDrl4EpxBCiG6h2LZZEkuNvVZYJkv2T9gyLG/mhGG1qrM7i5SwUcg/hlSPnL/4hDT0TFcF35/XMGSn0bemg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.10.tgz", + "integrity": "sha512-1X4CClKhDgC3by7k8aOWZeBXQX8dHT5QAMCAQDArCLaYfkppoARvh0fit3X2Qs+MXDngKcHv6XXyQCpY0hkK1Q==", "cpu": [ "arm64" ], @@ -409,9 +425,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.4.tgz", - "integrity": "sha512-mGSqhEPL7029XL7QHNPxPs15JVa02hvZvysUcyMP9UXdGFwncl2WU0bqx+Ysgzd+WAbv8rfNa73QveOxAnAM2w==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.10.tgz", + "integrity": "sha512-O/nO/g+/7NlitUxETkUv/IvADKuZXyH4BHf/g/7laqKC4i/7whLpB0gvpPc2zpF0q9Q6FXS3TS75QHac9MvVWw==", "cpu": [ "x64" ], @@ -425,9 +441,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.4.tgz", - "integrity": "sha512-tTyJRM9dHvlMPt1KrBFVB5OW1kXOsRNvAPtbzoKazd5RhD5/wKlXk1qR2MpaZRYwf4WDMadt0Pv0GwxB41CVow==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.10.tgz", + "integrity": "sha512-YSRRs2zOpwypck+6GL3wGXx2gNP7DXzetmo5pHXLrY/VIMsS59yKfjPizQ4lLt5vEI80M41gjm2BxrGZ5U+VMA==", "cpu": [ "arm64" ], @@ -441,9 +457,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.4.tgz", - "integrity": "sha512-phQuC2Imrb3TjOJwLN8EO50nb2FHe8Ew0OwgZDH1SV6asIPGudnwTQtighDF2EAYlXChLoMJwqjAp4vAaACq6w==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.10.tgz", + "integrity": "sha512-alfGtT+IEICKtNE54hbvPg13xGBe4GkVxyGWtzr+yHO7HIiRJppPDhOKq3zstTcVf8msXb/t4eavW3jCDpMSmA==", "cpu": [ "x64" ], @@ -457,9 +473,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.4.tgz", - "integrity": "sha512-oH6JUZkocgmjzzYaP5juERLpJQSwazdjZrTPgLRmAU2bzJ688x0vfMB/WTv4r58RiecdHvXOPC46VtsMy/mepg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.10.tgz", + "integrity": "sha512-dMtk1wc7FSH8CCkE854GyGuNKCewlh+7heYP/sclpOG6Cectzk14qdUIY5CrKDbkA/OczXq9WesqnPl09mj5dg==", "cpu": [ "arm64" ], @@ -473,9 +489,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.4.tgz", - "integrity": "sha512-U4iWGn/9TrAfpAdfd56eO0pRxIgb0a8Wj9jClrhT8hvZnOnS4dfMPW7o4fn15D/KqoiVYHRm43jjBaTt3g/2KA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.10.tgz", + "integrity": "sha512-G5UPPspryHu1T3uX8WiOEUa6q6OlQh6gNl4CO4Iw5PS+Kg5bVggVFehzXBJY6X6RSOMS8iXDv2330VzaObm4Ag==", "cpu": [ "x64" ], @@ -489,9 +505,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.4.tgz", - "integrity": "sha512-S2s9xWTGMTa/fG5EyMGDeL0wrWVgOSQcNddJWgu6rG1NCSXJHs76ZP9AsxjB3f2nZow9fWOyApklIgiTGZKhiw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.10.tgz", + "integrity": "sha512-j6gUW5aAaPgD416Hk9FHxn27On28H4eVI9rJ4az7oCGTFW48+LcgNDBN+9f8rKZz7EEowo889CPKyeaD0iw9Kg==", "cpu": [ "arm" ], @@ -505,9 +521,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.4.tgz", - "integrity": "sha512-UkGfQvYlwOaeYJzZG4cLV0hCASzQZnKNktRXUo3/BMZvdau40AOz9GzmGA063n1piq6VrFFh43apRDQx8hMP2w==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.10.tgz", + "integrity": "sha512-QxaouHWZ+2KWEj7cGJmvTIHVALfhpGxo3WLmlYfJ+dA5fJB6lDEIg+oe/0//FuyVHuS3l79/wyBxbHr0NgtxJQ==", "cpu": [ "arm64" ], @@ -521,9 +537,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.4.tgz", - "integrity": "sha512-3lqFi4VFo/Vwvn77FZXeLd0ctolIJH/uXkH3yNgEk89Eh6D3XXAC9/iTPEzeEpsNE5IqGIsFa5Z0iPeOh25IyA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.10.tgz", + "integrity": "sha512-4ub1YwXxYjj9h1UIZs2hYbnTZBtenPw5NfXCRgEkGb0b6OJ2gpkMvDqRDYIDRjRdWSe/TBiZltm3Y3Q8SN1xNg==", "cpu": [ "ia32" ], @@ -537,9 +553,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.4.tgz", - "integrity": "sha512-HqpWZkVslDHIwdQ9D+gk7NuAulgQvRxF9no54ut/M55KEb3mi7sQS3GwpPJzSyzzP0UkjQVN7/tbk88/CaX4EQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.10.tgz", + "integrity": "sha512-lo3I9k+mbEKoxtoIbM0yC/MZ1i2wM0cIeOejlVdZ3D86LAcFXFRdeuZmh91QJvUTW51bOK5W2BznGNIl4+mDaA==", "cpu": [ "loong64" ], @@ -553,9 +569,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.4.tgz", - "integrity": "sha512-d/nMCKKh/SVDbqR9ju+b78vOr0tNXtfBjcp5vfHONCCOAL9ad8gN9dC/u+UnH939pz7wO+0u/x9y1MaZcb/lKA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.10.tgz", + "integrity": "sha512-J4gH3zhHNbdZN0Bcr1QUGVNkHTdpijgx5VMxeetSk6ntdt+vR1DqGmHxQYHRmNb77tP6GVvD+K0NyO4xjd7y4A==", "cpu": [ "mips64el" ], @@ -569,9 +585,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.4.tgz", - "integrity": "sha512-lOD9p2dmjZcNiTU+sGe9Nn6G3aYw3k0HBJies1PU0j5IGfp6tdKOQ6mzfACRFCqXjnBuTqK7eTYpwx09O5LLfg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.10.tgz", + "integrity": "sha512-tgT/7u+QhV6ge8wFMzaklOY7KqiyitgT1AUHMApau32ZlvTB/+efeCtMk4eXS+uEymYK249JsoiklZN64xt6oQ==", "cpu": [ "ppc64" ], @@ -585,9 +601,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.4.tgz", - "integrity": "sha512-mTGnwWwVshAjGsd8rP+K6583cPDgxOunsqqldEYij7T5/ysluMHKqUIT4TJHfrDFadUwrghAL6QjER4FeqQXoA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.10.tgz", + "integrity": "sha512-0f/spw0PfBMZBNqtKe5FLzBDGo0SKZKvMl5PHYQr3+eiSscfJ96XEknCe+JoOayybWUFQbcJTrk946i3j9uYZA==", "cpu": [ "riscv64" ], @@ -601,9 +617,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.4.tgz", - "integrity": "sha512-AQYuUGp50XM29/N/dehADxvc2bUqDcoqrVuijop1Wv72SyxT6dDB9wjUxuPZm2HwIM876UoNNBMVd+iX/UTKVQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.10.tgz", + "integrity": "sha512-pZFe0OeskMHzHa9U38g+z8Yx5FNCLFtUnJtQMpwhS+r4S566aK2ci3t4NCP4tjt6d5j5uo4h7tExZMjeKoehAA==", "cpu": [ "s390x" ], @@ -617,9 +633,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.4.tgz", - "integrity": "sha512-+AsFBwKgQuhV2shfGgA9YloxLDVjXgUEWZum7glR5lLmV94IThu/u2JZGxTgjYby6kyXEx8lKOqP5rTEVBR0Rw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.10.tgz", + "integrity": "sha512-SpYNEqg/6pZYoc+1zLCjVOYvxfZVZj6w0KROZ3Fje/QrM3nfvT2llI+wmKSrWuX6wmZeTapbarvuNNK/qepSgA==", "cpu": [ "x64" ], @@ -633,9 +649,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.4.tgz", - "integrity": "sha512-zD1TKYX9553OiLS/qkXPMlWoELYkH/VkzRYNKEU+GwFiqkq0SuxsKnsCg5UCdxN3cqd+1KZ8SS3R+WG/Hxy2jQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.10.tgz", + "integrity": "sha512-ACbZ0vXy9zksNArWlk2c38NdKg25+L9pr/mVaj9SUq6lHZu/35nx2xnQVRGLrC1KKQqJKRIB0q8GspiHI3J80Q==", "cpu": [ "x64" ], @@ -649,9 +665,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.4.tgz", - "integrity": "sha512-PY1NjEsLRhPEFFg1AV0/4Or/gR+q2dOb9s5rXcPuCjyHRzbt8vnHJl3vYj+641TgWZzTFmSUnZbzs1zwTzjeqw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.10.tgz", + "integrity": "sha512-PxcgvjdSjtgPMiPQrM3pwSaG4kGphP+bLSb+cihuP0LYdZv1epbAIecHVl5sD3npkfYBZ0ZnOjR878I7MdJDFg==", "cpu": [ "x64" ], @@ -665,9 +681,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.4.tgz", - "integrity": "sha512-B3Z7s8QZQW9tKGleMRXvVmwwLPAUoDCHs4WZ2ElVMWiortLJFowU1NjAhXOKjDgC7o9ByeVcwyOlJ+F2r6ZgmQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.10.tgz", + "integrity": "sha512-ZkIOtrRL8SEJjr+VHjmW0znkPs+oJXhlJbNwfI37rvgeMtk3sxOQevXPXjmAPZPigVTncvFqLMd+uV0IBSEzqA==", "cpu": [ "x64" ], @@ -681,9 +697,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.4.tgz", - "integrity": "sha512-0HCu8R3mY/H5V7N6kdlsJkvrT591bO/oRZy8ztF1dhgNU5xD5tAh5bKByT1UjTGjp/VVBsl1PDQ3L18SfvtnBQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.10.tgz", + "integrity": "sha512-+Sa4oTDbpBfGpl3Hn3XiUe4f8TU2JF7aX8cOfqFYMMjXp6ma6NJDztl5FDG8Ezx0OjwGikIHw+iA54YLDNNVfw==", "cpu": [ "arm64" ], @@ -697,9 +713,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.4.tgz", - "integrity": "sha512-VUjhVDQycse1gLbe06pC/uaA0M+piQXJpdpNdhg8sPmeIZZqu5xPoGWVCmcsOO2gaM2cywuTYTHkXRozo3/Nkg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.10.tgz", + "integrity": "sha512-EOGVLK1oWMBXgfttJdPHDTiivYSjX6jDNaATeNOaCOFEVcfMjtbx7WVQwPSE1eIfCp/CaSF2nSrDtzc4I9f8TQ==", "cpu": [ "ia32" ], @@ -713,9 +729,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.4.tgz", - "integrity": "sha512-0kLAjs+xN5OjhTt/aUA6t48SfENSCKgGPfExADYTOo/UCn0ivxos9/anUVeSfg+L+2O9xkFxvJXIJfG+Q4sYSg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.10.tgz", + "integrity": "sha512-whqLG6Sc70AbU73fFYvuYzaE4MNMBIlR1Y/IrUeOXFrWHxBEjjbZaQ3IXIQS8wJdAzue2GwYZCjOrgrU1oUHoA==", "cpu": [ "x64" ], @@ -1834,9 +1850,9 @@ } }, "node_modules/esbuild": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.4.tgz", - "integrity": "sha512-zBn9MeCwT7W5F1a3lXClD61ip6vQM+H8Msb0w8zMT4ZKBpDg+rFAraNyWCDelB/2L6M3g6AXHPnsyvjMFnxtFw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.10.tgz", + "integrity": "sha512-S1Y27QGt/snkNYrRcswgRFqZjaTG5a5xM3EQo97uNBnH505pdzSNe/HLBq1v0RO7iK/ngdbhJB6mDAp0OK+iUA==", "dev": true, "hasInstallScript": true, "bin": { @@ -1846,28 +1862,29 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.17.4", - "@esbuild/android-arm64": "0.17.4", - "@esbuild/android-x64": "0.17.4", - "@esbuild/darwin-arm64": "0.17.4", - "@esbuild/darwin-x64": "0.17.4", - "@esbuild/freebsd-arm64": "0.17.4", - "@esbuild/freebsd-x64": "0.17.4", - "@esbuild/linux-arm": "0.17.4", - "@esbuild/linux-arm64": "0.17.4", - "@esbuild/linux-ia32": "0.17.4", - "@esbuild/linux-loong64": "0.17.4", - "@esbuild/linux-mips64el": "0.17.4", - "@esbuild/linux-ppc64": "0.17.4", - "@esbuild/linux-riscv64": "0.17.4", - "@esbuild/linux-s390x": "0.17.4", - "@esbuild/linux-x64": "0.17.4", - "@esbuild/netbsd-x64": "0.17.4", - "@esbuild/openbsd-x64": "0.17.4", - "@esbuild/sunos-x64": "0.17.4", - "@esbuild/win32-arm64": "0.17.4", - "@esbuild/win32-ia32": "0.17.4", - "@esbuild/win32-x64": "0.17.4" + "@esbuild/aix-ppc64": "0.19.10", + "@esbuild/android-arm": "0.19.10", + "@esbuild/android-arm64": "0.19.10", + "@esbuild/android-x64": "0.19.10", + "@esbuild/darwin-arm64": "0.19.10", + "@esbuild/darwin-x64": "0.19.10", + "@esbuild/freebsd-arm64": "0.19.10", + "@esbuild/freebsd-x64": "0.19.10", + "@esbuild/linux-arm": "0.19.10", + "@esbuild/linux-arm64": "0.19.10", + "@esbuild/linux-ia32": "0.19.10", + "@esbuild/linux-loong64": "0.19.10", + "@esbuild/linux-mips64el": "0.19.10", + "@esbuild/linux-ppc64": "0.19.10", + "@esbuild/linux-riscv64": "0.19.10", + "@esbuild/linux-s390x": "0.19.10", + "@esbuild/linux-x64": "0.19.10", + "@esbuild/netbsd-x64": "0.19.10", + "@esbuild/openbsd-x64": "0.19.10", + "@esbuild/sunos-x64": "0.19.10", + "@esbuild/win32-arm64": "0.19.10", + "@esbuild/win32-ia32": "0.19.10", + "@esbuild/win32-x64": "0.19.10" } }, "node_modules/escalade": { @@ -5686,157 +5703,164 @@ "jsdoc-type-pratt-parser": "~4.0.0" } }, + "@esbuild/aix-ppc64": { + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.10.tgz", + "integrity": "sha512-Q+mk96KJ+FZ30h9fsJl+67IjNJm3x2eX+GBWGmocAKgzp27cowCOOqSdscX80s0SpdFXZnIv/+1xD1EctFx96Q==", + "dev": true, + "optional": true + }, "@esbuild/android-arm": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.4.tgz", - "integrity": "sha512-R9GCe2xl2XDSc2XbQB63mFiFXHIVkOP+ltIxICKXqUPrFX97z6Z7vONCLQM1pSOLGqfLrGi3B7nbhxmFY/fomg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.10.tgz", + "integrity": "sha512-7W0bK7qfkw1fc2viBfrtAEkDKHatYfHzr/jKAHNr9BvkYDXPcC6bodtm8AyLJNNuqClLNaeTLuwURt4PRT9d7w==", "dev": true, "optional": true }, "@esbuild/android-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.4.tgz", - "integrity": "sha512-91VwDrl4EpxBCiG6h2LZZEkuNvVZYJkv2T9gyLG/mhGG1qrM7i5SwUcg/hlSPnL/4hDT0TFcF35/XMGSn0bemg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.10.tgz", + "integrity": "sha512-1X4CClKhDgC3by7k8aOWZeBXQX8dHT5QAMCAQDArCLaYfkppoARvh0fit3X2Qs+MXDngKcHv6XXyQCpY0hkK1Q==", "dev": true, "optional": true }, "@esbuild/android-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.4.tgz", - "integrity": "sha512-mGSqhEPL7029XL7QHNPxPs15JVa02hvZvysUcyMP9UXdGFwncl2WU0bqx+Ysgzd+WAbv8rfNa73QveOxAnAM2w==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.10.tgz", + "integrity": "sha512-O/nO/g+/7NlitUxETkUv/IvADKuZXyH4BHf/g/7laqKC4i/7whLpB0gvpPc2zpF0q9Q6FXS3TS75QHac9MvVWw==", "dev": true, "optional": true }, "@esbuild/darwin-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.4.tgz", - "integrity": "sha512-tTyJRM9dHvlMPt1KrBFVB5OW1kXOsRNvAPtbzoKazd5RhD5/wKlXk1qR2MpaZRYwf4WDMadt0Pv0GwxB41CVow==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.10.tgz", + "integrity": "sha512-YSRRs2zOpwypck+6GL3wGXx2gNP7DXzetmo5pHXLrY/VIMsS59yKfjPizQ4lLt5vEI80M41gjm2BxrGZ5U+VMA==", "dev": true, "optional": true }, "@esbuild/darwin-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.4.tgz", - "integrity": "sha512-phQuC2Imrb3TjOJwLN8EO50nb2FHe8Ew0OwgZDH1SV6asIPGudnwTQtighDF2EAYlXChLoMJwqjAp4vAaACq6w==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.10.tgz", + "integrity": "sha512-alfGtT+IEICKtNE54hbvPg13xGBe4GkVxyGWtzr+yHO7HIiRJppPDhOKq3zstTcVf8msXb/t4eavW3jCDpMSmA==", "dev": true, "optional": true }, "@esbuild/freebsd-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.4.tgz", - "integrity": "sha512-oH6JUZkocgmjzzYaP5juERLpJQSwazdjZrTPgLRmAU2bzJ688x0vfMB/WTv4r58RiecdHvXOPC46VtsMy/mepg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.10.tgz", + "integrity": "sha512-dMtk1wc7FSH8CCkE854GyGuNKCewlh+7heYP/sclpOG6Cectzk14qdUIY5CrKDbkA/OczXq9WesqnPl09mj5dg==", "dev": true, "optional": true }, "@esbuild/freebsd-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.4.tgz", - "integrity": "sha512-U4iWGn/9TrAfpAdfd56eO0pRxIgb0a8Wj9jClrhT8hvZnOnS4dfMPW7o4fn15D/KqoiVYHRm43jjBaTt3g/2KA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.10.tgz", + "integrity": "sha512-G5UPPspryHu1T3uX8WiOEUa6q6OlQh6gNl4CO4Iw5PS+Kg5bVggVFehzXBJY6X6RSOMS8iXDv2330VzaObm4Ag==", "dev": true, "optional": true }, "@esbuild/linux-arm": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.4.tgz", - "integrity": "sha512-S2s9xWTGMTa/fG5EyMGDeL0wrWVgOSQcNddJWgu6rG1NCSXJHs76ZP9AsxjB3f2nZow9fWOyApklIgiTGZKhiw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.10.tgz", + "integrity": "sha512-j6gUW5aAaPgD416Hk9FHxn27On28H4eVI9rJ4az7oCGTFW48+LcgNDBN+9f8rKZz7EEowo889CPKyeaD0iw9Kg==", "dev": true, "optional": true }, "@esbuild/linux-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.4.tgz", - "integrity": "sha512-UkGfQvYlwOaeYJzZG4cLV0hCASzQZnKNktRXUo3/BMZvdau40AOz9GzmGA063n1piq6VrFFh43apRDQx8hMP2w==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.10.tgz", + "integrity": "sha512-QxaouHWZ+2KWEj7cGJmvTIHVALfhpGxo3WLmlYfJ+dA5fJB6lDEIg+oe/0//FuyVHuS3l79/wyBxbHr0NgtxJQ==", "dev": true, "optional": true }, "@esbuild/linux-ia32": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.4.tgz", - "integrity": "sha512-3lqFi4VFo/Vwvn77FZXeLd0ctolIJH/uXkH3yNgEk89Eh6D3XXAC9/iTPEzeEpsNE5IqGIsFa5Z0iPeOh25IyA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.10.tgz", + "integrity": "sha512-4ub1YwXxYjj9h1UIZs2hYbnTZBtenPw5NfXCRgEkGb0b6OJ2gpkMvDqRDYIDRjRdWSe/TBiZltm3Y3Q8SN1xNg==", "dev": true, "optional": true }, "@esbuild/linux-loong64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.4.tgz", - "integrity": "sha512-HqpWZkVslDHIwdQ9D+gk7NuAulgQvRxF9no54ut/M55KEb3mi7sQS3GwpPJzSyzzP0UkjQVN7/tbk88/CaX4EQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.10.tgz", + "integrity": "sha512-lo3I9k+mbEKoxtoIbM0yC/MZ1i2wM0cIeOejlVdZ3D86LAcFXFRdeuZmh91QJvUTW51bOK5W2BznGNIl4+mDaA==", "dev": true, "optional": true }, "@esbuild/linux-mips64el": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.4.tgz", - "integrity": "sha512-d/nMCKKh/SVDbqR9ju+b78vOr0tNXtfBjcp5vfHONCCOAL9ad8gN9dC/u+UnH939pz7wO+0u/x9y1MaZcb/lKA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.10.tgz", + "integrity": "sha512-J4gH3zhHNbdZN0Bcr1QUGVNkHTdpijgx5VMxeetSk6ntdt+vR1DqGmHxQYHRmNb77tP6GVvD+K0NyO4xjd7y4A==", "dev": true, "optional": true }, "@esbuild/linux-ppc64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.4.tgz", - "integrity": "sha512-lOD9p2dmjZcNiTU+sGe9Nn6G3aYw3k0HBJies1PU0j5IGfp6tdKOQ6mzfACRFCqXjnBuTqK7eTYpwx09O5LLfg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.10.tgz", + "integrity": "sha512-tgT/7u+QhV6ge8wFMzaklOY7KqiyitgT1AUHMApau32ZlvTB/+efeCtMk4eXS+uEymYK249JsoiklZN64xt6oQ==", "dev": true, "optional": true }, "@esbuild/linux-riscv64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.4.tgz", - "integrity": "sha512-mTGnwWwVshAjGsd8rP+K6583cPDgxOunsqqldEYij7T5/ysluMHKqUIT4TJHfrDFadUwrghAL6QjER4FeqQXoA==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.10.tgz", + "integrity": "sha512-0f/spw0PfBMZBNqtKe5FLzBDGo0SKZKvMl5PHYQr3+eiSscfJ96XEknCe+JoOayybWUFQbcJTrk946i3j9uYZA==", "dev": true, "optional": true }, "@esbuild/linux-s390x": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.4.tgz", - "integrity": "sha512-AQYuUGp50XM29/N/dehADxvc2bUqDcoqrVuijop1Wv72SyxT6dDB9wjUxuPZm2HwIM876UoNNBMVd+iX/UTKVQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.10.tgz", + "integrity": "sha512-pZFe0OeskMHzHa9U38g+z8Yx5FNCLFtUnJtQMpwhS+r4S566aK2ci3t4NCP4tjt6d5j5uo4h7tExZMjeKoehAA==", "dev": true, "optional": true }, "@esbuild/linux-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.4.tgz", - "integrity": "sha512-+AsFBwKgQuhV2shfGgA9YloxLDVjXgUEWZum7glR5lLmV94IThu/u2JZGxTgjYby6kyXEx8lKOqP5rTEVBR0Rw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.10.tgz", + "integrity": "sha512-SpYNEqg/6pZYoc+1zLCjVOYvxfZVZj6w0KROZ3Fje/QrM3nfvT2llI+wmKSrWuX6wmZeTapbarvuNNK/qepSgA==", "dev": true, "optional": true }, "@esbuild/netbsd-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.4.tgz", - "integrity": "sha512-zD1TKYX9553OiLS/qkXPMlWoELYkH/VkzRYNKEU+GwFiqkq0SuxsKnsCg5UCdxN3cqd+1KZ8SS3R+WG/Hxy2jQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.10.tgz", + "integrity": "sha512-ACbZ0vXy9zksNArWlk2c38NdKg25+L9pr/mVaj9SUq6lHZu/35nx2xnQVRGLrC1KKQqJKRIB0q8GspiHI3J80Q==", "dev": true, "optional": true }, "@esbuild/openbsd-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.4.tgz", - "integrity": "sha512-PY1NjEsLRhPEFFg1AV0/4Or/gR+q2dOb9s5rXcPuCjyHRzbt8vnHJl3vYj+641TgWZzTFmSUnZbzs1zwTzjeqw==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.10.tgz", + "integrity": "sha512-PxcgvjdSjtgPMiPQrM3pwSaG4kGphP+bLSb+cihuP0LYdZv1epbAIecHVl5sD3npkfYBZ0ZnOjR878I7MdJDFg==", "dev": true, "optional": true }, "@esbuild/sunos-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.4.tgz", - "integrity": "sha512-B3Z7s8QZQW9tKGleMRXvVmwwLPAUoDCHs4WZ2ElVMWiortLJFowU1NjAhXOKjDgC7o9ByeVcwyOlJ+F2r6ZgmQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.10.tgz", + "integrity": "sha512-ZkIOtrRL8SEJjr+VHjmW0znkPs+oJXhlJbNwfI37rvgeMtk3sxOQevXPXjmAPZPigVTncvFqLMd+uV0IBSEzqA==", "dev": true, "optional": true }, "@esbuild/win32-arm64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.4.tgz", - "integrity": "sha512-0HCu8R3mY/H5V7N6kdlsJkvrT591bO/oRZy8ztF1dhgNU5xD5tAh5bKByT1UjTGjp/VVBsl1PDQ3L18SfvtnBQ==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.10.tgz", + "integrity": "sha512-+Sa4oTDbpBfGpl3Hn3XiUe4f8TU2JF7aX8cOfqFYMMjXp6ma6NJDztl5FDG8Ezx0OjwGikIHw+iA54YLDNNVfw==", "dev": true, "optional": true }, "@esbuild/win32-ia32": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.4.tgz", - "integrity": "sha512-VUjhVDQycse1gLbe06pC/uaA0M+piQXJpdpNdhg8sPmeIZZqu5xPoGWVCmcsOO2gaM2cywuTYTHkXRozo3/Nkg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.10.tgz", + "integrity": "sha512-EOGVLK1oWMBXgfttJdPHDTiivYSjX6jDNaATeNOaCOFEVcfMjtbx7WVQwPSE1eIfCp/CaSF2nSrDtzc4I9f8TQ==", "dev": true, "optional": true }, "@esbuild/win32-x64": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.4.tgz", - "integrity": "sha512-0kLAjs+xN5OjhTt/aUA6t48SfENSCKgGPfExADYTOo/UCn0ivxos9/anUVeSfg+L+2O9xkFxvJXIJfG+Q4sYSg==", + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.10.tgz", + "integrity": "sha512-whqLG6Sc70AbU73fFYvuYzaE4MNMBIlR1Y/IrUeOXFrWHxBEjjbZaQ3IXIQS8wJdAzue2GwYZCjOrgrU1oUHoA==", "dev": true, "optional": true }, @@ -6685,33 +6709,34 @@ } }, "esbuild": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.4.tgz", - "integrity": "sha512-zBn9MeCwT7W5F1a3lXClD61ip6vQM+H8Msb0w8zMT4ZKBpDg+rFAraNyWCDelB/2L6M3g6AXHPnsyvjMFnxtFw==", - "dev": true, - "requires": { - "@esbuild/android-arm": "0.17.4", - "@esbuild/android-arm64": "0.17.4", - "@esbuild/android-x64": "0.17.4", - "@esbuild/darwin-arm64": "0.17.4", - "@esbuild/darwin-x64": "0.17.4", - "@esbuild/freebsd-arm64": "0.17.4", - "@esbuild/freebsd-x64": "0.17.4", - "@esbuild/linux-arm": "0.17.4", - "@esbuild/linux-arm64": "0.17.4", - "@esbuild/linux-ia32": "0.17.4", - "@esbuild/linux-loong64": "0.17.4", - "@esbuild/linux-mips64el": "0.17.4", - "@esbuild/linux-ppc64": "0.17.4", - "@esbuild/linux-riscv64": "0.17.4", - "@esbuild/linux-s390x": "0.17.4", - "@esbuild/linux-x64": "0.17.4", - "@esbuild/netbsd-x64": "0.17.4", - "@esbuild/openbsd-x64": "0.17.4", - "@esbuild/sunos-x64": "0.17.4", - "@esbuild/win32-arm64": "0.17.4", - "@esbuild/win32-ia32": "0.17.4", - "@esbuild/win32-x64": "0.17.4" + "version": "0.19.10", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.10.tgz", + "integrity": "sha512-S1Y27QGt/snkNYrRcswgRFqZjaTG5a5xM3EQo97uNBnH505pdzSNe/HLBq1v0RO7iK/ngdbhJB6mDAp0OK+iUA==", + "dev": true, + "requires": { + "@esbuild/aix-ppc64": "0.19.10", + "@esbuild/android-arm": "0.19.10", + "@esbuild/android-arm64": "0.19.10", + "@esbuild/android-x64": "0.19.10", + "@esbuild/darwin-arm64": "0.19.10", + "@esbuild/darwin-x64": "0.19.10", + "@esbuild/freebsd-arm64": "0.19.10", + "@esbuild/freebsd-x64": "0.19.10", + "@esbuild/linux-arm": "0.19.10", + "@esbuild/linux-arm64": "0.19.10", + "@esbuild/linux-ia32": "0.19.10", + "@esbuild/linux-loong64": "0.19.10", + "@esbuild/linux-mips64el": "0.19.10", + "@esbuild/linux-ppc64": "0.19.10", + "@esbuild/linux-riscv64": "0.19.10", + "@esbuild/linux-s390x": "0.19.10", + "@esbuild/linux-x64": "0.19.10", + "@esbuild/netbsd-x64": "0.19.10", + "@esbuild/openbsd-x64": "0.19.10", + "@esbuild/sunos-x64": "0.19.10", + "@esbuild/win32-arm64": "0.19.10", + "@esbuild/win32-ia32": "0.19.10", + "@esbuild/win32-x64": "0.19.10" } }, "escalade": { diff --git a/package.json b/package.json index b367bf1..18bf6e3 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "devDependencies": { "@sinonjs/eslint-config": "^5.0.1", "@studio/changes": "^2.2.0", - "esbuild": "^0.17.4", + "esbuild": "^0.19.10", "husky": "^8.0.3", "lint-staged": "^15.2.0", "mkdirp": "^1.0.3", From 79cf800c878f502b02501c8a5701111b5b32907e Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Fri, 22 Dec 2023 13:48:38 +0100 Subject: [PATCH 10/14] Upgrade mkdirp --- package-lock.json | 19 +++++++++++-------- package.json | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3df7947..ac66dc4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "esbuild": "^0.19.10", "husky": "^8.0.3", "lint-staged": "^15.2.0", - "mkdirp": "^1.0.3", + "mkdirp": "^3.0.1", "mocha": "^10.2.0", "nyc": "^15.1.0", "prettier": "^3.1.1", @@ -3882,15 +3882,18 @@ "dev": true }, "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", "dev": true, "bin": { - "mkdirp": "bin/cmd.js" + "mkdirp": "dist/cjs/src/bin.js" }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/mocha": { @@ -8162,9 +8165,9 @@ "dev": true }, "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", "dev": true }, "mocha": { diff --git a/package.json b/package.json index 18bf6e3..2453380 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "esbuild": "^0.19.10", "husky": "^8.0.3", "lint-staged": "^15.2.0", - "mkdirp": "^1.0.3", + "mkdirp": "^3.0.1", "mocha": "^10.2.0", "nyc": "^15.1.0", "prettier": "^3.1.1", From 744fafbe2ef71060104b71d5813532f72ab5f95c Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Fri, 22 Dec 2023 13:48:57 +0100 Subject: [PATCH 11/14] npm audit --- package-lock.json | 280 +++++++++++++++++++++++----------------------- 1 file changed, 142 insertions(+), 138 deletions(-) diff --git a/package-lock.json b/package-lock.json index ac66dc4..6bf7e35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,12 +52,13 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", "dev": true, "dependencies": { - "@babel/highlight": "^7.18.6" + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" }, "engines": { "node": ">=6.9.0" @@ -103,13 +104,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.20.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.0.tgz", - "integrity": "sha512-GUPcXxWibClgmYJuIwC2Bc2Lg+8b9VjaJ+HlNdACEVt+Wlr1eoU1OPZjZRm7Hzl0gaTsUZNQfeihvZJhG7oc3w==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", "dev": true, "dependencies": { - "@babel/types": "^7.20.0", + "@babel/types": "^7.23.6", "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" }, "engines": { @@ -149,34 +151,34 @@ } }, "node_modules/@babel/helper-environment-visitor": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz", - "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", - "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", "dev": true, "dependencies": { - "@babel/template": "^7.18.10", - "@babel/types": "^7.19.0" + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-hoist-variables": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", - "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", "dev": true, "dependencies": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -226,30 +228,30 @@ } }, "node_modules/@babel/helper-split-export-declaration": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", - "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", "dev": true, "dependencies": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", - "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", "dev": true, "engines": { "node": ">=6.9.0" @@ -279,13 +281,13 @@ } }, "node_modules/@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", "js-tokens": "^4.0.0" }, "engines": { @@ -293,9 +295,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.20.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.0.tgz", - "integrity": "sha512-G9VgAhEaICnz8iiJeGJQyVl6J2nTjbW0xeisva0PK6XcKsga7BIaqm4ZF8Rg1Wbaqmy6znspNqhPaPkyukujzg==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -305,34 +307,34 @@ } }, "node_modules/@babel/template": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz", - "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==", + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.18.10", - "@babel/types": "^7.18.10" + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.20.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.0.tgz", - "integrity": "sha512-5+cAXQNARgjRUK0JWu2UBwja4JLSO/rBMPJzpsKb+oBF5xlUuCfljQepS4XypBQoiigL0VQjTZy6WiONtUdScQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.20.0", - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", - "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.20.0", - "@babel/types": "^7.20.0", - "debug": "^4.1.0", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz", + "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.6", + "@babel/types": "^7.23.6", + "debug": "^4.3.1", "globals": "^11.1.0" }, "engines": { @@ -349,13 +351,13 @@ } }, "node_modules/@babel/types": { - "version": "7.20.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.20.0.tgz", - "integrity": "sha512-Jlgt3H0TajCW164wkTOTzHkZb075tMQMULzrLUoUeKmO7eFL96GgDxf7/Axhc5CAuKE3KFyVW1p6ysKsi2oXAg==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" }, "engines": { @@ -1612,7 +1614,7 @@ "node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, "node_modules/colorette": { @@ -1899,7 +1901,7 @@ "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true, "engines": { "node": ">=0.8.0" @@ -2820,7 +2822,7 @@ "node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, "engines": { "node": ">=4" @@ -4784,9 +4786,9 @@ "dev": true }, "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -5460,12 +5462,13 @@ } }, "@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", "dev": true, "requires": { - "@babel/highlight": "^7.18.6" + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" } }, "@babel/compat-data": { @@ -5498,13 +5501,14 @@ } }, "@babel/generator": { - "version": "7.20.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.0.tgz", - "integrity": "sha512-GUPcXxWibClgmYJuIwC2Bc2Lg+8b9VjaJ+HlNdACEVt+Wlr1eoU1OPZjZRm7Hzl0gaTsUZNQfeihvZJhG7oc3w==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", "dev": true, "requires": { - "@babel/types": "^7.20.0", + "@babel/types": "^7.23.6", "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" }, "dependencies": { @@ -5534,28 +5538,28 @@ } }, "@babel/helper-environment-visitor": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz", - "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", "dev": true }, "@babel/helper-function-name": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", - "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", "dev": true, "requires": { - "@babel/template": "^7.18.10", - "@babel/types": "^7.19.0" + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" } }, "@babel/helper-hoist-variables": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", - "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", "dev": true, "requires": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.22.5" } }, "@babel/helper-module-imports": { @@ -5593,24 +5597,24 @@ } }, "@babel/helper-split-export-declaration": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", - "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", "dev": true, "requires": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.22.5" } }, "@babel/helper-string-parser": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", - "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", "dev": true }, "@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", "dev": true }, "@babel/helper-validator-option": { @@ -5631,48 +5635,48 @@ } }, "@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.20.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.0.tgz", - "integrity": "sha512-G9VgAhEaICnz8iiJeGJQyVl6J2nTjbW0xeisva0PK6XcKsga7BIaqm4ZF8Rg1Wbaqmy6znspNqhPaPkyukujzg==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", "dev": true }, "@babel/template": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz", - "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==", + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", "dev": true, "requires": { - "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.18.10", - "@babel/types": "^7.18.10" + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" } }, "@babel/traverse": { - "version": "7.20.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.0.tgz", - "integrity": "sha512-5+cAXQNARgjRUK0JWu2UBwja4JLSO/rBMPJzpsKb+oBF5xlUuCfljQepS4XypBQoiigL0VQjTZy6WiONtUdScQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.20.0", - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", - "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.20.0", - "@babel/types": "^7.20.0", - "debug": "^4.1.0", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz", + "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.6", + "@babel/types": "^7.23.6", + "debug": "^4.3.1", "globals": "^11.1.0" }, "dependencies": { @@ -5685,13 +5689,13 @@ } }, "@babel/types": { - "version": "7.20.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.20.0.tgz", - "integrity": "sha512-Jlgt3H0TajCW164wkTOTzHkZb075tMQMULzrLUoUeKmO7eFL96GgDxf7/Axhc5CAuKE3KFyVW1p6ysKsi2oXAg==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", "dev": true, "requires": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" } }, @@ -6518,7 +6522,7 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, "colorette": { @@ -6751,7 +6755,7 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true }, "eslint": { @@ -7397,7 +7401,7 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true }, "has-symbols": { @@ -8829,9 +8833,9 @@ "dev": true }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true }, "serialize-javascript": { From ecd5d7ab090b0962a3da7fa311a60324fc0cad74 Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Fri, 22 Dec 2023 13:53:23 +0100 Subject: [PATCH 12/14] Drop node 14, add node 20 --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 96c95da..8a2fe63 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: - uses: mansona/npm-lockfile-version@v1 - uses: actions/setup-node@v2 with: - node-version: "16" + node-version: "20" - name: Cache modules uses: actions/cache@v2 with: @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: "16" + node-version: "20" - name: Cache npm uses: actions/cache@v2 with: @@ -63,7 +63,7 @@ jobs: strategy: matrix: - node-version: [14, 16, 18] + node-version: [16, 18, 20] steps: - uses: actions/checkout@v2 From 14949b9e56fd49fadc65a30858c4847d3d8d4db6 Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Wed, 27 Dec 2023 17:35:45 +0100 Subject: [PATCH 13/14] Use setup-node v4 and use lts/* as node-version --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a2fe63..a2c4236 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,9 +11,9 @@ jobs: steps: - uses: actions/checkout@v2 - uses: mansona/npm-lockfile-version@v1 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "lts/*" - name: Cache modules uses: actions/cache@v2 with: @@ -37,9 +37,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "lts/*" - name: Cache npm uses: actions/cache@v2 with: @@ -68,7 +68,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Cache modules From 383fffe88a597943ea5f10092e70228765759f8a Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Wed, 27 Dec 2023 18:26:46 +0100 Subject: [PATCH 14/14] 11.0.0 --- CHANGES.md | 23 +++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 1861abb..f629f50 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,28 @@ # Changes +## 11.0.0 + +- [`14949b9`](https://github.com/sinonjs/referee/commit/14949b9e56fd49fadc65a30858c4847d3d8d4db6) + Use setup-node v4 and use lts/* as node-version (Maximilian Antoni) +- [`ecd5d7a`](https://github.com/sinonjs/referee/commit/ecd5d7ab090b0962a3da7fa311a60324fc0cad74) + Drop node 14, add node 20 (Maximilian Antoni) +- [`744fafb`](https://github.com/sinonjs/referee/commit/744fafbe2ef71060104b71d5813532f72ab5f95c) + npm audit (Maximilian Antoni) +- [`79cf800`](https://github.com/sinonjs/referee/commit/79cf800c878f502b02501c8a5701111b5b32907e) + Upgrade mkdirp (Maximilian Antoni) +- [`f19019f`](https://github.com/sinonjs/referee/commit/f19019fc1301fa5d121bd5e7cdeee0c3d15b126c) + Update esbuild (Maximilian Antoni) +- [`424f343`](https://github.com/sinonjs/referee/commit/424f34348dd6419c521d16ce05eaa66d95b5c6f7) + Upgrade prettier to v3 and reformat files (Maximilian Antoni) +- [`bcb67ce`](https://github.com/sinonjs/referee/commit/bcb67ced33bf50bf88ced4932c14cde41e9fa44e) + Upgrade lint-staged (Maximilian Antoni) +- [`719ebb0`](https://github.com/sinonjs/referee/commit/719ebb0b1f27368581e850d400b263d529a951dc) + Update @sinonjs/eslint-config (Maximilian Antoni) +- [`e4f0b29`](https://github.com/sinonjs/referee/commit/e4f0b29813fc1181f273124554739bf7a142f91f) + Upgrade sinon and @sinonjs/commons to latest (Maximilian Antoni) + +_Released by [Maximilian Antoni](https://github.com/mantoni) on 2023-12-27._ + ## 10.0.1 - [`4d3e91c`](https://github.com/sinonjs/referee/commit/4d3e91c761adaf6ea793158b7833d80e9072ab03) diff --git a/package-lock.json b/package-lock.json index 6bf7e35..4670c76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@sinonjs/referee", - "version": "10.0.1", + "version": "11.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@sinonjs/referee", - "version": "10.0.1", + "version": "11.0.0", "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.0", diff --git a/package.json b/package.json index 2453380..43615e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sinonjs/referee", - "version": "10.0.1", + "version": "11.0.0", "description": "Assertions for any JavaScript test framework and environment", "author": "Christian Johansen", "license": "BSD-3-Clause",