diff --git a/package.json b/package.json index aa38c9c4d31e7b..4498891d948721 100644 --- a/package.json +++ b/package.json @@ -186,7 +186,7 @@ "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-terser": "^7.0.2", "serve": "^14.2.0", - "sinon": "^15.0.4", + "sinon": "^15.2.0", "stylelint": "^13.13.1", "stylelint-config-standard": "^22.0.0", "stylelint-processor-styled-components": "^1.10.0", diff --git a/packages/api-docs-builder/package.json b/packages/api-docs-builder/package.json index 34fa42bf43603f..62bb53eab8ca5f 100644 --- a/packages/api-docs-builder/package.json +++ b/packages/api-docs-builder/package.json @@ -22,7 +22,7 @@ "@types/mocha": "^10.0.1", "@types/node": "^18.16.18", "chai": "^4.3.7", - "sinon": "^15.0.4", + "sinon": "^15.2.0", "typescript": "^4.9.5" } } diff --git a/test/regressions/webpack.config.js b/test/regressions/webpack.config.js index f70a7c89ba8315..7732488eb1ea1a 100644 --- a/test/regressions/webpack.config.js +++ b/test/regressions/webpack.config.js @@ -25,7 +25,7 @@ module.exports = { new webpack.IgnorePlugin({ resourceRegExp: /material-icons\/SearchIcons\.js/ }), new webpack.ProvidePlugin({ // required by enzyme > cheerio > parse5 > util - process: 'process/browser', + process: 'process/browser.js', }), ], module: { diff --git a/yarn.lock b/yarn.lock index 7b154b7dc40503..056f9e948de134 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2737,12 +2737,12 @@ dependencies: type-detect "4.0.8" -"@sinonjs/fake-timers@^10.0.2": - version "10.0.2" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz#d10549ed1f423d80639c528b6c7f5a1017747d0c" - integrity sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw== +"@sinonjs/fake-timers@^10.0.2", "@sinonjs/fake-timers@^10.3.0": + version "10.3.0" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz#55fdff1ecab9f354019129daf4df0dd4d923ea66" + integrity sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA== dependencies: - "@sinonjs/commons" "^2.0.0" + "@sinonjs/commons" "^3.0.0" "@sinonjs/samsam@^8.0.0": version "8.0.0" @@ -14983,13 +14983,13 @@ simple-swizzle@^0.2.2: dependencies: is-arrayish "^0.3.1" -sinon@^15.0.4: - version "15.0.4" - resolved "https://registry.yarnpkg.com/sinon/-/sinon-15.0.4.tgz#bcca6fef19b14feccc96473f0d7adc81e0bc5268" - integrity sha512-uzmfN6zx3GQaria1kwgWGeKiXSSbShBbue6Dcj0SI8fiCNFbiUDqKl57WFlY5lyhxZVUKmXvzgG2pilRQCBwWg== +sinon@^15.2.0: + version "15.2.0" + resolved "https://registry.yarnpkg.com/sinon/-/sinon-15.2.0.tgz#5e44d4bc5a9b5d993871137fd3560bebfac27565" + integrity sha512-nPS85arNqwBXaIsFCkolHjGIkFo+Oxu9vbgmBJizLAhqe6P2o3Qmj3KCUoRkfhHtvgDhZdWD3risLHAUJ8npjw== dependencies: "@sinonjs/commons" "^3.0.0" - "@sinonjs/fake-timers" "^10.0.2" + "@sinonjs/fake-timers" "^10.3.0" "@sinonjs/samsam" "^8.0.0" diff "^5.1.0" nise "^5.1.4"