Skip to content

Commit 0e90079

Browse files
Update dependency sinon to v19
1 parent 3893a06 commit 0e90079

File tree

2 files changed

+83
-47
lines changed

2 files changed

+83
-47
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"mocha": "^8.0.0",
1818
"nyc": "^15.0.0",
1919
"pre-commit": "^1.1.3",
20-
"sinon": "^1.17.4",
20+
"sinon": "^19.0.0",
2121
"sinon-chai": "^3.0.0",
2222
"supertest": "^6.0.0"
2323
},

yarn.lock

+82-46
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,34 @@
11571157
dependencies:
11581158
"@types/node" "*"
11591159

1160+
"@sinonjs/commons@^3.0.1":
1161+
version "3.0.1"
1162+
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd"
1163+
integrity sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==
1164+
dependencies:
1165+
type-detect "4.0.8"
1166+
1167+
"@sinonjs/fake-timers@^13.0.1", "@sinonjs/fake-timers@^13.0.2":
1168+
version "13.0.2"
1169+
resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-13.0.2.tgz#3ffe88abb062067a580fdfba706ad00435a0f2a6"
1170+
integrity sha512-4Bb+oqXZTSTZ1q27Izly9lv8B9dlV61CROxPiVtywwzv5SnytJqhvYe6FclHYuXml4cd1VHPo1zd5PmTeJozvA==
1171+
dependencies:
1172+
"@sinonjs/commons" "^3.0.1"
1173+
1174+
"@sinonjs/samsam@^8.0.1":
1175+
version "8.0.2"
1176+
resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-8.0.2.tgz#e4386bf668ff36c95949e55a38dc5f5892fc2689"
1177+
integrity sha512-v46t/fwnhejRSFTGqbpn9u+LQ9xJDse10gNnPgAcxgdoCDMXj/G2asWAC/8Qs+BAZDicX+MNZouXT1A7c83kVw==
1178+
dependencies:
1179+
"@sinonjs/commons" "^3.0.1"
1180+
lodash.get "^4.4.2"
1181+
type-detect "^4.1.0"
1182+
1183+
"@sinonjs/text-encoding@^0.7.3":
1184+
version "0.7.3"
1185+
resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.3.tgz#282046f03e886e352b2d5f5da5eb755e01457f3f"
1186+
integrity sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==
1187+
11601188
"@tootallnate/once@1":
11611189
version "1.1.2"
11621190
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
@@ -2356,6 +2384,11 @@ [email protected]:
23562384
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
23572385
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
23582386

2387+
diff@^7.0.0:
2388+
version "7.0.0"
2389+
resolved "https://registry.yarnpkg.com/diff/-/diff-7.0.0.tgz#3fb34d387cd76d803f6eebea67b921dab0182a9a"
2390+
integrity sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==
2391+
23592392
dir-glob@^3.0.1:
23602393
version "3.0.1"
23612394
resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f"
@@ -2944,13 +2977,6 @@ form-data@~2.3.2:
29442977
combined-stream "^1.0.6"
29452978
mime-types "^2.1.12"
29462979

2947-
2948-
version "1.1.1"
2949-
resolved "https://registry.yarnpkg.com/formatio/-/formatio-1.1.1.tgz#5ed3ccd636551097383465d996199100e86161e9"
2950-
integrity sha1-XtPM1jZVEJc4NGXZlhmRAOhhYek=
2951-
dependencies:
2952-
samsam "~1.1"
2953-
29542980
formidable@^1.2.2:
29552981
version "1.2.2"
29562982
resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.2.2.tgz#bf69aea2972982675f00865342b982986f6b8dd9"
@@ -3635,11 +3661,6 @@ is-fullwidth-code-point@^3.0.0:
36353661
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
36363662
integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
36373663

3638-
is-generator-function@^1.0.7:
3639-
version "1.0.7"
3640-
resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.7.tgz#d2132e529bb0000a7f80794d4bdf5cd5e5813522"
3641-
integrity sha512-YZc5EwyO4f2kWCax7oegfuSr9mFz1ZvieNYBEjmukLxgXfBUbxAWGVF7GZf0zidYtoBl3WvC07YK0wT76a+Rtw==
3642-
36433664
is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1:
36443665
version "4.0.1"
36453666
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
@@ -4019,6 +4040,11 @@ jsprim@^1.2.2:
40194040
json-schema "0.2.3"
40204041
verror "1.10.0"
40214042

4043+
just-extend@^6.2.0:
4044+
version "6.2.0"
4045+
resolved "https://registry.yarnpkg.com/just-extend/-/just-extend-6.2.0.tgz#b816abfb3d67ee860482e7401564672558163947"
4046+
integrity sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw==
4047+
40224048
kind-of@^6.0.2, kind-of@^6.0.3:
40234049
version "6.0.3"
40244050
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
@@ -4166,6 +4192,11 @@ lodash.flattendeep@^4.4.0:
41664192
resolved "https://registry.yarnpkg.com/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2"
41674193
integrity sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=
41684194

4195+
lodash.get@^4.4.2:
4196+
version "4.4.2"
4197+
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
4198+
integrity sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==
4199+
41694200
lodash.ismatch@^4.4.0:
41704201
version "4.4.0"
41714202
resolved "https://registry.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37"
@@ -4229,11 +4260,6 @@ logform@^2.2.0:
42294260
ms "^2.1.1"
42304261
triple-beam "^1.3.0"
42314262

4232-
4233-
version "1.3.2"
4234-
resolved "https://registry.yarnpkg.com/lolex/-/lolex-1.3.2.tgz#7c3da62ffcb30f0f5a80a2566ca24e45d8a01f31"
4235-
integrity sha1-fD2mL/yzDw9agKJWbKJORdigHzE=
4236-
42374263
loud-rejection@^1.0.0:
42384264
version "1.6.0"
42394265
resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f"
@@ -4699,6 +4725,17 @@ neo-async@^2.6.0:
46994725
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
47004726
integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==
47014727

4728+
nise@^6.1.1:
4729+
version "6.1.1"
4730+
resolved "https://registry.yarnpkg.com/nise/-/nise-6.1.1.tgz#78ea93cc49be122e44cb7c8fdf597b0e8778b64a"
4731+
integrity sha512-aMSAzLVY7LyeM60gvBS423nBmIPP+Wy7St7hsb+8/fc1HmeoHJfLO8CKse4u3BtOZvQLJghYPI2i/1WZrEj5/g==
4732+
dependencies:
4733+
"@sinonjs/commons" "^3.0.1"
4734+
"@sinonjs/fake-timers" "^13.0.1"
4735+
"@sinonjs/text-encoding" "^0.7.3"
4736+
just-extend "^6.2.0"
4737+
path-to-regexp "^8.1.0"
4738+
47024739
[email protected], node-fetch@^2.6.1:
47034740
version "2.6.1"
47044741
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
@@ -5266,6 +5303,11 @@ path-parse@^1.0.6:
52665303
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
52675304
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
52685305

5306+
path-to-regexp@^8.1.0:
5307+
version "8.2.0"
5308+
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.2.0.tgz#73990cc29e57a3ff2a0d914095156df5db79e8b4"
5309+
integrity sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==
5310+
52695311
path-type@^1.0.0:
52705312
version "1.1.0"
52715313
resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"
@@ -6009,16 +6051,6 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1:
60096051
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
60106052
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
60116053

6012-
6013-
version "1.1.2"
6014-
resolved "https://registry.yarnpkg.com/samsam/-/samsam-1.1.2.tgz#bec11fdc83a9fda063401210e40176c3024d1567"
6015-
integrity sha1-vsEf3IOp/aBjQBIQ5AF2wwJNFWc=
6016-
6017-
samsam@~1.1:
6018-
version "1.1.3"
6019-
resolved "https://registry.yarnpkg.com/samsam/-/samsam-1.1.3.tgz#9f5087419b4d091f232571e7fa52e90b0f552621"
6020-
integrity sha1-n1CHQZtNCR8jJXHn+lLpCw9VJiE=
6021-
60226054
sax@^1.2.4:
60236055
version "1.2.4"
60246056
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
@@ -6118,15 +6150,17 @@ sinon-chai@^3.0.0:
61186150
resolved "https://registry.yarnpkg.com/sinon-chai/-/sinon-chai-3.5.0.tgz#c9a78304b0e15befe57ef68e8a85a00553f5c60e"
61196151
integrity sha512-IifbusYiQBpUxxFJkR3wTU68xzBN0+bxCScEaKMjBvAQERg6FnTTc1F17rseLb1tjmkJ23730AXpFI0c47FgAg==
61206152

6121-
sinon@^1.17.4:
6122-
version "1.17.7"
6123-
resolved "https://registry.yarnpkg.com/sinon/-/sinon-1.17.7.tgz#4542a4f49ba0c45c05eb2e9dd9d203e2b8efe0bf"
6124-
integrity sha1-RUKk9JugxFwF6y6d2dID4rjv4L8=
6153+
sinon@^19.0.0:
6154+
version "19.0.2"
6155+
resolved "https://registry.yarnpkg.com/sinon/-/sinon-19.0.2.tgz#944cf771d22236aa84fc1ab70ce5bffc3a215dad"
6156+
integrity sha512-euuToqM+PjO4UgXeLETsfQiuoyPXlqFezr6YZDFwHR3t4qaX0fZUe1MfPMznTL5f8BWrVS89KduLdMUsxFCO6g==
61256157
dependencies:
6126-
formatio "1.1.1"
6127-
lolex "1.3.2"
6128-
samsam "1.1.2"
6129-
util ">=0.10.3 <1"
6158+
"@sinonjs/commons" "^3.0.1"
6159+
"@sinonjs/fake-timers" "^13.0.2"
6160+
"@sinonjs/samsam" "^8.0.1"
6161+
diff "^7.0.0"
6162+
nise "^6.1.1"
6163+
supports-color "^7.2.0"
61306164

61316165
slash@^3.0.0:
61326166
version "3.0.0"
@@ -6529,6 +6563,13 @@ supports-color@^5.3.0:
65296563
dependencies:
65306564
has-flag "^3.0.0"
65316565

6566+
supports-color@^7.2.0:
6567+
version "7.2.0"
6568+
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
6569+
integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
6570+
dependencies:
6571+
has-flag "^4.0.0"
6572+
65326573
table@^5.2.3:
65336574
version "5.4.6"
65346575
resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e"
@@ -6724,11 +6765,16 @@ type-check@^0.4.0, type-check@~0.4.0:
67246765
dependencies:
67256766
prelude-ls "^1.2.1"
67266767

6727-
type-detect@^4.0.0, type-detect@^4.0.5:
6768+
type-detect@4.0.8, type-detect@^4.0.0, type-detect@^4.0.5:
67286769
version "4.0.8"
67296770
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
67306771
integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==
67316772

6773+
type-detect@^4.1.0:
6774+
version "4.1.0"
6775+
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.1.0.tgz#deb2453e8f08dcae7ae98c626b13dddb0155906c"
6776+
integrity sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==
6777+
67326778
type-fest@^0.11.0:
67336779
version "0.11.0"
67346780
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1"
@@ -6842,16 +6888,6 @@ util-promisify@^2.1.0:
68426888
dependencies:
68436889
object.getownpropertydescriptors "^2.0.3"
68446890

6845-
"util@>=0.10.3 <1":
6846-
version "0.12.2"
6847-
resolved "https://registry.yarnpkg.com/util/-/util-0.12.2.tgz#54adb634c9e7c748707af2bf5a8c7ab640cbba2b"
6848-
integrity sha512-XE+MkWQvglYa+IOfBt5UFG93EmncEMP23UqpgDvVZVFBPxwmkK10QRp6pgU4xICPnWRf/t0zPv4noYSUq9gqUQ==
6849-
dependencies:
6850-
inherits "^2.0.3"
6851-
is-arguments "^1.0.4"
6852-
is-generator-function "^1.0.7"
6853-
safe-buffer "^5.1.2"
6854-
68556891
uuid@^3.3.2, uuid@^3.3.3:
68566892
version "3.4.0"
68576893
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"

0 commit comments

Comments
 (0)