diff --git a/package.json b/package.json index 823430c31d..49e24c2a22 100644 --- a/package.json +++ b/package.json @@ -250,7 +250,7 @@ "prettier": "2.1.2", "react-docgen-typescript": "1.2.6", "sass-loader": "7.2.0", - "sinon": "9.2.0", + "sinon": "9.2.4", "snyk": "1.316.1", "spectron": "5.0.0", "style-loader": "1.0.0", diff --git a/ts/util/lint/exceptions.json b/ts/util/lint/exceptions.json index 960f62adcb..9bca963708 100644 --- a/ts/util/lint/exceptions.json +++ b/ts/util/lint/exceptions.json @@ -1447,23 +1447,6 @@ "reasonCategory": "testCode", "updated": "2020-10-09T22:28:48.591Z" }, - { - "rule": "DOM-innerHTML", - "path": "node_modules/@sinonjs/formatio/lib/formatio.js", - "line": " // SVG elements have undefined innerHTML", - "lineNumber": 253, - "reasonCategory": "testCode", - "updated": "2020-10-09T22:28:48.591Z", - "reasonDetail": "Test code. Also a false match." - }, - { - "rule": "DOM-innerHTML", - "path": "node_modules/@sinonjs/formatio/lib/formatio.js", - "line": " var content = element.innerHTML || \"\";", - "lineNumber": 254, - "reasonCategory": "testCode", - "updated": "2020-10-09T22:28:48.591Z" - }, { "rule": "jQuery-prepend(", "path": "node_modules/@sinonjs/text-encoding/lib/encoding.js", diff --git a/yarn.lock b/yarn.lock index 32b4e034e3..a59e50889d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1403,7 +1403,7 @@ version "0.7.0" resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.7.0.tgz#9a06f4f137ee84d7df0460c1fdb1135ffa6c50fd" -"@sinonjs/commons@^1", "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1": +"@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1": version "1.8.1" resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.1.tgz#e7df00f98a203324f6dc7cc606cad9d4a8ab2217" integrity sha512-892K+kWUUi3cl+LlqEWIDrhvLgdL79tECi8JZUyq6IviKy/DNhuzCRlbHUjxK89f4ypPMMaFnFuR9Ie6DoIMsw== @@ -1417,18 +1417,10 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@sinonjs/formatio@^5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-5.0.1.tgz#f13e713cb3313b1ab965901b01b0828ea6b77089" - integrity sha512-KaiQ5pBf1MpS09MuA0kp6KBQt2JUOQycqVG1NZXvzeaXe5LGFqAKueIS0bw4w0P9r7KuBSVdUk5QjXsUdu2CxQ== - dependencies: - "@sinonjs/commons" "^1" - "@sinonjs/samsam" "^5.0.2" - -"@sinonjs/samsam@^5.0.2", "@sinonjs/samsam@^5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-5.2.0.tgz#fcff83ab86f83b5498f4a967869c079408d9b5eb" - integrity sha512-CaIcyX5cDsjcW/ab7HposFWzV1kC++4HNsfnEdFJa7cP1QIuILAKV+BgfeqRXhcnSAc76r/Rh/O5C+300BwUIw== +"@sinonjs/samsam@^5.3.1": + version "5.3.1" + resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-5.3.1.tgz#375a45fe6ed4e92fca2fb920e007c48232a6507f" + integrity sha512-1Hc0b1TtyfBu8ixF/tpfSHTVWKwCBLY4QJbkgnE7HcwyvT2xArDxb4K7dMgqRm3szI+LJbzmW/s4xxEhv6hwDg== dependencies: "@sinonjs/commons" "^1.6.0" lodash.get "^4.4.2" @@ -14913,15 +14905,14 @@ single-line-log@^1.1.2: dependencies: string-width "^1.0.1" -sinon@9.2.0: - version "9.2.0" - resolved "https://registry.yarnpkg.com/sinon/-/sinon-9.2.0.tgz#1d333967e30023609f7347351ebc0dc964c0f3c9" - integrity sha512-eSNXz1XMcGEMHw08NJXSyTHIu6qTCOiN8x9ODACmZpNQpr0aXTBXBnI4xTzQzR+TEpOmLiKowGf9flCuKIzsbw== +sinon@9.2.4: + version "9.2.4" + resolved "https://registry.yarnpkg.com/sinon/-/sinon-9.2.4.tgz#e55af4d3b174a4443a8762fa8421c2976683752b" + integrity sha512-zljcULZQsJxVra28qIAL6ow1Z9tpattkCTEJR4RBP3TGc00FcttsP5pK284Nas5WjMZU5Yzy3kAIp3B3KRf5Yg== dependencies: "@sinonjs/commons" "^1.8.1" "@sinonjs/fake-timers" "^6.0.1" - "@sinonjs/formatio" "^5.0.1" - "@sinonjs/samsam" "^5.2.0" + "@sinonjs/samsam" "^5.3.1" diff "^4.0.2" nise "^4.0.4" supports-color "^7.1.0"