Skip to content

Commit bd521d2

Browse files
chore(deps): update dependency sinon to v21
1 parent df7dea9 commit bd521d2

File tree

2 files changed

+60
-61
lines changed

2 files changed

+60
-61
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
"@types/mocha": "8.2.2",
186186
"@types/mock-require": "2.0.0",
187187
"@types/node": "14.17.3",
188-
"@types/sinon": "10.0.2",
188+
"@types/sinon": "21.0.0",
189189
"expect": "24.1.0",
190190
"lnfs-cli": "^2.1.0",
191191
"lodash": "^4.17.11",
@@ -196,7 +196,7 @@
196196
"parcel-bundler": "^1.12.3",
197197
"prettier": "2.6.0",
198198
"rxjs": "^6.5.2",
199-
"sinon": "^7.3.2",
199+
"sinon": "^21.0.0",
200200
"source-map-support": "^0.5.12",
201201
"sourcegraph": "^25.3.0",
202202
"ts-node": "^8.3.0",

yarn.lock

Lines changed: 58 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -801,13 +801,27 @@
801801
resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-0.7.0.tgz"
802802
integrity sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow==
803803

804-
"@sinonjs/commons@^1", "@sinonjs/commons@^1.0.2", "@sinonjs/commons@^1.4.0", "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1":
804+
"@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1":
805805
version "1.8.3"
806806
resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz"
807807
integrity sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==
808808
dependencies:
809809
type-detect "4.0.8"
810810

811+
"@sinonjs/commons@^3.0.1":
812+
version "3.0.1"
813+
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd"
814+
integrity sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==
815+
dependencies:
816+
type-detect "4.0.8"
817+
818+
"@sinonjs/fake-timers@^13.0.5":
819+
version "13.0.5"
820+
resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-13.0.5.tgz#36b9dbc21ad5546486ea9173d6bea063eb1717d5"
821+
integrity sha512-36/hTbH2uaWuGVERyC6da9YwGWnzUZXuPro/F2LfsdOsLnCojz/iSH8MxUt/FD2S5XBSVPhmArFUXcpCQ2Hkiw==
822+
dependencies:
823+
"@sinonjs/commons" "^3.0.1"
824+
811825
"@sinonjs/fake-timers@^6.0.0", "@sinonjs/fake-timers@^6.0.1":
812826
version "6.0.1"
813827
resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz"
@@ -822,23 +836,6 @@
822836
dependencies:
823837
"@sinonjs/commons" "^1.7.0"
824838

825-
"@sinonjs/formatio@^3.1.0", "@sinonjs/formatio@^3.2.1":
826-
version "3.2.1"
827-
resolved "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.2.1.tgz"
828-
integrity sha512-tsHvOB24rvyvV2+zKMmPkZ7dXX6LSLKZ7aOtXY6Edklp0uRcgGpOsQTTGTcWViFyx4uhWc6GV8QdnALbIbIdeQ==
829-
dependencies:
830-
"@sinonjs/commons" "^1"
831-
"@sinonjs/samsam" "^3.1.0"
832-
833-
"@sinonjs/samsam@^3.1.0", "@sinonjs/samsam@^3.3.1":
834-
version "3.3.1"
835-
resolved "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-3.3.1.tgz"
836-
integrity sha512-wRSfmyd81swH0hA1bxJZJ57xr22kC07a1N4zuIL47yTS04bDk6AoCkczcqHEjcRPmJ+FruGJ9WBQiJwMtIElFw==
837-
dependencies:
838-
"@sinonjs/commons" "^1.0.2"
839-
array-from "^2.1.1"
840-
lodash "^4.17.11"
841-
842839
"@sinonjs/samsam@^5.3.1":
843840
version "5.3.1"
844841
resolved "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-5.3.1.tgz"
@@ -848,6 +845,14 @@
848845
lodash.get "^4.4.2"
849846
type-detect "^4.0.8"
850847

848+
"@sinonjs/samsam@^8.0.1":
849+
version "8.0.3"
850+
resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-8.0.3.tgz#eb6ffaef421e1e27783cc9b52567de20cb28072d"
851+
integrity sha512-hw6HbX+GyVZzmaYNh82Ecj1vdGZrqVIn/keDTg63IgAwiQPO+xCz99uG6Woqgb4tM0mUiFENKZ4cqd7IX94AXQ==
852+
dependencies:
853+
"@sinonjs/commons" "^3.0.1"
854+
type-detect "^4.1.0"
855+
851856
"@sinonjs/text-encoding@^0.7.1":
852857
version "0.7.1"
853858
resolved "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz"
@@ -940,6 +945,18 @@
940945
dependencies:
941946
"@sinonjs/fake-timers" "^7.1.0"
942947

948+
949+
version "21.0.0"
950+
resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-21.0.0.tgz#3a598a29b3aec0512a21e57ae0fd4c09aa013ca9"
951+
integrity sha512-+oHKZ0lTI+WVLxx1IbJDNmReQaIsQJjN2e7UUrJHEeByG7bFeKJYsv1E75JxTQ9QKJDp21bAa/0W2Xo4srsDnw==
952+
dependencies:
953+
"@types/sinonjs__fake-timers" "*"
954+
955+
"@types/sinonjs__fake-timers@*":
956+
version "15.0.1"
957+
resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-15.0.1.tgz#49f731d9453f52d64dd79f5a5626c1cf1b81bea4"
958+
integrity sha512-Ko2tjWJq8oozHzHV+reuvS5KYIRAokHnGbDwGh/J64LntgpbuylF74ipEL24HCyRjf9FOlBiBHWBR1RlVKsI1w==
959+
943960
"@types/stack-utils@^1.0.1":
944961
version "1.0.1"
945962
resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz"
@@ -1107,11 +1124,6 @@ array-find-index@^1.0.1:
11071124
resolved "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz"
11081125
integrity sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=
11091126

1110-
array-from@^2.1.1:
1111-
version "2.1.1"
1112-
resolved "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz"
1113-
integrity sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=
1114-
11151127
array-union@^1.0.1:
11161128
version "1.0.2"
11171129
resolved "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz"
@@ -2191,7 +2203,7 @@ diff-sequences@^24.3.0:
21912203
resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.3.0.tgz"
21922204
integrity sha512-xLqpez+Zj9GKSnPWS0WZw1igGocZ+uua8+y+5dDNTT934N3QuY1sp2LkHzwiaYQGz60hMq0pjAshdeXm5VUOEw==
21932205

2194-
[email protected], diff@^3.5.0:
2206+
21952207
version "3.5.0"
21962208
resolved "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz"
21972209
integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
@@ -2201,6 +2213,11 @@ diff@^4.0.1, diff@^4.0.2:
22012213
resolved "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz"
22022214
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
22032215

2216+
diff@^7.0.0:
2217+
version "7.0.0"
2218+
resolved "https://registry.yarnpkg.com/diff/-/diff-7.0.0.tgz#3fb34d387cd76d803f6eebea67b921dab0182a9a"
2219+
integrity sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==
2220+
22042221
diffie-hellman@^5.0.0:
22052222
version "5.0.3"
22062223
resolved "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz"
@@ -3731,16 +3748,6 @@ [email protected], log-symbols@^2.2.0:
37313748
dependencies:
37323749
chalk "^2.0.1"
37333750

3734-
lolex@^2.3.2:
3735-
version "2.7.5"
3736-
resolved "https://registry.npmjs.org/lolex/-/lolex-2.7.5.tgz"
3737-
integrity sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==
3738-
3739-
lolex@^4.0.1:
3740-
version "4.0.1"
3741-
resolved "https://registry.npmjs.org/lolex/-/lolex-4.0.1.tgz"
3742-
integrity sha512-UHuOBZ5jjsKuzbB/gRNNW8Vg8f00Emgskdq2kvZxgBJCS0aqquAuXai/SkWORlKeZEiNQWZjFZOqIUcH9LqKCw==
3743-
37443751
loose-envify@^1.0.0:
37453752
version "1.4.0"
37463753
resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz"
@@ -4084,17 +4091,6 @@ nice-try@^1.0.4:
40844091
resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz"
40854092
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
40864093

4087-
nise@^1.4.10:
4088-
version "1.4.10"
4089-
resolved "https://registry.npmjs.org/nise/-/nise-1.4.10.tgz"
4090-
integrity sha512-sa0RRbj53dovjc7wombHmVli9ZihXbXCQ2uH3TNm03DyvOSIQbxg+pbqDKrk2oxMK1rtLGVlKxcB9rrc6X5YjA==
4091-
dependencies:
4092-
"@sinonjs/formatio" "^3.1.0"
4093-
"@sinonjs/text-encoding" "^0.7.1"
4094-
just-extend "^4.0.2"
4095-
lolex "^2.3.2"
4096-
path-to-regexp "^1.7.0"
4097-
40984094
nise@^4.1.0:
40994095
version "4.1.0"
41004096
resolved "https://registry.npmjs.org/nise/-/nise-4.1.0.tgz"
@@ -5769,18 +5765,16 @@ sinon@^10.0.0:
57695765
nise "^4.1.0"
57705766
supports-color "^7.1.0"
57715767

5772-
sinon@^7.3.2:
5773-
version "7.3.2"
5774-
resolved "https://registry.npmjs.org/sinon/-/sinon-7.3.2.tgz"
5775-
integrity sha512-thErC1z64BeyGiPvF8aoSg0LEnptSaWE7YhdWWbWXgelOyThent7uKOnnEh9zBxDbKixtr5dEko+ws1sZMuFMA==
5768+
sinon@^21.0.0:
5769+
version "21.0.0"
5770+
resolved "https://registry.yarnpkg.com/sinon/-/sinon-21.0.0.tgz#dbda73abc7e6cb803fef3368cfbecbb5936e8a9e"
5771+
integrity sha512-TOgRcwFPbfGtpqvZw+hyqJDvqfapr1qUlOizROIk4bBLjlsjlB00Pg6wMFXNtJRpu+eCZuVOaLatG7M8105kAw==
57765772
dependencies:
5777-
"@sinonjs/commons" "^1.4.0"
5778-
"@sinonjs/formatio" "^3.2.1"
5779-
"@sinonjs/samsam" "^3.3.1"
5780-
diff "^3.5.0"
5781-
lolex "^4.0.1"
5782-
nise "^1.4.10"
5783-
supports-color "^5.5.0"
5773+
"@sinonjs/commons" "^3.0.1"
5774+
"@sinonjs/fake-timers" "^13.0.5"
5775+
"@sinonjs/samsam" "^8.0.1"
5776+
diff "^7.0.0"
5777+
supports-color "^7.2.0"
57845778

57855779
slash@^2.0.0:
57865780
version "2.0.0"
@@ -6106,7 +6100,7 @@ supports-color@^3.2.3:
61066100
dependencies:
61076101
has-flag "^1.0.0"
61086102

6109-
supports-color@^5.3.0, supports-color@^5.4.0, supports-color@^5.5.0:
6103+
supports-color@^5.3.0, supports-color@^5.4.0:
61106104
version "5.5.0"
61116105
resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
61126106
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
@@ -6120,7 +6114,7 @@ supports-color@^6.1.0:
61206114
dependencies:
61216115
has-flag "^3.0.0"
61226116

6123-
supports-color@^7.1.0:
6117+
supports-color@^7.1.0, supports-color@^7.2.0:
61246118
version "7.2.0"
61256119
resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
61266120
integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
@@ -6369,11 +6363,16 @@ type-check@~0.3.2:
63696363
dependencies:
63706364
prelude-ls "~1.1.2"
63716365

6372-
[email protected], type-detect@^4.0.8:
6366+
63736367
version "4.0.8"
63746368
resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz"
63756369
integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==
63766370

6371+
type-detect@^4.0.8, type-detect@^4.1.0:
6372+
version "4.1.0"
6373+
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.1.0.tgz#deb2453e8f08dcae7ae98c626b13dddb0155906c"
6374+
integrity sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==
6375+
63776376
typedarray@^0.0.6:
63786377
version "0.0.6"
63796378
resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz"

0 commit comments

Comments
 (0)