Unverified Commit a05ed11d authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #1622 from hypothesis/dependabot/npm_and_yarn/sinon-8.0.1

Bump sinon from 7.5.0 to 8.0.1
parents 084fa434 ab491444
......@@ -99,7 +99,7 @@
"seamless-immutable": "^7.1.4",
"shallowequal": "^1.1.0",
"showdown": "^1.6.4",
"sinon": "^7.2.3",
"sinon": "^8.0.1",
"stringify": "^5.1.0",
"terser": "^4.4.0",
"through2": "^3.0.0",
......
......@@ -3,7 +3,7 @@
const configFuncSettingsFrom = require('../config-func-settings-from');
describe('annotator.config.configFuncSettingsFrom', function() {
const sandbox = sinon.sandbox.create();
const sandbox = sinon.createSandbox();
afterEach('reset the sandbox', function() {
sandbox.restore();
......
......@@ -10,7 +10,7 @@ describe 'CrossFrame', ->
proxyBridge = null
proxyAnnotationSync = null
sandbox = sinon.sandbox.create()
sandbox = sinon.createSandbox()
createCrossFrame = (options) ->
defaults =
......
......@@ -12,7 +12,7 @@ describe('annotationCounts', function() {
beforeEach(function() {
CrossFrame = null;
fakeCrossFrame = {};
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
countEl1 = document.createElement('button');
countEl1.setAttribute('data-hypothesis-annotation-count', '');
......
......@@ -9,7 +9,7 @@ describe('AnnotationSync', function() {
let fakeBridge;
let options;
let publish;
const sandbox = sinon.sandbox.create();
const sandbox = sinon.createSandbox();
beforeEach(function() {
const emitter = new EventEmitter();
......
......@@ -43,7 +43,7 @@ timeoutPromise = (millis = 0) ->
new Promise((resolve) -> setTimeout(resolve, millis))
describe 'Guest', ->
sandbox = sinon.sandbox.create()
sandbox = sinon.createSandbox()
CrossFrame = null
fakeCrossFrame = null
highlighter = null
......
Host = require('../host')
describe 'Host', ->
sandbox = sinon.sandbox.create()
sandbox = sinon.createSandbox()
CrossFrame = null
fakeCrossFrame = null
hostConfig = {pluginClasses: {}}
......
......@@ -14,7 +14,7 @@ describe('CrossFrame multi-frame scenario', function() {
let crossFrame;
let options;
const sandbox = sinon.sandbox.create();
const sandbox = sinon.createSandbox();
const waitForFrameObserver = function(cb) {
return setTimeout(cb, FRAME_DEBOUNCE_WAIT);
......
......@@ -7,7 +7,7 @@ DEFAULT_HEIGHT = 600
EXTERNAL_CONTAINER_SELECTOR = 'test-external-container'
describe 'Sidebar', ->
sandbox = sinon.sandbox.create()
sandbox = sinon.createSandbox()
CrossFrame = null
fakeCrossFrame = null
sidebarConfig = {pluginClasses: {}}
......
......@@ -4,7 +4,7 @@ const Bridge = require('../bridge');
const RPC = require('../frame-rpc');
describe('shared.bridge', function() {
const sandbox = sinon.sandbox.create();
const sandbox = sinon.createSandbox();
let bridge;
let createChannel;
let fakeWindow;
......
......@@ -2,7 +2,7 @@
const settings = require('../settings');
const sandbox = sinon.sandbox.create();
const sandbox = sinon.createSandbox();
describe('settings', function() {
afterEach('reset the sandbox', function() {
......
......@@ -150,7 +150,7 @@ describe('annotation', function() {
beforeEach(angular.mock.module('h'));
beforeEach(
angular.mock.module(function($provide) {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
fakeAnnotationMapper = {
createAnnotation: sandbox.stub().returns({
......
......@@ -38,7 +38,7 @@ describe('sidebar.components.hypothesis-app', function() {
};
beforeEach(function() {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
});
beforeEach(function() {
......
......@@ -39,7 +39,7 @@ describe('sidebar.components.sidebar-content', function() {
beforeEach(() => {
angular.mock.module(function($provide) {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
fakeAnalytics = {
track: sandbox.stub(),
......
......@@ -6,7 +6,7 @@ const immutable = require('seamless-immutable');
const events = require('../../events');
describe('annotationMapper', function() {
const sandbox = sinon.sandbox.create();
const sandbox = sinon.createSandbox();
let $rootScope;
let store;
let fakeApi;
......
......@@ -12,7 +12,7 @@ describe('h:features - sidebar layer', function() {
let sandbox;
beforeEach(function() {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
fakeBridge = {
call: sinon.stub(),
......
......@@ -27,7 +27,7 @@ describe('sidebar.session', function() {
});
beforeEach(function() {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
let state = {};
fakeAnalytics = {
......
......@@ -12,7 +12,7 @@ describe('sidebar.util.time', function() {
let fakeIntl;
beforeEach(function() {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
sandbox.useFakeTimers();
fakeIntl = {
......
......@@ -871,29 +871,29 @@
"@sentry/types" "5.10.0"
tslib "^1.9.3"
"@sinonjs/commons@^1", "@sinonjs/commons@^1.3.0", "@sinonjs/commons@^1.4.0":
version "1.6.0"
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.6.0.tgz#ec7670432ae9c8eb710400d112c201a362d83393"
integrity sha512-w4/WHG7C4WWFyE5geCieFJF6MZkbW4VAriol5KlmQXpAQdxvV0p26sqNZOW6Qyw6Y0l9K4g+cHvvczR2sEEpqg==
"@sinonjs/commons@^1", "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0":
version "1.7.0"
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.7.0.tgz#f90ffc52a2e519f018b13b6c4da03cbff36ebed6"
integrity sha512-qbk9AP+cZUsKdW1GJsBpxPKFmCJ0T8swwzVje3qFd+AkQb74Q/tiuzrdfFg8AD2g5HH/XbE/I8Uc1KYHVYWfhg==
dependencies:
type-detect "4.0.8"
"@sinonjs/formatio@^3.2.1":
version "3.2.1"
resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-3.2.1.tgz#52310f2f9bcbc67bdac18c94ad4901b95fde267e"
integrity sha512-tsHvOB24rvyvV2+zKMmPkZ7dXX6LSLKZ7aOtXY6Edklp0uRcgGpOsQTTGTcWViFyx4uhWc6GV8QdnALbIbIdeQ==
"@sinonjs/formatio@^4.0.1":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-4.0.1.tgz#50ac1da0c3eaea117ca258b06f4f88a471668bdb"
integrity sha512-asIdlLFrla/WZybhm0C8eEzaDNNrzymiTqHMeJl6zPW2881l3uuVRpm0QlRQEjqYWv6CcKMGYME3LbrLJsORBw==
dependencies:
"@sinonjs/commons" "^1"
"@sinonjs/samsam" "^3.1.0"
"@sinonjs/samsam" "^4.2.0"
"@sinonjs/samsam@^3.1.0", "@sinonjs/samsam@^3.3.3":
version "3.3.3"
resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-3.3.3.tgz#46682efd9967b259b81136b9f120fd54585feb4a"
integrity sha512-bKCMKZvWIjYD0BLGnNrxVuw4dkWCYsLqFOUWw8VgKF/+5Y+mE7LfHWPIYoDXowH+3a9LsWDMo0uAP8YDosPvHQ==
"@sinonjs/samsam@^4.0.1", "@sinonjs/samsam@^4.2.0":
version "4.2.0"
resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-4.2.0.tgz#64a9994331cc3da0a0d7cc06cae44faa09cb5f2c"
integrity sha512-yG7QbUz38ZPIegfuSMEcbOo0kkLGmPa8a0Qlz4dk7+cXYALDScWjIZzAm/u2+Frh+bcdZF6wZJZwwuJjY0WAjA==
dependencies:
"@sinonjs/commons" "^1.3.0"
"@sinonjs/commons" "^1.6.0"
array-from "^2.1.1"
lodash "^4.17.15"
lodash.get "^4.4.2"
"@sinonjs/text-encoding@^0.7.1":
version "0.7.1"
......@@ -2676,7 +2676,7 @@ diff-match-patch@^1.0.0:
resolved "https://registry.yarnpkg.com/diff-match-patch/-/diff-match-patch-1.0.4.tgz#6ac4b55237463761c4daf0dc603eb869124744b1"
integrity sha512-Uv3SW8bmH9nAtHKaKSanOQmj2DnlH65fUpcrMdfdaOxUG02QQ4YGZ8AE7kKOMisF7UqvOlGKVYWRvezdncW9lg==
diff@3.5.0, diff@^3.5.0:
diff@3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
......@@ -4096,6 +4096,11 @@ has-flag@^3.0.0:
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
has-flag@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
has-require@~1.2.1:
version "1.2.2"
resolved "https://registry.yarnpkg.com/has-require/-/has-require-1.2.2.tgz#921675ab130dbd9768fc8da8f1a8e242dfa41774"
......@@ -5254,10 +5259,12 @@ log4js@^4.0.0:
rfdc "^1.1.4"
streamroller "^1.0.6"
lolex@^4.1.0, lolex@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/lolex/-/lolex-4.2.0.tgz#ddbd7f6213ca1ea5826901ab1222b65d714b3cd7"
integrity sha512-gKO5uExCXvSm6zbF562EvM+rd1kQDnB9AZBbiQVzf1ZmdDpxUSvpnAaVOP83N/31mRK8Ml8/VE8DMvsAZQ+7wg==
lolex@^5.0.1, lolex@^5.1.2:
version "5.1.2"
resolved "https://registry.yarnpkg.com/lolex/-/lolex-5.1.2.tgz#953694d098ce7c07bc5ed6d0e42bc6c0c6d5a367"
integrity sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==
dependencies:
"@sinonjs/commons" "^1.7.0"
loose-envify@^1.0.0, loose-envify@^1.4.0:
version "1.4.0"
......@@ -5647,15 +5654,16 @@ nice-try@^1.0.4:
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
nise@^1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/nise/-/nise-1.5.2.tgz#b6d29af10e48b321b307e10e065199338eeb2652"
integrity sha512-/6RhOUlicRCbE9s+94qCUsyE+pKlVJ5AhIv+jEE7ESKwnbXqulKZ1FYU+XAtHHWE9TinYvAxDUJAb912PwPoWA==
nise@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/nise/-/nise-3.0.0.tgz#811330bf07ed3661c4b8bd72b18d9b6c6eb76f9f"
integrity sha512-EObFx5tioBMePHpU/gGczaY2YDqL255iwjmZwswu2CiwEW8xIGrr3E2xij+efIppS1nLQo9NyXSIUySGHUOhHQ==
dependencies:
"@sinonjs/formatio" "^3.2.1"
"@sinonjs/commons" "^1.7.0"
"@sinonjs/formatio" "^4.0.1"
"@sinonjs/text-encoding" "^0.7.1"
just-extend "^4.0.2"
lolex "^4.1.0"
lolex "^5.0.1"
path-to-regexp "^1.7.0"
no-case@^2.2.0:
......@@ -7203,18 +7211,18 @@ simple-is@~0.2.0:
resolved "https://registry.yarnpkg.com/simple-is/-/simple-is-0.2.0.tgz#2abb75aade39deb5cc815ce10e6191164850baf0"
integrity sha1-Krt1qt453rXMgVzhDmGRFkhQuvA=
sinon@^7.2.3:
version "7.5.0"
resolved "https://registry.yarnpkg.com/sinon/-/sinon-7.5.0.tgz#e9488ea466070ea908fd44a3d6478fd4923c67ec"
integrity sha512-AoD0oJWerp0/rY9czP/D6hDTTUYGpObhZjMpd7Cl/A6+j0xBE+ayL/ldfggkBXUs0IkvIiM1ljM8+WkOc5k78Q==
sinon@^8.0.1:
version "8.0.1"
resolved "https://registry.yarnpkg.com/sinon/-/sinon-8.0.1.tgz#c256376cd133dbb0c69ba4d73ed5bdd591597502"
integrity sha512-vbXMHBszVioyPsuRDLEiPEgvkZnbjfdCFvLYV4jONNJqZNLWTwZ/gYSNh3SuiT1w9MRXUz+S7aX0B4Ar2XI8iw==
dependencies:
"@sinonjs/commons" "^1.4.0"
"@sinonjs/formatio" "^3.2.1"
"@sinonjs/samsam" "^3.3.3"
diff "^3.5.0"
lolex "^4.2.0"
nise "^1.5.2"
supports-color "^5.5.0"
"@sinonjs/commons" "^1.7.0"
"@sinonjs/formatio" "^4.0.1"
"@sinonjs/samsam" "^4.0.1"
diff "^4.0.1"
lolex "^5.1.2"
nise "^3.0.0"
supports-color "^7.1.0"
slice-ansi@^2.1.0:
version "2.1.0"
......@@ -7643,7 +7651,7 @@ supports-color@6.0.0:
dependencies:
has-flag "^3.0.0"
supports-color@^5.3.0, supports-color@^5.5.0:
supports-color@^5.3.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
......@@ -7657,6 +7665,13 @@ supports-color@^6.1.0:
dependencies:
has-flag "^3.0.0"
supports-color@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1"
integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==
dependencies:
has-flag "^4.0.0"
sver-compat@^1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/sver-compat/-/sver-compat-1.5.0.tgz#3cf87dfeb4d07b4a3f14827bc186b3fd0c645cd8"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment