From 89997bdb67b51e2491651d2883864f2fe34982d4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 17:22:24 +0000 Subject: [PATCH 1/3] Bump sinon to ^15.2.0 --- package.json | 2 +- packages/api-docs-builder/package.json | 2 +- yarn.lock | 20 ++++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) 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/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" From aae54eb0eb9c3f8b9810b8a17bfa2dddedcdac85 Mon Sep 17 00:00:00 2001 From: Diego Andai Date: Mon, 26 Jun 2023 18:27:19 -0400 Subject: [PATCH 2/3] Disable webpack 5 fully specified breaking change --- test/regressions/webpack.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/regressions/webpack.config.js b/test/regressions/webpack.config.js index f70a7c89ba8315..2e580bb31a2b8a 100644 --- a/test/regressions/webpack.config.js +++ b/test/regressions/webpack.config.js @@ -47,6 +47,12 @@ module.exports = { test: /\.(jpg|gif|png)$/, type: 'asset/inline', }, + { + test: /\.m?js$/, + resolve: { + fullySpecified: false, + }, + }, ], }, resolve: { From 374f64414e7492fbfa2a848df9fa2141aa971a79 Mon Sep 17 00:00:00 2001 From: Diego Andai Date: Mon, 26 Jun 2023 18:30:51 -0400 Subject: [PATCH 3/3] Add browser extension in webpack config --- test/regressions/webpack.config.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/regressions/webpack.config.js b/test/regressions/webpack.config.js index 2e580bb31a2b8a..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: { @@ -47,12 +47,6 @@ module.exports = { test: /\.(jpg|gif|png)$/, type: 'asset/inline', }, - { - test: /\.m?js$/, - resolve: { - fullySpecified: false, - }, - }, ], }, resolve: {