diff --git a/package.json b/package.json index 60cdd20..1438b0d 100644 --- a/package.json +++ b/package.json @@ -29,14 +29,15 @@ "@rollup/plugin-replace": "2.4.2", "@rollup/plugin-yaml": "3.0.0", "@types/bunyan": "1.8.6", - "@types/chai": "4.2.14", + "@types/chai": "4.2.15", "@types/chai-as-promised": "7.1.3", "@types/js-yaml": "3.12.6", "@types/lodash": "4.14.168", - "@types/mocha": "8.2.2", + "@types/mocha": "^8.2.2", "@types/react": "17.0.1", "@types/react-dom": "17.0.0", "@types/seedrandom": "2.4.28", + "@types/sinon": "^9.0.11", "@types/sinon-chai": "3.2.5", "@types/source-map-support": "0.5.3", "@types/yargs": "15.0.13", @@ -44,7 +45,7 @@ "@typescript-eslint/eslint-plugin-tslint": "4.15.0", "@typescript-eslint/parser": "4.15.0", "bunyan": "1.8.15", - "chai": "4.3.0", + "chai": "4.3.4", "chai-as-promised": "7.1.1", "eslint": "7.19.0", "eslint-plugin-chai": "0.0.1", @@ -84,8 +85,8 @@ "rollup-plugin-visualizer": "4.2.2", "rollup-plugin-yaml": "2.0.0", "seedrandom": "3.0.5", - "sinon": "9.2.4", - "sinon-chai": "3.5.0", + "sinon": "10.0.0", + "sinon-chai": "3.6.0", "source-map-support": "0.5.19", "standard-version": "9.1.1", "tslint": "6.1.3", diff --git a/yarn.lock b/yarn.lock index c1c701f..9a0d609 100644 --- a/yarn.lock +++ b/yarn.lock @@ -681,10 +681,10 @@ resolved "https://artifacts.apextoaster.com/repository/group-npm/@types/chai/-/chai-4.2.12.tgz#6160ae454cd89dae05adc3bb97997f488b608201" integrity sha512-aN5IAC8QNtSUdQzxu7lGBgYAOuU1tmRU4c9dIq5OKGf/SBVjXo+ffM2wEjudAWbgpOhy60nLoAGH1xm8fpCKFQ== -"@types/chai@4.2.14": - version "4.2.14" - resolved "https://artifacts.apextoaster.com/repository/group-npm/@types/chai/-/chai-4.2.14.tgz#44d2dd0b5de6185089375d976b4ec5caf6861193" - integrity sha512-G+ITQPXkwTrslfG5L/BksmbLUA0M1iybEsmCWPqzSxsRRhJZimBKJkoMi8fr/CPygPTj4zO5pJH7I2/cm9M7SQ== +"@types/chai@4.2.15": + version "4.2.15" + resolved "https://artifacts.apextoaster.com/repository/group-npm/@types/chai/-/chai-4.2.15.tgz#b7a6d263c2cecf44b6de9a051cf496249b154553" + integrity sha512-rYff6FI+ZTKAPkJUoyz7Udq3GaoDZnxYDEvdEdFZASiA7PoErltHezDishqQiSDWrGxvxmplH304jyzQmjp0AQ== "@types/color-name@^1.1.1": version "1.1.1" @@ -750,7 +750,7 @@ resolved "https://artifacts.apextoaster.com/repository/group-npm/@types/minimist/-/minimist-1.2.0.tgz#69a23a3ad29caf0097f06eda59b361ee2f0639f6" integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY= -"@types/mocha@8.2.2": +"@types/mocha@^8.2.2": version "8.2.2" resolved "https://artifacts.apextoaster.com/repository/group-npm/@types/mocha/-/mocha-8.2.2.tgz#91daa226eb8c2ff261e6a8cbf8c7304641e095e0" integrity sha512-Lwh0lzzqT5Pqh6z61P3c3P5nm6fzQK/MMHl9UKeneAeInVflBSz1O2EkX6gM6xfJd7FBXBY5purtLx7fUiZ7Hw== @@ -844,6 +844,13 @@ dependencies: "@types/sinonjs__fake-timers" "*" +"@types/sinon@^9.0.11": + version "9.0.11" + resolved "https://artifacts.apextoaster.com/repository/group-npm/@types/sinon/-/sinon-9.0.11.tgz#7af202dda5253a847b511c929d8b6dda170562eb" + integrity sha512-PwP4UY33SeeVKodNE37ZlOsR9cReypbMJOhZ7BVE0lB+Hix3efCOxiJWiE5Ia+yL9Cn2Ch72EjFTRze8RZsNtg== + dependencies: + "@types/sinonjs__fake-timers" "*" + "@types/sinonjs__fake-timers@*": version "6.0.1" resolved "https://artifacts.apextoaster.com/repository/group-npm/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.1.tgz#681df970358c82836b42f989188d133e218c458e" @@ -1342,16 +1349,16 @@ chai-as-promised@7.1.1: dependencies: check-error "^1.0.2" -chai@4.3.0: - version "4.3.0" - resolved "https://artifacts.apextoaster.com/repository/group-npm/chai/-/chai-4.3.0.tgz#5523a5faf7f819c8a92480d70a8cccbadacfc25f" - integrity sha512-/BFd2J30EcOwmdOgXvVsmM48l0Br0nmZPlO0uOW4XKh6kpsUumRXBgPV+IlaqFaqr9cYbeoZAM1Npx0i4A+aiA== +chai@4.3.4: + version "4.3.4" + resolved "https://artifacts.apextoaster.com/repository/group-npm/chai/-/chai-4.3.4.tgz#b55e655b31e1eac7099be4c08c21964fce2e6c49" + integrity sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA== dependencies: assertion-error "^1.1.0" check-error "^1.0.2" deep-eql "^3.0.1" get-func-name "^2.0.0" - pathval "^1.1.0" + pathval "^1.1.1" type-detect "^4.0.5" chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.2: @@ -4038,10 +4045,10 @@ nice-try@^1.0.4: resolved "https://artifacts.apextoaster.com/repository/group-npm/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== -nise@^4.0.4: - version "4.0.4" - resolved "https://artifacts.apextoaster.com/repository/group-npm/nise/-/nise-4.0.4.tgz#d73dea3e5731e6561992b8f570be9e363c4512dd" - integrity sha512-bTTRUNlemx6deJa+ZyoCUTRvH3liK5+N6VQZ4NIw90AgDXY6iPnsqplNFf6STcj+ePk0H/xqxnP75Lr0J0Fq3A== +nise@^4.1.0: + version "4.1.0" + resolved "https://artifacts.apextoaster.com/repository/group-npm/nise/-/nise-4.1.0.tgz#8fb75a26e90b99202fa1e63f448f58efbcdedaf6" + integrity sha512-eQMEmGN/8arp0xsvGoQ+B1qvSkR73B1nWSCh7nOt5neMCtwcQVYQGdzQMhcNscktTsWB54xnlSQFzOAPJD8nXA== dependencies: "@sinonjs/commons" "^1.7.0" "@sinonjs/fake-timers" "^6.0.0" @@ -4445,10 +4452,10 @@ path-type@^4.0.0: resolved "https://artifacts.apextoaster.com/repository/group-npm/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pathval@^1.1.0: - version "1.1.0" - resolved "https://artifacts.apextoaster.com/repository/group-npm/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0" - integrity sha1-uULm1L3mUwBe9rcTYd74cn0GReA= +pathval@^1.1.1: + version "1.1.1" + resolved "https://artifacts.apextoaster.com/repository/group-npm/pathval/-/pathval-1.1.1.tgz#8534e77a77ce7ac5a2512ea21e0fdb8fcf6c3d8d" + integrity sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ== performance-now@^2.1.0: version "2.1.0" @@ -5211,21 +5218,21 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: resolved "https://artifacts.apextoaster.com/repository/group-npm/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== -sinon-chai@3.5.0: - version "3.5.0" - resolved "https://artifacts.apextoaster.com/repository/group-npm/sinon-chai/-/sinon-chai-3.5.0.tgz#c9a78304b0e15befe57ef68e8a85a00553f5c60e" - integrity sha512-IifbusYiQBpUxxFJkR3wTU68xzBN0+bxCScEaKMjBvAQERg6FnTTc1F17rseLb1tjmkJ23730AXpFI0c47FgAg== +sinon-chai@3.6.0: + version "3.6.0" + resolved "https://artifacts.apextoaster.com/repository/group-npm/sinon-chai/-/sinon-chai-3.6.0.tgz#25bd59a37ef8990245e085a40f1f79d6bf023b7a" + integrity sha512-bk2h+0xyKnmvazAnc7HE5esttqmCerSMcBtuB2PS2T4tG6x8woXAxZeJaOJWD+8reXHngnXn0RtIbfEW9OTHFg== -sinon@9.2.4: - version "9.2.4" - resolved "https://artifacts.apextoaster.com/repository/group-npm/sinon/-/sinon-9.2.4.tgz#e55af4d3b174a4443a8762fa8421c2976683752b" - integrity sha512-zljcULZQsJxVra28qIAL6ow1Z9tpattkCTEJR4RBP3TGc00FcttsP5pK284Nas5WjMZU5Yzy3kAIp3B3KRf5Yg== +sinon@10.0.0: + version "10.0.0" + resolved "https://artifacts.apextoaster.com/repository/group-npm/sinon/-/sinon-10.0.0.tgz#52279f97e35646ff73d23207d0307977c9b81430" + integrity sha512-XAn5DxtGVJBlBWYrcYKEhWCz7FLwZGdyvANRyK06419hyEpdT0dMc5A8Vcxg5SCGHc40CsqoKsc1bt1CbJPfNw== dependencies: "@sinonjs/commons" "^1.8.1" "@sinonjs/fake-timers" "^6.0.1" "@sinonjs/samsam" "^5.3.1" diff "^4.0.2" - nise "^4.0.4" + nise "^4.1.0" supports-color "^7.1.0" slash@^3.0.0: